.page-terms-conditions {
    background-color: #0D0E12; /* Background */
    color: #FFF3E6; /* Text Main */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-terms-conditions__hero-section {
    position: relative;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 0 40px; /* Small top padding, larger bottom padding */
    overflow: hidden; /* Ensure content doesn't overflow */
}

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

.page-terms-conditions__hero-content {
    max-width: 900px;
    padding: 0 20px;
}

.page-terms-conditions__main-title {
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #FF8C1A; /* Main color for emphasis */
    margin-bottom: 15px;
    /* No fixed font-size for h1, rely on responsiveness and font-weight */
}

.page-terms-conditions__description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #FFF3E6; /* Text Main */
}

.page-terms-conditions__cta-button,
.page-terms-conditions__contact-button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button gradient */
    color: #FFF3E6; /* Text Main */
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1em;
}

.page-terms-conditions__cta-button:hover,
.page-terms-conditions__contact-button:hover {
    background: linear-gradient(180deg, #FFB04D 0%, #FF8C1A 100%); /* Slightly brighter on hover */
}

.page-terms-conditions__content-section {
    padding: 40px 0;
    background-color: #0D0E12; /* Background */
}

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

.page-terms-conditions__section-title {
    font-size: 2.2em;
    color: #FF8C1A; /* Main color */
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-terms-conditions__subsection-title {
    font-size: 1.6em;
    color: #FFA53A; /* Auxiliary color */
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-terms-conditions__text {
    font-size: 1em;
    margin-bottom: 15px;
    color: #FFF3E6; /* Text Main */
}

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

.page-terms-conditions__list-item {
    margin-bottom: 8px;
    font-size: 0.95em;
}

.page-terms-conditions__content-image {
    width: 100%;
    height: auto;
    max-width: 800px; /* Recommended max-width for content images */
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    /* No filter property to change color */
}

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

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

    .page-terms-conditions__main-title {
        font-size: 2em; /* Adjust h1 for mobile, still not fixed */
    }

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

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

    .page-terms-conditions__subsection-title {
        font-size: 1.4em;
    }

    .page-terms-conditions__cta-button,
    .page-terms-conditions__contact-button {
        padding: 10px 20px;
        font-size: 0.9em;
    }

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

    /* Ensure content area doesn't cause horizontal scroll */
    .page-terms-conditions__container {
        overflow-x: hidden;
    }
}

@media (max-width: 480px) {
    .page-terms-conditions__main-title {
        font-size: 1.8em;
    }

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

    .page-terms-conditions__subsection-title {
        font-size: 1.2em;
    }

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

/* Ensure content area images are not smaller than 200px */
/* This rule targets any img within .page-terms-conditions__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 */
}

/* Override for responsive behavior to prevent images from becoming too small on small screens */
@media (max-width: 768px) {
    .page-terms-conditions__content-section img {
        width: 100%; /* Allow image to fill container */
        height: auto;
        min-width: unset; /* Remove min-width constraint for full responsiveness */
        min-height: unset; /* Remove min-height constraint for full responsiveness */
    }
}