:root {
    --kw-bg: #090b10;
    --kw-panel: #111722;
    --kw-panel-soft: #151d2b;
    --kw-border: rgba(255, 255, 255, 0.1);
    --kw-text: #f5f2ea;
    --kw-muted: #aeb7c6;
    --kw-gold: #d8a94f;
    --kw-saffron: #ed7d31;
    --kw-teal: #3bb6a3;
}

* {
    letter-spacing: 0;
}
a {
    color: #d1dea5;
    text-decoration: none;
}

a:hover,
a:focus {
    color: #e5efbd;
    text-decoration: none;
}

body {
    min-height: 100vh;
    background: radial-gradient(circle at top left, rgba(216, 169, 79, 0.16), transparent 32rem), var(--kw-bg);
    color: var(--kw-text);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

main {
    padding-top: 80px;
}

.site-nav {
    background: rgba(9, 11, 16, 0.92);
    border-bottom: 1px solid var(--kw-border);
    backdrop-filter: blur(16px);
}

.brand-mark {
    display: inline-grid;
    width: 2rem;
    height: 2rem;
    margin-right: 0.45rem;
    place-items: center;
    border: 1px solid rgba(216, 169, 79, 0.7);
    color: var(--kw-gold);
    font-size: 0.78rem;
}

.nav-link {
    color: rgba(245, 242, 234, 0.76);
    font-size: 0.92rem;
}

.navbar-dark .navbar-nav .nav-link.active,
.nav-link.active,
.nav-link:hover {
    color: #d8a94f;
}

.hero {
    min-height: calc(100vh - 80px);
    display: grid;
    align-items: center;
    padding: 4rem 0 2rem;
}

.hero-image {
    width: 100%;
    max-height: 620px;
    object-fit: cover;
    border: 1px solid rgba(216, 169, 79, 0.35);
    box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.45);
}

.eyebrow {
    color: var(--kw-gold);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.display-title {
    max-width: 760px;
    font-size: clamp(2.25rem, 6vw, 5.6rem);
    line-height: 0.94;
}

.lead {
    color: var(--kw-muted);
}

.section {
    padding: 4.5rem 0;
}

.section-alt {
    background: rgba(255, 255, 255, 0.025);
    border-top: 1px solid var(--kw-border);
    border-bottom: 1px solid var(--kw-border);
}

.panel,
.feature-card,
.form-shell,
.table-shell {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
    border: 1px solid var(--kw-border);
    border-radius: 8px;
}

.feature-card {
    height: 100%;
    padding: 1.35rem;
}

.feature-icon {
    display: inline-grid;
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 1rem;
    place-items: center;
    background: rgba(216, 169, 79, 0.16);
    color: var(--kw-gold);
    border-radius: 8px;
    font-weight: 600;
}

.btn-gold {
    --bs-btn-color: #121212;
    --bs-btn-bg: var(--kw-gold);
    --bs-btn-border-color: var(--kw-gold);
    --bs-btn-hover-color: #121212;
    --bs-btn-hover-bg: #efc66e;
    --bs-btn-hover-border-color: #efc66e;
}

.btn-outline-light {
    --bs-btn-border-color: rgba(255, 255, 255, 0.22);
}

.carousel-item img {
    height: 440px;
    object-fit: cover;
}

.carousel-caption {
    right: 0;
    bottom: 0;
    left: 0;
    padding: 2rem;
    text-align: left;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.86));
}

.stat {
    border-left: 3px solid var(--kw-gold);
    padding-left: 1rem;
}

.stat strong {
    display: block;
    font-size: 2rem;
}

.form-control,
.form-select {
    color: var(--kw-text);
    background-color: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.14);
}

.form-control:focus,
.form-select:focus {
    color: var(--kw-text);
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--kw-gold);
    box-shadow: 0 0 0 0.2rem rgba(216, 169, 79, 0.15);
}

