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

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

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

.page-terms-conditions__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FCBC45; /* Using login button color for emphasis */
}

.page-terms-conditions__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    opacity: 0.9;
}

.page-terms-conditions__hero-cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.page-terms-conditions__cta-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;
    border: 2px solid transparent;
}

.page-terms-conditions__cta-button--register {
    background-color: #FFFFFF; /* Register button color */
    color: #000000;
    border-color: #FFFFFF;
}

.page-terms-conditions__cta-button--register:hover {
    background-color: #FCBC45;
    color: #000000;
    border-color: #FCBC45;
}

.page-terms-conditions__cta-button--login {
    background-color: #FCBC45; /* Login button color */
    color: #000000;
    border-color: #FCBC45;
}

.page-terms-conditions__cta-button--login:hover {
    background-color: #FFFFFF;
    color: #000000;
    border-color: #FFFFFF;
}

.page-terms-conditions__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.page-terms-conditions__article {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-terms-conditions__main-image,
.page-terms-conditions__content-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px 0;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px; /* Enforce min width */
    min-height: 200px; /* Enforce min height */
}

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

.page-terms-conditions__subsection-title {
    font-size: 1.5em;
    color: #333333;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-terms-conditions__paragraph {
    margin-bottom: 15px;
    font-size: 1.05em;
    line-height: 1.8;
    color: #444444;
}

.page-terms-conditions__list {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 15px;
    color: #444444;
}

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

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

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

.page-terms-conditions__call-to-action {
    background-color: #000000; /* Dark background */
    color: #ffffff; /* White text */
    padding: 60px 20px;
    text-align: center;
    margin-top: 40px;
}

.page-terms-conditions__cta-container {
    max-width: 800px;
    margin: 0 auto;
}

.page-terms-conditions__cta-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #FCBC45;
}

.page-terms-conditions__cta-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* 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-title {
        font-size: 2.2em;
    }

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

    .page-terms-conditions__hero-cta-group {
        flex-direction: column;
        gap: 15px;
    }

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

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

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

    .page-terms-conditions__section-title {
        font-size: 1.7em;
        margin-top: 30px;
        margin-bottom: 15px;
    }

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

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

    .page-terms-conditions__main-image,
    .page-terms-conditions__content-image {
        max-width: 100%; /* Ensure images don't overflow */
        height: auto;
        margin: 20px 0;
        min-width: 200px; /* Still enforce min width on mobile */
        min-height: 200px; /* Still enforce min height on mobile */
    }

    .page-terms-conditions__call-to-action {
        padding: 40px 15px;
    }

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

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

/* Ensure no image filters are used */
.page-terms-conditions img {
    filter: none;
}