/* Base Styles */
.page-sitemap {
    font-family: 'Arial', sans-serif;
    color: #FFF1E8; /* Text Main */
    background: #140C0C; /* Background */
    line-height: 1.6;
}

.page-sitemap__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-sitemap__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 40px;
    background: #2A1212; /* Card BG */
    border-bottom: 1px solid #6A1E1E; /* Border */
}

.page-sitemap__hero-content {
    max-width: 900px;
    margin-bottom: 30px;
}

.page-sitemap__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #FFB04A;
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-sitemap__description {
    font-size: 1.1rem;
    color: #FFF1E8;
    max-width: 800px;
    margin: 0 auto;
}

.page-sitemap__hero-image {
    width: 100%;
    max-width: 1000px;
    height: auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

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

.page-sitemap__sitemap-overview {
    padding: 60px 0;
}

.page-sitemap__section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #FFB04A;
    text-align: center;
    margin-bottom: 30px;
}

.page-sitemap__intro-text {
    font-size: 1rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
    color: #FFF1E8;
}

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

.page-sitemap__category-section {
    background: #2A1212; /* Card BG */
    border: 1px solid #6A1E1E; /* Border */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-sitemap__category-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.page-sitemap__category-title {
    font-size: 1.8rem;
    color: #F3C54D; /* Gold */
    margin-bottom: 25px;
    border-bottom: 2px solid #7E0D0D; /* Deep Red */
    padding-bottom: 10px;
}

.page-sitemap__link-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-sitemap__link-item {
    margin-bottom: 20px;
}

.page-sitemap__link-item a {
    color: #FFF1E8;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    display: block;
    margin-bottom: 5px;
}

.page-sitemap__link-item a:hover {
    color: #FFB04A;
    text-decoration: underline;
}

.page-sitemap__link-description {
    font-size: 0.95rem;
    color: #d0d0d0;
    line-height: 1.5;
}

.page-sitemap__cta-section {
    padding: 80px 20px;
    text-align: center;
    background: #C61F1F; /* Main Color */
    color: #ffffff;
    border-top: 1px solid #E53030;
}

.page-sitemap__cta-title {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 20px;
}

.page-sitemap__cta-text {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.7;
}

.page-sitemap__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    box-sizing: border-box;
    overflow: hidden;
}

.page-sitemap__btn-primary,
.page-sitemap__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
    flex-grow: 1; /* Allow buttons to grow */
    flex-basis: 0; /* Distribute space evenly */
}

.page-sitemap__btn-primary {
    background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-sitemap__btn-primary:hover {
    background: linear-gradient(180deg, #D86A14 0%, #FFB04A 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-sitemap__btn-secondary {
    background: #ffffff;
    color: #C61F1F;
    border: 2px solid #C61F1F;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-sitemap__btn-secondary:hover {
    background: #f0f0f0;
    color: #E53030;
    border-color: #E53030;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-sitemap__faq-section {
    padding: 60px 0;
    background: #140C0C; /* Background */
}

.page-sitemap__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
}

details.page-sitemap__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #6A1E1E; /* Border */
    overflow: hidden;
    background: #2A1212; /* Card BG */
}

details.page-sitemap__faq-item summary.page-sitemap__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
}

details.page-sitemap__faq-item summary.page-sitemap__faq-question::-webkit-details-marker {
    display: none;
}

details.page-sitemap__faq-item summary.page-sitemap__faq-question:hover {
    background: #3a1a1a; /* Slightly lighter Card BG on hover */
}

.page-sitemap__faq-qtext {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: #FFF1E8;
}

.page-sitemap__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: #FFB04A; /* Gold color for toggle */
    flex-shrink: 0;
    margin-left: 15px;
    width: 28px;
    text-align: center;
}

details.page-sitemap__faq-item .page-sitemap__faq-answer {
    padding: 0 20px 20px;
    background: #1c0f0f; /* Darker background for answer */
    border-radius: 0 0 5px 5px;
    color: #d0d0d0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-sitemap__container {
        padding: 15px;
    }

    .page-sitemap__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }

    .page-sitemap__section-title {
        font-size: 2rem;
    }

    .page-sitemap__category-title {
        font-size: 1.6rem;
    }

    .page-sitemap__link-item a {
        font-size: 1rem;
    }

    .page-sitemap__link-description {
        font-size: 0.9rem;
    }

    .page-sitemap__cta-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .page-sitemap__hero-section {
        padding-bottom: 20px;
    }

    .page-sitemap__hero-image img {
        object-fit: contain !important; /* HERO mobile: contain */
        aspect-ratio: unset !important;
    }

    .page-sitemap__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }

    .page-sitemap__description {
        font-size: 0.95rem;
    }

    .page-sitemap__sitemap-overview,
    .page-sitemap__cta-section,
    .page-sitemap__faq-section {
        padding: 40px 0;
    }

    .page-sitemap__section-title {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }

    .page-sitemap__intro-text {
        font-size: 0.9rem;
        margin-bottom: 30px;
    }

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

    .page-sitemap__category-section {
        padding: 20px;
    }

    .page-sitemap__category-title {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }

    .page-sitemap__link-item {
        margin-bottom: 15px;
    }

    .page-sitemap__link-item a {
        font-size: 0.95rem;
    }

    .page-sitemap__link-description {
        font-size: 0.85rem;
    }

    .page-sitemap__cta-title {
        font-size: 2rem;
    }

    .page-sitemap__cta-text {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .page-sitemap__cta-buttons {
        flex-direction: column; /* Buttons stack vertically on mobile */
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-sitemap__btn-primary,
    .page-sitemap__btn-secondary {
        padding: 12px 20px;
        font-size: 1rem;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-sitemap__faq-list {
        margin-top: 25px;
    }

    details.page-sitemap__faq-item summary.page-sitemap__faq-question {
        padding: 15px;
    }

    .page-sitemap__faq-qtext {
        font-size: 15px;
    }

    .page-sitemap__faq-toggle {
        font-size: 20px;
        width: 24px;
        height: 24px;
    }

    details.page-sitemap__faq-item .page-sitemap__faq-answer {
        padding: 0 15px 15px;
    }

    /* Generic image and container responsive styles */
    .page-sitemap img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-sitemap__hero-section,
    .page-sitemap__sitemap-overview .page-sitemap__container,
    .page-sitemap__category-section,
    .page-sitemap__cta-section .page-sitemap__container,
    .page-sitemap__faq-section .page-sitemap__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}