/* Government meetings hub */
.gov-page { background: #f7fafc; }
.gov-header { background: #1a365d; color: #fff; padding: 24px 20px; }
.gov-header-inner { max-width: 1100px; margin: 0 auto; }
.gov-back { color: rgba(255,255,255,0.85); text-decoration: none; font-size: 0.9rem; }
.gov-back:hover { color: #fff; }
.gov-header h1 { font-family: 'Libre Baskerville', serif; margin: 8px 0 4px; font-size: 1.75rem; }
.gov-tagline { margin: 0; opacity: 0.85; font-size: 0.95rem; }

.gov-layout { max-width: 1100px; margin: 0 auto; padding: 24px 20px; display: grid; grid-template-columns: 220px 1fr; gap: 28px; }
.gov-sidebar { position: sticky; top: 16px; align-self: start; }
.gov-search { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.gov-search input { padding: 10px; border: 1px solid #e2e8f0; border-radius: 8px; font-size: 0.9rem; }
.gov-search button { padding: 10px; background: #1a365d; color: #fff; border: none; border-radius: 8px; cursor: pointer; font-weight: 600; }

.gov-town-nav { display: flex; flex-direction: column; gap: 2px; }
.gov-town-nav a { padding: 8px 12px; border-radius: 6px; color: #2d3748; text-decoration: none; font-size: 0.9rem; }
.gov-town-nav a:hover { background: #edf2f7; }
.gov-town-nav a.active { background: #ebf8ff; color: #1a365d; font-weight: 600; }

/* Mobile: stacked layout — sticky sidebar would overlay main content while scrolling */
@media (max-width: 768px) {
    .gov-layout { grid-template-columns: 1fr; }
    .gov-sidebar {
        position: static;
        background: #fff;
        border: 1px solid #e2e8f0;
        border-radius: 10px;
        padding: 12px;
        margin-bottom: 4px;
    }
    .gov-search { margin-bottom: 12px; }
    .gov-town-nav {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 6px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
    }
    .gov-town-nav a {
        flex: 0 0 auto;
        white-space: nowrap;
        background: #edf2f7;
        font-size: 0.82rem;
        padding: 8px 12px;
    }
    .gov-town-nav a.active { background: #ebf8ff; }
}

.gov-main h2 { font-family: 'Libre Baskerville', serif; color: #1a365d; margin: 0 0 20px; }
.gov-section { margin-bottom: 32px; }
.gov-section h3 { font-size: 1.1rem; color: #2d3748; margin-bottom: 12px; }
.gov-sub { font-weight: 400; color: #718096; font-size: 0.85rem; }

.gov-meeting-card { background: #fff; border-radius: 10px; padding: 16px 18px; margin-bottom: 12px; box-shadow: 0 1px 3px rgba(0,0,0,0.06); border: 1px solid #e2e8f0; }
.gov-meeting-card h3 { margin: 6px 0 4px; font-size: 1rem; }
.gov-meeting-card h3 a { color: #1a365d; text-decoration: none; }
.gov-meeting-card h3 a:hover { text-decoration: underline; }
.gov-meeting-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.gov-body-name { font-size: 0.8rem; color: #718096; }
.gov-date { font-size: 0.85rem; color: #718096; margin: 4px 0; }
.gov-preview { font-size: 0.9rem; color: #4a5568; margin: 8px 0 0; line-height: 1.5; }

.gov-badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.02em; }
.gov-badge-agenda { background: #ebf8ff; color: #2b6cb0; }
.gov-badge-recap { background: #f0fff4; color: #276749; }
.gov-badge-pending { background: #fefcbf; color: #975a16; }
.gov-badge-cancelled { background: #fed7d7; color: #c53030; }
.gov-badge-default { background: #edf2f7; color: #4a5568; }

.gov-town-grid, .gov-body-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.gov-town-card, .gov-body-link { display: block; padding: 14px; background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; text-decoration: none; color: #1a365d; }
.gov-town-card strong { display: block; }
.gov-town-card span { font-size: 0.8rem; color: #718096; }
.gov-body-link { text-align: center; font-weight: 500; font-size: 0.9rem; }
.gov-body-count { display: block; margin-top: 6px; font-size: 0.75rem; font-weight: 400; color: #718096; }
.gov-preview-kind { font-weight: 600; color: #2b6cb0; }
.gov-empty-note { grid-column: 1 / -1; color: #718096; margin: 0; }
.gov-body-link:hover, .gov-town-card:hover { border-color: #1a365d; }

.gov-breadcrumb { font-size: 0.85rem; margin-bottom: 16px; color: #718096; }
.gov-breadcrumb a { color: #2b6cb0; text-decoration: none; }
.gov-detail h2 { margin-top: 8px; }
.gov-ai-label { font-size: 0.75rem; background: #edf2f7; color: #718096; padding: 2px 8px; border-radius: 4px; font-weight: 500; vertical-align: middle; }
.gov-ai-summary { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 20px; margin: 20px 0; }
.gov-topics { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.gov-topic { background: #ebf8ff; color: #2b6cb0; padding: 4px 10px; border-radius: 999px; font-size: 0.8rem; text-decoration: none; }
.gov-documents ul { padding-left: 20px; }
.gov-source { margin-top: 24px; font-size: 0.9rem; }

.gov-intro { color: #4a5568; margin: -8px 0 20px; }
.gov-home-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 768px) { .gov-home-grid { grid-template-columns: 1fr; } }
.gov-home-col h3 { font-size: 1rem; margin-bottom: 10px; color: #1a365d; }
.gov-home-link { display: block; margin-top: 16px; color: #2b6cb0; font-weight: 600; text-decoration: none; }

/* Meeting videos page */
.gov-video-list { display: flex; flex-direction: column; gap: 14px; }
.gov-video-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
@media (max-width: 640px) {
    .gov-video-card { grid-template-columns: 1fr; }
}
.gov-video-thumb {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    background: #1a202c;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
}
.gov-video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.gov-video-thumb-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #fff;
    font-weight: 600;
}
.gov-video-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.4rem;
    background: rgba(0,0,0,0.28);
    transition: background 0.15s ease;
}
.gov-video-thumb:hover .gov-video-play { background: rgba(0,0,0,0.4); }
.gov-video-body h3 { margin: 4px 0 8px; font-size: 1.05rem; line-height: 1.35; }
.gov-video-body h3 a { color: #1a365d; text-decoration: none; }
.gov-video-body h3 a:hover { text-decoration: underline; }
.gov-video-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; align-items: center; }
.gov-video-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 0; font-size: 0.9rem; }
.gov-video-actions a { color: #2b6cb0; font-weight: 600; text-decoration: none; }
.gov-video-actions a:hover { text-decoration: underline; }
