/* Fortunebaboon – Editorial Homepage v2. Scoped to the pattern body only.
   Uses Blocksy palette slots 1–8, including Color Mode Switch's alternate palette. */
.fb-editorial-v2 {
  --fb-ep-paper: var(--theme-palette-color-7, #FCF7EA);
  --fb-ep-ink: var(--theme-palette-color-3, #34252A);
  --fb-ep-head: var(--theme-palette-color-4, #562638);
  --fb-ep-cherry: var(--theme-palette-color-1, #842C4C);
  --fb-ep-cherry-strong: var(--theme-palette-color-2, #6A243E);
  --fb-ep-rose: var(--theme-palette-color-5, #E3C1CB);
  --fb-ep-pistachio: var(--theme-palette-color-6, #C8D991);
  --fb-ep-peach: var(--theme-palette-color-8, #FFAB91);
  --fb-ep-rule: color-mix(in srgb, var(--fb-ep-head) 26%, transparent);
  --fb-ep-serif: 'EB Garamond', Georgia, 'Times New Roman', serif;
  /* Body text follows Blocksy → Typography → Base Font; no Playpen override. */
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: none;
  margin: 0;
  color: var(--fb-ep-ink);
  background: var(--fb-ep-paper);
  font-family: inherit;
  overflow: clip;
}
.fb-editorial-v2 *, .fb-editorial-v2 *::before, .fb-editorial-v2 *::after{box-sizing:border-box}
.fb-editorial-v2 a{color:inherit; text-decoration:none}
.fb-editorial-v2 .wp-block-columns{display:flex;align-items:stretch;gap:clamp(1.4rem,3vw,4rem);margin:0}
.fb-editorial-v2 .wp-block-column{min-width:0;flex-grow:1}
.fb-editorial-v2 .wp-block-image{margin:0}
.fb-editorial-v2 .wp-block-image img{display:block;width:100%;height:auto}
.fb-editorial-v2 .wp-block-group:not(.fb-editorial-v2){min-width:0}
.fb-editorial-v2 h1,.fb-editorial-v2 h2,.fb-editorial-v2 h3,
.fb-editorial-v2 .wp-block-heading{font-family:var(--fb-ep-serif);font-weight:400;color:var(--fb-ep-head);margin:0;letter-spacing:-.028em}
.fb-editorial-v2 p{margin:0;font-family:inherit;line-height:1.7}
.fb-editorial-v2 em{font-weight:400;font-style:normal} /* Greek italic fallback may render blank in some browser font stacks; preserve color emphasis. */
.fb-editorial-v2 .fb-section{padding:clamp(3.3rem,7vw,7rem) max(5vw,calc((100vw - 1440px)/2));}
.fb-editorial-v2 .fb-eyebrow,.fb-editorial-v2 .fb-meta{
  font-weight:700;font-size:.72rem;line-height:1.45;font-family:inherit;letter-spacing:.14em;text-transform:uppercase;
  color:var(--fb-ep-cherry);margin:0 0 1.2rem
}
.fb-editorial-v2 .fb-section-heading{font-size:clamp(2.45rem,5vw,5.2rem);line-height:1.06;margin-bottom:clamp(2rem,4vw,4rem)}
.fb-editorial-v2 .fb-section-heading em{color:var(--fb-ep-cherry)}
.fb-editorial-v2 .wp-block-button{margin:0}
.fb-editorial-v2 .wp-block-buttons{margin-top:1.5rem}
.fb-editorial-v2 .wp-block-button__link.wp-element-button{
 display:inline-block;background:transparent!important;color:var(--fb-ep-head)!important;
 border:0!important;border-bottom:1px solid var(--fb-ep-cherry)!important;border-radius:0!important;
 padding:.5rem 0!important;font-weight:650!important;font-size:.92rem!important;line-height:1.45!important;font-family:inherit!important;
 box-shadow:none!important;text-decoration:none!important;transition:color .2s,border-color .2s
}
.fb-editorial-v2 .wp-block-button__link:hover{color:var(--fb-ep-cherry)!important;border-color:var(--fb-ep-pistachio)!important}
/* Hero: oversize type paired with the original illustrated statue. */
.fb-editorial-v2 .fb-hero{display:grid;grid-template-columns:minmax(0, .83fr) minmax(0,1.17fr);
 align-items:center;gap:clamp(1rem,4vw,5rem);min-height:690px;padding-top:clamp(4rem,8vw,8rem);padding-bottom:clamp(4rem,7vw,6rem);position:relative}
.fb-editorial-v2 .fb-hero::before{content:'';position:absolute;border:clamp(16px,3vw,42px) solid var(--fb-ep-rose);
 border-radius:60% 40% 48% 52%;width:18vw;max-width:260px;aspect-ratio:1;top:3%;right:2%;opacity:.35;pointer-events:none}
.fb-editorial-v2 .fb-hero-copy{position:relative;z-index:1;max-width:620px}
.fb-editorial-v2 .fb-hero-title{font-size:clamp(3.7rem,7vw,8rem);line-height:.94;letter-spacing:-.055em;margin:1rem 0 2rem}
.fb-editorial-v2 .fb-hero-title em{color:var(--fb-ep-cherry);display:inline-block;position:relative;isolation:isolate;transform:skewX(-4deg)}
.fb-editorial-v2 .fb-hero-title em::after{content:'';position:absolute;height:.14em;background:var(--fb-ep-pistachio);left:3%;right:-3%;bottom:.03em;z-index:-1;transform:rotate(-1.2deg)}
.fb-editorial-v2 .fb-hero-lead{font-size:clamp(.98rem,1.3vw,1.17rem);max-width:43ch;line-height:1.8}
.fb-editorial-v2 .fb-hero-img{position:relative;transform:rotate(1deg);background:var(--fb-ep-rose);
 clip-path:polygon(4% 2%,100% 0,100% 95%,92% 100%,0 96%,0 8%)}
.fb-editorial-v2 .fb-hero-img img{width:100%;height:clamp(380px,46vw,680px);object-fit:cover;object-position:51% 43%}
.fb-editorial-v2 .fb-image-caption{font-size:.7rem;text-align:right;margin-top:.9rem;letter-spacing:.03em;opacity:.72}
/* Featured editorial story */
.fb-editorial-v2 .fb-featured{border-top:1px solid var(--fb-ep-rule);padding-top:clamp(3rem,5vw,5rem)}
.fb-editorial-v2 .fb-featured-grid{align-items:center;gap:clamp(2rem,6vw,6rem)}
.fb-editorial-v2 .fb-featured-img{background:var(--fb-ep-rose);position:relative}
.fb-editorial-v2 .fb-featured-img img{height:clamp(340px,32vw,510px);object-fit:cover;object-position:center}
.fb-editorial-v2 .fb-featured-visual{position:relative}
.fb-editorial-v2 .fb-featured-visual::after{content:'◌';font:normal clamp(5rem,12vw,14rem)/1 var(--fb-ep-serif);
 position:absolute;right:-.16em;bottom:-.34em;color:var(--fb-ep-pistachio);pointer-events:none}
.fb-editorial-v2 .fb-featured-heading{font-size:clamp(3.2rem,5.3vw,6.8rem);line-height:.97;margin-bottom:1.5rem}
.fb-editorial-v2 .fb-featured-heading em{color:var(--fb-ep-cherry)}
.fb-editorial-v2 .fb-featured-desc{font-size:1.06rem;max-width:44ch}
/* Typographic interlude */
.fb-editorial-v2 .fb-statement{background:color-mix(in srgb,var(--fb-ep-rose) 58%,var(--fb-ep-paper));
 text-align:center;position:relative;padding-top:clamp(3rem,5vw,6rem);padding-bottom:clamp(3rem,5vw,6rem)}
.fb-editorial-v2 .fb-statement::before{content:'❋';position:absolute;left:4%;top:15%;color:var(--fb-ep-cherry);font-size:clamp(1.3rem,2.5vw,3rem);opacity:.8}
.fb-editorial-v2 .fb-statement-kicker{font-size:.8rem;letter-spacing:.06em;margin-bottom:1rem}
.fb-editorial-v2 .fb-statement-title{font-size:clamp(2.8rem,6vw,7rem);line-height:1.04}
.fb-editorial-v2 .fb-statement-title em{color:var(--fb-ep-cherry)}
/* World's index is a gallery of symbols instead of cards */
.fb-editorial-v2 .fb-world-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:1.2rem}
.fb-editorial-v2 .fb-world{position:relative;padding:0 0 1.3rem;border-bottom:1px solid var(--fb-ep-rule);text-align:center}
.fb-editorial-v2 .fb-world-num{color:var(--fb-ep-cherry);font-weight:700;font-size:.7rem;line-height:normal;font-family:inherit;letter-spacing:.13em;text-align:left}
.fb-editorial-v2 .fb-world-symbol{margin:1rem auto 1.4rem;display:grid;place-items:center;
 width:clamp(86px,9vw,148px);aspect-ratio:1;border-radius:50%;background:var(--fb-ep-rose);
 font:normal clamp(3rem,5vw,5rem)/1 var(--fb-ep-serif);color:var(--fb-ep-head)}
.fb-editorial-v2 .fb-world:nth-child(2) .fb-world-symbol{background:var(--fb-ep-pistachio)}
.fb-editorial-v2 .fb-world:nth-child(4) .fb-world-symbol{background:var(--fb-ep-peach)}
.fb-editorial-v2 .fb-world:nth-child(5) .fb-world-symbol{background:color-mix(in srgb,var(--fb-ep-pistachio) 40%,var(--fb-ep-rose))}
.fb-editorial-v2 .fb-world-owl{width:clamp(86px,9vw,148px);height:clamp(86px,9vw,148px);margin:1rem auto 1.4rem;border-radius:50%;overflow:hidden}
.fb-editorial-v2 .fb-world-owl img{height:100%;width:100%;object-fit:cover}
.fb-editorial-v2 .fb-world-title{font-size:clamp(1.3rem,1.8vw,2rem);line-height:1.08;margin:0 0 .6rem}
.fb-editorial-v2 .fb-world-desc{font-size:.78rem;line-height:1.45;max-width:23ch;margin:auto}
.fb-editorial-v2 .fb-editor-note{display:none}
/* Editorial reading index */
.fb-editorial-v2 .fb-index{padding-top:3rem;border-top:1px solid var(--fb-ep-rule)}
.fb-editorial-v2 .fb-index-list{border-top:1px solid var(--fb-ep-rule)}
.fb-editorial-v2 .fb-index-row{display:grid;grid-template-columns:50px 22% 1fr 140px;align-items:center;gap:clamp(1rem,2.5vw,3rem);
 padding:clamp(1rem,2.5vw,2rem) 0;border-bottom:1px solid var(--fb-ep-rule)}
.fb-editorial-v2 .fb-index-no{font:normal 1.6rem var(--fb-ep-serif);color:var(--fb-ep-cherry)}
.fb-editorial-v2 .fb-index-thumb img{height:170px;object-fit:cover}
.fb-editorial-v2 .fb-index-title{font-size:clamp(2rem,3vw,3.8rem);line-height:1.0;margin:.2rem 0 .45rem}
.fb-editorial-v2 .fb-index-row-first .fb-index-title{font-size:clamp(2.8rem,4vw,5rem)}
.fb-editorial-v2 .fb-index-desc{font-size:.92rem;line-height:1.5}
.fb-editorial-v2 .fb-index-info .fb-meta{margin-bottom:.4rem;font-size:.65rem}
.fb-editorial-v2 .fb-index-cta{white-space:nowrap;text-align:right;margin:0}
/* Music section: deep plum visual endnote. Not header/footer. */
.fb-editorial-v2 .fb-aeoni{background:#25151F;color:#F8ECDE;position:relative}
.fb-editorial-v2 .fb-aeoni::before{content:'';background:#C1D990;border-radius:0 70% 0 0;
 width:25vw;height:26px;position:absolute;top:-2px;left:0;opacity:.8;transform:skewY(-3deg)}
.fb-editorial-v2 .fb-aeoni .fb-eyebrow,.fb-editorial-v2 .fb-aeoni .wp-block-heading{color:#F8ECDE}
.fb-editorial-v2 .fb-aeoni-title{font:italic 400 clamp(6rem,13vw,15rem)/.9 var(--fb-ep-serif)!important;letter-spacing:-.07em}
.fb-editorial-v2 .fb-aeoni-desc{color:#F8ECDE;font-size:clamp(1rem,1.5vw,1.3rem);max-width:42ch;margin-top:1.4rem}
.fb-editorial-v2 .fb-aeoni .wp-block-button__link{color:#F8ECDE!important;border-color:#C1D990!important}
.fb-editorial-v2 .fb-aeoni .wp-block-button__link:hover{color:#C1D990!important}
.fb-editorial-v2 .fb-aeoni-art{max-width:450px;margin-left:auto;transform:rotate(-4deg);box-shadow:18px 22px 0 #842C4C}
.fb-editorial-v2 .fb-aeoni-art img{aspect-ratio:1;object-fit:cover}
@media (max-width:1200px){
 .fb-editorial-v2 .fb-world-grid{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:2.3rem}
 .fb-editorial-v2 .fb-world-symbol,.fb-editorial-v2 .fb-world-owl{width:125px;height:125px}
}
@media (max-width:850px){
 .fb-editorial-v2 .fb-section{padding:3.5rem 6vw}
 .fb-editorial-v2 .fb-hero{display:block;min-height:0;padding-top:3rem}
 .fb-editorial-v2 .fb-hero-copy{margin-bottom:2rem}
 .fb-editorial-v2 .fb-hero-title{font-size:clamp(3.7rem,12vw,6rem);max-width:11ch}
 .fb-editorial-v2 .fb-hero-img img{height:440px}
 .fb-editorial-v2 .fb-featured-grid,.fb-editorial-v2 .fb-aeoni-grid{display:block}
 .fb-editorial-v2 .fb-featured-visual,.fb-editorial-v2 .fb-aeoni-copy{margin-bottom:2.4rem}
 .fb-editorial-v2 .fb-featured-img img{height:360px}
 .fb-editorial-v2 .fb-aeoni-art{max-width:310px;margin-right:auto}
 .fb-editorial-v2 .fb-index-row{grid-template-columns:30px 24% 1fr;gap:1rem}
 .fb-editorial-v2 .fb-index-cta{grid-column:3;text-align:left}
 .fb-editorial-v2 .fb-index-thumb img{height:140px}
}
@media (max-width:570px){
 .fb-editorial-v2 .fb-world-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .fb-editorial-v2 .fb-hero-title{font-size:clamp(3.1rem,14vw,4.8rem)}
 .fb-editorial-v2 .fb-hero-img img{height:315px}
 .fb-editorial-v2 .fb-featured-heading{font-size:clamp(2.8rem,11vw,4rem)}
 .fb-editorial-v2 .fb-featured-img img{height:270px}
 .fb-editorial-v2 .fb-index-row{grid-template-columns:28px 1fr;align-items:start;gap:.6rem}
 .fb-editorial-v2 .fb-index-thumb{grid-column:2}
 .fb-editorial-v2 .fb-index-thumb img{height:145px}
 .fb-editorial-v2 .fb-index-info{grid-column:2}
 .fb-editorial-v2 .fb-index-cta{grid-column:2}
 .fb-editorial-v2 .fb-index-row-first .fb-index-title{font-size:2.7rem}
 .fb-editorial-v2 .fb-world-title{font-size:1.65rem}
 .fb-editorial-v2 .fb-world-desc{font-size:.79rem}
}
@media (prefers-reduced-motion: reduce){.fb-editorial-v2 *{transition:none!important}}

/* Only the five replacement illustrations: same circular visual slot as original owl. */
.fb-editorial-v2 .fb-world-myth .fb-world-art{background:var(--fb-ep-rose)}
.fb-editorial-v2 .fb-world-poetry .fb-world-art{background:var(--fb-ep-pistachio)}
.fb-editorial-v2 .fb-world-tales .fb-world-art{background:var(--fb-ep-peach)}
.fb-editorial-v2 .fb-world-echoes .fb-world-art{background:color-mix(in srgb,var(--fb-ep-pistachio) 40%,var(--fb-ep-rose))}
.fb-editorial-v2 .fb-world-inner .fb-world-art{background:var(--fb-ep-rose)}
.fb-editorial-v2 .fb-world-art img{object-fit:contain;padding:8%;}
