/*
Theme Name: HNB Beekeepers
Theme URI: https://hnb.buzznbees.com
Author: Haldimand Norfolk Beekeepers Association
Description: A custom, accessible WordPress theme for the Haldimand Norfolk Beekeepers Association.
Version: 3.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: hnb-beekeepers
*/

:root{--amber:#d99a22;--gold:#f0bd45;--brown:#352419;--cream:#fff9eb;--olive:#687044;--white:#fff;--ink:#28231f;--muted:#6d655d;--shadow:0 14px 40px rgba(53,36,25,.12);--radius:18px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--ink);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.65}a{color:var(--brown)}img{max-width:100%;height:auto}.container{width:min(1160px,calc(100% - 40px));margin:auto}.screen-reader-text{position:absolute;left:-9999px}.site-header{position:sticky;top:0;z-index:50;background:rgba(255,249,235,.94);backdrop-filter:blur(12px);border-bottom:1px solid rgba(53,36,25,.1)}.header-inner{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-weight:850;color:var(--brown);line-height:1.1}.brand-mark{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--gold);font-size:24px}.site-nav ul{display:flex;gap:24px;list-style:none;margin:0;padding:0}.site-nav a{text-decoration:none;font-weight:700}.menu-toggle{display:none;border:0;background:var(--brown);color:#fff;border-radius:9px;padding:10px 13px}.hero{position:relative;min-height:78vh;display:grid;place-items:center;overflow:hidden;background:linear-gradient(135deg,#4b321e,#b97816)}.hero-media,.hero-video{position:absolute;inset:-12%;width:124%;height:124%;object-fit:cover;background:radial-gradient(circle at 70% 25%,#f2c55a 0 8%,transparent 9%),linear-gradient(135deg,#3c291d 0%,#9e641d 48%,#e6ae37 100%);will-change:transform}.hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(25,18,12,.84),rgba(25,18,12,.45))}.hero-content{position:relative;z-index:2;color:#fff;padding:90px 0;max-width:850px}.eyebrow{text-transform:uppercase;letter-spacing:.16em;font-size:.82rem;font-weight:850;color:var(--gold)}.hero h1{font-size:clamp(2.6rem,7vw,5.5rem);line-height:.98;margin:.15em 0 .28em;max-width:900px}.hero p{font-size:clamp(1.05rem,2vw,1.35rem);max-width:680px}.button{display:inline-block;border:0;border-radius:999px;padding:13px 22px;background:var(--gold);color:var(--brown);font-weight:850;text-decoration:none;cursor:pointer}.button.alt{background:transparent;color:#fff;border:2px solid rgba(255,255,255,.75);margin-left:8px}.video-control{position:absolute;right:24px;bottom:24px;z-index:3;border:1px solid rgba(255,255,255,.7);background:rgba(0,0,0,.45);color:#fff;padding:9px 14px;border-radius:999px}.section{padding:88px 0}.section.white{background:#fff}.section-heading{max-width:760px;margin-bottom:38px}.section-heading h2{font-size:clamp(2rem,4vw,3.2rem);line-height:1.1;margin:.15em 0}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.card{background:#fff;border-radius:var(--radius);padding:28px;box-shadow:var(--shadow);border:1px solid rgba(53,36,25,.07)}.card h3{margin-top:0;color:var(--brown)}.icon{font-size:2rem}.meeting{background:var(--brown);color:#fff;border-radius:24px;padding:36px;display:grid;grid-template-columns:1.4fr .6fr;gap:30px;align-items:center}.meeting h2{margin-top:0}.meeting a{color:var(--gold)}.notice{background:#f4d474;border-left:6px solid var(--amber);padding:18px 22px;border-radius:10px}.post-list{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.post-card{background:#fff;border-radius:16px;overflow:hidden;box-shadow:var(--shadow)}.post-card .content{padding:24px}.site-footer{background:#241811;color:#f7ead5;padding:55px 0 25px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:35px}.site-footer a{color:var(--gold)}.copyright{border-top:1px solid rgba(255,255,255,.14);margin-top:32px;padding-top:22px;color:#cdbda9}.content-area{padding:70px 0;min-height:55vh}.entry-title{font-size:clamp(2.2rem,5vw,4rem);line-height:1.05}.wp-block-image img{border-radius:14px}
@media(max-width:800px){.menu-toggle{display:block}.site-nav{display:none;position:absolute;left:0;right:0;top:76px;background:var(--cream);padding:20px}.site-nav.open{display:block}.site-nav ul{flex-direction:column}.grid,.post-list,.meeting,.footer-grid{grid-template-columns:1fr}.hero{min-height:70vh}.button.alt{margin:10px 0 0}.section{padding:64px 0}.hero-media,.hero-video{inset:0;width:100%;height:100%;transform:none!important}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.hero-media,.hero-video{transform:none!important}}
.rotating-line{font-size:clamp(1.45rem,3.2vw,2.35rem);font-weight:750;line-height:1.2;margin:0 0 20px}.js-rotating{color:var(--gold);display:inline-block;transition:opacity .22s ease,transform .22s ease}.js-rotating.changing{opacity:0;transform:translateY(8px)}
.editable-section{position:relative;overflow:hidden;padding:88px 0;background:var(--section-bg);color:var(--section-color)}.section-layout{position:relative;z-index:2;display:grid;grid-template-columns:1fr 1fr;gap:55px;align-items:center}.section-copy{text-align:var(--text-align)}.section-copy h2{font-size:var(--heading-size);line-height:1.08;margin:.15em 0 .45em;color:inherit}.section-body{font-size:var(--body-size)}.section-media img,.section-media video{display:block;width:100%;height:460px;object-fit:var(--media-fit);border-radius:18px;background:#17120e}.media-right .section-media{order:2}.media-center .section-layout{grid-template-columns:1fr}.media-center .section-media{max-width:900px;margin:auto;width:100%}.media-center .section-copy{max-width:900px;margin:auto}.section-background{position:absolute;inset:0;width:100%;height:100%;object-fit:var(--media-fit);background-position:center;background-size:var(--media-fit);background-repeat:no-repeat}.section-shade{position:absolute;inset:0;background:rgba(20,14,10,.62)}.has-background-media{color:#fff}.has-background-media .section-layout{grid-template-columns:1fr;min-height:390px}.has-background-media .section-copy{max-width:850px}.editable-section .post-list{margin-top:30px;text-align:left}.editable-section .post-card{color:var(--ink)}
@media(max-width:800px){.section-layout{grid-template-columns:1fr}.media-right .section-media{order:0}.section-media img,.section-media video{height:300px}.editable-section{padding:64px 0}}
.editable-section{border-bottom:1px solid rgba(53,36,25,.22)}.has-background-media{border-bottom-color:rgba(255,255,255,.48)}
.block-homepage>.wp-block-group,.home-block-section{padding:80px max(20px,calc((100vw - 1160px)/2));border-bottom:1px solid rgba(53,36,25,.22)}.block-homepage>.wp-block-group h2{font-size:clamp(2rem,4vw,3.2rem);line-height:1.1}.hero-buttons{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:25px}.hero-buttons .button{margin:0}.hnb-hero-editor{min-height:600px}.hnb-hero-editor>img,.hnb-hero-editor>video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.hnb-hero-editor .hero-content{margin:auto;width:min(1160px,calc(100% - 40px))}
