.page-terms-conditions {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: var(--background-color, #FFFFFF); /* Inherit from shared or default to white */
}

.page-terms-conditions__top-section {
    padding-top: 10px; /* Small top padding, body padding-top handles header offset */
    padding-bottom: 40px;
    background-color: #f8f9fa; /* Light background for the top section */
    text-align: center;
}

.page-terms-conditions__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-terms-conditions__main-title {
    font-size: clamp(28px, 4vw, 42px); /* Responsive H1 font size */
    color: #26A9E0; /* Brand color for main title */
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
}

.page-terms-conditions__description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #555555;
}

.page-terms-conditions__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.page-terms-conditions__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-terms-conditions__btn--primary {
    background-color: #26A9E0; /* Main brand color */
    color: #FFFFFF;
    border: 2px solid #26A9E0;
}

.page-terms-conditions__btn--primary:hover {
    background-color: #1e87c2;
    border-color: #1e87c2;
}

.page-terms-conditions__btn--secondary {
    background-color: #FFFFFF;
    color: #26A9E0; /* Main brand color */
    border: 2px solid #26A9E0;
}

.page-terms-conditions__btn--secondary:hover {
    background-color: #f0f8ff;
    color: #1e87c2;
    border-color: #1e87c2;
}

.page-terms-conditions__article-wrap {
    max-width: 1000px; /* Wider for content */
    margin: 40px auto;
    padding: 0 20px;
    background-color: #FFFFFF; /* Ensure white background for main content */
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.05);
}

.page-terms-conditions__section {
    padding: 30px 0;
    border-bottom: 1px dashed #e0e0e0;
}

.page-terms-conditions__section:last-of-type {
    border-bottom: none;
}

.page-terms-conditions__section-title {
    font-size: 2em;
    color: #26A9E0; /* Brand color for section titles */
    margin-bottom: 20px;
    font-weight: bold;
}

.page-terms-conditions__sub-title {
    font-size: 1.4em;
    color: #333333;
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-terms-conditions p {
    margin-bottom: 15px;
    color: #555555;
}

.page-terms-conditions ul {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 15px;
    color: #555555;
}

.page-terms-conditions ul li {
    margin-bottom: 8px;
}

.page-terms-conditions__figure {
    margin: 30px 0;
    text-align: center;
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-terms-conditions__image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 5px;
    margin: 0 auto;
}

.page-terms-conditions__figcaption {
    font-style: italic;
    font-size: 0.9em;
    color: #777777;
    margin-top: 10px;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 1024px) {
    .page-terms-conditions__main-title {
        font-size: clamp(26px, 5vw, 38px);
    }
    .page-terms-conditions__section-title {
        font-size: 1.8em;
    }
    .page-terms-conditions__sub-title {
        font-size: 1.3em;
    }
    .page-terms-conditions__article-wrap {
        margin: 30px auto;
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    /* 1. Top Section Title + Dual CTA */
    .page-terms-conditions__top-section {
        padding-top: 10px !important; /* Small top padding */
        padding-bottom: 30px;
    }

    .page-terms-conditions__main-title {
        font-size: clamp(24px, 7vw, 32px) !important; /* Smaller H1 for mobile */
        margin-bottom: 10px;
    }

    .page-terms-conditions__description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-terms-conditions__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px;
        margin-top: 20px;
        padding: 0 15px; /* Add padding to button container */
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }

    .page-terms-conditions__btn {
        width: 100% !important; /* Full width buttons */
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 10px 15px !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* 2. Single Column Long-form Content Container */
    .page-terms-conditions__article-wrap {
        margin: 20px auto;
        padding: 0 15px; /* Adjust padding for mobile */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        box-shadow: none; /* Remove shadow for cleaner mobile look */
    }

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

    .page-terms-conditions__section-title {
        font-size: 1.5em !important;
        margin-bottom: 15px;
    }

    .page-terms-conditions__sub-title {
        font-size: 1.2em !important;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .page-terms-conditions p,
    .page-terms-conditions ul li {
        font-size: 0.95em;
    }

    /* 3. General Images and Figures */
    .page-terms-conditions__figure {
        margin: 20px 0;
        padding: 10px;
        box-shadow: none; /* Remove shadow */
    }

    .page-terms-conditions__image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-terms-conditions__figcaption {
        font-size: 0.85em;
    }

    /* 4. Buttons and Button Containers (general, already covered by CTA but for robustness) */
    .page-terms-conditions a[class*="btn"],
    .page-terms-conditions a[class*="button"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* 5. Registration Tutorial and FAQ Blocks (placeholder for compliance) */
    /* As this is a T&C page, specific interactive FAQ or tutorial blocks are not expected. */
    /* General text and list styling for h3 sections are covered by .page-terms-conditions p, ul, li. */
}