:root {
    /* Accent — ATA gold (kept on-brand, slightly richer) */
    --ata-gold: #e3a008;
    --ata-gold-strong: #b67d04;
    --ata-gold-bright: #f4bd2e;
    --ata-gold-soft: #fbf3dc;
    /* Brand darks — premium emerald → teal */
    --ata-ink: #122019;
    --ata-deep: #14463a;
    --ata-deep-2: #123f4f;
    /* Cool, crisp neutrals (modernized from the old warm cream) */
    --ata-text: #1c2630;
    --ata-muted: #5a6573;
    --ata-soft: #f2f6f6;
    --ata-soft-2: #f8fbfb;
    --ata-border: #e3e9ea;
    --ata-white: #ffffff;
    --ata-forest: #1f5145;
    --ata-blue: #1f4d63;
    /* Softer, cooler shadows + shared radii */
    --ata-shadow: 0 12px 30px rgba(16, 40, 35, 0.08);
    --ata-shadow-strong: 0 24px 50px rgba(16, 40, 35, 0.16);
    --ata-radius: 14px;
    --ata-radius-lg: 20px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 104px;
}

body {
    margin: 0;
    color: var(--ata-text);
    background: var(--ata-white);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 19px;
    line-height: 1.7;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
}

.ata-container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.ata-skip-link {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 500;
    transform: translateY(-140%);
    padding: 10px 14px;
    border-radius: 8px;
    background: #222;
    color: #fff;
}

.ata-skip-link:focus {
    transform: translateY(0);
}

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

.ata-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--ata-border);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 8px 22px rgba(42, 36, 24, 0.06);
}

.ata-header__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 18px;
    padding: 16px 0;
}

.ata-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-right: auto; /* push the nav + actions to the right */
    color: var(--ata-text);
    font-size: 16px; /* smaller than body text so the bar doesn't feel heavy */
    line-height: 1.15;
    font-weight: 800;
    text-decoration: none;
}

.ata-header__actions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.ata-header-search {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--ata-border);
    border-radius: 50%;
    background: #fff;
    color: var(--ata-text);
    text-decoration: none;
    flex: none;
    transition: border-color 150ms ease, color 150ms ease;
}

.ata-header-search:hover,
.ata-header-search:focus-visible {
    border-color: var(--ata-gold);
    color: var(--ata-gold);
}

.ata-brand__logo {
    display: block;
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.ata-nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid var(--ata-border);
    border-radius: 8px;
    background: #fff;
    color: var(--ata-text);
    cursor: pointer;
}

.ata-nav-toggle:hover,
.ata-nav-toggle:focus-visible {
    border-color: var(--ata-gold);
    outline: 2px solid var(--ata-gold-soft);
    outline-offset: 2px;
}

.ata-nav-toggle__icon {
    display: grid;
    width: 22px;
    gap: 5px;
}

.ata-nav-toggle__icon span {
    display: block;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.ata-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.ata-nav li {
    position: relative;
}

.ata-nav a {
    display: block;
    padding: 8px 2px;
    border-bottom: 2px solid transparent;
    color: #383838;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-decoration: none;
}

.ata-nav a:hover,
.ata-nav a:focus-visible {
    border-color: var(--ata-gold);
}

.ata-nav li ul {
    position: absolute;
    right: 0;
    top: 100%;
    z-index: 30;
    display: grid;
    width: min(320px, 88vw);
    gap: 2px;
    padding: 10px;
    border: 1px solid var(--ata-border);
    border-radius: 10px;
    background: #fff;
    box-shadow: var(--ata-shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
}

.ata-nav li ul::before {
    position: absolute;
    right: 0;
    bottom: 100%;
    left: 0;
    height: 10px;
    content: "";
}

.ata-nav li:hover > ul,
.ata-nav li:focus-within > ul,
.ata-nav li.is-open > ul {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.ata-nav li ul a {
    padding: 10px 12px;
    border-radius: 7px;
    border-bottom: 0;
}

.ata-nav li ul a:hover,
.ata-nav li ul a:focus-visible {
    background: var(--ata-gold-soft);
}

.ata-hero,
.ata-page-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(120% 140% at 88% -10%, rgba(244, 189, 46, 0.18), transparent 55%),
        linear-gradient(140deg, var(--ata-ink), var(--ata-deep) 55%, var(--ata-deep-2));
}

/* Subtle ATA logo watermark woven into every page hero (behind the text). */
.ata-page-hero::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -56px;
    transform: translateY(-50%);
    width: 340px;
    height: 340px;
    background: url('../img/ata-logo-watermark.png') no-repeat center / contain;
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
}

.ata-page-hero > * {
    position: relative;
    z-index: 1;
}

@media (max-width: 720px) {
    .ata-page-hero::after {
        width: 220px;
        height: 220px;
        right: -70px;
        opacity: 0.10;
    }
}

.ata-hero__inner {
    display: grid;
    align-content: center;
    min-height: 540px;
    padding: 88px 0;
}

.ata-hero__inner--split {
    grid-template-columns: minmax(0, 1fr) 370px;
    align-items: center;
    gap: 48px;
}

.ata-hero p {
    max-width: 720px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 23px;
}

.ata-hero-panel {
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.11);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(8px);
}

.ata-hero-panel h2 {
    color: #fff;
    font-size: 31px;
}

.ata-hero-panel p {
    color: rgba(255, 255, 255, 0.86);
    font-size: 18px;
}

.ata-link-on-dark {
    display: inline-flex;
    margin-top: 6px;
    color: var(--ata-gold);
    font-weight: 900;
    text-underline-offset: 4px;
}

.ata-network-strip {
    border-bottom: 1px solid var(--ata-gold-strong);
    background: linear-gradient(100deg, var(--ata-gold-bright), var(--ata-gold));
    color: #3a2e08;
}

.ata-network-strip__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    padding: 22px 0;
}

.ata-network-strip p {
    margin: 0;
}

.ata-network-strip p strong,
.ata-network-strip p span {
    display: block;
}

.ata-network-strip p strong {
    color: #2e2407;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ata-network-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ata-network-stats span {
    display: grid;
    min-width: 150px;
    padding: 14px 18px;
    border: 1px solid rgba(58, 46, 8, 0.18);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.55);
    color: #3a2e08;
    font-size: 14px;
    font-weight: 800;
}

