/* astro-core.css — v1.2.0. SCOPED ONLY.
   Every rule starts with .atx, except body.atx-page: that class is printed
   ONLY by the astro-core header partial (templates/partials/header-atx.php),
   which never runs on the 8 frozen pages, so it cannot touch them either.
   Design system — the approved tools design mockup, exactly: dark ink
   #12100d, antique gold #c9a24a, cream #f4ecdd / #faf5ec; display Marcellus,
   UI/body Manrope, labels/data IBM Plex Mono. No purple gradient, no stock
   look. Hebrew / RTL: logical properties (margin-inline, padding-inline,
   text-align:start) throughout. */
.atx{--atx-ink:#12100d;--atx-ink-2:#1d1933;--atx-gold:#c9a24a;--atx-gold-soft:#e3c766;--atx-bg:#faf5ec;--atx-card:#fff;--atx-muted:#5b5670;--atx-cream:#f4ecdd;--atx-line:#e5e0d5;--atx-link:#1a4d8f;font-family:"Manrope",system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--atx-ink);line-height:1.6}
body.atx-page{background:var(--atx-bg);overflow-x:clip}
/* v1.2.0 sticky-header fix: the v1.1.0 header scrolled away on staging.
   Sticky breaks when an ancestor sets overflow hidden, so the page keeps
   overflow-x:clip (which preserves sticky) and the header re-asserts
   -webkit-sticky + top:0 here. */
.atx.atx-site-header{position:-webkit-sticky;position:sticky;top:0}
.atx *{box-sizing:border-box}
.atx h1,.atx h2,.atx h3{line-height:1.25;color:var(--atx-ink);margin-block:0 .6rem}
.atx p{margin-block:0 .9rem}
.atx ul,.atx ol{margin-block:0 .9rem;padding-inline-start:1.25rem}
.atx a{color:var(--atx-link)}
.atx a:hover{color:var(--atx-ink)}
.atx :focus-visible{outline:3px solid var(--atx-gold);outline-offset:2px}

/* ---- Page shell: centred content column, premium spacing ---- */
main.atx{max-width:1120px;margin-inline:auto;padding:2rem 1.25rem 3.5rem;background:var(--atx-bg)}
main.atx>h1{font-size:2.2rem;letter-spacing:-.01em;padding-block-end:.6rem;border-block-end:3px solid var(--atx-gold);margin-block-end:1rem}
main.atx>h2{font-size:1.45rem;margin-block-start:2rem}
main.atx nav[aria-label="Breadcrumb"]{font-size:.9rem;color:var(--atx-muted);margin-block-end:1rem}
main.atx nav[aria-label="Breadcrumb"] a{color:var(--atx-muted);text-decoration:none}
main.atx nav[aria-label="Breadcrumb"] a:hover{color:var(--atx-ink);text-decoration:underline}

/* ---- Header: dark ink, gold rule, sticky ---- */
.atx.atx-site-header{position:sticky;top:0;z-index:60;background:var(--atx-ink);color:var(--atx-cream);border-block-end:3px solid var(--atx-gold)}
.atx .atx-header-inner{max-width:1120px;margin-inline:auto;padding:.65rem 1.25rem;display:flex;align-items:center;gap:1.25rem;flex-wrap:wrap}
.atx .atx-logo{display:inline-flex;align-items:center;gap:.45rem;color:var(--atx-cream);font-size:1.3rem;font-weight:800;letter-spacing:.01em;text-decoration:none;white-space:nowrap}
.atx .atx-logo:hover{color:var(--atx-gold-soft)}
.atx .atx-logo-star{color:var(--atx-gold);font-size:1.1em}
.atx .atx-logo-gold{color:var(--atx-gold)}
.atx .atx-nav{margin-inline-start:auto}
.atx .atx-nav ul{display:flex;align-items:center;gap:1.1rem;list-style:none;margin:0;padding:0}
.atx .atx-nav a{display:block;padding:.35rem .1rem;color:#e9e4d8;text-decoration:none;border-block-end:2px solid transparent}
.atx .atx-nav a:hover,.atx .atx-nav a:focus-visible{color:var(--atx-gold-soft);border-block-end-color:var(--atx-gold)}
.atx .atx-nav-toggle{display:none;background:transparent;color:var(--atx-cream);border:1px solid rgba(250,248,242,.45);border-radius:.45rem;padding:.45rem .7rem;font:inherit;cursor:pointer}
.atx .atx-nav-toggle:hover{border-color:var(--atx-gold);color:var(--atx-gold-soft)}
.atx .atx-btn{display:inline-block;background:var(--atx-ink);color:#fff;padding:.65rem 1.1rem;border-radius:.5rem;text-decoration:none;border:0;cursor:pointer;font-weight:600;line-height:1.4}
.atx .atx-btn:hover{background:#241f3d;color:#fff}
.atx .atx-btn.atx-cta{background:var(--atx-gold);color:var(--atx-ink);font-weight:700;white-space:nowrap}
.atx .atx-btn.atx-cta:hover{background:var(--atx-gold-soft);color:var(--atx-ink)}
.atx.atx-skip{position:absolute;inset-inline-start:1rem;top:-4rem;background:var(--atx-gold);color:var(--atx-ink);padding:.6rem 1rem;border-radius:0 0 .5rem .5rem;font-weight:700;z-index:70;text-decoration:none}
.atx.atx-skip:focus{top:0}

/* ---- Footer: dark ink, 4 columns, gold headings ---- */
.atx.atx-site-footer{background:var(--atx-ink);color:#d8d2c4;margin-block-start:0}
.atx .atx-footer-inner{max-width:1120px;margin-inline:auto;padding:2.75rem 1.25rem 2rem;display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:2rem}
.atx .atx-footer-brand{color:var(--atx-cream);font-size:1.2rem;font-weight:800;margin-block:0 .5rem}
.atx .atx-footer-brand span{color:var(--atx-gold)}
.atx .atx-footer-about p{margin-block:0 .6rem}
.atx .atx-footer-heading{color:var(--atx-gold);font-weight:700;text-transform:uppercase;letter-spacing:.08em;font-size:.85rem;margin-block:0 .7rem}
.atx .atx-footer-col ul{list-style:none;margin:0;padding:0}
.atx .atx-footer-col li{margin-block:.35rem}
.atx .atx-footer-col a{color:#d8d2c4;text-decoration:none}
.atx .atx-footer-col a:hover{color:var(--atx-gold-soft);text-decoration:underline}
.atx .atx-footer-bottom{border-block-start:1px solid rgba(250,248,242,.14);text-align:center;padding:1.1rem 1.25rem}
.atx .atx-footer-bottom p{margin:0;font-size:.9rem;color:#b9b2a4}

/* ---- Cards, grids, buttons ---- */
.atx .atx-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:1.1rem}
.atx .atx-card{background:var(--atx-card);border:1px solid var(--atx-line);border-radius:.85rem;padding:1.15rem 1.25rem;box-shadow:0 1px 3px rgba(18,16,30,.07);transition:border-color .15s ease,transform .15s ease,box-shadow .15s ease}
.atx .atx-card:hover{border-color:var(--atx-gold);transform:translateY(-2px);box-shadow:0 6px 18px rgba(18,16,30,.1)}
.atx .atx-card h2{font-size:1.12rem;margin:.2rem 0 .5rem}
.atx .atx-card h2 a{color:var(--atx-ink);text-decoration:none}
.atx .atx-card h2 a:hover{color:var(--atx-link);text-decoration:underline}
.atx .atx-muted{color:var(--atx-muted)}

/* ---- Disclaimer: always prominent, never subtle ---- */
.atx .atx-disclaimer{background:#fff7e0;border:1px solid #ecd27a;border-inline-start:5px solid var(--atx-gold);padding:1rem 1.1rem;border-radius:.4rem;font-size:1.02rem;margin-block:1rem}
.atx .atx-disclaimer strong{color:#5c4a00}

/* ---- Forms and tool controls ---- */
.atx .atx-field{margin:.85rem 0}
.atx .atx-field label{display:block;font-weight:600;margin-block-end:.35rem}
.atx .atx-field input,.atx .atx-field select,.atx .atx-field textarea{width:100%;padding:.7rem .8rem;border:1.5px solid #cfc8b8;border-radius:.5rem;font:inherit;background:#fff;color:var(--atx-ink)}
.atx .atx-field input:focus,.atx .atx-field select:focus,.atx .atx-field textarea:focus{border-color:var(--atx-gold);outline:3px solid rgba(201,162,39,.35);outline-offset:1px}
.atx .atx-tool label{display:block;font-weight:600;margin-block:.6rem .3rem}
.atx .atx-tool input,.atx .atx-tool select{width:100%;padding:.7rem .8rem;border:1.5px solid #cfc8b8;border-radius:.5rem;font:inherit;background:#fff}
.atx .atx-tool input[type="range"]{padding:0;border:0;accent-color:var(--atx-gold)}
.atx .atx-tool button{margin-block-start:.8rem}
.atx button.atx-btn{font:inherit}

/* ---- Results, tables, FAQ ---- */
.atx .atx-result{background:var(--atx-card);border:1px solid var(--atx-line);border-inline-start:4px solid var(--atx-gold);border-radius:.75rem;padding:1.1rem 1.25rem;margin-block:1.1rem}
.atx .atx-bar{height:.6rem;background:#eee;border-radius:1rem;overflow:hidden}
.atx .atx-bar>span{display:block;height:100%;background:var(--atx-gold)}
.atx .atx-table{width:100%;border-collapse:collapse;background:#fff;border-radius:.6rem;overflow:hidden}
.atx .atx-table th{background:var(--atx-ink);color:var(--atx-cream);text-align:start}
.atx .atx-table th,.atx .atx-table td{border:1px solid var(--atx-line);padding:.65rem .8rem;vertical-align:top}
.atx .atx-table td{color:var(--atx-ink)}
.atx .atx-table td:first-child{font-weight:700}
.atx .atx-table th:nth-child(2),.atx .atx-table td:nth-child(2){text-align:center;white-space:nowrap}
.atx .atx-faq{margin-block-start:1.5rem}
.atx .atx-faq details{background:#fff;border:1px solid var(--atx-line);border-radius:.6rem;padding:.8rem 1rem;margin-block:.6rem}
.atx .atx-faq summary{cursor:pointer;font-weight:700;color:var(--atx-ink)}
.atx .atx-faq summary:hover{color:var(--atx-link)}
.atx .atx-aging-preview{border:1.5px dashed var(--atx-gold);border-radius:.6rem;padding:1.2rem;text-align:center;min-height:120px;background:#fff}
.atx .atx-aging-preview .atx-demo-design{font-size:3rem;line-height:1}
.atx .atx-design-img{max-width:100%;height:auto;display:block;margin:0 auto}

/* ---- Responsive ---- */
@media (max-width:900px){
  .atx .atx-header-inner{gap:.7rem}
  .atx .atx-nav-toggle{display:inline-flex;align-items:center;gap:.4rem;margin-inline-start:auto}
  .atx .atx-nav{flex-basis:100%;margin-inline-start:0}
  .atx-js-nav .atx-nav{display:none}
  .atx-js-nav .atx-nav.atx-nav-open{display:block}
  .atx .atx-nav ul{flex-direction:column;align-items:flex-start;gap:.1rem;padding-block:.4rem}
  .atx .atx-nav a{padding:.5rem .1rem}
  .atx .atx-header-inner .atx-cta{margin-inline-start:0}
  .atx .atx-footer-inner{grid-template-columns:1fr 1fr}
}
@media (max-width:640px){
  main.atx{padding:1.4rem 1rem 2.5rem}
  main.atx>h1{font-size:1.7rem}
  .atx .atx-grid{grid-template-columns:1fr}
  .atx .atx-table{display:block;overflow-x:auto}
  .atx .atx-footer-inner{grid-template-columns:1fr}
  .atx .atx-header-inner .atx-cta{flex-basis:100%;text-align:center}
}
@media (prefers-reduced-motion:reduce){.atx *{animation:none!important;transition:none!important}}

/* ---- v1.2.0 STAGING HOMEPAGE (template-home.php) — mockup, exactly ---- */
.atx h1,.atx h2,.atx h3,.atx .atx-display{font-family:"Marcellus",Georgia,"Times New Roman",serif;font-weight:400}
.atx .atx-eyebrow{font-family:"IBM Plex Mono",ui-monospace,monospace;font-size:.78rem;letter-spacing:.14em;text-transform:uppercase;color:var(--atx-gold);margin-block:0 .6rem}
main.atx.atx-home{max-width:none;padding:0;background:transparent}
.atx-home .atx-wrap{max-width:1120px;margin-inline:auto;padding-inline:1.25rem}
.atx-home .atx-section{padding:3.25rem 0}
.atx-home .atx-section h2{font-size:2rem;margin-block:.2rem .7rem}
.atx-home .atx-section-dark{background:var(--atx-ink);color:var(--atx-cream)}
.atx-home .atx-section-dark h2,.atx-home .atx-section-dark h3{color:var(--atx-cream)}
.atx-home .atx-section-dark p,.atx-home .atx-section-dark .atx-muted{color:#cfc8b8}
.atx-home .atx-section-dark .atx-card{background:#1d1933;border-color:#332d23;color:var(--atx-cream)}
.atx-home .atx-section-dark .atx-card h3 a{color:var(--atx-cream)}
.atx-home .atx-section-dark .atx-card a{color:var(--atx-gold-soft)}
.atx-home .atx-section-dark .atx-faq details{background:#1d1933;border-color:#332d23}
.atx-home .atx-section-dark .atx-faq summary{color:var(--atx-cream)}
/* Hero: dark ink, gold rule, display H1 */
.atx .atx-hero{background:var(--atx-ink);color:var(--atx-cream);border-block-end:3px solid var(--atx-gold);padding:3.5rem 0 3rem}
.atx .atx-hero-inner{max-width:1120px;margin-inline:auto;padding-inline:1.25rem}
.atx .atx-hero h1{color:var(--atx-cream);font-size:2.9rem;line-height:1.12;letter-spacing:-.01em;margin-block:.4rem 1rem;max-width:16ch}
.atx .atx-hero-sub{font-size:1.15rem;color:#ddd2bf;max-width:56ch}
.atx .atx-hero-cta{display:flex;gap:.8rem;flex-wrap:wrap;margin-block:1.4rem}
.atx .atx-btn.atx-btn-ghost{background:transparent;color:var(--atx-cream);border:1.5px solid var(--atx-gold)}
.atx .atx-btn.atx-btn-ghost:hover{background:rgba(201,162,74,.16);color:var(--atx-cream)}
.atx .atx-stats{display:flex;gap:2.5rem;flex-wrap:wrap;margin:1.6rem 0 0;padding:1.1rem 0 0;border-block-start:1px solid rgba(244,236,221,.16)}
.atx .atx-stats div{display:flex;flex-direction:column-reverse;gap:.1rem}
.atx .atx-stats dt{font-family:"IBM Plex Mono",ui-monospace,monospace;font-size:.78rem;letter-spacing:.12em;text-transform:uppercase;color:#b9b2a4}
.atx .atx-stats dd{margin:0;font-family:"Marcellus",Georgia,serif;font-size:2rem;color:var(--atx-gold)}
/* Wizard card */
.atx .atx-wizard-wrap{background:var(--atx-bg);padding:3rem 0}
.atx .atx-wizard-wrap h2{font-size:2rem}
.atx .atx-wizard{background:#fff;border:1px solid var(--atx-line);border-radius:1rem;padding:1.5rem 1.6rem;box-shadow:0 8px 28px rgba(18,16,13,.09);margin-block-start:1.2rem}
.atx .atx-wizard legend{font-family:"Marcellus",Georgia,serif;font-size:1.3rem;padding-inline:.7rem;background:#fff}
.atx .atx-wizard fieldset{border:1px solid var(--atx-line);border-radius:.75rem;padding:1.1rem 1.2rem;margin:0}
.atx .atx-steps{display:flex;gap:.6rem;list-style:none;margin:1rem 0;padding:0;flex-wrap:wrap}
.atx .atx-steps li{font-family:"IBM Plex Mono",ui-monospace,monospace;font-size:.82rem;letter-spacing:.06em;text-transform:uppercase;color:var(--atx-muted);border:1px solid var(--atx-line);border-radius:2rem;padding:.45rem .9rem;background:#fff}
.atx .atx-steps li[aria-current="step"]{background:var(--atx-ink);color:var(--atx-gold-soft);border-color:var(--atx-ink)}
.atx .atx-chips{display:flex;flex-wrap:wrap;gap:.55rem;margin-block:.6rem 1rem}
.atx .atx-chip{cursor:pointer}
.atx .atx-chip input{position:absolute;opacity:0;width:1px;height:1px}
.atx .atx-chip span{display:inline-block;border:1.5px solid #cfc8b8;border-radius:2rem;padding:.5rem .95rem;font-weight:600;background:#fff}
.atx .atx-chip span:hover{border-color:var(--atx-gold)}
.atx .atx-chip input:checked+span{background:var(--atx-ink);color:var(--atx-gold-soft);border-color:var(--atx-ink)}
.atx .atx-chip input:focus-visible+span{outline:3px solid var(--atx-gold);outline-offset:2px}
.atx .atx-wizard-error{color:#8f1d1d;font-weight:700}
.atx .atx-wizard-result{margin-block-start:1.5rem}
.atx .atx-meta{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.7rem;margin-block:1rem}
.atx .atx-meta div{background:#fff;border:1px solid var(--atx-line);border-radius:.6rem;padding:.7rem .9rem}
.atx .atx-meta dt{font-family:"IBM Plex Mono",ui-monospace,monospace;font-size:.75rem;letter-spacing:.1em;text-transform:uppercase;color:var(--atx-muted)}
.atx .atx-meta dd{margin:.15rem 0 0;font-weight:700}
.atx .atx-actions{display:flex;flex-wrap:wrap;gap:.55rem;margin-block:1rem}
.atx .atx-actions .atx-btn{background:#fff;color:var(--atx-ink);border:1.5px solid var(--atx-ink)}
.atx .atx-prompt{background:var(--atx-ink);color:var(--atx-cream);border-radius:.6rem;padding:1rem 1.1rem;white-space:pre-wrap;font-family:"IBM Plex Mono",ui-monospace,monospace;font-size:.88rem;line-height:1.55}
.atx .atx-sign-glyph{font-size:2.4rem;line-height:1;margin-block:0 .3rem}
.atx .atx-tryon{position:relative;max-width:520px;margin-block-start:.8rem;border:1px solid var(--atx-line);border-radius:.6rem;overflow:hidden;background:#eee}
.atx .atx-tryon img{display:block;width:100%}
.atx .atx-tryon-overlay{position:absolute;top:8%;left:50%;transform:translateX(-50%);width:55%;pointer-events:none;opacity:.92}
.atx .atx-tryon-overlay svg{width:100%;height:auto;display:block}
@media (max-width:640px){
  .atx .atx-hero{padding:2.4rem 0 2.2rem}
  .atx .atx-hero h1{font-size:2rem}
  .atx .atx-hero-cta .atx-btn{flex-basis:100%;text-align:center}
  .atx .atx-stats{gap:1.4rem}
  .atx-home .atx-section{padding:2.2rem 0}
  .atx-home .atx-section h2{font-size:1.6rem}
}

/* ---- v1.3.4 HOMEPAGE + HUB VISUAL REBUILD — approved mockup, exactly ----
   Fixes the 20:33 Dubai 2026-11-21 visual check: the v1.2.0 homepage had
   the right structure but looked plain/text-only (left-aligned hero with
   an empty right half, no starfield, no wizard card in the hero, white
   text-only cards, no thumbnails). This block is appended last so its
   rules win over the v1.2.0 ones at equal specificity. It also corrects
   two off-palette navy values (#1d1933 / #241f3d) to the mockup's warm
   night (#1c1915 / #2e2a24). Scoped to .atx-home and .atx-hub so the
   base white .atx-card used by the generator / tool-single / pillar
   templates and shortcodes is untouched. */

/* Button hover: warm dark, not navy */
.atx .atx-btn:hover{background:#2e2a24;color:#fff}

/* ---- Centred mockup hero + starfield (home + generator) ---- */
.atx .atx-hero{position:relative;overflow:hidden;text-align:center;padding:3.5rem 0}
.atx .atx-hero::before{content:"";position:absolute;inset:0;background-image:radial-gradient(1.2px 1.2px at 12% 30%,#e8c877 50%,transparent 51%),radial-gradient(1px 1px at 82% 18%,#fff 50%,transparent 51%),radial-gradient(1.4px 1.4px at 64% 62%,#e8c877 50%,transparent 51%),radial-gradient(1px 1px at 30% 78%,#fff 50%,transparent 51%),radial-gradient(1px 1px at 92% 70%,#e8c877 50%,transparent 51%),radial-gradient(1px 1px at 45% 12%,#fff 50%,transparent 51%);opacity:.5;pointer-events:none}
.atx .atx-hero-inner{position:relative;z-index:1}
.atx .atx-hero .atx-eyebrow{color:#e8c877;letter-spacing:.22em}
.atx .atx-hero h1{max-width:700px;margin-inline:auto;font-size:clamp(2rem,4.5vw,3.1rem)}
.atx .atx-hero h1 em{font-style:normal;color:#e8c877}
.atx .atx-hero-sub{margin-inline:auto}
.atx .atx-hero-cta{justify-content:center}
.atx .atx-stats{justify-content:center;text-align:center}
.atx .atx-stats div{align-items:center}

/* ---- Wizard card INSIDE the hero (homepage only) ----
   The generator template keeps its wizard in the cream section below
   the hero, because its .atx-wizard-wrap is NOT inside .atx-hero. */
.atx-hero .atx-wizard-wrap{background:transparent;padding:2.4rem 0 0;margin:0}
.atx-hero .atx-wizard-wrap .atx-wrap{max-width:760px}
.atx-hero .atx-wizard-wrap h2{color:var(--atx-cream)}
.atx-hero .atx-wizard-wrap .atx-muted{color:#cfc4ae}
.atx-hero .atx-wizard{box-shadow:0 18px 44px rgba(0,0,0,.45);text-align:start}
.atx-hero .atx-wizard-result{text-align:start}

/* ---- Mockup dark cards (homepage + hub only) ---- */
.atx-home .atx-card,.atx-hub .atx-card{background:#1c1915;border:1px solid #2e2a24;border-radius:18px;padding:20px 18px 16px;display:flex;flex-direction:column;gap:9px;color:var(--atx-cream);box-shadow:none}
.atx-home .atx-card:hover,.atx-hub .atx-card:hover{border-color:#e8c877;transform:translateY(-2px);box-shadow:0 6px 18px rgba(0,0,0,.35)}
.atx-home .atx-card h2,.atx-home .atx-card h3,.atx-hub .atx-card h2,.atx-hub .atx-card h3{font-size:1.06rem;line-height:1.25;margin:0;color:#fff}
.atx-home .atx-card h2 a,.atx-home .atx-card h3 a,.atx-hub .atx-card h2 a,.atx-hub .atx-card h3 a{color:#fff;text-decoration:none}
.atx-home .atx-card h2 a:hover,.atx-home .atx-card h3 a:hover,.atx-hub .atx-card h2 a:hover,.atx-hub .atx-card h3 a:hover{color:#e8c877;text-decoration:none}
.atx-home .atx-section-dark .atx-card h2 a,.atx-home .atx-section-dark .atx-card h3 a{color:#fff}
.atx-home .atx-card .atx-card-desc,.atx-hub .atx-card .atx-card-desc{margin:0;font-size:.84rem;color:#cfc4ae}
.atx-home .atx-card .atx-card-note,.atx-hub .atx-card .atx-card-note{margin:0;font-size:.78rem;color:#e8c877}
.atx-home .atx-card .atx-card-meta,.atx-hub .atx-card .atx-card-meta{display:flex;justify-content:space-between;align-items:center;gap:.6rem;border-top:1px solid #2e2a24;padding-top:11px;margin:0;margin-top:auto}
.atx-home .atx-card .atx-cat,.atx-hub .atx-card .atx-cat{font-family:"IBM Plex Mono",ui-monospace,monospace;letter-spacing:.08em;text-transform:uppercase;color:#a99c80;font-size:.74rem}
.atx-home .atx-card .atx-open,.atx-hub .atx-card .atx-open{color:#e8c877;font-weight:800;font-size:.85rem;text-decoration:none;white-space:nowrap}
.atx-home .atx-card .atx-open:hover,.atx-hub .atx-card .atx-open:hover{color:#fff;text-decoration:underline}
.atx-home .atx-ic,.atx-hub .atx-ic{width:46px;height:46px;border-radius:13px;background:#2a2314;border:1px solid #453a1e;display:grid;place-items:center;color:#e8c877;margin:0}
.atx-home .atx-ic svg,.atx-hub .atx-ic svg{display:block}
/* Zodiac card image: the bundled realistic design (v1.3.3 assets) */
.atx-home .atx-sign-thumb{display:block;margin:0}
.atx-home .atx-sign-thumb img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:12px;border:1px solid #2e2a24;display:block}
/* Dark sections: warm night, not navy */
.atx-home .atx-section-dark .atx-faq details{background:#1c1915;border-color:#2e2a24}

/* ---- Homepage grids: mockup 4-col, responsive down ---- */
.atx-home .atx-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.atx-home .atx-grid-3{grid-template-columns:repeat(3,1fr)}
@media(max-width:1020px){
  .atx-home .atx-grid{grid-template-columns:repeat(3,1fr)}
  .atx-home .atx-grid-3{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:760px){
  .atx-home .atx-grid,.atx-home .atx-grid-3{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:480px){
  .atx-home .atx-grid,.atx-home .atx-grid-3{grid-template-columns:1fr}
}

/* ---- Tools hub (v1.3.4): dark hero, search pill, chips, count, grid ---- */
.atx-hub .atx-hub-hero{position:relative;overflow:hidden;background:#12100d;color:#f4ecdd;border-radius:18px;padding:52px 26px 34px;text-align:center;margin:1rem 0 1.5rem}
.atx-hub .atx-hub-hero::before{content:"";position:absolute;inset:0;background-image:radial-gradient(1.2px 1.2px at 12% 30%,#e8c877 50%,transparent 51%),radial-gradient(1px 1px at 82% 18%,#fff 50%,transparent 51%),radial-gradient(1.4px 1.4px at 64% 62%,#e8c877 50%,transparent 51%),radial-gradient(1px 1px at 30% 78%,#fff 50%,transparent 51%),radial-gradient(1px 1px at 92% 70%,#e8c877 50%,transparent 51%),radial-gradient(1px 1px at 45% 12%,#fff 50%,transparent 51%);opacity:.5;pointer-events:none}
.atx-hub .atx-hub-hero>*{position:relative;z-index:1}
.atx-hub .atx-hub-kick{color:#e8c877;letter-spacing:.22em}
.atx-hub .atx-hub-hero h1{color:#fff;font-size:clamp(2rem,5vw,3.3rem);line-height:1.08;margin:.35em auto;max-width:700px}
.atx-hub .atx-hub-hero h1 em{font-style:normal;color:#e8c877}
.atx-hub .atx-hub-sub{color:#cfc4ae;max-width:560px;margin:0 auto 24px;font-size:1.02rem}
.atx-hub .atx-hub-search{position:relative;max-width:520px;margin:0 auto;display:flex;gap:8px;background:#fff;border-radius:999px;padding:5px}
.atx-hub .atx-hub-search input{flex:1;border:0;background:transparent;padding:8px 16px;font:inherit;font-size:.95rem;color:#171310;min-width:0}
.atx-hub .atx-hub-search input:focus{outline:none}
.atx-hub .atx-hub-search button{border:0;border-radius:999px;background:#171310;color:#f4ecdd;padding:8px 20px;font-weight:800;cursor:pointer;font:inherit}
.atx-hub .atx-hub-meta{display:flex;gap:8px 26px;justify-content:center;flex-wrap:wrap;margin-top:20px;font-size:.82rem;color:#cfc4ae}
.atx-hub .atx-hub-meta b{color:#fff}
.atx-hub .atx-hub-filters{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;padding:14px 0 4px}
.atx-hub .atx-chip-btn{border:1px solid #4a4436;background:transparent;color:#cfc4ae;border-radius:999px;padding:9px 18px;font-weight:700;font-size:.85rem;min-height:40px;cursor:pointer;font:inherit}
.atx-hub .atx-chip-btn[aria-pressed="true"]{background:#e8c877;border-color:#e8c877;color:#1c1503}
.atx-hub .atx-hub-count{text-align:center;font-size:.8rem;color:#8d8271;margin:14px 0 0;font-family:"IBM Plex Mono",ui-monospace,monospace}
.atx-hub .atx-hub-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.atx-hub .atx-hub-empty{text-align:center;color:#cfc4ae;padding:28px 10px;font-size:.92rem}
.atx-hub .atx-hub-foot{margin:26px 0;border:1px dashed #4a4436;border-radius:18px;padding:20px 22px;display:flex;gap:16px;flex-wrap:wrap;align-items:center;justify-content:space-between;background:#1c1915}
.atx-hub .atx-hub-foot strong{color:#fff;font-family:"Marcellus",Georgia,serif;font-size:1.1rem;font-weight:400}
.atx-hub .atx-hub-foot p{margin:2px 0 0;font-size:.85rem;color:#cfc4ae}
@media(max-width:1020px){.atx-hub .atx-hub-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){.atx-hub .atx-hub-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:480px){.atx-hub .atx-hub-grid{grid-template-columns:1fr}}

/* ---- v1.3.5 FULL-WIDTH + MOBILE-FRIENDLY — 2026-11-21 ----
   Muhammad's 20:55 Dubai screenshot of /tools/: the hub hero was a
   rounded dark card floating in the middle of a centred 1120px column
   on cream — "just in the centre, looks weird" — and the page must be
   mobile friendly too. Root cause: main.atx is a centred 1120px
   column and .atx-hub-hero had border-radius:18px + margin. The
   approved mockup's .site is dark FULL-BLEED edge to edge with a
   centred .wrap (1180px) inside; the hero has no radius and no outer
   margin. This block is appended last so it wins at equal specificity.
   Scoped to .atx-hub / .atx-home / the .atx header+footer only, so
   the base white .atx-card and the centred article column used by the
   tool-single / pillar templates are untouched. */

/* ---- Hub shell: full-width, transparent — like the homepage ---- */
main.atx.atx-hub{max-width:none;padding:0;background:transparent;overflow-x:clip}
main.atx.atx-home{overflow-x:clip}
.atx-hub .atx-wrap{max-width:1120px;margin-inline:auto;padding-inline:1.25rem}
.atx-hub .atx-hub-crumb{padding-top:1.25rem}
.atx-hub .atx-hub-crumb nav[aria-label="Breadcrumb"]{overflow-wrap:anywhere}

/* ---- Hub hero: FULL-BLEED, no radius, no outer margin ---- */
.atx-hub .atx-hub-hero{border-radius:0;margin:0;padding:52px 20px 34px}
.atx-hub .atx-hub-hero h1{max-width:700px}

/* ---- Hub body: dark full-bleed section holding the grid + quiz foot ---- */
.atx-hub .atx-hub-body{background:#12100d;padding:0 0 2.5rem}
.atx-hub .atx-hub-body .atx-hub-grid{padding-top:1.5rem}
.atx-hub .atx-hub-foot{margin:26px 0 0}
.atx-hub .atx-hub-tail{padding:2.5rem 0 3.5rem}
.atx-hub .atx-hub-tail h2{font-size:1.45rem;margin-block:0 1rem}

/* ---- Homepage: full-bleed guards (its structure is already full-bleed:
   main.atx.atx-home is max-width:none, the hero and dark sections run
   edge to edge with a centred .atx-wrap inside) ---- */
.atx-home .atx-section{width:100%}
.atx-home .atx-section-dark{border-radius:0;margin:0}
.atx .atx-hero{border-radius:0}

/* ---- Mobile: header, hero, wizard, stats (641–900px) ---- */
@media (max-width:900px){
  .atx .atx-header-inner .atx-cta{flex-basis:100%;text-align:center}
}

/* ---- Mobile: hero type, wizard padding, stats 2-per-row (≤640px) ---- */
@media (max-width:640px){
  .atx .atx-hero h1{font-size:clamp(1.9rem,8vw,2.2rem)}
  .atx-hub .atx-hub-hero h1{font-size:clamp(1.9rem,8vw,2.4rem)}
  .atx .atx-hero-sub{font-size:1.02rem}
  .atx-hero .atx-wizard{padding:1.1rem 1rem}
  .atx .atx-wizard fieldset{padding:.9rem .8rem}
  .atx .atx-wizard-wrap{padding:2rem 0}
  .atx .atx-stats{gap:1rem 1.6rem}
  .atx .atx-stats div{flex:1 1 40%;align-items:center}
  .atx-home .atx-section{padding:2.2rem 0}
  .atx .atx-meta{grid-template-columns:repeat(2,1fr)}
}

/* ---- Small phones (≤480px): search stacks, tighter gutters, no overflow ---- */
@media (max-width:480px){
  .atx-hub .atx-hub-search{flex-direction:column;gap:8px;border-radius:18px;padding:8px}
  .atx-hub .atx-hub-search input{width:100%;padding:10px 14px}
  .atx-hub .atx-hub-search button{width:100%;padding:10px 20px}
  .atx-hub .atx-hub-hero{padding:40px 16px 28px}
  .atx-hub .atx-hub-filters{gap:6px}
  .atx-hub .atx-chip-btn{padding:9px 14px}
  .atx-home .atx-wrap,.atx-hub .atx-wrap{padding-inline:1rem}
  .atx .atx-header-inner{padding:.6rem 1rem}
  .atx .atx-footer-inner{padding:2rem 1rem 1.5rem}
  .atx .atx-chip span{min-height:40px}
  .atx .atx-wizard-result .atx-actions .atx-btn{flex:1 1 100%;text-align:center}
  .atx img,.atx svg{max-width:100%}
  .atx .atx-table{font-size:.88rem}
}

/* ---- v1.3.6 ONE DARK THEME + WIDER CONTAINER — 2026-11-21 ----
   Muhammad's 22:13 Dubai screenshot of the homepage "Find your sign"
   section: the zodiac section was near-white with huge pale margins
   left and right, while its cards were dark — inconsistent with the
   dark hero and the dark /tools/ hub. Root cause, verified in CSS:
   body.atx-page is --atx-bg #faf5ec (near-white cream) and the plain
   .atx-section has NO background, so the three light sections
   (zodiac, guides, placements in template-home.php) showed the pale
   body background; only .atx-section-dark had background ink. Content
   sat in .atx-wrap max-width 1120px, so on a 1920px screen there were
   ~400px pale margins each side. The approved mockup's .site is dark
   full-bleed edge to edge. This block is appended last so it wins at
   equal specificity. Scoped to .atx-home / .atx-hub / the .atx
   header+footer only; the base cream .atx-card and the centred
   article column used by the tool-single / pillar templates, and the
   cream .atx-hub-tail on /tools/, are untouched. No ads added. */

/* ---- Whole homepage dark: no pale section left between dark ones ----
   The three light sections now also carry atx-section-dark in the
   template; these rules make EVERY homepage section dark regardless,
   so a missing class can never bring the pale background back. The
   white wizard card inside the dark hero keeps its contrast (it is a
   white .atx-wizard on dark, unchanged), and the white breadcrumb
   strip above the /tools/ hero is untouched (hub, not home). */
main.atx.atx-home{background:#12100d}
.atx-home .atx-section{background:#12100d;color:var(--atx-cream)}
.atx-home .atx-section h2,.atx-home .atx-section h3{color:var(--atx-cream)}
.atx-home .atx-section p{color:#cfc4ae}
.atx-home .atx-section .atx-eyebrow{color:#e8c877}
.atx-home .atx-section .atx-muted{color:#cfc4ae}

/* ---- Dark cards, warm night everywhere on the homepage ----
   Corrects the leftover navy #1d1933 (line 138, .atx-section-dark
   .atx-card — the v1.3.4 block never overrode it at equal
   specificity) to the mockup's warm night #1c1915 / #2e2a24, so
   cards in ALL homepage sections match, not just the ones that
   were dark before. */
.atx-home .atx-section-dark .atx-card{background:#1c1915;border-color:#2e2a24}

/* ---- Wider container: 1120px -> 1280px (home + hub) ----
   Content gets larger and side margins shrink; backgrounds stay
   edge to edge. Header/footer inners widen to match so the columns
   align. The hero wizard card stays 760px (more specific rule). */
.atx-home .atx-wrap,.atx-hub .atx-wrap{max-width:1280px;padding-inline:1.5rem}
.atx .atx-hero-inner{max-width:1280px;padding-inline:1.5rem}
.atx .atx-header-inner,.atx .atx-footer-inner{max-width:1280px}

/* ---- Small phones (≤480px): keep the v1.3.5 1rem gutters ----
   This block is later in the file than the v1.3.5 ≤480px rules, so
   the 1.5rem gutters above must be re-shrunk here explicitly. */
@media (max-width:480px){
  .atx-home .atx-wrap,.atx-hub .atx-wrap{padding-inline:1rem}
  .atx .atx-hero-inner{padding-inline:1rem}
}

/* ---- v1.3.7 WIZARD CONTRAST FIX + ALIGNMENT, HUB BREADCRUMB, PILLAR REDESIGN — 2026-11-21 ----
   Muhammad's 22:49 Dubai screenshot of the homepage wizard: the white
   card showed "Step 1 · Origins", "Date of birth" and "Birth city
   (optional)" in faint cream — nearly invisible on white — and the
   pillar pages were basic. Root cause, verified in CSS: the white
   .atx-wizard card (background #fff, NO explicit color) sits inside
   the dark .atx-hero (color cream #f4ecdd), so labels, legend and
   chips inherited cream-on-white; .atx-field label sets no color; and
   the JS-rendered .atx-result box (a white card, also inside the hero)
   inherits the hero's cream for its h2/p/dt/dd via
   .atx-hero .atx-wizard-wrap h2 and .atx-muted. This block is appended
   last so it wins at equal specificity. Scoped to .atx-wizard /
   .atx-hero / .atx-hub / .atx-pillar only; the frozen pages never load
   this file. No ads added. */

/* ---- Wizard card: explicit dark ink — no hero rule can override it ----
   The "Design Your Cosmic Tattoo" heading and subtext ABOVE the card
   (on the dark hero) stay cream — these rules only touch text INSIDE
   the white card and the white result box. */
.atx .atx-wizard{color:var(--atx-ink)}
.atx .atx-wizard legend{color:var(--atx-ink)}
.atx .atx-wizard .atx-field label{color:var(--atx-ink)}
.atx .atx-wizard .atx-field input,.atx .atx-wizard .atx-field textarea{color:var(--atx-ink)}
.atx .atx-wizard .atx-muted{color:var(--atx-muted)}
.atx .atx-wizard .atx-chip span{color:var(--atx-ink)}
.atx .atx-wizard .atx-chip input:checked+span{color:var(--atx-gold-soft)}
.atx .atx-wizard h2,.atx .atx-wizard h3{color:var(--atx-ink)}
/* Result box inside the hero wizard wrap: the white .atx-result card
   must be dark ink too. Specificity beats
   .atx-hero .atx-wizard-wrap h2 (0,2,1) and
   .atx-hero .atx-wizard-wrap .atx-muted (0,3,0). The dark .atx-prompt
   <pre> inside the result keeps its own cream-on-ink colors. */
.atx-hero .atx-wizard-result .atx-result{color:var(--atx-ink)}
.atx-hero .atx-wizard-result .atx-result h2{color:var(--atx-ink)}
.atx-hero .atx-wizard-result .atx-result h3{color:var(--atx-ink)}
.atx-hero .atx-wizard-result .atx-result p{color:var(--atx-ink)}
.atx-hero .atx-wizard-result .atx-result .atx-muted{color:var(--atx-muted)}
.atx-hero .atx-wizard-result .atx-result .atx-field label{color:var(--atx-ink)}
.atx-hero .atx-wizard-result .atx-result .atx-meta dt{color:var(--atx-muted)}
.atx-hero .atx-wizard-result .atx-result .atx-meta dd{color:var(--atx-ink)}
.atx-hero .atx-wizard-result .atx-result .atx-actions .atx-btn{background:#fff;color:var(--atx-ink);border:1.5px solid var(--atx-ink)}

/* ---- Hero wizard alignment: centred heading/subtext/steps, labels and
   inputs left-aligned inside the card, full-width primary button ---- */
.atx-hero .atx-wizard-wrap .atx-steps{justify-content:center}
.atx-hero .atx-wizard .atx-wizard-step[data-step="1"] .atx-btn.atx-cta{display:block;width:100%;text-align:center}
.atx-hero .atx-wizard .atx-wizard-step[data-step="2"]>p:last-child,.atx-hero .atx-wizard .atx-wizard-step[data-step="3"]>p:last-child{display:flex;gap:.6rem;flex-wrap:wrap}
.atx-hero .atx-wizard .atx-wizard-step[data-step="2"]>p:last-child .atx-btn.atx-cta,.atx-hero .atx-wizard .atx-wizard-step[data-step="3"]>p:last-child .atx-btn.atx-cta{flex:1 1 auto}
.atx-hero .atx-wizard .atx-wizard-step>p:last-child{margin-block:.4rem 0}

/* ---- Hub breadcrumb: dark bar, not a pale strip (v1.3.6 flag) ----
   The template now wraps the breadcrumb in a full-width .atx-hub-crumb
   div (inner .atx-wrap stays 1280px), so the dark bar runs edge to
   edge straight into the dark hero. */
.atx-hub .atx-hub-crumb{background:#12100d;padding:1.1rem 0 0}
.atx-hub .atx-hub-crumb nav[aria-label="Breadcrumb"]{color:#8d8271}
.atx-hub .atx-hub-crumb nav[aria-label="Breadcrumb"] a{color:#cfc4ae}
.atx-hub .atx-hub-crumb nav[aria-label="Breadcrumb"] a:hover{color:#e8c877;text-decoration:underline}

/* ---- PILLAR PAGES (v1.3.7): same premium dark theme as home/hub ----
   The old template was a centred 1120px cream article column with a
   table, plain bullet lists and raw URLs. The new template is a
   full-bleed dark hero + dark sections, 1280px centred content. */
main.atx.atx-pillar{max-width:none;padding:0;background:#12100d;color:var(--atx-cream);overflow-x:clip}
.atx-pillar .atx-wrap{max-width:1280px;margin-inline:auto;padding-inline:1.5rem}
.atx-pillar .atx-muted{color:#a99c80}
.atx-pillar-hero{position:relative;overflow:hidden;background:#12100d;border-block-end:3px solid var(--atx-gold);padding:2.2rem 0 3rem;text-align:center}
.atx-pillar-hero::before{content:"";position:absolute;inset:0;background-image:radial-gradient(1.2px 1.2px at 12% 30%,#e8c877 50%,transparent 51%),radial-gradient(1px 1px at 82% 18%,#fff 50%,transparent 51%),radial-gradient(1.4px 1.4px at 64% 62%,#e8c877 50%,transparent 51%),radial-gradient(1px 1px at 30% 78%,#fff 50%,transparent 51%),radial-gradient(1px 1px at 92% 70%,#e8c877 50%,transparent 51%),radial-gradient(1px 1px at 45% 12%,#fff 50%,transparent 51%);opacity:.5;pointer-events:none}
.atx-pillar-hero>*{position:relative;z-index:1}
.atx-pillar .atx-pillar-hero nav[aria-label="Breadcrumb"]{color:#8d8271;text-align:start}
.atx-pillar .atx-pillar-hero nav[aria-label="Breadcrumb"] a{color:#cfc4ae}
.atx-pillar .atx-pillar-hero nav[aria-label="Breadcrumb"] a:hover{color:#e8c877}
.atx-pillar-hero .atx-eyebrow{color:#e8c877;letter-spacing:.22em;margin-block:1.2rem .6rem}
.atx-pillar-hero h1{color:#fff;font-size:clamp(2rem,4.5vw,3rem);line-height:1.12;max-width:820px;margin:0 auto 1rem}
.atx-pillar-sub{color:#cfc4ae;max-width:640px;margin:0 auto 1.4rem;font-size:1.05rem}
.atx-pillar-hero-cta{margin:0}
.atx-pillar-body{padding:3rem 0 3.5rem}
.atx-pillar-body h2{color:var(--atx-cream);font-size:1.7rem;margin-block:2.4rem .9rem}
.atx-pillar-body p{color:#cfc4ae}
.atx-pillar-lede{font-size:1.08rem;max-width:72ch}
/* Key facts: 4 dark cards */
.atx-pillar-facts{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:0}
.atx-pillar-fact{background:#1c1915;border:1px solid #2e2a24;border-radius:18px;padding:20px 18px}
.atx-pillar-fact dt{font-family:"IBM Plex Mono",ui-monospace,monospace;font-size:.75rem;letter-spacing:.12em;text-transform:uppercase;color:#a99c80}
.atx-pillar-fact dd{margin:.45rem 0 0;color:#fff;font-weight:700;font-size:1.05rem;line-height:1.45}
.atx-pillar-fact .atx-fact-note{display:block;margin-top:.55rem;font-size:.8rem;line-height:1.5;color:#cfc4ae;font-weight:400}
/* Real image gallery */
.atx-pillar-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:14px}
.atx-pillar-gallery figure{background:#1c1915;border:1px solid #2e2a24;border-radius:18px;overflow:hidden;margin:0}
.atx-pillar-gallery img{width:100%;height:auto;display:block}
.atx-pillar-gallery figcaption{padding:14px 16px;color:#cfc4ae;font-size:.85rem;line-height:1.5;border-block-start:1px solid #2e2a24}
.atx-pillar-gallery figcaption b{display:block;color:#fff;margin-block-end:.2rem;font-size:.9rem}
/* Image ideas: numbered dark cards */
.atx-pillar-ideas{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.atx-pillar-ideas>:last-child:nth-child(odd){grid-column:1/-1}
.atx-pillar-idea{background:#1c1915;border:1px solid #2e2a24;border-radius:18px;padding:16px 18px;display:flex;gap:14px;align-items:flex-start}
.atx-pillar-idea .atx-ic{flex:none;width:46px;height:46px;border-radius:13px;background:#2a2314;border:1px solid #453a1e;display:grid;place-items:center;color:#e8c877;margin:0;font-family:"IBM Plex Mono",ui-monospace,monospace;font-weight:600;font-size:1rem}
.atx-pillar-idea p{margin:0;color:var(--atx-cream);padding-block-start:.5rem}
.atx-pillar-note{background:#1c1915;border:1px solid #453a1e;border-inline-start:5px solid var(--atx-gold);border-radius:.6rem;padding:1rem 1.1rem;margin-block:1.2rem;color:#cfc4ae}
.atx-pillar-note strong{color:#e8c877}
/* Supporting pages: text chips, NOT links */
.atx-pillar-chips{display:flex;flex-wrap:wrap;gap:.55rem;list-style:none;margin:0;padding:0}
.atx-pillar-chips li{border:1.5px solid #4a4436;border-radius:2rem;padding:.5rem .95rem;font-weight:600;color:#cfc4ae;background:#1c1915}
/* Try-it + related placements: mockup dark cards (same pattern as home/hub) */
.atx-pillar-tools{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.atx-pillar .atx-card{background:#1c1915;border:1px solid #2e2a24;border-radius:18px;padding:20px 18px 16px;display:flex;flex-direction:column;gap:9px;color:var(--atx-cream);box-shadow:none}
.atx-pillar .atx-card:hover{border-color:#e8c877;transform:translateY(-2px);box-shadow:0 6px 18px rgba(0,0,0,.35)}
.atx-pillar .atx-card h3{font-size:1.06rem;line-height:1.25;margin:0;color:#fff}
.atx-pillar .atx-card h3 a{color:#fff;text-decoration:none}
.atx-pillar .atx-card h3 a:hover{color:#e8c877;text-decoration:none}
.atx-pillar .atx-card .atx-card-desc{margin:0;font-size:.84rem;color:#cfc4ae}
.atx-pillar .atx-card .atx-card-meta{display:flex;justify-content:space-between;align-items:center;gap:.6rem;border-top:1px solid #2e2a24;padding-top:11px;margin:0;margin-top:auto}
.atx-pillar .atx-card .atx-cat{font-family:"IBM Plex Mono",ui-monospace,monospace;letter-spacing:.08em;text-transform:uppercase;color:#a99c80;font-size:.74rem}
.atx-pillar .atx-card .atx-open{color:#e8c877;font-weight:800;font-size:.85rem;text-decoration:none;white-space:nowrap}
.atx-pillar .atx-card .atx-open:hover{color:#fff;text-decoration:underline}
.atx-pillar .atx-ic{width:46px;height:46px;border-radius:13px;background:#2a2314;border:1px solid #453a1e;display:grid;place-items:center;color:#e8c877;margin:0}
.atx-pillar .atx-ic svg{display:block}
/* FAQ on dark */
.atx-pillar .atx-faq details{background:#1c1915;border-color:#2e2a24}
.atx-pillar .atx-faq summary{color:var(--atx-cream)}
.atx-pillar .atx-faq details p{color:#cfc4ae}
/* Table on dark (v1.3.32 fix): the base table is white with no td colour, so
   on dark pillar pages the cream body text was invisible on white. */
.atx-pillar .atx-table{background:#1c1915;border:1px solid #2e2a24}
.atx-pillar .atx-table th{background:#2a2314;color:#e8c877;border-color:#2e2a24}
.atx-pillar .atx-table td{color:var(--atx-cream);border-color:#2e2a24}
.atx-pillar .atx-table tbody tr:nth-child(even){background:#211d18}
.atx-pillar .atx-table td:first-child{color:#fff}
/* Pillar responsive: 4 -> 2 -> 1 */
@media(max-width:1020px){
  .atx-pillar-facts{grid-template-columns:repeat(2,1fr)}
  .atx-pillar-tools{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:760px){
  .atx-pillar-tools{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:640px){
  .atx-pillar-facts{grid-template-columns:1fr}
  .atx-pillar-ideas{grid-template-columns:1fr}
  .atx-pillar-tools{grid-template-columns:1fr}
  .atx-pillar .atx-wrap{padding-inline:1rem}
  .atx-pillar-body{padding:2.2rem 0 2.5rem}
  .atx-pillar-body h2{font-size:1.45rem}
}

/* ---- v1.3.8: hub breadcrumb margin-collapse band fix ----
   v1.3.7 made the crumb strip dark, but a full-width pale band still sat
   between it and the dark hero. Root cause: the base rule (line 29)
   `main.atx nav[aria-label="Breadcrumb"]{margin-block-end:1rem}` — the
   nav's 1rem bottom margin collapses out of .atx-hub-crumb, because the
   v1.3.7 crumb rule set `padding:1.1rem 0 0` (bottom padding 0, no border,
   no flow-root), so the margin pushed the hero down and the gap showed
   the pale body background (#faf5ec) through. Contain it both ways:
   bottom padding on the crumb AND zero bottom margin on the nav (this
   3-class nav rule beats the base 1-class rule). Hero, grid and crumb
   colours are already correct — untouched. The pillar hero needs no
   change: its breadcrumb sits inside .atx-pillar-hero, which has padding
   all round, so its margin is contained already. */
.atx-hub .atx-hub-crumb{padding:1.1rem 0}
.atx-hub .atx-hub-crumb nav[aria-label="Breadcrumb"]{margin-block-end:0}

/* ---- v1.3.9 AdSense slots — 2026-11-21 ----
   Muhammad chose AdSense slots on the homepage + tools hub (23:21 Dubai).
   2 slots per page, one implementation (templates/partials/ad-slot.php):
   a full-width dark strip (#12100d, so it is continuous with the dark
   hero/body on both pages) holding a dark card (#1c1915, 1px #2e2a24,
   radius 18px like the tool cards) with a small mono ADVERTISEMENT label.
   Placeholder state (no publisher ID yet): min-height 120px desktop /
   90px mobile, so the slot's size is visible on staging without layout
   shift when a real ad loads. Live state: the <ins> fills the box and
   sizes itself (data-ad-format="auto", full-width responsive). Scoped
   under .atx-ad only — cannot leak into the frozen pages. Mobile: the
   strip keeps the 1rem gutters and the box stays full-width in the
   1-column flow; no horizontal overflow. */
.atx-ad{background:#12100d;padding:2rem 0}
.atx-ad-box{background:#1c1915;border:1px solid #2e2a24;border-radius:18px;padding:1rem 1.25rem;min-height:120px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.4rem;text-align:center}
.atx-ad-label{font-family:"IBM Plex Mono",ui-monospace,monospace;font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;color:#8d8271;margin:0}
.atx-ad-note{color:#cfc4ae;font-size:.9rem;margin:0}
.atx-ad-box ins.adsbygoogle{display:block;width:100%;min-height:90px}
@media (max-width:480px){
  .atx-ad{padding:1.5rem 0}
  .atx-ad-box{min-height:90px}
}

/* ---- v1.3.10 Try-on overlay + downloads use the realistic image — 2026-11-21 ----
   Muhammad's 23:26 Dubai screenshot: the Aquarius result shows the realistic
   image in the main preview, but the Virtual Try-On stage shows a small
   opaque demo square (glyph) on the uploaded photo. Root cause, verified in
   assets/js/astro-tools.js: the overlay was always `overlay.innerHTML=svg`,
   justified by a comment claiming the SVG is a transparent line drawing —
   wrong, wizardSVG() paints a solid cream rect, so the overlay was an opaque
   demo sticker, not a tattoo preview. Fix (JS): when designUrl exists, the
   overlay is an <img> of the same realistic design; the SVG is fallback
   only. The realistic WebP is black ink on a light cream background, so the
   overlay image uses mix-blend-mode:multiply (plus the overlay's existing
   opacity .92) — the light background blends into the photo while the dark
   ink stays, reading as ink on skin. Stage/overlay positioning untouched;
   the existing `.atx-tryon-overlay svg` rule above still serves the fallback. */
.atx .atx-tryon-overlay img{width:100%;height:auto;display:block;mix-blend-mode:multiply}

/* ---- v1.3.11 Try-on blend fix — 2026-11-21 ----
   Staging check 23:56 Dubai (v1.3.10): the overlay showed the realistic
   design, but as an opaque solid cream rectangle — the skin did not show
   through at all. Root cause: v1.3.10 put mix-blend-mode:multiply on the
   <img> INSIDE .atx-tryon-overlay, but the overlay div itself has
   opacity:.92 (line 183), and opacity < 1 creates a stacking context that
   ISOLATES the img's blend — the img blends only against its parent's
   transparent background, never against the photo beneath. Fix: the blend
   moves to the overlay DIV itself — an element's own mix-blend-mode blends
   it with the backdrop (the photo), and the div's opacity then applies to
   the blended result. The v1.3.10 img-level rule is overridden to normal
   below so no two conflicting blend rules remain. A soft radial edge mask
   (62% solid → 88% transparent, with -webkit- prefix for Safari) fades the
   square's edges into the skin so no hard rectangle edge shows. Positioning
   (absolute, top 8%, left 50%, translateX(-50%), width from the size
   slider), photo upload, size slider, local-only behaviour and the
   "Approximate only" note are unchanged. */
.atx .atx-tryon-overlay{mix-blend-mode:multiply;-webkit-mask-image:radial-gradient(ellipse at center,#000 62%,transparent 88%);mask-image:radial-gradient(ellipse at center,#000 62%,transparent 88%)}
.atx .atx-tryon-overlay img{mix-blend-mode:normal}

/* ---- v1.3.12 Drag-to-move try-on — 2026-11-22 ----
   Muhammad's request 00:27 Dubai: the design must be MOVABLE on the photo
   with the mouse, not just resizable — the overlay sat fixed at top 8%,
   left 50% (base rule, line 183) and only the size slider moved anything.
   Fix: the overlay is now draggable via Pointer Events (mouse AND touch).
   pointer-events:auto overrides the base rule's pointer-events:none
   (same specificity, this block is later in the file). touch-action:none
   stops a touch drag from scrolling the page; cursor grab/grabbing signals
   the drag; user-select:none stops text/image selection mid-drag. The
   v1.3.11 blend (multiply on the overlay DIV) and the soft radial edge
   mask are NOT touched — dragging only changes left/top, never the blend. */
.atx .atx-tryon-overlay{pointer-events:auto;cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}
.atx .atx-tryon-overlay.atx-dragging{cursor:grabbing}
.atx .atx-tryon-overlay img{-webkit-user-drag:none}

/* ---- v1.3.13 Try-on clamp fix + Reset position — 2026-11-22 ----
   Staging check 00:29-00:45 Dubai (v1.3.12): drag mostly worked, but a
   drop well outside, below-left of the photo, left the design FULLY
   invisible (overlay still in the DOM) and un-grabbable. Root cause:
   the v1.3.12 clamp was arithmetically correct for a 25% box-overlap
   rule, but a diagonal drag parked the design with only a 25%x25%
   corner sliver on the photo — and that sliver is exactly where the
   v1.3.11 radial mask fades to transparent (opaque to 62% of the
   ellipse radius, transparent from 88%) and the designs carry no ink,
   so the sliver rendered nothing. The JS now clamps the overlay
   CENTRE inside the photo's real box (getBoundingClientRect), which
   keeps >=50% of the design on the photo in each axis and the ink
   centre + grab point always visible. This block only styles the new
   "Reset position" button: it sits in a flex row next to the size
   slider (field takes the free width, button hugs the bottom), small,
   in the same white/ink style as the other try-on action buttons
   (Download design / New Variant). Blend, mask, drag and hint text
   are untouched. */
.atx .atx-tryon-size-row{display:flex;align-items:flex-end;gap:.6rem;flex-wrap:wrap}
.atx .atx-tryon-size-row .atx-field{flex:1 1 220px}
.atx .atx-tryon-size-row .atx-btn{background:#fff;color:var(--atx-ink);border:1.5px solid var(--atx-ink);padding:.45rem .8rem;font-size:.9rem;white-space:nowrap}
.atx .atx-tryon-size-row .atx-btn:hover{background:#f4ecdd;color:var(--atx-ink)}

/* ---- v1.3.40 Pillar template rebuild — 2026-11-24 ----
   Appended only; no existing rule touched.
   1. Supporting-page chips: the <li> already carries the dark pill
   (border #4a4436, bg #1c1915). The <a> fills it exactly (negative
   margin = the li padding) so the whole pill is the link, in gold
   with no underline — never the browser-default bright-blue link.
   Hover flips to a gold pill with dark text.
   2. WP admin bar offset for the sticky site header: 32px desktop,
   46px at <=782px (the standard admin-bar heights). Without this the
   sticky header sits under the admin bar when logged in.
   3. Large hero figure for the first gallery image on pillar pages
   (same dark figure styling as the gallery, wider). */
.atx-pillar-chips a{display:block;margin:-.5rem -.95rem;padding:.5rem .95rem;border:1.5px solid #4a4436;border-radius:2rem;background:#1c1915;color:#e8c877;text-decoration:none;font-weight:600}
.atx-pillar-chips a:hover{background:#e8c877;color:#12100d;border-color:#e8c877;text-decoration:none}
.atx-pillar-chips a:focus-visible{outline:2px solid #e8c877;outline-offset:2px}
body.admin-bar .atx-site-header{top:32px}
@media screen and (max-width:782px){body.admin-bar .atx-site-header{top:46px}}
.atx-pillar-hero-figure{max-width:720px;margin:0 auto 14px;background:#1c1915;border:1px solid #2e2a24;border-radius:18px;overflow:hidden}
.atx-pillar-hero-figure img{width:100%;height:auto;display:block}
.atx-pillar-hero-figure figcaption{padding:14px 16px;color:#cfc4ae;font-size:.85rem;line-height:1.5;border-block-start:1px solid #2e2a24}
.atx-pillar-hero-figure figcaption b{display:block;color:#fff;margin-block-end:.2rem;font-size:.9rem}
.atx-pillar-hero .atx-pillar-hero-figure{margin:1.6rem auto 0}

/* ---- v1.3.43 TOOL PAGES: DARK PREMIUM THEME (cost-estimator pilot) — 2026-11-25 ----
   Visual check of the live /tools/tattoo-cost-estimator/ page: it rendered
   on the pale cream body (#faf5ec, body.atx-page + main.atx background)
   with a magenta/pink "Estimate cost" button, while the homepage, hub
   and pillars are the dark premium design. Root cause of the cream:
   body.atx-page is --atx-bg #faf5ec and main.atx carries the same
   background in a centred 1120px column. The magenta button is NOT in
   this file (no pink/magenta value exists in the plugin tree — it comes
   from the theme/Elementor default button); the scoped gold rule below
   overrides it on tool pages. This block is appended last so it wins at
   equal specificity. EVERY rule is scoped under main.atx.atx-tool-page
   (the class template-tool-single.php adds to <main>), so pillar, sign,
   home, hub and frozen pages are untouched. body.atx-page is left alone
   — it is shared by home/hub/pillars, which set their own main
   backgrounds, and the tool <main> below is full-bleed dark, so no
   cream shows through on tool pages.
   Table: the v1.3.32 fix made .atx-table td dark-on-light for the WHITE
   base table; on the new dark page that white table would be a glaring
   block, so tool-page tables reuse the pillar dark-table pattern
   (#1c1915 body, #2a2314 header, cream cells) instead. */
main.atx.atx-tool-page{max-width:none;padding:0 0 3.5rem;background:#12100d;color:#f4ecdd;overflow-x:clip}
main.atx.atx-tool-page .atx-tool-wrap{max-width:1120px;margin-inline:auto;padding:2rem 1.25rem 0}
main.atx.atx-tool-page h1,main.atx.atx-tool-page h2,main.atx.atx-tool-page h3{color:#fff}
main.atx.atx-tool-page .atx-tool-wrap>h1{font-size:2.2rem;letter-spacing:-.01em;padding-block-end:.6rem;border-block-end:3px solid var(--atx-gold);margin-block-end:1rem}
main.atx.atx-tool-page .atx-tool-wrap>h2{font-size:1.45rem;margin-block-start:2rem}
main.atx.atx-tool-page p{color:#cfc4ae}
main.atx.atx-tool-page a{color:#e8c877}
main.atx.atx-tool-page a:hover{color:#fff}
main.atx.atx-tool-page nav[aria-label="Breadcrumb"]{color:#8d8271}
main.atx.atx-tool-page nav[aria-label="Breadcrumb"] a{color:#cfc4ae}
main.atx.atx-tool-page nav[aria-label="Breadcrumb"] a:hover{color:#e8c877}
/* Gold buttons (same treatment as .atx-btn.atx-cta): gold bg, dark text. Scoped to tool pages only — the header CTA and wizard buttons elsewhere are untouched. */
main.atx.atx-tool-page .atx-btn{background:var(--atx-gold);color:#12100d;font-weight:700}
main.atx.atx-tool-page .atx-btn:hover{background:#e8c877;color:#12100d}
/* Dark form controls inside the tool mount */
main.atx.atx-tool-page .atx-field label,main.atx.atx-tool-page .atx-tool label{color:#f4ecdd}
main.atx.atx-tool-page .atx-field input,main.atx.atx-tool-page .atx-field select,main.atx.atx-tool-page .atx-field textarea,main.atx.atx-tool-page .atx-tool input,main.atx.atx-tool-page .atx-tool select{background:#1c1915;color:#f4ecdd;border-color:#4a4436}
main.atx.atx-tool-page .atx-field input:focus,main.atx.atx-tool-page .atx-field select:focus,main.atx.atx-tool-page .atx-tool input:focus,main.atx.atx-tool-page .atx-tool select:focus{border-color:var(--atx-gold);outline:3px solid rgba(201,162,74,.35)}
/* Dark result box (JS-rendered .atx-result) */
main.atx.atx-tool-page .atx-result{background:#1c1915;border-color:#2e2a24;color:#f4ecdd}
main.atx.atx-tool-page .atx-result h2,main.atx.atx-tool-page .atx-result h3{color:#fff}
main.atx.atx-tool-page .atx-result p{color:#cfc4ae}
main.atx.atx-tool-page .atx-result .atx-muted{color:#a99c80}
main.atx.atx-tool-page .atx-result a{color:#e8c877}
/* Dark disclaimer, meta boxes, prompt and aging preview (other tools share this template) */
main.atx.atx-tool-page .atx-disclaimer{background:#1c1915;border-color:#453a1e;color:#cfc4ae}
main.atx.atx-tool-page .atx-disclaimer strong{color:#e8c877}
main.atx.atx-tool-page .atx-meta div{background:#1c1915;border-color:#2e2a24}
main.atx.atx-tool-page .atx-meta dt{color:#a99c80}
main.atx.atx-tool-page .atx-meta dd{color:#fff}
main.atx.atx-tool-page .atx-aging-preview{background:#1c1915;border-color:var(--atx-gold)}
main.atx.atx-tool-page .atx-aging-preview p{color:#cfc4ae}
/* Hero figure for per-tool hero_image (same dark figure styling as pillar hero figures) */
.atx-tool-hero-figure{max-width:720px;margin:0 auto 1.4rem;background:#1c1915;border:1px solid #2e2a24;border-radius:18px;overflow:hidden}
.atx-tool-hero-figure img{width:100%;height:auto;display:block}
/* Per-tool content sections */
main.atx.atx-tool-page .atx-tool-section{margin-block:1.6rem}
main.atx.atx-tool-page .atx-tool-section h2{margin-block-start:0}
main.atx.atx-tool-page .atx-tool-section p{color:#cfc4ae}
main.atx.atx-tool-page .atx-tool-section li{color:#cfc4ae}
/* Table on dark — pillar pattern, NOT the white base table */
main.atx.atx-tool-page .atx-table{background:#1c1915;border:1px solid #2e2a24}
main.atx.atx-tool-page .atx-table th{background:#2a2314;color:#e8c877;border-color:#2e2a24}
main.atx.atx-tool-page .atx-table td{color:#f4ecdd;border-color:#2e2a24}
main.atx.atx-tool-page .atx-table tbody tr:nth-child(even){background:#211d18}
main.atx.atx-tool-page .atx-table td:first-child{color:#fff}
/* How-it-works: numbered dark cards, not a bare list */
main.atx.atx-tool-page .atx-how-list{list-style:none;counter-reset:atx-step;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin:0;padding:0}
main.atx.atx-tool-page .atx-how-list li{counter-increment:atx-step;background:#1c1915;border:1px solid #2e2a24;border-radius:18px;padding:1.1rem 1.2rem;color:#cfc4ae;line-height:1.55}
main.atx.atx-tool-page .atx-how-list li::before{content:counter(atx-step);display:grid;place-items:center;width:46px;height:46px;border-radius:13px;background:#2a2314;border:1px solid #453a1e;color:#e8c877;font-family:"IBM Plex Mono",ui-monospace,monospace;font-weight:600;font-size:1.05rem;margin-block-end:.7rem}
/* Related tools: real dark cards (same pattern as home/hub/pillar cards) */
main.atx.atx-tool-page .atx-related-grid{margin-block:1rem 0}
main.atx.atx-tool-page .atx-card{background:#1c1915;border:1px solid #2e2a24;border-radius:18px;padding:20px 18px 16px;display:flex;flex-direction:column;gap:9px;color:#f4ecdd;box-shadow:none}
main.atx.atx-tool-page .atx-card:hover{border-color:#e8c877;transform:translateY(-2px);box-shadow:0 6px 18px rgba(0,0,0,.35)}
main.atx.atx-tool-page .atx-card h3{font-size:1.06rem;line-height:1.25;margin:0;color:#fff}
main.atx.atx-tool-page .atx-card h3 a{color:#fff;text-decoration:none}
main.atx.atx-tool-page .atx-card h3 a:hover{color:#e8c877;text-decoration:none}
main.atx.atx-tool-page .atx-card .atx-card-desc{margin:0;font-size:.84rem;color:#cfc4ae}
main.atx.atx-tool-page .atx-card .atx-card-meta{display:flex;justify-content:space-between;align-items:center;gap:.6rem;border-top:1px solid #2e2a24;padding-top:11px;margin:0;margin-top:auto}
main.atx.atx-tool-page .atx-card .atx-open{color:#e8c877;font-weight:800;font-size:.85rem;text-decoration:none;white-space:nowrap}
main.atx.atx-tool-page .atx-card .atx-open:hover{color:#fff;text-decoration:underline}
/* FAQ on dark */
main.atx.atx-tool-page .atx-faq details{background:#1c1915;border-color:#2e2a24}
main.atx.atx-tool-page .atx-faq summary{color:#f4ecdd}
main.atx.atx-tool-page .atx-faq summary:hover{color:#e8c877}
main.atx.atx-tool-page .atx-faq details p{color:#cfc4ae}
@media (max-width:640px){
  main.atx.atx-tool-page .atx-how-list{grid-template-columns:1fr}
  main.atx.atx-tool-page .atx-tool-wrap{padding:1.4rem 1rem 0}
  main.atx.atx-tool-page .atx-tool-wrap>h1{font-size:1.7rem}
}

/* v1.3.44 — Phase B hub child cards: image on top of the card (template-phaseb.php).
   Append-only; scoped under .atx so frozen pages and other templates are untouched. */
.atx .atx-card .atx-card-img{margin:0 0 12px}
.atx .atx-card .atx-card-img img{width:100%;height:auto;display:block;border-radius:12px}

/* v1.3.46 — Aging Simulator compare view (template-tool-single.php tool page).
   Append-only; scoped under main.atx.atx-tool-page like the v1.3.43 block. */
main.atx.atx-tool-page .atx-aging-compare{display:flex;gap:1rem;flex-wrap:wrap;margin:1rem 0}
main.atx.atx-tool-page .atx-aging-fig{flex:1 1 240px;margin:0;text-align:center}
main.atx.atx-tool-page .atx-aging-fig canvas{max-width:100%;height:auto;border-radius:12px;border:1px solid #2e2a24;background:#faf5ec}
main.atx.atx-tool-page .atx-aging-fig figcaption{margin-top:.5rem;color:#cfc4ae;font-size:.9rem}
main.atx.atx-tool-page .atx-aging-years{margin-left:.6rem;color:#e8c877;font-weight:700}

/* v1.3.49 — Placement Pain Guide: full placement cards + stored-range bar
   (template-tool-single.php tool page). Append-only; scoped under
   main.atx.atx-tool-page like the v1.3.43 block. The bar spans exactly the
   range stored in data/pillars.json for the placement — it is a picture of
   the stored range, not a score. */
main.atx.atx-tool-page .atx-pain-compare{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));margin-block-start:1rem}
main.atx.atx-tool-page .atx-pain-card{background:#12100d;border:1px solid #2e2a24;border-radius:10px;padding:1rem 1.1rem}
main.atx.atx-tool-page .atx-pain-card h3{margin-block-start:0}
main.atx.atx-tool-page .atx-pain-row{margin:.45rem 0}
main.atx.atx-tool-page .atx-pain-row strong{color:#f4ecdd}
main.atx.atx-tool-page .atx-pain-track{position:relative;height:10px;background:#2e2a24;border-radius:5px;margin:.35rem 0 .2rem}
main.atx.atx-tool-page .atx-pain-band{position:absolute;top:0;height:10px;min-width:10px;background:var(--atx-gold);border-radius:5px}
main.atx.atx-tool-page .atx-pain-scale{display:flex;justify-content:space-between;gap:1rem;font-size:.78rem;color:#a99c80;margin-block-end:.4rem}

/* v1.3.54 — Birth-Chart Wheel: the centred SVG wheel figure inside
   the JS result (template-tool-single.php tool page). Append-only;
   scoped under main.atx.atx-tool-page like the blocks above. The
   placements table reuses the existing .atx-table styles. */
main.atx.atx-tool-page .atx-wheel-figure{margin:1rem auto;max-width:340px}
main.atx.atx-tool-page .atx-wheel-figure svg{display:block;width:100%;height:auto}

/* v1.3.55 — Sun + Moon + Rising Fusion: the centred SVG emblem
   figure inside the JS result, and the file-name label beside the
   Aging / Laser photo-upload inputs (the span the v1.3.55 JS
   micro-fix keeps updated). Append-only; scoped under
   main.atx.atx-tool-page like the blocks above. */
main.atx.atx-tool-page .atx-fusion-figure{margin:1rem auto;max-width:300px}
main.atx.atx-tool-page .atx-fusion-figure svg{display:block;width:100%;height:auto}
main.atx.atx-tool-page .atx-file-name{margin-inline-start:.6rem;font-size:.85rem;color:#a99c80}

/* v1.3.56 — Tarot Card of the Day: the browse-all-22 grid inside the
   JS tool (template-tool-single.php tool page). Append-only; scoped
   under main.atx.atx-tool-page like the blocks above. The detail
   panel below the grid reuses the shared .atx-result styling;
   today's cell is outlined in gold. */
main.atx.atx-tool-page .atx-tarot-grid{display:grid;gap:.5rem;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));margin:1rem 0}
main.atx.atx-tool-page .atx-tarot-grid .atx-btn{width:100%}
main.atx.atx-tool-page .atx-tarot-today{border-color:#C9A24A;color:#e8c877}

/* v1.3.58 — Moon Phase Finder: the centred SVG moon disc inside
   the JS result (template-tool-single.php tool page). Append-only;
   scoped under main.atx.atx-tool-page like the blocks above. The
   disc itself is drawn by the JS from the computed elongation —
   its lit fraction is the computed illumination. */
main.atx.atx-tool-page .atx-moon-figure{margin:1rem auto;max-width:200px}
main.atx.atx-tool-page .atx-moon-figure svg{display:block;width:100%;height:auto}
