/* style/about.css */
.page-about {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #FFF1E8; /* Text Main color for general content */
    background-color: #140C0C; /* Custom background color */
}

.page-about__article-wrap {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 1. Top section padding/spacing */
.page-about__hero-section {
    padding-top: 10px; /* Specific requirement: ~10px top padding, not var(--header-offset) */
    position: relative;
    overflow: hidden;
    background-color: #140C0C;
}

.page-about__hero-image-wrap {
    width: 100%;
    height: auto;
}

.page-about__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-about__hero-content {
    position: relative;
    padding: 40px 20px;
    text-align: center;
    background: rgba(0, 0, 0, 0.4); /* Subtle overlay for readability on image */
    margin-top: -5px; /* Slight visual overlap for continuity */
}

.page-about__main-title {
    font-size: clamp(2.2em, 4vw, 3.5em); /* H1 font size with clamp */
    color: #F3C54D; /* Gold color for main title */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.page-about__description {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #FFF1E8; /* Text Main color */
}

.page-about__cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-about__btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Ensure long words break */
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.page-about__btn-primary {
    background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Custom button color */
    color: #140C0C; /* Dark text for light button */
    border: none;
}

.page-about__btn-primary:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.page-about__btn-secondary {
    background: transparent;
    color: #F3C54D; /* Gold text for secondary button */
    border: 2px solid #F3C54D; /* Gold border */
}

.page-about__btn-secondary:hover {
    background: rgba(243, 197, 77, 0.1); /* Subtle hover effect */
    transform: translateY(-2px);
}

.page-about__section {
    padding: 60px 0;
    margin-bottom: 20px;
    background-color: #140C0C; /* Consistent dark background for sections */
}

.page-about__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    color: #F3C54D; /* Gold color for section titles */
    font-weight: bold;
}

.page-about__section-title--light {
    color: #FFF1E8; /* Lighter title for dark promo box */
}

.page-about__content-block p {
    margin-bottom: 20px;
    font-size: 1.05em;
    color: #FFF1E8; /* Text Main color */
}

.page-about__content-block strong {
    color: #F3C54D; /* Highlight keywords with Gold */
}

.page-about__image-figure {
    margin: 30px 0;
    text-align: center;
    background-color: #2A1212; /* Card BG for image figures */
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #6A1E1E; /* Border color */
}

.page-about__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 6px;
}

.page-about__image-caption {
    margin-top: 15px;
    font-size: 0.9em;
    color: #FFF1E8; /* Text Main color */
}

.page-about__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-about__feature-item.page-about__card {
    background-color: #2A1212; /* Card BG color */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid #6A1E1E; /* Border color */
    color: #FFF1E8; /* Text Main color */
}

.page-about__feature-title {
    font-size: 1.5em;
    color: #F3C54D; /* Gold color for feature titles */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-about__btn-link {
    display: inline-block;
    margin-top: 20px;
    color: #F3C54D; /* Gold color for links */
    text-decoration: underline;
    font-weight: bold;
}

.page-about__btn-link:hover {
    color: #FFB04A; /* Lighter gold on hover */
}

.page-about__contact-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    color: #FFF1E8; /* Text Main color */
}

.page-about__contact-list li {
    margin-bottom: 10px;
    font-size: 1.05em;
}

.page-about__contact-link {
    color: #F3C54D; /* Gold color for contact links */
    text-decoration: none;
    font-weight: bold;
}

.page-about__contact-link:hover {
    text-decoration: underline;
}

/* FAQ Section */
.page-about__faq-list {
    margin-top: 40px;
}

.page-about__faq-item {
    background-color: #2A1212; /* Card BG color */
    border: 1px solid #6A1E1E; /* Border color */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #FFF1E8; /* Text Main color */
}

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    color: #F3C54D; /* Gold color for FAQ questions */
    list-style: none; /* Hide default marker for details/summary */
}

.page-about__faq-question::-webkit-details-marker {
    display: none;
}

.page-about__faq-toggle {
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.page-about__faq-item[open] .page-about__faq-toggle {
    transform: rotate(45deg); /* Rotate '+' to 'x' or similar */
}

.page-about__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    color: #FFF1E8; /* Text Main color */
    line-height: 1.7;
}

.page-about__faq-answer p:last-child {
    margin-bottom: 0;
}

.page-about__final-cta.page-about__promo-box {
    background: #C61F1F; /* Main color for promo box */
    padding: 60px 20px;
    text-align: center;
    border-radius: 12px;
    margin-top: 40px;
    margin-bottom: 40px;
    border: 2px solid #E53030; /* Deep Red border */
}

.page-about__promo-box .page-about__description {
    color: #FFF1E8; /* Light text for dark background */
}

/* --- Responsive Design (Mobile - max-width: 768px) --- */
@media (max-width: 768px) {
    /* General adjustments for smaller screens */
    .page-about {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-about__article-wrap {
        padding: 0 15px;
    }

    /* 1. Top section padding/spacing */
    .page-about__hero-section {
        padding-top: 10px !important;
    }

    .page-about__hero-content {
        padding: 30px 15px;
    }

    .page-about__main-title {
        font-size: 2em;
        margin-bottom: 15px;
    }

    .page-about__description {
        font-size: 1em;
        margin-bottom: 25px;
    }

    /* 4. Buttons and button containers */
    .page-about__cta-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .page-about__btn {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-about__cta-buttons,
    .page-about__button-group,
    .page-about__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }

    .page-about__section {
        padding: 40px 0;
    }

    .page-about__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    /* 2. Single column long-form container */
    .page-about__content-block {
        padding: 0 10px;
    }

    /* 3. Generic images and figures */
    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-about__image-figure {
        padding: 10px;
    }

    .page-about__features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-about__feature-item.page-about__card {
        padding: 20px;
    }

    .page-about__feature-title {
        font-size: 1.3em;
    }

    .page-about__contact-list li {
        font-size: 1em;
    }

    /* 5. FAQ section (readability enhancements) */
    .page-about__faq-item {
        margin-bottom: 10px;
    }

    .page-about__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }

    .page-about__faq-answer {
        padding: 0 20px 15px;
        font-size: 0.95em;
    }

    .page-about__final-cta.page-about__promo-box {
        padding: 40px 15px;
    }
}