.page-terms-conditions {
    background-color: #B71C1C; /* Background */
    color: #FFF5E1; /* Text Main */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 40px; /* Add some bottom padding */
}

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

/* Hero Section */
.page-terms-conditions__hero-section {
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
    padding-top: 10px; /* Small top padding */
    display: flex;
    flex-direction: column;
    align-items: center; /* Center content horizontally */
    text-align: center;
}

.page-terms-conditions__hero-image-wrapper {
    width: 100%;
    position: relative;
    z-index: 1;
}

.page-terms-conditions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions__hero-content {
    position: relative; /* Ensure it's above the image if needed, but not overlapping */
    z-index: 2;
    padding: 30px 20px;
    max-width: 900px;
    margin-top: 20px; /* Space between image and content */
    background-color: #D32F2F; /* Card BG */
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    border: 1px solid #F2B544; /* Border */
}

.page-terms-conditions__main-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem); /* Responsive font size for H1 */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #F4D34D; /* Gold */
    text-shadow: 0 0 10px #FFCC66; /* Glow */
}

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

.page-terms-conditions__hero-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-terms-conditions__button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 150px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: none;
}

.page-terms-conditions__button--primary {
    background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button */
    color: #7A0E0E; /* Deep Red for contrast */
}

.page-terms-conditions__button--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

.page-terms-conditions__button--secondary {
    background-color: #E53935; /* Accent color */
    color: #FFF5E1; /* Text Main */
    border: 1px solid #F2B544; /* Border */
}

.page-terms-conditions__button--secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    background-color: #C91F17; /* Main color */
}

/* Content Section */
.page-terms-conditions__content-section {
    padding: 20px 0;
}

.page-terms-conditions__article {
    background-color: #D32F2F; /* Card BG */
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #F2B544; /* Border */
}

.page-terms-conditions__section-title {
    font-size: 2rem;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #F4D34D; /* Gold */
    text-shadow: 0 0 8px #FFCC66; /* Glow */
}

.page-terms-conditions__section-title:first-of-type {
    margin-top: 0;
}

.page-terms-conditions__sub-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 10px;
    color: #F4D34D; /* Gold */
}

.page-terms-conditions__article p {
    margin-bottom: 15px;
    color: #FFF5E1; /* Text Main */
}

.page-terms-conditions__link {
    color: #FFD86A; /* Lighter gold for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-terms-conditions__link:hover {
    color: #E6B800; /* Darker gold on hover */
    text-decoration: underline;
}

.page-terms-conditions__image-text-block {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 40px 0;
    background-color: #C91F17; /* Main color for sub-sections */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid #E53935; /* Accent color border */
}

.page-terms-conditions__image-text-block--right .page-terms-conditions__content-image {
    order: 2;
}

.page-terms-conditions__image-text-block--right .page-terms-conditions__text-content {
    order: 1;
}

.page-terms-conditions__content-image {
    max-width: 50%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-terms-conditions__text-content {
    flex: 1;
}

.page-terms-conditions__contact-actions {
    margin-top: 30px;
    text-align: center;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .page-terms-conditions__hero-content {
        padding: 20px 15px;
    }

    .page-terms-conditions__main-title {
        font-size: 1.8rem;
    }

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

    .page-terms-conditions__hero-actions {
        flex-direction: column;
        gap: 10px;
    }

    .page-terms-conditions__button {
        width: 100%;
        max-width: 250px;
    }

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

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

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

    .page-terms-conditions__image-text-block {
        flex-direction: column;
        gap: 20px;
        margin: 30px 0;
        padding: 15px;
    }

    .page-terms-conditions__image-text-block--right .page-terms-conditions__content-image {
        order: initial; /* Reset order for mobile */
    }
    .page-terms-conditions__image-text-block--right .page-terms-conditions__text-content {
        order: initial; /* Reset order for mobile */
    }

    .page-terms-conditions__content-image {
        max-width: 100%; /* Ensure images don't overflow */
        height: auto;
    }

    /* Crucial mobile image overflow fix */
    .page-terms-conditions img {
        max-width: 100%;
        height: auto;
    }
}

/* Ensure content area images are at least 200px wide, except for mobile */
.page-terms-conditions__content-image {
    min-width: 200px;
    min-height: 200px;
}

/* Override min-width for mobile images to prevent overflow */
@media (max-width: 768px) {
    .page-terms-conditions__content-image {
        min-width: unset; /* Remove min-width on mobile */
        min-height: unset; /* Remove min-height on mobile */
    }
}