/* Chapter Page Specific Styles */
.chapter-header {
    height: 50vh;
    min-height: 400px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 60px;
    overflow: hidden;
}

.chapter-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
    z-index: 1;
}

.chapter-heraldry-container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.chapter-heraldry {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: white;
    padding: 8px;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
}

.chapter-title {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-family: 'MedievalSharp', cursive;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.chapter-city {
    color: white;
    font-size: 1.3rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.chapter-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

.chapter-section {
    margin-bottom: 4rem;
}

.section-title {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.chapter-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.chapter-motto {
    font-style: italic;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-align: center;
    font-family: 'MedievalSharp', cursive;
}

.chapter-description p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.social-link:hover {
    background: #a31616;
}

.social-icon {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.location-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
}

body.dark-mode .location-card {
    background: #2b2b2b;
}

.location-day {
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.location-details {
    margin-bottom: 0.5rem;
}

.location-map {
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 1rem;
}

.location-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.volunteers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.volunteer-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

body.dark-mode .volunteer-card {
    background: #2b2b2b;
}

.volunteer-header {
    background: var(--primary-color);
    color: white;
    padding: 0.8rem;
    text-align: center;
    font-weight: bold;
}

.volunteer-content {
    padding: 1.5rem;
    text-align: center;
}

.volunteer-name {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.volunteer-title {
    font-style: italic;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .chapter-info {
        grid-template-columns: 1fr;
    }
    
    .chapter-heraldry {
        width: 150px;
        height: 150px;
    }
    
    .chapter-title {
        font-size: 2rem;
    }
}