.ata-network-stats strong {
    color: #231a07;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
    line-height: 1;
}

.ata-quick-strip {
    border-bottom: 1px solid var(--ata-border);
    background: var(--ata-soft-2);
}

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

.ata-quick-strip a {
    padding: 18px 16px;
    color: var(--ata-deep);
    font-weight: 850;
    text-align: center;
    text-decoration: none;
}

.ata-quick-strip a:hover,
.ata-quick-strip a:focus-visible {
    background: var(--ata-gold-soft);
}

.ata-page-hero {
    padding: 76px 0;
}

.ata-page-hero__inner,
.ata-two-column {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.75fr);
    gap: 42px;
    align-items: center;
}

/* Consistent, legible eyebrow on every page hero (previously a mix of
   gold on listing/detail pages and gold-bright on content pages). */
.ata-page-hero .ata-eyebrow {
    color: var(--ata-gold-bright);
}

/* Single-column hero for standard content pages (no side panel) */
.ata-page-hero__solo {
    max-width: 880px;
}

.ata-page-hero__solo p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 20px;
    margin-bottom: 0;
}

.ata-eyebrow {
    margin: 0 0 10px;
    color: var(--ata-gold);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    margin-top: 0;
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.14;
    letter-spacing: -0.015em;
}

h1 {
    max-width: 860px;
    font-size: clamp(40px, 6vw, 66px);
}

h2 {
    font-size: clamp(30px, 3.6vw, 44px);
}

h3 {
    font-size: 24px;
}

.ata-lead {
    max-width: 760px;
    color: var(--ata-muted);
    font-size: 21px;
}

.ata-section {
    padding: 72px 0;
}

.ata-section--soft {
    background: var(--ata-soft);
}

.ata-section-heading {
    max-width: 760px;
    margin-bottom: 30px;
}

.ata-center {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.ata-subheading {
    margin-top: 52px;
    margin-bottom: 18px;
}

.ata-subheading h3 {
    margin: 0;
    font-size: 24px;
}

/* "On this page" jump menu (What is ATA) */
.ata-page-toc {
    border-bottom: 1px solid var(--ata-border);
    background: var(--ata-soft);
    padding: 22px 0;
}

.ata-page-toc__label {
    margin: 0 0 10px;
    color: var(--ata-muted);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ata-page-toc ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ata-page-toc a {
    display: inline-flex;
    padding: 8px 14px;
    border: 1px solid var(--ata-border);
    border-radius: 999px;
    background: #fff;
    color: var(--ata-deep);
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
    transition: border-color 160ms ease, background 160ms ease;
}

.ata-page-toc a:hover,
.ata-page-toc a:focus-visible {
    border-color: var(--ata-gold);
    background: var(--ata-gold-soft);
}

/* Inline link list (e.g. Board and Leadership) */
.ata-inline-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.ata-inline-links a {
    display: inline-flex;
    padding: 10px 16px;
    border: 1px solid var(--ata-border);
    border-radius: 8px;
    background: #fff;
    color: var(--ata-deep);
    font-weight: 800;
    text-decoration: none;
    transition: border-color 160ms ease, background 160ms ease;
}

.ata-inline-links a:hover,
.ata-inline-links a:focus-visible {
    border-color: var(--ata-gold);
    background: var(--ata-gold-soft);
}

/* Small separate-branch note (e.g. ATA India Office) */
.ata-branch-note {
    max-width: 540px;
    padding: 18px 20px;
    border: 1px solid var(--ata-border);
    border-radius: 12px;
    background: var(--ata-soft);
    font-size: 16px;
    line-height: 1.55;
    color: var(--ata-muted);
}

.ata-branch-note__label {
    margin: 0 0 8px;
    color: var(--ata-text);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.ata-branch-note p {
    margin: 0 0 10px;
}

.ata-branch-note p:last-child {
    margin-bottom: 0;
}

.ata-branch-note strong {
    color: var(--ata-text);
}

.ata-branch-note a {
    color: var(--ata-deep);
    font-weight: 700;
}

/* Fee table (Application for Associate Membership) */
.ata-table-wrap {
    overflow-x: auto;
    margin: 16px 0;
}

.ata-fee-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
}

.ata-fee-table th,
.ata-fee-table td {
    padding: 10px 14px;
    border: 1px solid var(--ata-border);
    text-align: left;
}

.ata-fee-table thead th {
    background: var(--ata-soft);
    font-weight: 900;
}

.ata-fee-table td:not(:first-child),
.ata-fee-table thead th:not(:first-child) {
    text-align: center;
    white-space: nowrap;
}

.ata-fee-section {
    background: var(--ata-gold-soft);
    color: var(--ata-deep);
    font-weight: 900;
}

.ata-fee-note {
    font-size: 15px;
    color: var(--ata-muted);
}

.ata-steps {
    padding-left: 22px;
}

.ata-steps li {
    margin-bottom: 10px;
}

.ata-actions,
.ata-section-action {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 24px;
}

.ata-section-action,
.ata-actions--center {
    justify-content: center;
}

.ata-button,
.ata-danger-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 14px 26px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--ata-gold-bright), var(--ata-gold));
    color: #2a1d00;
    font: inherit;
    font-weight: 850;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(227, 160, 8, 0.26);
    transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.ata-button:hover,
.ata-button:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(227, 160, 8, 0.34);
    filter: saturate(1.05);
}

.ata-button--ghost {
    border: 2px solid rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.ata-button--light {
    border: 1px solid var(--ata-border);
    background: #fff;
    color: var(--ata-deep);
}

.ata-button--dark {
    background: var(--ata-ink);
    color: #fff;
}

.ata-button--full {
    width: 100%;
}

.ata-danger-button {
    background: #8d1f1f;
    color: #fff;
}

.ata-card-grid {
    display: grid;
    gap: 22px;
}

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

.ata-card-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ata-card-grid--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* A lone card in a 2/3/4-column grid spans the row and centers instead of
   hugging the left column and leaving a big empty gap beside it (e.g. a
   single News Highlight or a single News Article on the ATA News page). */
.ata-card-grid--two > :only-child,
.ata-card-grid--three > :only-child,
.ata-card-grid--four > :only-child {
    grid-column: 1 / -1;
    max-width: 520px;
    margin-inline: auto;
}

/* Flexible highlight/feature grid (highlights, featured items, article lists
   that vary in count). One card grows to a comfortable, centered width (about
   half the row); several cards share the row and auto-balance to equal width
   and height; any that wrap to a new row stay centered. Keeps the 22px gap
   from .ata-card-grid. */
.ata-card-grid--flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
}

