/* ══════════════════════════════════════════════════════════════
   Agriculture Novel — app shell
   Palette from Indian soil taxonomy: regur ground, laterite accent.
   Wing hues are set per-element via --c.
   ══════════════════════════════════════════════════════════════ */

:root {
	--bg:      #F4F6F1;
	--card:    #FFFFFF;
	--sunk:    #E9ECE4;
	--ink:     #12170F;
	--ink-2:   #5B6354;
	--ink-3:   #8A9280;
	--rule:    #E3E7DC;
	--rule-2:  #EDF0E8;
	--brand:   #C2501C;
	--on-brand:#FFFFFF;
	--live:    #3F7A1E;
	--live-sf: #EAF3E0;
	--chrome:  rgba(244, 246, 241, .93);
	--shadow:  0 1px 2px rgba(18, 23, 15, .05), 0 6px 20px rgba(18, 23, 15, .05);

	--f-ui: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
	--f-ed: "Iowan Old Style", Charter, "Bitstream Charter", "Sitka Text", Cambria, Georgia, serif;
	--f-mo: ui-monospace, "SF Mono", "IBM Plex Mono", Menlo, Consolas, monospace;

	--shell: 1120px;
	--pad: 16px;
	--tabbar-h: 62px;
}

@media (prefers-color-scheme: dark) {
	:root {
		--bg: #0E120D; --card: #181D16; --sunk: #131811;
		--ink: #E7EBE1; --ink-2: #9AA391; --ink-3: #6C7566;
		--rule: #262C22; --rule-2: #1E2419;
		--brand: #E8703C; --on-brand: #170B05;
		--live: #8EC154; --live-sf: #1C2714;
		--chrome: rgba(14, 18, 13, .93);
		--shadow: 0 1px 2px rgba(0,0,0,.5), 0 8px 26px rgba(0,0,0,.35);
	}
}

:root[data-theme="dark"] {
	--bg: #0E120D; --card: #181D16; --sunk: #131811;
	--ink: #E7EBE1; --ink-2: #9AA391; --ink-3: #6C7566;
	--rule: #262C22; --rule-2: #1E2419;
	--brand: #E8703C; --on-brand: #170B05;
	--live: #8EC154; --live-sf: #1C2714;
	--chrome: rgba(14, 18, 13, .93);
	--shadow: 0 1px 2px rgba(0,0,0,.5), 0 8px 26px rgba(0,0,0,.35);
}

:root[data-theme="light"] {
	--bg: #F4F6F1; --card: #FFFFFF; --sunk: #E9ECE4;
	--ink: #12170F; --ink-2: #5B6354; --ink-3: #8A9280;
	--rule: #E3E7DC; --rule-2: #EDF0E8;
	--brand: #C2501C; --on-brand: #FFFFFF;
	--live: #3F7A1E; --live-sf: #EAF3E0;
	--chrome: rgba(244, 246, 241, .93);
	--shadow: 0 1px 2px rgba(18,23,15,.05), 0 6px 20px rgba(18,23,15,.05);
}

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

body.an-app {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--f-ui);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
}

a { color: inherit; }
img { max-width: 100%; height: auto; }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 3px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	clip-path: inset(50%);
	overflow: hidden; white-space: nowrap;
}
.an-skip {
	position: absolute; left: -9999px; top: 0; z-index: 100;
	background: var(--brand); color: var(--on-brand);
	padding: 10px 16px; font-weight: 600; text-decoration: none;
}
.an-skip:focus { left: 8px; top: 8px; }

.an-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.an-i { flex: none; }

/* ── header ─────────────────────────────── */
.an-head {
	position: sticky; top: 0; z-index: 40;
	background: var(--chrome);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--rule);
	padding-top: env(safe-area-inset-top);
}
.an-head-in {
	max-width: var(--shell); margin-inline: auto;
	padding: 10px var(--pad);
}
.an-brandrow { display: flex; align-items: center; gap: 10px; }
.an-brand {
	font-family: var(--f-ed); font-size: 18px; font-weight: 600;
	letter-spacing: -.015em; text-decoration: none; line-height: 1.1;
	color: var(--ink); white-space: nowrap;
}
.an-brand em { font-style: normal; color: var(--brand); }
.custom-logo-link img { max-height: 34px; width: auto; }

