/* Sussex County NJ - Hyper-Local News Site */
:root {
    --primary: #1a365d;
    --primary-light: #2c5282;
    --accent-red: #c53030;
    --accent-green: #276749;
    --accent-blue: #2b6cb0;
    --accent-orange: #c05621;
    --bg: #f7f7f7;
    --bg-white: #ffffff;
    --text: #1a202c;
    --text-light: #4a5568;
    --text-muted: #718096;
    --border: #e2e8f0;
    --border-light: #edf2f7;
    --shadow: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
    --radius: 8px;
    --font-serif: 'Libre Baskerville', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --page-max: 1280px;
    --page-gutter: clamp(16px, 2.5vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: var(--font-sans);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

/* Weather Bar */
.weather-bar {
    background: var(--primary);
    color: #fff;
    font-size: 0.85rem;
    padding: 6px 0;
}
.weather-bar-inner {
    max-width: var(--page-max);
    margin: 0 auto;
    padding: 0 var(--page-gutter);
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.town-picker-wrap { flex-shrink: 0; display: flex; align-items: center; gap: 4px; position: relative; }
.town-picker {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 0.8rem;
    width: 190px;
    max-width: 42vw;
}
.town-picker::placeholder { color: rgba(255,255,255,0.75); }
.town-clear {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 1.1rem;
    line-height: 1;
    padding: 2px 6px;
    border-radius: 4px;
}
.town-clear:hover { background: rgba(255,255,255,0.15); color: #fff; }
.priority-towns-btn {
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.85);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 0.85rem;
    line-height: 1;
    cursor: pointer;
}
.priority-towns-btn:hover,
.priority-towns-btn.active { background: rgba(255,255,255,0.25); color: #fff; }
.priority-towns-panel {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 200;
    background: #fff;
    color: #1a202c;
    border: 1px solid #cbd5e0;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    padding: 12px;
    width: min(280px, 90vw);
    max-height: 320px;
    overflow: auto;
}
.priority-towns-heading { margin: 0 0 4px; font-weight: 600; font-size: 0.9rem; }
.priority-towns-hint { margin: 0 0 10px; font-size: 0.78rem; color: #718096; }
.priority-towns-list { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; }
.priority-town-option { font-size: 0.82rem; display: flex; align-items: center; gap: 6px; cursor: pointer; }
.priority-towns-actions { display: flex; gap: 8px; }
.priority-towns-save,
.priority-towns-reset {
    flex: 1;
    border-radius: 6px;
    padding: 6px 8px;
    font-size: 0.8rem;
    cursor: pointer;
    border: 1px solid #cbd5e0;
    background: #edf2f7;
}
.priority-towns-save { background: #2b6cb0; color: #fff; border-color: #2b6cb0; }
.priority-towns-edit-link {
    background: none;
    border: none;
    padding: 0;
    color: #2c5282;
    text-decoration: underline;
    cursor: pointer;
    font: inherit;
}
.gov-sidebar-list { list-style: none; margin: 0; padding: 0; }
.gov-sidebar-list li { margin-bottom: 10px; }
.gov-sidebar-list a { text-decoration: none; color: inherit; display: block; }
.gov-sidebar-list a:hover strong { color: #2b6cb0; }
.gov-sidebar-meta { display: block; font-size: 0.78rem; color: #718096; margin-top: 2px; }
.gov-town-name { font-size: 0.75rem; color: #718096; margin-left: 6px; }
.town-filter-banner {
    background: #ebf8ff;
    border: 1px solid #bee3f8;
    color: #2c5282;
    padding: 10px 14px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}
.town-filter-banner a { font-weight: 600; }
.town-fallback-section {
    margin: 28px 0 8px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}
.town-fallback-note {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: -8px 0 14px;
}
.local-business-list {
    list-style: none;
    margin: 0 0 12px;
    padding: 0;
}
.local-business-list li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.9rem;
}
.local-business-list li:last-child { border-bottom: none; }
.local-business-list a {
    display: inline-block;
    margin-left: 8px;
    font-size: 0.8rem;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}
.subscribe-cta {
    display: none;
    position: fixed;
    bottom: 16px;
    right: 16px;
    left: 16px;
    max-width: 420px;
    margin-left: auto;
    background: var(--primary);
    color: #fff;
    padding: 14px 48px 14px 18px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    z-index: 200;
    align-items: center;
    gap: 12px;
}
.subscribe-cta.visible { display: flex; }
.subscribe-cta p { flex: 1; font-size: 0.9rem; margin: 0; }
.btn-subscribe-cta {
    background: #fff;
    color: var(--primary);
    border: none;
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    font-size: 0.85rem;
}
.subscribe-cta-close {
    position: absolute;
    top: 8px;
    right: 10px;
    background: none;
    border: none;
    color: rgba(255,255,255,0.8);
    font-size: 1.4rem;
    cursor: pointer;
    line-height: 1;
}
.business-submit-card {
    margin-top: 32px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
}
.business-submit-card h3 { color: var(--primary); margin-bottom: 8px; }
.business-submit-form { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.form-row-inline { display: flex; gap: 8px; flex-wrap: wrap; }
.form-row-inline input, .form-row-inline select {
    flex: 1;
    min-width: 140px;
    padding: 8px 10px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: var(--font-sans);
}
.business-submit-form textarea {
    padding: 8px 10px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: var(--font-sans);
    resize: vertical;
}
.weather-page-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}
.weather-page-controls .town-picker {
    background: var(--bg-white);
    color: var(--text);
    border-color: var(--border);
    padding: 8px 12px;
    font-size: 0.9rem;
    max-width: 240px;
}
.badge-border-realestate { border-left: 4px solid #2c7a7b; }
.weather-bar .weather-temp {
    font-size: 1.1rem;
    font-weight: 700;
}
.weather-bar .weather-desc {
    opacity: 0.9;
}
.weather-bar .weather-hilo {
    opacity: 0.75;
    font-size: 0.8rem;
}
.weather-bar .weather-location {
    margin-left: auto;
    opacity: 0.7;
    font-size: 0.8rem;
}
.weather-loading { opacity: 0.7; }

/* Header */
.site-header {
    background: var(--bg-white);
    border-bottom: 3px solid var(--primary);
    padding: 20px 0;
}
.header-inner {
    max-width: var(--page-max);
    margin: 0 auto;
    padding: 0 var(--page-gutter);
    display: grid;
    grid-template-columns: minmax(180px, 1fr) minmax(280px, 2.2fr) auto;
    gap: 12px 24px;
    align-items: center;
}
@media (max-width: 900px) {
    .header-inner {
        grid-template-columns: 1fr auto;
    }
    .site-search {
        grid-column: 1 / -1;
        order: 3;
    }
}
.site-search {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: none;
    margin: 0;
}
.site-search-icon {
    position: absolute;
    left: 14px;
    font-size: 1rem;
    opacity: 0.55;
    pointer-events: none;
    z-index: 1;
}
.site-search-input {
    flex: 1;
    width: 100%;
    padding: 12px 96px 12px 42px;
    border: 2px solid var(--border);
    border-radius: 999px;
    font-size: 0.95rem;
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--text);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.site-search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.12);
    background: var(--bg-white);
}
.site-search-input::placeholder { color: var(--text-muted); }
.site-search-submit {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-sans);
    white-space: nowrap;
}
.site-search-submit:hover { background: var(--primary-light); }
.site-search-suggestions {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    z-index: 300;
    max-height: 420px;
    overflow-y: auto;
}
.site-search-suggestions[hidden] { display: none; }
.search-suggest-group {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-light);
}
.search-suggest-group:last-child { border-bottom: none; }
.search-suggest-label {
    padding: 4px 14px 6px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
}
.search-suggest-item {
    display: block;
    padding: 10px 14px;
    color: var(--text);
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.35;
}
.search-suggest-item:hover,
.search-suggest-item:focus {
    background: var(--border-light);
    text-decoration: none;
}
.search-suggest-item strong { color: var(--primary); font-weight: 600; }
.search-suggest-meta {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 2px;
}
.search-suggest-footer {
    padding: 10px 14px;
    border-top: 1px solid var(--border);
    background: var(--bg);
}
.search-suggest-footer button {
    width: 100%;
    background: none;
    border: none;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    font-family: var(--font-sans);
    text-align: left;
    padding: 0;
}
.search-suggest-footer button:hover { text-decoration: underline; }
.search-suggest-empty {
    padding: 14px;
    color: var(--text-muted);
    font-size: 0.9rem;
}
.site-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    letter-spacing: -0.5px;
}
.site-title a { color: var(--primary); text-decoration: none; }
.site-tagline {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 2px;
    font-style: italic;
}
.header-date {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Navigation */
.main-nav {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}
.nav-shell {
    max-width: var(--page-max);
    margin: 0 auto;
    padding: 8px var(--page-gutter);
    display: flex;
    align-items: center;
    gap: 12px;
}
.nav-inner {
    flex: 1;
    min-width: 0;
    display: flex;
    gap: 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.nav-inner::-webkit-scrollbar { display: none; }
.nav-search {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    position: relative;
}
.nav-search-input {
    width: 220px;
    padding: 8px 36px 8px 12px;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 0.85rem;
    font-family: var(--font-sans);
    background: var(--bg);
}
.nav-search-input:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--bg-white);
    width: 280px;
}
.nav-search-btn {
    position: absolute;
    right: 4px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    padding: 4px 8px;
    opacity: 0.65;
}
.nav-search-btn:hover { opacity: 1; }
@media (max-width: 900px) {
    .nav-shell {
        flex-wrap: wrap;
        padding-bottom: 10px;
    }
    .nav-search {
        order: 2;
        width: 100%;
    }
    .nav-search-input {
        width: 100%;
    }
    .nav-search-input:focus { width: 100%; }
}
.nav-pill {
    background: none;
    border: 1px solid transparent;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
    font-family: var(--font-sans);
}
a.nav-pill {
    text-decoration: none;
    display: inline-block;
}
.nav-pill:hover {
    background: var(--border-light);
    color: var(--text);
}
.nav-pill.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* Main Content */
.site-main {
    max-width: var(--page-max);
    margin: 0 auto;
    padding: 20px var(--page-gutter) 32px;
}
.content-section > .section-heading,
.content-section > h2.section-heading {
    display: block;
    width: 100%;
    margin-top: 0;
    margin-bottom: 20px;
}

/* Lead Story */
a.lead-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 32px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: box-shadow 0.2s, transform 0.2s;
}
a.lead-story:hover {
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
    transform: translateY(-1px);
}
.lead-image {
    aspect-ratio: 16/10;
    overflow: hidden;
}
.lead-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.lead-content {
    padding: 24px 24px 24px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.lead-story.no-image {
    grid-template-columns: 1fr;
}
.lead-story.no-image .lead-content {
    padding: 24px;
}

.badge-bg-news { background: linear-gradient(135deg, #2b6cb0, #1a365d); }
.badge-bg-business { background: linear-gradient(135deg, #276749, #1a365d); }
.badge-bg-politics { background: linear-gradient(135deg, #c53030, #742a2a); }
.badge-bg-sports { background: linear-gradient(135deg, #c05621, #7b341e); }
.badge-bg-realestate { background: linear-gradient(135deg, #2c7a7b, #1a365d); }
.badge-bg-events { background: linear-gradient(135deg, #6b46c1, #44337a); }
.lead-content h2 {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    line-height: 1.3;
    margin: 8px 0 12px;
    color: var(--text);
}
a.lead-story:hover .lead-content h2 { color: var(--primary); }
.lead-desc {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 12px;
}

/* Category Badges */
.category-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    border-radius: 3px;
}
.badge-news { background: #ebf4ff; color: var(--accent-blue); }
.badge-business { background: #f0fff4; color: var(--accent-green); }
.badge-politics { background: #fff5f5; color: var(--accent-red); }
.badge-sports { background: #fffaf0; color: var(--accent-orange); }
.badge-events { background: #faf5ff; color: #6b46c1; }

/* Article Meta */
.article-meta {
    display: flex;
    gap: 12px;
    font-size: 0.8rem;
    color: var(--text-muted);
}
.article-meta .source { font-weight: 500; }

/* Home Grid */
.home-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 32px;
}

.section-heading {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary);
}

/* Article Grid */
.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}
a.article-card {
    display: block;
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: box-shadow 0.2s, transform 0.2s;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
a.article-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.card-image {
    aspect-ratio: 16/9;
    overflow: hidden;
}
.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.card-content {
    padding: 16px;
}
.card-content h4 {
    font-family: var(--font-serif);
    font-size: 1rem;
    line-height: 1.4;
    margin: 6px 0 8px;
    color: var(--text);
}
a.article-card:hover .card-content h4 { color: var(--primary); }
.card-content p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

/* Sidebar */
.sidebar { display: flex; flex-direction: column; gap: 24px; }

.widget {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
}
.widget-title {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary);
}

/* Weather Widget */
.weather-detail .weather-current {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.weather-detail .weather-icon {
    width: 64px;
    height: 64px;
}
.weather-detail .temp-main {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}
.weather-detail .temp-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    text-transform: capitalize;
}
.weather-detail .temp-hilo {
    font-size: 0.85rem;
    color: var(--text-muted);
}
.weather-extras {
    display: flex;
    gap: 8px;
    padding: 12px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    margin: 12px 0;
    font-size: 0.8rem;
    color: var(--text-light);
}
.weather-extras span {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    text-align: center;
    gap: 2px;
}
.weather-extras strong {
    font-size: 1rem;
    color: var(--text);
}
.weather-full-link {
    display: block;
    text-align: center;
    margin-top: 12px;
    padding: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: background 0.2s;
}
.weather-full-link:hover {
    background: var(--border-light);
    text-decoration: none;
}
.weather-bar-link {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    color: #fff;
    text-decoration: none;
    width: 100%;
}
.weather-bar-link:hover { text-decoration: none; opacity: 0.9; }
.forecast-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-top: 1px solid var(--border-light);
    font-size: 0.85rem;
}
.forecast-row .forecast-day { font-weight: 600; }
.forecast-row .forecast-temp { color: var(--text-light); }
.forecast-row img { width: 28px; height: 28px; }

/* Event List in Sidebar */
.event-list { list-style: none; }
.event-item {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
}
.event-item:last-child { border-bottom: none; }
.event-date-badge {
    flex-shrink: 0;
    width: 48px;
    text-align: center;
    background: var(--border-light);
    border-radius: 6px;
    padding: 6px 4px;
}
.event-date-badge .event-month {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--accent-red);
}
.event-date-badge .event-day {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
}
.event-info strong { display: block; font-size: 0.9rem; line-height: 1.3; }
.event-info a { color: var(--text); }
.event-info a:hover { color: var(--primary); }
.event-venue, .event-time {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
}
.widget-more {
    margin-top: 12px;
    width: 100%;
    text-align: center;
}

/* Events Calendar */
.events-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}
.btn-month {
    background: var(--bg-white);
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: var(--radius);
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 0.9rem;
}
.btn-month:hover { background: var(--border-light); }
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    background: var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 24px;
}
.cal-header {
    background: var(--primary);
    color: #fff;
    padding: 8px;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
}
.cal-day {
    background: var(--bg-white);
    padding: 8px;
    min-height: 80px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.15s;
}
.cal-day:hover { background: var(--border-light); }
.cal-day.today { background: #ebf8ff; }
.cal-day.empty { background: #fafafa; cursor: default; }
.cal-day .day-num { font-weight: 600; margin-bottom: 4px; }
.cal-day .event-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--accent-red);
    border-radius: 50%;
    margin-right: 2px;
}
.cal-day .event-dot-label {
    font-size: 0.7rem;
    color: var(--accent-red);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}
.events-list-detail { margin-top: 16px; }
.event-detail-card {
    background: var(--bg-white);
    padding: 16px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 12px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.event-detail-card .event-date-badge { flex-shrink: 0; }
.event-detail-card .event-detail-info { flex: 1; }
.event-detail-card h4 { font-size: 1rem; margin-bottom: 4px; }
.event-detail-card .event-venue { color: var(--text-light); font-size: 0.9rem; }
.event-detail-card .event-desc { font-size: 0.85rem; color: var(--text-muted); margin-top: 6px; }
.event-detail-card .event-link {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 500;
}

/* Business Directory */
.directory-hero {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 55%, #276749 100%);
    color: #fff;
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-md);
}
.directory-hero-text {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 16px;
    opacity: 0.95;
    max-width: 640px;
}
.directory-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.directory-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.12);
    color: #fff;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-sans);
    transition: background 0.2s, transform 0.2s, border-color 0.2s;
}
.directory-cat-pill:hover {
    background: rgba(255,255,255,0.22);
    transform: translateY(-1px);
}
.directory-cat-pill.active {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
}
.directory-cat-icon {
    font-size: 1rem;
    line-height: 1;
}
.directory-controls {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.dir-search-input {
    flex: 1;
    min-width: 200px;
    padding: 10px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-family: var(--font-sans);
}
.dir-search-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,54,93,0.1); }
.dir-select {
    padding: 10px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-family: var(--font-sans);
    background: var(--bg-white);
}
.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
.business-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: box-shadow 0.2s;
}
.business-card:hover { box-shadow: var(--shadow-md); }
.business-card-photo {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 2rem;
    position: relative;
}
.business-card-art {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #fff;
    text-align: center;
    padding: 16px;
}
.biz-art-icon {
    font-size: 2.4rem;
    line-height: 1;
    opacity: 0.92;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}
.biz-art-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.95;
}
.biz-art-town {
    font-size: 0.78rem;
    opacity: 0.85;
    font-weight: 500;
}
.biz-art-restaurant { background: linear-gradient(135deg, #c05621, #9c4221); }
.biz-art-shop { background: linear-gradient(135deg, #2b6cb0, #1a365d); }
.biz-art-service { background: linear-gradient(135deg, #6b46c1, #44337a); }
.biz-art-recreation { background: linear-gradient(135deg, #276749, #1a4731); }
.biz-art-health { background: linear-gradient(135deg, #c53030, #742a2a); }
.biz-art-auto { background: linear-gradient(135deg, #4a5568, #1a202c); }
.biz-art-lodging { background: linear-gradient(135deg, #2c5282, #744210); }
.biz-art-default { background: linear-gradient(135deg, #2c5282, #1a365d); }
.business-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.business-card-body {
    padding: 16px;
}
.business-card-body h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}
.business-card-body .biz-category {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}
.business-card-body .biz-address {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 8px;
}
.business-card-body .biz-rating {
    margin-top: 6px;
    font-size: 0.85rem;
    color: var(--accent-orange);
}
.business-card-body .biz-rating .stars { letter-spacing: 1px; }
.business-card-body .biz-links {
    margin-top: 10px;
    display: flex;
    gap: 12px;
    font-size: 0.85rem;
}

/* Theater Cards */
.theater-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
.theater-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.theater-icon {
    font-size: 2.5rem;
    line-height: 1;
    flex-shrink: 0;
}
.theater-info h3 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    margin-bottom: 4px;
}
.theater-info p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 8px;
}
.theater-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
}

/* Movie Grid */
.movie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px;
}
.movie-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: box-shadow 0.2s, transform 0.2s;
}
.movie-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.movie-poster {
    aspect-ratio: 2/3;
    overflow: hidden;
    background: #1a202c;
}
.movie-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.movie-poster-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255,255,255,0.3);
}
.movie-info {
    padding: 12px;
}
.movie-info h4 {
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 4px;
}
.movie-rating {
    font-size: 0.8rem;
    color: var(--accent-orange);
    font-weight: 600;
}
.movie-info p {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 6px;
    line-height: 1.4;
}

/* Real Estate Listings */
.listings-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}
.listings-search-input,
.listings-select {
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    background: var(--bg-white);
}
.listings-search-input {
    flex: 1 1 220px;
    min-width: 200px;
}
.listings-select {
    min-width: 160px;
}
.listing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
    margin-bottom: 16px;
}
.listing-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    color: var(--text);
    text-decoration: none;
    transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.listing-card:hover {
    text-decoration: none;
    border-color: #2c7a7b;
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.listing-photo {
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, #2c7a7b, #1a365d);
    position: relative;
    overflow: hidden;
}
.listing-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.listing-photo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.listing-photo-icon {
    font-size: 2.4rem;
    opacity: 0.35;
}
.listing-photo-type {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.listing-photo-price {
    position: absolute;
    left: 12px;
    bottom: 12px;
    background: rgba(26, 54, 93, 0.92);
    color: #fff;
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
}
.listing-body {
    padding: 14px 16px 16px;
}
.listing-type {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #2c7a7b;
    margin-bottom: 6px;
}
.listing-body h4 {
    font-size: 1rem;
    line-height: 1.35;
    color: var(--primary);
    margin-bottom: 4px;
}
.listing-location,
.listing-stats,
.listing-dom {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.4;
}
.listing-stats { margin-top: 6px; font-weight: 600; color: var(--text); }
.listings-attribution {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0 0 24px;
}

/* Real Estate Links */
.realestate-links {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}
.realestate-link-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px;
    border-left: 4px solid var(--primary);
    transition: box-shadow 0.2s, transform 0.2s;
    color: var(--text);
}
.realestate-link-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    text-decoration: none;
}
.realestate-link-card strong {
    font-size: 1.1rem;
    color: var(--primary);
}
.realestate-link-card span {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Real Estate Badge */
.badge-realestate { background: #e6fffa; color: #2c7a7b; }

/* Subscribe Section */
.subscribe-section {
    background: var(--primary);
    color: #fff;
    padding: 48px var(--page-gutter);
    margin-top: 40px;
}
.subscribe-inner {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}
.subscribe-inner h2 {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    margin-bottom: 8px;
}
.subscribe-inner > p {
    opacity: 0.85;
    margin-bottom: 24px;
}
.subscribe-form {
    text-align: left;
    background: rgba(255,255,255,0.1);
    padding: 24px;
    border-radius: var(--radius);
}
.subscribe-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
}
.form-group {
    margin-bottom: 16px;
}
.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
    opacity: 0.9;
}
.form-group input[type="email"],
.form-group input[type="text"] {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: var(--radius);
    background: rgba(255,255,255,0.15);
    color: #fff;
    font-size: 0.95rem;
    font-family: var(--font-sans);
}
.form-group input::placeholder { color: rgba(255,255,255,0.5); }
.form-group input:focus { outline: none; border-color: #fff; background: rgba(255,255,255,0.2); }
.checkbox-group, .radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.check-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    cursor: pointer;
}
.btn-subscribe {
    width: 100%;
    padding: 12px;
    background: #fff;
    color: var(--primary);
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font-sans);
    transition: background 0.2s;
}
.btn-subscribe:hover { background: #edf2f7; }
.subscribe-msg {
    text-align: center;
    margin-top: 12px;
    font-size: 0.9rem;
}
.subscribe-msg.success { color: #68d391; }
.subscribe-msg.error { color: #fc8181; }

/* Footer */
.site-footer {
    background: var(--text);
    color: rgba(255,255,255,0.6);
    padding: 24px 0;
    text-align: center;
    font-size: 0.85rem;
}
.footer-inner {
    max-width: var(--page-max);
    margin: 0 auto;
    padding: 0 var(--page-gutter);
}
.site-footer a { color: rgba(255,255,255,0.8); }
.footer-note { margin-top: 6px; font-size: 0.8rem; opacity: 0.6; }

/* Weather Page */
.weather-page-sub {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: -8px 0 20px;
}
.wx-current-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    align-items: center;
}
.wx-current-main {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    min-width: 250px;
}
.wx-big-icon { width: 120px; height: 120px; }
.wx-temp-big {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}
.wx-temp-desc {
    font-size: 1.2rem;
    color: var(--text-light);
    text-transform: capitalize;
    margin-top: 4px;
}
.wx-current-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    flex: 1;
    min-width: 250px;
}
.wx-detail-item {
    background: var(--border-light);
    border-radius: 6px;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.wx-detail-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.wx-detail-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
}
.wx-hourly-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
}
.wx-hourly-card {
    flex-shrink: 0;
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 12px 16px;
    text-align: center;
    min-width: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.wx-hour { font-size: 0.8rem; font-weight: 600; color: var(--text-light); }
.wx-hourly-card img { width: 40px; height: 40px; }
.wx-hourly-temp { font-size: 1.1rem; font-weight: 700; color: var(--text); }
.wx-hourly-detail { font-size: 0.7rem; color: var(--text-muted); }
.wx-daily-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}
.wx-daily-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px;
    text-align: center;
}
.wx-daily-day { font-weight: 700; font-size: 1rem; margin-bottom: 4px; }
.wx-daily-card img { width: 64px; height: 64px; margin: 0 auto; }
.wx-daily-temps { margin-top: 4px; }
.wx-daily-high { font-size: 1.2rem; font-weight: 700; color: var(--text); }
.wx-daily-low { font-size: 1rem; color: var(--text-muted); margin-left: 6px; }
.wx-daily-desc { font-size: 0.85rem; color: var(--text-light); text-transform: capitalize; margin-top: 4px; }

/* Story List (compact headline list) */
.story-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}
a.story-row {
    display: flex;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-light);
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: background 0.15s;
}
a.story-row:hover {
    background: rgba(26, 54, 93, 0.03);
}
a.story-row:last-child { border-bottom: none; }
.story-thumb {
    flex-shrink: 0;
    width: 120px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
}
.story-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
a.lead-story .lead-image,
a.story-row .story-thumb,
a.cat-lead-card .cat-lead-image,
a.cat-story-row .cat-story-thumb,
a.article-card .card-image {
    cursor: pointer;
}
.story-body h4 {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    line-height: 1.4;
    margin: 4px 0 6px;
    color: var(--text);
}
a.story-row:hover .story-body h4 { color: var(--primary); }

/* Home Category Sections */
.home-category-section {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}
.home-cat-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 16px;
}
.home-cat-header .section-heading { margin-bottom: 0; }
.view-all-btn {
    font-size: 0.8rem;
    padding: 6px 12px;
}
.badge-border-news { border-bottom-color: var(--accent-blue); }
.badge-border-business { border-bottom-color: var(--accent-green); }
.badge-border-politics { border-bottom-color: var(--accent-red); }
.badge-border-sports { border-bottom-color: var(--accent-orange); }

.home-cat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}
a.cat-lead-card {
    display: block;
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: box-shadow 0.2s, transform 0.2s;
}
a.cat-lead-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.cat-lead-image {
    aspect-ratio: 16/9;
    overflow: hidden;
}
.cat-lead-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cat-lead-body {
    padding: 16px;
}
.cat-lead-body h4 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    line-height: 1.35;
    margin-bottom: 8px;
    color: var(--text);
}
a.cat-lead-card:hover .cat-lead-body h4 { color: var(--primary); }
.cat-lead-body p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 10px;
}

.cat-story-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}
a.cat-story-row {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: background 0.15s;
}
a.cat-story-row:hover {
    background: rgba(26, 54, 93, 0.03);
}
a.cat-story-row:first-child { padding-top: 0; }
a.cat-story-row:last-child { border-bottom: none; }
.cat-story-body {
    flex: 1;
    min-width: 0;
}
.cat-story-body h5 {
    font-family: var(--font-serif);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 6px;
    color: var(--text);
}
a.cat-story-row:hover .cat-story-body h5 { color: var(--primary); }
.cat-story-thumb {
    flex-shrink: 0;
    width: 90px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
}
.cat-story-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 900px) {
    .home-cat-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 600px) {
    .story-thumb { width: 90px; height: 60px; }
    .cat-story-thumb { width: 70px; height: 50px; }
}

/* Search Results */
.search-results-header {
    margin-bottom: 24px;
}
.search-results-meta {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-top: 6px;
}
.search-empty-hint {
    text-align: center;
    padding: 48px 20px;
    color: var(--text-muted);
}
.search-results-group {
    margin-bottom: 32px;
}
.search-results-group h3 {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: var(--primary);
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border);
}
.search-result-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.search-result-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 14px 16px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text);
    transition: box-shadow 0.2s, border-color 0.2s;
}
.search-result-item:hover {
    text-decoration: none;
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
}
.search-result-thumb {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 6px;
    overflow: hidden;
    background: var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}
.search-result-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.search-biz-art {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 1.6rem;
    color: #fff;
    border-radius: 6px;
}
.search-result-body { flex: 1; min-width: 0; }
.search-result-body h4 {
    font-size: 1rem;
    line-height: 1.35;
    margin-bottom: 4px;
    color: var(--primary);
}
.search-result-body p {
    font-size: 0.88rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.45;
}
.search-result-type {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--text-muted);
    margin-bottom: 4px;
}
.search-town-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}
.search-town-chip {
    display: inline-block;
    padding: 6px 14px;
    background: var(--primary);
    color: #fff;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
}
.search-town-chip:hover {
    background: var(--primary-light);
    color: #fff;
    text-decoration: none;
}

/* Empty / Loading States */
.empty-state, .loading-text, .empty-text {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
    font-size: 0.95rem;
}
.empty-text { padding: 16px 0; font-size: 0.9rem; }

/* Responsive */
@media (max-width: 900px) {
    .lead-story {
        grid-template-columns: 1fr;
    }
    .lead-content { padding: 20px; }
    .home-grid {
        grid-template-columns: 1fr;
    }
    .header-date { display: none; }
    .site-title { font-size: 1.5rem; }
}

@media (max-width: 600px) {
    .article-grid {
        grid-template-columns: 1fr;
    }
    .subscribe-row {
        grid-template-columns: 1fr;
    }
    .directory-controls {
        flex-direction: column;
    }
    .dir-search-input { min-width: auto; }
    .events-controls { flex-wrap: wrap; }
    .site-main { padding: 16px var(--page-gutter) 24px; }
    .cal-day { min-height: 50px; padding: 4px; font-size: 0.75rem; }
}
