/* page-news-article.css — modern single-post layout.
   Pairs with single.php. Mirrors the news index hero (rounded clip, dark
   overlay) and the rest of the marketing surfaces (mono labels, h2
   display, primary-orange accents). */

/* Anchor jumps (TOC, in-page links) land below the fixed nav, not under it. */
html { scroll-padding-top: 96px; }

/* ------------------------- Legacy article prose ------------------------- */
.article-body p { color: var(--text-soft); font-size: 14px;  line-height: 1.7; margin: 0 0 22px; }
.article-body p.lede { font-size: 22px; line-height: 1.55; font-weight: 500; }
.article-body h2 { font-family: var(--font-display); font-weight: 600; font-size: 24px; line-height: 1.05; letter-spacing: -0.015em;  margin: 48px 0 14px; }
.article-body h3 { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -0.005em; margin: 28px 0 10px;  }
.article-body blockquote { margin: 28px 0; padding: 0 0 0 22px; border-left: 3px solid var(--performance-orange); font-size: 22px; line-height: 1.45; font-family: var(--font-display); font-weight: 500; letter-spacing: -0.01em; color: var(--fg-1); }
.article-body ul { padding-left: 22px; margin-bottom: 22px; }
.article-body ul li { font-size: 18px; line-height: 1.65; margin-bottom: 8px; }
.article-body figure { margin: 28px 0; }
.article-body figure .photo { aspect-ratio: 3 / 2; border-radius: 14px; background: var(--steel-silver-100); position: relative; overflow: hidden; }
.article-body figure figcaption { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; color: var(--fg-3); margin-top: 10px; }
.article-body img { max-width: 100%; height: auto; border-radius: 14px; }

/* ------------------------------- Tables -------------------------------
   Premium comparison-table styling for prose tables (e.g. tool/spec
   comparisons in news posts): a card with a dark header, mono uppercase
   column labels and zebra rows. No markup change required — these rules
   target the bare <table> that WordPress emits inside .article-body.

   NOTE: the table MUST stay display:table. A previous version set
   display:block (to add overflow-x scroll), but that collapses the inner
   table to its content width and leaves the right half of the 100%-wide
   card empty. Horizontal overflow on narrow screens is handled by the
   .at-table-wrap scroll container that page-news-article.js injects. */
.article-body table {
    width: 100%;
    margin: 32px 0;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: auto;
    font-size: 14px;
    line-height: 1.45;
    color: var(--fg-1);
    background: var(--pure-white);
    border: 1px solid var(--steel-silver);
    border-radius: var(--radius-lg);
    overflow: hidden;                 /* clip rounded corners */
    box-shadow: var(--shadow-2);
}

/* JS-injected scroll container: lets a wide table scroll sideways on
   small screens instead of forcing page-wide horizontal scroll. On
   desktop the table fits and nothing scrolls. */
.article-body .at-table-wrap {
    margin: 32px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-lg);
}
.article-body .at-table-wrap > table {
    margin: 0;
    min-width: 460px;                 /* keeps columns legible; triggers scroll on phones */
}

.article-body table thead th {
    background: var(--rubber-black);
    color: #fff;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: left;
    padding: 16px 18px;
    white-space: nowrap;
    border-bottom: 2px solid var(--rubber-black-70);
    vertical-align: middle;
}

/* First column = the row label / criteria — give it weight and keep it
   stuck to the left edge while the rest scrolls under it. */
.article-body table thead th:first-child {
    position: sticky; left: 0; z-index: 2;
    background: var(--rubber-black);
}

.article-body table tbody td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--steel-silver-200);
    vertical-align: top;
    color: var(--fg-2);
}

.article-body table tbody td:first-child {
    position: sticky; left: 0; z-index: 1;
    background: inherit;
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--fg-1);
    border-right: 1px solid var(--steel-silver-200);
    white-space: nowrap;
}