.an-region {
	margin-inline-start: auto;
	display: inline-flex; align-items: center; gap: 5px;
	font: inherit; font-size: 12.5px; font-weight: 600;
	color: var(--ink); background: var(--card);
	border: 1px solid var(--rule); border-radius: 999px;
	padding: 5px 10px; cursor: pointer;
}
.an-region > .an-i:first-child { color: var(--brand); }
.an-region > .an-i:last-child { opacity: .5; }

.an-searchbar {
	margin-top: 10px;
	display: flex; align-items: center; gap: 9px;
	background: var(--card); border: 1px solid var(--rule);
	border-radius: 12px; padding: 9px 12px;
}
.an-searchbar .an-i { color: var(--ink-3); }
.an-searchbar input {
	flex: 1; min-width: 0; border: 0; background: none;
	font: inherit; font-size: 15px; color: var(--ink);
	padding: 0; -webkit-appearance: none; appearance: none;
}
.an-searchbar input::placeholder { color: var(--ink-3); }
.an-searchbar input:focus { outline: none; }
.an-searchbar:focus-within { border-color: var(--brand); }

/* ── layout ─────────────────────────────── */
.an-main { max-width: var(--shell); margin-inline: auto; }

.an-sec { padding: 20px var(--pad) 4px; }

.an-sec-h {
	display: flex; align-items: baseline; gap: 12px; margin-bottom: 12px;
}
.an-sec-h h2 {
	font-family: var(--f-ui); font-size: 16px; font-weight: 700;
	letter-spacing: -.01em; margin: 0; color: var(--ink);
}
.an-sec-h p { margin: 1px 0 0; font-size: 12.5px; color: var(--ink-3); }
.an-sec-h a {
	margin-inline-start: auto; font-size: 13px; font-weight: 600;
	color: var(--brand); text-decoration: none; white-space: nowrap;
}
.an-sec-h a:hover { text-decoration: underline; }

