/* ==========================================================================
   Australian Tamil News — front-end styles
   Mobile-first. Colours/fonts come from theme.json presets.
   ========================================================================== */

:root {
	--navy: var(--wp--preset--color--navy, #14214A);
	--coral: var(--wp--preset--color--coral, #FF4858);
	--coral-ink: #C2303D;
	--orange: var(--wp--preset--color--orange, #FF951E);
	--blue: var(--wp--preset--color--blue, #2398F4);
	--blue-ink: #1B78C0;
	--teal: var(--wp--preset--color--teal, #16B8AB);
	--teal-ink: #0F8279;
	--purple: var(--wp--preset--color--purple, #7755EA);
	--bg: var(--wp--preset--color--background, #F7F9FC);
	--text: var(--wp--preset--color--text, #202638);
	--muted: var(--wp--preset--color--muted, #5A6378);
	--line: var(--wp--preset--color--line, #E3E8F0);
	--white: #fff;
	--radius: 10px;
	--radius-sm: 6px;
	--shadow: 0 1px 2px rgba(20, 33, 74, .06), 0 6px 20px rgba(20, 33, 74, .07);
	--container: 1280px;
	--gutter: clamp(16px, 3vw, 24px);
	--font-latin: "Inter", system-ui, sans-serif;
	--cat: var(--coral);
	--cat-ink: var(--coral-ink);
}

/* ---------- Base ---------- */
:where(.wp-site-blocks) *, :where(.wp-site-blocks) *::before, :where(.wp-site-blocks) *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { overflow-x: clip; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
.wp-site-blocks { overflow-x: clip; }
.wp-site-blocks > * + * { margin-block-start: 0; }
img, svg, video { max-width: 100%; height: auto; }
a { text-underline-offset: .18em; }
.atn-icon { flex: none; vertical-align: middle; }
time, .atn-card__meta, .atn-byline__meta { font-family: var(--wp--preset--font-family--body); font-variant-numeric: tabular-nums; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px;
	overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important;
}
.screen-reader-text:focus { background: #fff; clip: auto !important; clip-path: none; color: var(--navy); display: block; height: auto; left: 8px; padding: 12px 16px; top: 8px; width: auto; z-index: 100000; }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 3px solid var(--blue-ink);
	outline-offset: 2px;
	border-radius: 4px;
}
.atn-utility :focus-visible, .atn-footer :focus-visible, .atn-newsletter--band :focus-visible, .atn-card--overlay :focus-visible, .atn-card--travel :focus-visible {
	outline-color: var(--orange);
}

.atn-container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); box-sizing: border-box; }
.atn-container .atn-container { padding-inline: 0; }
.atn-main { min-height: 50vh; }
.atn-page-pad { padding-block: 8px 48px; }

/* ---------- Buttons ---------- */
.atn-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 10px 20px; border-radius: 999px; border: 2px solid var(--navy);
	background: var(--navy); color: #fff; font: 600 0.9375rem/1.2 var(--wp--preset--font-family--body);
	text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s;
}
.atn-btn:hover { background: var(--coral-ink); border-color: var(--coral-ink); color: #fff; }
.atn-btn--coral { background: var(--coral-ink); border-color: var(--coral-ink); }
.atn-btn--coral:hover { background: var(--navy); border-color: var(--navy); }
.atn-btn--ghost { background: #fff; color: var(--navy); }
.atn-btn--ghost:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.atn-iconbtn {
	display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px;
	border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; padding: 0;
}
.atn-iconbtn:hover { background: var(--bg); }

/* ---------- Utility bar ---------- */
.atn-utility { background: var(--navy); color: #D9DEEC; font-size: 0.8125rem; line-height: 1.4; }
.atn-utility__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.atn-utility__date { display: flex; align-items: center; gap: 6px; margin: 0; flex-wrap: wrap; }
.atn-utility__sep { opacity: .4; margin-inline: 6px; }
.atn-clock { font-family: var(--font-latin); font-weight: 600; color: #fff; }
.atn-utility__links { display: flex; align-items: center; gap: 18px; }
.atn-utility a { color: #fff; text-decoration: none; }
.atn-utility a:hover { color: var(--orange); }
@media (max-width: 781px) { .atn-utility { display: none; } }

/* ---------- Social icons ---------- */
.atn-social { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.atn-social a { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: #fff; }
.atn-social a:hover { background: var(--coral-ink); color: #fff; }
.atn-social--sm a { width: 28px; height: 28px; background: transparent; }
.atn-social--sm .atn-icon { width: 15px; height: 15px; }

/* ---------- Masthead ---------- */
.atn-header { position: relative; z-index: 50; background: #fff; }
.atn-sticky-nav .atn-header.is-sticky-ready { position: sticky; top: calc(-1 * var(--atn-stick-offset, 0px)); }
.admin-bar.atn-sticky-nav .atn-header.is-sticky-ready { top: calc(32px - var(--atn-stick-offset, 0px)); }
@media (max-width: 782px) { .admin-bar.atn-sticky-nav .atn-header.is-sticky-ready { top: calc(0px - var(--atn-stick-offset, 0px)); } }
.atn-masthead { background: #fff; border-bottom: 1px solid var(--line); }
.atn-masthead__inner { display: flex; align-items: center; gap: 16px; min-height: 64px; padding-block: 8px; position: relative; }
@media (min-width: 1024px) {
	.atn-masthead__inner { min-height: 112px; padding-block: 12px; gap: 24px; }
}

/* Brand */
.atn-brand { margin: 0; font-size: inherit; line-height: 1; flex: 0 1 auto; min-width: 0; }
.atn-brand__link { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.atn-brand__logo { display: block; width: auto; height: auto; max-height: 36px; max-width: 119px; object-fit: contain; }
.atn-brand__logo--mobile { display: block; }
.atn-brand__logo--desktop { display: none; }
@media (min-width: 782px) {
	.atn-brand__logo { max-height: 88px; max-width: 290px; }
	.atn-brand__logo--mobile { display: none; }
	.atn-brand__logo--desktop { display: block; }
}
.atn-brand__mark {
	display: inline-grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px;
	background: linear-gradient(135deg, var(--coral) 0%, var(--orange) 100%);
	color: #fff; font: 800 1.5rem/1 var(--wp--preset--font-family--tamil); box-shadow: 0 4px 12px rgba(255, 72, 88, .3);
}
.atn-brand__mark span { transform: translateY(1px); }
.atn-brand__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.atn-brand__name { font: 800 1.125rem/1.25 var(--wp--preset--font-family--body); letter-spacing: -.01em; }
.atn-brand__tag { font-size: 0.75rem; line-height: 1.4; color: var(--muted); font-weight: 500; }
@media (max-width: 479px) {
	.atn-brand__tag { display: none; }
	.atn-brand__name { font-size: 0.98rem; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
	.atn-brand__mark { width: 36px; height: 36px; font-size: 1.3rem; border-radius: 10px; }
	.atn-brand__link { gap: 10px; }
	.atn-actions { gap: 6px; }
	.atn-actions__nl { display: none; }
}
@media (min-width: 782px) {
	.atn-brand__mark { width: 54px; height: 54px; font-size: 1.9rem; border-radius: 14px; }
	.atn-brand__name { font-size: 1.6rem; }
	.atn-brand__tag { font-size: 0.8125rem; }
}

/* Header actions */
.atn-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; flex: none; }
@media (min-width: 1200px) { .atn-masthead .atn-adwrap--header + .atn-actions { margin-left: 0; } }
.atn-actions__nl span { display: none; }
.atn-actions__nl { width: 44px; padding: 0; }
@media (min-width: 600px) { .atn-actions__nl span { display: inline; } .atn-actions__nl { width: auto; padding: 10px 18px; } }
.atn-menu-toggle__close { display: none; }
.atn-menu-toggle[aria-expanded="true"] .atn-menu-toggle__open { display: none; }
.atn-menu-toggle[aria-expanded="true"] .atn-menu-toggle__close { display: inline; }
@media (min-width: 900px) { .atn-menu-toggle { display: none; } }
html:not(.atn-js) .atn-menu-toggle, html:not(.atn-js) .atn-search-toggle { display: none; }

.atn-search-panel {
	position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% + 1px); z-index: 60;
	background: #fff; border: 1px solid var(--line); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow); padding: 16px;
}
.atn-search-panel__form { display: flex; gap: 8px; max-width: 760px; margin-inline: auto; }
.atn-search-panel input[type="search"] { flex: 1; min-width: 0; }

/* Form controls */
.atn-searchform input[type="search"], .atn-search-panel input[type="search"], .atn-nl input[type="email"], .atn-nl input[type="text"], .atn-field select {
	min-height: 48px; padding: 10px 16px; border: 1.5px solid #C9D1E0; border-radius: 999px; background: #fff;
	font: 500 1rem/1.4 var(--wp--preset--font-family--body); color: var(--text); width: 100%; box-sizing: border-box;
}
.atn-field select { border-radius: var(--radius-sm); appearance: auto; }

/* ---------- Category navigation ---------- */
.atn-nav { background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 2px 8px rgba(20, 33, 74, .04); }
.atn-nav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.atn-nav__item { position: relative; display: flex; align-items: center; }
.atn-nav__item > a, .atn-nav__morebtn {
	display: flex; align-items: center; gap: 8px; padding: 14px 12px; color: var(--navy); text-decoration: none;
	font: 600 0.9375rem/1.4 var(--wp--preset--font-family--body); white-space: nowrap; background: none; border: 0; cursor: pointer;
	position: relative;
}
.atn-nav__item > a::before { content: ""; width: 8px; height: 8px; border-radius: 99px; background: var(--cat, var(--navy)); flex: none; }
.atn-nav__item--home > a::before { display: none; }
.atn-nav__item > a::after {
	content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0;
	background: var(--cat, var(--navy)); transform: scaleX(0); transition: transform .2s ease;
}
.atn-nav__item > a:hover::after, .atn-nav__item.is-active > a::after { transform: scaleX(1); }
.atn-nav__item.is-active > a { color: var(--cat-ink, var(--navy)); }
.atn-nav__item--home > a { font-weight: 700; }
.atn-nav__subtoggle { background: none; border: 0; padding: 8px 6px; margin-left: -8px; color: var(--muted); cursor: pointer; display: inline-grid; place-items: center; min-width: 32px; min-height: 44px; }
.atn-nav__subtoggle[aria-expanded="true"] .atn-icon, .atn-nav__morebtn[aria-expanded="true"] .atn-icon { transform: rotate(180deg); }
.atn-nav__sub {
	list-style: none; margin: 0; padding: 8px; display: none; position: absolute; top: 100%; left: 0; min-width: 240px; z-index: 70;
	background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--cat, var(--navy)); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow);
}
.atn-nav__more .atn-nav__sub { left: auto; right: 0; }
.atn-nav__sub.is-open { display: block; }
.atn-nav__sub a { display: block; padding: 10px 12px; border-radius: var(--radius-sm); color: var(--navy); text-decoration: none; font-weight: 500; }
.atn-nav__sub a:hover { background: var(--bg); color: var(--coral-ink); }
.atn-nav__sub .atn-nav__item > a { width: 100%; padding: 10px 12px; }
.atn-nav__sub .atn-nav__item > a::after { display: none; }
.atn-nav__sub .atn-nav__subtoggle { display: none; }
.atn-nav__sub .atn-nav__sub { display: none !important; }

@media (min-width: 900px) {
	.atn-js .atn-nav__list[data-atn-priority] { flex-wrap: nowrap; }
	.atn-nav__item.has-sub:hover > .atn-nav__sub, .atn-nav__item.has-sub:focus-within > .atn-nav__sub { display: block; }
	.atn-nav__more:not([hidden]) { display: flex; }
}

/* Mobile drawer */
@media (max-width: 899px) {
	.atn-js .atn-nav { display: none; }
	.atn-js .atn-nav.is-open { display: block; max-height: calc(100vh - 64px); max-height: calc(100dvh - 64px); overflow-y: auto; overscroll-behavior: contain; }
	.atn-nav__list { flex-direction: column; padding-block: 8px; }
	.atn-nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
	.atn-nav__item > a { flex: 1; padding: 14px 4px; font-size: 1rem; white-space: normal; }
	.atn-nav__item > a::after { display: none; }
	.atn-nav__item.is-active > a { box-shadow: inset 4px 0 0 var(--cat, var(--navy)); padding-left: 12px; }
	.atn-nav__subtoggle { margin-left: 0; min-width: 44px; }
	.atn-nav__sub { position: static; width: 100%; box-shadow: none; border: 0; border-left: 3px solid var(--cat, var(--navy)); border-radius: 0; margin: 0 0 8px 8px; padding: 0 0 0 8px; }
	.atn-nav__more { display: none !important; }
}

/* ---------- Ticker ---------- */
.atn-ticker { background: var(--bg); border-bottom: 1px solid var(--line); }
.atn-ticker__inner { display: flex; align-items: center; gap: 12px; min-height: 46px; }
.atn-ticker__label {
	flex: none; display: inline-flex; align-items: center; gap: 8px; background: var(--coral-ink); color: #fff;
	padding: 6px 12px; border-radius: 999px; font-size: 0.8125rem; font-weight: 700; line-height: 1.4;
}
.atn-ticker__label::before { content: ""; width: 7px; height: 7px; background: #fff; border-radius: 99px; }
.atn-ticker__viewport { flex: 1; min-width: 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); }
.atn-ticker__track { display: flex; width: max-content; animation: atn-marquee var(--atn-ticker-speed, 70s) linear infinite; }
.atn-ticker__viewport:hover .atn-ticker__track, .atn-ticker__viewport:focus-within .atn-ticker__track, .atn-ticker.is-paused .atn-ticker__track { animation-play-state: paused; }
.atn-ticker__list { display: flex; list-style: none; margin: 0; padding: 0; }
.atn-ticker__list li { display: flex; align-items: baseline; gap: 8px; padding-inline: 18px; white-space: nowrap; font-size: 0.9375rem; line-height: 1.6; }
.atn-ticker__list li + li { border-left: 1px solid #CDD5E3; }
.atn-ticker__list a { color: var(--navy); font-weight: 600; text-decoration: none; }
.atn-ticker__list a:hover { color: var(--coral-ink); text-decoration: underline; }
.atn-ticker__time { color: var(--muted); font-size: 0.75rem; }
.atn-ticker__pause { flex: none; width: 32px; height: 32px; border-radius: 99px; border: 1px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; }
.atn-ticker__pauseicon { width: 10px; height: 12px; border-left: 3px solid var(--navy); border-right: 3px solid var(--navy); box-sizing: border-box; }
.atn-ticker.is-paused .atn-ticker__pauseicon { width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent var(--navy); }
@keyframes atn-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
	.atn-ticker__track { animation: none; }
	.atn-ticker__viewport { overflow-x: auto; mask-image: none; }
	.atn-ticker__list[aria-hidden="true"], .atn-ticker__pause { display: none; }
}
@media (max-width: 599px) { .atn-ticker__label { font-size: 0; gap: 0; padding: 8px; } .atn-ticker__label::before { width: 9px; height: 9px; } }

/* ---------- Badges ---------- */
.atn-card__badges { display: flex; flex-wrap: wrap; gap: 6px; position: relative; z-index: 2; }
.atn-badge {
	display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px;
	background: var(--cat-ink); color: #fff; font-size: 0.75rem; font-weight: 700; line-height: 1.5; text-decoration: none;
}
a.atn-badge:hover { background: var(--navy); color: #fff; }
.atn-badge--region { background: #fff; color: var(--navy); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; }
a.atn-badge--region:hover { background: var(--bg); color: var(--navy); }

/* ---------- Cards ---------- */
.atn-card { position: relative; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.atn-card__media { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #EEF1F7; background: color-mix(in srgb, var(--cat) 14%, #fff); }
.atn-card__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s ease; }
.atn-card:hover .atn-card__img { transform: scale(1.035); }
@media (prefers-reduced-motion: reduce) { .atn-card__img { transition: none; } .atn-card:hover .atn-card__img { transform: none; } }
.atn-card__body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.atn-card__title { margin: 0; font-size: 1.125rem; font-weight: 700; line-height: 1.5; color: var(--navy); overflow-wrap: anywhere; }
.atn-card__title a { color: inherit; text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .25s; }
.atn-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.atn-card:hover .atn-card__title a { color: var(--cat-ink); }
.atn-card__title a:focus-visible { outline: none; }
.atn-card:focus-within { outline: 3px solid var(--blue-ink); outline-offset: 4px; border-radius: var(--radius); }
.atn-card__excerpt {
	margin: 0; color: var(--muted); font-size: 0.9375rem; line-height: 1.7;
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; padding-bottom: .1em;
}
.atn-card__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; color: var(--muted); font-size: 0.8125rem; line-height: 1.4; margin-top: auto; }
.atn-card__more { position: relative; z-index: 2; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; color: var(--cat-ink); font-weight: 700; text-decoration: none; }
.atn-card__dest { display: flex; align-items: center; gap: 4px; margin: 0; font-size: 0.875rem; font-weight: 600; }

/* medium in grids: keep rows even */
.atn-grid .atn-card--medium .atn-card__title { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; padding-bottom: .1em; }

/* lead */
.atn-card--lead .atn-card__title { font-size: clamp(1.375rem, 1rem + 1.4vw, 2rem); line-height: 1.42; font-weight: 800; }
.atn-card--lead .atn-card__excerpt { font-size: 1.0625rem; -webkit-line-clamp: 3; }
.atn-card--lead .atn-card__media { border-radius: 14px; }

/* small */
.atn-card--small .atn-card__title { font-size: 1rem; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; padding-bottom: .1em; }
.atn-card--small { gap: 10px; }

/* list */
.atn-card--list { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: start; gap: 14px; }
.atn-card--list .atn-card__media { aspect-ratio: 4 / 3; border-radius: 8px; }
.atn-card--list .atn-card__title { font-size: 1rem; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; padding-bottom: .1em; }
.atn-card--list .atn-card__badges .atn-badge { font-size: 0.6875rem; padding: 2px 8px; }
.atn-card--list .atn-card__body { gap: 6px; }
@media (min-width: 600px) { .atn-card--list { grid-template-columns: 148px minmax(0, 1fr); } }

/* text */
.atn-card--text { padding-block: 12px; border-top: 1px solid var(--line); gap: 6px; }
.atn-card--text .atn-card__title { font-size: 0.98rem; font-weight: 600; }

/* overlay + travel */
.atn-card--overlay, .atn-card--travel { border-radius: var(--radius); overflow: hidden; isolation: isolate; min-height: 220px; justify-content: flex-end; background: var(--navy); }
.atn-card--overlay .atn-card__media, .atn-card--travel .atn-card__media { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; background: var(--navy); }
.atn-card--overlay .atn-card__title { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; padding-bottom: .1em; }
.atn-mosaic .atn-card--overlay .atn-card__title { font-size: 1.0625rem; }
.atn-mosaic .atn-card--overlay .atn-card__body { padding: 14px 16px; gap: 6px; }
.atn-card--overlay .atn-card__media::after, .atn-card--travel .atn-card__media::after {
	content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 16, 40, 0) 25%, rgba(10, 16, 40, .55) 55%, rgba(10, 16, 40, .92) 100%);
}
.atn-card--overlay .atn-card__body, .atn-card--travel .atn-card__body { position: relative; z-index: 1; padding: 18px; color: #fff; }
.atn-card--overlay .atn-card__title, .atn-card--travel .atn-card__title { color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .3); }
.atn-card--overlay:hover .atn-card__title a, .atn-card--travel:hover .atn-card__title a { color: #fff; text-decoration: underline; text-decoration-thickness: 2px; }
.atn-card--overlay .atn-card__meta, .atn-card--travel .atn-card__meta, .atn-card--overlay .atn-card__excerpt, .atn-card--travel .atn-card__excerpt { color: rgba(255, 255, 255, .88); }
.atn-card--travel .atn-card__title { font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); font-weight: 800; }

/* ---------- Grids ---------- */
.atn-grid { display: grid; gap: 28px 24px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 600px) { .atn-grid--2, .atn-grid--3, .atn-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .atn-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .atn-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.atn-grid__full { grid-column: 1 / -1; }
.atn-stack { display: flex; flex-direction: column; gap: 18px; }

/* ---------- Sections ---------- */
.atn-section { margin-block: clamp(36px, 5vw, 56px); }
.atn-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.atn-section__title {
	margin: 0 0 -1px; padding-bottom: 10px; border-bottom: 3px solid var(--cat, var(--coral));
	font-size: clamp(1.25rem, 1rem + 0.9vw, 1.625rem); font-weight: 800; line-height: 1.45; color: var(--navy);
}
.atn-section__all { display: inline-flex; align-items: center; gap: 6px; padding-bottom: 12px; color: var(--cat-ink, var(--navy)); font-weight: 700; font-size: 0.875rem; text-decoration: none; white-space: nowrap; }
.atn-section__all:hover { text-decoration: underline; }
.atn-section__kicker { margin: -10px 0 20px; color: var(--cat-ink); font-size: 0.875rem; font-weight: 600; }

/* split layouts */
.atn-split { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) {
	.atn-split--lead { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
	.atn-split--mag { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
	.atn-split--list { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.atn-split--mag .atn-card--overlay { height: 100%; min-height: 420px; }
}
.atn-split__side.atn-grid--2 { gap: 24px; }
@media (min-width: 600px) { .atn-split__side.atn-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.atn-split--mag .atn-card--overlay .atn-card__title { font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); font-weight: 800; }
.atn-split--mag .atn-card--overlay { min-height: 320px; }

.atn-numbered { list-style: none; margin: 0; padding: 0; counter-reset: atn; display: flex; flex-direction: column; }
.atn-numbered > li { counter-increment: atn; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 8px; align-items: start; padding-block: 12px; border-bottom: 1px solid var(--line); }
.atn-numbered > li:first-child { padding-top: 0; }
.atn-numbered > li::before { content: counter(atn); font: 800 1.75rem/1 var(--font-latin); color: var(--cat, var(--coral)); opacity: .9; }
.atn-numbered .atn-card--text { border-top: 0; padding: 0; }
.atn-numbered .atn-card--list { grid-template-columns: 96px minmax(0, 1fr); }

/* feature (AI) */
.atn-section--feature .atn-section__frame {
	padding: clamp(18px, 3vw, 32px); border-radius: 18px;
	background: #F4F1FE; background: linear-gradient(135deg, color-mix(in srgb, var(--cat) 12%, #fff) 0%, #fff 70%);
	border: 1px solid color-mix(in srgb, var(--cat) 22%, #fff);
}
.atn-section--feature .atn-section__head { border-color: color-mix(in srgb, var(--cat) 25%, #fff); }
.atn-section--feature .atn-section__title { color: var(--cat-ink); }
.atn-feature { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
.atn-feature__grid { display: grid; gap: 18px; align-content: start; }
.atn-feature__main .atn-card { background: #fff; border-radius: 14px; padding: 12px 12px 18px; box-shadow: var(--shadow); }
.atn-feature__main .atn-card__body { padding-inline: 6px; }
@media (min-width: 900px) { .atn-feature { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); } }

/* cards (technology/community): accent top border */
.atn-section--cards .atn-card { border-top: 3px solid var(--cat); padding-top: 14px; }

/* travel mosaic */
.atn-mosaic { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
.atn-mosaic .atn-card--travel { min-height: 340px; }
.atn-mosaic .atn-card--overlay { min-height: 200px; }
@media (min-width: 600px) {
	.atn-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.atn-mosaic .atn-card--travel { grid-column: 1 / -1; min-height: 380px; }
}
@media (min-width: 1024px) {
	.atn-mosaic { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 230px; }
	.atn-mosaic .atn-card--travel { grid-column: span 2; grid-row: span 2; min-height: 0; }
	.atn-mosaic .atn-card--overlay { min-height: 0; }
}
.atn-section--travel .atn-section__frame { position: relative; }

/* tiles (lifestyle) */
.atn-tiles .atn-card { background: #FFF6EC; background: color-mix(in srgb, var(--cat) 9%, #fff); border-radius: 14px; padding: 12px 12px 16px; }
.atn-tiles .atn-card__body { padding-inline: 4px; }

/* trio */
.atn-trio { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); margin-block: clamp(36px, 5vw, 56px); }
@media (min-width: 782px) { .atn-trio--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .atn-trio--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .atn-trio--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.atn-trio__col .atn-card--medium { margin-bottom: 6px; }
.atn-trio .atn-section__head { flex-wrap: wrap; }
.atn-trio .atn-section__title { font-size: 1.25rem; }

/* ---------- Hero ---------- */
.atn-hero { padding-block: clamp(18px, 3vw, 32px) 8px; }
.atn-hero__top { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
.atn-hero__side { display: grid; gap: 24px; align-content: start; }
.atn-hero__bottom { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
@media (min-width: 600px) {
	.atn-hero__side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.atn-hero__bottom { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
	.atn-hero__top { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 32px; }
	.atn-hero__side { grid-template-columns: minmax(0, 1fr); }
	.atn-hero__bottom { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.atn-hero__lead .atn-card__title { font-size: clamp(1.625rem, 1rem + 1.1vw, 2.125rem); }
}
@media (max-width: 599px) {
	.atn-hero__bottom .atn-card--small { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; align-items: start; }
	.atn-hero__bottom .atn-card--small .atn-card__media { aspect-ratio: 4 / 3; border-radius: 8px; }
}

/* Launch (no posts yet) */
.atn-launch { padding-block: clamp(40px, 8vw, 96px); }
.atn-launch__inner { border-radius: 24px; padding: clamp(28px, 6vw, 64px); background: radial-gradient(120% 120% at 100% 0%, rgba(255, 149, 30, .25) 0%, rgba(255, 149, 30, 0) 45%), radial-gradient(90% 100% at 0% 100%, rgba(119, 85, 234, .35) 0%, rgba(119, 85, 234, 0) 50%), var(--navy); color: #fff; text-align: center; }
.atn-launch__eyebrow { display: inline-block; background: var(--coral-ink); padding: 4px 14px; border-radius: 99px; font-weight: 700; font-size: 0.875rem; }
.atn-launch__title { color: #fff; font-size: clamp(1.5rem, 1rem + 2.2vw, 2.5rem); line-height: 1.45; max-width: 820px; margin: 16px auto; }
.atn-launch__text { max-width: 720px; margin: 0 auto 24px; color: #D9DEEC; }
.atn-launch__admin .atn-btn { background: #fff; color: var(--navy); border-color: #fff; }
.atn-launch__cats { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.atn-launch__cats a { display: inline-block; padding: 6px 14px; border-radius: 99px; background: var(--cat-ink); color: #fff; text-decoration: none; font-size: 0.875rem; font-weight: 600; }

/* Load more + pagination */
.atn-loadmore { display: flex; justify-content: center; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.atn-loadmore__btn[aria-busy="true"] { opacity: .6; pointer-events: none; }
.atn-pagination { margin-top: 40px; }
.atn-pagination ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.atn-pagination a, .atn-pagination span.page-numbers { display: inline-flex; align-items: center; gap: 6px; min-width: 44px; min-height: 44px; justify-content: center; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--navy); text-decoration: none; font-weight: 600; font-family: var(--wp--preset--font-family--body); box-sizing: border-box; }
.atn-pagination a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.atn-pagination .current { background: var(--coral-ink); border-color: var(--coral-ink) !important; color: #fff !important; }
.atn-pagination .dots { border: 0 !important; }

/* Empty states */
.atn-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 40px 24px; border: 1.5px dashed #CBD3E2; border-radius: 16px; background: var(--bg); color: var(--muted); }
.atn-empty p { margin: 0; max-width: 560px; }
.atn-empty h2 { margin: 0; font-size: 1.375rem; }
.atn-empty__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 99px; background: #fff; color: var(--coral-ink); box-shadow: var(--shadow); }
.atn-empty .atn-chips { justify-content: center; }

/* ---------- Ads ---------- */
.atn-adwrap { margin-block: 28px; }
.atn-masthead .atn-adwrap { margin-block: 0; }
.atn-ad { display: flex; flex-direction: column; align-items: center; gap: 4px; max-width: 100%; overflow: hidden; }
.atn-ad__label { font: 600 0.6875rem/1.4 var(--font-latin); letter-spacing: .06em; color: #6B7488; text-transform: uppercase; }
.atn-ad__label span { font-family: var(--wp--preset--font-family--tamil); letter-spacing: 0; text-transform: none; }
.atn-ad__box { width: 100%; display: flex; justify-content: center; align-items: center; background: var(--bg); border-radius: var(--radius-sm); }
.atn-ad__box img { display: block; height: auto; max-width: 100%; }
.atn-ad--header .atn-ad__box { min-height: 90px; }
.atn-ad--home_between .atn-ad__box { min-height: 90px; }
.atn-ad--sidebar .atn-ad__box { min-height: 250px; }
.atn-ad--in_article .atn-ad__box { min-height: 250px; }
.atn-ad--mobile .atn-ad__box { min-height: 100px; }
.atn-ad--footer .atn-ad__box { min-height: 90px; }
.atn-adwrap--mobile, .atn-ad--mobile { display: block; }
@media (min-width: 782px) { .atn-adwrap--mobile, .atn-content .atn-ad--mobile { display: none; } }
@media (max-width: 781px) { .atn-ad--home_between .atn-ad__box { min-height: 250px; } .atn-adwrap--sidebar { display: none; } }

/* ---------- Newsletter ---------- */
.atn-newsletter--band { margin-block: clamp(40px, 6vw, 64px); }
.atn-newsletter--band .atn-newsletter__inner {
	display: grid; gap: 24px; align-items: center; border-radius: 20px; padding: clamp(24px, 5vw, 48px); color: #fff; position: relative; overflow: hidden;
	background: radial-gradient(60% 120% at 100% 0%, rgba(255, 72, 88, .45), rgba(255, 72, 88, 0) 60%), radial-gradient(50% 90% at 0% 100%, rgba(35, 152, 244, .35), rgba(35, 152, 244, 0) 60%), var(--navy);
}
@media (min-width: 900px) { .atn-newsletter--band .atn-newsletter__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; } }
.atn-newsletter__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: rgba(255, 255, 255, .12); margin-bottom: 12px; }
.atn-newsletter--band .atn-newsletter__title { color: #fff; margin: 0 0 8px; font-size: clamp(1.5rem, 1rem + 1.5vw, 2.125rem); }
.atn-newsletter--band .atn-newsletter__text { margin: 0; font-size: 1.125rem; color: #E1E6F2; line-height: 1.7; }
.atn-newsletter--compact .atn-newsletter__inner { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.atn-newsletter--compact .atn-newsletter__icon { background: var(--coral-ink); color: #fff; width: 40px; height: 40px; border-radius: 10px; }
.atn-newsletter--compact .atn-newsletter__title { font-size: 1.25rem; margin: 0 0 4px; }
.atn-newsletter--compact .atn-newsletter__text { margin: 0 0 14px; font-size: 0.9375rem; color: var(--muted); line-height: 1.6; }
.atn-nl { display: grid; gap: 12px; }
.atn-nl__row { display: flex; gap: 8px; flex-wrap: wrap; }
.atn-nl__row input[type="email"] { flex: 1 1 220px; }
.atn-nl__row .atn-btn { flex: 0 0 auto; }
.atn-newsletter--compact .atn-nl__row .atn-btn { flex: 1 1 100%; }
.atn-newsletter--band .atn-nl__row .atn-btn { background: var(--coral-ink); border-color: var(--coral-ink); }
.atn-newsletter--band .atn-nl__row .atn-btn:hover { background: #fff; color: var(--navy); border-color: #fff; }
.atn-nl__consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.875rem; line-height: 1.6; }
.atn-nl__consent input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--coral-ink); }
.atn-newsletter--band .atn-nl__consent, .atn-newsletter--band .atn-nl__note { color: #E1E6F2; }
.atn-newsletter--band .atn-nl a { color: #fff; }
.atn-nl__note { margin: 0; font-size: 0.8125rem; color: var(--muted); }
.atn-nl__msg { margin: 0; font-weight: 600; font-size: 0.9375rem; }
.atn-nl__msg:empty { display: none; }
.atn-nl__msg.is-error { color: #FFB4BC; }
.atn-newsletter--compact .atn-nl__msg.is-error { color: var(--coral-ink); }
.atn-nl__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Breadcrumbs ---------- */
.atn-crumbs { font-size: 0.8125rem; color: var(--muted); padding-block: 16px 4px; }
.atn-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.atn-crumbs li { display: inline-flex; align-items: center; min-width: 0; }
.atn-crumbs li + li::before { content: "›"; margin-inline: 8px; color: #A0A8B9; }
.atn-crumbs a { color: var(--navy); text-decoration: none; font-weight: 600; }
.atn-crumbs a:hover { text-decoration: underline; }
.atn-crumbs [aria-current] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60vw; }

/* ---------- Article ---------- */
.atn-article-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; padding-bottom: 32px; }
@media (min-width: 1024px) {
	.atn-article-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; }
	.atn-article-layout--wide { grid-template-columns: minmax(0, 860px); justify-content: center; }
	.atn-sidebar { position: sticky; top: 84px; align-self: start; }
}
.atn-article { min-width: 0; max-width: 820px; }
.atn-article > * + * { margin-top: 24px; }
.atn-article-head { display: flex; flex-direction: column; gap: 14px; }
.atn-article-head__title { margin: 4px 0 0; font-size: clamp(1.625rem, 1.1rem + 2vw, 2.625rem); line-height: 1.42; font-weight: 800; letter-spacing: -.005em; color: var(--navy); overflow-wrap: anywhere; }
.atn-article-head__summary { margin: 0; font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.75; color: #3A4258; padding-left: 16px; border-left: 4px solid var(--cat); }
.atn-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding-block: 14px; border-block: 1px solid var(--line); }
.atn-byline__author { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 700; text-decoration: none; }
.atn-byline__author:hover span { text-decoration: underline; }
.atn-byline__avatar { border-radius: 99px; width: 40px; height: 40px; }
.atn-byline__meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 0.875rem; color: var(--muted); }
.atn-byline__meta li { display: inline-flex; align-items: center; gap: 6px; }

.atn-share { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; position: relative; }
.atn-share__label { font-weight: 700; font-size: 0.875rem; color: var(--navy); }
.atn-share ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.atn-share__btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 99px; border: 0; background: #EEF2F8; color: var(--navy); cursor: pointer; transition: background .15s, color .15s; }
.atn-share__btn:hover { color: #fff; }
.atn-share__btn--facebook:hover { background: #1877F2; }
.atn-share__btn--whatsapp:hover { background: #128C4B; }
.atn-share__btn--telegram:hover { background: #1C82B8; }
.atn-share__btn--x:hover { background: #000; }
.atn-share__btn--linkedin:hover { background: #0A66C2; }
.atn-share__btn--copy:hover { background: var(--navy); }
.atn-share__status { font-size: 0.8125rem; color: var(--teal-ink); font-weight: 600; }

.atn-figure { margin: 0; }
.atn-figure__img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; display: block; background: var(--bg); }
.atn-figure figcaption { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 10px; font-size: 0.875rem; line-height: 1.6; color: var(--muted); }
.atn-figure__credit { font-style: italic; }

.atn-content { font-size: clamp(1.0625rem, 1rem + .25vw, 1.1875rem); line-height: 1.95; color: var(--text); }
.atn-content > * { margin-block: 0 1.25em; }
.atn-content h2 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.625rem); margin-top: 1.8em; margin-bottom: .6em; line-height: 1.5; }
.atn-content h3 { font-size: 1.25rem; margin-top: 1.6em; margin-bottom: .5em; }
.atn-content a { color: var(--coral-ink); text-decoration: underline; text-decoration-thickness: 1px; }
.atn-content a:hover { color: var(--navy); }
.atn-content img { border-radius: var(--radius); }
.atn-content figcaption { font-size: 0.875rem; color: var(--muted); }
.atn-content blockquote { margin-inline: 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--cat, var(--coral)); font-weight: 600; color: var(--navy); }
.atn-content ul, .atn-content ol { padding-left: 1.4em; }
.atn-content li + li { margin-top: .4em; }
.atn-content table { width: 100%; border-collapse: collapse; font-size: .95em; display: block; overflow-x: auto; }
.atn-content th, .atn-content td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }
.atn-content pre, .atn-content code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88em; }
.atn-content pre { background: #0F1730; color: #E6EAF5; padding: 16px; border-radius: var(--radius); overflow-x: auto; }
.atn-content .atn-adwrap { margin-block: 32px; }
.atn-content iframe, .atn-content embed { max-width: 100%; }

.atn-infobox { background: #EFFAF8; background: color-mix(in srgb, var(--teal) 9%, #fff); border: 1px solid color-mix(in srgb, var(--teal) 30%, #fff); border-radius: 14px; padding: 20px 22px; }
.atn-infobox__title { font-size: 1.125rem; margin: 0 0 12px; color: var(--teal-ink); }
.atn-infobox dl { margin: 0; display: grid; gap: 10px; }
.atn-infobox dl > div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; }
@media (min-width: 600px) { .atn-infobox dl > div { grid-template-columns: 160px minmax(0, 1fr); gap: 16px; } }
.atn-infobox dt { font-weight: 700; color: var(--navy); font-size: 0.9375rem; }
.atn-infobox dd { margin: 0; font-size: 0.9375rem; line-height: 1.7; }

.atn-article-foot { display: flex; flex-direction: column; gap: 20px; padding-top: 8px; }
.atn-sources { background: var(--bg); border-radius: 12px; padding: 16px 20px; }
.atn-sources h2 { font-size: 1rem; margin: 0 0 8px; }
.atn-sources ul { margin: 0; padding-left: 1.2em; font-size: 0.9375rem; }
.atn-sources a { color: #155E97; overflow-wrap: anywhere; }
.atn-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.atn-tags__label { font-weight: 700; font-size: 0.875rem; color: var(--navy); }
.atn-tags ul, .atn-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.atn-tags a, .atn-chips a { display: inline-block; padding: 6px 14px; border-radius: 99px; background: #fff; border: 1px solid var(--line); color: var(--navy); font-size: 0.875rem; font-weight: 600; text-decoration: none; line-height: 1.5; }
.atn-tags a:hover, .atn-chips a:hover, .atn-chips a[aria-current] { background: var(--navy); border-color: var(--navy); color: #fff; }
.atn-chips li[style] a { border-color: var(--cat); color: var(--cat-ink); }
.atn-chips li[style] a:hover { background: var(--cat-ink); color: #fff; }
.atn-share--foot { padding-top: 16px; border-top: 1px solid var(--line); }
.atn-article-foot__note { margin: 0; font-size: 0.875rem; color: var(--muted); }

.atn-author { display: flex; gap: 18px; align-items: flex-start; padding: 22px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); }
.atn-author__avatar { border-radius: 99px; flex: none; width: 72px; height: 72px; }
.atn-author__eyebrow { margin: 0; font-size: 0.75rem; font-weight: 700; color: var(--coral-ink); letter-spacing: .04em; }
.atn-author__name { margin: 2px 0 6px; font-size: 1.25rem; }
.atn-author__name a { color: var(--navy); text-decoration: none; }
.atn-author__bio { margin: 0 0 8px; font-size: 0.9375rem; color: var(--muted); line-height: 1.7; }
.atn-author__links { display: flex; flex-wrap: wrap; gap: 16px; margin: 0; font-size: 0.875rem; font-weight: 700; }
.atn-author__links a { color: var(--coral-ink); text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }

.atn-postnav { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 600px) { .atn-postnav { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.atn-postnav__link { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--navy); transition: border-color .15s, box-shadow .15s; }
.atn-postnav__link:hover { border-color: var(--navy); box-shadow: var(--shadow); }
.atn-postnav__link--next { text-align: right; align-items: flex-end; }
.atn-postnav__label { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8125rem; font-weight: 700; color: var(--coral-ink); }
.atn-postnav__title { font-weight: 700; line-height: 1.55; }

.atn-related { margin-block: 24px 56px; padding-top: 8px; }

/* Sidebar */
.atn-sidebar { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.atn-sidebar .atn-adwrap { margin: 0; }
.atn-sidebox .atn-section__head { margin-bottom: 14px; }
.atn-sidebox .atn-section__title { font-size: 1.125rem; }

/* Reading progress */
.atn-progress { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 1000; pointer-events: none; }
.atn-progress__bar { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--atn-progress, 0)); background: linear-gradient(90deg, var(--coral), var(--orange)); }
.admin-bar .atn-progress { top: 32px; }
@media (max-width: 782px) { .admin-bar .atn-progress { top: 46px; } }

/* ---------- Archive / search ---------- */
.atn-archive-head { background: var(--bg); background: color-mix(in srgb, var(--cat, var(--navy)) 7%, #fff); border-bottom: 1px solid var(--line); margin-bottom: 32px; position: relative; }
.atn-archive-head::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--cat, var(--navy)); }
.atn-archive-head__inner { display: flex; gap: 20px; align-items: center; padding-block: clamp(24px, 4vw, 40px); }
.atn-archive-head__eyebrow { margin: 0 0 4px; font-size: 0.8125rem; font-weight: 700; color: var(--cat-ink, var(--coral-ink)); }
.atn-archive-head__title { margin: 0; font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); line-height: 1.35; color: var(--navy); overflow-wrap: anywhere; }
.atn-archive-head__desc { color: var(--muted); max-width: 760px; margin-top: 8px; }
.atn-archive-head__desc p { margin: 0; }
.atn-archive-head .atn-chips { margin-top: 16px; }
.atn-archive-head__avatar { border-radius: 99px; flex: none; }
.atn-archive__lead { margin-bottom: 36px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) {
	.atn-archive__lead .atn-card--lead { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; align-items: center; }
}
.atn-results { display: flex; flex-direction: column; gap: 24px; }
.atn-results .atn-card { padding-bottom: 24px; border-bottom: 1px solid var(--line); }
@media (min-width: 600px) { .atn-results .atn-card--list { grid-template-columns: 220px minmax(0, 1fr); gap: 20px; } .atn-results .atn-card--list .atn-card__media { aspect-ratio: 16 / 9; } }
.atn-results .atn-card__title { font-size: 1.1875rem; }
mark { background: #FFE7C2; color: inherit; padding: 0 2px; border-radius: 3px; }

.atn-search-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
@media (min-width: 1024px) { .atn-search-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; } }
.atn-searchform { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; box-shadow: var(--shadow); margin-bottom: 32px; display: grid; gap: 14px; }
.atn-searchform__main { display: flex; gap: 8px; }
.atn-searchform__main input { flex: 1; min-width: 0; }
.atn-searchform__filters { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 600px) { .atn-searchform__filters { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.atn-field { display: flex; flex-direction: column; gap: 4px; }
.atn-field label { font-size: 0.8125rem; font-weight: 700; color: var(--navy); }
@media (max-width: 479px) { .atn-searchform__main .atn-btn span, .atn-search-panel .atn-btn span { display: none; } }

/* 404 */
.atn-404 { text-align: center; max-width: 760px; margin: 40px auto 0; }
.atn-404__code { margin: 0; font: 900 clamp(4rem, 14vw, 8rem)/1 var(--font-latin); background: linear-gradient(135deg, var(--coral), var(--orange), var(--purple)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.atn-404__title { font-size: clamp(1.5rem, 1rem + 2vw, 2.25rem); }
.atn-404 .atn-searchform { text-align: left; margin-top: 24px; }

/* Pages */
.atn-page { max-width: 860px; padding-bottom: 56px; }
.atn-page--full { max-width: var(--container); }
.atn-page__title { margin: 16px 0 24px; font-size: clamp(1.75rem, 1.2rem + 2vw, 2.625rem); }
.atn-page__image img { border-radius: 14px; }

/* ---------- Footer ---------- */
.atn-footer { background: var(--navy); color: #C9D1E6; margin-top: 56px; font-size: 0.9375rem; }
.atn-footer .atn-adwrap--footer { margin: 0; padding-top: 32px; }
.atn-footer__grid { display: grid; gap: 36px; grid-template-columns: minmax(0, 1fr); padding-block: 48px 40px; }
@media (min-width: 600px) { .atn-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .atn-footer__grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; } }
.atn-footer .atn-brand__link, .atn-footer .atn-brand__name { color: #fff; }
.atn-footer .atn-brand__tag { color: #AEB8D2; }
.atn-footer__about { line-height: 1.8; margin: 16px 0 18px; }
.atn-footer__title { color: #fff; font-size: 1.0625rem; margin: 0 0 16px; padding-bottom: 10px; position: relative; }
.atn-footer__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; border-radius: 3px; background: var(--coral); }
.atn-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.atn-footer__links--cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; }
.atn-footer__links a { color: #C9D1E6; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; line-height: 1.5; }
.atn-footer__links--cats a::before { content: ""; width: 7px; height: 7px; border-radius: 99px; background: var(--cat); flex: none; }
.atn-footer__links a:hover { color: #fff; text-decoration: underline; }
.atn-footer__contact { font-style: normal; display: grid; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .1); }
.atn-footer__contact a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; overflow-wrap: anywhere; }
.atn-footer__bottom { background: #0E1838; font-size: 0.8125rem; }
.atn-footer__bottominner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 16px; }
.atn-footer__bottom p { margin: 0; }
.atn-footer__np { color: #AEB8D2; }

.atn-totop { position: fixed; right: 16px; bottom: 16px; z-index: 80; width: 46px; height: 46px; border-radius: 99px; display: grid; place-items: center; background: var(--coral-ink); color: #fff; box-shadow: 0 6px 16px rgba(20, 33, 74, .25); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s; }
.atn-totop.is-visible { opacity: 1; visibility: visible; transform: none; }
.atn-totop:hover { background: var(--navy); color: #fff; }

/* ---------- Phones: compact rows after the first story of each grid ---------- */
@media (max-width: 599px) {
	.atn-grid > .atn-card:not(:first-child), .atn-hero__side .atn-card, .atn-feature__grid .atn-card {
		display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; align-items: start;
	}
	.atn-grid > .atn-card:not(:first-child) .atn-card__media, .atn-hero__side .atn-card__media { aspect-ratio: 4 / 3; border-radius: 8px; }
	.atn-grid > .atn-card:not(:first-child) .atn-card__excerpt, .atn-grid > .atn-card:not(:first-child) .atn-card__more { display: none; }
	.atn-grid > .atn-card:not(:first-child) .atn-card__title, .atn-hero__side .atn-card__title { font-size: 1rem; -webkit-line-clamp: 3; }
	.atn-grid > .atn-card:not(:first-child) .atn-badge--region { display: none; }
	.atn-section--cards .atn-card:not(:first-child) { border-top-width: 0; padding-top: 0; }
	.atn-tiles .atn-card:not(:first-child) { padding: 10px; }
	.atn-grid { gap: 20px; }
	.atn-section__title { font-size: 1.25rem; min-width: 0; }
	.atn-section__all { font-size: 0.8125rem; }
	.atn-mosaic .atn-card--overlay { min-height: 180px; }
}

/* Editor placeholder for empty dynamic blocks */
.atn-editor-empty { padding: 12px; border: 1px dashed #ccc; color: #888; font-size: 12px; text-align: center; }

/* Print */
@media print {
	.atn-utility, .atn-nav, .atn-actions, .atn-ticker, .atn-share, .atn-sidebar, .atn-related, .atn-postnav, .atn-adwrap, .atn-footer, .atn-progress, .atn-totop, .atn-newsletter { display: none !important; }
	.atn-article-layout { display: block; }
	.atn-content a::after { content: " (" attr(href) ")"; font-size: .8em; }
}

/* ---------- Country indicator & source card (news update 1.1) ---------- */
.atn-badge--country { background: #fff; color: var(--navy); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; }
a.atn-badge--country:hover { background: var(--bg); color: var(--navy); }
.atn-card--overlay .atn-badge--country, .atn-card--travel .atn-badge--country { background: rgba(255, 255, 255, .92); }
.atn-sourcecard { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 16px 20px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); border-left: 4px solid var(--cat, var(--coral)); }
.atn-sourcecard p { margin: 0; line-height: 1.5; }
.atn-sourcecard__label { font-size: 0.75rem; font-weight: 700; color: var(--coral-ink); }
.atn-sourcecard__name { font-weight: 800; color: var(--navy); font-family: var(--wp--preset--font-family--body); }
.atn-sourcecard__time { font-size: 0.875rem; color: var(--muted); }
.atn-sourcecard__btn { min-height: 40px; padding: 8px 16px; font-size: 0.875rem; }
.atn-content .atn-source-note { font-size: 0.9375rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; }
@media (max-width: 599px) {
	.atn-grid > .atn-card:not(:first-child) .atn-card__more { display: inline-flex; }
	.atn-grid > .atn-card:not(:first-child) .atn-badge--country { display: inline-flex; }
}
.atn-badge { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.atn-archive-head__eyebrow { color: color-mix(in srgb, var(--cat-ink, #C2303D) 82%, #000); }
.atn-avatar { display: inline-grid; place-items: center; flex: none; border-radius: 999px; color: #fff; font-weight: 800; font-family: var(--wp--preset--font-family--body); line-height: 1; }


/* ---------- Stories without a photo ----------
 * Image rule: only a permitted photo from the story's own source is shown.
 * Without one, cards are clean text panels — no placeholder art. */
.atn-card__when { min-width: 0; }
.atn-card__src { color: inherit; }
.atn-card--noimg:not(.atn-card--overlay):not(.atn-card--travel):not(.atn-card--list) {
	background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--cat); border-radius: var(--radius);
	padding: 16px 18px 14px;
}
.atn-card--noimg:not(.atn-card--overlay):not(.atn-card--travel):not(.atn-card--list):hover { box-shadow: 0 6px 20px rgba(20, 33, 74, .08); }
.atn-card--noimg.atn-card--medium .atn-card__excerpt, .atn-card--noimg.atn-card--small .atn-card__excerpt { -webkit-line-clamp: 4; }
.atn-card--noimg.atn-card--lead {
	background: #F7F8FC; background: color-mix(in srgb, var(--cat) 6%, #fff);
	border-top-width: 6px; border-radius: 14px; padding: clamp(22px, 3.5vw, 40px);
}
.atn-card--noimg.atn-card--lead .atn-card__title { font-size: clamp(1.625rem, 1.1rem + 1.8vw, 2.5rem); line-height: 1.4; }
.atn-card--noimg.atn-card--lead .atn-card__excerpt { -webkit-line-clamp: 6; font-size: 1.125rem; }
.atn-card--noimg.atn-card--lead .atn-card__body { gap: 14px; flex: 1; }
.atn-hero__lead, .atn-hero__lead .atn-card--noimg.atn-card--lead { height: 100%; }
.atn-tiles .atn-card--noimg:not(.atn-card--list) { background: #FFF6EC; background: color-mix(in srgb, var(--cat) 9%, #fff); }
/* overlay & travel: solid category panel */
.atn-card--noimg.atn-card--overlay, .atn-card--noimg.atn-card--travel { min-height: 0; background: var(--cat-ink); background: color-mix(in srgb, var(--cat-ink) 80%, #0A1028); justify-content: flex-start; }
.atn-card--noimg.atn-card--overlay .atn-card__meta, .atn-card--noimg.atn-card--travel .atn-card__meta, .atn-card--noimg.atn-card--overlay .atn-card__excerpt, .atn-card--noimg.atn-card--travel .atn-card__excerpt { color: #fff; }
.atn-mosaic .atn-card--noimg.atn-card--travel, .atn-mosaic .atn-card--noimg.atn-card--overlay { min-height: 0; }
.atn-card--noimg.atn-card--travel .atn-card__body { padding: clamp(20px, 3vw, 32px); gap: 12px; }
.atn-card--noimg.atn-card--travel .atn-card__excerpt { -webkit-line-clamp: 8; }
/* list: accent rule instead of a thumbnail */
.atn-card--noimg.atn-card--list { display: flex; grid-template-columns: none; border-left: 4px solid var(--cat); padding-left: 14px; }
@media (min-width: 600px) { .atn-card--noimg.atn-card--list { grid-template-columns: none; } }
@media (min-width: 900px) { .atn-archive__lead .atn-card--noimg.atn-card--lead { display: flex; } }
@media (max-width: 599px) {
	.atn-grid > .atn-card--noimg:not(:first-child), .atn-hero__side .atn-card--noimg, .atn-feature__grid .atn-card--noimg, .atn-hero__bottom .atn-card--noimg.atn-card--small { display: flex; }
	.atn-card--noimg:not(.atn-card--overlay):not(.atn-card--travel):not(.atn-card--list) { padding: 14px 16px 12px; }
	.atn-section--cards .atn-card--noimg:not(:first-child) { border-top-width: 4px; padding-top: 14px; }
}
.atn-card--noimg.atn-card--overlay .atn-card__more, .atn-card--noimg.atn-card--travel .atn-card__more { color: #fff; }
.atn-mosaic .atn-card--noimg.atn-card--travel { justify-content: center; }

/* File photo (கோப்புப் படம்) label: free-licence photo of the subject, not of the event */
.atn-card__filetag { position: absolute; left: 8px; top: 8px; z-index: 1; padding: 2px 8px; border-radius: 6px; background: rgba(10, 16, 40, .78); color: #fff; font-size: 0.6875rem; font-weight: 600; line-height: 1.5; pointer-events: none; }
.atn-card--overlay .atn-card__filetag, .atn-card--travel .atn-card__filetag { top: 10px; left: auto; right: 10px; }


/* ---------- Ad slots (A–H) + "Advertise with us" placeholders ---------- */
.atn-house { position: relative; display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 100%; height: 100%; padding: 10px 14px; box-sizing: border-box; text-align: center; text-decoration: none; color: var(--navy);
	border: 2px dashed #E1251B; border-radius: 10px; background: repeating-linear-gradient(135deg, #FFF5F4 0 12px, #FFFFFF 12px 24px); }
.atn-house:hover { border-style: solid; }
.atn-house:focus-visible { outline: 3px solid var(--blue-ink); outline-offset: 2px; }
.atn-house__title { font-weight: 800; font-size: 1rem; color: #B42318; line-height: 1.4; }
.atn-house__size { font-size: 0.75rem; color: #5B6378; font-family: var(--font-latin); }
.atn-house__cta { display: inline-block; margin-top: 2px; background: var(--navy); color: #fff; border-radius: 999px; padding: 6px 14px; font-size: 0.8125rem; font-weight: 700; line-height: 1.4; }
.atn-ad--house .atn-ad__box { background: transparent; }
.atn-ad { width: 100%; }
/* A: header leaderboard — needs room next to the logo */
.atn-masthead .atn-adwrap--header { display: none; }
@media (min-width: 1200px) {
	.atn-masthead .atn-adwrap--header { display: block; flex: 0 1 728px; width: 728px; max-width: 728px; margin: 0 16px 0 auto; }
	.atn-masthead__inner:has(.atn-adwrap--header) .atn-brand__logo { max-width: 240px; }
	.atn-masthead__inner:has(.atn-adwrap--header) .atn-brand { flex: 0 0 auto; }
	.atn-ad--header .atn-ad__label { display: none; }
}
.atn-ad--header .atn-ad__box { height: 90px; min-height: 90px; }
.atn-ad--header .atn-house__cta { display: none; }
/* A (mobile): under the header on phones */
.atn-adwrap--mobile_top { display: none; }
@media (max-width: 781px) {
	.atn-adwrap--mobile_top { display: block; margin: 14px auto 4px; padding-inline: 16px; max-width: 352px; }
	.atn-ad--mobile_top .atn-ad__box { height: 100px; }
}
/* B: hero right column */
.atn-adwrap--hero_box { margin: 0; }
.atn-ad--hero_box .atn-ad__box { height: 250px; }
.atn-ad--hero_box .atn-ad__label { display: none; }
@media (max-width: 781px) { .atn-adwrap--hero_box { max-width: 336px; margin: 4px auto 0; width: 100%; } }
/* C2: two half banners after the top stories (desktop) */
.atn-adpair { display: none; }
@media (min-width: 782px) {
	.atn-adpair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 28px; }
	.atn-adpair .atn-adwrap { margin: 0; }
	.atn-adpair .atn-ad__box { height: 110px; }
	.atn-adpair .atn-ad__label { display: none; }
}
/* C3: three boxes between rows of the latest news (desktop) */
.atn-adrow { display: none; }
@media (min-width: 782px) {
	.atn-adrow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
	.atn-adrow .atn-adwrap { margin: 0; }
	.atn-adrow .atn-ad__box { height: 190px; }
	.atn-adrow .atn-ad__label { display: none; }
}
/* C1/C4/C5 between sections, F category, G footer */
.atn-ad--home_between .atn-ad__box, .atn-ad--archive_top .atn-ad__box { height: 90px; max-width: 970px; margin-inline: auto; }
.atn-ad--footer .atn-ad__box { height: 90px; max-width: 728px; margin-inline: auto; }
.atn-adwrap--footer { margin-block: 32px 28px; }
@media (max-width: 781px) {
	.atn-ad--home_between .atn-ad__box, .atn-ad--archive_top .atn-ad__box { height: 250px; max-width: 300px; }
	.atn-ad--footer .atn-ad__box { height: 100px; max-width: 320px; }
}
/* D in article */
.atn-ad--in_article .atn-ad__box { height: 90px; min-height: 90px; max-width: 728px; margin-inline: auto; }
@media (max-width: 781px) { .atn-ad--in_article .atn-ad__box { height: 250px; max-width: 300px; } }
/* E sidebar half-page */
.atn-ad--sidebar .atn-ad__box { height: 600px; max-width: 300px; margin-inline: auto; }
.atn-adwrap--sidebar { margin-top: 0; }
/* H mobile sticky bottom bar */
.atn-stickyad { display: none; }
@media (max-width: 781px) {
	.atn-stickyad { display: block; position: fixed; left: 50%; bottom: 0; transform: translateX(-50%); z-index: 60; width: 336px; max-width: 100%; padding: 6px 8px; background: #fff; box-shadow: 0 -4px 16px rgba(20, 33, 74, .14); border-radius: 12px 12px 0 0; }
	.atn-stickyad .atn-adwrap, .atn-stickyad .atn-ad { margin: 0; }
	.atn-stickyad .atn-ad__label { display: none; }
	.atn-stickyad .atn-ad__box { height: 50px; }
	.atn-stickyad .atn-house { flex-direction: row; gap: 10px; padding: 4px 10px; }
	.atn-stickyad .atn-house__size { display: none; }
	.atn-stickyad .atn-house__title { font-size: 0.875rem; }
	.atn-stickyad .atn-house__cta { font-size: 0.6875rem; padding: 4px 10px; margin: 0; }
	.atn-stickyad__close { position: absolute; top: -12px; right: 6px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: var(--navy); color: #fff; font-size: 16px; line-height: 26px; cursor: pointer; }
	body:has(.atn-stickyad) { padding-bottom: 66px; }
}
/* Placeholder fine-tuning */
.atn-house, .atn-house:hover, .atn-content a.atn-house { text-decoration: none !important; }
.atn-house__cta { white-space: nowrap; font-size: 0.75rem; }
.atn-ad--header .atn-house, .atn-ad--home_between .atn-house, .atn-ad--archive_top .atn-house, .atn-ad--footer .atn-house, .atn-ad--in_article .atn-house { flex-direction: row; flex-wrap: wrap; column-gap: 18px; row-gap: 4px; }
.atn-ad--mobile_top .atn-house { gap: 3px; padding: 6px 10px; }
@media (max-width: 781px) {
	.atn-ad--home_between .atn-house, .atn-ad--archive_top .atn-house, .atn-ad--in_article .atn-house { flex-direction: column; }
	.atn-stickyad .atn-house__cta { display: none; }
	.atn-stickyad .atn-house__title { white-space: nowrap; }
	.atn-stickyad .atn-house::after { content: "→"; font-weight: 800; color: var(--navy); }
}
.atn-house { background: repeating-linear-gradient(135deg, #FFF5F4 0 12px, #FFFFFF 12px 24px) !important; color: var(--navy) !important; }
.atn-house__cta { font-size: 0.6875rem; padding: 5px 12px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; color: #fff !important; }
.atn-house__cta { white-space: normal; text-overflow: clip; line-height: 1.35; }
@media (min-width: 782px) { .atn-ad--header .atn-house__cta, .atn-ad--home_between .atn-house__cta, .atn-ad--archive_top .atn-house__cta, .atn-ad--footer .atn-house__cta, .atn-ad--in_article .atn-house__cta, .atn-adpair .atn-house__cta { white-space: nowrap; } }

/* Footer logo (light version, same size as the header logo) */
.atn-footer__logo { display: block; width: auto; height: auto; max-height: 52px; max-width: 170px; }
@media (min-width: 782px) { .atn-footer__logo { max-height: 88px; max-width: 290px; } }
.atn-brand--footer { margin-bottom: 16px; }

/* ---------- v2.12: photos that keep faces in view + equal cards without a photo ---------- */
.atn-card__img, .atn-figure__img { object-fit: cover; }
.atn-card__media--panel { display: flex; flex-direction: column; justify-content: space-between; padding: 14px 16px; box-sizing: border-box;
	background: var(--cat-ink); background: linear-gradient(135deg, var(--cat) 0%, var(--cat-ink) 100%); color: #fff; }
.atn-card__media--panel::after { content: ""; position: absolute; right: -18%; bottom: -40%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.atn-card__panel-cat { position: relative; z-index: 1; align-self: flex-start; font: 800 clamp(1.05rem, .9rem + .6vw, 1.35rem)/1.35 var(--wp--preset--font-family--tamil); color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.18); }
.atn-card__panel-brand { position: relative; z-index: 1; font: 600 0.75rem/1.2 var(--font-latin); letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.atn-card--list .atn-card__media--panel .atn-card__panel-brand { display: none; }
/* Equal-height cards in every grid row */
.atn-grid > .atn-card, .atn-hero__bottom > .atn-card { height: 100%; }
.atn-grid > .atn-card .atn-card__body, .atn-hero__bottom > .atn-card .atn-card__body { flex: 1 1 auto; }
@media (max-width: 599px) {
	.atn-grid > .atn-card--panel:not(:first-child) .atn-card__media--panel, .atn-hero__side .atn-card--panel .atn-card__media--panel { padding: 8px 10px; }
	.atn-grid > .atn-card--panel:not(:first-child) .atn-card__panel-cat { font-size: .8125rem; }
	.atn-grid > .atn-card--panel:not(:first-child) .atn-card__panel-brand { display: none; }
}

.atn-card--lead .atn-card__media--panel { padding: clamp(18px, 3vw, 32px); border-radius: 14px; }
.atn-card--lead .atn-card__panel-cat { font-size: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.atn-card--lead .atn-card__panel-brand { font-size: .875rem; }
.atn-hero__lead > .atn-card { height: 100%; }
.atn-card__media--panel { container-type: inline-size; }
@container (max-width: 220px) {
	.atn-card__panel-cat { font-size: 0.8125rem !important; line-height: 1.35; overflow-wrap: anywhere; }
	.atn-card__panel-brand { display: none; }
}
@media (max-width: 599px) { .atn-card__media--panel { padding: 8px 10px; } .atn-card--lead .atn-card__media--panel { padding: 18px; } }
.atn-tiles .atn-card__more { color: color-mix(in srgb, var(--cat-ink) 82%, #000); }

/* ---------- v2.14: phones — every story is its own card box (photo on top, light outline + shadow) ---------- */
@media (max-width: 599px) {
	.atn-grid > .atn-card:not(.atn-card--overlay):not(.atn-card--travel):not(.atn-card--list):not(.atn-card--text),
	.atn-hero__lead > .atn-card,
	.atn-hero__side > .atn-card,
	.atn-hero__bottom > .atn-card,
	.atn-feature__grid > .atn-card {
		display: flex !important; flex-direction: column; gap: 0;
		background: #fff; border: 1px solid #E3E7EF; border-radius: 14px; overflow: hidden;
		box-shadow: 0 4px 14px rgba(20, 33, 74, .07); padding: 0 !important; height: auto;
	}
	.atn-grid > .atn-card:not(.atn-card--overlay):not(.atn-card--travel):not(.atn-card--list):not(.atn-card--text) .atn-card__media,
	.atn-hero__lead > .atn-card .atn-card__media,
	.atn-hero__side > .atn-card .atn-card__media,
	.atn-hero__bottom > .atn-card .atn-card__media,
	.atn-feature__grid > .atn-card .atn-card__media {
		aspect-ratio: 16 / 9 !important; width: 100%; border-radius: 0 !important; margin: 0;
	}
	.atn-grid > .atn-card:not(.atn-card--overlay):not(.atn-card--travel):not(.atn-card--list):not(.atn-card--text) .atn-card__body,
	.atn-hero__lead > .atn-card .atn-card__body,
	.atn-hero__side > .atn-card .atn-card__body,
	.atn-hero__bottom > .atn-card .atn-card__body,
	.atn-feature__grid > .atn-card .atn-card__body { padding: 14px 16px 16px; gap: 8px; }
	/* Cards without any photo keep the box but no coloured top rule */
	.atn-grid > .atn-card--noimg, .atn-hero__side > .atn-card--noimg, .atn-hero__lead > .atn-card--noimg { border-top: 1px solid #E3E7EF !important; }
	/* Tidy text inside the boxes */
	.atn-grid > .atn-card .atn-card__title, .atn-hero__side .atn-card__title, .atn-hero__bottom .atn-card__title, .atn-feature__grid .atn-card__title { font-size: 1.0625rem !important; line-height: 1.5; -webkit-line-clamp: 3; }
	.atn-hero__lead .atn-card__title { font-size: 1.375rem !important; }
	.atn-grid > .atn-card:not(:first-child) .atn-card__excerpt, .atn-hero__side .atn-card__excerpt, .atn-hero__bottom .atn-card__excerpt { display: none; }
	.atn-card__badges { gap: 6px; flex-wrap: wrap; }
	.atn-card__badges .atn-badge { font-size: 0.75rem; padding: 3px 10px; }
	.atn-card__meta { margin-top: 2px; }
	.atn-card__filetag { font-size: 0.6875rem; padding: 2px 7px; top: 8px; left: 8px; }
	.atn-section--cards .atn-card:not(:first-child) { border-top-width: 1px; padding-top: 0; }
	.atn-tiles .atn-card { background: #fff !important; }
	.atn-grid, .atn-hero__side, .atn-hero__bottom, .atn-feature__grid { gap: 18px !important; }
	.atn-card:focus-within { outline-offset: 2px; }
}

/* v2.16: banner under the top story fills the left column so both columns end level */
@media (min-width: 1024px) {
	.atn-hero__top { align-items: stretch; }
	.atn-hero__lead { display: flex; flex-direction: column; gap: 24px; height: auto !important; }
	.atn-hero__lead > .atn-card { height: auto !important; flex: 0 0 auto; }
	.atn-adwrap--hero_lead_banner { flex: 1 1 auto; display: flex; margin: 0; min-height: 120px; }
	.atn-adwrap--hero_lead_banner .atn-ad { flex: 1; display: flex; flex-direction: column; }
	.atn-adwrap--hero_lead_banner .atn-ad__label { display: none; }
	.atn-adwrap--hero_lead_banner .atn-ad__box { flex: 1; height: auto; min-height: 120px; }
	.atn-adwrap--hero_lead_banner .atn-ad__box img { width: 100%; height: 100%; object-fit: cover; }
}
@media (max-width: 1023px) { .atn-adwrap--hero_lead_banner { display: none; } }

/* v2.21 social media icons (header + footer) */
.atn-social--head { gap: 6px; margin-right: 4px; }
.atn-social--head a { width: 34px; height: 34px; background: #F1F3F8; color: #14214A; border: 1px solid #E3E6EF; transition: background .15s, color .15s, transform .15s; }
.atn-social--head .atn-icon { width: 16px; height: 16px; }
.atn-social--head a:hover, .atn-social--head a:focus-visible { color: #fff; transform: translateY(-1px); }
.atn-social__item--facebook a:hover, .atn-social__item--facebook a:focus-visible { background: #1877F2; }
.atn-social__item--instagram a:hover, .atn-social__item--instagram a:focus-visible { background: #C13584; }
.atn-social__item--x a:hover, .atn-social__item--x a:focus-visible { background: #000; }
.atn-social__item--youtube a:hover, .atn-social__item--youtube a:focus-visible { background: #E00000; }
.atn-social__item--tiktok a:hover, .atn-social__item--tiktok a:focus-visible { background: #111; }
.atn-social__item--whatsapp a:hover, .atn-social__item--whatsapp a:focus-visible { background: #138A43; }
.atn-social__item--telegram a:hover, .atn-social__item--telegram a:focus-visible { background: #1B7DB0; }
.atn-social__item--linkedin a:hover, .atn-social__item--linkedin a:focus-visible { background: #0A66C2; }
.atn-masthead .atn-actions { gap: 8px; }
@media (max-width: 479px) {
	.atn-social--head { gap: 4px; margin-right: 0; }
	.atn-social--head a { width: 30px; height: 30px; }
	.atn-social--head .atn-icon { width: 14px; height: 14px; }
	.atn-social--head li:nth-child(n+4) { display: none; }
}
.atn-footer__follow { margin-top: 18px; }
.atn-footer__follow-title { margin: 0 0 10px; font-weight: 700; font-size: .95rem; color: #fff; }
.atn-social--foot { gap: 10px; flex-wrap: wrap; }
.atn-social--foot a { width: 40px; height: 40px; color: #fff; }
.atn-social--foot .atn-icon { width: 18px; height: 18px; }
.atn-social--foot .atn-social__item--facebook a { background: #1877F2; }
.atn-social--foot .atn-social__item--instagram a { background: linear-gradient(45deg, #F09433, #DC2743 50%, #BC1888); }
.atn-social--foot .atn-social__item--x a { background: #000; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.atn-social--foot .atn-social__item--youtube a { background: #E00000; }
.atn-social--foot .atn-social__item--tiktok a { background: #111; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.atn-social--foot .atn-social__item--whatsapp a { background: #138A43; }
.atn-social--foot .atn-social__item--telegram a { background: #1B7DB0; }
.atn-social--foot .atn-social__item--linkedin a { background: #0A66C2; }
.atn-social--foot a:hover, .atn-social--foot a:focus-visible { transform: translateY(-2px); filter: brightness(1.1); }

/* v2.21.3 keep header items on one centre line (block-gap margin removed) */
.atn-masthead__inner > * { margin-block: 0 !important; }

/* v2.22 team byline with logo */
.atn-author { align-items: center; }
.atn-author__logo { flex: none; display: grid; place-items: center; width: 200px; padding: 10px 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.atn-author__logo img { display: block; width: 100%; height: auto; }
.atn-avatar--team { border-radius: 50%; background: #fff; object-fit: contain; border: 1px solid var(--line); padding: 3px; box-sizing: border-box; }
@media (max-width: 560px) {
	.atn-author { flex-direction: column; align-items: flex-start; }
	.atn-author__logo { width: 170px; }
}

/* ==========================================================================
   v2.26 — phones
   1) Every desktop ad position is also shown on phones (300×250 boxes).
   2) body.atn-m2 (Homepage → Mobile news layout = Double): the top story is
      single, every story after it is two per row.
   ========================================================================== */

/* ---- 1) Ads: desktop positions on phones / tablets ---- */
@media (max-width: 1023px) {
	.atn-adwrap--hero_lead_banner { display: block; margin: 18px 0 0; }
	.atn-ad--hero_lead_banner .atn-ad__box { height: 160px; }
}
@media (max-width: 781px) {
	/* The first two homepage places each hold two separate slim 300×90 boxes, one under the other */
	.atn-ad--hero_lead_banner .atn-ad__box, .atn-ad--hero_lead_m2 .atn-ad__box,
	.atn-ad--hero_box .atn-ad__box, .atn-ad--hero_box_m2 .atn-ad__box { height: 90px; min-height: 90px; width: 100%; max-width: 300px; margin-inline: auto; }
	.atn-adwrap--m2nd { display: block; width: 100%; margin: 10px 0 0 !important; }
	.atn-hero__side > .atn-adwrap--m2nd { grid-column: 1 / -1; margin-top: -2px !important; }
	.atn-adwrap--m2nd .atn-ad__label { display: none; }
	.atn-ad--hero_lead_banner .atn-house, .atn-ad--hero_lead_m2 .atn-house, .atn-ad--hero_box .atn-house, .atn-ad--hero_box_m2 .atn-house { flex-direction: column; gap: 4px; padding: 6px 10px; }
	.atn-ad--hero_lead_banner .atn-house__cta, .atn-ad--hero_lead_m2 .atn-house__cta, .atn-ad--hero_box .atn-house__cta, .atn-ad--hero_box_m2 .atn-house__cta { display: none; }
	/* Every other box on phones is a slim 320×100 banner */
	.atn-adpair .atn-ad__box,
	.atn-adrow .atn-ad__box,
	.atn-ad--sidebar .atn-ad__box,
	.atn-ad--home_between .atn-ad__box,
	.atn-ad--archive_top .atn-ad__box,
	.atn-ad--in_article .atn-ad__box,
	.atn-ad--mobile .atn-ad__box { height: 100px; min-height: 100px; width: 100%; max-width: 320px; margin-inline: auto; }
	.atn-adpair .atn-house, .atn-adrow .atn-house, .atn-ad--sidebar .atn-house, .atn-ad--home_between .atn-house, .atn-ad--archive_top .atn-house, .atn-ad--in_article .atn-house { gap: 3px; padding: 6px 10px; }
	.atn-adwrap { margin-block: 20px; }
	.atn-adwrap--hero_lead_banner, .atn-adwrap--hero_box { max-width: none; width: 100%; margin: 18px 0 0; }
	.atn-adpair, .atn-adrow { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.atn-adpair { margin-top: 22px; }
	.atn-adpair .atn-adwrap, .atn-adrow .atn-adwrap { margin: 0; }
	.atn-adwrap--sidebar { display: block; }
	.atn-hero__side > .atn-adwrap--hero_box, .atn-grid > .atn-adrow { grid-column: 1 / -1; }
	.atn-ad--hero_lead_banner .atn-ad__label, .atn-ad--hero_box .atn-ad__label, .atn-adpair .atn-ad__label, .atn-adrow .atn-ad__label { display: block; }
	.atn-ad--hero_lead_banner .atn-house, .atn-adpair .atn-house, .atn-adrow .atn-house, .atn-ad--hero_box .atn-house, .atn-ad--sidebar .atn-house { flex-direction: column; }
	/* A real banner keeps its own shape (no empty space around a smaller image) */
	.atn-ad:not(.atn-ad--house) .atn-ad__box:has(img) { height: auto; min-height: 0; background: transparent; }
	.atn-ad:not(.atn-ad--house) .atn-ad__box img { margin-inline: auto; }
	.atn-ad--mobile_top:not(.atn-ad--house) .atn-ad__box:has(img), .atn-stickyad .atn-ad:not(.atn-ad--house) .atn-ad__box:has(img) { height: auto; }
}

/* ---- 2) Two stories per row ---- */
@media (max-width: 599px) {
	/* containers → one shared two-column grid */
	body.atn-m2 .atn-grid,
	body.atn-m2 .atn-hero__side,
	body.atn-m2 .atn-hero__bottom,
	body.atn-m2 .atn-split--lead,
	body.atn-m2 .atn-split--list,
	body.atn-m2 .atn-split--mag,
	body.atn-m2 .atn-feature,
	body.atn-m2 .atn-mosaic,
	body.atn-m2 .atn-trio__col {
		display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; align-items: stretch;
	}
	body.atn-m2 .atn-split__main,
	body.atn-m2 .atn-split__side,
	body.atn-m2 .atn-feature__main,
	body.atn-m2 .atn-feature__grid,
	body.atn-m2 .atn-numbered { display: contents !important; }
	body.atn-m2 .atn-trio__col > .atn-section__head,
	body.atn-m2 .atn-grid > .atn-grid__full,
	body.atn-m2 .atn-grid > :not(.atn-card):not(li) { grid-column: 1 / -1; }
	body.atn-m2 .atn-hero__bottom { margin-top: 12px; padding-top: 0; border-top: 0; }
	body.atn-m2 .atn-hero__top { gap: 12px; }

	/* every story = the same small box: photo on top, headline, date */
	body.atn-m2 :is(.atn-grid, .atn-hero__side, .atn-hero__bottom, .atn-split__main, .atn-split__side, .atn-feature__main, .atn-feature__grid, .atn-numbered > li, .atn-trio__col) > .atn-card:not(.atn-card--overlay):not(.atn-card--travel) {
		display: flex !important; flex-direction: column; align-items: stretch !important; gap: 0; min-width: 0; height: 100%; margin: 0;
		background: #fff !important; border: 1px solid #E3E7EF !important; border-radius: 12px; overflow: hidden;
		box-shadow: 0 3px 10px rgba(20, 33, 74, .06); padding: 0 !important;
	}
	body.atn-m2 :is(.atn-grid, .atn-hero__side, .atn-hero__bottom, .atn-split__main, .atn-split__side, .atn-feature__main, .atn-feature__grid, .atn-numbered > li, .atn-trio__col) > .atn-card:not(.atn-card--overlay):not(.atn-card--travel) > .atn-card__media {
		aspect-ratio: 16 / 10 !important; width: 100%; border-radius: 0 !important; margin: 0; flex: none;
	}
	body.atn-m2 .atn-card__media--panel { padding: 8px 10px !important; }
	body.atn-m2 .atn-hero__lead .atn-card__media--panel { padding: 18px !important; }
	body.atn-m2 :is(.atn-grid, .atn-hero__side, .atn-hero__bottom, .atn-split__main, .atn-split__side, .atn-feature__main, .atn-feature__grid, .atn-numbered > li, .atn-trio__col) > .atn-card > .atn-card__body {
		padding: 10px 10px 12px !important; gap: 6px; flex: 1 1 auto; min-width: 0; max-width: 100%; overflow: hidden;
	}
	body.atn-m2 :is(.atn-grid, .atn-hero__side, .atn-hero__bottom, .atn-split__main, .atn-split__side, .atn-feature__main, .atn-feature__grid, .atn-numbered > li, .atn-trio__col, .atn-mosaic) > .atn-card .atn-card__title {
		font-size: .875rem !important; line-height: 1.5 !important; font-weight: 700;
		display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; padding-bottom: .1em;
		overflow-wrap: anywhere; min-width: 0;
	}
	body.atn-m2 :is(.atn-grid, .atn-hero__side, .atn-hero__bottom, .atn-split__main, .atn-split__side, .atn-feature__main, .atn-feature__grid, .atn-numbered > li, .atn-trio__col, .atn-mosaic) > .atn-card :is(.atn-card__excerpt, .atn-card__more, .atn-card__src, .atn-card__dest, .atn-badge--country, .atn-badge--region, .atn-card__panel-brand) { display: none !important; }
	body.atn-m2 :is(.atn-grid, .atn-hero__side, .atn-hero__bottom, .atn-split__main, .atn-split__side, .atn-feature__main, .atn-feature__grid, .atn-numbered > li, .atn-trio__col, .atn-mosaic) > .atn-card .atn-card__badges .atn-badge { font-size: .6875rem; padding: 2px 8px; }
	body.atn-m2 :is(.atn-grid, .atn-hero__side, .atn-hero__bottom, .atn-split__main, .atn-split__side, .atn-feature__main, .atn-feature__grid, .atn-numbered > li, .atn-trio__col, .atn-mosaic) > .atn-card .atn-card__meta { margin-top: auto; padding-top: 2px; font-size: .6875rem; }
	body.atn-m2 :is(.atn-grid, .atn-hero__side, .atn-hero__bottom, .atn-split__main, .atn-split__side, .atn-feature__main, .atn-feature__grid, .atn-numbered > li, .atn-trio__col) > .atn-card .atn-card__panel-cat { font-size: .8125rem !important; line-height: 1.35; }
	body.atn-m2 .atn-card__filetag { font-size: .625rem; padding: 2px 6px; top: 6px; left: 6px; }

	/* photo-background tiles (travel / magazine) */
	body.atn-m2 .atn-mosaic > .atn-card, body.atn-m2 .atn-split--mag .atn-card--overlay { min-height: 190px !important; height: 100%; border-radius: 12px; grid-column: auto !important; grid-row: auto !important; }
	body.atn-m2 .atn-mosaic > .atn-card .atn-card__body, body.atn-m2 .atn-split--mag .atn-card--overlay .atn-card__body { padding: 10px !important; gap: 6px; }
	body.atn-m2 .atn-split--mag .atn-card--overlay .atn-card__title { font-size: .875rem !important; line-height: 1.5; -webkit-line-clamp: 4; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
	body.atn-m2 .atn-split--mag .atn-card--overlay :is(.atn-card__excerpt, .atn-card__more, .atn-card__src, .atn-badge--country) { display: none !important; }

	/* numbered list (sports): number becomes a small badge on the box */
	body.atn-m2 .atn-numbered > li { display: block; position: relative; padding: 0; border: 0; min-width: 0; }
	body.atn-m2 .atn-numbered > li::before { position: absolute; z-index: 2; top: 6px; right: 6px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--navy); font: 800 .8125rem/1 var(--font-latin); opacity: 1; box-shadow: 0 1px 4px rgba(20, 33, 74, .25); }

	/* text-only stories (category columns) */
	body.atn-m2 .atn-trio { gap: 28px; }
	body.atn-m2 .atn-trio__col > .atn-card--text { border-top: 3px solid var(--cat, var(--coral)) !important; }
	body.atn-m2 .atn-trio__col > .atn-card.atn-card--medium:not(.atn-card--overlay):not(.atn-card--travel) { margin-bottom: 0; }

	/* feature section (AI): keep the tinted frame, boxes inside */
	body.atn-m2 .atn-feature__main .atn-card { border-radius: 12px; }

	/* an odd story left at the end of a section fills the row: photo left, text right */
	body.atn-m2 :is(.atn-grid, .atn-hero__bottom, .atn-trio__col) > .atn-card:last-child:nth-child(odd of .atn-card),
	body.atn-m2 :is(.atn-split--lead, .atn-feature) :is(.atn-split__side, .atn-feature__grid) > .atn-card:last-child:nth-child(even),
	body.atn-m2 .atn-split--mag .atn-stack > .atn-card:last-child:nth-child(even) {
		grid-column: 1 / -1; display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 12px;
	}
	body.atn-m2 .atn-numbered > li:last-child:nth-child(even) { grid-column: 1 / -1; }
	body.atn-m2 .atn-numbered > li:last-child:nth-child(even) > .atn-card:not(.atn-card--overlay):not(.atn-card--travel) { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 12px; }
	body.atn-m2 .atn-numbered > li:last-child:nth-child(even)::before { right: auto; left: 6px; }
	body.atn-m2 .atn-mosaic > .atn-card:last-child:nth-child(odd) { grid-column: 1 / -1 !important; min-height: 150px !important; }
	/* category columns: photo story across the row, text stories two per row */
	body.atn-m2 .atn-trio__col > .atn-card.atn-card--medium:not(.atn-card--overlay):not(.atn-card--travel) { grid-column: 1 / -1; display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 12px; }
	body.atn-m2 .atn-trio__col > .atn-card--text { grid-column: auto; display: flex !important; }
	body.atn-m2 .atn-trio__col > .atn-card--text:last-child:nth-child(even of .atn-card) { grid-column: 1 / -1; }
	/* a section that has only one story */
	body.atn-m2 :is(.atn-split__main, .atn-feature__main):only-child > .atn-card:not(.atn-card--overlay):not(.atn-card--travel) { grid-column: 1 / -1; display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 12px; }
	body.atn-m2 .atn-split__main:only-child > .atn-card--overlay { grid-column: 1 / -1 !important; }
	/* row layout: photo fills its half; a story without photo uses the whole row */
	body.atn-m2 :is(.atn-grid, .atn-hero__bottom, .atn-trio__col) > .atn-card:last-child:nth-child(odd of .atn-card) > .atn-card__media,
	body.atn-m2 :is(.atn-split--lead, .atn-feature) :is(.atn-split__side, .atn-feature__grid) > .atn-card:last-child:nth-child(even) > .atn-card__media,
	body.atn-m2 .atn-split--mag .atn-stack > .atn-card:last-child:nth-child(even) > .atn-card__media,
	body.atn-m2 .atn-numbered > li:last-child:nth-child(even) > .atn-card > .atn-card__media,
	body.atn-m2 .atn-trio__col > .atn-card.atn-card--medium:not(.atn-card--overlay):not(.atn-card--travel) > .atn-card__media,
	body.atn-m2 :is(.atn-split__main, .atn-feature__main):only-child > .atn-card:not(.atn-card--overlay):not(.atn-card--travel) > .atn-card__media { aspect-ratio: auto !important; height: 100%; min-height: 104px; }
	body.atn-m2 .atn-card--noimg > .atn-card__body { grid-column: 1 / -1; }
	/* section heading and "see all" never collide */
	.atn-section__head { flex-wrap: wrap; column-gap: 12px; row-gap: 0; }
}

/* Phones: the three latest-news boxes (C3a–c) are spread between the stories instead of stacked */
@media (max-width: 781px) {
	#atn-latest-grid > .atn-adrow { display: contents; }
	#atn-latest-grid > .atn-adrow > .atn-adwrap { grid-column: 1 / -1; margin: 6px 0; }
	#atn-latest-grid > .atn-card { order: 7; }
	#atn-latest-grid > .atn-card:nth-child(-n+2 of .atn-card) { order: 1; }
	#atn-latest-grid > .atn-card:nth-child(n+3 of .atn-card):nth-child(-n+4 of .atn-card) { order: 3; }
	#atn-latest-grid > .atn-card:nth-child(n+5 of .atn-card):nth-child(-n+6 of .atn-card) { order: 5; }
	#atn-latest-grid .atn-adwrap--home_row_1 { order: 2; }
	#atn-latest-grid .atn-adwrap--home_row_2 { order: 4; }
	#atn-latest-grid .atn-adwrap--home_row_3 { order: 6; }
}

/* v2.26: "read this too" — two related stories inside the article */
.atn-inline-related { margin-block: 28px; padding: 16px; border: 1px solid var(--line); border-left: 4px solid var(--cat, var(--coral)); border-radius: 12px; background: #FAFBFD; clear: both; }
.atn-inline-related__title { margin: 0 0 12px !important; font-size: 1.0625rem !important; line-height: 1.4; font-weight: 800; color: var(--navy); }
.atn-inline-related .atn-grid { gap: 16px; }
.atn-inline-related .atn-card__title { margin: 0 !important; font-size: 1rem !important; line-height: 1.5 !important; }
.atn-inline-related a { text-decoration: none !important; }
.atn-inline-related .atn-card__title a { color: inherit; }
.atn-inline-related .atn-card__meta, .atn-inline-related p { margin: 0; }
@media (max-width: 599px) { .atn-inline-related { padding: 12px; margin-block: 22px; } }
@media print { .atn-inline-related { display: none !important; } }

.atn-adwrap--m2nd { display: none; }
@media (max-width: 781px) { .atn-adwrap--m2nd { display: block; } }
