.page-terms-conditions {
    background-color: #0A0A0A; /* Background color */
    color: #FFF6D6; /* Main text color */
    padding-bottom: 40px;
}

.page-terms-conditions__hero-section {
    display: flex;
    flex-direction: column; /* Image above text for mobile, and general structure */
    align-items: center;
    padding-top: 10px; /* Small top padding */
    padding-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.page-terms-conditions__hero-image-wrapper {
    width: 100%;
    max-width: 100%; /* Ensure image wrapper is full width */
    margin-bottom: 20px; /* Space between image and content */
}

.page-terms-conditions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-terms-conditions__hero-content {
    text-align: center;
    padding: 0 20px;
    max-width: 900px;
    width: 100%;
    box-sizing: border-box;
}

.page-terms-conditions__main-title {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #FFF6D6; /* Text Main */
    margin-bottom: 15px;
    font-size: clamp(2rem, 5vw, 3.5rem); /* Example clamp for responsiveness */
}

.page-terms-conditions__intro-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #FFF6D6; /* Text Main */
    margin-bottom: 30px;
}

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

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

.page-terms-conditions__section-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #F2C14E; /* Main color */
    margin-top: 35px;
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-terms-conditions__content-section p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 15px;
    color: #FFF6D6; /* Text Main */
}

.page-terms-conditions__content-section ul {
    list-style: disc;
    padding-left: 25px;
    margin-bottom: 20px;
    color: #FFF6D6; /* Text Main */
}

.page-terms-conditions__content-section li {
    margin-bottom: 8px;
    line-height: 1.6;
    color: #FFF6D6; /* Text Main */
}

.page-terms-conditions__image {
    width: 100%;
    height: auto;
    display: block;
    margin: 25px 0;
    border-radius: 8px;
    object-fit: cover;
    object-position: center;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

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

.page-terms-conditions__cta-button {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
    color: #111111; /* Dark text for contrast */
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    min-height: 44px; /* Touch target size */
    box-sizing: border-box;
}

.page-terms-conditions__cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(255, 211, 107, 0.3); /* Glow color */
}

/* Responsive adjustments */
@media (max-width: 849px) {
    .page-terms-conditions__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }

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

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

    .page-terms-conditions__content-section p,
    .page-terms-conditions__content-section li {
        font-size: 0.95rem;
    }

    .page-terms-conditions__cta-button {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .page-terms-conditions__hero-image,
    .page-terms-conditions__image {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 549px) {
    .page-terms-conditions__container {
        padding: 0 15px;
    }

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

    .page-terms-conditions__main-title {
        font-size: clamp(1.6rem, 8vw, 2rem);
    }

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

/* Ensure content images are not smaller than 200px on desktop */
.page-terms-conditions__content-section img {
    min-width: 200px;
    min-height: 200px;
    width: 100%; /* Allow it to scale up to container width */
    max-width: 100%; /* Prevent overflow */
    height: auto;
}