/* ── promise strip ──────────────────────── */
.an-promise {
	margin: 14px var(--pad) 0; border-radius: 14px;
	background: linear-gradient(103deg, var(--brand) 0%, color-mix(in srgb, var(--brand) 72%, #6E3410) 100%);
	color: #fff; padding: 15px 17px;
	display: flex; align-items: center; gap: 15px;
}
.an-promise-n {
	font-family: var(--f-mo); font-size: 28px; font-weight: 600;
	line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums;
}
.an-promise-n span { font-size: 15px; }
.an-promise-t { font-size: 13.5px; line-height: 1.35; opacity: .95; }
.an-promise-t b { display: block; font-size: 14.5px; opacity: 1; margin-bottom: 1px; }

/* ── wing tiles ─────────────────────────── */
.an-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 8px; }
.an-tile {
	display: flex; flex-direction: column; align-items: center; gap: 6px;
	text-decoration: none; color: inherit;
}
.an-tile-i {
	width: 100%; aspect-ratio: 1; border-radius: 14px;
	display: grid; place-items: center; position: relative;
	background: color-mix(in srgb, var(--c) 12%, var(--card));
	color: var(--c);
	transition: transform .14s ease;
}
.an-tile:hover .an-tile-i { transform: translateY(-2px); }
.an-tile-c {
	position: absolute; bottom: 4px; right: 5px;
	font-family: var(--f-mo); font-size: 8.5px; font-weight: 600;
	color: var(--ink-2); background: var(--card);
	border-radius: 999px; padding: 1px 5px;
	font-variant-numeric: tabular-nums;
}
.an-tile-n {
	font-size: 11px; line-height: 1.22; text-align: center;
	color: var(--ink); font-weight: 500; text-wrap: balance;
}

/* ── horizontal rail ────────────────────── */
.an-rail {
	display: flex; gap: 10px; overflow-x: auto;
	padding: 2px var(--pad) 8px; margin-inline: calc(var(--pad) * -1);
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}
.an-rail::-webkit-scrollbar { display: none; }

.an-gcard {
	flex: none; width: 172px; scroll-snap-align: start;
	background: var(--card); border: 1px solid var(--rule);
	border-radius: 14px; overflow: hidden; text-decoration: none;
	color: inherit; display: flex; flex-direction: column;
	transition: border-color .14s ease;
}
.an-gcard:hover { border-color: var(--c, var(--brand)); }
.an-gcard-img {
	height: 96px; position: relative; display: grid; place-items: center;
	background: color-mix(in srgb, var(--c) 12%, var(--card));
	color: var(--c);
	background-size: cover; background-position: center;
}
.an-gcard-img.has-img { color: transparent; }
.an-badge {
	position: absolute; top: 7px; left: 7px;
	display: inline-flex; align-items: center; gap: 4px;
	font-family: var(--f-mo); font-size: 9.5px; font-weight: 600;
	background: var(--card); color: var(--ink);
	border-radius: 999px; padding: 2.5px 7px;
	box-shadow: 0 1px 3px rgba(0,0,0,.14);
}
.an-gcard-b {
	padding: 10px 11px 12px; display: flex; flex-direction: column;
	gap: 6px; flex: 1;
}
.an-gcard-t {
	font-family: var(--f-ed); font-size: 14.5px; line-height: 1.24;
	letter-spacing: -.008em; color: var(--ink); text-wrap: balance;
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
	overflow: hidden;
}
.an-gcard-m { font-size: 10.5px; color: var(--ink-3); margin-top: auto; }
.an-getbtn {
	border: 1px solid var(--brand); color: var(--brand);
	border-radius: 8px; padding: 5px 0; font-size: 12px; font-weight: 700;
	text-align: center;
}
.an-gcard:hover .an-getbtn { background: var(--brand); color: var(--on-brand); }

/* ── list rows ──────────────────────────── */
.an-rows { display: flex; flex-direction: column; }
.an-row {
	display: flex; gap: 12px; align-items: center; padding: 12px 0;
	border-bottom: 1px solid var(--rule-2); text-decoration: none; color: inherit;
}
.an-row:last-child { border-bottom: 0; }
.an-row-i {
	width: 46px; height: 46px; border-radius: 11px; flex: none;
	display: grid; place-items: center;
	background: color-mix(in srgb, var(--c) 12%, var(--card));
	color: var(--c);
	background-size: cover; background-position: center;
}
.an-row-b { min-width: 0; flex: 1; }
.an-row-t {
	display: block;
	font-family: var(--f-ed); font-size: 15px; line-height: 1.26;
	letter-spacing: -.008em; color: var(--ink); text-wrap: balance;
}
.an-row:hover .an-row-t { color: var(--brand); }
.an-row-m {
	display: flex; gap: 8px; flex-wrap: wrap;
	font-size: 11.5px; color: var(--ink-3); margin-top: 2px;
}
.an-row-m .t { font-family: var(--f-mo); font-variant-numeric: tabular-nums; }
.an-row > .an-i:last-child { color: var(--ink-3); }

/* ── category index ─────────────────────── */
.an-catlist { display: grid; grid-template-columns: 1fr; }
.an-catrow {
	display: flex; align-items: center; gap: 10px; padding: 10px 0;
	border-bottom: 1px solid var(--rule-2); text-decoration: none; color: inherit;
}
.an-catrow:last-child { border-bottom: 0; }
.an-catrow .nm { font-size: 14px; }
.an-catrow:hover .nm { color: var(--brand); }
.an-catrow .fill { flex: 1; border-bottom: 1px dotted var(--rule); translate: 0 -3px; }
.an-catrow .ct {
	font-family: var(--f-mo); font-size: 12px; color: var(--ink-3);
	font-variant-numeric: tabular-nums;
}

/* ── filter chips ───────────────────────── */
.an-filters {
	display: flex; gap: 6px; overflow-x: auto;
	padding: 4px var(--pad); scrollbar-width: none;
}
.an-filters::-webkit-scrollbar { display: none; }
.an-fchip {
	flex: none; font-size: 12.5px; text-decoration: none;
	border: 1px solid var(--rule); background: var(--card); color: var(--ink-2);
	border-radius: 999px; padding: 5px 12px; white-space: nowrap;
}
.an-fchip:hover { border-color: var(--brand); color: var(--ink); }
.an-fchip.is-on { background: var(--brand); border-color: var(--brand); color: var(--on-brand); font-weight: 600; }

/* ── archive / article headers ──────────── */
.an-cathero { padding: 18px var(--pad) 2px; }
.an-back {
	display: inline-flex; align-items: center; gap: 5px;
	font-size: 13px; font-weight: 600; color: var(--brand);
	text-decoration: none; margin-bottom: 8px;
}
.an-back:hover { text-decoration: underline; }
.an-cathero h1 {
	font-family: var(--f-ed); font-size: clamp(26px, 6vw, 34px);
	font-weight: 400; letter-spacing: -.022em; line-height: 1.08;
	margin: 0; text-wrap: balance;
}
.an-cathero-m {
	font-family: var(--f-mo); font-size: 12px; color: var(--ink-3);
	margin: 7px 0 0; font-variant-numeric: tabular-nums;
}
.an-cathero-d {
	margin-top: 10px; font-size: 15px; color: var(--ink-2); max-width: 62ch;
}

/* ── article ────────────────────────────── */
.an-article { padding: 18px var(--pad) 0; }
.an-art-head { max-width: 34ch; }
.an-art-t {
	font-family: var(--f-ed); font-size: clamp(28px, 6.6vw, 42px);
	font-weight: 400; line-height: 1.06; letter-spacing: -.026em;
	margin: 0; text-wrap: balance;
}
.an-art-m {
	display: flex; gap: 10px; flex-wrap: wrap;
	font-size: 12.5px; color: var(--ink-3); margin-top: 12px;
}
.an-art-m .t {
	font-family: var(--f-mo); font-variant-numeric: tabular-nums;
	color: var(--brand); font-weight: 600;
}
.an-art-img { margin: 20px 0 0; }
.an-art-img img { width: 100%; border-radius: 14px; display: block; }

.an-prose {
	max-width: 66ch; margin-top: 24px;
	font-size: 17px; line-height: 1.68; color: var(--ink);
}
.an-prose > * + * { margin-top: 1.1em; }
.an-prose h2, .an-prose h3, .an-prose h4 {
	font-family: var(--f-ed); letter-spacing: -.018em;
	line-height: 1.2; margin-top: 1.9em; text-wrap: balance;
}
.an-prose h2 { font-size: 26px; font-weight: 400; }
.an-prose h3 { font-size: 21px; font-weight: 600; }
.an-prose h4 { font-size: 18px; font-weight: 600; }
.an-prose a { color: var(--brand); text-underline-offset: 2px; }
.an-prose img { border-radius: 10px; }
.an-prose ul, .an-prose ol { padding-inline-start: 1.3em; }
.an-prose li + li { margin-top: .4em; }
.an-prose blockquote {
	border-inline-start: 3px solid var(--brand);
	padding-inline-start: 16px; margin-inline: 0;
	font-family: var(--f-ed); font-size: 19px; color: var(--ink-2);
}
.an-prose code {
	font-family: var(--f-mo); font-size: .88em;
	background: var(--sunk); border-radius: 4px; padding: 1px 5px;
}
.an-prose pre {
	background: var(--sunk); border: 1px solid var(--rule);
	border-radius: 10px; padding: 14px 16px; overflow-x: auto;
}
.an-prose pre code { background: none; padding: 0; }
.an-prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.an-prose table th, .an-prose table td {
	border-bottom: 1px solid var(--rule); padding: 9px 12px 9px 0; text-align: start;
}
.an-prose figure { margin-inline: 0; }

/* Wide content must scroll inside itself, never the page. */
.an-prose .wp-block-table,
.an-prose figure.wp-block-table { overflow-x: auto; }

.an-art-tags {
	display: flex; gap: 7px; flex-wrap: wrap;
	margin: 26px 0 0; max-width: 66ch;
}
.an-art-tags a {
	font-size: 12.5px; text-decoration: none; color: var(--ink-2);
	border: 1px solid var(--rule); border-radius: 999px; padding: 4px 11px;
}
.an-art-tags a:hover { border-color: var(--brand); color: var(--brand); }

/* ── marketplace ────────────────────────── */
.an-mgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.an-mcard {
	background: var(--card); border: 1px solid var(--rule);
	border-radius: 14px; overflow: hidden; text-decoration: none;
	color: inherit; display: flex; flex-direction: column;
}
.an-mcard:hover { border-color: var(--brand); }
.an-mcard-i {
	height: 92px; display: grid; place-items: center;
	background: var(--sunk); color: var(--ink-3);
	background-size: cover; background-position: center;
}
.an-mcard-i.has-img { color: transparent; }
.an-mcard-b {
	padding: 10px 11px 11px; display: flex; flex-direction: column;
	gap: 4px; flex: 1;
}
.an-mcard-t { font-size: 13px; font-weight: 600; line-height: 1.25; }
.an-mcard-m { font-size: 10.5px; color: var(--ink-3); }
.an-mcard-f {
	display: flex; align-items: center; gap: 8px;
	margin-top: auto; padding-top: 7px;
}
.an-price {
	font-family: var(--f-mo); font-size: 14px; font-weight: 700;
	color: var(--ink); font-variant-numeric: tabular-nums;
}
.an-price-lg { font-size: 24px; }
.an-addbtn {
	margin-inline-start: auto;
	border: 1px solid var(--brand); color: var(--brand);
	border-radius: 7px; padding: 4px 11px; font-size: 11.5px; font-weight: 700;
}
.an-mcard:hover .an-addbtn { background: var(--brand); color: var(--on-brand); }

.an-listing-cta {
	display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
	margin: 28px 0 0; padding: 18px; max-width: 66ch;
	background: var(--card); border: 1px solid var(--rule); border-radius: 14px;
}
.an-listing-note {
	max-width: 66ch; font-size: 12.5px; color: var(--ink-3); margin-top: 14px;
}

.an-btn {
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--brand); color: var(--on-brand);
	border: 0; border-radius: 10px; padding: 11px 20px;
	font: inherit; font-size: 14.5px; font-weight: 700;
	text-decoration: none; cursor: pointer;
}
.an-btn:hover { filter: brightness(1.06); }

