/* Shared section component styles
   Used on volunteer page and info page for consistent section layout
   Design based on volunteer page section styling */

/* Section container - full width with centered content */
.content-section {
    padding: 40px 10px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Section header - outside the content box */
.content-section-header {
    font-family: "Helvetica", Arial, sans-serif;
    font-size: 55px;
    font-weight: 400;
    letter-spacing: -3px;
    color: #111;
    width: 70%;
    max-width: 800px;
    padding-left: 40px;
    padding-bottom: 5px;
    margin: 0 auto 0 auto;
    text-align: left;
    transition: color 0.3s ease;
    background-color: transparent;
    box-sizing: border-box;
    text-transform: uppercase;
}

/* Content box - holds image, description, and button */
.content-section-box {
    width: 70%;
    max-width: 800px;
    background-color: transparent;
    border-radius: 0;
    overflow: hidden;
    margin: 0 auto;
}

/* Section image - extends beyond container like volunteer page */
.content-section-image {
    width: calc(100% + 160px);
    height: 520px;
    object-fit: cover;
    display: block;
    margin-left: -80px;
    margin-right: -80px;
    margin-top: 15px;
    margin-bottom: 0px;
}

/* Section description text */
.content-section-description {
    padding: 40px;
    font-family: "Helvetica", Arial, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    color: #111;
    letter-spacing: -0.5px;
}

.content-section-description p {
    margin-bottom: 20px;
}

.content-section-description p:last-child {
    margin-bottom: 0;
}

.content-section-description strong {
    font-weight: 600;
}

.content-section-description h3 {
    font-size: 24px;
    font-weight: 400;
    margin-top: 25px;
    margin-bottom: 10px;
}

/* Subsection wrapper */
.content-subsection {
    margin-bottom: 30px;
}

.content-subsection:last-child {
    margin-bottom: 0;
}

/* Subsection header - styled like main header but smaller */
.content-subsection-header {
    font-family: "Helvetica", Arial, sans-serif;
    font-size: 32px;
    font-weight: 400;
    letter-spacing: -2px;
    color: #111;
    padding: 30px 40px 5px 40px;
    margin: 0;
    text-align: left;
    text-transform: uppercase;
}

.content-section-description ul {
    margin-bottom: 15px;
    padding-left: 20px;
}

.content-section-description li {
    margin-bottom: 8px;
}

.content-section-description a {
    color: #111;
    text-decoration: underline;
}

/* Section button */
.content-section-button {
    display: block;
    width: calc(100% - 60px);
    margin: 0 30px 30px 30px;
    padding: 15px 20px;
    font-family: "Helvetica", Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: -0.5px;
    text-align: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-sizing: border-box;
}

/* Button-styled links (for download links, etc.) */
.section-button-link {
    display: inline-block;
    padding: 15px 30px;
    font-family: "Helvetica", Arial, sans-serif;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: -0.5px;
    text-decoration: none;
    background-color: #111;
    color: inherit;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 15px;
    margin-right: 10px;
}

.section-button-link:last-child {
    margin-right: 0;
}

/* Map container inside sections */
.content-section-description .map-container {
    margin-top: 20px;
    border-radius: 0;
    overflow: hidden;
}

.content-section-description .map-container iframe {
    display: block;
}

/* Contact boxes inside sections */
.content-section-description .contact-boxes {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.content-section-description .contact-box {
    display: inline-flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    width: auto;
    white-space: nowrap;
    background: transparent !important;
}

.content-section-description .contact-box strong {
    font-family: "Helvetica", Arial, sans-serif;
    font-size: 20px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0;
    color: #111;
    margin-bottom: 8px;
    padding-left: 0;
}

.content-section-description .contact-box span {
    display: block;
    background: #111;
    color: #fff;
    font-family: "Helvetica", Arial, sans-serif;
    font-weight: 400;
    font-size: 22px;
    letter-spacing: -0.5px;
    padding: 14px 20px;
    margin: 0;
    user-select: all;
    cursor: pointer;
}

/* Document cards grid */
.documents-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.content-section-description a.document-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 24px;
    background-color: #8B5CF6;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    min-width: 200px;
}

.document-card-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.document-card-name {
    font-family: "Helvetica", Arial, sans-serif;
    font-size: 20px;
    font-weight: 400;
    letter-spacing: -0.5px;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .content-section {
        padding: 40px 0;
    }

    .content-section-header {
        font-size: 32px;
        width: calc(100% - 30px);
        padding-left: 25px;
        padding-bottom: 5px;
        margin: 0 15px 0 15px;
        letter-spacing: -2px;
        box-sizing: border-box;
    }

    .content-section-box {
        width: calc(100% - 30px);
        margin: 0 15px;
    }

    .content-section-image {
        height: 325px;
        width: calc(100% + 50px);
        margin-left: -25px;
        margin-right: -25px;
        margin-top: 10px;
    }

    .content-section-description {
        padding: 25px;
        font-size: 16px;
    }

    .content-section-description h3 {
        font-size: 20px;
        margin-top: 20px;
    }

    /* Subsection mobile */
    .content-subsection-header {
        font-size: 22px;
        padding: 20px 25px 5px 25px;
        letter-spacing: -1px;
    }

    .content-section-button {
        font-size: 14px;
        padding: 12px 15px;
        width: calc(100% - 40px);
        margin: 0 20px 20px 20px;
    }

    .section-button-link {
        padding: 12px 20px;
        font-size: 16px;
    }

    /* Document cards mobile */
    .documents-grid {
        gap: 10px;
    }

    .document-card {
        padding: 14px 18px;
        min-width: unset;
        width: 100%;
    }

    .document-card-name {
        font-size: 17px;
    }

    /* Contact boxes mobile */
    .content-section-description .contact-boxes {
        gap: 10px;
    }

    .content-section-description .contact-box {
        padding: 0;
    }

    .content-section-description .contact-box strong {
        font-size: 16px;
        padding-left: 0;
        margin-bottom: 6px;
    }

    .content-section-description .contact-box span {
        font-size: 18px;
        padding: 10px 14px;
    }

    /* Map responsive */
    .content-section-description .map-container iframe {
        height: 250px;
    }
}

/* Very small screens */
@media (max-width: 400px) {
    .content-section-header {
        font-size: 28px;
    }

    .content-section-description {
        font-size: 15px;
    }

    .content-section-description .contact-box strong {
        font-size: 14px;
        padding-left: 0;
    }

    .content-section-description .contact-box span {
        font-size: 16px;
        padding: 8px 12px;
    }
}
