/* AURYONA V5.4 — V5.3 structure + single horoscope CTA + clean logo asset. */
html,body{overflow-x:clip!important}

/* Remove unintended theme spacing above the real AURYONA header/content. */
body:has(.av5) .wp-site-blocks,
body:has(.av5) .wp-site-blocks>main,
body:has(.av5) main.wp-block-group,
body:has(.av5) .wp-block-post-content,
body:has(.av5) .wp-block-shortcode,
body:has(.av5) .entry-content{
  margin-block-start:0!important;margin-block-end:0!important;
  padding-block-start:0!important;padding-block-end:0!important;
  row-gap:0!important;gap:0!important;
}
body:has(.av5) .wp-site-blocks{padding-top:0!important}
body:has(.av5) .wp-site-blocks>*:first-child,
body:has(.av5) .wp-block-post-content>*:first-child{margin-top:0!important}

/* True viewport breakout from Twenty Twenty-Five content width. */
body:has(.av5) .av5{width:100vw!important;max-width:100vw!important;position:relative!important;left:50%!important;margin-left:-50vw!important;margin-right:0!important}
body:has(.av5) .av5-shell{width:min(1420px,calc(100% - 48px))!important;max-width:1420px!important;margin-inline:auto!important}

/* Desktop approved first-view geometry. */
@media (min-width:1100px){
  .av5-header .av5-navrow{height:74px!important}
  .av5-brand img{width:196px!important;height:auto!important;display:block!important}
  .av5-nav a{padding:28px 0 22px!important;font-size:10px!important}
  .av5-login{height:38px!important}

  .av5-hero{height:458px!important;min-height:458px!important;max-height:458px!important}
  .av5-hero-bg{background-position:center 48%!important;filter:none!important}
  .av5-hero-shade{background:linear-gradient(90deg,rgba(2,8,12,.988) 0%,rgba(2,8,12,.97) 22%,rgba(2,8,12,.80) 31%,rgba(2,8,12,.30) 43%,rgba(2,8,12,.03) 58%,rgba(2,8,12,0) 100%)!important}
  .av5-hero-inner{padding-bottom:24px!important;align-items:flex-end!important}
  .av5-hero-copy{width:min(500px,35vw)!important;margin-left:12px!important}
  .av5-hero h1{font-size:clamp(48px,3.7vw,60px)!important;line-height:.95!important}
  .av5-hero-copy>p{margin-top:12px!important;font-size:13px!important;line-height:1.50!important;max-width:470px!important}
  .av5-actions{margin-top:14px!important;gap:7px!important}
  .av5-btn{min-height:39px!important;font-size:9px!important}
  .av5-btn.primary{min-width:250px!important}.av5-btn.secondary{min-width:318px!important}

  .av5-horoscope-actions{display:block;width:min(430px,32vw);margin-top:7px}
  .av5-horoscope-actions a{min-height:38px;padding:7px 38px 7px 11px;border:1px solid rgba(201,155,87,.38);background:rgba(4,12,16,.78);color:#f1eadf!important;display:flex;flex-direction:column;justify-content:center;position:relative}
  .av5-horoscope-actions span{font-size:8px;font-weight:800;letter-spacing:.025em;line-height:1.1}
  .av5-horoscope-actions small{font-size:7px;color:#c7a96f;margin-top:3px;letter-spacing:.02em}.av5-horoscope-actions b{position:absolute;right:12px;top:50%;transform:translateY(-50%);font-size:12px;font-weight:500;color:#e9dfcf}

  .av5-features{padding-bottom:18px!important}
  .av5-feature-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important}
  .av5-feature{min-height:300px!important}
  .av5-feature img{height:116px!important;filter:none!important}
  .av5-feature>div{padding:13px 15px 14px!important}
  .av5-feature h2{font-size:18px!important;line-height:1.02!important}
  .av5-feature p{margin-top:7px!important;font-size:10px!important;line-height:1.45!important;min-height:58px!important}
  .av5-feature a{padding:8px 9px!important;font-size:8px!important;min-height:33px!important;align-items:center!important}
}

/* Fifth card: first position, distinct but restrained premium bronze/navy tone. */
.av5-feature.books-pdfs>div{box-shadow:inset 0 3px 0 #a47a3c;background:linear-gradient(180deg,rgba(47,37,19,.88),rgba(16,14,9,.98))!important}
.av5-feature.education>div{background:linear-gradient(180deg,rgba(62,12,29,.78),rgba(20,8,14,.97))!important}
.av5-feature.consult>div{background:linear-gradient(180deg,rgba(7,49,59,.80),rgba(5,21,26,.98))!important}
.av5-feature.community>div{background:linear-gradient(180deg,rgba(55,18,51,.80),rgba(22,8,21,.98))!important}
.av5-feature.work>div{background:linear-gradient(180deg,rgba(52,51,20,.80),rgba(20,20,9,.98))!important}

/* Approved compact shop replacement. */
.av5-shop-home{background:#0a1419;padding:38px 0 42px;border-top:1px solid rgba(255,255,255,.05);border-bottom:1px solid rgba(255,255,255,.05)}
.av5-shop-home-head{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:20px}
.av5-shop-home-kicker{display:block;color:#c99b57;font-size:10px;font-weight:800;letter-spacing:.22em;margin-bottom:6px}
.av5-shop-home h2{font-size:34px;line-height:1.02}.av5-shop-home-head p{color:#bdb6ab;font-size:13px;max-width:520px;margin-top:8px}
.av5-shop-open{display:inline-flex;align-items:center;justify-content:space-between;gap:26px;min-width:160px;min-height:40px;padding:0 16px;background:#d9b35f;color:#14110b!important;font-size:10px;font-weight:800}
.av5-shop-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.av5-shop-card{display:block;padding:19px 20px 18px;border:1px solid rgba(205,164,96,.20);background:linear-gradient(145deg,#0d1c22,#071015);color:#efe8dc!important}
.av5-shop-card strong{font-family:"Cormorant Garamond",Georgia,serif;font-size:25px;line-height:1;display:block}.av5-shop-card small{display:block;color:#b9b4aa;font-size:11px;line-height:1.5;margin-top:8px}

@media (min-width:901px){
  .av5-community-home{min-height:255px!important}.av5-community-image{padding:34px 6vw!important}.av5-community-image p{font-size:39px!important}.av5-community-copy{padding:30px 36px!important}.av5-community-copy h2{font-size:30px!important}.av5-community-copy p{margin-top:11px!important}.av5-community-copy .av5-btn{margin-top:15px!important}
}

/* Tablet/mobile remain inherited from base V5 until desktop design is approved. */
@media(max-width:900px){body:has(.av5) .av5-shell{width:min(760px,calc(100% - 28px))!important}.av5-shop-home-head{align-items:flex-start;flex-direction:column}.av5-shop-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){body:has(.av5) .av5-shell{width:calc(100% - 24px)!important}.av5-shop-grid{grid-template-columns:1fr}.av5-shop-home h2{font-size:30px}}


/* ===== V5.5 desktop refinement ===== */
/* Typography: real premium web fonts with Turkish/Latin-ext support via Google Fonts. */
.av5,
.av5 p,.av5 a,.av5 button,.av5 small,.av5 span,.av5 input,.av5 textarea,.av5 select{
  font-family:"Manrope","Segoe UI",Arial,sans-serif!important;
}
.av5 h1,.av5 h2,.av5 h3,.av5 h4,
.av5-feature h2,.av5-program h2,.av5-shop-home h2,.av5-shop-card strong,
.av5-community-image p,.av5-community-copy h2{
  font-family:"Cormorant Garamond",Georgia,serif!important;
  font-weight:700!important;
  letter-spacing:-.018em!important;
}

/* The grey/dark strip is the Twenty Twenty-Five template header, not AURYONA spacing.
   Hide only the theme header on pages containing AURYONA V5. */
body:has(.av5) .wp-site-blocks>header,
body:has(.av5) .wp-site-blocks>header.wp-block-template-part,
body:has(.av5) .wp-site-blocks>.wp-block-template-part:has(header){
  display:none!important;
  height:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
}
body:has(.av5) .wp-site-blocks>main,
body:has(.av5) main.wp-block-group,
body:has(.av5) .wp-block-post-content,
body:has(.av5) .entry-content,
body:has(.av5) .wp-block-shortcode{
  margin-top:0!important;
  padding-top:0!important;
}

@media (min-width:1100px){
  /* Reuse the reclaimed ~50px instead of pushing the five cards lower. */
  .av5-hero{height:510px!important;min-height:510px!important;max-height:510px!important}
  .av5-hero-bg{background-position:center 47%!important}
  .av5-hero-inner{padding-bottom:26px!important}
  .av5-hero-copy{width:min(520px,36vw)!important}
  .av5-hero h1{font-size:clamp(52px,3.8vw,64px)!important;line-height:.94!important;font-weight:700!important}
  .av5-hero-copy>p{font-size:14px!important;line-height:1.58!important;font-weight:500!important;max-width:500px!important}

  .av5-nav a{font-size:11px!important;font-weight:800!important;letter-spacing:.015em!important}
  .av5-login{font-family:"Manrope","Segoe UI",Arial,sans-serif!important;font-size:10px!important;font-weight:800!important}

  /* All three hero CTAs share the same matte premium gold treatment. */
  .av5-btn.primary,
  .av5-btn.secondary,
  .av5-horoscope-actions a{
    background:linear-gradient(180deg,#e4c36e 0%,#d4ad55 100%)!important;
    border:1px solid #e0bd67!important;
    color:#17130c!important;
    box-shadow:none!important;
  }
  .av5-btn.primary:hover,
  .av5-btn.secondary:hover,
  .av5-horoscope-actions a:hover{
    background:linear-gradient(180deg,#ebcd7d 0%,#d9b45d 100%)!important;
  }
  .av5-btn,.av5-horoscope-actions span{font-size:10.5px!important;font-weight:800!important;letter-spacing:.018em!important}
  .av5-horoscope-actions small{color:#4a3816!important;font-size:7.5px!important;font-weight:700!important}
  .av5-horoscope-actions b{color:#17130c!important}
  .av5-btn.secondary{border-color:#e0bd67!important}

  /* Slightly more readable five-card typography without increasing the block height. */
  .av5-feature h2{font-size:19px!important;line-height:.98!important}
  .av5-feature p{font-size:10.5px!important;line-height:1.48!important}
  .av5-feature a{font-family:"Manrope","Segoe UI",Arial,sans-serif!important;font-size:8.5px!important;font-weight:800!important}
}


/* ===== V5.6 surgical QA fixes ===== */
/* Runtime-calculated removal of the remaining Twenty Twenty-Five empty strip. */
body:has(.av5) .av5{margin-top:calc(-1 * var(--av5-gapfix,0px))!important;}

/* V5.5 gave every span Manrope; that accidentally changed the second line of the hero title.
   Keep both title lines in the same premium serif. */
.av5 .av5-hero h1,
.av5 .av5-hero h1 span{
  font-family:"Cormorant Garamond",Georgia,serif!important;
  font-weight:700!important;
  letter-spacing:-.018em!important;
}

/* ===== V5.7 final desktop QA corrections ===== */
/* Typography replacement: cleaner premium editorial serif + modern geometric sans. */
.av5,
.av5 p,.av5 a,.av5 button,.av5 small,.av5 span,.av5 input,.av5 textarea,.av5 select{
  font-family:"Montserrat","Segoe UI",Arial,sans-serif!important;
}
.av5 h1,.av5 h2,.av5 h3,.av5 h4,
.av5 .av5-hero h1,.av5 .av5-hero h1 span,
.av5-feature h2,.av5-program h2,.av5-program h3,
.av5-shop-home h2,.av5-shop-card strong,
.av5-community-image p,.av5-community-copy h2{
  font-family:"Playfair Display",Georgia,serif!important;
  font-weight:600!important;
  letter-spacing:-.022em!important;
}

/* Do not rely on margin collapsing for the Twenty Twenty-Five gap.
   Move the rendered AURYONA root itself, then remove the same amount from document flow. */
body:has(.av5) .av5{
  margin-top:0!important;
  transform:translateY(calc(-1 * var(--av5-gapfix,0px)))!important;
  margin-bottom:calc(-1 * var(--av5-gapfix,0px))!important;
}

@media (min-width:1100px){
  /* All three hero actions: exactly one desktop size. */
  .av5 .av5-actions,
  .av5 .av5-horoscope-actions{
    width:430px!important;
    max-width:100%!important;
  }
  .av5 .av5-btn.primary,
  .av5 .av5-btn.secondary,
  .av5 .av5-horoscope-actions a{
    width:430px!important;
    min-width:430px!important;
    max-width:100%!important;
    min-height:42px!important;
    height:42px!important;
    padding:0 16px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    box-sizing:border-box!important;
  }
  .av5 .av5-horoscope-actions a{
    flex-direction:row!important;
  }
  .av5 .av5-horoscope-actions a > span{
    font-size:10px!important;
    line-height:1!important;
  }
  .av5 .av5-horoscope-actions a > small{
    display:none!important;
  }
  .av5 .av5-horoscope-actions a > b{
    position:static!important;
    transform:none!important;
    margin-left:auto!important;
    font-size:12px!important;
  }

  .av5 .av5-hero h1{
    font-size:clamp(50px,3.55vw,60px)!important;
    line-height:.96!important;
  }
  .av5-feature h2{font-weight:600!important;}
  .av5-program h3{font-weight:600!important;}
}

/* ===== V5.8 approved desktop visual refinement ===== */
/* New premium type system: editorial Bodoni + neutral Manrope. */
.av5,
.av5 p,.av5 a,.av5 button,.av5 small,.av5 span,.av5 input,.av5 textarea,.av5 select{
  font-family:"Manrope","Segoe UI",Arial,sans-serif!important;
}
.av5 h1,.av5 h2,.av5 h3,.av5 h4,
.av5 .av5-hero h1,.av5 .av5-hero h1 span,
.av5-feature h2,.av5-program h2,.av5-program h3,
.av5-shop-home h2,.av5-shop-card strong,
.av5-community-image p,.av5-community-copy h2{
  font-family:"Bodoni Moda","Times New Roman",serif!important;
  font-weight:600!important;
  letter-spacing:-.028em!important;
}

@media (min-width:1100px){
  /* Brand treatment based on the previously approved top-left lockup. */
  .av5-header .av5-navrow{grid-template-columns:250px 1fr auto!important;min-height:74px!important}
  .av5-brand{width:250px!important;height:70px!important;display:block!important;overflow:hidden!important;background:#182731!important}
  .av5-brand img{width:250px!important;height:70px!important;object-fit:cover!important;display:block!important}

  /* Give the hero more visual area and show the source from farther away. */
  .av5-hero{height:585px!important;min-height:585px!important;max-height:585px!important;background:#050d12!important}
  .av5-hero-bg{
    background-size:90% auto!important;
    background-position:center 48%!important;
    background-repeat:no-repeat!important;
    background-color:#050d12!important;
    filter:none!important;
  }
  .av5-hero-shade{
    background:linear-gradient(90deg,rgba(2,8,12,.985) 0%,rgba(2,8,12,.94) 20%,rgba(2,8,12,.72) 31%,rgba(2,8,12,.26) 43%,rgba(2,8,12,.03) 58%,rgba(2,8,12,0) 100%)!important;
  }
  .av5-hero-inner{padding-bottom:32px!important}
  .av5-hero-copy{width:min(530px,35vw)!important;margin-left:12px!important}
  .av5 .av5-hero h1{font-size:clamp(52px,3.55vw,62px)!important;line-height:.94!important}
  .av5 .av5-hero-copy>p{font-size:13px!important;line-height:1.56!important;max-width:500px!important}

  /* Keep all three revenue CTAs visually equal. */
  .av5 .av5-actions,.av5 .av5-horoscope-actions{width:430px!important;max-width:100%!important}
  .av5 .av5-btn.primary,.av5 .av5-btn.secondary,.av5 .av5-horoscope-actions a{
    width:430px!important;min-width:430px!important;max-width:100%!important;height:42px!important;min-height:42px!important;
    padding:0 16px!important;box-sizing:border-box!important;
  }

  /* Five core cards: quieter premium hierarchy and improved legibility. */
  .av5-feature{min-height:294px!important}
  .av5-feature img{height:116px!important}
  .av5-feature>div{padding:14px 14px 13px!important}
  .av5-feature h2{font-size:17px!important;line-height:1.02!important;letter-spacing:-.018em!important}
  .av5-feature p{font-family:"Manrope","Segoe UI",Arial,sans-serif!important;font-size:10.5px!important;line-height:1.5!important;min-height:58px!important}
  .av5-feature a{font-size:8.5px!important;min-height:34px!important}

  /* Education cards: reduce dead vertical space and keep copy aligned. */
  .av5-program{min-height:0!important}
  .av5-program img{height:150px!important}
  .av5-program>div{padding:15px 16px 14px!important;min-height:150px!important}
  .av5-program h3{font-size:20px!important;line-height:1.03!important}
  .av5-program p{font-family:"Manrope","Segoe UI",Arial,sans-serif!important;font-size:10.5px!important;line-height:1.5!important;margin-top:8px!important}
  .av5-program a{margin-top:18px!important;font-size:8.5px!important}
}

/* Mobile/tablet stay on the existing rules until desktop is explicitly approved. */
