/* style/terms-conditions.css */

.page-terms-conditions {
    color: #333333; /* Dark text for light body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-terms-conditions__hero-section {
    background-color: #1A1A1A; /* Dark background for hero */
    color: #ffffff; /* Light text for dark background */
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden; /* Ensure image doesn't overflow */
}

.page-terms-conditions__hero-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.page-terms-conditions__hero-title {
    font-size: 2.8em;
    color: #FFD700; /* Golden accent for title */
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-terms-conditions__hero-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #f0f0f0;
}

.page-terms-conditions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 40px;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px; /* Ensure minimum size */
    filter: none; /* Explicitly ensure no filters */
}

.page-terms-conditions__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: #ffffff; /* Explicit white background for content */
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-top: -60px; /* Overlap with hero for visual flow */
    position: relative;
    z-index: 2;
}

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

.page-terms-conditions__article {
    margin-bottom: 40px;
}

.page-terms-conditions__section-title {
    font-size: 2em;
    color: #1A1A1A; /* Dark text for section titles */
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid #FFD700; /* Golden underline */
    padding-bottom: 10px;
}

.page-terms-conditions__sub-section-title {
    font-size: 1.5em;
    color: #1A1A1A; /* Dark text for sub-section titles */
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-terms-conditions__paragraph {
    margin-bottom: 15px;
    color: #444444;
}

.page-terms-conditions__list {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: #555555;
}

.page-terms-conditions__list-item {
    margin-bottom: 8px;
}

.page-terms-conditions__content-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px; /* Ensure minimum size */
    filter: none; /* Explicitly ensure no filters */
}

/* Call to Action Section */
.page-terms-conditions__cta-section {
    background-color: #1A1A1A; /* Dark background for CTA */
    color: #ffffff; /* Light text for dark background */
    padding: 50px 20px;
    text-align: center;
    border-radius: 8px;
    margin-top: 40px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-terms-conditions__cta-title {
    font-size: 2.2em;
    color: #FFD700; /* Golden accent */
    margin-bottom: 20px;
}

.page-terms-conditions__cta-description {
    font-size: 1.1em;
    max-width: 700px;
    margin: 0 auto 30px;
    color: #f0f0f0;
}

.page-terms-conditions__cta-button {
    display: inline-block;
    background-color: #FFD700; /* Golden button */
    color: #1A1A1A; /* Dark text on golden button */
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-terms-conditions__cta-button:hover {
    background-color: #e6c200; /* Slightly darker gold on hover */
    transform: translateY(-2px);
}

.page-terms-conditions__cta-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 40px auto 0;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px; /* Ensure minimum size */
    filter: none; /* Explicitly ensure no filters */
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-terms-conditions {
        padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
    }

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

    .page-terms-conditions__hero-title {
        font-size: 2em;
    }

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

    .page-terms-conditions__content-area {
        padding: 20px 15px;
        margin-top: -30px; /* Adjust overlap */
    }

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

    .page-terms-conditions__sub-section-title {
        font-size: 1.3em;
    }

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

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

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

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

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

@media (max-width: 480px) {
    .page-terms-conditions__hero-title {
        font-size: 1.8em;
    }
    .page-terms-conditions__section-title {
        font-size: 1.5em;
    }
    .page-terms-conditions__cta-title {
        font-size: 1.6em;
    }
}

/* Ensure content area images are not too small */
.page-terms-conditions__content-area img {
    min-width: 200px;
    min-height: 200px;
}

/* Ensure images within the main content area are not smaller than 200px, regardless of class */
.page-terms-conditions img {
    min-width: 200px;
    min-height: 200px;
    /* For responsive behavior, also ensure max-width: 100% in mobile media query */
}