/*
Theme Name: Tabloide do Estado Editorial
Theme URI: https://tabloidedoestado.com.br/
Author: Tabloide do Estado
Description: Tema editorial responsivo para portal de notícias, com capa em grid, categorias, busca, páginas de matéria e SEO técnico.
Version: 1.0.5
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: tabloide-do-estado-editorial
*/

:root {
	--tbdo-accent: #c91f32;
	--tbdo-ink: #14212c;
	--tbdo-muted: #68727c;
	--tbdo-line: #dbe1e7;
	--tbdo-surface: #f4f7f9;
	--tbdo-paper: #ffffff;
	--tbdo-night: #181013;
	--tbdo-container: 1200px;
	--tbdo-serif: "Lora", Georgia, serif;
	--tbdo-sans: "DM Sans", Arial, sans-serif;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--tbdo-paper);
	color: var(--tbdo-ink);
	font-family: var(--tbdo-sans);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

body.tbdo-menu-open,
body.tbdo-search-open {
	overflow: hidden;
}

img,
svg {
	display: block;
	max-width: 100%;
}

img {
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--tbdo-accent) 55%, white);
	outline-offset: 3px;
}

button,
input,
textarea,
select {
	font: inherit;
}

button {
	cursor: pointer;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
	margin-top: 0;
}

h1,
h2,
h3,
h4 {
	color: var(--tbdo-ink);
	font-family: var(--tbdo-serif);
	line-height: 1.11;
	letter-spacing: -0.035em;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	z-index: 10000;
	display: block;
	top: 12px;
	left: 12px;
	width: auto;
	height: auto;
	padding: 12px 16px;
	margin: 0;
	clip: auto;
	background: var(--tbdo-paper);
	color: var(--tbdo-ink);
	box-shadow: 0 4px 20px rgba(10, 23, 34, 0.2);
}

.site-container {
	width: min(calc(100% - 48px), var(--tbdo-container));
	margin-right: auto;
	margin-left: auto;
}

.site-container--article {
	width: min(calc(100% - 48px), 830px);
}

.site-container--article-wide {
	width: min(calc(100% - 48px), 1160px);
}

.utility-bar {
	border-bottom: 1px solid #e4e8eb;
	background: #f9fafb;
	color: #53606b;
	font-size: 0.74rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.utility-bar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 35px;
	gap: 20px;
}

.utility-bar p {
	margin: 0;
}

.utility-bar__right {
	display: flex;
	align-items: center;
	gap: 20px;
}

.utility-bar a {
	color: var(--tbdo-accent);
}

.site-header {
	position: relative;
	z-index: 30;
	border-bottom: 1px solid var(--tbdo-line);
	background: rgba(255, 255, 255, 0.97);
}

.site-header__inner {
	display: grid;
	grid-template-columns: auto minmax(205px, 270px) minmax(0, 1fr) auto;
	align-items: center;
	min-height: 88px;
	gap: 22px;
}