/* Zebra striping */
.article-body table tbody tr:nth-child(odd)  td { background: var(--pure-white); }
.article-body table tbody tr:nth-child(even) td { background: var(--steel-silver-50); }

/* Row hover — subtle neutral wash that lifts the whole row */
.article-body table tbody tr:hover td { background: var(--steel-silver-200); }

.article-body table tbody tr:last-child td { border-bottom: none; }

@media (max-width: 720px) {
    .article-body table { font-size: 13px; margin: 24px 0; }
    .article-body table thead th { padding: 13px 14px; font-size: 10px; }
    .article-body table tbody td  { padding: 12px 14px; }
}

/* Share bar (used inside the main column) */
.share-bar { padding: 28px 0; border-top: 1px solid var(--steel-silver); border-bottom: 1px solid var(--steel-silver); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
.share-bar .lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; color: var(--fg-3); text-transform: uppercase; }
.share-bar .links { display: flex; gap: 8px; }
.share-bar .links a,
.share-bar .links .article-copy {
    width: 36px; height: 36px; border-radius: 8px;
    border: 1px solid var(--steel-silver);
    background: transparent;
    color: var(--rubber-black);
    display: inline-flex; align-items: center; justify-content: center;
    transition: all 160ms;
    cursor: pointer;
}
.share-bar .links a:hover,
.share-bar .links .article-copy:hover {
    background: var(--rubber-black); color: #fff; border-color: var(--rubber-black);
}
.share-bar .links .article-copy.is-copied {
    background: var(--performance-orange); color: #fff; border-color: var(--performance-orange);
}

/* ============================================================================
   Top sticky reading-progress bar (Medium-style).
   Sits fixed under the nav, 3 px tall, scales horizontally from 0 → 1
   as the user reads. Works on every viewport — no sidebar needed.
   The admin bar pushes everything down by 32 px (46 px ≤ 782 px), so
   we account for that with the same offsets used by .at-nav.
   ========================================================================== */
.article-progress-top {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: rgba(10, 9, 8, 0.06);
    z-index: 60; /* above the nav (z ~50) so it's always visible */
    pointer-events: none;
}
.article-progress-top__bar {
    width: 100%; height: 100%;
    background: linear-gradient(90deg, var(--performance-orange), #ffb27a);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 80ms linear;
    will-change: transform;
    border-bottom-right-radius: 2px;
}
.admin-bar .article-progress-top { top: 32px; }
@media screen and (max-width: 782px) {
    .admin-bar .article-progress-top { top: 46px; }
}

/* ============================================================================
   Article header (breadcrumb → categories → byline + date).
   Sits at the top of .article-main, above the prose.
   ========================================================================== */
.article-head {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--steel-silver);
}
.article-head__crumbs {
    font-family: var(--font-mono); font-size: 11px;
    letter-spacing: 0.08em; color: var(--fg-3);
    display: flex; gap: 8px; align-items: center;
    flex-wrap: wrap;
    margin-bottom: 18px;
}
.article-head__crumbs a {
    color: inherit; text-decoration: none;
    transition: color 140ms;
}
.article-head__crumbs a:hover { color: var(--performance-orange); }
.article-head__crumbs .sep { opacity: 0.4; }
.article-head__crumbs .cur {
    color: var(--rubber-black);
    max-width: 18ch;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.article-head__cats {
    display: flex; flex-wrap: wrap; gap: 6px;
    margin-bottom: 22px;
}
.cat-chip {
    display: inline-flex; align-items: center;
    padding: 5px 12px;
    background: var(--steel-silver-100);
    color: var(--fg-2);
    border: 1px solid var(--steel-silver);
    border-radius: 999px;
    font-family: var(--font-mono); font-size: 10px;
    letter-spacing: 0.14em; text-transform: uppercase;
    text-decoration: none;
    transition: background-color 140ms, color 140ms, border-color 140ms;
}
.cat-chip:hover {
    background: #fff;
    color: var(--rubber-black);
    border-color: var(--rubber-black);
}

.article-head__row {
    display: flex; align-items: center; justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}
.article-head__meta {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-mono); font-size: 12px;
    letter-spacing: 0.06em; color: var(--fg-3);
}
.article-head__meta .sep { opacity: 0.4; }
.article-head__date,
.article-head__read,
.article-head__updated { color: var(--fg-2); }

