/* style/terms-conditions.css */
/* Body padding-top is handled by shared.css var(--header-offset); this page should not duplicate it. */

.page-terms-conditions {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #FFF6D6; /* Text Main */
    background-color: #0A0A0A; /* Background */
    padding-top: 10px; /* Small top padding for the first section */
}

.page-terms-conditions__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background-color: #0A0A0A; /* Background */
    overflow: hidden;
}

.page-terms-conditions__hero-content {
    max-width: 900px;
    margin-bottom: 40px;
    z-index: 2;
}

.page-terms-conditions__main-title {
    font-size: 2.8em;
    font-weight: 700;
    line-height: 1.2;
    color: #F2C14E; /* Main Color */
    margin-bottom: 20px;
    letter-spacing: 0.05em;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-terms-conditions__subtitle {
    font-size: 1.2em;
    color: #FFF6D6; /* Text Main */
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-terms-conditions__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
    color: #111111; /* Ensure contrast for button text */
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-terms-conditions__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(242, 193, 78, 0.4);
}

.page-terms-conditions__cta-button--small {
    padding: 10px 20px;
    font-size: 1em;
    margin-top: 20px;
}

.page-terms-conditions__hero-image-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    margin-top: 40px;
    z-index: 1; /* Ensure text is above image if any overlap */
}

.page-terms-conditions__hero-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(242, 193, 78, 0.3);
}

.page-terms-conditions__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: #0A0A0A; /* Background */
    color: #FFF6D6; /* Text Main */
}

.page-terms-conditions__section-title {
    font-size: 2em;
    color: #F2C14E; /* Main Color */
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid #3A2A12; /* Border */
    padding-bottom: 10px;
    font-weight: 600;
}

.page-terms-conditions__sub-section-title {
    font-size: 1.5em;
    color: #FFD36B; /* Auxiliary Color */
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 500;
}

.page-terms-conditions__text-block {
    margin-bottom: 20px;
    font-size: 1.1em;
    line-height: 1.7;
    color: #FFF6D6; /* Text Main */
}

.page-terms-conditions__faq-list {
    margin-top: 40px;
}

.page-terms-conditions__faq-item {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-terms-conditions__faq-item.active {
    border-color: #F2C14E; /* Main Color */
    box-shadow: 0 0 15px rgba(242, 193, 78, 0.2);
}

.page-terms-conditions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: #111111; /* Card BG */
    color: #FFF6D6; /* Text Main */
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-terms-conditions__faq-question:hover {
    background-color: rgba(242, 193, 78, 0.1); /* Slight hover effect */
}

.page-terms-conditions__faq-question h3 {
    margin: 0;
    color: #FFF6D6; /* Text Main */
    font-size: 1em; /* Adjusted for better hierarchy with parent */
}

.page-terms-conditions__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #F2C14E; /* Main Color */
    transition: transform 0.3s ease;
}

.page-terms-conditions__faq-item.active .page-terms-conditions__faq-toggle {
    transform: rotate(45deg); /* Plus to X */
}

.page-terms-conditions__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    background-color: #111111; /* Card BG */
    color: #FFF6D6; /* Text Main */
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-terms-conditions__faq-item.active .page-terms-conditions__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 20px 20px 20px; /* Adjust padding for expanded state */
}

.page-terms-conditions__faq-answer p {
    margin: 0;
    color: #FFF6D6; /* Text Main */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-terms-conditions__main-title {
        font-size: 2.2em;
    }
    .page-terms-conditions__section-title {
        font-size: 1.8em;
    }
    .page-terms-conditions__sub-section-title {
        font-size: 1.3em;
    }
}

@media (max-width: 768px) {
    .page-terms-conditions {
        font-size: 16px;
        line-height: 1.6;
        padding-top: 10px !important; /* Small top padding for mobile */
    }

    .page-terms-conditions__hero-section {
        padding: 40px 15px;
    }

    .page-terms-conditions__hero-content {
        margin-bottom: 30px;
    }

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

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

    .page-terms-conditions__cta-button {
        padding: 12px 25px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-terms-conditions__cta-button--small {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-terms-conditions__hero-image-wrapper,
    .page-terms-conditions__content-area,
    .page-terms-conditions__faq-list,
    .page-terms-conditions__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-terms-conditions__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-terms-conditions__section-title {
        font-size: 1.5em;
        margin-top: 30px;
    }

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

    .page-terms-conditions__text-block {
        font-size: 1em;
    }

    .page-terms-conditions__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }

    .page-terms-conditions__faq-answer {
        padding: 0 15px;
    }

    .page-terms-conditions__faq-item.active .page-terms-conditions__faq-answer {
        padding: 10px 15px 15px 15px;
    }
}