/* Bowl and Blade: Fresh Greens. Tokens first, then layout, components, content. */

@font-face { font-family: "Bricolage Grotesque"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/bricolage-grotesque-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/bricolage-grotesque-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-style: italic; font-display: swap; src: url("../fonts/source-sans-3-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/source-sans-3-latin-700-normal.woff2") format("woff2"); }

:root {
	--bg: #F4F6F2;
	--surface: #FFFFFF;
	--ink: #1F2B3A;
	--muted: #5B6675;
	--line: #DDE3DA;
	--accent: #2E7D4F;
	--accent-hover: #256841;
	--accent-ink: #FFFFFF;
	--accent-soft: #E3EFE6;
	--on-ink: #DCE3E8;

	--font-heading: "Bricolage Grotesque", system-ui, sans-serif;
	--font-body: "Source Sans 3", system-ui, sans-serif;

	--space-xs: 8px;
	--space-sm: 16px;
	--space-md: 24px;
	--space-lg: 48px;
	--space-xl: 96px;
	--radius-sm: 6px;
	--radius-md: 14px;
	--radius-pill: 999px;

	--container: 1200px;
	--narrow: 720px;
	--gutter: clamp(16px, 4vw, 32px);
	--shadow: 0 1px 2px rgba(31, 43, 58, 0.06), 0 10px 28px rgba(31, 43, 58, 0.08);
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Reset (zero specificity so components always win) */
:where(*, *::before, *::after) { box-sizing: border-box; }
:where(body, h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl) { margin: 0; }
:where(ul, ol)[class] { list-style: none; padding: 0; }
:where(img, svg, video) { display: block; max-width: 100%; height: auto; }
:where(button, input, textarea, select) { font: inherit; color: inherit; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	background: var(--bg);
	color: var(--ink);
	font: 400 18px/1.65 var(--font-body);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
:where(h1, h2, h3, h4) { font-family: var(--font-heading); font-weight: 700; line-height: 1.1; letter-spacing: -0.015em; text-wrap: balance; color: var(--ink); }
a { color: var(--accent); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: var(--radius-sm); }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; left: var(--space-sm); top: -100px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: var(--space-sm); color: #fff; }

/* Layout */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 2 * var(--gutter), var(--narrow)); }
.section { padding-block: var(--space-lg); }
.section--tinted { background: var(--accent-soft); }
.section--flush { padding-top: 0; }
.section__title { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem); margin-bottom: var(--space-md); }
.grid { display: grid; gap: var(--space-lg) var(--space-md); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Buttons and pills */
.button, .wp-block-button__link, .wpcf7-submit, .gh-form .gh-submit {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	background: var(--accent); color: var(--accent-ink); border: 0; border-radius: var(--radius-pill);
	padding: 12px 24px; font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
	transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.button:hover, .wp-block-button__link:hover, .wpcf7-submit:hover, .gh-form .gh-submit:hover { background: var(--accent-hover); color: var(--accent-ink); }
.button:active, .wpcf7-submit:active, .gh-form .gh-submit:active { transform: translateY(1px); }
.is-style-outline .wp-block-button__link { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.tag {
	display: inline-block; background: var(--accent-soft); color: var(--accent-hover); border-radius: var(--radius-pill);
	padding: 4px 12px; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none;
}
.tag:hover { background: var(--accent); color: var(--accent-ink); }

/* Header */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.admin-bar .site-header { top: 32px; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); min-height: 76px; }
.site-brand img, .custom-logo { max-height: 56px; width: auto; }
.wordmark { font: 700 1.5rem/1 var(--font-heading); color: var(--ink); text-decoration: none; letter-spacing: -0.02em; }
.site-nav { display: flex; align-items: center; gap: var(--space-md); }
.site-nav .menu { display: flex; gap: 24px; }
.site-nav .menu a { color: var(--ink); font-weight: 600; font-size: 1rem; text-decoration: none; padding-block: 6px; white-space: nowrap; border-bottom: 2px solid transparent; }
.site-nav .menu a:hover, .site-nav .current-menu-item > a { color: var(--accent); border-bottom-color: var(--accent); }
.site-nav__search { color: var(--ink); display: inline-flex; padding: 8px; border-radius: var(--radius-pill); }
.site-nav__search:hover { background: var(--accent-soft); color: var(--accent); }
.nav-toggle { display: none; align-items: center; gap: 10px; background: none; border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 8px 16px; font-weight: 600; cursor: pointer; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

/* Hero */
.hero { padding-block: clamp(40px, 6vw, 80px) var(--space-lg); }
.hero__inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__title { font-size: clamp(2.25rem, 1.4rem + 3vw, 3.5rem); line-height: 1.05; max-width: 20ch; }
.hero__text { font-size: 1.2rem; color: var(--muted); max-width: 46ch; margin: var(--space-md) 0 var(--space-md); }
.hero__media img, .hero__media .placeholder { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-md); }
.hero__caption { margin-top: 12px; font-size: 0.95rem; color: var(--muted); }
.hero__caption a { color: var(--ink); font-weight: 600; text-decoration: none; }
.hero__caption a:hover { color: var(--accent); }

/* Cards */
.card { background: var(--surface); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.card:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(31, 43, 58, 0.06), 0 16px 36px rgba(31, 43, 58, 0.12); }
.card__media { display: block; }
.card__media img, .placeholder { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.placeholder { display: block; background: linear-gradient(135deg, var(--accent-soft), #CFE3D5); }
.card__body { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; flex: 1; }
.card__title { font-size: 1.3rem; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a:hover { color: var(--accent); }
.card__excerpt { color: var(--muted); }
.meta { color: var(--muted); font-size: 0.9375rem; margin-top: auto; }
.meta a { color: inherit; }
.meta__sep { margin-inline: 8px; color: var(--line); }

.card--feature .card__media img, .card--feature .placeholder { aspect-ratio: 16 / 10; }
.card--feature .card__title { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem); }
.card--feature .card__body { padding: 24px 28px 28px; }

.card--compact { flex-direction: row; gap: var(--space-sm); background: none; box-shadow: none; border-radius: 0; overflow: visible; padding-bottom: var(--space-sm); border-bottom: 1px solid var(--line); }
.card--compact:hover { transform: none; box-shadow: none; }
.card--compact .card__media { flex: 0 0 112px; }
.card--compact .card__media img, .card--compact .placeholder { aspect-ratio: 1; border-radius: var(--radius-sm); }
.card--compact .card__body { padding: 0; gap: 6px; }
.card--compact .card__title { font-size: 1.075rem; line-height: 1.25; }

.latest { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--space-lg); align-items: start; }
.latest__stack { display: flex; flex-direction: column; gap: var(--space-sm); }

/* Topic hubs (bento sized to the number of hubs) */
.topics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 190px; gap: var(--space-sm); }
.topic { position: relative; display: flex; align-items: flex-end; padding: 22px; border-radius: var(--radius-md); overflow: hidden; text-decoration: none; color: var(--ink); background: var(--surface); }
.topics > .topic:first-child { grid-column: span 2; grid-row: span 2; }
.topics--1 > .topic { grid-column: 1 / -1; }
.topics--2 > .topic { grid-column: span 2; grid-row: span 2; }
.topics--3 > .topic:not(:first-child), .topics--4 > .topic:last-child { grid-column: span 2; }
.topics--6 > .topic:last-child { grid-column: 1 / -1; }
.topic--tone-1 { background: var(--ink); color: #fff; }
.topic--tone-2 { background: #CFE3D5; }
.topic--image { color: #fff; }
.topic__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.topic--image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(31, 43, 58, 0.8), rgba(31, 43, 58, 0) 65%); }
.topic:hover .topic__img { transform: scale(1.03); }
.topic__body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 4px; }
.topic__label { font-size: 1.4rem; color: inherit; }
.topics > .topic:first-child .topic__label { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.25rem); }
.topic__blurb { font-size: 0.975rem; opacity: 0.9; max-width: 36ch; }
.topic:hover .topic__label { text-decoration: underline; text-underline-offset: 0.15em; }

/* Page and archive headers */
.page-header { padding-block: var(--space-lg) var(--space-md); }
.page-header__title { font-size: clamp(2rem, 1.3rem + 2.4vw, 3rem); }
.page-header__page { display: block; font: 600 1rem/1.4 var(--font-body); color: var(--muted); margin-top: 8px; letter-spacing: 0; }
.page-header__intro { color: var(--muted); font-size: 1.15rem; max-width: 60ch; margin-top: var(--space-sm); }
.page-header .search-form { margin-top: var(--space-md); }

.breadcrumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 0.9375rem; color: var(--muted); margin-bottom: var(--space-sm); }
.breadcrumbs li + li::before { content: "/"; margin-inline: 8px; color: var(--line); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent); text-decoration: underline; }