/* Compact author byline above the prose */
.article-main .article-author { display: flex; align-items: center; gap: 12px; margin: 0 0 28px; }
.article-author .avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--rubber-black); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 15px; flex: 0 0 42px; }
.article-author .meta { display: flex; flex-direction: column; }
.article-author .nm { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--rubber-black); text-decoration: none; }
.article-author .nm:hover { color: var(--performance-orange); }
.article-author .rl { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; color: var(--fg-3); text-transform: uppercase; }

/* ============================================================================
   Hero
   ========================================================================== */
.article-hero { padding: 15px 32px 0; background: #fff; }
.article-hero__shape {
    position: relative;
    max-width: 1860px; margin: 0 auto;
    aspect-ratio: 1860 / 540;
    overflow: hidden;
}
.article-hero__svg {
    position: absolute; inset: 0;
    width: 100%; height: 100%; pointer-events: none;
}
.article-hero__photo {
    position: absolute; inset: 0;
    background-color: #050505;
    background-image:
        linear-gradient(180deg, rgba(5,5,5,0.45) 0%, rgba(5,5,5,0.78) 100%),
        var(--article-hero-bg, var(--at-bg-at-news-hero));
    background-size: cover;
    background-position: center;
    /* Rounded rect with a viewport-proportional radius (was a fixed 25px SVG
       <rect rx>) so corners tighten on mobile and stay generous on desktop. */
    clip-path: inset(0 round clamp(14px, 1.78vw, 25px));
    -webkit-clip-path: inset(0 round clamp(14px, 1.78vw, 25px));
}
.article-hero__content {
    position: absolute; inset: 0;
    display: flex; flex-direction: column;
    align-items: center; justify-content: flex-end;
    text-align: center;
    padding: 56px 56px 64px;
    max-width: 1140px; margin: 0 auto;
}
.article-hero__crumbs {
    font-family: var(--font-mono); font-size: 12px;
    letter-spacing: 0.08em; color: rgba(255,255,255,0.55);
    display: flex; gap: 8px; align-items: center;
    flex-wrap: wrap; justify-content: center; margin-bottom: 18px;
}
.article-hero__crumbs a { color: inherit; text-decoration: none; }
.article-hero__crumbs a:hover { color: #fff; }
.article-hero__crumbs .sep { opacity: 0.4; }
.article-hero__eyebrow {
    display: inline-flex; align-items: center; flex-wrap: wrap;
    gap: 10px;
    font-family: var(--font-mono); font-size: 11px;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    margin-bottom: 18px;
}
.article-hero__eyebrow .cat-pill {
    padding: 3px 8px;
    background: rgba(255,255,255,0.10);
    color: rgba(255,255,255,0.85);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 4px;
    font-weight: 500;
    letter-spacing: 0.14em;
}
.article-hero__eyebrow .dot { opacity: 0.5; }
.article-hero__title {
    font-family: var(--font-display); font-weight: 800;
    font-size: clamp(26px, 3.5vw, 46px); line-height: 1.05;
    letter-spacing: -0.02em; text-transform: uppercase;
    color: #fff; margin: 0 0 18px;
}
.article-hero__dek {
    font-size: clamp(15px, 1.4vw, 18px); line-height: 1.55;
    color: rgba(255,255,255,0.78);
    margin: 0;
}

/* ============================================================================
   Body + sidebar shell
   ========================================================================== */
.article-shell-section { padding-top: 72px; padding-bottom: 72px; }
.article-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 64px;
    align-items: start;
}
.article-main { min-width: 0; max-width: 100%; margin: 0 auto; width: 100%; }
.article-main .article-body { max-width: none; padding: 0; }
.article-main .share-bar    { max-width: none; margin: 56px 0 0; padding: 28px 0; }

/* Tag chips */
.article-tags {
    display: flex; flex-wrap: wrap; align-items: center;
    gap: 8px;
    margin-top: 36px;
}
.article-tags__label {
    font-family: var(--font-mono); font-size: 11px;
    letter-spacing: 0.18em; color: var(--fg-3);
    text-transform: uppercase; margin-right: 8px;
}
.article-tags .at-radio-pill { padding: 6px 12px; font-size: 13px; }

/* Author bio card */
.article-author-card {
    display: flex; gap: 18px; align-items: flex-start;
    margin-top: 36px;
    padding: 24px;
    background: var(--steel-silver-100);
    border-radius: 16px;
}
.article-author-card .avatar-lg {
    width: 64px; height: 64px;
    flex: 0 0 64px;
    border-radius: 50%;
    background: var(--rubber-black);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-weight: 800; font-size: 22px;
}
.article-author-card .hd {
    font-family: var(--font-display); font-weight: 700; font-size: 16px;
    margin-bottom: 6px;
}
.article-author-card .bio {
    font-size: 14px; line-height: 1.55; color: var(--fg-2); margin: 0 0 12px;
}
.article-author-card .more {
    font-family: var(--font-mono); font-size: 11px;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--performance-orange); text-decoration: none;
}
.article-author-card .more:hover { text-decoration: underline; }

