/* Love78 Studios Core 0.1 — shared game showcase components.
   Scoped selectors avoid changing unrelated WordPress posts. */
:root { --love78-ink:#281632; --love78-purple:#291631; --love78-gold:#c5a45c; --love78-cream:#f7f0e5; }
/* Historical game showcases: restore a consistent heading hierarchy. */
body.love78-game-showcase .entry-content h2.wp-block-heading,
body.love78-game-showcase .wp-block-post-content h2.wp-block-heading {
  box-sizing:border-box; background:var(--love78-purple); color:#fff;
  text-align:center; font-size:clamp(1.35rem,2.3vw,1.9rem); font-weight:600;
  line-height:1.3; padding:0.8em 1em; border-radius:10px;
  border-bottom:4px solid var(--love78-gold); margin:2.2rem auto 1.15rem;
}
body.love78-game-showcase .entry-content h3.wp-block-heading,
body.love78-game-showcase .wp-block-post-content h3.wp-block-heading {
  color:var(--love78-ink); font-size:clamp(1.12rem,1.7vw,1.4rem);
  font-weight:700; text-align:center; margin:1.6rem auto .8rem;
}
/* Restore full-width, centered hero/card and readable summary typography. */
.love78-game-hero {width:100%;max-width:100%;margin:1.5rem auto 2rem!important;}
.love78-game-hero figure,.love78-game-hero img {max-width:100%;width:100%;height:auto;}
body.love78-game-showcase .wp-block-group:has(> .love78-game-status),
.love78-game-status {width:100%;max-width:100%;box-sizing:border-box;}
.love78-game-status {padding:clamp(18px,3vw,30px);background:#f4ebdb;border:1px solid #d5bb7e;border-left:6px solid var(--love78-gold);border-radius:10px;}
.love78-game-status h2,.love78-game-status h3 {background:transparent!important;color:var(--love78-ink)!important;border:0!important;padding:0!important;text-align:left!important;margin:0 0 .5rem!important;font-size:1.45rem!important;}
.love78-game-status p {font-size:1rem;line-height:1.75;margin:.45rem 0;}
/* Galleries, tables, and native Details blocks. */
.love78-game-table {max-width:850px;width:100%;margin:1.5rem auto!important;}
.love78-game-table table {width:100%;border-collapse:collapse;}
.love78-game-table th {background:var(--love78-purple);color:white;}
.love78-game-table th,.love78-game-table td {padding:.75rem .9rem;border:1px solid #d9cbb4;vertical-align:top;}
.love78-game-collection,.love78-game-gallery {width:100%;margin-left:auto!important;margin-right:auto!important;}
body.love78-game-showcase .wp-block-details {box-sizing:border-box;width:100%;max-width:100%;margin:12px auto;padding:0;border:1px solid #dfcfb5;border-radius:9px;overflow:hidden;}
body.love78-game-showcase .wp-block-details>summary {cursor:pointer;padding:14px 18px;background:#eee5d7;color:var(--love78-ink);font-weight:700;}
body.love78-game-showcase .wp-block-details[open]>summary {background:var(--love78-purple);color:#fff;}
body.love78-game-showcase .wp-block-details>:not(summary) {margin-left:18px;margin-right:18px;}
@media(max-width:640px){.love78-game-table{overflow-x:auto;display:block;}body.love78-game-showcase .wp-block-details>:not(summary){margin-left:12px;margin-right:12px;}}

/* v0.2: captions are redundant on designed game showcase artwork and
   can create an extra text column alongside the image. */
body.love78-game-showcase .entry-content figcaption,
body.love78-game-showcase .wp-block-post-content figcaption,
body.love78-game-showcase .entry-content .wp-element-caption,
body.love78-game-showcase .wp-block-post-content .wp-element-caption,
.love78-game-hero figcaption,
.love78-game-hero .wp-element-caption {display:none!important;}

/* Section banners should fill the same content width as article text.
   WordPress constrained layouts may give heading blocks a narrower max-width. */
body.love78-game-showcase .entry-content > h2.wp-block-heading,
body.love78-game-showcase .wp-block-post-content > h2.wp-block-heading,
body.love78-game-showcase .entry-content .is-layout-constrained > h2.wp-block-heading,
body.love78-game-showcase .wp-block-post-content .is-layout-constrained > h2.wp-block-heading {
  width:100%!important;max-width:100%!important;
  margin-left:auto!important;margin-right:auto!important;
}
