/* style/terms-conditions.css */
.page-terms-conditions {
    color: #333333; /* Dark text on light background */
    background-color: #FFFFFF;
    padding-top: var(--header-offset, 120px); /* Ensures content starts below fixed header */
    line-height: 1.6;
    font-family: Arial, sans-serif;
}

.page-terms-conditions__hero-section {
    position: relative;
    text-align: center;
    padding: 80px 20px;
    background-color: #000000; /* Dark background for hero */
    color: #FFFFFF;
    overflow: hidden;
}

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

.page-terms-conditions__hero-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #FCBC45; /* Login color for emphasis */
    line-height: 1.2;
}

.page-terms-conditions__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-terms-conditions__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle background image */
    z-index: 1;
}

.page-terms-conditions__content-area {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: #FFFFFF;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
}

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

.page-terms-conditions__section-title {
    font-size: 2em;
    color: #000000;
    margin-top: 40px;
    margin-bottom: 15px;
    border-bottom: 2px solid #FCBC45;
    padding-bottom: 10px;
}

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

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

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

.page-terms-conditions__link {
    color: #FCBC45;
    text-decoration: none;
    font-weight: bold;
}

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

.page-terms-conditions__cta-section {
    text-align: center;
    padding: 50px 20px;
    background-color: #000000; /* Main color for CTA background */
    color: #FFFFFF;
    border-radius: 8px;
    margin-top: 50px;
}

.page-terms-conditions__cta-text {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-terms-conditions__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-terms-conditions__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease;
    min-width: 180px; /* Ensure buttons are not too small */
    text-align: center;
}

.page-terms-conditions__button--register {
    background-color: #FFFFFF; /* Register color */
    color: #000000; /* Text color for register button */
    border: 2px solid #FFFFFF;
}

.page-terms-conditions__button--register:hover {
    background-color: #f0f0f0;
    color: #000000;
}

.page-terms-conditions__button--login {
    background-color: #FCBC45; /* Login color */
    color: #000000; /* Text color for login button */
    border: 2px solid #FCBC45;
}

.page-terms-conditions__button--login:hover {
    background-color: #e0a53b;
    color: #000000;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-terms-conditions__hero-title {
        font-size: 2em;
    }

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

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

    .page-terms-conditions__paragraph,
    .page-terms-conditions__list-item {
        font-size: 0.95em;
    }

    .page-terms-conditions__content-area {
        padding: 20px 15px;
    }

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

    .page-terms-conditions__cta-text {
        font-size: 1.1em;
    }

    .page-terms-conditions__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-terms-conditions__button {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    /* Images in content area must be responsive */
    .page-terms-conditions img {
        max-width: 100%;
        height: auto;
        display: block;
    }
}

/* Ensure content images are not too small */
.page-terms-conditions__article img {
    min-width: 200px;
    min-height: 200px;
    object-fit: cover;
    margin: 20px auto;
    display: block;
    border-radius: 8px;
}

/* Specific image rules for content images, ensuring they are not too small */
.page-terms-conditions__content-area img {
    width: 100%; /* Default to full width of container */
    height: auto;
    min-width: 200px; /* Enforce minimum display size */
    min-height: 200px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .page-terms-conditions__content-area img {
        max-width: 100%;
        height: auto;
    }
}