.page-terms-conditions {
    background-color: #F4F7FB; /* Base background from custom colors */
    color: #1F2D3D; /* Text Main color */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-terms-conditions__hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background: linear-gradient(180deg, #2F6BFF 0%, #6FA3FF 100%); /* Example gradient, or solid based on design */
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    text-align: center;
}

.page-terms-conditions__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
}

.page-terms-conditions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-height: 200px; /* Ensure minimum size */
    max-height: 600px; /* Cap height for hero */
}

.page-terms-conditions__hero-content {
    max-width: 1200px;
    width: 100%;
    padding: 40px 20px 60px;
    box-sizing: border-box;
    color: #FFFFFF; /* White text on hero */
}

.page-terms-conditions__main-title {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    max-width: 800px;
    margin: 0 auto 20px;
    color: #FFFFFF;
    /* No fixed font-size, rely on clamp if needed, but for now just weight and line-height */
    font-size: clamp(2rem, 4vw, 3.5rem); /* Example clamp for responsiveness */
}

.page-terms-conditions__description {
    font-size: 1.15rem;
    max-width: 900px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.page-terms-conditions__cta-button {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-terms-conditions__cta-button:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
    box-shadow: 0 4px 15px rgba(47, 107, 255, 0.4);
}

.page-terms-conditions__cta-button--small {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.page-terms-conditions__content-section {
    padding: 60px 20px;
    background-color: #F4F7FB;
}

.page-terms-conditions__container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: #FFFFFF; /* Card BG color */
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #D6E2FF; /* Border color */
}

.page-terms-conditions__section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1F2D3D;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #D6E2FF;
}

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

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

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

.page-terms-conditions__list-item {
    margin-bottom: 10px;
    font-size: 1rem;
    line-height: 1.5;
}

.page-terms-conditions__link-button {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 10px;
    border-radius: 6px;
    background-color: #6FA3FF; /* Auxiliary color */
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.page-terms-conditions__link-button:hover {
    background-color: #2F6BFF;
}

.page-terms-conditions__contact-section {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px dashed #D6E2FF;
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-terms-conditions__hero-content {
        padding: 30px 15px 40px;
    }

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

    .page-terms-conditions__description {
        font-size: 1rem;
        margin-bottom: 25px;
    }

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

    .page-terms-conditions__container {
        padding: 25px;
    }

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

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

    .page-terms-conditions__paragraph,
    .page-terms-conditions__list-item {
        font-size: 0.95rem;
    }

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

/* Ensure content area images are not too small */
/* This rule applies to any img within the main content section */
.page-terms-conditions__content-section img {
    min-width: 200px; /* Enforce minimum width for content images */
    min-height: 200px; /* Enforce minimum height for content images */
    object-fit: cover; /* Maintain aspect ratio and cover area */
}