/*
Theme Name: HCRA Pioneer
Description: A WordPress block theme for the Hampden County Radio Association.
Version: 1.5.0
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: hcra-pioneer
License: GNU General Public License v2 or later
*/
:root{--hcra-ink:#282044;--hcra-dark:#281d4d;--hcra-green:#433375;--hcra-paper:#f7f5fb;--hcra-card:#fffdfa;--hcra-lime:#ffb661;--hcra-line:#dfd9ed;--hcra-muted:#574b6a;--hcra-gutter:clamp(1.25rem,4vw,3.5rem)}
body{margin:0}
.wp-site-blocks>*{margin-block:0}
.hcra-shell,.hcra-content,.hcra-footer-inner{max-width:76rem;margin-inline:auto;padding-inline:var(--hcra-gutter);box-sizing:border-box}
.hcra-header{background:var(--hcra-paper);border-bottom:1px solid var(--hcra-line)}
.hcra-header .hcra-shell{min-height:5rem;padding-block:.85rem;display:flex;align-items:center;justify-content:space-between;gap:1.25rem}
.hcra-brand{display:flex;align-items:center;gap:.65rem}
.hcra-brand .wp-block-site-title{font-weight:850;font-size:1.55rem;line-height:1}
.hcra-brand .wp-block-site-title a{text-decoration:none}
.hcra-brand::before{content:"";width:2.55rem;aspect-ratio:1;border-radius:50%;background:repeating-radial-gradient(circle,var(--hcra-lime) 0 2px,var(--hcra-dark) 2px 7px);border:3px solid var(--hcra-dark);flex:none}
.hcra-header .wp-block-navigation{font-size:.92rem;font-weight:700;--navigation-layout-justification-setting:flex-end}
.hcra-header .wp-block-navigation a:hover,.hcra-header .current-menu-item>a{text-decoration:underline;text-underline-offset:.3em}
.hcra-hero{background:var(--hcra-dark);color:var(--hcra-card);overflow:hidden;position:relative;isolation:isolate}
.hcra-hero::before{content:"";position:absolute;z-index:-1;inset:0;background:radial-gradient(circle at 77% 38%,#4a4b84,transparent 44%),linear-gradient(130deg,#281d4d 22%,#392962 100%)}
.hcra-hero::after{content:"";position:absolute;z-index:-1;inset:auto 0 0;height:37%;background:#201739;opacity:.73;clip-path:polygon(0 74%,12% 65%,22% 78%,36% 58%,47% 63%,62% 31%,67% 35%,77% 0,87% 31%,93% 23%,100% 44%,100% 100%,0 100%)}
.hcra-hero .hcra-shell{position:relative;padding-block:clamp(4rem,9vw,8rem)}
.hcra-hero .hcra-shell::after{content:"";position:absolute;pointer-events:none;z-index:-1;right:var(--hcra-gutter);top:12%;width:min(34vw,25rem);aspect-ratio:1;border-radius:50%;background:repeating-radial-gradient(circle,transparent 0 25px,#ffb66155 26px 27px,transparent 28px 39px),radial-gradient(circle,#ffb661 0 4px,transparent 5px);mask-image:radial-gradient(circle,#000 0 58%,transparent 71%)}
.hcra-eyebrow{font:700 .78rem/1.4 Consolas,monospace;letter-spacing:.14em;text-transform:uppercase}
.hcra-hero .hcra-eyebrow{color:var(--hcra-lime)}
.hcra-hero h1{max-width:12ch;margin:.8rem 0 1.25rem;font-size:clamp(3rem,8vw,7.15rem);line-height:.94;letter-spacing:-.075em}
.hcra-hero .hcra-intro{max-width:36rem;color:#eee8fd;font-size:clamp(1rem,2vw,1.25rem);margin-bottom:1.7rem}
.hcra-hero .wp-block-button:not(.is-style-outline) a{background:var(--hcra-lime);color:var(--hcra-dark)}
.hcra-hero .is-style-outline a{color:var(--hcra-card);border-color:#eee8fd}
.wp-block-button__link:hover{filter:brightness(.9)}
.hcra-section{padding-block:clamp(2.8rem,6vw,5.25rem)}
.hcra-section h2,.hcra-content h1{letter-spacing:-.055em;line-height:1.05}
.hcra-section h2{font-size:clamp(2rem,4vw,3.3rem);margin:.35rem 0 1.6rem}
.hcra-grid,.hcra-news .wp-block-post-template{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
.hcra-grid>*{margin:0}
.hcra-card,.hcra-news .wp-block-post-template>li{background:var(--hcra-card);padding:clamp(1.25rem,3vw,2rem);border:1px solid var(--hcra-line);border-radius:.9rem;min-width:0}
.hcra-card .hcra-eyebrow,.hcra-news .wp-block-post-date{color:var(--hcra-muted)}
.hcra-card h3{margin:.5rem 0;font-size:1.5rem;letter-spacing:-.035em}
.hcra-card p:last-child{margin-bottom:0;font-weight:700}
.hcra-band{background:#eeebf8}
.hcra-news .wp-block-post-title{font-size:1.45rem;line-height:1.2;letter-spacing:-.025em}
.hcra-news .wp-block-post-title a{text-decoration:none}
.hcra-news .wp-block-post-title a:hover{text-decoration:underline}
.hcra-content{padding-block:clamp(3rem,7vw,6rem);min-height:50vh}
.hcra-content>.wp-block-post-title,.hcra-content>.wp-block-query-title{max-width:52rem;margin:0 auto 1.4rem;font-size:clamp(2.3rem,6vw,4.35rem)}
.hcra-content>.wp-block-post-content,.hcra-content>.wp-block-post-date{max-width:52rem;margin-inline:auto}
.hcra-footer{background:var(--hcra-dark);color:var(--hcra-card)}
.hcra-footer-inner{padding-block:2.75rem;display:flex;justify-content:space-between;align-items:start;gap:1rem;flex-wrap:wrap}
.hcra-footer-inner p{margin:0}
.hcra-footer a{color:var(--hcra-lime)}
:where(a,button):focus-visible{outline:3px solid #c1501a;outline-offset:4px}
@media(max-width:760px){.hcra-grid,.hcra-news .wp-block-post-template{grid-template-columns:minmax(0,1fr)}.hcra-hero .hcra-shell::after{opacity:.35;right:-1rem;width:55vw}.hcra-header .wp-block-navigation{margin-left:auto}}

.hcra-pair{display:grid;grid-template-columns:1fr 1fr;gap:1rem;padding-bottom:clamp(2.8rem,6vw,5.25rem)}
.hcra-feature{margin:0;padding:clamp(1.5rem,4vw,3rem);border-radius:.9rem;background:#eeebf8}
.hcra-feature:last-child{background:#fff0dc}
.hcra-feature h2{margin:0;line-height:1.05;letter-spacing:-.045em;font-size:clamp(1.85rem,3.5vw,2.75rem)}
.hcra-feature p{max-width:42ch}
.hcra-feature p:last-child{margin-bottom:0;font-weight:700}
.hcra-hero .hcra-shell::after{width:min(36vw,27rem)}
@media(max-width:760px){.hcra-pair{grid-template-columns:1fr}.hcra-hero .hcra-shell::after{width:55vw}}

.hcra-hero .hcra-shell{padding-block:clamp(3rem,6vw,5rem)}
.hcra-hero h1{max-width:16ch;font-size:clamp(2.7rem,6.1vw,5.5rem);line-height:1}
.hcra-pair{padding-top:clamp(1.25rem,4vw,3rem);padding-bottom:0}
.hcra-feature p:last-child a{display:inline-block;margin-block:.15rem}

.hcra-brand::before{content:none}
.hcra-brand .wp-block-site-title a{display:block;width:clamp(6.5rem,12vw,9rem);aspect-ratio:600 / 454;background:#fff url("assets/hcra-w1ny-logo.jpg") center/contain no-repeat;overflow:hidden;text-indent:-999px;border-radius:.2rem}
.hcra-header .hcra-shell{padding-block:.8rem}
.hcra-header{background:#fff}
.hcra-header .wp-block-navigation{row-gap:.4rem}
.hcra-hero .hcra-shell::after{background:repeating-radial-gradient(circle,transparent 0 25px,#48c3d966 26px 27px,transparent 28px 39px),radial-gradient(circle,#ffb661 0 4px,transparent 5px)}
.hcra-feature:first-child{border-top:3px solid #168399}
.hcra-feature:last-child{border-top:3px solid #db8027}

.hcra-archive{padding-top:0}
.hcra-archive-grid{align-items:start}
.hcra-archive-photo img{display:block;width:100%;height:auto;aspect-ratio:3 / 2;object-fit:contain;background:#eeeaf4;border-radius:.6rem}
.hcra-archive-photo:first-child img{object-fit:cover;object-position:50% 42%}
.hcra-archive-photo figcaption{color:var(--hcra-muted);font-size:.9rem;text-align:left;margin:.55rem 0 0}

.hcra-album-section{margin-block:2.75rem}
.hcra-album-section h2{font-size:clamp(1.8rem,3vw,2.7rem);letter-spacing:-.045em;line-height:1.15}
.hcra-album-grid{align-items:start}
.hcra-album-photo img{display:block;width:100%;height:auto;aspect-ratio:4 / 3;object-fit:contain;background:#eeeaf4;border-radius:.55rem}
.hcra-album-photo figcaption{color:var(--hcra-muted);font-size:.9rem;text-align:left;margin:.55rem 0 0}
.hcra-album-preview{padding-block:2rem 3rem}
@media(min-width:761px){.hcra-header .wp-block-navigation{column-gap:clamp(.5rem,1.3vw,1.4rem)}}
