.page-terms-conditions {
    background-color: #0d0d0d;
    color: #f5f5f5;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: 10px; /* Small top padding for first section */
}

.page-terms-conditions__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px 0 40px;
    overflow: hidden;
    background-color: #1A2E44;
}

.page-terms-conditions__hero-image {
    width: 100%;
    height: auto;
    max-width: 1920px;
    display: block;
    object-fit: cover;
}

.page-terms-conditions__hero-content {
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
    z-index: 1; /* Ensure content is above image if any complex layering */
    color: #f5f5f5;
}

.page-terms-conditions__main-title {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #FFD700;
    margin-bottom: 20px;
    max-width: 100%;
    /* No fixed font-size for H1, relying on weight and other properties */
}

.page-terms-conditions__intro-text {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #e5e5e5;
}

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

.page-terms-conditions__content-section {
    padding: 50px 0;
    background-color: #0d0d0d;
}

.page-terms-conditions__article {
    background-color: #1A2E44;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions__section-title {
    color: #FFD700;
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

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

.page-terms-conditions__paragraph {
    margin-bottom: 20px;
    color: #e5e5e5;
}

.page-terms-conditions__link {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-terms-conditions__link:hover {
    color: #fce883;
    text-decoration: underline;
}

.page-terms-conditions__cta-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: #0d0d0d;
    padding: 40px;
    border-radius: 8px;
    margin-top: 50px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-terms-conditions__cta-image {
    width: 100%;
    height: auto;
    max-width: 800px;
    border-radius: 8px;
    margin-bottom: 25px;
    object-fit: cover;
}

.page-terms-conditions__cta-content {
    max-width: 600px;
}

.page-terms-conditions__cta-title {
    color: #FFD700;
    font-size: 2em;
    margin-bottom: 15px;
}

.page-terms-conditions__cta-description {
    color: #e5e5e5;
    font-size: 1.1em;
    margin-bottom: 30px;
}

.page-terms-conditions__cta-button {
    display: inline-block;
    background-color: #FFD700;
    color: #1A2E44;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.page-terms-conditions__cta-button:hover {
    background-color: #fce883;
    transform: translateY(-2px);
}

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

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

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

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

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

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

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

    .page-terms-conditions__paragraph {
        font-size: 0.95em;
        margin-bottom: 15px;
    }

    .page-terms-conditions__cta-wrapper {
        padding: 30px;
        margin-top: 40px;
    }

    .page-terms-conditions__cta-title {
        font-size: 1.6em;
    }

    .page-terms-conditions__cta-description {
        font-size: 1em;
        margin-bottom: 25px;
    }

    .page-terms-conditions__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }

    /* Mobile image overflow prevention */
    .page-terms-conditions__hero-image,
    .page-terms-conditions__cta-image {
        max-width: 100%;
        height: auto;
    }

    /* Ensure all images within .page-terms-conditions are responsive */
    .page-terms-conditions img {
        max-width: 100%;
        height: auto;
    }
}