.page-terms-conditions {
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    background-color: #F4F7FB; /* Background color */
    color: #1F2D3D; /* Main text color */
}

.page-terms-conditions__hero-section {
    width: 100%;
    text-align: center;
    margin-bottom: 40px; /* Space after hero section */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-terms-conditions__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Limit height of hero image */
    overflow: hidden;
    border-radius: 0 0 10px 10px; /* Rounded bottom corners for the image wrapper */
    margin-bottom: 20px; /* Space between image and content */
}

.page-terms-conditions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-height: 200px; /* Ensure min height */
    max-height: 500px; /* Matches wrapper max-height */
}

.page-terms-conditions__hero-content {
    max-width: 1200px;
    padding: 40px 20px;
    background-color: #FFFFFF; /* Card BG */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 1;
    margin: 0 20px; /* Center with horizontal margin */
}

.page-terms-conditions__main-title {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #000000; /* Custom Color_1776249996415 */
    max-width: 800px;
    margin: 0 auto 15px;
    padding-top: 0; /* No extra padding-top here as content has padding */
}

.page-terms-conditions__description {
    font-size: 1.1em;
    line-height: 1.6;
    max-width: 900px;
    margin: 0 auto 30px;
    color: #1F2D3D; /* Text Main */
}

.page-terms-conditions__content-section {
    padding: 20px 0 60px;
    background-color: #FFFFFF; /* Card BG */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin: 0 auto 40px;
    max-width: 1200px; /* Max width for content section */
}

.page-terms-conditions__container {
    max-width: 1000px; /* Inner content max width */
    margin: 0 auto;
    padding: 0 20px;
}

.page-terms-conditions__heading {
    font-size: 2.2em;
    font-weight: 600;
    color: #2F6BFF; /* Primary color */
    margin-top: 40px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.page-terms-conditions__sub-heading {
    font-size: 1.6em;
    font-weight: 500;
    color: #000000; /* Custom Color_1776249996415 */
    margin-top: 30px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.page-terms-conditions__paragraph {
    font-size: 1em;
    line-height: 1.7;
    margin-bottom: 15px;
    color: #1F2D3D; /* Text Main */
}

.page-terms-conditions__paragraph a {
    color: #2F6BFF; /* Primary color for links */
    text-decoration: none;
    font-weight: 500;
}

.page-terms-conditions__paragraph a:hover {
    text-decoration: underline;
    color: #6FA3FF; /* Auxiliary color on hover */
}

.page-terms-conditions__list {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    padding-left: 0;
}

.page-terms-conditions__list-item {
    font-size: 1em;
    line-height: 1.7;
    margin-bottom: 8px;
    color: #1F2D3D; /* Text Main */
}

.page-terms-conditions__content-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    min-width: 200px; /* Min size requirement */
    min-height: 200px; /* Min size requirement */
}

.page-terms-conditions__cta-section {
    text-align: center;
    margin-top: 50px;
    padding: 30px;
    background-color: #F4F7FB; /* Background color */
    border-radius: 10px;
    border: 1px solid #D6E2FF; /* Border color */
}

.page-terms-conditions__cta-text {
    font-size: 1.2em;
    font-weight: 500;
    margin-bottom: 25px;
    color: #000000; /* Custom Color_1776249996415 */
}

.page-terms-conditions__cta-button {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.3s ease;
    margin: 0 10px 15px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
    color: #FFFFFF;
    border: none;
    cursor: pointer;
}

.page-terms-conditions__cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(47, 107, 255, 0.3);
}

.page-terms-conditions__cta-button--secondary {
    background: #FFFFFF;
    color: #2F6BFF; /* Primary color */
    border: 1px solid #2F6BFF;
}

.page-terms-conditions__cta-button--secondary:hover {
    background: #F4F7FB;
    color: #1F2D3D; /* Text Main */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-terms-conditions__hero-content {
        padding: 30px 15px;
    }
    .page-terms-conditions__main-title {
        font-size: 2.5em;
    }
    .page-terms-conditions__heading {
        font-size: 1.8em;
    }
    .page-terms-conditions__sub-heading {
        font-size: 1.4em;
    }
}

@media (max-width: 768px) {
    .page-terms-conditions {
        padding-top: 10px; /* Ensure small padding */
    }
    .page-terms-conditions__hero-image-wrapper {
        max-height: 300px;
    }
    .page-terms-conditions__hero-content {
        padding: 20px 10px;
        margin: 0 10px;
    }
    .page-terms-conditions__main-title {
        font-size: clamp(1.8em, 6vw, 2.2em); /* Using clamp for H1 */
    }
    .page-terms-conditions__description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-terms-conditions__content-section {
        margin: 0 auto 30px;
        padding: 15px 0 40px;
    }
    .page-terms-conditions__container {
        padding: 0 15px;
    }
    .page-terms-conditions__heading {
        font-size: 1.6em;
        margin-top: 30px;
        margin-bottom: 15px;
    }
    .page-terms-conditions__sub-heading {
        font-size: 1.2em;
        margin-top: 25px;
        margin-bottom: 10px;
    }
    .page-terms-conditions__paragraph,
    .page-terms-conditions__list-item {
        font-size: 0.95em;
    }
    .page-terms-conditions__content-image {
        max-width: 100% !important; /* Ensure images don't overflow */
        height: auto !important;
        min-width: 200px; /* Maintain minimum size for content images */
        min-height: 200px; /* Maintain minimum size for content images */
    }
    .page-terms-conditions__cta-button {
        padding: 12px 25px;
        font-size: 1em;
        margin: 0 5px 10px;
    }
    .page-terms-conditions__cta-section {
        padding: 20px;
    }
    .page-terms-conditions__cta-text {
        font-size: 1.1em;
        margin-bottom: 20px;
    }
}

/* Ensure content area images maintain minimum size and are responsive */
@media (max-width: 768px) {
    .page-terms-conditions__content-section img {
        min-width: 200px;
        min-height: 200px;
    }
}