.ata-card-grid--flex > * {
    flex: 1 1 300px;
    max-width: 520px;
}

.ata-content-blocks {
    display: grid;
    gap: 22px;
}

/* ------------------------------------------------------------------ *
 * Shared card surface — ONE source of truth for the "card" look.
 * Every card-like component (content blocks, cards, directory cards,
 * contact cards, feature cards, search results) gets the same white
 * background, border, rounded corners, and shadow from here, using the
 * design tokens. Each component below then only adds what's unique to it
 * (padding, layout, hover, accents). Change the card look in one place.
 * ------------------------------------------------------------------ */
.ata-content-block,
.ata-card,
.ata-admin-card,
.ata-directory-card,
.ata-contact-card,
.ata-feature-card,
.ata-search-result__link {
    background: var(--ata-white);
    border: 1px solid var(--ata-border);
    border-radius: var(--ata-radius);
    box-shadow: var(--ata-shadow);
}

.ata-content-block {
    padding: 30px;
}

.ata-content-block--callout {
    border-left: 6px solid var(--ata-gold);
    background: var(--ata-gold-soft);
}

.ata-content-block--download {
    border-style: dashed;
}

.ata-custom-html {
    overflow-wrap: break-word;
}

/* --- Structured public content cards (AGST, Publications) --- */

/* Tidy bulleted lists inside content cards */
.ata-content-block ul {
    margin: 8px 0 0;
    padding-left: 20px;
}

.ata-content-block li {
    margin-bottom: 6px;
    line-height: 1.5;
}

.ata-content-block li:last-child {
    margin-bottom: 0;
}

.ata-content-block p + p {
    margin-top: 14px;
}

/* Link/Browse buttons sit on white cards — use the solid gold style */
.ata-content-block .ata-button--light {
    margin-top: 18px;
    border: 0;
    background: var(--ata-gold);
    color: #211806;
}

/* Book table inside a content card (does not affect admin tables) */
.ata-content-block .ata-table {
    margin-top: 18px;
}

.ata-content-block .ata-table thead th {
    border-bottom: 2px solid var(--ata-gold);
}

.ata-content-block .ata-table tbody tr:nth-child(odd) {
    background: var(--ata-gold-soft);
}

/* Two-column region layout — Asia Graduate School of Theology only */
@media (min-width: 760px) {
    .ata-content-blocks--cols {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
    .ata-content-blocks--cols > .ata-content-block:first-child {
        grid-column: 1 / -1;
    }
}

.ata-people-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.ata-card,
.ata-admin-card,
.ata-directory-card {
    display: block;
    padding: 26px;
    color: var(--ata-text);
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.ata-card:hover,
.ata-card:focus-visible,
.ata-service-card:hover,
.ata-service-card:focus-visible,
.ata-media-tile:hover,
.ata-media-tile:focus-visible {
    transform: translateY(-4px);
    border-color: var(--ata-gold);
    box-shadow: var(--ata-shadow-strong);
}

.ata-card--accent {
    border-top: 5px solid var(--ata-gold);
}

.ata-card--compact {
    padding: 22px;
}

.ata-card--link {
    min-height: 100%;
}

.ata-person-card {
    overflow: hidden;
    border: 1px solid var(--ata-border);
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--ata-shadow);
}

.ata-person-card img,
.ata-person-card__photo {
    width: 100%;
    aspect-ratio: 4 / 3;
}

.ata-person-card img {
    display: block;
    object-fit: cover;
}

.ata-person-card__photo {
    display: grid;
    place-items: center;
    background:
        radial-gradient(120% 120% at 80% 0%, rgba(244, 189, 46, 0.22), transparent 60%),
        linear-gradient(140deg, var(--ata-deep), var(--ata-deep-2));
    color: var(--ata-gold-bright);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 44px;
    font-weight: 900;
    letter-spacing: 0.02em;
}

.ata-person-card__body {
    padding: 22px;
}

.ata-person-card h2 {
    margin-bottom: 8px;
    font-size: 27px;
}

.ata-person-card p {
    margin-bottom: 0;
    color: var(--ata-muted);
}

.ata-person-card__bio {
    margin-top: 14px;
}

.ata-group-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ata-group-tabs a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 9px 12px;
    border: 1px solid var(--ata-border);
    border-radius: 999px;
    background: #fff;
    color: #51401a;
    font-size: 15px;
    font-weight: 850;
    text-decoration: none;
}

.ata-group-tabs a:hover,
.ata-group-tabs a:focus-visible,
.ata-group-tabs a[aria-current="page"] {
    border-color: var(--ata-gold);
    background: var(--ata-gold-soft);
    color: #2f260f;
}

.ata-card__kicker {
    display: inline-flex;
    margin-bottom: 12px;
    color: #745600;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ata-card p,
.ata-directory-card p,
.ata-reading,
.ata-muted {
    color: var(--ata-muted);
}

.ata-video-placeholder,
.ata-image-placeholder,
.ata-small-image,
.ata-feature-visual {
    display: grid;
    min-height: 220px;
    place-items: center;
    border-radius: 14px;
    background:
        radial-gradient(120% 120% at 80% 0%, rgba(244, 189, 46, 0.18), transparent 60%),
        linear-gradient(140deg, var(--ata-deep), var(--ata-deep-2));
    color: var(--ata-gold-bright);
    font-weight: 900;
}

.ata-feature-visual {
    min-height: 330px;
    border: 1px solid var(--ata-border);
    box-shadow: var(--ata-shadow);
}

.ata-feature-visual span {
    display: grid;
    width: 210px;
    aspect-ratio: 1;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    color: var(--ata-forest);
    text-align: center;
    box-shadow: var(--ata-shadow);
}

.ata-video-feature {
    display: grid;
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
    gap: 34px;
    align-items: center;
}

.ata-video-frame {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 1px solid var(--ata-border);
    border-radius: 14px;
    background: #141414;
    box-shadow: var(--ata-shadow);
}

.ata-video-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.ata-small-image {
    min-height: 130px;
    margin-bottom: 18px;
}

.ata-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    max-width: 620px;
    margin: 0 auto;
}

