/* Base styles for the terms-conditions page */
.page-terms-conditions {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #FFF5E1; /* Text Main */
    background: #B71C1C; /* Background */
    padding-bottom: 50px; /* Space for footer if not fixed */
}

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

/* Hero Section */
.page-terms-conditions__hero-section {
    padding: 60px 0 40px; /* Small top padding for body offset */
    text-align: center;
    background: linear-gradient(135deg, #C91F17, #E53935); /* Brand colors gradient */
    border-bottom: 5px solid #F4D34D; /* Gold border */
}

.page-terms-conditions__main-title {
    font-size: clamp(2.2rem, 4vw, 3rem); /* H1 size, clamped */
    color: #FFF5E1; /* Text Main */
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-terms-conditions__description {
    font-size: 1.1rem;
    color: #FFF5E1; /* Text Main */
    max-width: 800px;
    margin: 0 auto 30px;
}

.page-terms-conditions__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

.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;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-terms-conditions__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button color */
    color: #7A0E0E; /* Deep Red for contrast */
    border: none;
}

.page-terms-conditions__btn-primary:hover {
    background: linear-gradient(180deg, #FFE080 0%, #F5C710 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions__btn-secondary {
    background: #D32F2F; /* Card BG */
    color: #FFF5E1; /* Text Main */
    border: 2px solid #F4D34D; /* Gold border */
}

.page-terms-conditions__btn-secondary:hover {
    background: #E53935; /* Auxiliary color */
    border-color: #FFCC66; /* Glow */
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Content Area */
.page-terms-conditions__content-area {
    padding: 50px 0;
    background: #B71C1C; /* Background */
}

.page-terms-conditions__section-title {
    font-size: 2rem;
    color: #F4D34D; /* Gold */
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid rgba(244, 211, 77, 0.3);
    padding-bottom: 10px;
}

.page-terms-conditions p {
    margin-bottom: 15px;
    color: #FFF5E1; /* Text Main */
}

.page-terms-conditions__list {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: #FFF5E1; /* Text Main */
}

.page-terms-conditions__list li {
    margin-bottom: 8px;
    color: #FFF5E1; /* Text Main */
}

.page-terms-conditions__image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

/* Contact CTA */
.page-terms-conditions__contact-cta {
    background: #D32F2F; /* Card BG */
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    margin-top: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid #F2B544; /* Border */
}

.page-terms-conditions__contact-title {
    font-size: 1.8rem;
    color: #FFCC66; /* Glow */
    margin-bottom: 15px;
}

.page-terms-conditions__contact-description {
    font-size: 1.1rem;
    color: #FFF5E1; /* Text Main */
    max-width: 700px;
    margin: 0 auto 30px;
}

/* FAQ Section */
.page-terms-conditions__faq-section {
    padding: 50px 0;
    background: #B71C1C; /* Background */
}

details.page-terms-conditions__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #F2B544; /* Border */
  overflow: hidden;
  background: #D32F2F; /* Card BG */
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
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;
  color: #FFF5E1; /* 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: #E53935; /* Auxiliary color */
}
.page-terms-conditions__faq-qtext {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFF5E1; /* Text Main */
}
.page-terms-conditions__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFCC66; /* Glow */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}