/*
Theme Name: CCSTRA Civic
Theme URI: https://ccstra.org/
Author: CCSTRA
Description: Clean civic association theme for Corpus Christi short-term rental advocacy.
Version: 0.1.4
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: ccstra
*/
:root{--cc-navy:#001e38;--cc-red:#b8101a;--cc-cream:#fcfaf7;--cc-white:#fff;--cc-ink:#243449;--cc-muted:#5d6874;--cc-line:#d9dee4;--cc-width:1160px}
*,*:before,*:after{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cc-white);color:var(--cc-ink);font:16px/1.65 system-ui,-apple-system,"Segoe UI",sans-serif}a{color:var(--cc-navy);text-underline-offset:3px}a:hover{color:var(--cc-red)}img{max-width:100%;height:auto}h1,h2,h3,h4{line-height:1.18;color:var(--cc-navy);margin:0 0 .7em;font-family:Georgia,"Times New Roman",serif}h1{font-size:clamp(2.4rem,5vw,4.3rem)}h2{font-size:clamp(1.85rem,3.2vw,2.8rem)}h3{font-size:1.3rem}p{margin:0 0 1.2em}.cc-wrap{width:min(var(--cc-width),calc(100% - 40px));margin-inline:auto}.cc-skip{position:absolute;left:-9999px}.cc-skip:focus{left:12px;top:12px;z-index:100;background:white;padding:9px}.cc-header{background:var(--cc-navy);color:white;border-bottom:3px solid var(--cc-red)}.cc-nav{min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:25px}.cc-brand{display:flex;align-items:center;gap:13px;color:white!important;text-decoration:none}.cc-brand-icon{border:2px solid white;border-radius:50%;width:52px;height:52px;display:grid;place-items:center;color:white;font:700 18px Georgia,serif}.cc-brand img{width:58px;height:58px;object-fit:contain}.cc-brand-name{display:block;font:700 26px Georgia,serif;line-height:1}.cc-brand-sub{display:block;font-size:11px;letter-spacing:.04em;color:#d6dee7;margin-top:5px}.cc-menu{display:flex;align-items:center;flex-wrap:wrap;gap:24px;list-style:none;margin:0;padding:0}.cc-menu li{list-style:none}.cc-menu a{color:white;text-decoration:none;font-size:.91rem;font-weight:650}.cc-menu a:hover{color:#f3a9aa}.cc-btn,.wp-block-button__link{display:inline-block;background:var(--cc-red);color:white!important;border:1px solid var(--cc-red);padding:12px 20px;border-radius:3px;text-decoration:none;font-weight:700;line-height:1.35}.cc-btn:hover,.wp-block-button__link:hover{background:#930d15}.cc-btn-outline{background:transparent;color:white!important;border-color:#a8b8c8}.cc-btn-outline:hover{background:#173a58}.cc-hero{background:var(--cc-navy);color:white;padding:90px 0 94px}.cc-hero h1{color:white;max-width:800px}.cc-hero p{color:#e1e8ef;max-width:720px;font-size:1.15rem}.cc-kicker{text-transform:uppercase;letter-spacing:.14em;font-size:.73rem;font-weight:800;margin-bottom:18px;color:var(--cc-red)}.cc-hero .cc-kicker{color:#f0b9bc}.cc-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.cc-section{padding:70px 0}.cc-section-soft{background:var(--cc-cream)}.cc-section-navy{background:var(--cc-navy);color:white}.cc-section-navy h2{color:white}.cc-section-navy p{color:#d8e3ee}.cc-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.cc-card{border:1px solid var(--cc-line);background:white;padding:26px;border-radius:3px}.cc-card p{color:var(--cc-muted)}.cc-stat{border-top:3px solid var(--cc-red);padding-top:15px}.cc-stat-value{font:700 clamp(1.7rem,3vw,2.5rem) Georgia,serif;color:var(--cc-navy)}.cc-stat-label{font-weight:700}.cc-note{font-size:.86rem;color:var(--cc-muted)}.cc-section-navy .cc-note{color:#c8d4e0}.cc-two-col{display:grid;grid-template-columns:1fr 1fr;gap:52px;align-items:start}.cc-main{min-height:40vh;padding:62px 0}.cc-main article{max-width:850px}.cc-main .entry-content>*{max-width:100%}.cc-footer{padding:43px 0;background:#07192a;color:#dce4ed}.cc-footer a{color:#fff}.cc-footer-inner{display:flex;gap:30px;justify-content:space-between;flex-wrap:wrap}.cc-footer p{margin:6px 0;font-size:.89rem}.cc-footer .cc-small{color:#b9c9d7;font-size:.8rem}.cc-posts{list-style:none;padding:0}.cc-posts li{border-bottom:1px solid var(--cc-line);padding:16px 0}.cc-posts a{font-weight:700}.alignwide{max-width:var(--cc-width)}.alignfull{width:100%}.screen-reader-text{position:absolute;clip:rect(1px,1px,1px,1px);overflow:hidden;height:1px;width:1px}
@media(max-width:840px){.cc-nav{align-items:flex-start;flex-direction:column;padding:16px 0}.cc-menu{gap:13px}.cc-grid{grid-template-columns:1fr 1fr}.cc-two-col{grid-template-columns:1fr;gap:24px}.cc-hero{padding:60px 0}}
@media(max-width:560px){.cc-grid{grid-template-columns:1fr}.cc-menu{gap:10px 17px}.cc-brand-sub{font-size:10px}.cc-section{padding:50px 0}}

/* Header logo containment: prevents full-resolution custom logos from expanding the nav. */
.cc-header{position:relative}
.cc-nav{min-height:86px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.cc-brand{display:flex;align-items:center;gap:12px;flex:0 1 auto;min-width:0;text-decoration:none}
.cc-brand-media{display:flex;align-items:center;justify-content:center;flex:0 0 62px;width:62px;height:62px;overflow:hidden}
.cc-brand-media .custom-logo-link{display:flex;align-items:center;justify-content:center;width:62px;height:62px;min-width:0;max-width:62px;overflow:hidden}
.cc-brand-media .custom-logo,.cc-brand-media img,.cc-header .cc-brand-media img{display:block!important;width:60px!important;max-width:60px!important;height:60px!important;max-height:60px!important;object-fit:contain!important;border:0;border-radius:50%;box-shadow:none}
.cc-brand-text{color:#fff!important;text-decoration:none;display:block;min-width:0}
.cc-brand-name{font-size:25px;white-space:nowrap}
.cc-brand-sub{font-size:10px;letter-spacing:.02em;white-space:normal;max-width:260px;line-height:1.3}
.cc-nav nav{flex:0 1 auto;min-width:0}
.cc-menu{display:flex;flex-wrap:wrap;gap:14px 21px;justify-content:flex-end}
.cc-menu a{white-space:nowrap}
@media(max-width:900px){.cc-brand-media,.cc-brand-media .custom-logo-link{width:52px;height:52px;flex-basis:52px}.cc-brand-media .custom-logo,.cc-brand-media img,.cc-header .cc-brand-media img{width:50px!important;max-width:50px!important;height:50px!important;max-height:50px!important}.cc-nav{gap:15px}.cc-menu{gap:10px 16px}}
@media(max-width:650px){.cc-nav{flex-direction:column;align-items:stretch;padding:12px 0;gap:12px}.cc-brand{width:100%}.cc-menu{justify-content:flex-start}.cc-brand-sub{max-width:none}}

/* Civic seal: overlap header's red rule without changing its layout. */
.cc-header{isolation:isolate;z-index:10}
.cc-header .cc-nav{position:relative;min-height:88px}
.cc-header .cc-brand{position:relative;padding-left:132px;min-height:80px;align-items:center}
.cc-header .cc-brand-media{position:absolute;left:0;top:50%;transform:translateY(-43%);width:116px;height:116px;max-width:116px;overflow:visible;z-index:11}
.cc-header .cc-brand-media .custom-logo-link{width:116px;height:116px;max-width:116px;overflow:visible;display:flex;align-items:center;justify-content:center}
.cc-header .cc-brand-media .custom-logo,
.cc-header .cc-brand-media img,
.cc-header .cc-brand-media .custom-logo-link img{width:112px!important;max-width:112px!important;height:112px!important;max-height:112px!important;object-fit:contain!important;border:0;border-radius:50%;background:transparent}
.cc-header .cc-brand-name{font-size:27px}
.cc-hero{background-color:var(--cc-navy);background-image:linear-gradient(90deg,rgba(0,30,56,.94) 0%,rgba(0,30,56,.79) 39%,rgba(0,30,56,.34) 73%,rgba(0,30,56,.19) 100%),var(--cc-hero-image,none);background-size:cover;background-position:center center;background-repeat:no-repeat}
.cc-hero .cc-wrap{position:relative}
.cc-hero h1{max-width:850px;text-shadow:0 2px 12px rgba(0,18,35,.25)}
@media(max-width:900px){
 .cc-header .cc-brand{padding-left:96px;min-height:72px}
 .cc-header .cc-brand-media,.cc-header .cc-brand-media .custom-logo-link{width:84px;height:84px;max-width:84px}
 .cc-header .cc-brand-media .custom-logo,.cc-header .cc-brand-media img,.cc-header .cc-brand-media .custom-logo-link img{width:82px!important;max-width:82px!important;height:82px!important;max-height:82px!important}
 .cc-header .cc-brand-name{font-size:24px}
}
@media(max-width:650px){.cc-header .cc-nav{padding:12px 0 18px}.cc-header .cc-brand{padding-left:84px}.cc-header .cc-brand-media,.cc-header .cc-brand-media .custom-logo-link{width:74px;height:74px;max-width:74px}.cc-header .cc-brand-media .custom-logo,.cc-header .cc-brand-media img,.cc-header .cc-brand-media .custom-logo-link img{width:72px!important;max-width:72px!important;height:72px!important;max-height:72px!important}.cc-hero{background-image:linear-gradient(90deg,rgba(0,30,56,.94),rgba(0,30,56,.64)),var(--cc-hero-image,none);background-position:60% center}}

/* Allow the hanging seal to clear the viewport top and enlarge association wordmark. */
.cc-header .cc-nav{min-height:106px;padding-top:14px;padding-bottom:8px}
.cc-header .cc-brand{min-height:90px}
.cc-header .cc-brand-media{top:50%;transform:translateY(-38%)}
.cc-header .cc-brand-text{display:flex;flex-direction:column;justify-content:center;min-width:0}
.cc-header .cc-brand-name{font-size:clamp(27px,2.1vw,34px);line-height:1.2;padding-top:3px}
.cc-header .cc-brand-sub{font-size:clamp(11px,1vw,13px);line-height:1.45;max-width:335px}
@media(max-width:900px){.cc-header .cc-nav{min-height:98px;padding-top:12px}.cc-header .cc-brand{min-height:78px}.cc-header .cc-brand-name{font-size:27px}.cc-header .cc-brand-sub{font-size:11px}}
@media(max-width:650px){.cc-header .cc-nav{padding-top:14px;padding-bottom:16px;min-height:unset}.cc-header .cc-brand{min-height:78px}.cc-header .cc-brand-name{font-size:25px}.cc-header .cc-brand-sub{font-size:11px}}

/* Clean economic impact figures; complete notes remain accessible at page bottom. */
.cc-stat-grid{align-items:stretch}
.cc-stat-grid .cc-card{min-height:160px;display:flex;flex-direction:column;justify-content:center;padding:26px 30px}
.cc-stat-grid .cc-stat-value{font-size:clamp(2.2rem,3.3vw,3.4rem);line-height:1.06;letter-spacing:-.025em;margin-bottom:10px;white-space:nowrap}
.cc-stat-grid .cc-stat-label{font-size:1rem;margin:0;font-weight:700;color:#425267}
.cc-ref{display:inline-block;vertical-align:top;font:500 .7rem system-ui,sans-serif;line-height:1.2;margin-left:4px;color:#b8101a;text-decoration:none}
.cc-ref sup{font-size:1em;vertical-align:baseline}
.cc-ref:hover,.cc-ref:focus-visible{text-decoration:underline;color:#8e0c14}
.cc-disclosures{padding:24px 0 30px;background:#f8f8f8;border-top:1px solid var(--cc-line)}
.cc-disclosures h2{font:700 1rem system-ui,sans-serif;margin-bottom:12px;color:#435060}
.cc-disclosures ol{padding-left:22px;margin:0;max-width:1050px;font-size:.78rem;line-height:1.6;color:#67727d}
.cc-disclosures li{margin:0 0 9px;padding-left:3px;scroll-margin-top:25px}
.cc-disclosures li:target{background:#fff4f4}
.cc-disclosures a{color:#435060}
@media(max-width:560px){.cc-stat-grid .cc-card{min-height:120px}.cc-stat-grid .cc-stat-value{font-size:2.5rem}}