.header-control {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 10px 0;
	border: 0;
	background: transparent;
	color: var(--tbdo-ink);
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.header-control__icon {
	display: flex;
	width: 19px;
	flex-direction: column;
	gap: 4px;
}

.header-control__icon i {
	display: block;
	width: 100%;
	height: 2px;
	background: currentColor;
}

.header-control--search {
	justify-content: center;
	width: 39px;
	height: 39px;
	padding: 0;
	border: 1px solid var(--tbdo-line);
	border-radius: 50%;
}

.header-control--search svg {
	width: 18px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-width: 1.8;
}

.site-branding {
	min-width: 0;
}

.site-branding__logo {
	display: inline-flex;
	align-items: center;
}

.site-branding__logo-image {
	width: auto;
	max-width: 255px;
	max-height: 58px;
	object-fit: contain;
}

.site-title {
	display: inline-flex;
	flex-direction: column;
	color: var(--tbdo-ink);
	line-height: 1;
}

.site-title__eyebrow {
	margin-bottom: 5px;
	color: var(--tbdo-accent);
	font-size: 0.6rem;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.site-title__name {
	font-family: var(--tbdo-serif);
	font-size: clamp(1.42rem, 1.6vw, 1.9rem);
	font-weight: 700;
	letter-spacing: -0.05em;
}

.main-navigation {
	min-width: 0;
}

.primary-menu,
.drawer-menu,
.footer-menu {
	padding: 0;
	margin: 0;
	list-style: none;
}

.primary-menu {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: clamp(12px, 1.4vw, 25px);
	white-space: nowrap;
}

.primary-menu > li {
	position: relative;
}

.primary-menu a {
	display: inline-block;
	padding: 10px 0;
	color: #34404a;
	font-size: 0.82rem;
	font-weight: 700;
	transition: color 160ms ease;
}

.primary-menu > li > a::after {
	display: block;
	width: 0;
	height: 2px;
	margin-top: 3px;
	background: var(--tbdo-accent);
	content: "";
	transition: width 160ms ease;
}

.primary-menu a:hover,
.primary-menu .current-menu-item > a,
.primary-menu .current-menu-ancestor > a {
	color: var(--tbdo-accent);
}

.primary-menu > li:hover > a::after,
.primary-menu .current-menu-item > a::after,
.primary-menu .current-menu-ancestor > a::after {
	width: 100%;
}

.primary-menu .sub-menu {
	position: absolute;
	top: calc(100% + 4px);
	left: -14px;
	z-index: 20;
	display: none;
	min-width: 190px;
	padding: 8px;
	margin: 0;
	border: 1px solid var(--tbdo-line);
	background: var(--tbdo-paper);
	list-style: none;
	box-shadow: 0 12px 25px rgba(16, 33, 48, 0.12);
}

.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu {
	display: block;
}

.primary-menu .sub-menu a {
	display: block;
	padding: 9px 10px;
}

.breaking-bar {
	border-bottom: 1px solid var(--tbdo-line);
	background: var(--tbdo-paper);
}

.breaking-bar__inner {
	display: flex;
	align-items: center;
	min-height: 42px;
	gap: 16px;
	overflow: hidden;
}

.breaking-bar__label,
.section-kicker,
.entry-kicker {
	color: var(--tbdo-accent);
	font-family: var(--tbdo-sans);
	font-size: 0.69rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	line-height: 1.1;
	text-transform: uppercase;
}

.breaking-bar__label {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
	min-height: 23px;
	padding: 0 9px;
	border-radius: 3px;
	background: var(--tbdo-accent);
	color: white;
}

.breaking-bar__headline {
	min-width: 0;
	overflow: hidden;
	font-size: 0.87rem;
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.breaking-bar__headline:hover {
	color: var(--tbdo-accent);
}

.site-drawer,
.search-overlay {
	position: fixed;
	z-index: 100;
	inset: 0;
	display: grid;
	pointer-events: none;
	visibility: hidden;
}

.site-drawer {
	grid-template-columns: minmax(280px, 440px) 1fr;
}

.site-drawer.is-open,
.search-overlay.is-open {
	pointer-events: auto;
	visibility: visible;
}

.site-drawer__backdrop,
.search-overlay__backdrop {
	grid-column: 1 / -1;
	grid-row: 1;
	background: rgba(10, 24, 35, 0);
	transition: background 220ms ease;
}

.site-drawer.is-open .site-drawer__backdrop,
.search-overlay.is-open .search-overlay__backdrop {
	background: rgba(10, 24, 35, 0.58);
}

.site-drawer__panel {
	z-index: 1;
	grid-column: 1;
	grid-row: 1;
	min-height: 100%;
	padding: 31px clamp(24px, 4vw, 54px);
	background: var(--tbdo-night);
	color: white;
	transform: translateX(-101%);
	transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.site-drawer.is-open .site-drawer__panel {
	transform: translateX(0);
}

.site-drawer__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 27px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.19);
}

.site-drawer__label {
	color: #f49aa5;
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.drawer-close {
	display: grid;
	width: 37px;
	height: 37px;
	place-items: center;
	padding: 0;
	border: 1px solid currentColor;
	border-radius: 50%;
	background: transparent;
	color: inherit;
	font-size: 1.75rem;
	font-weight: 300;
	line-height: 1;
}

.drawer-navigation {
	padding: 28px 0 23px;
}

.drawer-menu {
	display: grid;
	gap: 4px;
}

.drawer-menu a {
	display: block;
	padding: 9px 0;
	color: #fff;
	font-family: var(--tbdo-serif);
	font-size: 1.3rem;
	font-weight: 600;
	line-height: 1.17;
}

.drawer-menu .sub-menu {
	padding: 5px 0 5px 17px;
	margin: 0;
	list-style: none;
}

.drawer-menu .sub-menu a {
	color: #f4c4ca;
	font-family: var(--tbdo-sans);
	font-size: 0.92rem;
}

.drawer-links {
	display: flex;
	flex-wrap: wrap;
	gap: 13px 20px;
	padding-top: 23px;
	border-top: 1px solid rgba(255, 255, 255, 0.19);
	font-size: 0.85rem;
	font-weight: 700;
}

.drawer-links a {
	color: #f8d6da;
}

.search-overlay {
	place-items: center;
}

.search-overlay__panel {
	position: relative;
	z-index: 1;
	width: min(calc(100% - 42px), 760px);
	padding: clamp(30px, 5vw, 64px);
	background: var(--tbdo-paper);
	box-shadow: 0 24px 65px rgba(10, 24, 35, 0.23);
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 200ms ease, transform 200ms ease;
}

.search-overlay.is-open .search-overlay__panel {
	opacity: 1;
	transform: translateY(0);
}

.search-overlay__panel .drawer-close {
	position: absolute;
	top: 18px;
	right: 18px;
	color: var(--tbdo-ink);
}

.search-overlay__eyebrow {
	margin-bottom: 7px;
	color: var(--tbdo-accent);
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.search-overlay h2 {
	margin-bottom: 28px;
	font-size: clamp(1.8rem, 4vw, 3rem);
}

.tbdo-search-form {
	display: flex;
	align-items: stretch;
	border-bottom: 2px solid var(--tbdo-ink);
}

.tbdo-search-form__field {
	width: 100%;
	min-width: 0;
	padding: 15px 0;
	border: 0;
	background: transparent;
	color: var(--tbdo-ink);
	font-family: var(--tbdo-serif);
	font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.tbdo-search-form__field::placeholder {
	color: #82909b;
}

.tbdo-search-form__button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 0 0 0 18px;
	border: 0;
	background: transparent;
	color: var(--tbdo-accent);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.tbdo-search-form__button svg {
	width: 19px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-width: 2;
}

.home-hero {
	padding-top: clamp(34px, 5vw, 66px);
	padding-bottom: clamp(37px, 5vw, 65px);
}

.home-hero__intro,
.section-header,
.article__meta-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.home-hero__intro {
	padding-bottom: 17px;
	margin-bottom: 22px;
	border-bottom: 2px solid var(--tbdo-ink);
}

.home-hero__intro p {
	margin: 0;
	color: var(--tbdo-ink);
	font-size: 0.77rem;
	font-weight: 800;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.home-hero__intro span {
	color: var(--tbdo-muted);
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.hero-grid {
	display: grid;
	grid-template-columns: minmax(180px, 0.85fr) minmax(330px, 1.7fr) minmax(200px, 0.87fr);
	gap: clamp(18px, 2.2vw, 34px);
}

.hero-grid--count-1 {
	grid-template-columns: minmax(0, 1fr);
	max-width: 860px;
}

.hero-grid--count-2,
.hero-grid--count-3 {
	grid-template-columns: minmax(0, 1.6fr) minmax(205px, 0.85fr);
}

.hero-grid--count-2 .hero-lead,
.hero-grid--count-3 .hero-lead {
	order: -1;
}

.hero-grid--count-2 .hero-grid__side--left,
.hero-grid--count-3 .hero-grid__side--left {
	border-right: 0;
	border-left: 1px solid var(--tbdo-line);
	padding-right: 0;
	padding-left: clamp(16px, 2vw, 30px);
}

.hero-grid__side {
	display: grid;
	align-content: start;
	gap: 24px;
}

.hero-grid__side--left {
	border-right: 1px solid var(--tbdo-line);
	padding-right: clamp(16px, 2vw, 30px);
}

.hero-grid__side--right {
	border-left: 1px solid var(--tbdo-line);
	padding-left: clamp(16px, 2vw, 30px);
}

.hero-lead__media {
	display: block;
	overflow: hidden;
	aspect-ratio: 1.45 / 1;
	background: #dbe5ed;
}

.entry-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 360ms ease;
}

.hero-lead:hover .entry-image,
.story-card:hover .entry-image,
.list-card:hover .entry-image {
	transform: scale(1.035);
}

.entry-image--placeholder {
	display: grid;
	place-items: center;
	background:
		linear-gradient(135deg, rgba(201, 31, 50, 0.8), rgba(24, 16, 19, 0.96)),
		#2a1015;
	color: white;
	font-family: var(--tbdo-serif);
	font-size: clamp(3rem, 7vw, 7rem);
	font-weight: 700;
}

.hero-lead__content {
	padding: 22px 4px 0;
}

.entry-kicker {
	display: inline-block;
	margin-bottom: 8px;
	transition: color 150ms ease;
}

.entry-kicker:hover {
	color: #971423;
}

.hero-lead h1 {
	margin: 0;
	font-size: clamp(1.85rem, 3vw, 3.2rem);
}

.hero-lead h1 a:hover,
.story-card__title a:hover,
.compact-card h3 a:hover,
.list-card h2 a:hover,
.latest-list__item h3 a:hover,
.sidebar-news h3 a:hover,
.article__title a:hover {
	color: var(--tbdo-accent);
}

.hero-lead p {
	max-width: 660px;
	margin: 14px 0 0;
	color: #56636d;
	font-family: var(--tbdo-serif);
	font-size: 1.01rem;
	line-height: 1.56;
}

.story-card {
	min-width: 0;
}

.story-card__media {
	display: block;
	overflow: hidden;
	aspect-ratio: 1.55 / 1;
	background: #dbe5ed;
}

.story-card__content {
	padding-top: 13px;
}

.story-card__title {
	margin: 0;
	font-size: 1.19rem;
}

.story-card__date,
.compact-card time,
.list-card__meta,
.article__reading-time,
.article__featured figcaption,
.latest-list__item time,
.sidebar-news time {
	color: var(--tbdo-muted);
	font-size: 0.73rem;
	font-weight: 600;
	letter-spacing: 0.015em;
}

.story-card__date {
	display: block;
	margin-top: 11px;
}

.story-card__excerpt {
	margin: 10px 0 0;
	color: #5b6670;
	font-family: var(--tbdo-serif);
	font-size: 0.9rem;
	line-height: 1.5;
}

.story-card--side .story-card__media {
	aspect-ratio: 1.46 / 1;
}

.story-card--side .story-card__title {
	font-size: 1.08rem;
}

.compact-card {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 11px;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--tbdo-line);
}

.compact-card + .compact-card {
	padding-top: 18px;
}

.compact-card__number {
	color: var(--tbdo-accent);
	font-family: var(--tbdo-serif);
	font-size: 1.05rem;
	font-weight: 700;
}

.compact-card h3 {
	margin: 0;
	font-size: 1rem;
	line-height: 1.23;
}

.compact-card time {
	display: inline-block;
	margin-top: 8px;
}

.latest-ribbon {
	border-top: 1px solid var(--tbdo-line);
	border-bottom: 1px solid var(--tbdo-line);
	background: var(--tbdo-surface);
}

.latest-ribbon__inner {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: 26px;
	min-height: 85px;
}

.latest-ribbon .section-kicker {
	margin: 0;
}

.latest-ribbon__items {
	display: flex;
	min-width: 0;
	gap: 0;
	overflow-x: auto;
	scrollbar-width: thin;
}

.latest-ribbon__items a {
	display: block;
	min-width: 215px;
	max-width: 290px;
	padding: 0 19px;
	border-left: 1px solid var(--tbdo-line);
	font-family: var(--tbdo-serif);
	font-size: 0.91rem;
	font-weight: 600;
	line-height: 1.26;
}

.latest-ribbon__items a:hover {
	color: var(--tbdo-accent);
}

.editorial-section {
	padding-top: clamp(42px, 5vw, 72px);
}

.section-header {
	align-items: end;
	padding-bottom: 17px;
	margin-bottom: 25px;
	border-bottom: 1px solid var(--tbdo-line);
}

.section-header .section-kicker {
	margin-bottom: 7px;
}

.section-header h2 {
	margin: 0;
	font-size: clamp(1.7rem, 2.7vw, 2.55rem);
}

.section-all-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding-bottom: 4px;
	color: var(--tbdo-accent);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	white-space: nowrap;
}

.section-all-link span {
	font-size: 1.25rem;
}

.section-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 27px;
}

.section-grid--count-1 {
	grid-template-columns: minmax(0, 450px);
}

.section-grid--count-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.section-grid--count-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.section-grid .story-card--feature {
	grid-column: span 2;
	grid-row: span 2;
}

.section-grid .story-card--feature .story-card__media {
	aspect-ratio: 1.54 / 1;
}

.section-grid .story-card--feature .story-card__title {
	font-size: clamp(1.55rem, 2vw, 2rem);
}

.newsboard {
	display: grid;
	grid-template-columns: minmax(280px, 0.87fr) minmax(0, 1.45fr);
	gap: 40px;
	padding-top: clamp(49px, 6vw, 86px);
	padding-bottom: clamp(51px, 6vw, 86px);
}

.newsboard--latest-only {
	grid-template-columns: minmax(0, 1fr);
}

.newsboard--latest-only .latest-board {
	max-width: 820px;
}

.popular-board {
	padding: clamp(24px, 3vw, 37px);
	background: var(--tbdo-night);
}

.section-header--dark {
	border-color: rgba(255, 255, 255, 0.23);
}

.section-header--dark .section-kicker {
	color: #f4a0aa;
}

.section-header--dark h2 {
	color: white;
}

.popular-board__items .compact-card {
	border-color: rgba(255, 255, 255, 0.2);
}

.popular-board__items .compact-card h3,
.popular-board__items .compact-card time {
	color: white;
}

.popular-board__items .compact-card time {
	color: #bbd2df;
}

.popular-board__items .compact-card__number {
	color: #ee8c98;
}

.latest-board {
	padding-top: 4px;
}

.latest-list {
	display: grid;
}

.latest-list__item {
	display: grid;
	grid-template-columns: 46px minmax(0, 1fr);
	gap: 14px;
	padding: 17px 0;
	border-bottom: 1px solid var(--tbdo-line);
}

.latest-list__item time {
	padding-top: 4px;
	color: var(--tbdo-accent);
	font-size: 0.78rem;
	font-weight: 800;
}

.latest-list__item .entry-kicker {
	margin-bottom: 4px;
	font-size: 0.61rem;
}

.latest-list__item h3 {
	margin: 0;
	font-size: 1.08rem;
}

.empty-cover,
.empty-state,
.not-found {
	padding-top: clamp(75px, 11vw, 140px);
	padding-bottom: clamp(75px, 11vw, 140px);
	text-align: center;
}

.empty-cover h1,
.not-found h1 {
	max-width: 850px;
	margin: 11px auto;
	font-size: clamp(2.2rem, 5vw, 4.5rem);
}

.empty-cover p:last-child,
.empty-state p,
.not-found p {
	max-width: 620px;
	margin: 0 auto;
	color: var(--tbdo-muted);
	font-family: var(--tbdo-serif);
}

.archive-header,
.search-header {
	padding-top: clamp(42px, 7vw, 88px);
	padding-bottom: 33px;
	border-bottom: 2px solid var(--tbdo-ink);
}

.breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 23px;
	color: var(--tbdo-muted);
	font-size: 0.77rem;
	font-weight: 700;
}

.breadcrumbs a:hover {
	color: var(--tbdo-accent);
}

.archive-header .section-kicker,
.search-header .section-kicker {
	margin-bottom: 9px;
}

.archive-header h1,
.search-header h1 {
	margin-bottom: 0;
	font-size: clamp(2.45rem, 5vw, 4.5rem);
}

.archive-description {
	max-width: 730px;
	margin-top: 17px;
	color: #596671;
	font-family: var(--tbdo-serif);
	font-size: 1.08rem;
}

.archive-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 310px;
	gap: clamp(35px, 5vw, 75px);
	padding-top: 45px;
	padding-bottom: 80px;
}

.archive-results {
	min-width: 0;
}

.archive-results > .list-card + .list-card,
.search-results > .list-card + .list-card {
	margin-top: 28px;
	padding-top: 28px;
	border-top: 1px solid var(--tbdo-line);
}

.list-card {
	display: grid;
	grid-template-columns: minmax(200px, 0.75fr) minmax(0, 1fr);
	gap: 23px;
}

.list-card__media {
	display: block;
	overflow: hidden;
	aspect-ratio: 1.38 / 1;
	background: #dbe5ed;
}

.list-card__content {
	align-self: center;
}

.list-card h2 {
	margin: 0;
	font-size: clamp(1.3rem, 2vw, 1.7rem);
}

.list-card p {
	margin: 9px 0;
	color: #64707a;
	font-family: var(--tbdo-serif);
	font-size: 0.94rem;
	line-height: 1.48;
}

.list-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.archive-sidebar {
	min-width: 0;
}

.sidebar-block {
	padding: 24px;
	border-top: 5px solid var(--tbdo-accent);
	background: var(--tbdo-surface);
}

.sidebar-block .section-kicker {
	margin-bottom: 8px;
}

.sidebar-block h2 {
	padding-bottom: 15px;
	margin-bottom: 5px;
	border-bottom: 1px solid var(--tbdo-line);
	font-size: 1.58rem;
}

.sidebar-news {
	padding: 17px 0;
	border-bottom: 1px solid var(--tbdo-line);
}

.sidebar-news .entry-kicker {
	margin-bottom: 5px;
	font-size: 0.61rem;
}

.sidebar-news h3 {
	margin: 0;
	font-size: 1.02rem;
	line-height: 1.25;
}

.sidebar-news time {
	display: inline-block;
	margin-top: 7px;
}

.pagination,
.latest-pagination {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 4px;
	margin-top: 43px;
}

.pagination .page-numbers,
.latest-pagination .page-numbers {
	display: inline-grid;
	width: 37px;
	height: 37px;
	place-items: center;
	border: 1px solid var(--tbdo-line);
	color: #53606b;
	font-size: 0.84rem;
	font-weight: 700;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover,
.latest-pagination .page-numbers.current,
.latest-pagination .page-numbers:hover {
	border-color: var(--tbdo-accent);
	background: var(--tbdo-accent);
	color: white;
}

.pagination .page-numbers.prev,
.pagination .page-numbers.next,
.latest-pagination .page-numbers.prev,
.latest-pagination .page-numbers.next {
	width: auto;
	padding: 0 12px;
}

.search-header {
	padding-bottom: 47px;
}

.search-header .tbdo-search-form {
	max-width: 760px;
	margin-top: 27px;
}

.search-results {
	max-width: 925px;
	padding-top: 44px;
	padding-bottom: 80px;
}

.result-count {
	margin-bottom: 24px;
	color: var(--tbdo-muted);
	font-size: 0.84rem;
	font-weight: 700;
}

.article__header {
	padding-top: clamp(42px, 7vw, 92px);
	padding-bottom: 30px;
}

.article__header .entry-kicker {
	margin-bottom: 13px;
}

.article__title {
	max-width: 1040px;
	margin-bottom: 18px;
	font-size: clamp(2.35rem, 5.6vw, 5rem);
	text-wrap: wrap;
}

.article__dek {
	max-width: 770px;
	margin-bottom: 23px;
	color: #56636e;
	font-family: var(--tbdo-serif);
	font-size: clamp(1.08rem, 1.8vw, 1.35rem);
	line-height: 1.52;
}

.article__meta-row {
	align-items: end;
	padding-top: 16px;
	border-top: 1px solid var(--tbdo-line);
}

.entry-byline {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	color: #43515c;
	font-size: 0.78rem;
	font-weight: 700;
}

.article__reading-time {
	white-space: nowrap;
}

.article__featured {
	margin: 0 auto;
}

.article__featured-image {
	width: 100%;
	max-height: 720px;
	object-fit: cover;
}

.article__featured figcaption {
	margin-top: 8px;
	line-height: 1.4;
}

.article__layout {
	display: grid;
	grid-template-columns: 66px minmax(0, 690px) minmax(220px, 290px);
	gap: clamp(30px, 4vw, 65px);
	padding-top: 37px;
}

.article__share {
	display: flex;
	align-items: center;
	flex-direction: column;
	gap: 9px;
}

.article__share > span {
	margin-bottom: 2px;
	color: var(--tbdo-muted);
	font-size: 0.59rem;
	font-weight: 800;
	letter-spacing: 0.09em;
	text-align: center;
	text-transform: uppercase;
}

.article__share a {
	display: grid;
	width: 34px;
	height: 34px;
	place-items: center;
	border: 1px solid var(--tbdo-line);
	border-radius: 50%;
	color: var(--tbdo-ink);
	font-family: var(--tbdo-serif);
	font-size: 0.85rem;
	font-weight: 700;
	transition: 150ms ease;
}

.article__share a:hover {
	border-color: var(--tbdo-accent);
	background: var(--tbdo-accent);
	color: white;
}

.article__body {
	min-width: 0;
	font-family: var(--tbdo-serif);
	font-size: clamp(1.06rem, 1.5vw, 1.19rem);
	line-height: 1.78;
}

.article__body > *:not(.article__tags):first-child {
	margin-top: 0;
}

.article__body h2,
.article__body h3,
.article__body h4 {
	margin-top: 1.85em;
	margin-bottom: 0.6em;
}

.article__body h2 {
	font-size: 1.65em;
}

.article__body h3 {
	font-size: 1.34em;
}

.article__body p,
.article__body ul,
.article__body ol,
.article__body blockquote {
	margin-bottom: 1.4em;
}

/* Keep imported inline styles from collapsing readable paragraph spacing. */
.article__body > p {
	margin-top: 0 !important;
	margin-bottom: 1.45em !important;
}

.article__body > p + p,
.article__body > figure + p,
.article__body > .wp-block-image + p {
	margin-top: 1.45em !important;
}

.article__body ul,
.article__body ol {
	padding-left: 1.4em;
}

.article__body a {
	color: #b41429;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.article__body figure {
	margin: 1.8em 0;
}

.article__body figcaption {
	color: var(--tbdo-muted);
	font-family: var(--tbdo-sans);
	font-size: 0.72rem;
	line-height: 1.4;
}

.article__body blockquote {
	padding: 0.2em 0 0.2em 1em;
	border-left: 4px solid var(--tbdo-accent);
	color: #2c3b47;
	font-size: 1.2em;
	font-style: italic;
}

.article__body blockquote p:last-child {
	margin-bottom: 0;
}

.article__sidebar {
	min-width: 0;
}

.article__sidebar .sidebar-block {
	position: sticky;
	top: 25px;
}

.article__tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 7px;
	padding-top: 24px;
	margin-top: 38px;
	border-top: 1px solid var(--tbdo-line);
	font-family: var(--tbdo-sans);
	font-size: 0.79rem;
	font-weight: 700;
}

.article__tags > span {
	color: var(--tbdo-muted);
}

.article__tags a {
	padding: 4px 8px;
	border: 1px solid var(--tbdo-line);
	color: var(--tbdo-ink);
	text-decoration: none;
}

.button-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 43px;
	padding: 0 18px;
	border: 0;
	background: var(--tbdo-accent);
	color: white;
	font-family: var(--tbdo-sans);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

.related-section {
	padding-top: clamp(55px, 7vw, 95px);
	padding-bottom: clamp(60px, 8vw, 110px);
}

.related-section__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 25px;
}

