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

.page-terms-conditions__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #1A202C;
    color: #ffffff;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

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

.page-terms-conditions__hero-overlay {
    position: relative;
    z-index: 2;
    padding: 60px 20px;
    max-width: 900px;
    margin: 0 auto;
    background: rgba(26, 32, 44, 0.7);
    border-radius: 10px;
}

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

.page-terms-conditions__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-terms-conditions__hero-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    min-width: 200px;
    text-align: center;
}

.page-terms-conditions__hero-button--primary {
    background-color: #FFD700;
    color: #1A202C;
    border: 2px solid #FFD700;
}

.page-terms-conditions__hero-button--primary:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

.page-terms-conditions__hero-button--secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.page-terms-conditions__hero-button--secondary:hover {
    background-color: #FFD700;
    color: #1A202C;
    transform: translateY(-2px);
}

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

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

.page-terms-conditions__section-title {
    font-size: 2.2em;
    color: #1A202C;
    margin-bottom: 25px;
    border-bottom: 3px solid #FFD700;
    padding-bottom: 10px;
    font-weight: 700;
}

.page-terms-conditions__sub-title {
    font-size: 1.6em;
    color: #1A202C;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-terms-conditions__paragraph {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: #333333;
}

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

.page-terms-conditions__list-item {
    font-size: 1.05em;
    margin-bottom: 8px;
    color: #333333;
}

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

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

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

.page-terms-conditions__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px;
    object-fit: cover;
}

.page-terms-conditions__button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 20px;
    min-width: 180px;
    text-align: center;
}

.page-terms-conditions__button--accent {
    background-color: #FFD700;
    color: #1A202C;
    border: 2px solid #FFD700;
}

.page-terms-conditions__button--accent:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

.page-terms-conditions__button--primary {
    background-color: #FFD700;
    color: #1A202C;
    border: 2px solid #FFD700;
}

.page-terms-conditions__button--primary:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

.page-terms-conditions__cta {
    background-color: #1A202C;
    color: #ffffff;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    margin-top: 40px;
}

.page-terms-conditions__cta-title {
    font-size: 2em;
    color: #FFD700;
    margin-bottom: 15px;
}

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

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

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

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

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

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

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

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

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

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

    .page-terms-conditions__image {
        max-width: 100%;
        height: auto; /* Ensure images scale correctly */
    }

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

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

    /* Ensure all images within .page-terms-conditions are responsive and do not overflow */
    .page-terms-conditions img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-terms-conditions__hero-section {
        min-height: 300px;
        padding: 40px 15px;
    }

    .page-terms-conditions__hero-overlay {
        padding: 30px 15px;
    }

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

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

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