/* Article */
.article__header { padding-top: var(--space-lg); display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.article__title { font-size: clamp(2.1rem, 1.3rem + 3vw, 3.25rem); }
.article__dek { font-size: 1.25rem; color: var(--muted); }
.article__media { margin-block: var(--space-lg) var(--space-md); }
.article__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-md); }
.article__media figcaption { font-size: 0.9rem; color: var(--muted); text-align: center; margin-top: 10px; }
.article--page .article__header { padding-bottom: var(--space-md); }
.article__footer { padding-block: var(--space-lg) 0; }
.article__tags a { display: inline-block; margin: 0 8px 8px 0; font-size: 0.9375rem; }

.author-box { display: flex; gap: var(--space-sm); align-items: flex-start; border-top: 1px solid var(--line); padding-top: var(--space-md); margin-top: var(--space-md); }
.author-box__avatar { border-radius: 50%; flex: 0 0 auto; }
.author-box__name { font: 700 1.1rem/1.3 var(--font-heading); }
.author-box__bio { color: var(--muted); font-size: 1rem; margin-top: 4px; }

.related { margin-top: var(--space-lg); }
.related__title { font-size: 1.5rem; margin-bottom: var(--space-md); }
.related__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md) var(--space-lg); }

.post-navigation { margin-block: var(--space-lg); border-top: 1px solid var(--line); padding-top: var(--space-md); }
.post-navigation .nav-links { display: flex; justify-content: space-between; gap: var(--space-md); }
.post-navigation a { color: var(--ink); font-weight: 600; text-decoration: none; max-width: 48%; }
.post-navigation a:hover { color: var(--accent); }
.post-navigation .nav-next { text-align: right; margin-left: auto; }
.post-nav__label { display: block; font-size: 0.8125rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }

