.page-terms-conditions {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light body background */
    background-color: #f8f8f8; /* A very light background to give some depth */
}

.page-terms-conditions__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* --- Hero Section --- */
.page-terms-conditions__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 40px;
    background-color: #ffffff;
    text-align: center;
    overflow: hidden;
}

.page-terms-conditions__hero-image {
    width: 100%;
    max-height: 500px; /* Limit height for aesthetic */
    overflow: hidden;
    margin-bottom: 30px;
}

.page-terms-conditions__hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Cover for desktop */
    aspect-ratio: 16/9; /* Maintain aspect ratio */
}

.page-terms-conditions__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size */
    color: #017439;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
}

.page-terms-conditions__hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    max-width: 800px;
    margin: 0 auto 30px;
    color: #555555;
}

.page-terms-conditions__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    width: 100%; /* Ensure container takes full width */
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-terms-conditions__btn-primary,
.page-terms-conditions__btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow long words to break */
    max-width: 100%; /* Ensure buttons don't overflow */
    box-sizing: border-box;
}

.page-terms-conditions__btn-primary {
    background-color: #B00707; /* Darker red for contrast with white text */
    color: #ffffff; /* White text for contrast */
    border: 2px solid #B00707;
}

.page-terms-conditions__btn-primary:hover {
    background-color: #9a0606;
    border-color: #9a0606;
}

.page-terms-conditions__btn-secondary {
    background-color: #ffffff;
    color: #333333; /* Dark grey text for contrast on white background */
    border: 2px solid #017439;
}

.page-terms-conditions__btn-secondary:hover {
    background-color: #017439;
    color: #ffffff;
}

/* Special button styles for dark background sections */
.page-terms-conditions__btn-primary--light {
    background-color: #ffffff;
    color: #333333; /* Dark grey text for contrast on white background */
    border: 2px solid #ffffff;
}
.page-terms-conditions__btn-primary--light:hover {
    background-color: #e0e0e0;
    border-color: #e0e0e0;
}
.page-terms-conditions__btn-secondary--light {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}
.page-terms-conditions__btn-secondary--light:hover {
    background-color: #ffffff;
    color: #017439;
}


/* --- Content Area --- */
.page-terms-conditions__content-area {
    padding: 60px 0;
    background-color: #ffffff;
}

.page-terms-conditions__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: #017439;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

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

.page-terms-conditions__text-block {
    max-width: 900px;
    margin: 0 auto 50px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-terms-conditions__text-block h3 {
    font-size: 1.5rem;
    color: #017439;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-terms-conditions__text-block p {
    margin-bottom: 15px;
    font-size: 1.05rem;
    color: #333333;
}

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

.page-terms-conditions__text-block ul li {
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.page-terms-conditions__text-block strong {
    color: #017439;
    font-weight: 700;
}

.page-terms-conditions__image-figure {
    margin: 30px auto;
    max-width: 800px;
    text-align: center;
}

.page-terms-conditions__image-figure img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

.page-terms-conditions__image-figure figcaption {
    margin-top: 15px;
    font-style: italic;
    color: #666666;
    font-size: 0.95rem;
}

/* --- FAQ Section --- */
.page-terms-conditions__faq-section {
    padding: 60px 0;
    background-color: #f0f0f0; /* Light background for FAQ */
}

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

details.page-terms-conditions__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
details.page-terms-conditions__faq-item summary.page-terms-conditions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
}
details.page-terms-conditions__faq-item summary.page-terms-conditions__faq-question::-webkit-details-marker {
    display: none;
}
details.page-terms-conditions__faq-item summary.page-terms-conditions__faq-question:hover {
    background: #f5f5f5;
}
.page-terms-conditions__faq-qtext {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: #333333;
}