.form-control::placeholder {
    color: rgba(245, 242, 234, 0.48);
}

.table {
    --bs-table-color: var(--kw-text);
    --bs-table-bg: transparent;
    --bs-table-border-color: rgba(255, 255, 255, 0.1);
}

.badge-soft {
    background: rgba(59, 182, 163, 0.13);
    color: #7ee1d2;
    border: 1px solid rgba(59, 182, 163, 0.28);
}

.site-footer {
    border-top: 1px solid var(--kw-border);
    background: #07090d;
}


@media (max-width: 767.98px) {
    .hero {
        min-height: auto;
        padding-top: 2.5rem;
    }

    .carousel-item img {
        height: 340px;
    }
}

.devotional-line {
    color: #d1dea5;
    font-family: Georgia, "Nirmala UI", "Mangal", serif;
    font-size: clamp(1.15rem, 2vw, 1.65rem);
    font-weight: 600;
    text-align: center;
}

.lead-highlight {
    display: inline-block;
    margin-bottom: 0.35rem;
    color: var(--kw-text);
    font-size: 1.45em;
    font-weight: 600;
    line-height: 1.25;
}

.login-modal {
    background: #111722;
    border: 1px solid var(--kw-border);
    color: var(--kw-text);
    border-radius: 8px;
}

.login-modal .modal-header,
.login-modal .modal-footer {
    border-color: var(--kw-border);
}

.login-modal .form-check-input {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.24);
}

.login-modal .form-check-input:checked {
    background-color: var(--kw-gold);
    border-color: var(--kw-gold);
}

.footer-initiative {
    padding-bottom: 14px;
}

.news-highlights .carousel-item {
    min-height: 0;
}

.news-media {
    min-width: 0;
    overflow: hidden;
}

.news-highlights .carousel-item img.news-image {
    display: block;
    max-width: 100%;
    width: 100%;
    height: auto;
    max-height: 440px;
    object-fit: contain;
}

.news-content {
    padding: 20px;
}

.news-copy {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-copy h2 {
    margin-bottom: 0.75rem;
    color: var(--kw-text);
    font-size: clamp(1.5rem, 3vw, 2.35rem);
    line-height: 1.15;
}

.news-date {
    margin-bottom: 1rem;
    color: var(--kw-gold);
    font-size: 0.9rem;
    font-weight: 600;
}

.news-copy p {
    margin-bottom: 0;
    color: var(--kw-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

@media (max-width: 767.98px) {
    .news-highlights .carousel-item img.news-image {
        height: auto;
        max-height: none;
    }
}
.admin-shell-body {
    min-height: 100vh;
    background: var(--kw-bg);
}

.admin-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 280px 1fr;
}

.admin-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.25rem;
    background: #07090d;
    border-right: 1px solid var(--kw-border);
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.admin-menu {
    display: grid;
    gap: 0.35rem;
}

.admin-menu-link {
    display: block;
    padding: 0.75rem 0.9rem;
    color: var(--kw-muted);
    border: 1px solid transparent;
    border-radius: 8px;
}

.admin-menu-link:hover,
.admin-menu-link.active {
    color: #d8a94f;
    background: rgba(216, 169, 79, 0.08);
    border-color: rgba(216, 169, 79, 0.22);
}

.admin-main {
    padding: 2rem;
}

@media (max-width: 767.98px) {
    .admin-shell {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: static;
        height: auto;
    }

    .admin-main {
        padding: 1.25rem;
    }
}
.editor-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.6rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
    background: rgba(255, 255, 255, 0.04);
}

.editor-toolbar button {
    min-width: 2.25rem;
    padding: 0.35rem 0.6rem;
    color: var(--kw-text);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 6px;
}

.rich-editor {
    min-height: 220px;
    padding: 1rem;
    color: var(--kw-text);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0 0 8px 8px;
    outline: none;
}

.rich-editor:focus {
    border-color: var(--kw-gold);
    box-shadow: 0 0 0 0.2rem rgba(216, 169, 79, 0.15);
}
.news-text {
    color: var(--kw-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.news-text p:last-child,
.news-text ul:last-child,
.news-text ol:last-child {
    margin-bottom: 0;
}

.news-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
.coverage-form-panel {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: max-height 260ms ease, opacity 220ms ease, transform 220ms ease;
}

.coverage-form-panel.is-open {
    max-height: 420px;
    opacity: 1;
    transform: translateY(0);
}
.member-zone-card {
    overflow: hidden;
    padding: 0;
}

.member-zone-card-img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-bottom: 1px solid var(--kw-border);
}

.member-login-panel {
    position: sticky;
    top: 104px;
}

@media (max-width: 991.98px) {
    .member-login-panel {
        position: static;
    }
}

.member-login-divider {
    height: 1px;
    margin: 1.5rem 0;
    background: var(--kw-border);
}

.profile-table th {
    width: 180px;
    color: var(--kw-muted);
    font-weight: 600;
}

.profile-table td:last-child {
    width: 90px;
}

.profile-photo-wrap {
    display: grid;
    place-items: center;
}

.profile-photo-wrap img,
.profile-photo-placeholder {
    width: 160px;
    height: 160px;
    border-radius: 8px;
    border: 1px solid rgba(216, 169, 79, 0.35);
    object-fit: cover;
}

.profile-photo-placeholder {
    display: grid;
    place-items: center;
    color: var(--kw-muted);
    background: rgba(255, 255, 255, 0.055);
    text-align: center;
}

.profile-side-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--kw-border);
}

