/* style/terms-conditions.css */
.page-terms-conditions {
    background-color: #100224; /* Dark background as per WOW88 style, overriding default #FFFFFF */
    color: #FFFFFF; /* White text for contrast */
    font-family: 'Roboto', sans-serif; /* Roboto-like font */
}

.page-terms-conditions__hero-section {
    position: relative;
    padding-top: 10px; /* Minimal top padding, body handles --header-offset */
    text-align: center;
    background-color: #017439; /* Primary color for hero background */
    display: flex; /* For image-above-text layout */
    flex-direction: column; /* Image above text */
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Ensure no image overflow */
}

.page-terms-conditions__hero-image {
    width: 100%;
    max-width: 1920px; /* Max width for large screens */
    height: auto; /* Maintain aspect ratio */
    object-fit: cover;
    display: block;
    margin-bottom: 20px; /* Space between image and content */
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

.page-terms-conditions__hero-content {
    padding: 20px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    z-index: 1; /* Ensure content is above any potential background elements */
}

.page-terms-conditions__main-title {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #FFFFFF; /* White for main title */
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-size: clamp(1.8rem, 4vw, 3rem); /* Example clamp for responsiveness */
}

.page-terms-conditions__intro-text {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: #E0E0E0;
}

.page-terms-conditions__cta-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.page-terms-conditions__button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
    white-space: nowrap;
}

.page-terms-conditions__button--register {
    background-color: #C30808; /* Custom color for Register */
    color: #FFFF00; /* Custom font color for Register */
    border: none;
}

.page-terms-conditions__button--register:hover {
    background-color: #a00606;
    transform: translateY(-2px);
}

.page-terms-conditions__button--login {
    background-color: #C30808; /* Custom color for Login */
    color: #FFFF00; /* Custom font color for Login */
    border: 1px solid #FFFF00;
}

.page-terms-conditions__button--login:hover {
    background-color: #a00606;
    transform: translateY(-2px);
}

.page-terms-conditions__content-section {
    padding: 40px 20px;
    background-color: #1a0a33; /* Slightly lighter dark background for content */
}

.page-terms-conditions__container {
    max-width: 900px;
    margin: 0 auto;
}

.page-terms-conditions__section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #017439; /* Primary color for section titles */
    margin-top: 40px;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    border-bottom: 2px solid #017439;
    padding-bottom: 10px;
}

.page-terms-conditions__sub-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: #FFFFFF; /* White for sub-titles */
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-terms-conditions__paragraph {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 15px;
    color: #E0E0E0; /* Light grey for paragraph text */
}

.page-terms-conditions__paragraph:last-of-type {
    margin-bottom: 0;
}

.page-terms-conditions__contact-cta {
    margin-top: 50px;
    padding: 30px;
    background-color: #017439; /* Primary color for contact CTA background */
    border-radius: 10px;
    text-align: center;
}

.page-terms-conditions__contact-cta .page-terms-conditions__sub-title {
    color: #FFFFFF;
    margin-top: 0;
}

.page-terms-conditions__contact-cta .page-terms-conditions__paragraph {
    color: #FFFFFF;
    margin-bottom: 25px;
}

.page-terms-conditions__button--contact {
    background-color: #C30808; /* Custom color for contact button */
    color: #FFFF00; /* Custom font color for contact button */
    border: none;
    padding: 12px 30px;
}

.page-terms-conditions__button--contact:hover {
    background-color: #a00606;
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-terms-conditions__hero-image {
        min-width: 200px; /* Ensure minimum width for mobile */
        min-height: 200px; /* Ensure minimum height for mobile */
        max-width: 100%; /* For mobile overflow */
        height: auto; /* For mobile overflow */
    }

    .page-terms-conditions__main-title {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
    }

    .page-terms-conditions__section-title {
        font-size: 1.8rem;
    }

    .page-terms-conditions__sub-title {
        font-size: 1.4rem;
    }

    .page-terms-conditions__intro-text,
    .page-terms-conditions__paragraph {
        font-size: 0.95rem;
    }

    .page-terms-conditions__cta-group {
        flex-direction: column;
        gap: 10px;
    }

    .page-terms-conditions__button {
        width: 100%;
        max-width: 250px; /* Limit button width on small screens */
        margin: 0 auto;
    }

    /* Mobile content area image overflow prevention */
    .page-terms-conditions__content-section img {
        max-width: 100%;
        height: auto;
    }
}