/* Prev / next chrono nav */
.article-prevnext {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 48px;
}
.pn-card {
    display: flex; flex-direction: column; gap: 6px;
    padding: 18px 22px;
    border: 1px solid var(--steel-silver);
    border-radius: 12px;
    background: #fff;
    text-decoration: none;
    color: var(--rubber-black);
    transition: border-color 160ms, transform 160ms;
}
.pn-card:hover { border-color: var(--rubber-black); transform: translateY(-2px); }
.pn-card--next { text-align: right; }
.pn-card__hint {
    font-family: var(--font-mono); font-size: 11px;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--fg-3);
}
.pn-card__title {
    font-family: var(--font-display); font-weight: 700; font-size: 15px;
    line-height: 1.25;
}

/* ============================================================================
   Sidebar
   ========================================================================== */
.article-side {
    position: sticky; top: 110px;
    display: flex; flex-direction: column; gap: 24px;
}
.article-side__block {
    padding: 22px;
    border: 1px solid var(--steel-silver);
    border-radius: 16px;
    background: #fff;
}
.article-side__block--cta {
    background: var(--rubber-black);
    border-color: var(--rubber-black);
    color: #fff;
}
.article-side__head {
    font-family: var(--font-mono); font-size: 11px;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--fg-3);
    margin-bottom: 14px;
}
.article-side__block--cta .article-side__head { color: var(--performance-orange); }
.article-side__copy {
    font-size: 14px; line-height: 1.5; color: rgba(255,255,255,0.78);
    margin: 0 0 16px;
}

/* ----------------------------- On this page (TOC) -----------------------------
   Sits at the top of the sticky sidebar. Intentionally borderless and
   shadowless — a quiet, grayscale, Apple-style index. The only "state" is a
   soft neutral fill + slightly heavier weight on the active section. No
   coloured accents, no left rule. Injected by page-news-article.js. */
.article-toc {
    margin-bottom: 4px;
}
.article-toc__head {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--fg-3);
    margin-bottom: 12px;
}
.article-toc__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
    max-height: 62vh;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
}
.article-toc__link {
    display: block;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.4;
    color: var(--fg-3);
    text-decoration: none;
    transition: color 160ms ease, background-color 160ms ease;
}
.article-toc__item--h3 .article-toc__link {
    padding-left: 22px;
    font-size: 12.5px;
}
.article-toc__link:hover {
    color: var(--fg-1);
    background-color: var(--steel-silver-50);
}
.article-toc__link.is-active {
    color: var(--fg-1);
    font-weight: 500;
    background-color: var(--steel-silver-100);
}

