:root{--bg:#f7f8fc;--surface:#fff;--text:#172033;--muted:#667085;--brand:#6c4df6;--brand-dark:#4d32cf;--accent:#ffbf47;--line:#e7e9f1;--shadow:0 14px 34px rgba(23,32,51,.08);--radius:22px;--container:1180px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.6}img{max-width:100%;height:auto;display:block}a{color:inherit;text-decoration:none}h1,h2,h3{line-height:1.15;margin:0 0 .65em}h1{font-size:clamp(2.5rem,6vw,5.5rem);letter-spacing:-.045em}h2{font-size:clamp(2rem,4vw,3.3rem);letter-spacing:-.035em}.container{width:min(calc(100% - 32px),var(--container));margin-inline:auto}.section{padding:72px 0}.section--soft{background:#eff1f8}.content-narrow{max-width:850px}.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link:focus{clip:auto!important;width:auto;height:auto;top:8px;left:8px;background:#fff;padding:10px;z-index:9999}.site-header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.92);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}.site-header__inner{min-height:74px;display:flex;align-items:center;justify-content:space-between;gap:24px}.site-title{font-size:1.55rem;font-weight:900;letter-spacing:-.04em}.primary-navigation .menu{display:flex;gap:22px;list-style:none;margin:0;padding:0;align-items:center}.primary-navigation a{font-size:.95rem;font-weight:700;color:#344054}.primary-navigation a:hover{color:var(--brand)}.menu-toggle{display:none;background:none;border:0;padding:8px}.menu-toggle span:not(.screen-reader-text){display:block;width:24px;height:2px;background:#111;margin:5px}.hero{overflow:hidden;background:linear-gradient(135deg,#fff 0%,#f0edff 60%,#fff5df 100%);border-bottom:1px solid var(--line)}.hero__inner{min-height:620px;display:grid;grid-template-columns:1.2fr .8fr;align-items:center;gap:64px}.hero__content p{font-size:1.25rem;color:var(--muted);max-width:670px;margin:0 0 30px}.eyebrow{text-transform:uppercase;letter-spacing:.16em;font-weight:900;color:var(--brand);font-size:.78rem}.button{display:inline-flex;align-items:center;justify-content:center;background:var(--brand);color:#fff;border-radius:999px;padding:15px 25px;font-weight:800;box-shadow:0 12px 24px rgba(108,77,246,.24)}.button:hover{background:var(--brand-dark);transform:translateY(-1px)}.hero__visual{position:relative;min-height:420px}.puzzle-orb{position:absolute;border-radius:32px;display:grid;place-items:center;font-weight:900;box-shadow:var(--shadow)}.puzzle-orb--one{width:220px;height:220px;right:10%;top:10%;font-size:4rem;background:var(--brand);color:#fff;transform:rotate(8deg)}.puzzle-orb--two{width:150px;height:150px;left:5%;bottom:10%;font-size:4rem;background:var(--accent);transform:rotate(-10deg)}.puzzle-orb--three{width:120px;height:120px;right:4%;bottom:5%;font-size:3rem;background:#fff}.category-strip__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.category-tile{background:var(--surface);padding:24px;border-radius:18px;border:1px solid var(--line);box-shadow:0 8px 20px rgba(23,32,51,.04);transition:.2s}.category-tile:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.category-tile strong,.category-tile span{display:block}.category-tile strong{font-size:1.08rem}.category-tile span{color:var(--muted);font-size:.9rem;margin-top:4px}.section-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:28px}.card-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}.puzzle-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:0 8px 24px rgba(23,32,51,.05);transition:.2s}.puzzle-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.puzzle-card__image{aspect-ratio:4/3;background:linear-gradient(135deg,#e6e0ff,#fff0cf);display:grid;place-items:center;overflow:hidden}.puzzle-card__image img{width:100%;height:100%;object-fit:cover}.puzzle-card__placeholder{font-size:4rem;font-weight:900;color:var(--brand)}.puzzle-card__body{padding:20px}.puzzle-card__meta{font-size:.75rem;text-transform:uppercase;letter-spacing:.1em;color:var(--brand);font-weight:900}.puzzle-card__title{font-size:1.2rem;margin:.45rem 0}.puzzle-card__body p{margin:0;color:var(--muted);font-size:.93rem}.empty-state{text-align:center;padding:46px;background:#fff;border:1px dashed #cfd3df;border-radius:var(--radius)}.archive-header{margin-bottom:32px}.archive-description{max-width:700px;color:var(--muted)}.entry-header{margin-bottom:26px}.entry-meta{color:var(--brand);font-weight:800;margin-bottom:10px}.entry-hero{margin:28px 0;border-radius:var(--radius);overflow:hidden}.entry-content{font-size:1.08rem}.entry-content>*{max-width:100%}.site-footer{background:#151a2a;color:#d5d9e3;padding:64px 0 24px}.site-footer__grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:40px}.site-title--footer{color:#fff}.site-footer .menu{list-style:none;margin:0;padding:0}.site-footer a:hover{color:#fff}.site-footer__bottom{border-top:1px solid rgba(255,255,255,.1);margin-top:40px;padding-top:20px;font-size:.9rem;color:#98a2b3}.nav-links{display:flex;justify-content:center;gap:8px;margin-top:36px}.page-numbers{background:#fff;border:1px solid var(--line);padding:9px 13px;border-radius:10px}.page-numbers.current{background:var(--brand);color:#fff}.wp-caption{max-width:100%}@media(max-width:980px){.primary-navigation{display:none;position:absolute;top:74px;left:0;right:0;background:#fff;border-bottom:1px solid var(--line);padding:18px 16px}.primary-navigation.is-open{display:block}.primary-navigation .menu{display:block}.primary-navigation li{margin:12px 0}.menu-toggle{display:block}.hero__inner{grid-template-columns:1fr;min-height:auto;padding:90px 0 40px}.hero__visual{min-height:300px}.card-grid{grid-template-columns:repeat(2,1fr)}.category-strip__grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:620px){.section{padding:52px 0}.hero__visual{display:none}.category-strip__grid,.card-grid,.site-footer__grid{grid-template-columns:1fr}.site-header__inner{min-height:64px}.primary-navigation{top:64px}.hero__inner{padding:70px 0}.hero__content p{font-size:1.05rem}.puzzle-card__body{padding:18px}}


/* DatumVale 1.0.1 — requested visual-only refinements */
.puzzle-card__image{
    margin:16px 16px 0;
    border-radius:18px;
}
.puzzle-card__image img{
    border-radius:18px;
}

/* Text wordmark matching the approved DatumVale reference. */
.datumvale-wordmark{
    display:inline-flex;
    flex-direction:column;
    align-items:flex-start;
    line-height:1;
    text-decoration:none;
}
.datumvale-wordmark__name{
    display:block;
    font-size:1.62rem;
    font-weight:900;
    letter-spacing:-.055em;
    white-space:nowrap;
}
.datumvale-wordmark__datum{color:#14213d}
.datumvale-wordmark__vale{color:#f36b21}
.datumvale-wordmark__star{
    color:#f6ad18;
    font-size:.72em;
    margin-left:2px;
    vertical-align:.18em;
}
.datumvale-wordmark__tagline{
    display:block;
    margin-top:5px;
    font-size:.57rem;
    line-height:1;
    font-weight:700;
    letter-spacing:.015em;
    color:#667085;
    white-space:nowrap;
}
.site-branding .custom-logo-link{
    display:inline-flex;
    align-items:center;
}
.site-branding .custom-logo{
    width:auto;
    max-height:52px;
}

@media(max-width:640px){
    .datumvale-wordmark__name{font-size:1.4rem}
    .datumvale-wordmark__tagline{font-size:.5rem;margin-top:4px}
    .puzzle-card__image{margin:12px 12px 0;border-radius:14px}
    .puzzle-card__image img{border-radius:14px}
}


/* DatumVale 1.0.2 — force visible rounding on all four preview-image corners.
   Core/plugin styles may override the card image, so target both theme cards
   and the common puzzle-card wrappers with higher specificity. */
body .puzzle-card__image,
body .puzzle-card__image img,
body .dv-puzzle-card__image,
body .dv-puzzle-card__image img,
body .datumvale-puzzle-card__image,
body .datumvale-puzzle-card__image img {
    border-radius: 18px !important;
}

body .puzzle-card__image,
body .dv-puzzle-card__image,
body .datumvale-puzzle-card__image {
    overflow: hidden !important;
}

/* If the Core renders the thumbnail directly inside a preview/media wrapper. */
body .puzzle-card img.wp-post-image,
body article[class*="puzzle"] img.wp-post-image {
    border-radius: 18px !important;
}


/* DatumVale 1.0.3 — correct Core card preview selectors.
   The homepage cards are rendered by DatumVale Core, not template-parts/card.php. */
body .datumvale-puzzle-card .datumvale-card-image{
    border-radius:18px !important;
    overflow:hidden !important;
}
body .datumvale-puzzle-card .datumvale-card-image img{
    border-radius:18px !important;
    overflow:hidden !important;
    clip-path: inset(0 round 18px) !important;
}

/* Keep the light image padding/background, but ensure all 4 actual image corners are visibly rounded. */
body .datumvale-card-image > img{
    border-radius:18px !important;
}


/* DatumVale 1.0.4 — round images only in preview cards.
   Single puzzle artwork must keep square corners. */
body.single-dv_puzzle .datumvale-interactive-stage img,
body.single-dv_puzzle .datumvale-puzzle-image img,
body.single-dv_puzzle .datumvale-difference-stage img,
body.single-dv_puzzle .datumvale-hidden-object-puzzle img,
body.single-dv_puzzle img.wp-post-image {
    border-radius: 0 !important;
    clip-path: none !important;
}

/* Also prevent a rounded single-puzzle wrapper from clipping the artwork. */
body.single-dv_puzzle .datumvale-interactive-stage,
body.single-dv_puzzle .datumvale-puzzle-image,
body.single-dv_puzzle .datumvale-difference-stage {
    border-radius: 0 !important;
    overflow: visible !important;
}


/* DatumVale 1.0.5 — compact canonical six-section homepage row. */
.category-strip.section{padding:24px 0 20px}
.category-strip__grid{
    display:flex !important;
    flex-wrap:nowrap !important;
    justify-content:center;
    align-items:center;
    gap:10px !important;
}
.category-tile{
    flex:0 0 auto;
    min-height:42px;
    padding:9px 17px !important;
    border-radius:999px !important;
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:none !important;
}
.category-tile strong{
    font-size:.92rem !important;
    line-height:1.15;
    white-space:nowrap;
}
.category-tile span{display:none !important}
.category-strip + .section{padding-top:28px}

/* Rounded corners apply to catalog/home previews only. */
body:not(.single-dv_puzzle) .datumvale-puzzle-card .datumvale-card-image,
body:not(.single-dv_puzzle) .datumvale-puzzle-card .datumvale-card-image img{
    border-radius:18px !important;
    overflow:hidden !important;
}

/* CSS rounding is disabled inside a puzzle. */
body.single-dv_puzzle .datumvale-interactive-stage,
body.single-dv_puzzle .datumvale-interactive-stage > img,
body.single-dv_puzzle .datumvale-main-image img,
body.single-dv_puzzle .datumvale-solution-image img,
body.single-dv_puzzle .datumvale-difference-stage,
body.single-dv_puzzle .datumvale-difference-stage > img{
    border-radius:0 !important;
    clip-path:none !important;
}

@media(max-width:980px){
    .category-strip__grid{flex-wrap:wrap !important}
}


/* =========================================================
   DATUMVALE THEME V3 DARK 3.1.0
   Built on the stable v1 theme architecture.
   ========================================================= */
:root{
  --brand:#7a5cff!important;
  --surface:#141a39!important;
  --line:#29315c!important;
  --muted:#aab3d1!important;
  --radius:20px!important;
  --shadow:0 18px 42px rgba(0,0,0,.28)!important;
}
html,body{
  background:#090d24!important;
  color:#f5f7ff!important;
}
body{
  background:
    radial-gradient(circle at 78% 4%,rgba(91,65,210,.22),transparent 26%),
    linear-gradient(180deg,#090d24 0%,#0d1129 100%)!important;
}
.site-header{
  background:#090d24!important;
  border-color:rgba(255,255,255,.08)!important;
}
.site-header__inner{min-height:76px!important}
.site-title,.primary-navigation a{color:#f7f8ff!important}
.primary-navigation a:hover{color:#ffc642!important}
.datumvale-wordmark__datum{color:#f7f8ff!important}
.datumvale-wordmark__vale{color:#ff7a24!important}
.datumvale-wordmark__star{color:#ffc642!important}
.datumvale-wordmark__tagline{color:#aeb6d4!important}

.dv3-hero{
  background:
    radial-gradient(circle at 78% 40%,rgba(109,79,255,.18),transparent 28%),
    linear-gradient(90deg,#090d24 0%,#0b1029 60%,#10102d 100%)!important;
  border-color:rgba(255,255,255,.08)!important;
}
.dv3-hero__inner{
  min-height:470px!important;
  grid-template-columns:1fr .9fr!important;
  gap:28px!important;
}
.dv3-hero .eyebrow{color:#9b7fff!important}
.dv3-hero h1{
  color:#fff!important;
  max-width:760px!important;
  font-size:clamp(3.4rem,6vw,5.9rem)!important;
  line-height:.98!important;
  letter-spacing:-.055em!important;
  margin:.6rem 0 1.35rem!important;
}
.dv3-hero p{
  color:#b7bfd9!important;
  max-width:640px!important;
  font-size:1.12rem!important;
}
.dv3-start{
  background:linear-gradient(135deg,#ffc642,#ff9e2c)!important;
  color:#11162b!important;
  box-shadow:0 12px 30px rgba(255,182,48,.18)!important;
}
.dv3-einstein-wrap{
  height:370px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  border-radius:28px;
  position:relative;
}
.dv3-einstein-wrap:before{
  content:"";
  position:absolute;
  width:80%;height:80%;
  background:#6547ff;
  filter:blur(95px);
  opacity:.15;
  border-radius:50%;
}
.dv3-einstein{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  border-radius:26px;
  position:relative;
  z-index:1;
  mix-blend-mode:screen;
  -webkit-mask-image:linear-gradient(to right,transparent 0,#000 12%,#000 100%);
  mask-image:linear-gradient(to right,transparent 0,#000 12%,#000 100%);
}

/* Compact dark category row */
.category-strip{
  background:#0c112b!important;
}
.category-strip.section{padding:18px 0!important}
.category-tile{
  background:#121735!important;
  border:1px solid #232b55!important;
  color:#f4f6ff!important;
  min-height:44px!important;
}
.category-tile:hover{
  border-color:#6b5ad4!important;
  background:#181f43!important;
}
.category-tile strong{color:#f4f6ff!important}

/* Dark sections */
.section{background:transparent!important}
.section--soft{background:#0c112b!important}
.section-heading h2,.archive-header h1{color:#f7f8ff!important}
.empty-state{
  background:#121735!important;
  border-color:#323b69!important;
  color:#cbd2ea!important;
}

/* OLD theme cards */
.puzzle-card{
  background:linear-gradient(180deg,#171d40,#111731)!important;
  border-color:#29315c!important;
  box-shadow:0 15px 38px rgba(0,0,0,.22)!important;
}
.puzzle-card__image{background:#0f1530!important}
.puzzle-card__meta{color:#ffc642!important}
.puzzle-card__title,.puzzle-card__title a{color:#f8f9ff!important}
.puzzle-card__body p{color:#aeb6d4!important}

/* DATUMVALE CORE cards (these are what homepage currently uses) */
.datumvale-puzzle-card{
  background:linear-gradient(180deg,#171d40,#111731)!important;
  border-color:#29315c!important;
  box-shadow:0 15px 38px rgba(0,0,0,.22)!important;
}
.datumvale-card-image{background:#0f1530!important}
.datumvale-card-body{background:transparent!important}
.datumvale-card-title,.datumvale-card-title a{color:#f8f9ff!important}
.datumvale-category{
  background:#17254a!important;
  color:#59d7ff!important;
}
.datumvale-difficulty{
  background:#28204f!important;
  color:#c0aaff!important;
}
.datumvale-card-action{
  background:transparent!important;
  color:#ffd05a!important;
  border:1px solid #ffd05a!important;
}

/* Core homepage/archive wrapper */
.datumvale-home-puzzles,
.datumvale-site-main{
  background:transparent!important;
  color:#f6f7ff!important;
}
.datumvale-section-heading h2{color:#f7f8ff!important}
.datumvale-category-nav a,
.datumvale-home-category-nav a{
  background:#121735!important;
  border-color:#29315c!important;
  color:#f4f6ff!important;
}

/* SINGLE PUZZLE pages: dark chrome, but artwork stays untouched/square */
body.single-dv_puzzle,
body.single-puzzle{
  background:#090d24!important;
}
body.single-dv_puzzle .datumvale-site-main,
body.single-puzzle .site-main{
  color:#f4f6ff!important;
}
body.single-dv_puzzle .datumvale-puzzle-header h1,
body.single-dv_puzzle .datumvale-prompt,
body.single-dv_puzzle .datumvale-play-instruction{
  color:#f4f6ff!important;
}
body.single-dv_puzzle .datumvale-prompt{
  background:#121735!important;
  border-color:#6d5be6!important;
}
body.single-dv_puzzle .datumvale-interactive-puzzle{
  background:#101630!important;
  border-color:#29315c!important;
}
body.single-dv_puzzle .datumvale-interactive-stage,
body.single-dv_puzzle .datumvale-interactive-stage img,
body.single-dv_puzzle .datumvale-difference-stage,
body.single-dv_puzzle .datumvale-difference-stage img{
  border-radius:0!important;
}
body.single-dv_puzzle .datumvale-hidden-object-list-wrap{
  background:#121735!important;
  border-color:#29315c!important;
}
body.single-dv_puzzle .datumvale-hidden-object-list li{
  background:#171d40!important;
  border-color:#303967!important;
  color:#f3f5ff!important;
}
body.single-dv_puzzle .datumvale-secondary-button,
body.single-dv_puzzle button{
  border-color:#5a66a9!important;
}

/* Footer */
.site-footer{
  background:#070a1b!important;
  border-color:rgba(255,255,255,.08)!important;
  color:#b7bfd9!important;
}
.site-footer a{color:#f4f6ff!important}

/* General typography */
h1,h2,h3,h4,h5,h6{color:#f7f8ff}
p{color:#b7bfd9}
a{transition:.18s ease}

/* Mobile: preserve stable stacking */
@media(max-width:800px){
  .dv3-hero__inner{display:block!important;min-height:auto!important;padding:30px 0!important}
  .dv3-hero h1{font-size:3rem!important}
  .dv3-einstein-wrap{height:250px;margin-top:22px}
  .site-header__inner{min-height:64px!important}
  .category-strip.section{padding:14px 0!important}
}


/* =========================================================
   DatumVale Theme V3 Dark 3.2.0
   Approved dark mockup refinement
   ========================================================= */

/* Header becomes the compact visual navigation from the approved concept. */
.site-header__inner{
    min-height:78px !important;
    display:flex !important;
    align-items:center !important;
    gap:18px !important;
    max-width:1500px !important;
}
.site-branding{
    flex:0 0 auto !important;
    margin-right:4px !important;
}
.dv3-top-nav{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    min-width:0;
    flex:1;
}
.dv3-nav-card{
    min-height:50px;
    display:flex;
    align-items:center;
    gap:8px;
    padding:7px 11px;
    border:1px solid #202852;
    border-radius:13px;
    background:linear-gradient(180deg,#121735,#0f142e);
    color:#f7f8ff !important;
    font-size:11px;
    font-weight:800;
    line-height:1.08;
    white-space:nowrap;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.025);
    transition:transform .16s ease,border-color .16s ease,background .16s ease;
}
.dv3-nav-card:hover{
    transform:translateY(-1px);
    border-color:#46518c;
    background:#171d40;
}
.dv3-nav-icon{
    width:23px;
    height:23px;
    display:grid;
    place-items:center;
    flex:0 0 23px;
}
.dv3-nav-icon svg{
    width:22px;
    height:22px;
    fill:none;
    stroke:currentColor;
    stroke-width:2.1;
    stroke-linecap:round;
    stroke-linejoin:round;
}
.dv3-cyan .dv3-nav-icon{color:#25d7ff}
.dv3-yellow .dv3-nav-icon{color:#ffc12d}
.dv3-purple .dv3-nav-icon{color:#8f5dff}
.dv3-orange .dv3-nav-icon{color:#ff7a28}

.dv3-header-start{
    flex:0 0 auto;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:44px;
    padding:0 17px;
    border-radius:12px;
    background:linear-gradient(135deg,#ffc642,#ff9e2c);
    color:#11162b !important;
    font-size:12px;
    font-weight:900;
    box-shadow:0 8px 22px rgba(255,176,46,.15);
}

/* Hero: artwork is transparent and part of the hero, never a visible banner/card. */
.dv3-hero__inner{
    min-height:430px !important;
    grid-template-columns:minmax(0,1fr) minmax(500px,.95fr) !important;
}
.dv3-einstein-wrap{
    height:350px !important;
    overflow:visible !important;
    border-radius:0 !important;
    background:none !important;
}
.dv3-einstein-wrap:before{
    width:75% !important;
    height:70% !important;
    opacity:.18 !important;
}
.dv3-einstein{
    width:100% !important;
    height:100% !important;
    object-fit:contain !important;
    object-position:center !important;
    border-radius:0 !important;
    mix-blend-mode:normal !important;
    filter:drop-shadow(0 18px 35px rgba(59,44,165,.18)) !important;
    -webkit-mask-image:none !important;
    mask-image:none !important;
}

/* No second giant category row on the homepage. */
.home .category-strip{
    display:none !important;
}

/* Core card structure: equal heights, one-line titles, CTA aligned. */
.datumvale-puzzle-grid{
    align-items:stretch !important;
}
.datumvale-puzzle-card{
    display:flex !important;
    flex-direction:column !important;
    height:100% !important;
}
.datumvale-card-body{
    display:flex !important;
    flex-direction:column !important;
    flex:1 1 auto !important;
}
.datumvale-card-title{
    width:100% !important;
    margin:12px 0 16px !important;
    font-size:1.22rem !important;
    line-height:1.25 !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    min-height:1.55em !important;
}
.datumvale-card-title a{
    display:block !important;
    overflow:hidden !important;
    white-space:nowrap !important;
    text-overflow:ellipsis !important;
}
.datumvale-card-action{
    margin-top:auto !important;
    align-self:flex-start !important;
}

/* Old-theme card fallback gets the same title/CTA discipline. */
.puzzle-card{
    display:flex !important;
    flex-direction:column !important;
    height:100% !important;
}
.puzzle-card__body{
    display:flex !important;
    flex-direction:column !important;
    flex:1 1 auto !important;
}
.puzzle-card__title{
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    width:100% !important;
    min-height:1.5em !important;
}
.puzzle-card__title a{
    display:block !important;
    overflow:hidden !important;
    white-space:nowrap !important;
    text-overflow:ellipsis !important;
}
.puzzle-card .button,
.puzzle-card__body > a:last-child{
    margin-top:auto !important;
}

/* Latest section starts close to hero, like the concept. */
#latest.section{
    padding-top:22px !important;
}

/* Responsive nav: horizontal scroller instead of ugly multi-row blocks. */
@media(max-width:1180px){
    .site-header__inner{
        flex-wrap:nowrap !important;
        overflow:hidden;
    }
    .dv3-top-nav{
        justify-content:flex-start;
        overflow-x:auto;
        scrollbar-width:none;
        padding-bottom:3px;
    }
    .dv3-top-nav::-webkit-scrollbar{display:none}
    .dv3-nav-card{
        flex:0 0 auto;
    }
    .dv3-header-start{
        display:none !important;
    }
    .dv3-hero__inner{
        grid-template-columns:1fr .85fr !important;
    }
}
@media(max-width:760px){
    .site-header__inner{
        min-height:64px !important;
        display:block !important;
        padding:10px 0 8px !important;
    }
    .site-branding{
        margin-bottom:8px !important;
    }
    .dv3-top-nav{
        width:100%;
    }
    .dv3-nav-card{
        min-height:44px;
        padding:6px 9px;
        font-size:10px;
    }
    .dv3-nav-icon{
        width:20px;height:20px;flex-basis:20px;
    }
    .dv3-nav-icon svg{
        width:19px;height:19px;
    }
    .dv3-hero__inner{
        display:block !important;
        min-height:auto !important;
    }
    .dv3-einstein-wrap{
        height:235px !important;
        margin-top:20px !important;
    }
}


/* =========================================================
   DatumVale Theme V3 Dark 3.2.2
   Small UX refinements
   ========================================================= */

/* The only primary Start Playing CTA is now in the top-right header.
   With the duplicate hero CTA removed, tighten the hero slightly. */
.dv3-hero__inner{
    min-height:400px !important;
}
.dv3-hero .hero__content{
    padding-bottom:8px !important;
}

/* Core outputs "← All puzzles". Turn it into a compact site-style Back button
   while preserving the original destination URL and link semantics. */
body.single-dv_puzzle .datumvale-back,
body.single-puzzle .datumvale-back{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    min-height:38px !important;
    padding:0 16px !important;
    margin:0 0 16px !important;
    border:1px solid #303967 !important;
    border-radius:11px !important;
    background:linear-gradient(180deg,#151b3c,#111731) !important;
    color:#f7f8ff !important;
    font-size:0 !important;
    font-weight:800 !important;
    line-height:1 !important;
    text-decoration:none !important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.025) !important;
    transition:transform .16s ease,border-color .16s ease,background .16s ease !important;
}

body.single-dv_puzzle .datumvale-back::after,
body.single-puzzle .datumvale-back::after{
    content:"Back";
    font-size:13px;
    letter-spacing:.01em;
}

body.single-dv_puzzle .datumvale-back:hover,
body.single-puzzle .datumvale-back:hover{
    transform:translateY(-1px) !important;
    border-color:#6456bd !important;
    background:#181f43 !important;
    color:#fff !important;
}

/* Also cover theme-native back links if one appears on a non-Core puzzle template. */
body.single-dv_puzzle a.back-link,
body.single-puzzle a.back-link{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    min-height:38px !important;
    padding:0 16px !important;
    border:1px solid #303967 !important;
    border-radius:11px !important;
    background:linear-gradient(180deg,#151b3c,#111731) !important;
    color:#f7f8ff !important;
    font-weight:800 !important;
    text-decoration:none !important;
}

/* =========================================================
   DatumVale Theme V3 Dark 3.2.6
   Archive title deduplication + reliable mobile Back button
   ========================================================= */

/* Hidden by the theme's archive-title de-duplicator. */
.datumvale-duplicate-archive-title,
[data-datumvale-duplicate-archive-title="hidden"]{
    display:none !important;
}

/* Empty repeated descriptions must not leave a second colored bar/gap. */
.archive-description:empty,
.term-description:empty,
.taxonomy-description:empty{
    display:none !important;
    margin:0 !important;
    padding:0 !important;
}

/* Keep the puzzle Back control above touch/canvas layers and make taps direct. */
body.single-dv_puzzle .datumvale-back,
body.single-puzzle .datumvale-back,
body.single-datumvale_puzzle .datumvale-back,
body.single-dv_puzzle a.back-link,
body.single-puzzle a.back-link,
body.single-datumvale_puzzle a.back-link,
body.single-dv_puzzle [data-back-home="true"],
body.single-puzzle [data-back-home="true"],
body.single-datumvale_puzzle [data-back-home="true"]{
    position:relative !important;
    z-index:10000 !important;
    pointer-events:auto !important;
    touch-action:manipulation !important;
    -webkit-tap-highlight-color:transparent;
}

/* Renamed puzzle sections do not use a second taxonomy-description banner. */
body.term-odd-one-out .archive-description,
body.term-odd-one-out .term-description,
body.term-odd-one-out .taxonomy-description,
body.term-hidden-objects .archive-description,
body.term-hidden-objects .term-description,
body.term-hidden-objects .taxonomy-description{
    display:none !important;
}


/* =========================================================
   DatumVale Theme V3 Dark 3.2.7
   Responsive WebP hero artwork
   ========================================================= */
.dv3-einstein{
    max-width:720px !important;
    margin-inline:auto !important;
}

/* =========================================================
   DatumVale Theme V3 Dark 3.2.8
   SEO summaries + related puzzle internal links
   ========================================================= */
.dv-seo-puzzle-info,
.dv-seo-related{
    margin-top:34px;
    padding:24px;
    border:1px solid #29315c;
    border-radius:18px;
    background:linear-gradient(180deg,#151b3c,#111731);
    color:#f4f6ff;
}
.dv-seo-puzzle-info h2,
.dv-seo-related h2{
    margin:0 0 12px;
    font-size:clamp(1.35rem,2vw,1.8rem);
    color:#f7f8ff;
}
.dv-seo-puzzle-info p{
    margin:0;
    color:#b7bfd9;
}
.dv-seo-puzzle-facts{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:12px;
    margin:20px 0 0;
}
.dv-seo-puzzle-facts div{
    padding:12px 14px;
    border:1px solid #303967;
    border-radius:12px;
    background:#101630;
}
.dv-seo-puzzle-facts dt{
    margin:0 0 3px;
    color:#9ba6ca;
    font-size:.75rem;
    font-weight:800;
    letter-spacing:.08em;
    text-transform:uppercase;
}
.dv-seo-puzzle-facts dd{
    margin:0;
    color:#f7f8ff;
    font-weight:800;
}
.dv-seo-related-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:14px;
}
.dv-seo-related-card{
    min-width:0;
    overflow:hidden;
    border:1px solid #29315c;
    border-radius:14px;
    background:#101630;
}
.dv-seo-related-image{
    display:block;
    aspect-ratio:4/3;
    overflow:hidden;
    background:#0f1530;
}
.dv-seo-related-image img{
    width:100%;
    height:100%;
    object-fit:cover;
}
.dv-seo-related-body{
    padding:12px;
}
.dv-seo-related-body span{
    display:block;
    margin-bottom:5px;
    color:#ffc642;
    font-size:.72rem;
    font-weight:900;
    letter-spacing:.08em;
    text-transform:uppercase;
}
.dv-seo-related-body h3{
    margin:0;
    font-size:.98rem;
    line-height:1.28;
}
.dv-seo-related-body a{
    color:#f7f8ff;
}
.dv-seo-related-body a:hover{
    color:#59d7ff;
}
@media(max-width:900px){
    .dv-seo-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:620px){
    .dv-seo-puzzle-info,
    .dv-seo-related{padding:18px;margin-top:24px}
    .dv-seo-puzzle-facts{grid-template-columns:1fr}
    .dv-seo-related-grid{grid-template-columns:1fr 1fr;gap:10px}
    .dv-seo-related-body{padding:10px}
}

/* SEO copy intentionally restores a real paragraph for the two renamed archives. */
body.term-odd-one-out .datumvale-canonical-archive-header .archive-description,
body.term-hidden-objects .datumvale-canonical-archive-header .archive-description{
    display:block !important;
    margin-top:10px !important;
    padding:0 !important;
}

/* =========================================================
   DatumVale Theme V3 Dark 3.2.9
   Reliable archive SEO copy + related puzzle fallback
   ========================================================= */
.datumvale-seo-archive-description{
    display:block !important;
    max-width:760px;
    margin-top:12px !important;
    color:#b7bfd9;
}
.datumvale-seo-archive-description p{
    margin:0;
}
.dv-seo-related-placeholder{
    display:grid;
    width:100%;
    height:100%;
    place-items:center;
    color:#59d7ff;
    font-size:2rem;
    font-weight:900;
    letter-spacing:.08em;
}