.site-main--page {
	padding-top: clamp(49px, 7vw, 92px);
	padding-bottom: clamp(60px, 8vw, 110px);
}

.page-article__header {
	padding-bottom: 25px;
	margin-bottom: 29px;
	border-bottom: 2px solid var(--tbdo-ink);
}

.page-article__header h1 {
	margin-bottom: 0;
	font-size: clamp(2.2rem, 5vw, 4.1rem);
}

.page-article__header p {
	max-width: 680px;
	margin: 15px 0 0;
	color: var(--tbdo-muted);
	font-family: var(--tbdo-serif);
	font-size: 1.1rem;
}

.page-article__featured {
	width: 100%;
	margin-bottom: 30px;
}

.page-article__content {
	font-family: var(--tbdo-serif);
	font-size: 1.06rem;
	line-height: 1.75;
}

.page-article__content h2,
.page-article__content h3 {
	margin-top: 1.8em;
}

.not-found .tbdo-search-form {
	max-width: 600px;
	margin: 30px auto 26px;
	text-align: left;
}

.site-footer {
	border-top: 3px solid var(--tbdo-accent);
	background: var(--tbdo-paper) !important;
	color: var(--tbdo-ink);
}

.footer-simple {
	display: flex;
	min-height: 86px;
	gap: 8px;
	align-items: center;
	justify-content: space-between;
}

