/*
Theme Name: Grown-Up Tales
Theme URI: https://manythingsmade.co.uk/
Author: Many Things Made Ltd
Description: A simple illustrated-book style WordPress theme for the Grown-Up Tales brand.
Version: 2.4.0
Text Domain: grown-up-tales
*/
:root{--cream:#f7efd9;--paper:#fffaf0;--navy:#0b3068;--red:#ca1f20;--gold:#e8b95f;--ink:#1d2a3a;--muted:#6b6259;--border:#decfae;--max:1180px;--radius:22px;--shadow:0 12px 28px rgba(25,35,50,.10)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:radial-gradient(circle at 10% 0%,rgba(232,185,95,.10),transparent 28%),linear-gradient(180deg,var(--paper),var(--cream));font-family:"Trebuchet MS",Arial,sans-serif;line-height:1.6}img{max-width:100%;height:auto}a{color:var(--navy);text-decoration:none}a:hover{color:var(--red)}.wrap{width:min(calc(100% - 36px),var(--max));margin-inline:auto}
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,250,240,.94);backdrop-filter:blur(8px);border-bottom:1px solid rgba(222,207,174,.8)}.header-inner{min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:30px}.brand-link{display:flex;align-items:center;gap:12px;color:var(--navy)}.brand-mark{width:42px;height:42px;border-radius:50%;background:var(--red);display:grid;place-items:center;color:#fff;font-weight:900;font-size:23px;box-shadow:var(--shadow)}.brand-text strong{display:block;font-family:Georgia,serif;font-size:1.45rem;line-height:1.1}.brand-text span{display:block;font-size:.78rem;color:var(--muted);margin-top:2px}.main-nav ul{display:flex;list-style:none;gap:24px;margin:0;padding:0}.main-nav a{font-weight:800;color:var(--navy)}.main-nav .current-menu-item>a,.main-nav a:hover{color:var(--red)}
.site-main{min-height:70vh}.hero{padding:76px 0 56px}.hero-grid{display:grid;grid-template-columns:1.08fr .92fr;gap:56px;align-items:center}.eyebrow{display:inline-block;color:var(--red);font-weight:900;letter-spacing:.06em;text-transform:uppercase;font-size:.8rem;margin-bottom:12px}.hero h1,.page-hero h1,.section-title{font-family:Georgia,serif;color:var(--navy);line-height:1.02}.hero h1{font-size:clamp(3rem,7vw,6.3rem);margin:0 0 18px;letter-spacing:-.04em}.hero h1 .red{color:var(--red)}.hero p{font-size:1.2rem;max-width:680px}.hero-art{background:linear-gradient(145deg,#fff 0%,#f4e4bd 100%);border:2px solid var(--border);border-radius:32px;padding:28px;box-shadow:var(--shadow);min-height:360px;display:grid;place-items:center;text-align:center}.hero-art .big{font-family:Georgia,serif;color:var(--navy);font-size:2.3rem;font-weight:800}.hero-art .joke{font-size:1.05rem;margin-top:12px}.btn{display:inline-block;padding:13px 20px;border-radius:999px;font-weight:900;background:var(--navy);color:#fff;border:2px solid var(--navy)}.btn:hover{background:var(--red);border-color:var(--red);color:#fff}.btn.secondary{background:transparent;color:var(--navy)}.btn.secondary:hover{color:#fff;background:var(--red)}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}.section{padding:54px 0}.section.alt{background:rgba(255,255,255,.42);border-block:1px solid var(--border)}.section-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:24px}.section-title{font-size:clamp(2rem,4vw,3.5rem);margin:0}.lead{font-size:1.12rem;color:#3f4854}.grid{display:grid;gap:24px}.books-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.characters-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.card{background:rgba(255,255,255,.72);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}.card-media{aspect-ratio:4/3;background:#efe1bc;overflow:hidden}.book-card .card-media{aspect-ratio:4/5}.card-media img{width:100%;height:100%;object-fit:cover;display:block}.card-body{padding:22px}.card h2,.card h3{font-family:Georgia,serif;color:var(--navy);margin:0 0 9px}.card-meta{color:var(--red);font-weight:800;font-size:.88rem;margin-bottom:10px}.card-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.page-hero{padding:58px 0 22px}.page-hero h1{font-size:clamp(2.8rem,6vw,5.2rem);margin:0 0 16px}.content-panel{background:rgba(255,255,255,.76);border:1px solid var(--border);border-radius:var(--radius);padding:clamp(24px,4vw,48px);box-shadow:var(--shadow)}.disclaimer{margin-top:30px;padding:18px 20px;border-left:5px solid var(--red);background:#fff4ee;border-radius:12px}.character-card{text-align:center}.character-card .card-media{aspect-ratio:1/1}.character-card .card-media img{object-position:center top}.contact-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:28px}.contact-box{padding:26px;border-radius:var(--radius);background:#fff;border:1px solid var(--border)}.contact-box h2{font-family:Georgia,serif;color:var(--navy)}.single-wrap{padding:50px 0 70px}.single-grid{display:grid;grid-template-columns:minmax(280px,.85fr) 1.15fr;gap:44px;align-items:start}.single-image{border-radius:24px;overflow:hidden;box-shadow:var(--shadow);background:#fff}.single-copy h1{font-family:Georgia,serif;color:var(--navy);font-size:clamp(2.4rem,5vw,4.5rem);line-height:1.05;margin-top:0}.single-copy .published{color:var(--red);font-weight:900}.empty-state{padding:32px;border:2px dashed var(--border);border-radius:18px;text-align:center;color:var(--muted)}.site-footer{margin-top:60px;background:var(--navy);color:#fff}.footer-inner{padding:34px 0;display:flex;justify-content:space-between;gap:30px;align-items:center}.site-footer a{color:#fff;text-decoration:underline}.footer-small{font-size:.9rem;opacity:.86}@media(max-width:900px){.hero-grid,.contact-grid,.single-grid{grid-template-columns:1fr}.books-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.characters-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.main-nav ul{gap:14px}}@media(max-width:650px){.header-inner{align-items:flex-start;flex-direction:column;padding:16px 0}.main-nav ul{flex-wrap:wrap;padding-bottom:12px}.books-grid,.characters-grid{grid-template-columns:1fr}.hero{padding-top:44px}.footer-inner{flex-direction:column;align-items:flex-start}}


/* v1.2 footer */
.site-footer{
  margin-top:60px;
  background:var(--navy);
  color:#fff;
}
.gut-footer-main{
  min-height:132px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:48px;
  padding-top:28px;
  padding-bottom:28px;
}
.gut-footer-brand strong{
  display:block;
  font-family:Georgia,serif;
  font-size:1.45rem;
  line-height:1.1;
}
.gut-footer-brand span{
  display:block;
  margin-top:7px;
  font-size:.88rem;
  opacity:.72;
}
.gut-footer-navs{
  display:flex;
  gap:54px;
  align-items:flex-start;
}
.gut-footer-label{
  display:block;
  margin-bottom:7px;
  color:var(--gold);
  font-size:.72rem;
  font-weight:900;
  letter-spacing:.09em;
  text-transform:uppercase;
}
.gut-footer-menu{
  display:flex;
  flex-wrap:wrap;
  gap:8px 18px;
  margin:0;
  padding:0;
  list-style:none;
}
.gut-footer-menu li{margin:0;padding:0}
.site-footer .gut-footer-menu a,
.gut-footer-bottom a{
  color:#fff;
  text-decoration:none;
  opacity:.9;
}
.site-footer .gut-footer-menu a:hover,
.gut-footer-bottom a:hover{
  color:var(--gold);
  opacity:1;
}
.gut-footer-bottom{
  border-top:1px solid rgba(255,255,255,.13);
}
.gut-footer-bottom-inner{
  min-height:46px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  font-size:.78rem;
  opacity:.68;
}
@media(max-width:780px){
  .gut-footer-main{
    align-items:flex-start;
    flex-direction:column;
    gap:26px;
  }
  .gut-footer-navs{
    width:100%;
    flex-direction:column;
    gap:20px;
  }
  .gut-footer-bottom-inner{
    align-items:flex-start;
    flex-direction:column;
    justify-content:center;
    gap:3px;
    padding-top:11px;
    padding-bottom:11px;
  }
}


/* ==========================================================
   Grown-Up Tales v2 - illustrated homepage
   ========================================================== */
:root{
  --navy:#082d63;
  --red:#c61e24;
  --cream:#fbf4df;
  --paper:#fffaf0;
  --gold:#efc65b;
  --ink:#0a2c5d;
}
html{scroll-behavior:smooth}
body{
  background:var(--cream);
  color:var(--ink);
}
.wrap{
  width:min(calc(100% - 40px),1220px);
  margin-left:auto;
  margin-right:auto;
}

/* header */
.site-header{
  position:relative;
  z-index:20;
  background:rgba(255,250,240,.98);
  border-bottom:1px solid rgba(8,45,99,.08);
}
.gut-header-inner{
  min-height:108px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:40px;
}
.gut-brand{
  display:flex;
  flex-direction:column;
  color:var(--navy);
  text-decoration:none;
}
.gut-brand-title{
  font-family:Georgia,serif;
  font-size:2.2rem;
  font-weight:900;
  letter-spacing:-.04em;
  line-height:.95;
}
.gut-brand-title em{
  color:var(--red);
  font-style:normal;
}
.gut-brand-tagline{
  margin-top:8px;
  font-size:.95rem;
  font-weight:800;
  letter-spacing:.01em;
}
.gut-primary-menu{
  display:flex;
  gap:38px;
  margin:0;
  padding:0;
  list-style:none;
  align-items:center;
}
.gut-primary-menu a{
  position:relative;
  color:var(--navy);
  text-decoration:none;
  font-size:1.05rem;
  font-weight:800;
}
.gut-primary-menu a:hover,
.current-menu-item>a{
  color:var(--red);
}
.current-menu-item>a:after,
.gut-primary-menu a:hover:after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-10px;
  height:3px;
  border-radius:999px;
  background:var(--red);
}

/* hero */
.gut-home-hero{
  padding:0;
  background:var(--cream);
}
.gut-home-hero .wrap{
  width:min(100%,1360px);
}
.gut-hero-art-link{
  display:block;
}
.gut-hero-art{
  display:block;
  width:100%;
  height:auto;
  max-height:610px;
  object-fit:cover;
}

/* feature strip */
.gut-feature-strip{
  background:var(--paper);
  border-top:1px solid rgba(8,45,99,.08);
  border-bottom:1px solid rgba(8,45,99,.08);
}
.gut-feature-grid{
  min-height:160px;
  display:grid;
  grid-template-columns:repeat(4,1fr) 1.45fr;
  align-items:center;
}
.gut-feature{
  min-height:92px;
  padding:10px 26px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  border-right:1px solid rgba(8,45,99,.17);
}
.gut-feature:nth-child(4){border-right:0}
.gut-feature-icon{
  display:block;
  margin-bottom:8px;
  color:var(--navy);
  font-size:2.2rem;
  line-height:1;
}
.gut-feature strong{
  font-size:.94rem;
  line-height:1.35;
}
.gut-feature-cta{
  display:flex;
  justify-content:flex-end;
  padding-left:30px;
}
.button-red{
  background:var(--red)!important;
  color:#fff!important;
  border-radius:4px 18px 4px 18px!important;
  padding:16px 28px!important;
  box-shadow:none!important;
  transform:rotate(-1deg);
  font-weight:900!important;
}
.button-red:hover{
  transform:rotate(0) translateY(-2px);
}

/* optional latest books below the fold */
.gut-home-books{
  padding:72px 0 84px;
}
.gut-section-heading{
  max-width:720px;
  margin-bottom:30px;
}
.gut-section-heading h2{
  margin:.25rem 0 0;
  color:var(--navy);
  font-size:clamp(2rem,4vw,3.4rem);
  line-height:1.02;
}

/* footer */
.site-footer{
  margin-top:0;
  background:var(--navy);
  color:#fff;
}
.gut-footer-main{
  min-height:140px;
  display:grid;
  grid-template-columns:1.1fr 2.4fr .8fr;
  align-items:center;
  gap:48px;
}
.gut-footer-brand strong{
  display:block;
  font-family:Georgia,serif;
  font-size:1.55rem;
}
.gut-footer-brand span{
  display:block;
  margin-top:9px;
  font-size:.82rem;
  opacity:.82;
}
.gut-footer-navs{
  display:flex;
  justify-content:center;
  gap:64px;
}
.gut-footer-label{
  display:block;
  margin-bottom:8px;
  font-size:.75rem;
  font-weight:900;
}
.gut-footer-menu{
  display:flex;
  flex-wrap:wrap;
  gap:7px 20px;
  margin:0;
  padding:0;
  list-style:none;
}
.site-footer a{
  color:#fff;
}
.site-footer a:hover{
  color:var(--gold);
}
.gut-footer-smile{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:12px;
  font-size:.82rem;
  line-height:1.3;
}
.gut-smile{
  font-size:2.3rem;
  transform:rotate(180deg);
}

/* keep content pages clean and readable */
body:not(.home) main .wrap,
body:not(.home) main .gut-wrap{
  width:min(calc(100% - 40px),1180px);
  margin-left:auto;
  margin-right:auto;
}

@media(max-width:960px){
  .gut-header-inner{
    min-height:auto;
    padding-top:20px;
    padding-bottom:18px;
    align-items:flex-start;
    flex-direction:column;
  }
  .gut-primary-menu{
    gap:22px;
    flex-wrap:wrap;
  }
  .gut-feature-grid{
    grid-template-columns:repeat(2,1fr);
    padding:18px 0;
  }
  .gut-feature{
    border-right:0;
    border-bottom:1px solid rgba(8,45,99,.12);
  }
  .gut-feature-cta{
    grid-column:1/-1;
    justify-content:center;
    padding:20px 0 4px;
  }
  .gut-footer-main{
    grid-template-columns:1fr;
    padding-top:34px;
    padding-bottom:34px;
    gap:26px;
  }
  .gut-footer-navs{
    justify-content:flex-start;
    flex-direction:column;
    gap:20px;
  }
  .gut-footer-smile{
    justify-content:flex-start;
  }
}
@media(max-width:620px){
  .wrap{width:min(calc(100% - 28px),1220px)}
  .gut-brand-title{font-size:1.8rem}
  .gut-brand-tagline{font-size:.84rem}
  .gut-primary-menu{gap:16px}
  .gut-primary-menu a{font-size:.95rem}
  .gut-feature-grid{grid-template-columns:1fr 1fr}
  .gut-feature{padding:12px 8px}
}


/* ==========================================================
   v2.1 — approved mockup fidelity pass
   ========================================================== */
html,body{margin:0;padding:0}
body.home{background:#fffaf0}
body.home #content{margin:0;padding:0}
body.home .site-header{margin:0}

.gut-approved-header{
  width:100%;
  background:#fffaf0;
  border:0;
  box-shadow:none;
}
.gut-approved-header-inner{
  width:min(100%,1378px);
  height:108px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 54px 0 145px;
  box-sizing:border-box;
}
.gut-approved-logo{
  display:block;
  width:390px;
  line-height:0;
}
.gut-approved-logo img{
  display:block;
  width:100%;
  height:auto;
}
.gut-approved-nav{
  align-self:stretch;
  display:flex;
  align-items:center;
}
.gut-approved-menu{
  display:flex;
  align-items:center;
  gap:38px;
  margin:0;
  padding:0;
  list-style:none;
}
.gut-approved-menu li{margin:0;padding:0}
.gut-approved-menu a{
  position:relative;
  display:block;
  padding:8px 0 7px;
  color:#082d63;
  text-decoration:none;
  font-size:21px;
  font-weight:700;
  line-height:1;
}
.gut-approved-menu .current-menu-item>a,
.gut-approved-menu a:hover{color:#c51d23}
.gut-approved-menu .current-menu-item>a:after,
.gut-approved-menu a:hover:after{
  content:"";
  position:absolute;
  left:-5px;
  right:-5px;
  bottom:-10px;
  height:3px;
  border-radius:999px;
  background:#c51d23;
}

.gut-approved-hero{
  width:100%;
  overflow:hidden;
  background:#fff;
}
.gut-approved-hero img{
  width:100%;
  height:auto;
  display:block;
}

/* on wide screens preserve the exact approved 1378:612 crop ratio */
@media(min-width:900px){
  .gut-approved-hero img{
    width:100%;
    aspect-ratio:1378/612;
    object-fit:cover;
  }
}

.gut-approved-features{
  width:100%;
  background:#fffaf0;
}
.gut-approved-feature-row{
  width:min(100%,1378px);
  min-height:180px;
  margin:0 auto;
  padding:18px 54px 18px 63px;
  box-sizing:border-box;
  display:grid;
  grid-template-columns:190px 1px 220px 1px 220px 1px 220px minmax(275px,1fr);
  align-items:center;
  column-gap:0;
}
.gut-approved-feature{
  text-align:center;
  color:#082d63;
  font-weight:700;
}
.gut-approved-feature img{
  display:block;
  max-width:98px;
  height:69px;
  object-fit:contain;
  margin:0 auto 4px;
}
.gut-approved-feature p{
  margin:0;
  font-size:18px;
  line-height:1.25;
}
.gut-approved-divider{
  height:88px;
  width:1px;
  background:rgba(8,45,99,.22);
}
.gut-approved-cta{
  display:block;
  justify-self:end;
  width:274px;
  line-height:0;
}
.gut-approved-cta img{
  display:block;
  width:100%;
  height:auto;
  transition:transform .18s ease;
}
.gut-approved-cta:hover img{
  transform:translateY(-2px) rotate(.25deg);
}

.gut-approved-footer{
  width:100%;
  margin:0;
  background:#062d5f;
  color:#fff;
}
.gut-approved-footer-inner{
  width:min(100%,1378px);
  min-height:124px;
  margin:0 auto;
  padding:18px 31px 15px;
  box-sizing:border-box;
  display:grid;
  grid-template-columns:220px 235px 270px 1px 390px 180px;
  align-items:center;
  column-gap:18px;
}
.gut-approved-footer-brand img{
  width:206px;
  max-width:100%;
  height:auto;
  display:block;
}
.gut-approved-parent{
  font-size:14px;
  line-height:1.35;
}
.gut-approved-parent span,
.gut-approved-parent a{display:block}
.gut-approved-footer-group{
  min-width:0;
}
.gut-approved-footer-group strong{
  display:block;
  margin-bottom:8px;
  font-size:14px;
}
.gut-approved-footer-links{
  display:flex;
  flex-wrap:wrap;
  gap:12px 22px;
}
.gut-approved-footer a{
  color:#fff;
  text-decoration:underline;
  text-underline-offset:2px;
  font-size:14px;
}
.gut-approved-footer a:hover{color:#efc65b}
.gut-approved-footer-separator{
  width:1px;
  height:53px;
  background:rgba(255,255,255,.26);
}
.gut-approved-footer-smile{
  justify-self:end;
  width:137px;
}
.gut-approved-footer-smile img{
  display:block;
  width:100%;
  height:auto;
}

@media(max-width:1050px){
  .gut-approved-header-inner{
    height:auto;
    min-height:108px;
    padding:14px 28px;
    gap:28px;
  }
  .gut-approved-logo{width:330px}
  .gut-approved-menu{gap:24px}
  .gut-approved-menu a{font-size:18px}

  .gut-approved-feature-row{
    grid-template-columns:repeat(4,1fr);
    padding:24px 24px;
    gap:20px;
  }
  .gut-approved-divider{display:none}
  .gut-approved-cta{
    grid-column:1/-1;
    justify-self:center;
    margin-top:8px;
  }

  .gut-approved-footer-inner{
    grid-template-columns:1fr 1fr;
    gap:26px 38px;
    padding:28px;
  }
  .gut-approved-footer-separator{display:none}
  .gut-approved-footer-smile{justify-self:start}
}

@media(max-width:720px){
  .gut-approved-header-inner{
    flex-direction:column;
    align-items:flex-start;
    justify-content:center;
  }
  .gut-approved-logo{width:min(390px,100%)}
  .gut-approved-menu{
    gap:18px;
    flex-wrap:wrap;
  }
  .gut-approved-menu a{font-size:16px}
  .gut-approved-feature-row{
    grid-template-columns:1fr 1fr;
  }
  .gut-approved-feature p{font-size:15px}
  .gut-approved-footer-inner{
    grid-template-columns:1fr;
  }
}


/* ==========================================================
   v2.2 — sticky footer + exact artwork background match
   ========================================================== */

/* Keep the footer at the bottom of the viewport on short pages. */
html {
  min-height: 100%;
}
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
#content {
  flex: 1 0 auto;
}
.site-header {
  flex: 0 0 auto;
}
.site-footer {
  flex: 0 0 auto;
}

/* Match the exact dark navy surrounding the footer artwork. */
.gut-approved-footer,
.site-footer.gut-approved-footer {
  background: #02244c !important;
}

.gut-approved-footer-inner,
.gut-approved-footer-brand,
.gut-approved-footer-smile,
.gut-approved-footer-brand img,
.gut-approved-footer-smile img {
  background: transparent !important;
}

/* Prevent tiny baseline gaps around cropped footer artwork. */
.gut-approved-footer-brand img,
.gut-approved-footer-smile img {
  display: block;
}


/* ==========================================================
   v2.3 — unify header and interior-page background
   ========================================================== */
body:not(.home),
body:not(.home) #content,
body:not(.home) .site-header,
body:not(.home) .gut-approved-header,
body:not(.home) .gut-approved-header-inner {
  background: var(--cream) !important;
}

/* Remove the subtle boundary so header flows into About/Books/Contact. */
body:not(.home) .site-header,
body:not(.home) .gut-approved-header {
  border-bottom: 0 !important;
  box-shadow: none !important;
}


/* ==========================================================
   v2.4 — unified cream background everywhere
   ========================================================== */

/* Use the same content cream on the header on every page, including Home. */
.site-header,
.gut-approved-header,
.gut-approved-header-inner {
  background: #fbf4df !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

/* The feature/cards strip on Home now uses the same content cream too. */
.gut-approved-features,
.gut-approved-feature-row {
  background: #fbf4df !important;
}

/* Keep the page canvas consistent. */
body,
body.home,
body:not(.home),
#content {
  background: #fbf4df;
}

/* Ensure the header logo image itself doesn't show a mismatched pale rectangle. */
.gut-approved-logo,
.gut-approved-logo img {
  background: transparent !important;
}