/* Anchor landing offset so section titles clear the fixed nav on jump/scroll. */
.article-body h2,
.article-body h3 { scroll-margin-top: 96px; }
body.admin-bar .article-body h2,
body.admin-bar .article-body h3 { scroll-margin-top: 128px; }

/* Reading progress */
.article-progress {
    height: 6px;
    background: var(--steel-silver-100);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 8px;
}
.article-progress__bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--performance-orange), #ffb27a);
    border-radius: inherit;
    transition: width 80ms linear;
}
.article-progress__num {
    font-family: var(--font-mono); font-size: 12px;
    letter-spacing: 0.06em; color: var(--fg-3);
}

/* Read-next list */
.article-side__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.rn-card {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 12px;
    text-decoration: none; color: var(--rubber-black);
    align-items: center;
}
.rn-card__photo {
    width: 72px; height: 72px;
    border-radius: 10px;
    background-color: var(--steel-silver-100);
    background-size: cover; background-position: center;
    flex: 0 0 72px;
}
.rn-card__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.rn-card__tag {
    font-family: var(--font-mono); font-size: 10px;
    letter-spacing: 0.14em; color: var(--fg-3);
    text-transform: uppercase;
}
.rn-card__title {
    font-family: var(--font-display); font-weight: 700; font-size: 13.5px;
    line-height: 1.25;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
}
.rn-card__date { font-family: var(--font-mono); font-size: 11px; color: var(--fg-3); }
.rn-card:hover .rn-card__title { color: var(--performance-orange); }

/* ============================================================================
   Related articles section
   ========================================================================== */
.related-articles { background: var(--steel-silver-100); }
.related-articles__head {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 16px;
    margin-bottom: 28px;
}
.related-articles__head .h2 {
    grid-column: 1; grid-row: 2;
    font-family: var(--font-display); font-weight: 800;
    font-size: clamp(26px, 2.4vw, 36px); line-height: 1.05;
    letter-spacing: -0.015em; text-transform: uppercase;
    margin: 0;
}
.related-articles__head .at-eyebrow { grid-column: 1; grid-row: 1; }
.related-articles__head .see-all {
    grid-column: 2; grid-row: 2;
    font-family: var(--font-mono); font-size: 11px;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--performance-orange); text-decoration: none;
    align-self: end;
}
.related-articles__head .see-all:hover { text-decoration: underline; }

/* news-grid + post-card — duplicated from page-news.css so the Related
   section renders correctly on the single-post template (which doesn't
   load page-news.css). Keep these in sync if you tweak the index. */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 22px; }
.post-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid var(--steel-silver); transition: all 220ms; }
.post-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.post-card .photo {
    aspect-ratio: 16 / 10;
    background-color: var(--steel-silver-100);
    background-size: cover; background-position: center; background-repeat: no-repeat;
    position: relative;
}
.post-card .photo .tag {
    position: absolute; bottom: 10px; left: 10px;
    padding: 3px 8px;
    background: rgba(255,255,255,0.92);
    border-radius: 4px;
    color: var(--fg-3);
    font-family: var(--font-mono); font-size: 9px;
    letter-spacing: 0.12em; font-weight: 500;
    text-transform: uppercase;
    z-index: 1;
}
.post-card .body { padding: 22px; }
.post-card .date { font-family: var(--font-mono); font-size: 12px; color: var(--fg-3); margin-bottom: 10px; letter-spacing: 0.06em; }
.post-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1.15; letter-spacing: -0.005em; margin: 0 0 10px; }
.post-card p { font-size: 14px; color: var(--fg-2); margin: 0; line-height: 1.5; }

