/* Draft artwork/layout overrides. Existing Blocksy header/footer are untouched. */
/* The legacy banner lives in a decorative desktop bottom row, not the navigation row. */
body.fdplay-home-design #header > [data-device] > [data-row="bottom"]{display:none!important;}
/* Remove Blocksy's full-container spacing and Gutenberg's outer content constraint.
   Use percentage widths instead of 100vw so scrollbars cannot cause overflow. */
body.fdplay-home-design #main{margin:0;padding:0;}
body.fdplay-home-design #main > :is(.ct-container,.ct-container-full){width:100%;max-width:none;margin:0;padding:0;}
body.fdplay-home-design article.hentry{width:100%;max-width:none;margin:0;padding:0;}
body.fdplay-home-design article.hentry > .entry-content{width:100%;max-width:none;margin:0;padding:0;}
body.fdplay-home-design article.hentry > .entry-content > .fdplay-home{width:100%;max-width:none!important;margin:0!important;}
body.fdplay-home-design .fdplay-home > .fd-hero{width:100%;max-width:none!important;margin:0;box-sizing:border-box;}
.fdplay-home-design .fdplay-home{background:radial-gradient(ellipse at 0 52%,#0c2435a6,transparent 45%),radial-gradient(ellipse at 100% 80%,#102d4280,transparent 48%),linear-gradient(#030e19,#061421 65%,#020c16);}
.fdplay-home .fd-section{padding:24px 32px;}
.fdplay-home .fd-hero{position:relative;isolation:isolate;min-height:clamp(530px,36vw,720px);display:flex;align-items:center;justify-content:flex-end;padding:200px 24px 36px;background:#051322;border:0;}
.fdplay-home .fd-hero-art{position:absolute;inset:0;margin:0;z-index:-2;max-width:none!important;}
.fdplay-home .fd-hero-art img{width:100%;height:100%;object-fit:cover;object-position:50% 43%;display:block;}
.fdplay-home .fd-hero::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,transparent 32%,#020c1633 52%,#030e19 100%);pointer-events:none;}
.fdplay-home .fd-hero-copy{text-align:center;width:min(100%,740px);margin:0 auto;position:relative;text-shadow:0 2px 12px #000;}
.fdplay-home .fd-hero-copy::before{content:"";position:absolute;inset:-24px -40px;z-index:-1;background:radial-gradient(ellipse,#020a16a8,transparent 72%);pointer-events:none;}
.fdplay-home .fd-hero h1{font-size:clamp(3.7rem,5.6vw,5.5rem);letter-spacing:-.035em;margin:0 0 4px;line-height:.98;max-width:none;}
.fdplay-home .fd-hero h1::first-line{font-size:.47em;line-height:1.45;letter-spacing:.055em;}
.fdplay-home .fd-hero h1 span{color:var(--fd-blue);}
.fdplay-home .fd-tagline{font-size:clamp(.8rem,1.1vw,1.05rem);letter-spacing:.38em;color:#e0edff;font-weight:700;margin:10px 0;}
.fdplay-home .fd-hero-copy > p:not(.fd-tagline){max-width:620px;margin:0 auto;font-size:.95rem;}
.fdplay-home .wp-block-buttons{gap:18px;margin:18px 0 0;}
.fdplay-home .fd-hero .wp-block-buttons{justify-content:center;gap:24px;}
.fdplay-home .wp-block-button__link{border-radius:9px;font-size:.9rem;padding:14px 26px;text-shadow:none;min-height:48px;}
.fdplay-home .fd-secondary .wp-block-button__link{background:#020b16c9;border-color:#478cff;}
.fdplay-home .fd-feature-section{padding-top:16px;padding-bottom:20px;}
.fdplay-home .fd-features{gap:24px;padding:0;}
.fdplay-home .fd-feature{display:grid;grid-template-columns:34px minmax(0,1fr);column-gap:12px;align-content:start;border:0;background:none;padding:0;}
.fdplay-home .fd-feature h3{font-size:.82rem;line-height:1.4;margin:0 0 4px;grid-column:2;}
.fdplay-home .fd-feature > p:not(.fd-icon){font-size:.77rem;margin:0;grid-column:2;}
.fdplay-home .fd-icon{font-size:2rem;line-height:1;color:var(--fd-blue);grid-row:1 / span 2;margin:0;}
.fdplay-home .fd-vision{font-size:.72rem;color:#98aec5;text-align:center;margin:18px 0 0;}
.fdplay-home h2{font-size:clamp(1.2rem,1.8vw,1.65rem);letter-spacing:.045em;}
.fdplay-home .fd-game-section > h2{display:flex;align-items:center;gap:20px;margin:0 0 18px;}
.fdplay-home .fd-game-section > h2::after{content:"";height:1px;background:linear-gradient(90deg,#4c708e,transparent);flex:1;}
.fdplay-home .fd-games{gap:18px;margin:0;}
.fdplay-home .fd-game{position:relative;isolation:isolate;border:1px solid #294355;border-radius:10px;overflow:hidden;background:#101f30;}
.fdplay-home .fd-card-art{position:absolute;inset:0;margin:0;z-index:-2;max-width:none!important;}
.fdplay-home .fd-card-art img{position:absolute;display:block;width:100%;max-width:none;height:100%;left:0;object-fit:cover;object-position:40% 50%;}
.fdplay-home .fd-game-valheim .fd-card-art img{object-position:40% 50%;}
.fdplay-home .fd-game::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#030c18b8,transparent 85%),linear-gradient(0deg,#030c18c9,transparent 80%);pointer-events:none;}
.fdplay-home .fd-card-copy{padding:24px;width:100%;}
.fdplay-home .fd-game h3{font-size:clamp(1.6rem,2.7vw,2.5rem);margin:0 0 20px;letter-spacing:-.035em;}
.fdplay-home .fd-game p{font-size:.85rem;max-width:340px;margin-bottom:8px;}
.fdplay-home .fd-game .fd-status{color:#d9e9ff;font-size:.67rem;font-weight:700;display:inline-block;background:#173b6c;border:1px solid #4a80c0;padding:3px 10px;border-radius:99px;margin-bottom:8px;}
.fdplay-home .fd-game .wp-block-buttons{margin-top:12px;}
.fdplay-home .fd-game .wp-block-button__link{padding:7px 14px;min-height:38px;font-size:.75rem;background:#071425d9;border-color:#7096c9;}
.fdplay-home .fd-bottom{display:grid;grid-template-columns:1.4fr 1fr;gap:40px;align-items:start;padding-top:8px;padding-bottom:58px;}
.fdplay-home .fd-intro{border:0;max-width:none;}
.fdplay-home .fd-intro h2{margin:0 0 10px;}
.fdplay-home .fd-intro p{font-size:.85rem;line-height:1.65;margin:0 0 10px;}
.fdplay-home .fd-discord{margin:0;padding:24px 28px;border:1px solid #4587ff;border-radius:10px;background:linear-gradient(120deg,var(--fd-blue),#0044da);color:#fff;text-align:left;}
.fdplay-home .fd-discord h2{font-size:1.25rem;margin:0 0 8px;}
.fdplay-home .fd-discord p{font-size:.83rem;}
.fdplay-home .fd-discord .wp-block-buttons{justify-content:flex-start;}
.fdplay-home .fd-discord .wp-block-button__link{background:#fff;color:#063c92;border-color:#fff;padding:9px 20px;min-height:40px;}
@media(min-width:1900px){.fdplay-home .fd-hero{min-height:40vw;}}
@media(max-width:1000px){.fdplay-home .fd-hero{min-height:560px;padding-top:210px;}.fdplay-home .fd-hero-art img{object-fit:contain;object-position:center top;}.fdplay-home .fd-bottom{grid-template-columns:1fr 1fr;gap:24px;}.fdplay-home .fd-tagline{letter-spacing:.2em;}}
@media(max-width:600px){.fdplay-home .fd-section{padding:24px 20px;}.fdplay-home .fd-hero{padding:calc(41.66vw + 14px) 20px 24px;min-height:0;}.fdplay-home .fd-hero-art{height:41.66vw;}.fdplay-home .fd-hero-art img{object-fit:contain;object-position:center top;}.fdplay-home .fd-hero::after{background:linear-gradient(180deg,transparent 0%,transparent 20%,#030e19 46%);}.fdplay-home .fd-hero h1{font-size:3.6rem;}.fdplay-home .fd-hero-copy::before{inset:-14px 0;}.fdplay-home .fd-tagline{font-size:.72rem;letter-spacing:.16em;}.fdplay-home .fd-features{grid-template-columns:1fr 1fr;gap:22px 16px;}.fdplay-home .fd-feature{grid-template-columns:26px minmax(0,1fr);gap:8px;padding:0;}.fdplay-home .fd-icon{font-size:1.6rem;}.fdplay-home .fd-features > :last-child{grid-column:1 / -1;max-width:280px;}.fdplay-home .fd-games,.fdplay-home .fd-bottom{grid-template-columns:1fr;}.fdplay-home .fd-bottom{gap:22px;padding-bottom:40px;}.fdplay-home .fd-game{min-height:280px;padding:0;}.fdplay-home .fd-hero .wp-block-buttons{gap:12px;}.fdplay-home .fd-discord{padding:24px;margin:0;}}
/* Equal cards and shared content tracks; descriptions expand, CTA stays last. */
.fdplay-home-design .fd-games{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:1fr;align-items:stretch;gap:18px;}
/* Reset flow-layout first/last-child spacing before grid track sizing. */
.fdplay-home-design .fd-games > .fd-game,
.fdplay-home-design .fd-game > .fd-card-copy,
.fdplay-home-design .fd-game > .fd-card-art{margin:0;}
.fdplay-home-design .fd-game{display:grid;align-items:stretch;min-height:0;height:auto;padding:24px;box-sizing:border-box;}
.fdplay-home-design .fd-card-copy{display:grid;grid-template-rows:auto auto 1fr auto;gap:12px;padding:0;min-width:0;width:100%;height:auto;}
.fdplay-home-design .fd-card-copy > :is(h3,p,.wp-block-buttons){margin:0;}
.fdplay-home-design .fd-card-copy > h3{align-self:start;}
.fdplay-home-design .fd-card-copy > .fd-status{justify-self:start;align-self:start;}
.fdplay-home-design .fd-card-copy > .wp-block-buttons{align-self:end;}
/* Subgrid shares exact heading/status/description/button rows across desktop cards. */
@supports(grid-template-rows:subgrid){
  @media(min-width:601px){
    .fdplay-home-design .fd-games{grid-template-rows:auto auto 1fr auto;grid-auto-rows:auto;row-gap:12px;}
    .fdplay-home-design .fd-game{grid-row:span 4;grid-template-rows:subgrid;}
    .fdplay-home-design .fd-card-copy{grid-row:span 4;grid-template-rows:subgrid;}
  }
}
@media(max-width:600px){.fdplay-home-design .fd-games{grid-template-columns:minmax(0,1fr);}.fdplay-home-design .fd-game{min-height:0;padding:24px;}}

