/* style/terms-conditions.css */
.page-terms-conditions {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #FFF6D6; /* Text Main */
    background: #0A0A0A; /* Background */
    line-height: 1.6;
}

.page-terms-conditions__content-wrapper {
    padding: 60px 0;
}

.page-terms-conditions__article-wrap {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-terms-conditions__hero-section {
    background: #111111; /* Card BG */
    padding: 10px 20px 60px;
    text-align: center;
    border-bottom: 1px solid #3A2A12; /* Border */
}

.page-terms-conditions__hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-terms-conditions__main-title {
    font-size: clamp(2.5em, 4vw, 3.5em);
    font-weight: bold;
    color: #F2C14E; /* Main color */
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.page-terms-conditions__description {
    font-size: 1.15em;
    line-height: 1.7;
    margin-bottom: 30px;
    color: #FFF6D6; /* Text Main */
    opacity: 0.9;
}

.page-terms-conditions__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-terms-conditions__btn-primary,
.page-terms-conditions__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.05em;
    transition: all 0.3s ease;
    cursor: pointer;
    max-width: 280px;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-terms-conditions__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
    color: #111111; /* Dark text for bright button */
    border: none;
    box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-terms-conditions__btn-primary:hover {
    opacity: 0.95;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

.page-terms-conditions__btn-secondary {
    background: transparent;
    color: #F2C14E; /* Main color */
    border: 2px solid #F2C14E; /* Main color border */
    box-shadow: 0 4px 10px rgba(242, 193, 78, 0.2);
}

.page-terms-conditions__btn-secondary:hover {
    background: #F2C14E; /* Main color */
    color: #111111; /* Dark text */
    box-shadow: 0 6px 15px rgba(242, 193, 78, 0.4);
}

.page-terms-conditions__section-title {
    font-size: 2.2em;
    color: #F2C14E; /* Main color */
    margin-top: 50px;
    margin-bottom: 25px;
    border-bottom: 2px solid #3A2A12; /* Border */
    padding-bottom: 15px;
    font-weight: bold;
}

.page-terms-conditions__sub-section-title {
    font-size: 1.6em;
    color: #FFD36B; /* Auxiliary color */
    margin-top: 35px;
    margin-bottom: 20px;
    font-weight: 600;
}

.page-terms-conditions__paragraph {
    font-size: 1.05em;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #FFF6D6; /* Text Main */
    opacity: 0.85;
}

.page-terms-conditions__highlight {
    color: #FFD36B; /* Auxiliary color for highlights */
    font-weight: bold;
}

.page-terms-conditions__term {
    color: #F2C14E; /* Main color for terms */
    font-style: italic;
    font-weight: 600;
}

.page-terms-conditions__figure {
    margin: 40px 0;
    text-align: center;
    background: #111111; /* Card BG */
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #3A2A12; /* Border */
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.page-terms-conditions__figure img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 15px auto;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

.page-terms-conditions__figcaption {
    font-size: 0.95em;
    color: #FFF6D6; /* Text Main */
    line-height: 1.6;
    opacity: 0.7;
}

.page-terms-conditions__cta-bottom {
    background: #111111; /* Card BG */
    padding: 70px 20px;
    text-align: center;
    border-top: 1px solid #3A2A12; /* Border */
    margin-top: 50px;
}

.page-terms-conditions__cta-title {
    font-size: 2.5em;
    color: #F2C14E; /* Main color */
    margin-bottom: 20px;
    font-weight: bold;
}

.page-terms-conditions__cta-description {
    font-size: 1.2em;
    line-height: 1.7;
    margin-bottom: 40px;
    color: #FFF6D6; /* Text Main */
    opacity: 0.9;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    /* Top Section Title + CTA */
    .page-terms-conditions__hero-section {
        padding: 10px 15px 40px !important; /* Small top padding, not var(--header-offset) */
    }

    .page-terms-conditions__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
        margin-bottom: 15px;
    }

    .page-terms-conditions__description {
        font-size: 0.95em;
        margin-bottom: 25px;
    }

    .page-terms-conditions__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

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

    /* Single column long text container */
    .page-terms-conditions__article-wrap {
        padding: 0 15px;
    }

    .page-terms-conditions__content-wrapper {
        padding: 30px 0;
    }

    .page-terms-conditions__section-title {
        font-size: 1.6em;
        margin-top: 30px;
        margin-bottom: 15px;
        padding-bottom: 10px;
    }

    .page-terms-conditions__sub-section-title {
        font-size: 1.3em;
        margin-top: 25px;
        margin-bottom: 10px;
    }

    .page-terms-conditions__paragraph {
        font-size: 0.9em;
        line-height: 1.6;
        margin-bottom: 15px;
    }

    /* General Images and Figure */
    .page-terms-conditions__figure {
        margin: 20px 0;
        padding: 10px;
    }

    .page-terms-conditions__figure img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-terms-conditions__figcaption {
        font-size: 0.8em;
    }

    /* Bottom CTA */
    .page-terms-conditions__cta-bottom {
        padding: 40px 15px;
        margin-top: 30px;
    }

    .page-terms-conditions__cta-title {
        font-size: 1.8em;
        margin-bottom: 15px;
    }

    .page-terms-conditions__cta-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }

    /* Ensure all containers and elements with images are responsive */
    .page-terms-conditions__section,
    .page-terms-conditions__card,
    .page-terms-conditions__container,
    .page-terms-conditions__hero-content {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}