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

.page-terms-conditions__hero-section {
    position: relative;
    width: 100%;
    padding-top: 10px; /* Small top padding, relying on body for header offset */
    background-color: #0A0A0A; /* Background */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Align items to start for image-text stack */
    padding-bottom: 40px;
}

.page-terms-conditions__hero-content-wrapper {
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    max-width: 1200px;
    width: 100%;
    gap: 30px;
}

.page-terms-conditions__hero-image {
    width: 100%;
    max-width: 1200px; /* Match width attribute */
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

.page-terms-conditions__hero-text-container {
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.page-terms-conditions__main-title {
    font-size: clamp(2.2rem, 5vw, 3rem); /* H1 clamp for responsive size */
    color: #FFD36B; /* Glow color for emphasis */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
}

.page-terms-conditions__lead-paragraph {
    font-size: 1.1rem;
    color: #FFF6D6; /* Text Main */
    margin-bottom: 30px;
}

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

.page-terms-conditions__btn-primary,
.page-terms-conditions__btn-secondary {
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure responsiveness */
    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 light button */
    border: none;
}

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

.page-terms-conditions__btn-secondary {
    background: transparent;
    color: #FFD36B; /* Glow color for text */
    border: 2px solid #3A2A12; /* Border color */
}

.page-terms-conditions__btn-secondary:hover {
    background-color: #3A2A12; /* Border color as hover background */
    color: #FFF6D6; /* Text Main */
}

.page-terms-conditions__content-section {
    padding: 60px 0;
    background-color: #0A0A0A; /* Background */
    color: #FFF6D6; /* Text Main */
}

.page-terms-conditions__container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-terms-conditions__home-content-box {
    max-width: 100%; /* Default to 100% for flexibility, will be restricted by container */
    margin: 0 auto;
    padding: 25px;
    background-color: #111111; /* Card BG */
    border: 2px solid #3A2A12; /* Border color */
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 211, 107, 0.2); /* Glow effect */
    height: 700px; /* Fixed height for desktop */
    display: flex; /* For inner scrolling */
    flex-direction: column;
}

.page-terms-conditions__home-content-inner {
    height: 100%;
    overflow-y: auto; /* Scrollable content for desktop */
    padding-right: 15px; /* Space for scrollbar */
}

/* Custom scrollbar for webkit browsers */
.page-terms-conditions__home-content-inner::-webkit-scrollbar {
    width: 8px;
}

.page-terms-conditions__home-content-inner::-webkit-scrollbar-track {
    background: #3A2A12; /* Border color */
    border-radius: 10px;
}

.page-terms-conditions__home-content-inner::-webkit-scrollbar-thumb {
    background: #FFD36B; /* Glow color */
    border-radius: 10px;
}

.page-terms-conditions__article {
    padding: 10px;
}

.page-terms-conditions__section-title {
    font-size: 2.2rem;
    color: #F2C14E; /* Main color */
    margin-top: 35px;
    margin-bottom: 20px;
    font-weight: 700;
}

.page-terms-conditions__sub-title {
    font-size: 1.6rem;
    color: #FFD36B; /* Glow color */
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-terms-conditions__paragraph {
    font-size: 1rem;
    margin-bottom: 15px;
    color: #FFF6D6; /* Text Main */
}

.page-terms-conditions ul {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 15px;
    color: #FFF6D6; /* Text Main */
}

.page-terms-conditions li {
    margin-bottom: 8px;
    color: #FFF6D6; /* Text Main */
}

.page-terms-conditions a {
    color: #F2C14E; /* Main color for links */
    text-decoration: underline;
}

.page-terms-conditions a:hover {
    color: #FFD36B; /* Glow color on hover */
}

.page-terms-conditions__image-inline {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Responsive styles for mobile */
@media (max-width: 768px) {
    .page-terms-conditions__hero-section {
        padding-top: 10px !important; /* Fixed top padding */
        padding-bottom: 30px;
    }

    .page-terms-conditions__hero-content-wrapper {
        gap: 20px;
    }

    .page-terms-conditions__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        border-radius: 0;
    }

    .page-terms-conditions__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        padding: 0 10px;
    }

    .page-terms-conditions__lead-paragraph {
        font-size: 1rem;
        padding: 0 15px;
    }

    .page-terms-conditions__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 100%;
        padding: 0 15px; /* Add padding to container */
        box-sizing: border-box;
    }

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

    .page-terms-conditions__content-section {
        padding: 40px 0;
    }

    .page-terms-conditions__container {
        padding: 0 15px; /* Standard mobile padding */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-terms-conditions__home-content-box {
        height: auto !important; /* Auto height for mobile */
        overflow: visible !important; /* Visible overflow */
        padding: 15px;
        border-radius: 5px;
        box-shadow: none;
    }

    .page-terms-conditions__home-content-inner {
        height: auto !important;
        overflow: visible !important;
        padding-right: 0;
    }

    .page-terms-conditions__section-title {
        font-size: 1.8rem;
        margin-top: 25px;
        margin-bottom: 15px;
    }

    .page-terms-conditions__sub-title {
        font-size: 1.4rem;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .page-terms-conditions__paragraph,
    .page-terms-conditions li {
        font-size: 0.95rem;
    }

    /* Generic image responsive rule */
    .page-terms-conditions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
}