.footer-simple__brand {
	display: inline-flex;
	align-items: center;
	color: white;
	font-family: var(--tbdo-serif);
	font-size: 1.55rem;
	font-weight: 700;
	letter-spacing: -0.045em;
}

.footer-simple__logo {
	width: auto;
	max-width: 205px;
	max-height: 42px;
	object-fit: contain;
}

.site-footer .footer-simple__logo,
.site-footer .tbdo-logo-image,
.site-footer .custom-logo {
	width: auto !important;
	max-width: 170px !important;
	max-height: 36px !important;
	filter: none !important;
	object-fit: contain;
}

.footer-simple p {
	margin: 0;
	color: var(--tbdo-muted);
	font-size: 0.74rem;
	font-weight: 600;
}

@media (max-width: 1120px) {
	.site-header__inner {
		grid-template-columns: auto minmax(180px, 245px) minmax(0, 1fr) auto;
		gap: 17px;
	}

	.primary-menu {
		gap: 13px;
	}

	.primary-menu a {
		font-size: 0.76rem;
	}

	.section-grid {
		gap: 20px;
	}

	.article__layout {
		grid-template-columns: 48px minmax(0, 1fr) 245px;
		gap: 28px;
	}
}

@media (max-width: 920px) {
	.site-header__inner {
		grid-template-columns: auto minmax(0, 1fr) auto;
		min-height: 75px;
	}

	.site-branding {
		text-align: center;
	}

	.site-branding__logo {
		justify-content: center;
	}

	.main-navigation {
		display: none;
	}

	.hero-grid {
		grid-template-columns: minmax(0, 1fr) minmax(220px, 0.82fr);
	}

	.hero-grid__side--left {
		display: none;
	}

	.hero-grid--count-2 .hero-grid__side--left,
	.hero-grid--count-3 .hero-grid__side--left {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
		border-right: 0;
		border-left: 1px solid var(--tbdo-line);
		padding-right: 0;
		padding-left: 20px;
	}

	.hero-grid__side--right {
		border-left: 1px solid var(--tbdo-line);
		padding-left: 23px;
	}

	.section-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.section-grid .story-card--feature {
		grid-column: span 2;
	}

	.newsboard,
	.archive-layout {
		grid-template-columns: 1fr;
	}

	.archive-sidebar {
		max-width: 560px;
	}

	.article__layout {
		grid-template-columns: 50px minmax(0, 1fr);
	}

	.article__sidebar {
		grid-column: 2;
	}

	.article__sidebar .sidebar-block {
		position: static;
	}

	.related-section__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

}

