/* Behaviour fixes only; the original site's layout and theme remain unchanged. */
[hidden] { display: none !important; }
.contact-status:empty { display: none; }
.contact-status { margin: 12px 0 0; }
.contact-status.is-error { color: #a21d24; }
.work-video-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 32px auto 0;
}
@media (max-width: 992px) {
    .work-video-list {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 640px) {
    .work-video-list {
        grid-template-columns: 1fr;
    }
}
.work-video-card { margin: 0; }
.work-video-card iframe, .work-video-card video {
    width: 100%; aspect-ratio: 16 / 9; display: block;
    border: 0; border-radius: 20px; background: #E8DCC8;
}
.work-video-card figcaption { padding: 16px 0; color: var(--maroon, #541b23); }
.work-video-card figcaption p { white-space: pre-line; }
.dashboard-stats { display: grid; grid-template-columns: repeat(auto-fit,minmax(170px,1fr)); gap: 16px; }
.dashboard-stats .record strong { display: block; font-size: 32px; color: #541b23; }
.admin-fields { display: grid; gap: 12px; margin: 20px 0; }
.admin-fields input, .admin-fields textarea, .admin-fields select { width: 100%; box-sizing: border-box; }
.admin-fields textarea { min-height: 100px; }
.admin-fields input[type=checkbox] { width: auto; }

/* Password Visibility Feature */
.password-toggle-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}
.password-toggle-wrapper input[type="password"],
.password-toggle-wrapper input[type="text"] {
    width: 100%;
    padding-right: 42px !important;
    box-sizing: border-box;
}
.password-toggle-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px 6px;
    font-size: 16px;
    line-height: 1;
    color: #666;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    z-index: 2;
}
.password-toggle-btn:hover {
    color: #111;
    background: rgba(0, 0, 0, 0.05);
}

/* Banner Slider Controls */
.hero-slider-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
}
.hero-slider-btn {
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    transition: all 0.25s ease;
}
.hero-slider-btn:hover {
    background: #FFD34E;
    color: #202323;
    border-color: #FFD34E;
}
.hero-slider-dots {
    display: flex;
    gap: 6px;
}
.hero-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.25s;
}
.hero-slider-dot.active {
    background: #FFD34E;
    transform: scale(1.25);
}

