.page-terms-conditions {
    background-color: var(--page-bg-color, #F4F7FB); /* Using default background color */
    color: var(--text-main-color, #1F2D3D);
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
}

.page-terms-conditions__hero-section {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    background-color: var(--main-color, #2F6BFF); /* Fallback or accent */
    display: flex;
    flex-direction: column; /* Ensure image is above text */
    align-items: center;
    padding-bottom: 30px; /* Padding below content */
}

.page-terms-conditions__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    margin-bottom: 20px; /* Space between image and text */
}

.page-terms-conditions__hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
    color: #FFFFFF; /* White text on blue background */
}

.page-terms-conditions__main-title {
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 15px;
    color: #FFFFFF;
    /* No fixed font-size, rely on clamp if needed, otherwise browser default for h1 */
}

.page-terms-conditions__description {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: #FFFFFF;
}

.page-terms-conditions__cta-button {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #FFFFFF;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    min-width: 150px;
    text-align: center;
}

.page-terms-conditions__cta-button:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
    transform: translateY(-2px);
}

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

.page-terms-conditions__container {
    max-width: 1200px; /* Max-width for content area */
    margin: 0 auto;
    padding: 0 20px;
}

.page-terms-conditions__section-title {
    font-size: 2.2rem;
    font-weight: bold;
    color: var(--text-main-color, #1F2D3D);
    margin-bottom: 30px;
    text-align: center;
    padding-top: 20px;
}

.page-terms-conditions__sub-title {
    font-size: 1.6rem;
    font-weight: bold;
    color: var(--text-main-color, #1F2D3D);
    margin-top: 35px;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--border-color, #D6E2FF);
    padding-bottom: 8px;
}

.page-terms-conditions__paragraph {
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--text-main-color, #1F2D3D);
}

.page-terms-conditions__paragraph--final {
    text-align: center;
    margin-top: 40px;
    font-size: 1.1rem;
    font-weight: bold;
}

.page-terms-conditions__list {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: var(--text-main-color, #1F2D3D);
}

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

.page-terms-conditions__list-item::marker {
    color: var(--main-color, #2F6BFF); /* Use main color for list bullets */
}

.page-terms-conditions__content-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    margin: 25px 0;
    display: block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Minimum size for content images */
    min-height: 200px;
}

.page-terms-conditions__paragraph a,
.page-terms-conditions__list-item a {
    color: var(--main-color, #2F6BFF);
    text-decoration: underline;
    font-weight: bold;
}

.page-terms-conditions__paragraph a:hover,
.page-terms-conditions__list-item a:hover {
    color: var(--accent-color, #6FA3FF);
}

.page-terms-conditions__cta-button--bottom {
    margin-top: 30px;
    margin-bottom: 40px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-terms-conditions__hero-image {
        /* Ensure responsive for hero image on smaller screens */
        width: 100%;
        height: auto;
    }

    .page-terms-conditions__main-title {
        font-size: clamp(1.8rem, 5vw, 2.5rem); /* Use clamp for H1 on mobile */
    }

    .page-terms-conditions__description {
        font-size: 1rem;
    }

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

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

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

    .page-terms-conditions__content-image {
        max-width: 100%;
        height: auto;
    }
}