/* style/terms-conditions.css */

/* --- Base Styles --- */
.page-terms-conditions {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Text Main */
  background-color: #F5F7FA; /* Background */
  padding-bottom: 40px;
}

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

.page-terms-conditions__section {
  padding: 40px 0;
}

.page-terms-conditions__section-title {
  font-size: 32px;
  font-weight: 700;
  color: #E53935; /* Primary brand color */
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
}

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

.page-terms-conditions__sub-title {
  font-size: 24px;
  font-weight: 600;
  color: #E53935;
  margin-top: 30px;
  margin-bottom: 15px;
}

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

.page-terms-conditions__paragraph {
  font-size: 16px;
  margin-bottom: 15px;
  line-height: 1.7;
}

.page-terms-conditions__paragraph--light {
  color: #f0f0f0;
}

.page-terms-conditions__article-body {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 10px;
}

/* --- Hero Section --- */
.page-terms-conditions__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: #E53935; /* Fallback for image */
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.page-terms-conditions__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit image height */
  overflow: hidden;
}

.page-terms-conditions__hero-image {
  width: 100%;
  height: 500px; /* Fixed height for desktop to maintain aspect ratio with object-fit */
  object-fit: cover; /* Cover the area, may crop sides */
  display: block;
}

.page-terms-conditions__hero-content {
  position: relative; /* Ensure content is above image */
  z-index: 2;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text readability */
  margin-top: -150px; /* Pull content up over the image a bit */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.page-terms-conditions__main-title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 15px;
  line-height: 1.1;
  color: #ffffff;
}

.page-terms-conditions__description {
  font-size: 18px;
  margin-bottom: 30px;
  color: #f0f0f0;
}

/* --- Buttons --- */
.page-terms-conditions__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-terms-conditions__cta-buttons--center {
  justify-content: center;
}

.page-terms-conditions__btn-primary,
.page-terms-conditions__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* Ensure buttons adapt to container */
  box-sizing: border-box;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word;
}

.page-terms-conditions__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 10px rgba(229, 57, 53, 0.4);
}

.page-terms-conditions__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(229, 57, 53, 0.6);
}
}
}