/* ============================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
    .article-shell { grid-template-columns: 1fr; gap: 56px; }
    .article-side  { position: static; }
    /* Sidebar drops below the article here — a TOC would point upward, so hide it. */
    .article-toc   { display: none; }
}
@media (max-width: 720px) {
    .article-hero { padding: 16px; }
    .article-hero__shape { aspect-ratio: 4 / 5; }
    .article-hero__content { padding: 28px 22px 36px; }
    .article-hero__title { font-size: clamp(28px, 7vw, 40px); }
    .article-shell-section { padding-top: 48px; padding-bottom: 48px; }
    .article-head { margin-bottom: 24px; padding-bottom: 20px; }
    .article-head__crumbs { font-size: 10px; }
    .article-head__row { gap: 12px; align-items: flex-start; }
    .article-head__meta {
        width: 100%;
        padding-left: 54px; /* align under the name (after the 42 px avatar + 12 px gap) */
        font-size: 11px;
    }
    .article-prevnext { grid-template-columns: 1fr; }
    .pn-card--next { text-align: left; }
    .related-articles__head { grid-template-columns: 1fr; }
    .related-articles__head .see-all { grid-column: 1; grid-row: 3; }
}

/* ============================================================================
   File-service CTA (sidebar) + 3D calibration-membrane animation.
   Ported from the alttune-performance plugin (atp-search.css) so the same
   card + canvas animation that runs on the vehicle result sidebar also works
   on news articles. Scoped under .atp-detail (the wrapper in single.php).
   The canvas itself is injected and animated by atp-map-anim.js, which the
   theme enqueues on single posts (see inc/enqueue.php).
   ========================================================================== */
.atp-detail .atp-fileCta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 var(--space-4);
    padding: 14px;
    border-radius: 20px;
    text-decoration: none;
    background: var(--rubber-black);
    border: 1px solid rgba(255, 255, 255, 0.09);
    transition:
        transform var(--dur-fast) var(--ease-standard),
        box-shadow var(--dur-fast) var(--ease-standard),
        border-color var(--dur-fast) var(--ease-standard);
}
.atp-detail .atp-fileCta__body {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.atp-detail .atp-fileCta__kicker {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}
.atp-detail .atp-fileCta__title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
}
/* The action reuses the global .at-btn typography/shape, but is a custom
   variant: transparent with a light-grey border + white text/arrow, and on
   hover it runs a wipe-in animation — fill is WHITE, text/arrow flip to black. */
.atp-detail .atp-fileCta__action {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    align-self: flex-start;
    margin-top: 8px;
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.38);
}
.atp-detail .atp-fileCta__action::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #fff;
    transform: translate3d(-101%, 0, 0) skewX(-8deg);
    transform-origin: left center;
    transition: transform 540ms cubic-bezier(.32, .72, 0, 1);
    z-index: -1;
}
.atp-detail .atp-fileCta__action > * {
    position: relative;
    z-index: 1;
    transition:
        transform 540ms cubic-bezier(.32, .72, 0, 1),
        color 340ms cubic-bezier(.32, .72, 0, 1);
}
.atp-detail .atp-fileCta__action svg { width: 15px; height: 15px; }
.atp-detail .atp-fileCta:hover .atp-fileCta__action {
    color: #111827;
    border-color: #fff;
}
.atp-detail .atp-fileCta:hover .atp-fileCta__action::before {
    transform: translate3d(0, 0, 0) skewX(0deg);
}
.atp-detail .atp-fileCta:hover .atp-fileCta__action > * {
    transform: translate3d(4px, 0, 0);
}
.atp-detail .atp-fileCta:hover .atp-fileCta__action svg { transform: translateX(3px); }
/* Left panel — inset rounded square that hosts the canvas animation. */
.atp-detail .atp-fileCta__art {
    position: relative;
    flex: 0 0 96px;
    align-self: stretch;
    min-height: 96px;
    border-radius: 14px;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
}
.atp-detail .atp-fileCta__art.atp-mapAnim .atp-mapAnim__canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    pointer-events: none;
}