.ata-membership-types {
    margin-top: 26px;
}

.ata-service-card,
.ata-media-tile {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 24px;
    border: 1px solid var(--ata-border);
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--ata-shadow);
    color: var(--ata-text);
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.ata-service-card span {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 12px;
    background: var(--ata-gold-soft);
    color: var(--ata-deep);
    font-size: 24px;
    font-weight: 900;
}

.ata-service-card span svg {
    width: 26px;
    height: 26px;
}

.ata-service-card:nth-child(2) span {
    background: #e8f0ec;
    color: var(--ata-forest);
}

.ata-service-card:nth-child(3) span {
    background: #e6eef2;
    color: var(--ata-blue);
}

.ata-service-card:nth-child(4) span {
    background: var(--ata-gold-soft);
    color: var(--ata-gold-strong);
}

.ata-service-card p,
.ata-media-tile p {
    color: var(--ata-muted);
}

.ata-roadmap {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.ata-roadmap li {
    display: grid;
    align-content: start;
    min-height: 150px;
    padding: 20px 14px;
    border: 1px solid var(--ata-border);
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--ata-shadow);
    color: var(--ata-text);
    font-weight: 850;
    line-height: 1.35;
    text-align: center;
}

.ata-roadmap span {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    justify-self: center;
    margin-bottom: 14px;
    border-radius: 50%;
    background: var(--ata-gold);
    color: #211806;
    font-weight: 950;
}

.ata-media-tile {
    overflow: hidden;
    padding: 0;
}

.ata-media-tile > span {
    display: grid;
    min-height: 145px;
    place-items: center;
    padding: 18px;
    background: linear-gradient(135deg, var(--ata-deep), var(--ata-deep-2));
    color: var(--ata-gold-bright);
}

.ata-media-tile > span svg {
    width: 46px;
    height: 46px;
}

.ata-media-tile h3,
.ata-media-tile p {
    margin-right: 22px;
    margin-left: 22px;
}

.ata-media-tile h3 {
    margin-top: 22px;
}

.ata-media-tile p {
    margin-bottom: 24px;
}

.ata-news-card {
    border-left: 5px solid var(--ata-gold);
}

.ata-cta-band {
    padding: 58px 0;
    background: var(--ata-gold);
    color: #241b08;
}

.ata-cta-band .ata-eyebrow {
    color: #5a4200;
}

.ata-cta-band h2 {
    margin-bottom: 10px;
    color: #241b08;
}

.ata-cta-band p {
    max-width: 720px;
    margin: 0;
}

.ata-cta-band__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
}

.ata-stats div {
    padding: 28px;
    border: 1px solid var(--ata-border);
    border-radius: 12px;
    background: #fff;
    text-align: center;
    box-shadow: var(--ata-shadow);
}

.ata-stats strong,
.ata-stats span {
    display: block;
}

.ata-stats strong {
    color: #6a4e00;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 46px;
}

.ata-filter-bar {
    display: grid;
    grid-template-columns: 1fr 210px 210px auto auto;
    gap: 14px;
    align-items: end;
    padding: 20px;
    border: 1px solid var(--ata-border);
    border-radius: 12px;
    background: var(--ata-soft);
}

.ata-directory-summary {
    display: grid;
    gap: 12px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.11);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.2);
}

.ata-directory-summary span {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
    color: rgba(255, 255, 255, 0.86);
    font-weight: 850;
}

.ata-directory-summary strong {
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
}

.ata-directory-status-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.ata-directory-status-row span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border: 1px solid var(--ata-border);
    border-radius: 999px;
    background: var(--ata-soft-2);
    color: var(--ata-muted);
    font-size: 15px;
    font-weight: 850;
}

.ata-directory-status-row strong {
    color: var(--ata-deep);
}

label {
    display: grid;
    gap: 7px;
    color: var(--ata-text);
    font-weight: 800;
}

input,
select,
textarea {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #cfc6b7;
    border-radius: 8px;
    color: var(--ata-text);
    font: inherit;
}

.ata-results-count {
    font-weight: 850;
}

.ata-directory {
    display: grid;
    gap: 16px;
}

.ata-pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 28px;
}

.ata-pager__link {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    border: 1px solid var(--ata-border);
    border-radius: 999px;
    background: #fff;
    font-weight: 700;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--ata-shadow);
}

.ata-pager__link:hover,
.ata-pager__link:focus {
    border-color: var(--ata-gold);
}

.ata-pager__link--disabled {
    opacity: 0.45;
    box-shadow: none;
}

.ata-pager__status {
    font-weight: 850;
}

.ata-search-form {
    display: flex;
    gap: 12px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.ata-search-form input[type="search"] {
    flex: 1 1 280px;
    padding: 12px 16px;
    border: 1px solid var(--ata-border);
    border-radius: 10px;
    font-size: 16px;
}

.ata-search-results {
    display: grid;
    gap: 14px;
}

.ata-search-result__link {
    display: block;
    padding: 20px 24px;
    text-decoration: none;
    color: inherit;
}

.ata-search-result__link:hover,
.ata-search-result__link:focus {
    border-color: var(--ata-gold);
}

.ata-search-result__type {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ata-gold);
    margin-bottom: 4px;
}

.ata-search-result h2 {
    margin: 0 0 6px;
    font-size: 22px;
}

.ata-search-result p {
    margin: 0;
    color: var(--ata-muted, #555);
}

.ata-directory-card h2 {
    font-size: 28px;
}

.ata-directory-card__header {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: start;
}

.ata-directory-meta {
    margin-bottom: 0;
}

.ata-status-badge {
    flex: 0 0 auto;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--ata-gold-soft);
    color: #604600;
    font-size: 14px;
    font-weight: 900;
}

details {
    margin-top: 12px;
}

summary {
    color: #745600;
    font-weight: 850;
    cursor: pointer;
}

