/* style/terms-conditions.css */

/* Custom Colors */
:root {
  --uk88-code-primary: #11A84E;
  --uk88-code-secondary: #22C768;
  --uk88-code-card-bg: #11271B;
  --uk88-code-background: #08160F;
  --uk88-code-text-main: #F2FFF6;
  --uk88-code-text-secondary: #A7D9B8;
  --uk88-code-border: #2E7A4E;
  --uk88-code-glow: #57E38D;
  --uk88-code-gold: #F2C14E;
  --uk88-code-divider: #1E3A2A;
  --uk88-code-deep-green: #0A4B2C;
  --uk88-code-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-terms-conditions {
  font-family: Arial, sans-serif;
  color: var(--uk88-code-text-main); /* Default text color for the page content */
  background-color: var(--uk88-code-background); /* Background from shared.css will apply to body */
}

.page-terms-conditions__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  text-align: center;
  background-color: var(--uk88-code-deep-green); /* A darker green for the hero section */
  overflow: hidden;
}

.page-terms-conditions__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 20px;
}

.page-terms-conditions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

.page-terms-conditions__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  color: var(--uk88-code-gold);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-terms-conditions__description {
  font-size: 1.1em;
  color: var(--uk88-code-text-secondary);
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-terms-conditions__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: var(--uk88-code-button-gradient);
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-terms-conditions__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

.page-terms-conditions__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: var(--uk88-code-background);
  border-radius: 8px;
}

.page-terms-conditions__section-block {
  background-color: var(--uk88-code-card-bg);
  border: 1px solid var(--uk88-code-border);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-terms-conditions__section-title {
  font-size: 2em;
  color: var(--uk88-code-gold);
  margin-bottom: 20px;
  border-bottom: 2px solid var(--uk88-code-divider);
  padding-bottom: 10px;
  text-align: left;
}

.page-terms-conditions__text-block {
  font-size: 1em;
  line-height: 1.7;
  color: var(--uk88-code-text-main);
  margin-bottom: 15px;
}

.page-terms-conditions__text-block a {
  color: var(--uk88-code-secondary);
  text-decoration: none;
  font-weight: bold;
}

.page-terms-conditions__text-block a:hover {
  text-decoration: underline;
}

.page-terms-conditions__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 25px auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-terms-conditions__cta-footer {
  text-align: center;
  padding-top: 40px;
  padding-bottom: 40px;
  background-color: var(--uk88-code-deep-green);
}

.page-terms-conditions__cta-footer .page-terms-conditions__section-title {
  color: var(--uk88-code-gold);
  border-bottom: none;
  padding-bottom: 0;
  text-align: center;
}

.page-terms-conditions__cta-footer .page-terms-conditions__text-block {
  color: var(--uk88-code-text-secondary);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-terms-conditions__hero-section {
    padding: 40px 15px;
  }

  .page-terms-conditions__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }

  .page-terms-conditions__description {
    font-size: 1em;
  }

  .page-terms-conditions__content-area {
    padding: 30px 15px;
  }

  .page-terms-conditions__section-block {
    padding: 25px;
  }

  .page-terms-conditions__section-title {
    font-size: 1.8em;
  }
}

@media (max-width: 768px) {
  .page-terms-conditions {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-terms-conditions__hero-section {
    padding: 20px 15px;
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  .page-terms-conditions__hero-image,
  .page-terms-conditions__image-content {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-terms-conditions__hero-image-wrapper,
  .page-terms-conditions__section-block,
  .page-terms-conditions__content-area,
  .page-terms-conditions__cta-footer {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-terms-conditions__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }

  .page-terms-conditions__description {
    font-size: 0.95em;
  }

  .page-terms-conditions__section-title {
    font-size: 1.5em;
  }

  .page-terms-conditions__btn-primary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
  }
}

@media (max-width: 480px) {
  .page-terms-conditions__hero-section {
    padding: 15px 10px;
    padding-top: 10px !important;
  }

  .page-terms-conditions__content-area {
    padding: 20px 10px;
  }

  .page-terms-conditions__section-block {
    padding: 20px;
  }

  .page-terms-conditions__main-title {
    font-size: clamp(1.6em, 7vw, 2em);
  }

  .page-terms-conditions__section-title {
    font-size: 1.3em;
  }
}