.pagination { margin-top: var(--space-lg); }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding-inline: 14px; border-radius: var(--radius-pill); background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 600; border: 1px solid var(--line); }
.page-numbers:hover { border-color: var(--accent); color: var(--accent); }
.page-numbers.current { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.page-numbers.dots { border: 0; background: none; }

/* Post content (Gutenberg blocks; builder layouts pass through full width) */
.entry-content { padding-bottom: var(--space-md); }
.entry-content > * { width: min(100% - 2 * var(--gutter), var(--narrow)); margin-inline: auto; }
.entry-content > .alignwide { width: min(100% - 2 * var(--gutter), var(--container)); }
.entry-content > .alignfull, .entry-content > .fl-builder-content { width: 100%; }
.entry-content :where(p, ul, ol, blockquote, figure, table, pre, .wp-block-group, .wp-block-buttons) { margin-block: 0 1.25em; }
.entry-content :where(h2) { font-size: clamp(1.55rem, 1.2rem + 1.2vw, 2rem); margin-block: 1.8em 0.6em; }
.entry-content :where(h3) { font-size: 1.35rem; margin-block: 1.6em 0.5em; }
.entry-content :where(h4) { font-size: 1.1rem; margin-block: 1.4em 0.4em; }
.entry-content :where(ul, ol) { list-style: revert; padding-left: 1.4em; }
.entry-content li { margin-block: 0.35em; }
.entry-content li::marker { color: var(--accent); }
.entry-content ol > li::marker { font-weight: 700; }
.entry-content blockquote { border-left: 4px solid var(--accent); padding: 4px 0 4px 20px; font-size: 1.2rem; }
.entry-content blockquote cite { display: block; font-size: 0.95rem; color: var(--muted); margin-top: 8px; font-style: normal; }
.entry-content img { border-radius: var(--radius-md); }
.entry-content figcaption { font-size: 0.9rem; color: var(--muted); text-align: center; margin-top: 8px; }
.entry-content hr { border: 0; border-top: 1px solid var(--line); margin-block: var(--space-lg); }
.entry-content table { border-collapse: collapse; width: 100%; font-size: 1rem; }
.entry-content :where(th, td) { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.entry-content th { font-weight: 700; }
.entry-content :where(.is-style-ingredients, .ingredients) { background: var(--accent-soft); border-radius: var(--radius-md); padding: 24px 28px 24px 48px; }
.entry-content .wp-block-group.is-style-ingredients { padding: 24px 28px; }

/* Forms */
.search-form { display: flex; gap: 8px; max-width: 520px; }
.search-form__input, .entry-content :where(input[type="text"], input[type="email"], input[type="tel"], input[type="url"], textarea, select) {
	width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; color: var(--ink);
}
.search-form__input { border-radius: var(--radius-pill); padding-inline: 20px; }
.search-form__input:focus, .entry-content :where(input, textarea, select):focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
::placeholder { color: var(--muted); opacity: 1; }
.empty { padding-block: var(--space-md) var(--space-xl); }
.empty__lead { font-size: 1.15rem; margin-bottom: var(--space-md); }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-ink); margin-top: var(--space-xl); }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #B9DCC5; text-decoration: underline; }
.site-footer__inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--space-lg); padding-block: var(--space-lg); }
.site-footer__inner:has(.site-footer__newsletter) { grid-template-columns: 1.1fr 0.9fr 1.2fr; }
.site-footer__name { font: 700 1.6rem/1.1 var(--font-heading); color: #fff; }
.site-footer__tagline { margin-top: 8px; max-width: 40ch; }
.site-footer__social { display: inline-flex; align-items: center; gap: 10px; margin-top: var(--space-md); font-weight: 600; }
.site-footer__heading { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #B9DCC5; margin-bottom: 12px; }
.footer-menu { columns: 2; column-gap: var(--space-md); }
.footer-menu li { margin-bottom: 8px; break-inside: avoid; }
.site-footer__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-top: 1px solid rgba(255, 255, 255, 0.14); padding-block: 20px 28px; font-size: 0.9rem; }

/* Newsletter sign-up: Groundhogg forms (its own form.css is dequeued in inc/newsletter.php) */
.newsletter--panel, .newsletter--page { background: var(--accent-soft); border-radius: var(--radius-md); padding: clamp(22px, 4vw, 36px); }
.newsletter--panel { margin-bottom: var(--space-lg); }
.newsletter__title { font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.6rem); }
.newsletter__lede { color: var(--muted); margin-top: 6px; max-width: 56ch; }
.newsletter__form { margin-top: var(--space-sm); }
.gh-form-fields { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 16px; }
.gh-form-column { flex: 1 1 100%; min-width: 0; }
.gh-form-column.col-1-of-2 { flex: 1 1 220px; }
.gh-form label { display: block; margin-bottom: 6px; font-size: 0.9375rem; font-weight: 600; }
.gh-form .required { color: var(--accent-hover); }
.gh-form .gh-input { width: 100%; min-height: 48px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; color: var(--ink); }
.gh-form .gh-input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.gh-form .gh-submit { min-height: 48px; padding-inline: 28px; }
.gh-form .gh-submit:disabled { opacity: 0.75; cursor: progress; }
.gh-success, .gh-errors { margin-top: 12px; padding: 12px 16px; border-radius: var(--radius-sm); font-weight: 600; line-height: 1.4; }
.gh-success { background: var(--surface); color: var(--accent-hover); border-left: 4px solid var(--accent); }
.gh-errors { background: #FDECEA; color: #8A1C12; }
.gh-errors ul { margin: 6px 0 0; padding-left: 1.2em; font-weight: 400; }
.newsletter--footer .newsletter__lede { color: var(--on-ink); margin-top: 0; }
.newsletter--footer .gh-form-fields { flex-wrap: nowrap; gap: 8px; }
.newsletter--footer .gh-form-column:first-child { flex: 1 1 auto; }
.newsletter--footer .gh-form-column:last-child { flex: 0 0 auto; }
.newsletter--footer .gh-form label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.newsletter--footer .gh-form .gh-input { border-color: transparent; border-radius: var(--radius-pill); padding-inline: 18px; }
.newsletter--footer .gh-form .gh-input:focus { outline-color: #B9DCC5; }
.newsletter--footer .gh-form .gh-submit:focus-visible { outline-color: #B9DCC5; }

/* MultiLipi language switcher: restyled to the site palette. The plugin sets
   position and size inline and its own colors on #dynamicDropdown, so these
   rules need the extra class for specificity and !important for the inline values. */
html:root {
	--mlp-button-primary: var(--surface); --mlp-button-secondary: var(--ink);
	--mlp-model-primary: var(--surface); --mlp-model-secondary: var(--ink);
	--mlp-hover-color: var(--accent-soft); --mlp-border-radius: var(--radius-sm); --mlp-flag-radius: 2px;
}
select#dynamicDropdown.lang-switcher-default {
	left: max(16px, env(safe-area-inset-left)) !important; bottom: max(16px, env(safe-area-inset-bottom)) !important;
	width: auto !important; field-sizing: content; max-width: min(240px, calc(100vw - 32px)); text-overflow: ellipsis; height: auto !important; min-height: 44px; z-index: 900;
	-webkit-appearance: none; appearance: none; cursor: pointer;
	padding: 10px 40px 10px 16px; border: 1px solid var(--line); border-radius: var(--radius-pill);
	background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%232E7D4F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center;
	color: var(--ink); font: 600 15px/1.2 var(--font-body); box-shadow: var(--shadow);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
select#dynamicDropdown.lang-switcher-default:hover { border-color: var(--accent); }
select#dynamicDropdown.lang-switcher-default:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
select#dynamicDropdown.lang-switcher-default option { color: var(--ink); background: var(--surface); font-weight: 400; }
@media (max-width: 720px) {
	select#dynamicDropdown.lang-switcher-default { font-size: 14px; padding: 8px 36px 8px 14px; background-position: right 14px center; }
}
@media print {
	select#dynamicDropdown.lang-switcher-default { display: none !important; }
}

/* Responsive */
@media (max-width: 960px) {
	.hero__inner, .latest { grid-template-columns: 1fr; }
	.site-footer__inner:has(.site-footer__newsletter) { grid-template-columns: 1fr 1fr; }
	.site-footer__newsletter { grid-column: 1 / -1; max-width: 520px; }
	.topics { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 170px; }
	.topics > .topic, .topics > .topic:first-child { grid-column: span 1; grid-row: span 1; }
	.topics > .topic:first-child, .topics--3 > .topic:not(:first-child), .topics--5 > .topic:first-child { grid-column: 1 / -1; }
}
@media (max-width: 1100px) {
	.nav-toggle { display: inline-flex; }
	.js .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); padding: var(--space-sm) var(--gutter) var(--space-md); flex-direction: column; align-items: stretch; }
	.js .site-nav[data-open] { display: flex; }
	.site-nav .menu { flex-direction: column; gap: 0; }
	.site-nav .menu a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
	.site-header__inner { position: relative; }
	.admin-bar .site-header { top: 0; }
}
@media (max-width: 720px) {
	body { font-size: 17px; }
	.grid--2, .related__list, .site-footer__inner { grid-template-columns: 1fr; }
	.site-footer__inner:has(.site-footer__newsletter) { grid-template-columns: 1fr; }
	.topics { grid-template-columns: 1fr; }
	.topics > .topic { grid-column: 1 / -1 !important; }
	.card--compact .card__media { flex-basis: 88px; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
	.card:hover, .topic:hover .topic__img { transform: none; }
}