dl {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 6px 16px;
}

dt {
    font-weight: 850;
}

dd {
    margin: 0;
}

.ata-program-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ata-program-list span {
    display: inline-flex;
    padding: 7px 10px;
    border-radius: 999px;
    background: var(--ata-soft);
    color: var(--ata-muted);
    font-size: 14px;
    font-weight: 750;
}

.ata-footer {
    padding: 52px 0 24px;
    border-top: 3px solid var(--ata-gold);
    background: linear-gradient(160deg, var(--ata-ink), var(--ata-deep));
    color: rgba(255, 255, 255, 0.86);
}

.ata-footer__grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr 1fr;
    gap: 34px;
}

.ata-footer h2 {
    color: #fff;
    font-size: 24px;
}

.ata-footer a {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    text-underline-offset: 4px;
}

.ata-footer address {
    font-style: normal;
}

.ata-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.68);
    font-size: 15px;
}

.ata-footer__social {
    display: inline-flex;
    gap: 10px;
}

.ata-footer__social a {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    transition: background 160ms ease, transform 160ms ease;
}

.ata-footer__social a:hover,
.ata-footer__social a:focus-visible {
    background: var(--ata-gold);
    color: #211806;
    transform: translateY(-2px);
}

.ata-flash {
    margin-top: 18px;
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 800;
}

.ata-flash--success {
    background: #e7f7e8;
    color: #235b2a;
}

.ata-flash--error {
    background: #fde8e8;
    color: #8d1f1f;
}

.ata-admin-shell {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    min-height: 100vh;
    background:
        linear-gradient(90deg, #242424 0 260px, var(--ata-soft) 260px);
}

.ata-admin-sidebar {
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    gap: 22px;
    height: 100vh;
    padding: 22px;
    background: #242424;
    color: #fff;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.ata-admin-sidebar form {
    margin-top: auto;
}

.ata-admin-sidebar .ata-brand {
    color: #fff;
}

.ata-admin-sidebar nav {
    display: grid;
    gap: 6px;
}

.ata-admin-sidebar nav a {
    padding: 10px 12px;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.ata-admin-sidebar nav a:hover,
.ata-admin-sidebar nav a:focus-visible {
    background: rgba(255, 255, 255, 0.1);
}

.ata-admin-main {
    padding: 34px;
}

.ata-admin-main > .ata-card-grid {
    margin-bottom: 24px;
}

.ata-admin-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
}

.ata-admin-heading p {
    color: var(--ata-muted);
}

.ata-admin-hint {
    margin: -8px 0 24px;
    padding: 12px 16px;
    border-left: 4px solid var(--ata-gold, #e5a900);
    background: var(--ata-gold-soft, #fff5d4);
    border-radius: 6px;
    color: var(--ata-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.ata-login-card {
    max-width: 460px;
    margin: 8vh auto;
}

.ata-form {
    display: grid;
    gap: 16px;
}

.ata-form-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

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

.ata-inline-form {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
}

.ata-fieldset {
    display: grid;
    gap: 10px;
    padding: 16px;
    border: 1px solid var(--ata-border);
    border-radius: 12px;
}

.ata-fieldset legend {
    padding: 0 6px;
    color: #5f4600;
    font-weight: 900;
}

.ata-check-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
}

.ata-check-row input {
    width: auto;
}

.ata-help,
.ata-helper-grid {
    color: var(--ata-muted);
    font-size: 15px;
}

.ata-helper-grid {
    display: grid;
    gap: 6px;
    padding: 12px;
    border-radius: 8px;
    background: var(--ata-soft);
}

.ata-admin-user {
    display: grid;
    gap: 3px;
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.86);
    font-size: 14px;
}

.ata-admin-user strong {
    color: #fff;
}

.ata-admin-user span {
    color: rgba(255, 255, 255, 0.68);
}

.ata-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
}

.ata-table th,
.ata-table td {
    padding: 12px;
    border-bottom: 1px solid var(--ata-border);
    text-align: left;
    vertical-align: top;
}

.ata-table th {
    color: #5f4600;
}

.ata-delete-form {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--ata-border);
}

/* The full horizontal menu needs room for 7 longish section names. Once the
   viewport is too narrow to fit them on one tidy row, collapse the header to a
   hamburger (brand + search + menu button) rather than let the nav wrap. */
@media (max-width: 1100px) {
    .ata-header {
        max-height: 100vh;
        overflow-y: auto;
    }

    .ata-nav-toggle {
        display: grid;
    }

    .js .ata-nav {
        display: none;
    }

    .js .ata-header.is-nav-open .ata-nav {
        display: block;
    }

    /* brand + actions (search + menu button) share the top row (a 2-column
       grid); the nav drops to its own full-width row below when opened. */
    .ata-header__inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        column-gap: 12px;
        row-gap: 10px;
        align-items: center;
    }

    .ata-brand {
        grid-column: 1;
        grid-row: 1;
        margin-right: 0;
        min-width: 0;
    }

    .ata-header__actions {
        grid-column: 2;
        grid-row: 1;
    }

    .ata-nav {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .ata-nav ul {
        display: grid;
        gap: 8px;
    }

    .ata-nav li ul {
        position: static;
        width: 100%;
        padding-left: 12px;
        border: 0;
        border-left: 3px solid var(--ata-gold);
        box-shadow: none;
        opacity: 1;
        pointer-events: auto;
        transform: none;
    }
}

@media (max-width: 960px) {
    .ata-hero__inner--split,
    .ata-page-hero__inner,
    .ata-two-column,
    .ata-cta-band__inner,
    .ata-footer__grid,
    .ata-admin-shell {
        grid-template-columns: 1fr;
    }

    .ata-card-grid--two,
    .ata-card-grid--three,
    .ata-card-grid--four,
    .ata-people-grid,
    .ata-filter-bar,
    .ata-form-grid,
    .ata-stats,
    .ata-video-feature,
    .ata-network-strip__inner,
    .ata-quick-strip__inner,
    .ata-roadmap {
        grid-template-columns: 1fr;
    }

    .ata-network-stats {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ata-roadmap li {
        grid-template-columns: 42px minmax(0, 1fr);
        align-items: center;
        min-height: 0;
        text-align: left;
        column-gap: 14px;
    }

    .ata-roadmap span {
        margin-bottom: 0;
    }

    .ata-directory-card__header {
        display: grid;
    }

    .ata-admin-sidebar {
        position: static;
        height: auto;
    }

    .ata-admin-shell {
        background: var(--ata-soft);
    }
}

@media (max-width: 640px) {
    body {
        font-size: 17px;
    }

    .ata-container {
        width: min(100% - 30px, 1120px);
    }

    .ata-hero__inner,
    .ata-page-hero {
        padding: 58px 0;
    }

    .ata-actions,
    .ata-actions .ata-button,
    .ata-cta-band .ata-button {
        width: 100%;
    }

    .ata-network-stats {
        grid-template-columns: 1fr;
    }

    dl {
        grid-template-columns: 1fr;
    }

    .ata-admin-main {
        padding: 22px;
    }
}

/* --- Breadcrumb + "Back" navigation on detail and sub pages --- */
.ata-breadcrumb {
    background: var(--ata-soft-2);
    border-bottom: 1px solid var(--ata-border);
}

.ata-breadcrumb__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
    padding: 12px 0;
}

.ata-breadcrumb__back {
    /* Owner preference: trail on the LEFT, "← Back" pushed to the RIGHT edge. */
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--ata-deep);
    text-decoration: none;
    padding: 6px 12px;
    border: 1px solid var(--ata-border);
    border-radius: 999px;
    background: var(--ata-white);
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

/* The admin area reuses the same breadcrumb, sitting flush across the top of the
   padded content area (it bleeds out to the main's edges, then re-pads inside). */
.ata-admin-main > .ata-breadcrumb {
    margin: -34px -34px 24px;
}

.ata-admin-main > .ata-breadcrumb .ata-container {
    width: auto;
    margin: 0;
    padding: 0 34px;
}

@media (max-width: 640px) {
    .ata-admin-main > .ata-breadcrumb {
        margin: -22px -22px 20px;
    }

    .ata-admin-main > .ata-breadcrumb .ata-container {
        padding: 0 22px;
    }
}

/* --- "What's New" (admin changelog) --- */
.ata-changelog {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 18px;
}

.ata-changelog__entry {
    background: var(--ata-white);
    border: 1px solid var(--ata-border);
    border-radius: var(--ata-radius);
    box-shadow: var(--ata-shadow);
    padding: 22px 24px;
}

.ata-changelog__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 14px;
    margin-bottom: 6px;
}