/* ── empty state ────────────────────────── */
.an-empty {
	padding: 56px 24px; text-align: center; color: var(--ink-3);
	display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.an-empty h1, .an-empty h2 {
	font-family: var(--f-ed); font-weight: 400; font-size: 26px;
	letter-spacing: -.02em; margin: 4px 0 0; color: var(--ink);
	text-wrap: balance;
}
.an-empty p { margin: 0; font-size: 14.5px; max-width: 42ch; }
.an-empty .an-btn { margin-top: 10px; }

/* ── pagination ─────────────────────────── */
.pagination, .nav-links {
	display: flex; gap: 6px; flex-wrap: wrap;
	justify-content: center; padding: 26px 0 8px;
}
.pagination .page-numbers {
	min-width: 38px; padding: 7px 11px; text-align: center;
	border: 1px solid var(--rule); border-radius: 9px;
	text-decoration: none; font-size: 14px; color: var(--ink-2);
	font-variant-numeric: tabular-nums;
}
.pagination .page-numbers:hover { border-color: var(--brand); color: var(--brand); }
.pagination .page-numbers.current {
	background: var(--brand); border-color: var(--brand);
	color: var(--on-brand); font-weight: 700;
}
.pagination .dots { border-color: transparent; }

/* ── region sheet ───────────────────────── */
.an-sheet { position: fixed; inset: 0; z-index: 90; }
.an-sheet[hidden] { display: none; }
.an-sheet-scrim { position: absolute; inset: 0; background: rgba(0,0,0,.42); }
.an-sheet-panel {
	position: absolute; inset-inline: 0; bottom: 0;
	background: var(--bg); border-radius: 20px 20px 0 0;
	padding: 18px var(--pad) calc(20px + env(safe-area-inset-bottom));
	max-height: 76vh; overflow-y: auto;
	max-width: var(--shell); margin-inline: auto;
	box-shadow: 0 -8px 40px rgba(0,0,0,.28);
}
.an-sheet-head { display: flex; align-items: center; gap: 12px; }
.an-sheet-head h2 {
	font-family: var(--f-ed); font-size: 21px; font-weight: 400;
	letter-spacing: -.02em; margin: 0;
}
.an-sheet-x {
	margin-inline-start: auto; background: none; border: 0;
	color: var(--ink-2); cursor: pointer; padding: 4px; line-height: 0;
}
.an-sheet-sub { font-size: 13px; color: var(--ink-3); margin: 6px 0 14px; }
.an-sheet-list { display: flex; flex-wrap: wrap; gap: 7px; }
.an-region-opt {
	font: inherit; font-size: 13.5px; cursor: pointer;
	background: var(--card); color: var(--ink-2);
	border: 1px solid var(--rule); border-radius: 999px; padding: 7px 14px;
}
.an-region-opt:hover { border-color: var(--brand); color: var(--ink); }
.an-region-opt.is-on {
	background: var(--brand); border-color: var(--brand);
	color: var(--on-brand); font-weight: 600;
}

/* ── footer ─────────────────────────────── */
.an-foot {
	border-top: 1px solid var(--rule); margin-top: 44px;
	padding: 30px var(--pad) 20px;
}
.an-foot-in {
	max-width: var(--shell); margin-inline: auto;
	display: flex; gap: 32px; flex-wrap: wrap; justify-content: space-between;
}
.an-foot-brand p { margin: 8px 0 0; color: var(--ink-3); font-size: 13.5px; max-width: 44ch; }
.an-foot-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px 20px; flex-wrap: wrap; }
.an-foot-list a { font-size: 14px; color: var(--ink-2); text-decoration: none; }
.an-foot-list a:hover { color: var(--brand); }
.an-copy {
	max-width: var(--shell); margin: 24px auto 0;
	font-size: 12.5px; color: var(--ink-3);
}

