/* Scoped styles for .page-terms-conditions */
.page-terms-conditions {
    background-color: #F4F7FB; /* Background color */
    color: #1F2D3D; /* Text Main color */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Hero Section */
.page-terms-conditions__hero-section {
    display: flex;
    flex-direction: column; /* Enforce image on top, text below */
    align-items: center;
    text-align: center;
    padding-bottom: 40px;
    background: linear-gradient(180deg, #6FA3FF 0%, #2F6BFF 100%); /* Blue gradient for hero background */
    color: #FFFFFF; /* White text for contrast on blue background */
    position: relative;
    overflow: hidden; /* Ensure content doesn't bleed */
}

.page-terms-conditions__hero-image-wrapper {
    width: 100%;
    max-height: 400px; /* Limit height for hero image */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-terms-conditions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.7); /* Slightly darken image for better text readability */
    min-height: 200px; /* Ensure minimum size */
}

.page-terms-conditions__hero-content {
    padding: 20px 20px 0; /* Adjusted padding to be below the image */
    max-width: 900px;
    z-index: 1; /* Ensure text is above any background effects */
}

.page-terms-conditions__main-title {
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #FFFFFF; /* White text for main title */
    margin-bottom: 15px;
    /* No fixed font-size, rely on clamp if absolutely needed, otherwise let browser default/shared styles handle */
    /* Example for clamp (if needed, but avoiding per instructions): font-size: clamp(2rem, 5vw, 3.5rem); */
}

.page-terms-conditions__intro-text {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #E0E0E0; /* Lighter white for intro text */
}

/* Content Section */
.page-terms-conditions__content-section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-terms-conditions__container {
    max-width: 900px;
    margin: 0 auto;
    background-color: #FFFFFF; /* Card BG color */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-terms-conditions__section-title {
    font-size: 1.8rem;
    color: #2F6BFF; /* Main color for section titles */
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 700;
}

.page-terms-conditions__section-title:first-of-type {
    margin-top: 0;
}

.page-terms-conditions__text-block {
    margin-bottom: 15px;
    color: #1F2D3D; /* Text Main color */
}

.page-terms-conditions__list {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: #1F2D3D; /* Text Main color */
}

.page-terms-conditions__list-item {
    margin-bottom: 8px;
}

.page-terms-conditions__inline-link {
    color: #2F6BFF; /* Main color for inline links */
    text-decoration: underline;
}

.page-terms-conditions__inline-link:hover {
    color: #6FA3FF; /* Auxiliary color on hover */
    text-decoration: none;
}

.page-terms-conditions__final-cta-text {
    margin-top: 30px;
    font-size: 1.1rem;
    text-align: center;
    color: #1F2D3D; /* Text Main color */
}

.page-terms-conditions__cta-wrapper {
    text-align: center;
    margin-top: 30px;
}

.page-terms-conditions__cta-button {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button gradient */
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-terms-conditions__cta-button:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%); /* Slightly different gradient on hover */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-terms-conditions__hero-section {
        padding-bottom: 20px;
    }

    .page-terms-conditions__hero-image-wrapper {
        max-height: 250px;
    }

    .page-terms-conditions__hero-content {
        padding: 15px 15px 0;
    }

    .page-terms-conditions__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem); /* Use clamp for h1 on smaller screens */
        margin-bottom: 10px;
    }

    .page-terms-conditions__intro-text {
        font-size: 1rem;
        margin-bottom: 15px;
    }

    .page-terms-conditions__content-section {
        padding: 20px 15px;
    }

    .page-terms-conditions__container {
        padding: 20px;
        border-radius: 8px;
    }

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

    .page-terms-conditions__text-block {
        margin-bottom: 10px;
    }

    .page-terms-conditions__list {
        margin-left: 20px;
        margin-bottom: 15px;
    }

    .page-terms-conditions__list-item {
        margin-bottom: 6px;
    }

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

/* Ensure content images within the main section are responsive and not too small */
.page-terms-conditions__content-section img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 8px;
    min-width: 200px; /* Minimum size for content images */
    min-height: 200px;
    object-fit: cover;
}