.ata-changelog__date {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ata-gold-strong);
}

.ata-changelog__title {
    margin: 0;
    font-size: 1.25rem;
    color: var(--ata-deep);
}

.ata-changelog__summary {
    margin: 0 0 14px;
    color: var(--ata-muted);
}

.ata-changelog__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.ata-changelog__item {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px;
}

.ata-changelog__text {
    flex: 1 1 240px;
}

.ata-change-tag {
    flex: 0 0 auto;
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 999px;
    border: 1px solid transparent;
    line-height: 1.5;
}

.ata-change-tag--new {
    color: #145c43;
    background: #e3f3ea;
    border-color: #c2e3d0;
}

.ata-change-tag--improved {
    color: var(--ata-blue);
    background: #e6f0f5;
    border-color: #c6dde8;
}

.ata-change-tag--fixed {
    color: var(--ata-gold-strong);
    background: var(--ata-gold-soft);
    border-color: #efddb0;
}

/* Small "what's new" notice on the dashboard. */
.ata-whatsnew-notice {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    margin: 0 0 22px;
    padding: 14px 18px;
    background: var(--ata-gold-soft);
    border: 1px solid #efddb0;
    border-radius: var(--ata-radius);
}

.ata-whatsnew-notice__label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ata-gold-strong);
}

.ata-whatsnew-notice__text {
    flex: 1 1 220px;
    color: var(--ata-text);
}

.ata-whatsnew-notice__link {
    font-weight: 600;
    color: var(--ata-deep);
    text-decoration: underline;
}

/* --- YouTube channel pages (responsive 16:9 embed + channel button) --- */
.ata-video-embed {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--ata-radius);
    overflow: hidden;
    background: var(--ata-ink);
    box-shadow: var(--ata-shadow);
}

.ata-video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@supports not (aspect-ratio: 16 / 9) {
    .ata-video-embed {
        height: 0;
        padding-bottom: 56.25%;
    }
}

.ata-channel-cta {
    margin-top: 22px;
    text-align: center;
}

.ata-channel-cta__handle {
    margin: 12px 0 0;
    color: var(--ata-muted);
    font-size: 0.95rem;
}

/* --- Contact Us page --- */
.ata-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.ata-contact-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 26px 24px;
    text-decoration: none;
    color: var(--ata-text);
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.ata-contact-card:hover,
.ata-contact-card:focus {
    transform: translateY(-2px);
    box-shadow: var(--ata-shadow-strong);
    border-color: var(--ata-gold);
}

.ata-contact-card__icon {
    font-size: 1.7rem;
    margin-bottom: 6px;
}

.ata-contact-card__label {
    font-weight: 800;
    color: var(--ata-deep);
}

.ata-contact-card__value {
    color: var(--ata-muted);
    word-break: break-word;
}

.ata-office-card {
    display: flex;
    align-items: stretch;
    gap: 0;
    background: var(--ata-white);
    border: 1px solid var(--ata-border);
    border-radius: var(--ata-radius-lg);
    overflow: hidden;
    box-shadow: var(--ata-shadow);
}

.ata-office-card__body {
    flex: 1 1 auto;
    padding: 30px 32px;
}

.ata-office-card__body h2 {
    margin: 6px 0 12px;
    color: var(--ata-deep);
}

.ata-office-card__address {
    font-style: normal;
    color: var(--ata-text);
    line-height: 1.7;
    margin-bottom: 20px;
}

.ata-office-card__aside {
    flex: 0 0 140px;
    display: grid;
    place-items: center;
    background:
        radial-gradient(120% 120% at 30% 20%, rgba(244, 189, 46, 0.22), transparent 60%),
        linear-gradient(140deg, var(--ata-deep), var(--ata-deep-2));
    font-size: 2.6rem;
}