@media (max-width: 640px) {
	.site-container,
	.site-container--article,
	.site-container--article-wide {
		width: min(calc(100% - 32px), var(--tbdo-container));
	}

	.utility-bar {
		display: none;
	}

	.site-header__inner {
		min-height: 65px;
		gap: 11px;
	}

	.header-control--menu span:last-child {
		display: none;
	}

	.header-control--menu {
		width: 33px;
	}

	.site-branding__logo-image {
		width: 180px;
		max-width: 180px;
		max-height: 60px;
	}

	.site-title__eyebrow {
		display: none;
	}

	.site-title__name {
		font-size: 1.34rem;
	}

	.header-control--search {
		width: 34px;
		height: 34px;
	}

	.breaking-bar__inner {
		min-height: 38px;
		gap: 11px;
	}

	.breaking-bar__label {
		padding: 0 6px;
		font-size: 0.61rem;
	}

	.breaking-bar__headline {
		font-size: 0.76rem;
	}

	.site-drawer {
		grid-template-columns: minmax(0, 1fr);
	}

	.site-drawer__panel {
		padding: 24px 28px;
	}

	.search-overlay__panel {
		width: calc(100% - 24px);
		padding: 62px 23px 30px;
	}

	.tbdo-search-form__button span {
		display: none;
	}

	.home-hero {
		padding-top: 28px;
	}

	.home-hero__intro {
		padding-bottom: 12px;
		margin-bottom: 17px;
	}

	.hero-grid {
		grid-template-columns: 1fr;
		gap: 25px;
	}

	.hero-grid--count-2 .hero-grid__side--left,
	.hero-grid--count-3 .hero-grid__side--left,
	.hero-grid__side--left {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 14px;
		padding-top: 18px;
		padding-right: 0;
		padding-left: 0;
		border-top: 1px solid var(--tbdo-line);
		border-right: 0;
		border-left: 0;
	}

	.hero-grid__side--right {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 14px;
		padding-top: 18px;
		padding-left: 0;
		border-top: 1px solid var(--tbdo-line);
		border-left: 0;
	}

	.compact-card,
	.compact-card + .compact-card {
		padding-top: 0;
		padding-bottom: 0;
		border-bottom: 0;
	}

	.compact-card h3 {
		font-size: 0.92rem;
	}

	.compact-card time {
		display: none;
	}

	.hero-grid__side--right .compact-card:nth-child(n + 3) {
		display: none;
	}

	.hero-lead h1 {
		font-size: clamp(1.45rem, 6.1vw, 1.72rem);
		line-height: 1.12;
	}

	.hero-lead p {
		font-size: 0.94rem;
	}

	.latest-ribbon__inner {
		grid-template-columns: 1fr;
		gap: 11px;
		padding: 16px 0;
	}

	.latest-ribbon__items {
		margin: 0 -16px;
		padding: 0 16px;
	}

	.latest-ribbon__items a {
		min-width: 220px;
		padding: 0 14px;
		font-size: 0.84rem;
	}

	.section-header {
		align-items: end;
		margin-bottom: 17px;
	}

	.section-header h2 {
		font-size: 1.7rem;
	}

	.section-all-link {
		font-size: 0.65rem;
	}

	.section-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 22px 15px;
	}

	.section-grid--count-1 {
		grid-template-columns: 1fr;
	}

	.section-grid .story-card--feature {
		grid-column: span 2;
	}

	.section-grid .story-card--feature .story-card__title {
		font-size: 1.45rem;
	}

	.section-grid--count-3 .story-card:last-child {
		grid-column: 1 / -1;
	}

	.story-card__title {
		font-size: 1rem;
	}

	.story-card__date {
		margin-top: 7px;
		font-size: 0.67rem;
	}

	.story-card__excerpt {
		font-size: 0.86rem;
	}

	.newsboard {
		gap: 29px;
		padding-top: 53px;
		padding-bottom: 54px;
	}

	.popular-board {
		padding: 21px 18px;
	}

	.list-card {
		grid-template-columns: 115px minmax(0, 1fr);
		gap: 15px;
	}

	.list-card h2 {
		font-size: 1.12rem;
	}

	.list-card p {
		display: none;
	}

	.list-card__content {
		align-self: start;
	}

	.list-card__meta {
		margin-top: 8px;
		font-size: 0.65rem;
	}

	.archive-header,
	.search-header {
		padding-top: 43px;
		padding-bottom: 23px;
	}

	.archive-header h1,
	.search-header h1 {
		font-size: 2.4rem;
	}

	.archive-layout,
	.search-results {
		padding-top: 30px;
		padding-bottom: 55px;
	}

	.archive-results > .list-card + .list-card,
	.search-results > .list-card + .list-card {
		margin-top: 21px;
		padding-top: 21px;
	}

	.article__header {
		padding-top: 30px;
		padding-bottom: 23px;
	}

	.article__title {
		font-size: clamp(1.75rem, 7vw, 2.15rem);
		line-height: 1.1;
	}

	.article__dek {
		font-size: 1rem;
	}

	.article__meta-row {
		align-items: start;
		flex-direction: column;
		gap: 7px;
	}

	.article__layout {
		display: block;
		padding-top: 24px;
	}

	.article__share {
		align-items: center;
		flex-direction: row;
		margin-bottom: 28px;
	}

	.article__share > span {
		margin: 0 4px 0 0;
		text-align: left;
	}

	.article__body {
		font-size: 1.04rem;
		line-height: 1.73;
	}

	.article__sidebar {
		margin-top: 40px;
	}

	.related-section {
		padding-top: 49px;
		padding-bottom: 57px;
	}

	.related-section__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 18px 15px;
	}

	.related-section__grid .story-card__title {
		font-size: 0.99rem;
	}

	.footer-simple {
		min-height: 95px;
		flex-direction: column;
		justify-content: center;
		gap: 8px;
		text-align: center;
	}
}

@media (max-width: 370px) {
	.site-container,
	.site-container--article,
	.site-container--article-wide {
		width: min(calc(100% - 26px), var(--tbdo-container));
	}

	.site-branding__logo-image {
		width: 160px;
		max-width: 160px;
		max-height: 60px;
	}

	.hero-grid__side--right {
		grid-template-columns: 1fr;
	}

	.section-grid,
	.related-section__grid {
		grid-template-columns: 1fr;
	}

	.section-grid .story-card--feature {
		grid-column: auto;
	}
}
