.page-terms-conditions {
    font-family: Arial, sans-serif;
    color: #F2FFF6; /* Default text color for dark background */
    background-color: #08160F; /* Background color from custom scheme */
}

.page-terms-conditions__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    text-align: center;
    overflow: hidden;
    background: #08160F; /* Ensure dark background for hero */
}

.page-terms-conditions__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.page-terms-conditions__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4); /* Darken image for text readability */
}

.page-terms-conditions__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    color: #F2FFF6; /* Main text color for hero */
}

.page-terms-conditions__main-title {
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #F2FFF6; /* Main text color */
    margin-bottom: 20px;
    max-width: 100%; /* Ensure H1 doesn't overflow */
    font-size: clamp(2rem, 5vw, 3.5rem); /* Responsive font size for H1 */
}

.page-terms-conditions__description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #A7D9B8; /* Secondary text color */
}

.page-terms-conditions__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    width: 100%; /* Ensure container takes full width */
    max-width: 500px; /* Limit button group width */
    margin: 0 auto;
}

.page-terms-conditions__btn-primary,
.page-terms-conditions__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow word breaking */
    box-sizing: border-box;
    max-width: 100%;
}

.page-terms-conditions__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #ffffff;
    border: 2px solid transparent;
}

.page-terms-conditions__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    transform: translateY(-2px);
}

.page-terms-conditions__btn-secondary {
    background: #11271B; /* Card BG color */
    color: #2AD16F; /* Main brand color for text */
    border: 2px solid #2E7A4E; /* Border color */
}

.page-terms-conditions__btn-secondary:hover {
    background: #2E7A4E; /* Border color for hover */
    color: #ffffff;
    transform: translateY(-2px);
}

.page-terms-conditions__btn-centered {
    margin: 30px auto 0 auto; /* Center button below content */
    display: block; /* Make it a block element to center with margin auto */
    width: fit-content; /* Adjust width to content */
}

.page-terms-conditions__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: #08160F; /* Background color from custom scheme */
    color: #F2FFF6; /* Main text color for content */
}

.page-terms-conditions__container {
    max-width: 900px;
    margin: 0 auto;
}

.page-terms-conditions__section-title {
    font-size: 2.2rem;
    font-weight: bold;
    color: #F2FFF6; /* Main text color */
    margin-top: 40px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.page-terms-conditions__section-title--light {
    color: #F2FFF6;
}

.page-terms-conditions__text-block {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #A7D9B8; /* Secondary text color */
}

.page-terms-conditions__list {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: #A7D9B8; /* Secondary text color */
}

.page-terms-conditions__list-item {
    margin-bottom: 10px;
    line-height: 1.6;
    color: #A7D9B8; /* Secondary text color */
}

.page-terms-conditions__list-item strong {
    color: #F2FFF6; /* Main text color for strong */
}

.page-terms-conditions__content-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    object-fit: cover;
}

.page-terms-conditions__image-text-block {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
    background-color: #11271B; /* Card BG */
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #2E7A4E; /* Border color */
}

.page-terms-conditions__image-text-block .page-terms-conditions__text-block {
    margin-bottom: 0;
}

.page-terms-conditions__image-text-block .page-terms-conditions__content-image {
    margin-bottom: 0;
}

.page-terms-conditions a {
    color: #2AD16F;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-terms-conditions a:hover {
    color: #57E38D;
}

.page-terms-conditions__contact-info {
    background-color: #11271B; /* Card BG */
    padding: 25px;
    border-radius: 8px;
    margin-top: 30px;
    border: 1px solid #2E7A4E; /* Border color */
    color: #A7D9B8;
}

.page-terms-conditions__contact-info p {
    margin-bottom: 10px;
    line-height: 1.5;
}

.page-terms-conditions__contact-info strong {
    color: #F2FFF6;
}

.page-terms-conditions__faq-section {
    background-color: #0A4B2C; /* Deep Green for FAQ section */
    padding: 60px 20px;
    color: #F2FFF6;
}

.page-terms-conditions__faq-list {
    margin-top: 30px;
}

.page-terms-conditions__faq-item {
    background-color: #11271B; /* Card BG */
    border: 1px solid #2E7A4E; /* Border color */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #F2FFF6;
}

.page-terms-conditions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1rem;
    color: #F2FFF6;
    background-color: #11271B;
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

.page-terms-conditions__faq-question::-webkit-details-marker {
    display: none;
}

.page-terms-conditions__faq-question:hover {
    background-color: #1E3A2A; /* Divider color for hover */
}

.page-terms-conditions__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    color: #2AD16F;
    transition: transform 0.3s ease;
}

.page-terms-conditions__faq-item[open] .page-terms-conditions__faq-toggle {
    transform: rotate(45deg);
}

.page-terms-conditions__faq-answer {
    padding: 0 25px 20px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #A7D9B8; /* Secondary text color */
}

.page-terms-conditions__faq-answer p {
    margin-bottom: 0;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
    .page-terms-conditions__hero-content {
        padding: 15px;
    }
    .page-terms-conditions__main-title {
        font-size: clamp(1.8rem, 4.5vw, 3rem);
    }
    .page-terms-conditions__description {
        font-size: 1rem;
    }
    .page-terms-conditions__section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .page-terms-conditions {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-terms-conditions__hero-section {
        padding-bottom: 40px;
    }
    .page-terms-conditions__hero-content {
        padding: 10px;
    }
    .page-terms-conditions__main-title {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
        margin-bottom: 15px;
    }
    .page-terms-conditions__description {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }
    .page-terms-conditions__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .page-terms-conditions__btn-primary,
    .page-terms-conditions__btn-secondary {
        padding: 12px 20px;
        width: 100% !important; /* Force full width on mobile */
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-terms-conditions__content-area,
    .page-terms-conditions__faq-section {
        padding: 40px 15px;
    }
    .page-terms-conditions__container {
        padding: 0 5px;
    }
    .page-terms-conditions__section-title {
        font-size: 1.8rem;
        margin-top: 30px;
        margin-bottom: 15px;
    }
    .page-terms-conditions__text-block,
    .page-terms-conditions__list-item,
    .page-terms-conditions__faq-answer {
        font-size: 0.9rem;
    }
    .page-terms-conditions__list {
        margin-left: 20px;
    }
    .page-terms-conditions__faq-question {
        padding: 15px 20px;
        font-size: 1rem;
    }
    .page-terms-conditions__image-text-block {
        padding: 15px;
    }
    .page-terms-conditions__contact-info {
        padding: 20px;
    }

    /* Mobile image/video specific overrides */
    .page-terms-conditions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-terms-conditions__section,
    .page-terms-conditions__card,
    .page-terms-conditions__container,
    .page-terms-conditions__image-text-block,
    .page-terms-conditions__contact-info,
    .page-terms-conditions__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-terms-conditions__hero-section {
        padding-left: 0;
        padding-right: 0;
    }
    .page-terms-conditions__hero-content {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-terms-conditions__content-area {
        padding-left: 0;
        padding-right: 0;
    }
    .page-terms-conditions__faq-section {
        padding-left: 0;
        padding-right: 0;
    }
    .page-terms-conditions__video-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }
}