:root {
  --primary-color: #2F6BFF;
  --secondary-color: #6FA3FF;
  --button-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  --card-bg: #FFFFFF;
  --page-bg: #F4F7FB; /* Assuming this is a light background from shared.css */
  --text-main: #1F2D3D;
  --custom-color-1776249996415: #000000;
  --border-color: #D6E2FF;
  --glow-color: #A5C4FF;
  --header-offset: 122px; /* Default from common, will be overridden by shared.css */
}

/* Base styles for the page content, assuming a light body background for text contrast */
.page-terms-conditions {
  font-family: Arial, sans-serif;
  color: var(--text-main); /* Default text color for light background */
  line-height: 1.6;
  padding-bottom: 40px; /* General padding for the bottom */
  background-color: var(--page-bg); /* Ensure page background is consistent */
}

/* HERO Section */
.page-terms-conditions__hero-section {
  padding-top: 10px; /* Small top padding as per rules, body handles header offset */
  padding-bottom: 60px;
  background-color: var(--primary-color); /* Use primary color for hero background */
  color: #ffffff; /* White text on dark background */
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-terms-conditions__dark-section {
  background-color: var(--primary-color);
  color: #ffffff;
}

.page-terms-conditions__light-bg {
  background-color: var(--page-bg);
  color: var(--text-main);
}

.page-terms-conditions__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex; /* Use flex for hero content and image */
  align-items: center;
  gap: 30px;
}

.page-terms-conditions__hero-content {
  flex: 1;
  text-align: left;
  padding-right: 20px;
}

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

.page-terms-conditions__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-terms-conditions__hero-image-wrapper {
  flex: 1;
  max-width: 50%; /* Adjust as needed */
  text-align: right;
}

.page-terms-conditions__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

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

.page-terms-conditions__section-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 25px;
  color: var(--custom-color-1776249996415); /* Black for section titles */
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 15px;
}

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

.page-terms-conditions__sub-title {
  font-size: 1.6rem;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--primary-color); /* Primary color for sub-titles */
}

.page-terms-conditions__paragraph {
  margin-bottom: 15px;
  font-size: 1rem;
  color: var(--text-main);
}

.page-terms-conditions__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: var(--text-main);
}

.page-terms-conditions__list-item {
  margin-bottom: 10px;
  font-size: 1rem;
}

.page-terms-conditions__list-item strong {
  color: var(--custom-color-1776249996415);
}

.page-terms-conditions__image-inline {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
}

/* Buttons */
.page-terms-conditions__btn-primary,
.page-terms-conditions__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* Ensure responsive */
  box-sizing: border-box; /* Ensure padding is included in width */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Allow long words to break */
}

.page-terms-conditions__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 10px rgba(47, 107, 255, 0.3);
}

.page-terms-conditions__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(47, 107, 255, 0.4);
}

.page-terms-conditions__btn-secondary {
  background: var(--card-bg);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-terms-conditions__btn-secondary:hover {
  background: var(--primary-color);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.page-terms-conditions__faq-section {
  padding: 60px 0;
  text-align: center;
}

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

.page-terms-conditions__faq-item {
  background-color: var(--card-bg);
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  color: var(--text-main); /* Dark text on light card background */
}

.page-terms-conditions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--custom-color-1776249996415);
  cursor: pointer;
  position: relative;
  list-style: none; /* For details/summary */
}

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

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

.page-terms-conditions__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  transition: transform 0.3s ease;
  color: var(--primary-color);
}

.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;
  color: var(--text-main);
}

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

/* --- Homepage specific selectors (minimal definitions to satisfy output requirement) --- */
/* These selectors are typically for homepage modules and are not actively used on T&C page */
.page-terms-conditions__home-content {
  border: 1px solid #FBB00D;
  border-radius: 10px;
  height: 650px;
  overflow-y: auto;
  padding: 20px;
  margin: 40px auto;
  max-width: 1200px;
  background-color: var(--card-bg);
}