/*
Theme Name: The Grand Life
Theme URI: https://thegrandlife.co.uk
Description: Child theme of Twenty Twenty-Five for The Grand Life competitions. Heritage Green / Champagne Gold, serif headings, mobile-first. PROTOTYPE.
Template: twentytwentyfive
Version: 0.3.0
Author: The Grand Life
Text Domain: grand-life
*/
html{scroll-behavior:smooth}
body{-webkit-font-smoothing:antialiased}
h1,h2,h3,h4,.gl-serif{font-feature-settings:"liga" 1,"kern" 1}
a{text-underline-offset:.2em}
.gl-gold-rule{width:64px;height:2px;background:var(--wp--preset--color--gold);border:0;margin:1.2rem 0}
.gl-gold-rule.is-center{margin-left:auto;margin-right:auto}
.gl-eyebrow{letter-spacing:.28em;text-transform:uppercase;font-size:.78rem;font-weight:600;color:var(--wp--preset--color--gold)}
.gl-hero{min-height:78vh;display:flex;flex-direction:column;justify-content:center;
 background:radial-gradient(ellipse at 70% 20%,rgba(186,144,79,.18),transparent 55%),linear-gradient(180deg,#0C241A 0%,#08180f 100%)}
.gl-card{border:1px solid rgba(186,144,79,.45);border-radius:2px;background:rgba(235,226,209,.04)}
.gl-light .gl-card{background:#fff;border-color:rgba(37,36,36,.15)}
.gl-btn-gold .wp-block-button__link,.wp-element-button{border-radius:0;letter-spacing:.12em;text-transform:uppercase;font-size:.82rem;font-weight:600}
.is-style-outline .wp-block-button__link{border:1px solid var(--wp--preset--color--gold)!important;color:var(--wp--preset--color--gold)!important;background:transparent!important}
.gl-notice{border-left:3px solid var(--wp--preset--color--gold);background:rgba(186,144,79,.12);padding:1rem 1.25rem;font-size:.95rem}
.gl-light .gl-notice{background:rgba(186,144,79,.14)}
.gl-placeholder{display:inline;-webkit-box-decoration-break:clone;box-decoration-break:clone;background:rgba(186,144,79,.2);border:1px dashed #BA904F;padding:.05em .45em;font-size:.9em;border-radius:2px}
.gl-countdown{display:flex;gap:.75rem;flex-wrap:wrap}
.gl-countdown div{min-width:4.6rem;text-align:center;border:1px solid rgba(186,144,79,.6);padding:.7rem .4rem}
.gl-countdown b{display:block;font-family:var(--wp--preset--font-family--serif);font-size:2rem;line-height:1;color:var(--wp--preset--color--gold);font-weight:600}
.gl-countdown span{font-size:.65rem;letter-spacing:.2em;text-transform:uppercase;opacity:.8}
.gl-prize-img{aspect-ratio:4/3;display:flex;align-items:center;justify-content:center;text-align:center;padding:1rem;
 background:repeating-linear-gradient(45deg,rgba(186,144,79,.1) 0 12px,rgba(186,144,79,.04) 12px 24px);border:1px dashed rgba(186,144,79,.7);color:var(--wp--preset--color--gold);font-family:var(--wp--preset--font-family--serif);font-size:1.2rem}
.gl-bundles{width:100%;border-collapse:collapse;margin:1rem 0}
.gl-bundles th,.gl-bundles td{padding:.8rem .6rem;border-bottom:1px solid rgba(186,144,79,.35);text-align:left}
.gl-bundles th{font-size:.7rem;letter-spacing:.2em;text-transform:uppercase;color:var(--wp--preset--color--gold)}
.gl-form input[type=email],.gl-form input[type=text]{width:100%;padding:.85rem 1rem;border:1px solid var(--wp--preset--color--gold);background:rgba(255,255,255,.06);color:inherit;font:inherit;border-radius:0;box-sizing:border-box}
.gl-light .gl-form input[type=email],.gl-light .gl-form input[type=text]{background:#fff}
.gl-form label{display:block;font-size:.88rem;margin:.6rem 0}
.gl-form button{margin-top:.8rem;padding:.9rem 1.8rem;background:var(--wp--preset--color--gold);color:#0C241A;border:0;cursor:pointer;font-weight:600;letter-spacing:.12em;text-transform:uppercase;font-size:.82rem;border-radius:0}
.gl-ok{background:rgba(186,144,79,.2);border-left:3px solid #BA904F;padding:.8rem 1rem}
.gl-proto-bar{background:#BA904F;color:#0C241A;text-align:center;font-size:.78rem;padding:.4rem .6rem;letter-spacing:.06em}
.wp-block-site-title a{text-decoration:none}
.wp-block-navigation a{text-decoration:none}
.wp-block-navigation__responsive-container.is-menu-open{background:#0C241A!important;color:#EBE2D1!important}
.gl-footer a{color:#EBE2D1}
.gl-footer small{opacity:.8}
.woocommerce-page .site-main, .wp-block-woocommerce-cart, .wp-block-woocommerce-checkout{color:inherit}
.gl-trust{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.2rem}
@media(max-width:600px){.gl-hero{min-height:70vh}}
/* Cookie banner */
#gl-consent{position:fixed;left:0;right:0;bottom:0;z-index:99999;background:#0C241A;color:#EBE2D1;border-top:2px solid #BA904F;padding:1rem;box-shadow:0 -8px 30px rgba(0,0,0,.35);font-size:.9rem}
#gl-consent .in{max-width:1100px;margin:0 auto;display:flex;gap:1rem;flex-wrap:wrap;align-items:center;justify-content:space-between}
#gl-consent p{margin:0;flex:1 1 380px}
#gl-consent a{color:#BA904F}
#gl-consent button{padding:.7rem 1.4rem;font:inherit;font-weight:600;letter-spacing:.08em;text-transform:uppercase;font-size:.78rem;cursor:pointer;border:1px solid #BA904F;border-radius:0}
#gl-consent .acc{background:#BA904F;color:#0C241A}
#gl-consent .rej{background:transparent;color:#EBE2D1}
.gl-light{color:#252424}
.gl-light h1,.gl-light h2,.gl-light h3,.gl-light h4{color:#0C241A}
.gl-light a{color:#0C241A}
.gl-light .gl-eyebrow{color:#765a25}
.gl-light .gl-countdown b{color:#0C241A}
.gl-light .gl-countdown div{border-color:rgba(12,36,26,.35)}
.home .wp-block-post-title{display:none}
.gl-small{font-size:.8rem;opacity:.8}
.wp-block-details summary{font-family:var(--wp--preset--font-family--serif);font-size:1.35rem;color:var(--wp--preset--color--gold);cursor:pointer;padding:.6rem 0}
.wp-block-details{border-bottom:1px solid rgba(186,144,79,.3)}
.wp-block-post-title{font-size:clamp(2.2rem,6vw,3.4rem)}
.gl-hero{min-height:min(78vh,620px)!important}
.gl-hero p:not(.gl-eyebrow){max-width:620px!important;font-size:1.15rem;margin-left:max(0px,calc((100% - 1080px)/2))!important;margin-right:auto!important}
.gl-hero hr.gl-gold-rule{margin-left:max(0px,calc((100% - 1080px)/2))!important}
.gl-hero h1{margin-top:.3rem}
.variations_form table.variations,.variations_form .single_variation_wrap{display:none!important}
.product .product_meta{display:none}
.woocommerce-breadcrumb{font-size:.8rem;opacity:.8}

.gl-hero>h1,.gl-hero>.gl-eyebrow{margin-left:max(0px,calc((100% - 1080px)/2))!important;margin-right:auto!important;text-align:left}
.gl-hero>.gl-eyebrow{max-width:none!important}
.gl-hero .wp-block-buttons{margin-left:max(0px,calc((100% - 1080px)/2))!important;justify-content:flex-start}
/* v0.3.0 */
.gl-main-wide{max-width:none}
.gl-hero .gl-featured{margin-left:max(0px,calc((100% - 1080px)/2))}
.wp-block-post-title a{text-decoration:none}

/* Logo (header / footer / 404) */
.gl-logo{display:inline-block;line-height:0;text-decoration:none}
.gl-logo img{display:block;height:72px;width:auto;max-width:100%}
.gl-logo--footer img{height:150px}
.gl-logo--monogram img{height:96px}
.gl-footer .gl-logo--footer{margin:0 0 1rem}
.gl-404 .gl-logo{display:block;margin:0 0 1rem}

.wp-block-shortcode:has(>.gl-logo){margin:0;line-height:0}
.gl-logo:focus-visible{outline:2px solid #BA904F;outline-offset:4px}
@media(max-width:600px){.gl-logo--header img{height:52px}.gl-logo--footer img{height:120px}}