.ata-card--link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.ata-card--link h3 {
    color: var(--ata-deep);
    margin: 0 0 8px;
}

/* --- Feature card grid (AGST, Publications, Value Added Services) --- */
.ata-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 22px;
    margin-top: 6px;
}

.ata-feature-card {
    display: flex;
    flex-direction: column;
    padding: 26px 26px 24px;
    border-top: 3px solid var(--ata-gold); /* gold accent on the shared card surface */
}

.ata-feature-card__title {
    margin: 0 0 12px;
    color: var(--ata-deep);
    font-size: 1.2rem;
    line-height: 1.25;
}

.ata-feature-card__body {
    color: var(--ata-text);
    flex: 1 1 auto;
}

.ata-feature-card__body > :first-child {
    margin-top: 0;
}

.ata-feature-card__body p {
    margin: 0 0 10px;
}

.ata-feature-card__body ul {
    margin: 8px 0 0;
    padding-left: 20px;
}

.ata-feature-card__body li {
    margin-bottom: 4px;
}

.ata-feature-card__body a {
    color: var(--ata-gold-strong);
    font-weight: 600;
}

.ata-feature-card .ata-link {
    margin-top: 16px;
    font-weight: 700;
}

@media (max-width: 560px) {
    .ata-office-card {
        flex-direction: column-reverse;
    }

    .ata-office-card__aside {
        flex-basis: 90px;
    }
}

.ata-breadcrumb__back:hover,
.ata-breadcrumb__back:focus {
    color: var(--ata-gold-strong);
    border-color: var(--ata-gold);
    background: var(--ata-gold-soft);
}

.ata-breadcrumb__trail {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.88rem;
    color: var(--ata-muted);
}

.ata-breadcrumb__trail li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ata-breadcrumb__trail li + li::before {
    content: "›";
    color: var(--ata-border);
}

.ata-breadcrumb__trail a {
    color: var(--ata-muted);
    text-decoration: none;
}

.ata-breadcrumb__trail a:hover,
.ata-breadcrumb__trail a:focus {
    color: var(--ata-deep);
    text-decoration: underline;
}

.ata-breadcrumb__trail [aria-current="page"] {
    color: var(--ata-text);
    font-weight: 600;
}

@media (max-width: 640px) {
    .ata-breadcrumb__trail {
        font-size: 0.82rem;
    }
}

/* --- "ATA Locations Worldwide" panel on the Members page --- */
.ata-worldmap {
    position: relative;
    width: 100%;
    aspect-ratio: 360 / 150;
    margin: 26px 0 0;
    border-radius: var(--ata-radius);
    overflow: hidden;
    background: linear-gradient(180deg, #eef5f3, #e3eeea);
    border: 1px solid var(--ata-border);
}

.ata-worldmap__bg,
.ata-worldmap__pins {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.ata-worldmap__bg {
    object-fit: contain;
}

.ata-worldmap__pin {
    fill: var(--ata-gold);
    stroke: var(--ata-gold-strong);
    stroke-width: 0.3;
    opacity: 0.9;
    transition: fill 0.15s ease;
}

.ata-worldmap__pin:hover {
    fill: var(--ata-gold-strong);
    opacity: 1;
}

.ata-locations {
    list-style: none;
    margin: 24px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 10px;
}

.ata-locations__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--ata-white);
    border: 1px solid var(--ata-border);
    border-radius: var(--ata-radius);
    box-shadow: var(--ata-shadow);
}

.ata-locations__pin {
    flex: 0 0 auto;
    width: 12px;
    height: 12px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    background: var(--ata-gold);
    box-shadow: 0 0 0 3px var(--ata-gold-soft);
}

.ata-locations__name {
    flex: 1 1 auto;
    font-weight: 600;
    color: var(--ata-text);
}

.ata-locations__count {
    flex: 0 0 auto;
    min-width: 28px;
    text-align: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--ata-deep);
    background: var(--ata-gold-soft);
    border-radius: 999px;
    padding: 2px 9px;
}

/* --- Rich news article body (inline photos, pull-quotes, lists) --- */
.ata-article-figure {
    margin: 28px 0;
}

.ata-article-figure img {
    width: 100%;
    height: auto;
    border-radius: var(--ata-radius);
    box-shadow: var(--ata-shadow);
    display: block;
}

.ata-article-figure figcaption {
    margin-top: 8px;
    font-size: 0.88rem;
    font-style: italic;
    color: var(--ata-muted);
    text-align: center;
}

.ata-pullquote {
    margin: 28px 0;
    padding: 18px 24px;
    border-left: 4px solid var(--ata-gold);
    background: var(--ata-gold-soft);
    border-radius: 0 var(--ata-radius) var(--ata-radius) 0;
}

.ata-pullquote p {
    margin: 0;
    font-size: 1.08rem;
    font-style: italic;
    color: var(--ata-ink);
}

.ata-article-list {
    margin: 18px 0;
    padding-left: 24px;
}

.ata-article-list li {
    margin-bottom: 8px;
}

.ata-article-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    margin: 28px 0;
}

.ata-article-gallery .ata-article-figure {
    margin: 0;
}

/* --- Article reading polish: comfortable column, typography, share, back-to-top --- */
.ata-reading {
    max-width: 730px;
    margin-inline: auto;
}

.ata-reading > p {
    color: var(--ata-text);
    font-size: 1.08rem;
    line-height: 1.85;
    margin: 0 0 1.3rem;
}

.ata-reading > p:first-of-type {
    font-size: 1.18rem;
    line-height: 1.7;
    color: var(--ata-ink);
}

.ata-reading h2,
.ata-reading h3 {
    color: var(--ata-ink);
    line-height: 1.25;
    margin: 2.2rem 0 0.8rem;
}

.ata-reading > img:first-child {
    width: 100%;
    height: auto;
    border-radius: var(--ata-radius-lg);
    box-shadow: var(--ata-shadow);
    margin-bottom: 1.6rem;
    display: block;
}

.ata-reading a:not(.ata-button):not(.ata-share-btn) {
    color: var(--ata-deep);
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
}

.ata-reading a:not(.ata-button):not(.ata-share-btn):hover {
    color: var(--ata-gold-strong);
}

.ata-eyebrow__sep {
    opacity: 0.55;
    margin: 0 3px;
}

