/* --- Global Reset & Typography --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #283B2A;
    line-height: 1.6;
    background: linear-gradient(135deg, #fdfdfb 0%, #f5f6f0 50%, #eaece2 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

/* --- Accessibility: Skip Link --- */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #283B2A;
    color: white;
    padding: 8px;
    z-index: 1000;
    transition: top 0.3s;
}
.skip-link:focus { 
    top: 8px;
    left: 8px;
    z-index: 2000;
    padding: 10px 18px;
    background: #283B2A;
    color: white;
    border-radius: 6px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(40, 59, 42, 0.3);
}

/* --- Breadcrumbs --- */
.breadcrumb-nav {
    background-color: rgba(245, 246, 240, 0.85);
    padding: 15px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(40, 59, 42, 0.06);
}
.breadcrumb {
    list-style: none;
    display: flex;
    padding-left: 20px;
}
.breadcrumb li { margin-right: 10px; }
.breadcrumb li a {
    text-decoration: none;
    color: #495944;
    font-weight: 600;
}
.breadcrumb li a:hover {
    color: #8e1f25;
}
.breadcrumb li::after { content: ">"; margin-left: 10px; color: #ACAE9C; }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb li:last-child { color: #5D6A53; font-weight: normal; }
.breadcrumb li:last-child span {
    color: #8e1f25;
    font-weight: 600;
}

/* --- Header & Navigation --- */
header {
    display: flex;
    flex-direction: column;
    background: #fff;
    box-shadow: 0 4px 10px rgba(40, 59, 42, 0.08);
    z-index: 10;
    position: relative;
}

.logo-container {
    width: 100%;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    padding: 1rem 2rem;
    border-bottom: 1px solid #f5f6f0;
}

.site-logo {
    width: 120px;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

nav { 
    width: 100%;
    background-color: #283B2A;
}

nav ul {
    display: flex;
    height: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    min-height: 60px;
}

.nav-item a {
    text-decoration: none;
    color: #f5f6f0;
    font-weight: 600;
    font-size: 1.05rem;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.nav-item:hover {
    filter: brightness(1.15);
    cursor: pointer;
}

/* Heritage Green Navigation Steps */
.nav-item.home { background-color: #283B2A; }
.nav-item.people { background-color: #2e4330; }
.nav-item.places { background-color: #344b36; }
.nav-item.resources { background-color: #3a533c; }
.nav-item.contact { background-color: #405b42; }
.nav-item.events a    { color: white; }
.nav-item.contribute a { color: white; }

/* --- HERO SECTION --- */
.hero-section {
    height: 400px;
    background-color: #283B2A;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-overlay {
    background: linear-gradient(135deg, rgba(40, 59, 42, 0.33), rgba(73, 89, 68, 0.33));

    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    color: white;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.cta-btn {
    display: inline-block;
    padding: 12px 35px;
    background-color: #8e1f25;
    color: white;
    border: none;
    border-radius: 30px;
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    margin-top: 20px;
}

.cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
    filter: brightness(1.1);
}

/* --- MAIN LAYOUT --- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}

.intro-block {
    text-align: center;
    margin-bottom: 50px;
#    background: rgba(255,255,255,0.7);
    background: rgba(172,174,154,0.25);

    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(172, 174, 156, 0.3);
}
.intro-block h2 { color: #283B2A; margin-bottom: 15px; font-size: 2rem; }

.whats-new-block {
    text-align: center;
    margin-bottom: 50px;
    background: rgba(172,174,154,0.25);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(172, 174, 154, 0.3);

}
.whats-new-block h2 { color: #8e1f25; margin-bottom: 15px; font-size: 2rem; }

/* --- HOME CARDS --- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.card {
    background: rgba(255, 255, 255, 0.85);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.03);
    text-decoration: none;
    color: #283B2A;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(172, 174, 156, 0.4);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(73, 89, 68, 0.15);
    background: #fff;
}

.card-icon { font-size: 3rem; margin-bottom: 15px; }
.card h3 { font-size: 1.5rem; color: #283B2A; margin-bottom: 10px; }
.card p { font-size: 0.95rem; color: #5D6A53; margin-bottom: 20px; }
.card-link { margin-top: auto; font-weight: bold; color: #8e1f25; font-size: 0.9rem; }

/* --- FOOTER --- */
footer {
    background: linear-gradient(to bottom, #3A4C37, #1b261b 90%);
    color: #ACAE9C;
    padding: 20px 20px 30px;
    text-align: center;
    margin-top: auto;
}

.footer-links {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}
.footer-links a { color: white; text-decoration: none; font-weight: 500; }
.footer-links a:hover { color: #ACAE9C; }
.copyright { font-size: 0.8rem; opacity: 0.6; }

/* --- MOBILE GLOBAL GENERAL RESET --- */
@media (max-width: 768px) {
    header { flex-direction: column; }
    nav ul { flex-direction: column; }
    .nav-item { width: 100%; border-bottom: 1px solid rgba(255,255,255,0.05); }
    .hero-content h2 { font-size: 2rem; }
}

/* =====================================================
   PEOPLE PAGE — Search & Grid Style
   ===================================================== */
.people-search-bar {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.people-search-bar input {
    width: 100%;
    max-width: 500px;
    padding: 14px 20px;
    border: 2px solid #ACAE9C;
    border-radius: 30px 0 0 30px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

.people-search-bar input:focus {
    border-color: #283B2A;
    box-shadow: 0 0 0 3px rgba(40, 59, 42, 0.12);
}

.people-search-bar button {
    padding: 14px 24px;
    background: linear-gradient(135deg, #495944, #283B2A);
    border: none;
    border-radius: 0 30px 30px 0;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    transition: filter 0.2s;
}

.people-search-bar button:hover { filter: brightness(1.1); }

.people-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

.person-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    cursor: pointer;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    border: 1px solid rgba(0,0,0,0.05);
    text-decoration: none;
    color: inherit;
    display: block;
}

.person-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(73, 89, 68, 0.15);
    border-color: #283B2A;
}

.person-card-image {
    display: none !important;
}

.person-card-body {
    padding: 20px;
}

.person-card-body h3 {
    font-size: 1.15rem;
    color: #283B2A;
    margin-bottom: 6px;
}

.person-card-body .person-role {
    font-size: 0.82rem;
    font-weight: 600;
    color: #495944;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.person-card-body p {
    font-size: 0.88rem;
    color: #5D6A53;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.person-card-footer {
    padding: 12px 20px;
    background: #7B7F6A;
    color: white;
    border-top: 1px solid #eef0e8;
    font-size: 0.82rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.people-no-results {
    text-align: center;
    padding: 60px 20px;
    color: #7B7F6A;
    display: none;
    grid-column: 1/-1;
}

.people-no-results p { font-size: 1.1rem; }

/* =====================================================
   PLACES PAGE — Timeline Style
   ===================================================== */
.places-era-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 50px;
}

.era-btn {
    padding: 10px 22px;
    background: white;
    border: 2px solid #ACAE9C;
    border-radius: 25px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #5D6A53;
    cursor: pointer;
    transition: all 0.25s ease;
}

.era-btn:hover {
    border-color: #283B2A;
    color: #283B2A;
    background: #f5f6f0;
}

.era-btn.active {
    background: linear-gradient(135deg, #283B2A, #495944);
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 12px rgba(40, 59, 42, 0.25);
}

.area-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.area-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.06);
    text-align: center;
    color: #283B2A;
    text-decoration: none;
    display: block;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    position: relative;
}

.area-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(73, 89, 68, 0.15);
}

.area-image {
    height: 180px;
    background-color: #ACAE9C;
    background-size: cover;
    transition: filter 0.3s;
}

.area-card:hover .area-image { filter: brightness(0.85); }
.area-card h3 { padding: 14px; font-size: 1.1rem; color: #283B2A; }

.places-timeline {
    position: relative;
    padding: 20px 0 60px 0;
}

.places-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #283B2A, #495944, #3A4C37);
    transform: translateX(-50%);
    border-radius: 3px;
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: calc(50% + 40px);
    margin-bottom: 40px;
    position: relative;
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.timeline-item.right {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: calc(50% + 40px);
    transform: translateX(30px);
}

.timeline-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 20px;
    width: 14px;
    height: 14px;
    background: #8e1f25;
    border: 3px solid white;
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 0 3px rgba(142,31,37,0.25);
    z-index: 1;
}

.timeline-card {
    background: white;
    padding: 22px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    max-width: 420px;
    border-left: 4px solid #8e1f25;
    cursor: pointer;
    transition: box-shadow 0.25s, transform 0.25s;
}

.timeline-item.right .timeline-card {
    border-left: none;
    border-right: 4px solid #3A4C37;
}

.timeline-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.13);
    transform: scale(1.02);
}

.timeline-year {
    font-size: 0.8rem;
    font-weight: 700;
    color: #8e1f25;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.timeline-item.right .timeline-year { color: #3A4C37; }

.timeline-card h3 {
    font-size: 1.1rem;
    color: #283B2A;
    margin-bottom: 8px;
}

.timeline-card p {
    font-size: 0.88rem;
    color: #5D6A53;
    line-height: 1.5;
    margin-bottom: 12px;
}

.timeline-read-more {
    font-size: 0.82rem;
    font-weight: 700;
    color: #8e1f25;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    background: none;
    border: none;
    font-family: 'Poppins', sans-serif;
    padding: 0;
}

.timeline-read-more:hover { text-decoration: underline; }

.area-close-btn {
    background: none;
    border: 2px solid #ACAE9C;
    color: #7B7F6A;
    font-family: 'Poppins', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
}
.area-close-btn:hover {
    border-color: #8e1f25;
    color: #8e1f25;
    background: #fdf2f2;
}

.timeline-item.right::after {
    background: #3A4C37;
    box-shadow: 0 0 0 3px rgba(58, 76, 55, 0.25);
}

.area-detail {
    background: white;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 50px;
    display: none;
}

.area-detail.active { display: block; }
.split-layout { display: flex; gap: 30px; flex-wrap: wrap; }
.split-text { flex: 1; min-width: 0; }
.split-map { flex: 1; min-width: 300px; height: 300px; background: #f5f6f0; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.article-list { list-style: none; padding: 0; }
.article-list li { padding: 8px 0; border-bottom: 1px solid #eef0e8; }
.article-list li a { color: #3A4C37; text-decoration: none; font-size: 0.92rem; }
.article-list li a:hover { color: #8e1f25; }

.scrolling-wrapper {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 20px;
    padding: 20px 5px;
    scroll-snap-type: x mandatory;
}

.photo-card {
    flex: 0 0 auto;
    scroll-snap-align: center;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.photo-card img { display: block; }
.photo-caption {
    background: #283B2A;
    color: white;
    padding: 8px 12px;
    font-size: 0.82rem;
}

/* =====================================================
   INFO MODAL (Cookie-style popup for long text)
   ===================================================== */
.info-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(40, 59, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 900;
    display: flex;
#    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.info-modal-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.info-modal {
    background: white;
    width: 100%;
    max-width: 760px;
    max-height: 85vh;
    border-radius: 24px 24px 0 0;
    padding: 0;
    overflow: hidden;
    transform: translateY(40px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 -10px 50px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
}

.info-modal-overlay.open .info-modal {
    transform: translateY(0);
}

.info-modal-header {
    background: linear-gradient(135deg, #283B2A, #3A4C37);
    padding: 22px 28px 18px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-shrink: 0;
}

.info-modal-header h2 {
    color: white;
    font-size: 1.35rem;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.info-modal-header .modal-role {
    color: rgba(255,255,255,0.8);
    font-size: 0.82rem;
    font-weight: 500;
    margin-top: 3px;
}

.modal-close-btn {
    background: rgba(255,255,255,0.25);
    border: none;
    color: white;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s;
}

.modal-close-btn:hover { background: rgba(255,255,255,0.4); }
.info-modal-body {
    overflow-y: auto;
    padding: 24px 28px;
    flex: 1;
}

.modal-image {
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.modal-summary {
    background: linear-gradient(135deg, #f5f6f0, #eaece2);
    border-left: 4px solid #8e1f25;
    border-radius: 0 8px 8px 0;
    padding: 16px 18px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    color: #283B2A;
    font-weight: 500;
    line-height: 1.6;
}

.modal-full-text {
    font-size: 0.92rem;
    color: #5D6A53;
    line-height: 1.75;
#    display: none;
}

.modal-full-text.expanded { display: block; }

.modal-read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: 2px solid #8e1f25;
    color: #8e1f25;
    font-family: 'Poppins', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 9px 20px;
    border-radius: 20px;
    cursor: pointer;
    margin-top: 14px;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-read-more-btn:hover {
    background: #8e1f25;
    color: white;
}

.modal-read-more-btn .btn-arrow {
    transition: transform 0.2s;
}

.modal-read-more-btn.expanded .btn-arrow {
    transform: rotate(180deg);
}

.modal-drag-handle {
    width: 40px;
    height: 4px;
    background: #ACAE9C;
    border-radius: 2px;
    margin: 10px auto 0;
}

/* =====================================================
   RESOURCES PAGE
   ===================================================== */
.resource-section { margin-bottom: 60px; }

.section-title {
    color: #283B2A;
    font-size: 1.8rem;
    margin-bottom: 25px;
    border-bottom: 2px solid rgba(73, 89, 68, 0.3);
    padding-bottom: 10px;
    display: inline-block;
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 100px;
#    margin-bottom: 60px;

}

.resource-card {
    background: white;
    border-radius: 12px;

    overflow: hidden;
    cursor: pointer;
    display: block;

    padding: 25px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    text-decoration: none;
    color: #283B2A;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    border: 1px solid rgba(0,0,0,0.05);
}



.resource-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(73, 89, 68, 0.15);
    border-color: #8e1f25;
}

.res-icon {
    background-color: #f5f6f0;
    color: #283B2A;
    font-size: 1.8rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.resource-card:hover .res-icon {
    background-color: #8e1f25;
    color: white;
    transition: background 0.3s;
}

.res-content h4 { font-size: 1.2rem; color: #283B2A; margin-bottom: 8px; font-weight: 600; }
.res-content p { font-size: 0.9rem; color: #5D6A53; margin-bottom: 15px; line-height: 1.5; }
.link-text { font-size: 0.85rem; font-weight: bold; color: #8e1f25; text-transform: uppercase; letter-spacing: 0.5px; }

/* =====================================================
   CONTACT PAGE
   ===================================================== */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.contact-info-panel,
.contact-form-panel {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.contact-info-panel h3,
.contact-form-panel h3 {
    color: #283B2A;
    margin-bottom: 25px;
    border-bottom: 2px solid #f5f6f0;
    padding-bottom: 10px;
}

.info-item { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 25px; }

.info-icon {
    font-size: 1.5rem;
    background: #f5f6f0;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3A4C37;
}

.info-text h4 { font-size: 1rem; color: #283B2A; margin-bottom: 5px; }
.info-text p, .info-text a { color: #5D6A53; text-decoration: none; font-size: 0.95rem; }
.info-text a:hover { color: #8e1f25; text-decoration: underline; }

.map-container {
    width: 100%;
    height: 200px;
    background-color: #f5f6f0;
    border-radius: 10px;
    margin-top: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ACAE9C;
    overflow: hidden;
}

.map-placeholder-content { text-align: center; color: #7B7F6A; }

.social-links {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eef0e8;
    font-size: 0.9rem;
}

.social-links h4 { display: inline-block; margin-right: 10px; color: #283B2A; }
.social-links a { color: #3A4C37; font-weight: 600; text-decoration: none; margin: 0 5px; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; color: #283B2A; }
.required { color: #8e1f25; }

.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #eef0e8;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.enquiry-form input:focus,
.enquiry-form select:focus,
.enquiry-form textarea:focus {
    border-color: #283B2A;
    outline: none;
    box-shadow: 0 0 0 3px rgba(40, 59, 42, 0.2);
}

.submit-btn { width: 100%; font-size: 1.1rem; background-color: #283B2A; color: white; }
.submit-btn:hover { background-color: #3A4C37; }

@media (max-width: 768px) {
    .contact-layout { grid-template-columns: 1fr; }
}

/* =====================================================
   PRIVACY POLICY
   ===================================================== */
.policy-document {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    max-width: 900px;
    margin: 0 auto 60px auto;
}

.last-updated { font-style: italic; color: #7B7F6A; margin-top: -10px; }
.policy-section { margin-bottom: 30px; }
.policy-section h3 { color: #283B2A; border-bottom: 1px solid #eef0e8; padding-bottom: 10px; margin-bottom: 15px; }
.policy-section p { margin-bottom: 15px; color: #283B2A; }
.policy-section ul { margin-left: 20px; margin-bottom: 15px; }
.policy-section ul li { margin-bottom: 8px; color: #5D6A53; }
.policy-section a { color: #8e1f25; text-decoration: underline; }
.policy-section a:hover { text-decoration: none; }

.dpo-box {
    background-color: #f5f6f0;
    border-left: 5px solid #283B2A;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}
.dpo-box h4 { margin-bottom: 10px; color: #283B2A; }
.dpo-box p { margin-bottom: 5px; font-size: 0.95rem; }

@media (max-width: 768px) {
    .policy-document { padding: 20px; }
    .places-timeline::before { left: 20px; }
    .timeline-item,
    .timeline-item.right {
        padding-left: 50px;
        padding-right: 0;
        justify-content: flex-start;
    }
    .timeline-item::after { left: 20px; }
    .timeline-card { max-width: 100%; }
    .info-modal { max-height: 92vh; }
}

/* =====================================================
   HAMBURGER NAV — shared across all pages
   ===================================================== */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px 16px;
    flex-direction: column;
    gap: 5px;
    align-self: center;
    margin-left: auto;
    flex-shrink: 0;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #283B2A;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
    header { flex-wrap: wrap; position: relative; align-items: stretch; }
    .nav-toggle { display: flex; margin-top: -3.5rem; margin-bottom: 1rem; margin-right: 1rem; }
    nav {
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
    }
    nav.open { max-height: 400px; }
    nav ul { flex-direction: column; }
    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        min-height: 48px;
    }
    .nav-item a { justify-content: flex-start; padding-left: 24px; }
}

/* =====================================================
   BACK TO TOP BUTTON — shared
   ===================================================== */
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 22px;
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, #495944, #283B2A);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(40, 59, 42, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 800;
}
.back-to-top.visible {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}
.back-to-top:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

/* =====================================================
   ACTIVE NAV ITEM HIGHLIGHT
   ===================================================== */
.nav-item a[aria-current="page"] {
    background: rgba(0,0,0,0.18);
    box-shadow: inset 0 -3px 0 rgba(255,255,255,0.5);
}

/* =====================================================
   FOOTER ENHANCEMENTS
   ===================================================== */
.footer-tagline {
    font-size: 0.82rem;
    opacity: 0.55;
    margin-bottom: 24px;
    letter-spacing: 0.3px;
}

/* =====================================================
   GENERAL MOBILE POLISH
   ===================================================== */
@media (max-width: 480px) {
    .hero-content h2 { font-size: 1.6rem; }
    .hero-content p  { font-size: 0.9rem; }
    .intro-block h2  { font-size: 1.5rem; }
    .container       { padding: 24px 14px; }
    .breadcrumb      { padding-left: 14px; }
    .card-grid { grid-template-columns: 1fr; gap: 18px; }
    .people-grid { grid-template-columns: 1fr; }
    .resource-grid { grid-template-columns: 1fr; }
    .policy-document { padding: 18px 14px; }
    .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .people-search-bar input { border-radius: 30px 0 0 30px; }
    .info-modal {
        max-height: 92vh;
        border-radius: 20px 20px 0 0;
    }
    .info-modal-header { padding: 16px 18px 12px; }
    .info-modal-header h2 { font-size: 1.1rem; }
    .info-modal-body { padding: 16px 18px; }
    .footer-links { gap: 16px; flex-direction: column; align-items: center; }
}

/* =====================================================
   COOKIE CONSENT BANNER
   ===================================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #283B2A, #3A4C37);
    color: #eef0e8;
    padding: 18px 24px;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
    transform: translateY(0);
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.cookie-banner.hidden {
    transform: translateY(110%);
    opacity: 0;
    pointer-events: none;
}

.cookie-banner p {
    font-size: 0.88rem;
    line-height: 1.55;
    flex: 1;
    min-width: 220px;
    margin: 0;
}

.cookie-banner a {
    color: #ACAE9C;
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.cookie-btn {
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 9px 20px;
    border-radius: 22px;
    border: none;
    cursor: pointer;
    transition: filter 0.2s, transform 0.2s;
}

.cookie-btn:hover { filter: brightness(1.12); transform: translateY(-1px); }
.cookie-btn-accept {
    background: #8e1f25;
    color: white;
}

.cookie-btn-decline {
    background: rgba(255,255,255,0.12);
    color: #eef0e8;
    border: 1px solid rgba(255,255,255,0.2);
}

@media (max-width: 480px) {
    .cookie-banner { flex-direction: column; align-items: flex-start; }
    .cookie-actions { width: 100%; }
    .cookie-btn { flex: 1; text-align: center; }
}

/* =====================================================
   READING PROGRESS BAR
   ===================================================== */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, #8e1f25, #495944, #283B2A);
    z-index: 1200;
    transition: width 0.1s linear;
}

/* =====================================================
   TAG FILTER CHIPS — People page
   ===================================================== */
.people-tag-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
}

.tag-chip {
    font-family: 'Poppins', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 7px 18px;
    border-radius: 20px;
    border: 2px solid #ACAE9C;
    background: white;
    color: #5D6A53;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.3px;
}

.tag-chip:hover {
    border-color: #283B2A;
    color: #283B2A;
    background: #f5f6f0;
}

.tag-chip.active {
    background: linear-gradient(135deg, #8e1f25, #283B2A);
    border-color: transparent;
    color: white;
    box-shadow: 0 3px 10px rgba(40, 59, 42, 0.3);
}

.tag-chip[data-tag="all"].active {
    background: linear-gradient(135deg, #283B2A, #495944);
}

/* =====================================================
   OPENING HOURS — Contact page
   ===================================================== */
.opening-hours {
    background: white;
    border-radius: 15px;
    padding: 28px 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 40px;
}

.opening-hours h3 {
    color: #283B2A;
    margin-bottom: 20px;
    border-bottom: 2px solid #f5f6f0;
    padding-bottom: 10px;
}

.hours-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.hours-row {
    display: contents;
}

.hours-row .day,
.hours-row .time {
    padding: 9px 12px;
    font-size: 0.9rem;
    border-bottom: 1px solid #f5f6f0;
}

.hours-row .day { font-weight: 600; color: #283B2A; }
.hours-row .time { color: #5D6A53; text-align: right; }

.hours-row.today .day,
.hours-row.today .time {
    color: white;
    font-weight: 700;
    background: #8e1f25;
}

.hours-row.closed .time { color: #ACAE9C; font-style: italic; }

.hours-note {
    margin-top: 14px;
    font-size: 0.82rem;
    color: #5D6A53;
    padding: 10px 14px;
    background: #f5f6f0;
    border-radius: 8px;
    border-left: 3px solid #495944;
}

/* =====================================================
   "ON THIS PAGE" SIDEBAR — Privacy Policy
   ===================================================== */
.policy-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 40px;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto 60px;
}

.policy-toc {
    position: sticky;
    top: 24px;
    background: white;
    border-radius: 14px;
    padding: 20px 18px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.07);
    font-size: 0.83rem;
}

.policy-toc h4 {
    color: #283B2A;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f5f6f0;
}

.policy-toc ol {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: toc;
}

.policy-toc li {
    counter-increment: toc;
    margin-bottom: 6px;
}

.policy-toc a {
    display: flex;
    align-items: baseline;
    gap: 7px;
    color: #5D6A53;
    text-decoration: none;
    padding: 5px 8px;
    border-radius: 7px;
    transition: background 0.2s, color 0.2s;
    line-height: 1.4;
}

.policy-toc a::before {
    content: counter(toc) ".";
    color: #8e1f25;
    font-weight: 700;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.policy-toc a:hover,
.policy-toc a.active {
    background: #f5f6f0;
    color: #283B2A;
}

@media (max-width: 820px) {
    .policy-layout { grid-template-columns: 1fr; }
    .policy-toc { position: static; margin-bottom: 20px; }
}

/* =====================================================
   DID YOU KNOW — Homepage ticker
   ===================================================== */
.did-you-know {
    background: linear-gradient(135deg, #283B2A, #495944);
    color: white;
    padding: 18px 28px;
    border-radius: 14px;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 80px;
}



.dyk-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    opacity: 0.75;
    white-space: nowrap;
    flex-shrink: 0;
}

.dyk-divider {
    width: 2px;
    height: 36px;
    background: rgba(255,255,255,0.25);
    border-radius: 1px;
    flex-shrink: 0;
}

.dyk-text {
    font-size: 0.93rem;
    line-height: 1.55;
    flex: 1;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.dyk-text.visible {
    opacity: 1;
    transform: translateY(0);
}

.dyk-nav {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.dyk-btn {
    background: rgba(255,255,255,0.18);
    border: none;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dyk-btn:hover { background: rgba(255,255,255,0.32); }

@media (max-width: 500px) {
    .did-you-know { flex-wrap: wrap; }
    .dyk-divider { display: none; }
    .dyk-label { width: 100%; }
}

/* =====================================================
   PRINT STYLES
   ===================================================== */
@media print {
    header, nav, footer, .skip-link, .breadcrumb-nav,
    .cookie-banner, .back-to-top, .reading-progress,
    .modal-read-more-btn, .info-modal-overlay { display: none !important; }

    body {
        background: white;
        color: black;
        font-size: 11pt;
    }

    .container { max-width: 100%; padding: 0; }
    .policy-layout { grid-template-columns: 1fr; }
    .policy-toc { display: none; }
    .policy-document { box-shadow: none; padding: 0; }
    .policy-section { page-break-inside: avoid; }

    a[href]::after {
        content: " (" attr(href) ")";
        font-size: 0.75em;
        color: #666;
    }
    a[href^="#"]::after,
    a[href^="mailto"]::after { content: ""; }
}

/* =====================================================
   EVENTS PAGE
   ===================================================== */
.events-filter-bar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 36px;
    align-items: center;
}

.events-filter-bar label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #5D6A53;
    margin-right: 4px;
}

.events-filter-bar select {
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    padding: 8px 14px;
    border: 2px solid #ACAE9C;
    border-radius: 22px;
    background: white;
    color: #283B2A;
    cursor: pointer;
    transition: border-color 0.2s;
}

.events-filter-bar select:focus {
    outline: none;
    border-color: #283B2A;
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-bottom: 60px;
}

.event-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    display: grid;
    grid-template-columns: 90px 1fr auto;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    color: inherit;
}

.event-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(40, 59, 42, 0.15);
}

.event-date-block {
    background: linear-gradient(160deg, #283B2A, #495944);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 10px;
    min-width: 90px;
}

.event-date-block .event-day {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.event-date-block .event-month {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    opacity: 0.85;
    margin-top: 3px;
}

.event-date-block .event-year {
    font-size: 0.72rem;
    opacity: 0.65;
    margin-top: 2px;
}

.event-body { padding: 20px 24px; }
.event-body h3 { font-size: 1.05rem; color: #283B2A; margin-bottom: 6px; }

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 0.82rem;
    color: #7B7F6A;
    margin-bottom: 10px;
}

.event-meta span { display: flex; align-items: center; gap: 5px; }
.event-body p { font-size: 0.88rem; color: #5D6A53; line-height: 1.6; margin: 0; }
.event-tag {
    align-self: start;
    margin: 20px 20px 0 0;
    padding: 5px 14px;
    border-radius: 14px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
}

.event-tag.talk     { background: #f5f6f0; color: #283B2A; }
.event-tag.tour     { background: #eaece2; color: #3A4C37; }
.event-tag.workshop { background: #fdf2f2; color: #8e1f25; }
.event-tag.open-day { background: #eaece2; color: #495944; }
.event-tag.online   { background: #f5f6f0; color: #5D6A53; }

.event-card.past { opacity: 0.55; }
.event-card.past .event-date-block { background: linear-gradient(160deg, #7B7F6A, #ACAE9C); }
.events-empty { text-align: center; padding: 50px 20px; color: #ACAE9C; font-size: 0.95rem; display: none; }

.events-section-heading {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #495944;
    margin: 40px 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f5f6f0;
}

.past-events-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 600;
    color: #495944;
    margin-top: 20px;
    background: none;
    border: none;
    font-family: 'Poppins', sans-serif;
    padding: 0;
}
.past-events-toggle:hover { text-decoration: underline; }

#past-events-list { display: none; margin-top: 16px; }
#past-events-list.open { display: flex; flex-direction: column; gap: 22px; }

@media (max-width: 600px) {
    .event-card { grid-template-columns: 72px 1fr; grid-template-rows: auto auto; }
    .event-tag { grid-column: 2; margin: 0 0 12px 24px; align-self: auto; }
    .event-date-block { padding: 16px 8px; }
    .event-date-block .event-day { font-size: 1.6rem; }
    .event-body { padding: 16px 16px 8px; }
}

/* =====================================================
   CONTRIBUTE PAGE
   ===================================================== */
.contribute-intro { max-width: 720px; }
.contribute-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 18px;
    margin: 32px 0 44px;
}

.contribute-type-card {
    background: white;
    border-radius: 14px;
    padding: 22px 20px;
    text-align: center;
    box-shadow: 0 3px 12px rgba(0,0,0,0.06);
    border-top: 4px solid transparent;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: default;
}

.contribute-type-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(40, 59, 42, 0.12);
}

.contribute-type-card.photo  { border-color: #8e1f25; }
.contribute-type-card.doc    { border-color: #283B2A; }
.contribute-type-card.memory { border-color: #3A4C37; }
.contribute-type-card.correct{ border-color: #495944; }

.contribute-type-icon { font-size: 2rem; margin-bottom: 10px; }
.contribute-type-card h3 { font-size: 0.95rem; color: #283B2A; margin-bottom: 6px; }
.contribute-type-card p  { font-size: 0.82rem; color: #7B7F6A; line-height: 1.5; margin: 0; }
.contribute-form-wrap { background: white; border-radius: 16px; padding: 36px 40px; box-shadow: 0 5px 20px rgba(0,0,0,0.07); max-width: 780px; }

@media (max-width: 600px) { .contribute-form-wrap { padding: 24px 18px; } }
.contribute-form-wrap h3 { color: #283B2A; margin-bottom: 24px; padding-bottom: 12px; border-bottom: 2px solid #f5f6f0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-hint { font-size: 0.78rem; color: #ACAE9C; margin-top: 4px; }

.file-upload-zone {
    border: 2px dashed #ACAE9C;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    background: #f5f6f0;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    position: relative;
}

.file-upload-zone:hover,
.file-upload-zone.dragover {
    border-color: #283B2A;
    background: #eaece2;
}

.file-upload-zone input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.file-upload-icon { font-size: 2rem; margin-bottom: 8px; }
.file-upload-zone p { font-size: 0.85rem; color: #7B7F6A; margin: 0; }
.file-upload-zone strong { color: #495944; }
.file-list { margin-top: 12px; font-size: 0.82rem; color: #5D6A53; }
.file-list li { list-style: none; padding: 3px 0; }
.file-list li::before { content: "📎 "; }

/* =====================================================
   NEWSLETTER SIGNUP — footer widget
   ===================================================== */
.footer-newsletter { margin-bottom: 28px; text-align: center; }
.footer-newsletter p { font-size: 0.85rem; opacity: 0.75; margin-bottom: 12px; }
.newsletter-form { display: flex; justify-content: center; gap: 0; max-width: 380px; margin: 0 auto; }

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 10px 16px;
    border: none;
    border-radius: 25px 0 0 25px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    outline: none;
    background: rgba(255,255,255,0.15);
    color: white;
    border: 1px solid rgba(255,255,255,0.25);
    border-right: none;
}

.newsletter-form input[type="email"]::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-form input[type="email"]:focus { background: rgba(255,255,255,0.22); }

.newsletter-form button {
    padding: 10px 20px;
    background: #8e1f25;
    color: white;
    border: none;
    border-radius: 0 25px 25px 0;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: filter 0.2s;
}
.newsletter-form button:hover { filter: brightness(1.1); }
.newsletter-success { display: none; font-size: 0.85rem; color: #ACAE9C; margin-top: 8px; }

@media (max-width: 480px) {
    .newsletter-form { flex-direction: column; max-width: 280px; }
    .newsletter-form input[type="email"] { border-radius: 25px; border-right: 1px solid rgba(255,255,255,0.25); margin-bottom: 8px; }
    .newsletter-form button { border-radius: 25px; }
}

/* =====================================================
   404 PAGE
   ===================================================== */
.not-found-section { text-align: center; padding: 80px 20px 60px; max-width: 560px; margin: 0 auto; }
.not-found-section .error-code {
    font-size: 6rem;
    font-weight: 700;
    background: linear-gradient(135deg, #8e1f25, #283B2A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 12px;
}

.not-found-section h2 { color: #283B2A; font-size: 1.5rem; margin-bottom: 14px; }
.not-found-section p { color: #5D6A53; line-height: 1.65; margin-bottom: 32px; }
.not-found-links { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 12px; }

.not-found-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 25px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.not-found-links a.primary { background: linear-gradient(135deg, #283B2A, #495944); color: white; box-shadow: 0 4px 12px rgba(40,59,42,0.3); }
.not-found-links a.secondary { background: white; color: #495944; border: 2px solid #ACAE9C; }
.not-found-links a:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.15); }

/* =====================================================
   ENHANCEMENTS & SMOOTH ANIMATIONS
   ===================================================== */
.area-detail {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.area-detail.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.article-sources { margin-top: 18px; padding-top: 14px; border-top: 1px dashed #ACAE9C; }
.article-sources-title { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.7px; color: #495944; margin-bottom: 6px; }
.article-sources ul { list-style: none; padding: 0; margin: 0; }
.article-sources li { font-size: 0.78rem; color: #7B7F6A; line-height: 1.6; padding-left: 14px; position: relative; }
.article-sources li::before { content: "–"; position: absolute; left: 0; color: #ACAE9C; }

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: 1.5px solid #ACAE9C;
    color: #495944;
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.share-btn:hover { background: #f5f6f0; border-color: #283B2A; color: #283B2A; }
.share-btn.copied { background: #e8f5e9; border-color: #283B2A; color: #283B2A; }
.share-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; padding-bottom: 18px; border-bottom: 1px solid #f5f6f0; flex-wrap: wrap; }
.share-bar-label { font-size: 0.8rem; color: #ACAE9C; font-weight: 500; }

.person-era {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 9px;
    border-radius: 10px;
    background: #f5f6f0;
    color: #495944;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

.res-badge { display: inline-block; font-size: 0.68rem; font-weight: 700; padding: 2px 8px; border-radius: 8px; margin-left: 6px; vertical-align: middle; letter-spacing: 0.3px; }
.res-badge.external  { background: #e3f2fd; color: #283B2A; }
.res-badge.free      { background: #e8f5e9; color: #3A4C37; }
.res-badge.paid      { background: #fdf2f2; color: #8e1f25; }
.res-badge.coming    { background: #f5f6f0; color: #7B7F6A; }

.info-modal-overlay.open { animation: fadeInOverlay 0.2s ease; }
@keyframes fadeInOverlay { from { opacity: 0; } to { opacity: 1; } }
.info-modal { animation: slideUpModal 0.3s cubic-bezier(0.34, 1.2, 0.64, 1); }
@keyframes slideUpModal { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.char-counter { font-size: 0.75rem; color: #ACAE9C; text-align: right; margin-top: 4px; transition: color 0.2s; }
.char-counter.near  { color: #8e1f25; }
.char-counter.over  { color: #8e1f25; font-weight: 600; }

.footer-content { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 6px; margin-bottom: 6px; }
.footer-nav a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.82rem; transition: color 0.2s; }
.footer-nav a:hover { color: white; }

@media print {
    .past-events-toggle { display: none; }
    #past-events-list   { display: flex !important; flex-direction: column; gap: 16px; }
}

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

.stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    margin-bottom: 50px;
    overflow: hidden;
}

.stat-item { padding: 28px 20px; text-align: center; border-right: 1px solid #f5f6f0; position: relative; }
.stat-item:last-child { border-right: none; }
.stat-number { font-size: 2.4rem; font-weight: 700; background: linear-gradient(135deg, #8e1f25, #283B2A); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; margin-bottom: 6px; display: block; }
.stat-label { font-size: 0.78rem; color: #7B7F6A; text-transform: uppercase; letter-spacing: 0.6px; font-weight: 600; }

@media (max-width: 600px) {
    .stats-strip { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2) { border-right: none; }
    .stat-item:nth-child(1), .stat-item:nth-child(2) { border-bottom: 1px solid #f5f6f0; }
    .stat-number { font-size: 1.9rem; }
}
@media (max-width: 360px) { .stats-strip { grid-template-columns: 1fr; } .stat-item { border-right: none; border-bottom: 1px solid #f5f6f0; } }

.hero-scroll-cue {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.7);
    font-size: 0.72rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    animation: bounceCue 2s infinite;
    user-select: none;
}
.hero-scroll-cue .cue-arrow { font-size: 1.3rem; line-height: 1; }
@keyframes bounceCue { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(6px); } }
@media (max-width: 480px) { .hero-scroll-cue { display: none; } }

.people-result-count { text-align: center; font-size: 0.82rem; color: #ACAE9C; margin-bottom: 20px; min-height: 1.2em; transition: color 0.2s; }
.people-result-count strong { color: #495944; }

.people-sort-bar { display: flex; justify-content: flex-end; align-items: center; gap: 10px; margin-bottom: 16px; font-size: 0.82rem; color: #7B7F6A; }
.sort-btn { font-family: 'Poppins', sans-serif; font-size: 0.8rem; font-weight: 600; padding: 5px 14px; border-radius: 16px; border: 1.5px solid #ACAE9C; background: white; color: #495944; cursor: pointer; transition: background 0.2s, border-color 0.2s; }
.sort-btn.active, .sort-btn:hover { background: #f5f6f0; border-color: #283B2A; color: #283B2A; }

.area-card-badge { position: absolute; top: 10px; right: 10px; background: rgba(40,59,42,0.75); color: white; font-size: 0.68rem; font-weight: 700; padding: 3px 9px; border-radius: 10px; letter-spacing: 0.3px; backdrop-filter: blur(4px); }
.area-card { position: relative; }
.places-era-nav-wrap { position: sticky; top: 0; z-index: 200; background: linear-gradient(to bottom, #f5f6f0 80%, transparent); padding: 10px 0 4px; margin-bottom: 8px; }

.res-last-checked { font-size: 0.72rem; color: #ACAE9C; margin-top: 8px; display: block; }
.suggest-resource { background: linear-gradient(135deg, #f5f6f0, #eaece2); border-radius: 14px; padding: 28px 32px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 40px; }
.suggest-resource-text h3 { font-size: 1rem; color: #283B2A; margin-bottom: 6px; }
.suggest-resource-text p { font-size: 0.85rem; color: #5D6A53; margin: 0; }
.suggest-resource-btn { display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(135deg, #8e1f25, #283B2A); color: white; text-decoration: none; padding: 10px 22px; border-radius: 22px; font-family: 'Poppins', sans-serif; font-size: 0.85rem; font-weight: 700; white-space: nowrap; box-shadow: 0 3px 10px rgba(142,31,37,0.3); transition: transform 0.2s, box-shadow 0.2s; }
.suggest-resource-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(142,31,37,0.4); }

.open-now-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem; font-weight: 700; padding: 4px 12px; border-radius: 12px; margin-left: 12px; vertical-align: middle; }
.open-now-badge.open { background: #e8f5e9; color: #3A4C37; }
.open-now-badge.closed { background: #fdf2f2; color: #8e1f25; }
.open-now-badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.open-now-badge.open::before { animation: pulse-green 1.6s infinite; }
@keyframes pulse-green { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.form-group input.invalid, .form-group textarea.invalid, .form-group select.invalid { border-color: #8e1f25 !important; box-shadow: 0 0 0 3px rgba(142,31,37,0.12); }
.form-group input.valid, .form-group textarea.valid, .form-group select.valid { border-color: #3A4C37 !important; }
.field-error { font-size: 0.76rem; color: #8e1f25; margin-top: 4px; display: none; }
.field-error.visible { display: block; }

.add-to-cal-wrap { position: relative; display: inline-block; }
.add-to-cal-btn { display: inline-flex; align-items: center; gap: 6px; font-family: 'Poppins', sans-serif; font-size: 0.75rem; font-weight: 600; padding: 5px 13px; border-radius: 14px; border: 1.5px solid #ACAE9C; background: white; color: #495944; cursor: pointer; transition: background 0.2s, border-color 0.2s; margin-top: 10px; }
.add-to-cal-btn:hover { background: #f5f6f0; border-color: #283B2A; }
.cal-dropdown { display: none; position: absolute; top: calc(100% + 6px); left: 0; background: white; border-radius: 10px; box-shadow: 0 6px 20px rgba(0,0,0,0.12); z-index: 300; min-width: 180px; overflow: hidden; }
.cal-dropdown.open { display: block; }
.cal-dropdown a { display: flex; align-items: center; gap: 10px; padding: 10px 16px; font-size: 0.83rem; color: #283B2A; text-decoration: none; transition: background 0.15s; }
.cal-dropdown a:hover { background: #f5f6f0; color: #283B2A; }

.print-btn { display: inline-flex; align-items: center; gap: 7px; font-family: 'Poppins', sans-serif; font-size: 0.82rem; font-weight: 600; padding: 8px 18px; border-radius: 20px; border: 1.5px solid #ACAE9C; background: white; color: #495944; cursor: pointer; transition: background 0.2s, border-color 0.2s; margin-top: 8px; }
.print-btn:hover { background: #f5f6f0; border-color: #283B2A; color: #283B2A; }

.not-found-suggestions { margin-top: 32px; font-size: 0.85rem; color: #7B7F6A; }
.not-found-suggestions strong { color: #495944; }
.suggestion-pill { display: inline-flex; align-items: center; gap: 6px; background: #f5f6f0; color: #495944; border-radius: 16px; padding: 5px 14px; font-size: 0.82rem; font-weight: 600; text-decoration: none; margin: 4px; transition: background 0.2s, transform 0.2s; }
.suggestion-pill:hover { background: #ACAE9C; transform: translateY(-2px); }

#footer .footer-quick-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,0.12); }

footer .footer-quick-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px 5px; margin-bottom: 5px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.12); }

footer .footer-quick-nav a { color: rgba(255,255,255,0.65); text-decoration: none; font-size: 0.82rem; transition: color 0.2s; }
footer .footer-quick-nav a:hover { color: white; }

/* =====================================================
   CSS BLOWOUT FIXES
   ===================================================== */
.split-text { min-width: 0; }
.video-player-wrapper { max-width: 100%; }
.resource-card { min-width: 0 !important; }
.res-content { min-width: 0 !important; width: 100%; }
video { max-width: 100%; height: auto; }

.audio-player-wrapper { margin-top: 15px; width: 100%; }
.audio-player-wrapper audio { width: 100%; border-radius: 30px; outline: none; box-shadow: 0 4px 6px rgba(0,0,0,0.05); }
.video-player-wrapper { margin-top: 15px; width: 100%; border-radius: 12px; overflow: hidden; background: #000; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.video-player-wrapper video { width: 100%; display: block; }

.place-content-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; margin-top: 20px; }
.place-sidebar { background: #f5f6f0; padding: 25px; border-radius: 12px; border: 1px solid #ACAE9C; height: fit-content; }
.place-sidebar h4 { color: #283B2A; margin-bottom: 15px; border-bottom: 2px solid #ACAE9C; padding-bottom: 8px; }
@media (max-width: 850px) { .place-content-layout { grid-template-columns: 1fr; } }