.page-terms-conditions {
    font-family: 'Arial', sans-serif;
    color: #FFF3E6; /* Light text for dark body background */
    background: #0D0E12; /* Explicitly set for main content area if needed, though body handles it */
}

.page-terms-conditions__hero-section {
    position: relative;
    padding-bottom: 40px; /* Small top padding for hero section, body handles header offset */
    background: linear-gradient(180deg, #17191F 0%, #0D0E12 100%); /* Card BG to background */
    text-align: center;
    overflow: hidden;
}

.page-terms-conditions__hero-image-wrapper {
    width: 100%;
    max-height: 675px; /* Limit height */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-terms-conditions__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.page-terms-conditions__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px 20px;
    position: relative;
    z-index: 1;
}

.page-terms-conditions__main-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #FFA53A; /* Use accent color for title */
}

.page-terms-conditions__description {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #FFF3E6;
}

.page-terms-conditions__btn-primary {
    display: inline-block;
    padding: 14px 30px;
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-terms-conditions__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 165, 58, 0.4);
}

.page-terms-conditions__content-section {
    padding: 60px 0;
    background: #0D0E12; /* Ensure consistent background */
    color: #FFF3E6; /* Light text */
}

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

.page-terms-conditions__section-title {
    font-size: 32px;
    font-weight: 700;
    color: #FF8C1A; /* Main brand color for section titles */
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid #A84F0C; /* Border color */
    padding-bottom: 10px;
}

.page-terms-conditions p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #FFF3E6;
}

.page-terms-conditions a {
    color: #FFA53A; /* Link color */
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-terms-conditions a:hover {
    color: #FFB04D; /* Glow color on hover */
}

.page-terms-conditions__list {
    list-style: disc;
    padding-left: 40px;
    margin-bottom: 20px;
    color: #FFF3E6;
}

.page-terms-conditions__list li {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 10px;
    color: #FFF3E6;
}

.page-terms-conditions__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    background: #17191F; /* Card BG */
    color: #FFA53A;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: 2px solid #A84F0C; /* Border color */
    cursor: pointer;
    margin-top: 20px;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-terms-conditions__btn-secondary:hover {
    background: #FFA53A;
    color: #17191F;
    border-color: #FFA53A;
}

.page-terms-conditions__image-inline {
    width: 100%;
    height: auto;
    max-width: 800px; /* Example max-width for inline images */
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

/* FAQ styles */
.page-terms-conditions__faq-container {
    margin-top: 50px;
}

details.page-terms-conditions__faq-item {
  margin-bottom: 15px;
  border-radius: 8px; /* Slightly larger radius */
  border: 1px solid #A84F0C; /* Border color */
  overflow: hidden;
  background: #17191F; /* Card BG */
}
details.page-terms-conditions__faq-item summary.page-terms-conditions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px; /* Adjusted padding */
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #FFF3E6; /* Text Main */
}
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: rgba(255, 140, 26, 0.1); /* Slight hover effect with brand color */
}
.page-terms-conditions__faq-qtext {
  flex: 1;
  font-size: 18px; /* Slightly larger font */
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFF3E6;
}
.page-terms-conditions__faq-toggle {
  font-size: 28px; /* Larger toggle */
  font-weight: bold;
  color: #FFA53A; /* Accent color for toggle */
  flex-shrink: 0;
  margin-left: 20px; /* Adjusted margin */
  width: 32px; /* Adjusted width */
  text-align: center;
}
details.page-terms-conditions__faq-item .page-terms-conditions__faq-answer {
  padding: 0 25px 25px;
  background: #0D0E12; /* Background color */
  border-radius: 0 0 8px 8px;
  color: #FFF3E6;
}
.page-terms-conditions__faq-answer p {
    margin-bottom: 0;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
    .page-terms-conditions__main-title {
        font-size: 42px;
    }
    .page-terms-conditions__description {
        font-size: 17px;
    }
    .page-terms-conditions__section-title {
        font-size: 28px;
    }
    .page-terms-conditions p,
    .page-terms-conditions__list li {
        font-size: 15px;
    }
    details.page-terms-conditions__faq-item summary.page-terms-conditions__faq-question {
        padding: 16px 20px;
    }
    .page-terms-conditions__faq-qtext {
        font-size: 17px;
    }
    .page-terms-conditions__faq-toggle {
        font-size: 26px;
    }
    details.page-terms-conditions__faq-item .page-terms-conditions__faq-answer {
        padding: 0 20px 20px;
    }
}

@media (max-width: 768px) {
    /* Hero Section */
    .page-terms-conditions__hero-section {
        padding-bottom: 20px;
    }
    .page-terms-conditions__hero-content {
        padding: 20px 15px;
    }
    .page-terms-conditions__main-title {
        font-size: 32px;
        margin-bottom: 15px;
    }
    .page-terms-conditions__description {
        font-size: 15px;
        margin-bottom: 20px;
    }
    .page-terms-conditions__btn-primary {
        padding: 12px 20px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* Content Section */
    .page-terms-conditions__content-section {
        padding: 40px 0;
    }
    .page-terms-conditions__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-terms-conditions__section-title {
        font-size: 24px;
        margin-top: 30px;
        margin-bottom: 15px;
    }
    .page-terms-conditions p,
    .page-terms-conditions__list li {
        font-size: 15px;
        line-height: 1.7;
    }
    .page-terms-conditions__list {
        padding-left: 25px;
    }
    .page-terms-conditions__btn-secondary {
        padding: 10px 20px;
        font-size: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* Images */
    .page-terms-conditions__hero-image,
    .page-terms-conditions__image-inline {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        margin: 20px auto;
    }

    /* FAQ */
    details.page-terms-conditions__faq-item {
        margin-bottom: 10px;
    }
    details.page-terms-conditions__faq-item summary.page-terms-conditions__faq-question {
        padding: 15px 15px;
    }
    .page-terms-conditions__faq-qtext {
        font-size: 16px;
    }
    .page-terms-conditions__faq-toggle {
        font-size: 24px;
        margin-left: 15px;
        width: 28px;
    }
    details.page-terms-conditions__faq-item .page-terms-conditions__faq-answer {
        padding: 0 15px 15px;
    }
}