/*
Theme Name: Stafford Holiday
Description: Stafford County Tree Lighting and Holiday Market. Informational layout with official County branding and Pantone 202 C / 7729 C web colors.
Author: Stafford County
Version: 1.3.0
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: stafford-holiday
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: block-styles, full-site-editing, one-column, custom-colors
*/
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&display=swap');

/* Published Web values: Pantone 202 C #872837; Pantone 7729 C #005847.
   The supplied red County logotype is packaged unchanged in assets/.
   Nunito is the County's primary font; approved/system fallbacks follow it. */
html { scroll-behavior: smooth; scroll-padding-top: 135px; }
body { margin: 0; background: #fff; color: #222; font-family: Nunito,Avenir,Calibri,Arial,sans-serif; }
.wp-site-blocks { padding: 0; }
.stl-main, .stl-page { margin: 0; padding: 0; max-width: none; width: 100%; }
.stl-page { --stl-green:#005847; --stl-red:#872837; --stl-ink:#222; --stl-muted:#4d4d4d; --stl-gray:#d9dae4; --stl-green-tint:#e6eeed; font-family: Nunito,Avenir,Calibri,Arial,sans-serif; font-size: 17px; line-height: 1.65; overflow: clip; background: #fff; color: var(--stl-ink); }
.stl-page *, .stl-page *::before, .stl-page *::after { box-sizing: border-box; }
.stl-page :where(p,h1,h2,h3,figure,ul) { margin: 0; }
.stl-page :where(h1,h2,h3) { font-family: Nunito,Avenir,Calibri,Arial,sans-serif; font-weight: 800; letter-spacing: -.025em; text-wrap: balance; }
.stl-page h1 { font-size: clamp(2.5rem,4.3vw,3.7rem); line-height: 1.13; }
.stl-page h2 { color: var(--stl-green); font-size: clamp(1.8rem,3vw,2.5rem); line-height: 1.2; }
.stl-page h3 { font-size: 1.3rem; line-height: 1.3; font-weight: 700; }
.stl-page a { color: inherit; text-underline-offset: .2em; }
.stl-page a:hover { text-decoration-thickness: 2px; }
.stl-page :where(a,summary):focus-visible { outline: 3px solid var(--stl-green); outline-offset: 5px; border-radius: 2px; }
.stl-hero a:focus-visible, .stl-footer a:focus-visible { outline-color: #fff; }
.stl-page .wp-block-columns { display: flex; align-items: stretch; gap: 28px; margin: 0; }
.stl-page .wp-block-column { flex: 1 1 0; min-width: 0; margin: 0; }
.stl-page .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.stl-page .wp-block-button__link { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 12px 22px; border: 1px solid transparent; border-radius: 4px; background: var(--stl-green); color: #fff; font-family: inherit; font-weight: 800; font-size: 15px; line-height: 1.45; text-decoration: none; transition: background-color .15s; box-shadow: none; }
.stl-page .wp-block-button__link span { margin-left: 13px; font-size: 19px; }
.stl-page .wp-block-button__link:hover { background: #196959; }
.stl-page .stl-red-button .wp-block-button__link { background: var(--stl-red); color: #fff; }
.stl-page .stl-red-button .wp-block-button__link:hover { background: #933d4b; }
.stl-page .stl-white-button .wp-block-button__link { background: #fff; color: var(--stl-green); border-color: #fff; }
.stl-page .stl-white-button .wp-block-button__link:hover { background: #e6eeed; }
.stl-page .stl-outline-button .wp-block-button__link { background: transparent; color: #fff; border-color: #fff; }
.stl-page .stl-outline-button .wp-block-button__link:hover { background: #196959; }
.stl-container { width: min(1160px,calc(100% - 96px)); max-width: none; margin-left: auto!important; margin-right: auto!important; }
.stl-section { padding: 62px 0; }
.stl-eyebrow { font-size: 12px; line-height: 1.5; font-weight: 800; letter-spacing: .12em; color: var(--stl-red); text-transform: uppercase; }
.stl-eyebrow.stl-light { color: #fff; }
.stl-section-intro { max-width: 680px; font-size: 17px; color: var(--stl-muted); margin-top: 14px!important; }
.stl-page .wp-block-image img { display: block; width: 100%; max-width: 100%; height: auto; }
.stl-header { background: #fff; border-bottom: 4px solid var(--stl-red); position: relative; z-index: 10; }
.stl-header-inner { display: flex; justify-content: space-between; align-items: center; gap: 52px; padding: 24px 0; }
.stl-county-logo { flex-shrink: 0; }
.stl-county-logo-link { display: block; width: 220px; height: 77px; background-image: url("assets/stafford-virginia-red.png"); background-repeat: no-repeat; background-position: center; background-size: contain; }
.stl-screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; width: 1px; margin: -1px!important; overflow: hidden; padding: 0; position: absolute!important; white-space: nowrap; }
.stl-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; font-size: 14px; font-weight: 800; color: var(--stl-green); }
.stl-nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; border-bottom: 2px solid transparent; }
.stl-nav a:hover { color: var(--stl-red); border-color: var(--stl-red); }
.stl-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--stl-green); color: #fff; padding: 104px 0 82px; }
.stl-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg,rgba(0,88,71,.98) 0%,rgba(0,88,71,.95) 38%,rgba(0,88,71,.86) 62%,rgba(0,88,71,.26) 100%); }
.stl-hero::after { content: ""; position: absolute; inset: 0 0 auto; z-index: 3; height: 96px; pointer-events: none; background-image: url("assets/holiday-lights.svg"); background-position: center top; background-repeat: repeat-x; background-size: 320px 96px; }
.stl-page .stl-hero-columns { display: block; position: static; }
.stl-page .stl-hero-columns > .wp-block-column:first-child { position: relative; z-index: 2; width: min(620px,58%); }
.stl-page .stl-hero-columns > .wp-block-column:last-child, .stl-hero-art { position: static; }
.stl-hero h1 { margin-top: 14px; }
.stl-hero-date { margin-top: 24px!important; font-size: 22px; font-weight: 600; line-height: 1.6; }
.stl-hero-date strong { font-weight: 800; }
.stl-hero-address { margin-top: 18px!important; color: #fff; font-size: 16px; line-height: 1.6; }
.stl-hero-copy .wp-block-buttons { margin-top: 26px; }
.stl-page .stl-hero-photo { position: absolute; z-index: 0; inset: 0; overflow: hidden; width: 100%; max-width: none; height: 100%; margin: 0; border-radius: 0; background: var(--stl-green); }
.stl-page .stl-hero-photo img { height: 100%; width: 100%; object-fit: cover; object-position: center 44%; color: #fff; }
.stl-photo-note { position: absolute; z-index: 2; bottom: 16px; right: max(24px,calc((100% - 1160px)/2)); max-width: calc(100% - 48px); padding: 5px 10px; border-radius: 3px; background: rgba(0,88,71,.92); color: #fff; font-size: 11px; margin: 0!important; }
.stl-market { background: #f7f8fa; }
/* Empty CSS decorations stay out of the accessibility tree and never intercept clicks. */
.stl-market, .stl-visit { position: relative; isolation: isolate; overflow: hidden; }
.stl-market > .stl-container, .stl-visit > .stl-container { position: relative; z-index: 1; }
.stl-market::before, .stl-visit::after { content: ""; position: absolute; z-index: 0; width: 230px; height: 180px; background: url("assets/evergreen-corner.svg") center / contain no-repeat; pointer-events: none; }
.stl-market::before { top: -16px; right: -18px; transform: scaleX(-1); opacity: .7; }
.stl-visit::after { bottom: -22px; left: -20px; transform: scaleY(-1); opacity: .5; }
.stl-page .stl-vendor-columns { margin-top: 28px; gap: 20px; }
.stl-vendor-card { height: 100%; background: #fff; border: 1px solid var(--stl-gray); border-top: 4px solid var(--stl-green); padding: 24px; border-radius: 4px; }
.stl-vendor-card h3 { color: var(--stl-green); font-size: 22px; }
.stl-vendor-list { list-style: none; padding: 0; font-size: 15px; color: var(--stl-muted); margin-top: 16px!important; }
.stl-vendor-list li { padding: 12px 0; border-top: 1px solid var(--stl-gray); }
.stl-vendor-list a { color: var(--stl-green); font-weight: 800; }
.stl-vendor-cta { display: flex; justify-content: space-between; align-items: center; gap: 30px; margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--stl-gray); }
.stl-vendor-cta h3 { font-size: 21px; color: var(--stl-red); }
.stl-vendor-cta p { color: var(--stl-muted); font-size: 15px; margin-top: 4px; }
.stl-vendor-cta .wp-block-buttons { flex-shrink: 0; }
.stl-schedule { background: var(--stl-red); color: #fff; }
.stl-schedule h2 { color: #fff; }
.stl-page .stl-schedule-columns { margin-top: 28px; gap: 64px; }
.stl-schedule-columns > .wp-block-column:first-child { flex-basis: 38%; }
.stl-schedule-columns > .wp-block-column:last-child { flex-basis: 62%; }
.stl-schedule-date { color: #fff; font-size: 18px; font-weight: 800; margin-bottom: 4px!important; }
.stl-schedule-note { font-size: 15px; color: #f3eaeb; margin-top: 16px!important; }
.stl-timeline-row { display: flex; align-items: center; gap: 24px; padding: 24px 0; border-top: 1px solid #c3949b; }
.stl-timeline-row:last-child { border-bottom: 1px solid #c3949b; }
.stl-time { flex: 0 0 105px; color: #fff; font-size: 24px; font-weight: 800; line-height: 1.3; }
.stl-time.stl-time-tba { font-size: 16px; }
.stl-timeline-copy h3 { color: #fff; font-size: 21px; }
.stl-page .stl-visit-columns { margin-top: 28px; gap: 64px; }
.stl-visit-columns > .wp-block-column:first-child { flex-basis: 42%; }
.stl-visit-columns > .wp-block-column:last-child { flex-basis: 58%; }
.stl-visit-details h3 { font-size: 23px; color: var(--stl-green); }
.stl-address { font-size: 17px; margin-top: 12px!important; color: var(--stl-muted); }
.stl-visit-details .wp-block-buttons { margin-top: 20px; }
.stl-arrival-note { margin-top: 24px; border-top: 1px solid var(--stl-gray); padding-top: 20px; }
.stl-arrival-note h3 { font-size: 19px; }
.stl-arrival-note p, .stl-update-note { color: var(--stl-muted); font-size: 15px; margin-top: 6px!important; }
.stl-update-note { margin-top: 16px!important; }
.stl-map-placeholder { min-height: 330px; height: 100%; border: 1px solid #80aca3; border-radius: 4px; background: #e6eeed; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 32px; }
.stl-map-placeholder h3 { color: var(--stl-green); font-size: 30px; }
.stl-map-status { margin-top: 10px!important; font-size: 17px; color: var(--stl-green); }
.stl-map-caption { margin-top: 18px!important; font-size: 13px; color: var(--stl-green); }
.stl-map-embed iframe { width: 100%; min-height: 330px; border: 0; border-radius: 4px; }
.stl-gallery { background: #f7f8fa; border-top: 1px solid var(--stl-gray); }
.stl-gallery h2 { font-size: clamp(1.6rem,2.4vw,2.05rem); }
.stl-page .stl-photo-columns { gap: 18px; margin-top: 26px; }
.stl-page .stl-gallery-image { border-radius: 4px; overflow: hidden; background: #e6eeed; }
.stl-page .stl-gallery-image img { height: 228px; object-fit: cover; color: var(--stl-green); }
.stl-footer { padding: 32px 0; background: var(--stl-green); color: #fff; }
.stl-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.stl-footer-address { font-size: 14px; }
.stl-footer-address strong { font-size: 17px; font-weight: 800; }
.stl-footer-address p + p { margin-top: 4px; }
.stl-footer-links { display: flex; flex-wrap: wrap; gap: 28px; font-size: 13px; }
.stl-footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
.skip-link { position: absolute; top: -100px; left: 20px; z-index: 99999; background: #fff; color: #005847; padding: 12px 20px; }
.skip-link:focus { top: 16px; }

@media (min-width: 1200px) { .stl-header { position: sticky; top: 0; } body.admin-bar .stl-header { top: 32px; } }
@media (max-width: 1050px) {
 .stl-container { width: calc(100% - 64px); }
 .stl-header-inner { gap: 32px; }
 .stl-nav { gap: 16px; font-size: 13px; }
 .stl-county-logo-link { width: 200px; height: 70px; }
 .stl-hero-date { font-size: 20px; }
 .stl-market::before, .stl-visit::after { width: 190px; height: 148px; }
 .stl-page .stl-schedule-columns, .stl-page .stl-visit-columns { gap: 36px; }
 .stl-vendor-card { padding: 20px; }
}
@media (max-width: 781px) {
 html { scroll-padding-top: 20px; }
 .stl-container { width: calc(100% - 40px); }
 .stl-page .wp-block-columns { flex-direction: column; gap: 24px; }
 .stl-page .wp-block-column { flex-basis: auto!important; width: 100%; }
 .stl-header-inner { flex-direction: column; align-items: flex-start; gap: 16px; padding: 22px 0 10px; }
 .stl-county-logo-link { width: 200px; height: 70px; }
 .stl-nav { width: 100%; gap: 0 22px; font-size: 13px; }
 .stl-hero { padding: 84px 0 74px; }
 .stl-hero::before { background: rgba(0,88,71,.90); }
 .stl-hero::after { height: 78px; background-size: 260px 78px; }
 .stl-page .stl-hero-columns > .wp-block-column:first-child { width: 100%; max-width: 620px; }
 .stl-page h1 { font-size: clamp(2.2rem,7.3vw,3.3rem); }
 .stl-hero-date { font-size: 21px; margin-top: 22px!important; }
 .stl-hero-copy .wp-block-buttons { margin-top: 22px; }
 .stl-hero-art { margin-top: 0!important; }
 .stl-photo-note { right: 20px; bottom: 14px; max-width: calc(100% - 40px); font-size: 10px; }
 .stl-market::before, .stl-visit::after { width: 118px; height: 92px; opacity: .24; }
 .stl-section { padding: 42px 0; }
 .stl-page .stl-vendor-columns { gap: 14px; margin-top: 24px; }
 .stl-vendor-card h3 { font-size: 21px; }
 .stl-vendor-cta { flex-direction: column; align-items: flex-start; gap: 18px; }
 .stl-page .stl-schedule-columns, .stl-page .stl-visit-columns { gap: 26px; margin-top: 24px; }
 .stl-timeline-row { gap: 18px; padding: 21px 0; }
 .stl-time { flex-basis: 92px; font-size: 23px; }
 .stl-timeline-copy h3 { font-size: 20px; }
 .stl-map-placeholder { min-height: 280px; padding: 26px 18px; }
 .stl-page .stl-photo-columns { flex-direction: row; flex-wrap: nowrap!important; gap: 10px; }
 .stl-photo-columns .wp-block-column { flex: 1 1 0!important; width: auto; }
 .stl-page .stl-gallery-image img { height: 155px; }
 .stl-footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
 .stl-footer-links { gap: 24px; }
}
@media (max-width: 390px) {
 .stl-container { width: calc(100% - 32px); }
 .stl-nav { gap: 0 16px; font-size: 12px; }
 .stl-page h1 { font-size: 2.15rem; }
 .stl-hero-date { font-size: 19px; }
 .stl-hero .wp-block-buttons { flex-direction: column; align-items: stretch; }
 .stl-hero .wp-block-button__link { width: 100%; }
 .stl-page .stl-gallery-image img { height: 120px; }
 .stl-time { flex-basis: 80px; }
 .stl-timeline-row { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 .stl-page .wp-block-button__link { transition: none; }
}
@media print {
 .stl-header, .stl-hero-art, .stl-gallery, .stl-footer, .stl-page .wp-block-buttons { display: none; }
 .stl-hero::before, .stl-hero::after, .stl-market::before, .stl-visit::after { display: none; }
 .stl-page, .stl-page .stl-hero, .stl-page .stl-schedule, .stl-page .stl-market { color: #000; background: #fff; }
 .stl-page :where(p,h1,h2,h3) { color: #000!important; }
 .stl-section { padding: 20px 0; }
 .stl-container { width: 100%; }
}