/* ── bottom tab bar ─────────────────────── */
.an-tabbar {
	position: fixed; inset-inline: 0; bottom: 0; z-index: 60;
	background: var(--chrome); backdrop-filter: blur(14px);
	border-top: 1px solid var(--rule);
	display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
	padding: 7px 4px calc(6px + env(safe-area-inset-bottom));
}
.an-tab {
	display: flex; flex-direction: column; align-items: center; gap: 3px;
	color: var(--ink-3); font-size: 10px; font-weight: 600;
	text-decoration: none; padding: 3px 0;
}
.an-tab.is-on { color: var(--brand); }
.an-tab:hover { color: var(--ink); }
.an-tab.is-on:hover { color: var(--brand); }

/* ══ desktop: the shell widens, the tab bar becomes a rail ══ */
@media (min-width: 900px) {
	:root { --pad: 24px; }

	body.an-app { padding-bottom: 0; padding-inline-start: 92px; }

	.an-tabbar {
		inset-block: 0 auto; height: 100vh; width: 92px;
		inset-inline: 0 auto;
		border-top: 0; border-inline-end: 1px solid var(--rule);
		grid-auto-flow: row; grid-auto-rows: max-content;
		align-content: start; gap: 4px;
		padding: 78px 8px 20px;
	}
	.an-tab { font-size: 11px; gap: 5px; padding: 11px 0; border-radius: 12px; }
	.an-tab.is-on { background: color-mix(in srgb, var(--brand) 12%, transparent); }

	.an-head { padding-inline-start: 0; }
	.an-head-in { display: flex; align-items: center; gap: 24px; padding-block: 12px; }
	.an-searchbar { margin-top: 0; flex: 1; max-width: 460px; }
	.an-brandrow { flex: none; }

	.an-tiles { grid-template-columns: repeat(8, 1fr); }
	.an-gcard { width: 218px; }
	.an-mgrid { grid-template-columns: repeat(4, 1fr); }
	.an-catlist { grid-template-columns: 1fr 1fr; gap: 0 40px; }
	.an-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }

	.an-promise { border-radius: 16px; padding: 20px 24px; }
	.an-article { padding-inline: var(--pad); }
	.an-sheet-panel { border-radius: 20px; bottom: auto; top: 50%; translate: 0 -50%; max-width: 560px; }
}

@media (min-width: 1300px) {
	.an-tiles { grid-template-columns: repeat(10, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
