/*
Theme Name: Troop One
Theme URI: https://edmondtroop1.org/
Author: SH Labs
Description: Fast, mobile-first full-site-editing theme for Edmond Troop 1.
Version: 0.10.1
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: troop-one
Tags: full-site-editing, block-patterns, accessibility-ready, e-commerce
*/
html{scroll-behavior:smooth}body{text-rendering:optimizeLegibility}.wp-site-blocks{overflow-x:clip}.troop-one-card{transition:transform .18s ease}.troop-one-card:hover{transform:translateY(-2px)}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important;animation:none!important}}


/* Troop One 0.5 homepage and footer */
.site-header-shell{position:sticky;top:0;z-index:100;box-shadow:0 1px 0 rgba(11,35,66,.12)}
.troop-home-hero{position:relative;overflow:hidden}
.troop-home-hero:after{content:"";position:absolute;inset:auto -10vw -22vw auto;width:55vw;height:55vw;border:2px solid rgba(255,255,255,.09);border-radius:50%;pointer-events:none}
.troop-eyebrow{text-transform:uppercase;letter-spacing:.14em;font-size:.78rem;font-weight:800}
.troop-section-heading{max-width:760px;margin-inline:auto}
.troop-home-card{height:100%;box-shadow:0 8px 24px rgba(11,35,66,.06);transition:transform .18s ease,box-shadow .18s ease}
.troop-home-card:hover{transform:translateY(-3px);box-shadow:0 14px 32px rgba(11,35,66,.11)}
.troop-link-arrow a{text-decoration:none;font-weight:750}
.troop-link-arrow a:after{content:" →"}
.troop-footer a{color:inherit;text-decoration:none}
.troop-footer a:hover{text-decoration:underline;text-underline-offset:3px}
.troop-footer-kicker{text-transform:uppercase;letter-spacing:.1em;font-size:.75rem;font-weight:800;color:var(--wp--preset--color--gold)}
.troop-footer-links p{margin:.42rem 0}
.troop-footer-cta{margin-bottom:-2.25rem;position:relative;z-index:2;box-shadow:0 14px 35px rgba(0,0,0,.18)}
@media(max-width:781px){.site-header-shell{position:relative}.troop-footer-cta{margin-bottom:-1.25rem}.troop-home-hero{min-height:auto!important}.troop-home-hero .wp-block-spacer{height:1rem!important}}


/* Troop One 0.7 featured Register & Pay section */
.troop-register-pay .woocommerce ul.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1.25rem;margin:0;padding:0}
.troop-register-pay .woocommerce ul.products:before,.troop-register-pay .woocommerce ul.products:after{display:none}
.troop-register-pay .woocommerce ul.products li.product{float:none!important;width:auto!important;margin:0!important;padding:1rem;border:1px solid #dfe4e8;border-radius:14px;background:#fff;box-shadow:0 8px 24px rgba(11,35,66,.06);display:flex;flex-direction:column}
.troop-register-pay .woocommerce ul.products li.product a img{border-radius:10px;aspect-ratio:4/3;object-fit:cover;margin-bottom:1rem}
.troop-register-pay .woocommerce-loop-product__title{font-size:1.12rem!important;line-height:1.25;padding:.2rem 0!important;color:var(--wp--preset--color--navy)}
.troop-register-pay .price{font-weight:800;color:var(--wp--preset--color--charcoal)!important;margin:.35rem 0 .8rem!important}
.troop-register-pay .button{margin-top:auto!important;text-align:center;background:var(--wp--preset--color--red)!important;color:#fff!important;border-radius:8px!important;padding:.75rem 1rem!important}
.troop-register-pay .button:hover{filter:brightness(.92)}
.troop-payment-note{margin-top:1.25rem;color:#5f6872}
@media(max-width:1000px){.troop-register-pay .woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.troop-register-pay .woocommerce ul.products{grid-template-columns:1fr}.troop-register-pay .woocommerce ul.products li.product{padding:.9rem}}

.troop-footer-logo-image{width:90px;max-width:90px;height:auto;display:block;object-fit:contain;}


/* Troop One 0.10 hero logo layout */
.troop-home-hero{background:linear-gradient(135deg,#06182f 0%,#0b2342 52%,#123b69 100%)}
.troop-hero-layout{position:relative;z-index:1;gap:clamp(2rem,5vw,4.5rem)}
.troop-hero-logo-column{display:flex;align-items:center;justify-content:flex-start}
.troop-hero-logo-image{display:block;width:min(var(--troop-hero-logo-width,280px),100%);max-width:100%;height:auto;filter:drop-shadow(0 12px 28px rgba(0,0,0,.22))}
.troop-hero-copy-column{max-width:760px}
@media(max-width:781px){.troop-hero-layout{gap:1.75rem}.troop-hero-logo-column{justify-content:center}.troop-hero-logo-image{width:min(var(--troop-hero-logo-width,240px),62vw)}.troop-hero-copy-column{text-align:center}.troop-hero-copy-column .wp-block-buttons{justify-content:center}.troop-home-hero{padding-top:3rem!important;padding-bottom:3.5rem!important}}

/* 0.10.1: ensure repaired hero-logo markup fills its column */
.troop-hero-logo-column>p{margin:0;width:100%}.troop-hero-logo-column .troop-hero-logo-image{margin:0}