.profile-side-row span {
    color: var(--kw-muted);
}

.profile-side-row strong {
    text-align: right;
    font-weight: 600;
}

.profile-photo-button {
    padding: 0;
    background: transparent;
    border: 0;
}

.profile-photo-button:focus-visible {
    outline: 2px solid var(--kw-gold);
    outline-offset: 4px;
}

.profile-photo-modal-dialog {
    max-width: min(50vw, 720px);
}

.profile-photo-large {
    display: block;
    max-width: 100%;
    max-height: 75vh;
    margin: 0 auto;
    border-radius: 8px;
    object-fit: contain;
}

@media (max-width: 767.98px) {
    .profile-photo-modal-dialog {
        max-width: calc(100vw - 2rem);
    }
}

.founder-photo {
    width: 148px;
    height: 148px;
    flex: 0 0 148px;
    border-radius: 8px;
    border: 1px solid rgba(216, 169, 79, 0.38);
    object-fit: cover;
}

.founder-photo-placeholder {
    display: grid;
    place-items: center;
    color: var(--kw-gold);
    background: rgba(216, 169, 79, 0.12);
    font-size: 2rem;
    font-weight: 700;
}

.founder-punchline {
    padding: 1rem 0 0 1.25rem;
    color: #d1dea5;
    border-left: 3px solid var(--kw-gold);
    font-size: 1.12rem;
    font-weight: 600;
    line-height: 1.6;
}

.local-committees-panel {
    position: sticky;
    top: 104px;
}

.committee-link-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.committee-link-list a {
    display: inline-flex;
    padding: 0.45rem 0.7rem;
    color: var(--kw-text);
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid var(--kw-border);
    border-radius: 8px;
    font-size: 0.9rem;
}

.committee-link-list a:hover,
.committee-link-list a:focus {
    color: #121212;
    background: var(--kw-gold);
    border-color: var(--kw-gold);
}

.district-list-scroll {
    max-height: 420px;
    overflow: auto;
    padding-right: 0.25rem;
}

.district-state-name {
    margin: 0.75rem 0 0.45rem;
    color: var(--kw-gold);
    font-weight: 700;
}

@media (max-width: 991.98px) {
    .local-committees-panel {
        position: static;
    }
}