.ata-article-share {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 2.4rem 0 0.5rem;
    padding-top: 1.6rem;
    border-top: 1px solid var(--ata-border);
}

.ata-article-share__label {
    font-weight: 700;
    color: var(--ata-ink);
    margin-right: 4px;
}

.ata-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 40px;
    padding: 0 14px;
    border: 1px solid var(--ata-border);
    border-radius: 999px;
    background: var(--ata-white);
    color: var(--ata-ink);
    font: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.ata-share-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--ata-shadow);
    border-color: transparent;
}

.ata-share-btn--fb:hover { background: #1877f2; color: #fff; }
.ata-share-btn--x:hover { background: #000; color: #fff; }
.ata-share-copy:hover { border-color: var(--ata-gold); color: var(--ata-gold-strong); }
.ata-share-copy.is-copied { background: var(--ata-deep); color: #fff; border-color: transparent; }

.ata-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 40;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: var(--ata-deep);
    color: var(--ata-gold-bright);
    box-shadow: var(--ata-shadow-strong);
    cursor: pointer;
    opacity: 0.92;
    transition: transform 0.15s ease, opacity 0.15s ease, background 0.15s ease;
}

.ata-to-top:hover {
    transform: translateY(-3px);
    opacity: 1;
    background: var(--ata-ink);
}

.ata-to-top[hidden] {
    display: none;
}

@media (max-width: 640px) {
    .ata-share-btn__txt { display: none; }
    .ata-share-copy { padding: 0 12px; }
    .ata-to-top { right: 14px; bottom: 14px; }
}

/* --- News & Archive list cards (thumbnails; scales as more are added) --- */
.ata-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 24px;
}

.ata-news-item {
    display: flex;
    flex-direction: column;
    background: var(--ata-white);
    border: 1px solid var(--ata-border);
    border-radius: var(--ata-radius);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--ata-shadow);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.ata-news-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--ata-shadow-strong);
    border-color: transparent;
}

.ata-news-item__thumb {
    aspect-ratio: 16 / 10;
    background: var(--ata-soft);
    overflow: hidden;
}

.ata-news-item__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.ata-news-item:hover .ata-news-item__thumb img {
    transform: scale(1.04);
}

.ata-news-item__thumb--ph {
    display: grid;
    place-items: center;
    background:
        radial-gradient(130% 130% at 80% 0%, rgba(244, 189, 46, 0.22), transparent 60%),
        linear-gradient(140deg, var(--ata-deep), var(--ata-deep-2));
}

.ata-news-item__badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--ata-gold-bright);
    font-weight: 900;
    font-size: 0.9rem;
    letter-spacing: 0.12em;
}

.ata-news-item__body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 20px 20px;
    flex: 1;
}

.ata-news-item__body h3 {
    margin: 2px 0;
    font-size: 1.16rem;
    line-height: 1.3;
    color: var(--ata-ink);
}

.ata-news-item__body > p {
    margin: 0;
    color: var(--ata-muted);
    font-size: 0.95rem;
    line-height: 1.55;
}

.ata-news-item .ata-link {
    margin-top: auto;
    padding-top: 10px;
    font-weight: 700;
}

/* --- JATES issues: cover + details --- */
.ata-jates-list {
    display: grid;
    gap: 24px;
}

.ata-jates-issue {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 28px;
    background: var(--ata-white);
    border: 1px solid var(--ata-border);
    border-radius: var(--ata-radius-lg);
    padding: 24px;
    box-shadow: var(--ata-shadow);
}

.ata-jates-issue__cover {
    align-self: start;
}

.ata-jates-issue__cover img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: var(--ata-radius);
    box-shadow: var(--ata-shadow);
    display: block;
}

.ata-jates-issue__placeholder {
    display: grid;
    place-content: center;
    gap: 6px;
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: var(--ata-radius);
    background:
        radial-gradient(130% 130% at 80% 0%, rgba(244, 189, 46, 0.22), transparent 60%),
        linear-gradient(150deg, var(--ata-deep), var(--ata-deep-2));
    color: var(--ata-gold-bright);
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    text-align: center;
}

.ata-jates-issue__placeholder small {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    opacity: 0.85;
}

.ata-jates-issue__body h3 {
    margin: 4px 0 8px;
    color: var(--ata-ink);
}

.ata-jates-issue__editors {
    color: var(--ata-muted);
}

.ata-jates-toc {
    margin: 10px 0 18px;
    padding-left: 18px;
}

.ata-jates-toc li {
    margin-bottom: 8px;
}

.ata-jates-toc .ata-muted {
    display: block;
    font-size: 0.9rem;
}

@media (max-width: 600px) {
    .ata-jates-issue {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .ata-jates-issue__cover {
        max-width: 170px;
    }
}

/* --- Admin: article photo slots --- */
.ata-article-photos {
    margin: 18px 0 6px;
    border: 1px solid var(--ata-border);
    border-radius: var(--ata-radius);
    padding: 16px 18px;
}

.ata-article-photos legend {
    font-weight: 700;
    padding: 0 8px;
}

.ata-photo-slot {
    display: grid;
    grid-template-columns: 70px 90px 1fr 1fr;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid var(--ata-border);
}

.ata-photo-slot:first-of-type {
    border-top: 0;
}

.ata-photo-slot__num {
    font-weight: 700;
    color: var(--ata-deep);
}

.ata-photo-slot__thumb {
    width: 90px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--ata-border);
}

.ata-photo-slot__thumb--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.72rem;
    color: var(--ata-muted);
    background: var(--ata-soft);
}

/* --- Preview banner (shown to signed-in admins viewing an unpublished page) --- */
.ata-preview-banner {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--ata-gold);
    color: var(--ata-ink);
    text-align: center;
    font-size: 0.92rem;
    padding: 10px 18px;
    border-bottom: 2px solid var(--ata-gold-strong);
}

.ata-preview-banner strong {
    letter-spacing: 0.04em;
}

.ata-form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 6px;
}

@media (max-width: 720px) {
    .ata-photo-slot {
        grid-template-columns: 1fr 1fr;
    }
    .ata-photo-slot__num,
    .ata-photo-slot__thumb {
        grid-column: span 1;
    }
}
