/* style/terms-conditions.css */
.page-terms-conditions {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: #0d1117; /* Inherited from body, but explicitly set for clarity */
}

.page-terms-conditions__hero-banner {
  background: linear-gradient(135deg, #003366, #FFD700);
  padding: 60px 20px;
  text-align: center;
  color: #ffffff;
}

.page-terms-conditions__hero-container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-terms-conditions__hero-title {
  font-size: 3.2em;
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.page-terms-conditions__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  line-height: 1.5;
}

.page-terms-conditions__highlight {
  color: #FFD700;
  font-weight: bold;
}

.page-terms-conditions__hero-image-wrapper {
  width: 100%;
  max-width: 800px;
  margin: 30px auto 0 auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

/* Fixed navigation bar spacing for the first content module */
.page-terms-conditions__padding-top-fix {
  padding-top: 120px; /* Desktop */
}

.page-terms-conditions__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #0d1117; /* Dark background */
  color: #f0f0f0; /* Light text */
}

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

.page-terms-conditions__article {
  margin-bottom: 60px;
}

.page-terms-conditions__section-title {
  font-size: 2.2em;
  color: #FFD700;
  margin-top: 50px;
  margin-bottom: 25px;
  text-align: center;
  font-weight: 700;
  border-bottom: 2px solid rgba(255, 215, 0, 0.3);
  padding-bottom: 15px;
}

.page-terms-conditions__sub-section-title {
  font-size: 1.6em;
  color: #ffffff;
  margin-top: 35px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-terms-conditions__paragraph {
  font-size: 1.05em;
  margin-bottom: 20px;
  line-height: 1.7;
  text-align: justify;
}

.page-terms-conditions__link {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-terms-conditions__link:hover {
  color: #e6c200;
  text-decoration: underline;
}

.page-terms-conditions__image-text-block {
  display: flex;
  align-items: center;
  gap: 40px;
  margin: 50px 0;
}

.page-terms-conditions__image-text-block--reversed {
  flex-direction: row-reverse;
}

.page-terms-conditions__image-wrapper {
  flex: 1;
  min-width: 300px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-terms-conditions__text-content {
  flex: 2;
}

.page-terms-conditions__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 50px 0;
}

.page-terms-conditions__card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #f0f0f0;
}

.page-terms-conditions__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions__card-image-wrapper {
  width: 100%;
  height: 200px; /* Ensure images are not too small */
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
}

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

.page-terms-conditions__card-title {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-terms-conditions__card-text {
  font-size: 1em;
  line-height: 1.6;
}

.page-terms-conditions__list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
}

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

.page-terms-conditions__sub-list {
  list-style: circle inside;
  margin-left: 30px;
  margin-top: 10px;
  margin-bottom: 10px;
}