/* Managing Committee Section */
.committee-section {
    background: var(--cream, #fff9e8);
    padding: 100px 0;
}
.committee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin-top: 40px;
}
.committee-card {
    background: #fff;
    border: 1px solid var(--border, #d8c5aa);
    border-radius: 18px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 25px rgba(64, 21, 25, 0.04);
}
.committee-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 35px rgba(64, 21, 25, 0.1);
}
.committee-avatar {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 18px;
    border: 3px solid var(--orange, #ae4700);
    background: #f5ede1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.committee-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.committee-avatar-placeholder {
    font-size: 3rem;
    color: var(--orange, #ae4700);
}
.committee-name {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.35rem;
    color: var(--maroon, #401519);
    margin: 0 0 6px;
}
.committee-designation {
    color: var(--orange, #ae4700);
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin: 0 0 14px;
}
.committee-bio {
    color: var(--text, #503e3e);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 14px;
    flex-grow: 1;
}
.committee-contact {
    font-size: 0.88rem;
    color: var(--muted, #665a5a);
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px dashed var(--border, #d8c5aa);
    width: 100%;
}
.committee-contact a {
    color: var(--maroon, #401519);
    text-decoration: none;
    font-weight: 600;
}
.committee-contact a:hover {
    color: var(--orange, #ae4700);
}

/* Gallery Albums Filter */
.gallery-album-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    justify-content: center;
    margin: -25px auto 35px;
    max-width: 900px;
}
.gallery-album-btn {
    border: 1px solid var(--border, #d8c5aa);
    background: #fff;
    color: var(--ink, #35282b);
    padding: 7px 18px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.25s;
}
.gallery-album-btn.active, .gallery-album-btn:hover {
    background: var(--maroon, #401519);
    color: #fff;
    border-color: var(--maroon, #401519);
}

/* Showcase Products Card */
.showcase-product-meta {
    margin: 8px 0;
    font-size: 0.88rem;
    color: var(--orange, #ae4700);
    font-weight: 700;
}
.showcase-contact-box {
    margin-top: 14px;
    padding: 12px;
    background: var(--cream, #fff9e8);
    border: 1px dashed var(--border, #d8c5aa);
    border-radius: 10px;
    font-size: 0.88rem;
    text-align: left;
    color: var(--ink, #35282b);
}
.showcase-contact-box strong {
    color: var(--maroon, #401519);
}
.showcase-phone-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    color: var(--orange, #ae4700);
    font-weight: 700;
    text-decoration: none;
}
.showcase-phone-link:hover {
    text-decoration: underline;
}

/* SDG Achievements List in Modal */
.sdg-achievements-container {
    margin-top: 24px;
    border-top: 1px solid var(--border, #d8c5aa);
    padding-top: 20px;
}
.sdg-achievement-card {
    background: #fff;
    border: 1px solid var(--border, #d8c5aa);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 14px;
}
.sdg-achievement-card h4 {
    margin: 0 0 6px;
    color: var(--maroon, #401519);
    font-size: 1.1rem;
}
.sdg-achievement-card .achievement-date {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--orange, #ae4700);
    margin-bottom: 8px;
}
.sdg-achievement-card img {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-top: 10px;
}

/* Mission, Vision & Objectives Highlights */
.objectives-list {
    margin-top: 16px;
    padding-left: 20px;
}
.objectives-list li {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Navbar De-clustering & Spacing Optimization */
.nav-container {
    width: min(1320px, 95%) !important;
}

.nav-links {
    gap: 16px !important;
}

.nav-links a {
    font-size: 14px !important;
    white-space: nowrap;
}

.nav-links .nav-donate {
    padding: 7px 15px !important;
    font-size: 13.5px !important;
}

.nav-account-actions {
    gap: 6px !important;
}

.nav-join, .nav-login {
    padding: 7px 13px !important;
    font-size: 13px !important;
    white-space: nowrap;
}

@media (max-width: 1200px) and (min-width: 992px) {
    .nav-links {
        gap: 10px !important;
    }
    .nav-links a {
        font-size: 13px !important;
    }
    .nav-links .nav-donate {
        padding: 6px 12px !important;
        font-size: 12.5px !important;
    }
    .nav-join, .nav-login {
        padding: 6px 10px !important;
        font-size: 12px !important;
    }
}

/* Stories of Change Swiper Styles */
.stories-slider-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.stories-swiper {
    width: 100%;
    overflow: hidden;
    padding-bottom: 10px;
}

.stories-swiper .swiper-slide {
    display: flex;
    justify-content: center;
}

.stories-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 24px;
    position: relative;
}

.stories-prev, .stories-next {
    position: static !important;
    margin: 0 !important;
    width: 44px !important;
    height: 44px !important;
    background: #401519 !important;
    color: #ffd34e !important;
    border: none !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0 !important;
    outline: none !important;
    transition: background 0.25s ease, transform 0.2s ease;
}

.stories-prev:hover, .stories-next:hover {
    background: #ae4700 !important;
    transform: scale(1.08);
}

.stories-prev::after, .stories-next::after {
    display: none !important;
    content: "" !important;
}

.stories-prev i, .stories-next i {
    font-size: 16px !important;
    color: #ffd34e !important;
    line-height: 1 !important;
    display: block;
}

.stories-pagination {
    position: static !important;
    width: auto !important;
    display: inline-flex;
    gap: 8px;
}

.stories-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #d8c5aa;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.stories-pagination .swiper-pagination-bullet-active {
    background: #ae4700;
    opacity: 1;
    width: 26px;
    border-radius: 6px;
}


