/*
Theme Name: Gr8ded Basic
Theme URI: https://www.gr8ded.com/
Author: Gr8ded
Description: Lightweight WordPress theme. Gutenberg blocks use normal content width; the .gr8ded-hero section runs edge-to-edge.
Version: 1.0.9
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: gr8ded-basic
*/
:root{--navy:#142b50;--orange:#f4511e;--cream:#fff9e9;--paper:#fffdf7;--line:#e4dbc4;--content:1100px;--wide:1280px}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:var(--navy);background:#fff;font:16px/1.7 Arial,Helvetica,sans-serif}
img{max-width:100%;height:auto}a{color:var(--navy)}a:hover{color:var(--orange)}
.site-header{background:#e5dac5;color:#514b45;border-bottom:1px solid rgba(20,43,80,.08)}
.header-inner{width:min(var(--wide),calc(100% - 40px));height:64px;min-height:64px;margin:auto;padding-block:0;display:flex;align-items:center;justify-content:space-between;gap:28px}
.site-branding{display:flex;align-items:center;gap:12px}.custom-logo{display:block;max-height:42px;width:auto}
.site-title{margin:0;font-size:22px;line-height:1.2;font-weight:700}.site-title a{color:inherit;text-decoration:none}
.primary-navigation ul{list-style:none;display:flex;align-items:center;gap:24px;margin:0;padding:0}
.primary-navigation a{text-decoration:none;font-size:14px;font-weight:700}
.menu-toggle{display:none;border:1px solid var(--line);border-radius:6px;padding:8px 12px;color:var(--navy);background:var(--paper)}
.site-main{min-height:50vh}
.content-container{width:min(var(--content),calc(100% - 40px));margin-inline:auto}
.entry-content{margin:0}
.entry-content>*:not(.alignfull):not(.gr8ded-hero):not(.wp-block-cover.alignfull){max-width:var(--content);margin-left:auto;margin-right:auto}
.entry-content>.alignwide{max-width:var(--wide)}
.entry-content>.alignfull,.entry-content>.wp-block-cover.alignfull{max-width:none;width:100%}
.entry-content>:first-child{margin-top:0}.entry-content>:last-child{margin-bottom:0}
.wp-block-button__link{border-radius:7px;background:var(--orange);color:#fff;font-weight:700;text-decoration:none}
.wp-block-button.is-style-outline .wp-block-button__link{background:transparent;border:2px solid var(--navy);color:var(--navy)}
.wp-block-quote{border-left:4px solid var(--orange);padding-left:20px}
.wp-block-separator{border:0;border-top:1px solid var(--line)}

/* Full-bleed hero only; following Gutenberg blocks retain normal width */
.gr8ded-hero{--hero-navy:#142b50;--hero-orange:#f4511e;--hero-cream:#fff9e9;--hero-paper:#fffdf7;--hero-line:#e4dbc4;position:relative;isolation:isolate;overflow:hidden;width:100vw!important;max-width:none!important;margin-left:calc(50% - 50vw)!important;margin-right:0!important;padding:42px 24px;box-sizing:border-box;background:var(--hero-cream);color:var(--hero-navy);font-family:Arial,Helvetica,sans-serif;line-height:1.5}
.gr8ded-hero *, .gr8ded-hero *::before,.gr8ded-hero *::after{box-sizing:border-box}
.gr8ded-hero::before{content:"";position:absolute;inset:0;z-index:-2;background-image:url("https://www.gr8ded.com/images/image-01.jpg");background-size:cover;background-position:center;background-repeat:no-repeat}
.gr8ded-hero::after{content:"";position:absolute;inset:0;z-index:-1;background:rgba(255,249,233,.28);pointer-events:none}
.gr8ded-hero .hero-inner{position:relative;z-index:1;width:100%;max-width:1180px;margin:0 auto;display:grid;grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr);gap:44px;align-items:center}
.gr8ded-hero .book-stage{display:flex;justify-content:center;align-items:center;min-width:0}
.gr8ded-hero .book-cover{display:block;width:100%;max-width:370px;height:auto;object-fit:contain;filter:drop-shadow(0 12px 15px rgba(20,43,80,.18))}
.gr8ded-hero .hero-copy{min-width:0;padding:24px 28px;background:rgba(255,249,233,.88);border-radius:2px}
.gr8ded-hero .eyebrow{margin:0 0 12px;color:var(--hero-orange);font-size:12px;font-weight:800;letter-spacing:2px;line-height:1.5;text-transform:uppercase}
.gr8ded-hero h1{margin:0 0 14px;padding:0;color:var(--hero-navy);font-family:Georgia,"Times New Roman",serif;font-size:clamp(42px,4.5vw,64px);font-weight:700;line-height:1.04;letter-spacing:-1.5px}
.gr8ded-hero .tagline{margin:0 0 18px;color:var(--hero-orange);font-family:Georgia,"Times New Roman",serif;font-size:22px;font-style:italic;line-height:1.4}
.gr8ded-hero .lead{max-width:650px;margin:0 0 26px;color:var(--hero-navy);font-size:17px;line-height:1.8}
.gr8ded-hero .hero-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0 0 28px}
.gr8ded-hero .fact{display:flex;align-items:center;gap:10px;min-width:0;color:var(--hero-navy);font-size:12px;line-height:1.5}
.gr8ded-hero .fact strong{font-size:12px;font-weight:800}
.gr8ded-hero .level,.gr8ded-hero .fact-icon{flex:0 0 40px;width:40px;height:40px;display:flex;align-items:center;justify-content:center;border:1px solid var(--hero-line);border-radius:9px;background:var(--hero-paper);color:var(--hero-navy);font-size:17px;font-weight:800}
.gr8ded-hero .actions{display:flex;flex-wrap:wrap;gap:12px}
.gr8ded-hero .button{display:inline-flex;align-items:center;justify-content:center;padding:13px 18px;border:2px solid transparent;border-radius:8px;font-size:13px;font-weight:800;line-height:1.4;text-decoration:none;transition:transform .2s ease}
.gr8ded-hero .button:hover{transform:translateY(-2px)}
.gr8ded-hero .button.primary{background:var(--hero-orange);color:#fff}
.gr8ded-hero .button.secondary{border-color:var(--hero-navy);background:var(--hero-paper);color:var(--hero-navy)}
.site-footer{margin-top:0;padding:34px 20px;background:#2c2928;color:#f7f0e5;font-size:13px}
.footer-inner{width:min(var(--wide),calc(100% - 40px));margin:auto;display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap}
.site-footer a{color:inherit}.site-footer p{margin:0}
@media(max-width:900px){.gr8ded-hero .hero-inner{gap:28px}.gr8ded-hero .hero-copy{padding:20px}.gr8ded-hero .hero-facts{grid-template-columns:1fr}.gr8ded-hero h1{font-size:clamp(38px,5vw,52px)}}
@media(max-width:760px){.header-inner{height:auto;min-height:64px;flex-wrap:wrap;padding-block:8px}.menu-toggle{display:inline-flex}.primary-navigation{display:none;width:100%}.primary-navigation.is-open{display:block}.primary-navigation ul{flex-direction:column;align-items:flex-start;gap:14px;padding:12px 0}}
@media(max-width:650px){.gr8ded-hero{padding:30px 20px}.gr8ded-hero .hero-inner{grid-template-columns:1fr;gap:28px}.gr8ded-hero .book-cover{max-width:270px}.gr8ded-hero .hero-copy{padding:22px 18px}.gr8ded-hero h1{font-size:clamp(36px,9vw,48px);letter-spacing:-.8px}.gr8ded-hero .hero-facts{grid-template-columns:1fr}.gr8ded-hero .actions{flex-direction:column}.gr8ded-hero .button{width:100%;text-align:center}}
@media(prefers-reduced-motion:reduce){.gr8ded-hero .button{transition:none}}


/* GR8DED: hide post titles in the Gutenberg Latest Posts block */
.entry-content .wp-block-latest-posts__post-title {
  display: none !important;
}
