/* style/terms-conditions.css */
.page-terms-conditions {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #E0E0E0; /* Light gray for general text on dark background */
  background-color: #1A202C; /* Main dark background */
}

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

.page-terms-conditions__highlight {
  color: #FFD700; /* Gold for highlights */
}

/* Hero Section */
.page-terms-conditions__hero {
  background: linear-gradient(135deg, #1A202C 0%, #3a475a 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-terms-conditions__hero-title {
  font-size: 3.5em;
  color: #FFFFFF; /* White for main title */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-terms-conditions__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #CCCCCC;
}

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

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

.page-terms-conditions__content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 992px) {
  .page-terms-conditions__content-grid {
    grid-template-columns: 280px 1fr;
  }
}

/* Sidebar */
.page-terms-conditions__sidebar {
  background-color: #28303e; /* Slightly lighter dark background for sidebar */
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: sticky;
  top: 20px; /* Adjust as needed */
  align-self: start;
}

.page-terms-conditions__sidebar-title {
  font-size: 1.8em;
  color: #FFD700; /* Gold for sidebar title */
  margin-bottom: 25px;
  border-bottom: 2px solid #FFD700;
  padding-bottom: 10px;
}

.page-terms-conditions__toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-terms-conditions__toc li {
  margin-bottom: 15px;
}

.page-terms-conditions__toc a {
  color: #CCCCCC; /* Light gray for TOC links */
  text-decoration: none;
  font-size: 1.1em;
  transition: color 0.3s ease, transform 0.3s ease;
  display: block;
  padding: 5px 0;
}

.page-terms-conditions__toc a:hover,
.page-terms-conditions__toc a.active {
  color: #FFD700; /* Gold on hover/active */
  transform: translateX(5px);
}

.page-terms-conditions__cta-sidebar {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 215, 0, 0.3);
  text-align: center;
}

.page-terms-conditions__cta-sidebar p {
  font-size: 1.1em;
  margin-bottom: 15px;
  color: #CCCCCC;
}

/* Article Content */
.page-terms-conditions__article {
  background-color: #28303e; /* Slightly lighter dark background for article */
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-terms-conditions__section {
  margin-bottom: 40px;
}

.page-terms-conditions__section-title {
  font-size: 2.2em;
  color: #FFD700; /* Gold for section titles */
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 215, 0, 0.5);
  padding-bottom: 10px;
}

.page-terms-conditions__article p {
  margin-bottom: 15px;
  color: #E0E0E0;
}

.page-terms-conditions__article ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #E0E0E0;
}

.page-terms-conditions__article ul li {
  margin-bottom: 8px;
}

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

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

.page-terms-conditions__content-image {
  width: 100%;
  max-width: 700px;
  height: auto;
  border-radius: 8px;
  margin: 30px 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-terms-conditions__button {
  display: inline-block;
  padding: 12px 25px;
  background-color: #FFD700; /* Gold button */
  color: #1A202C; /* Dark text on gold */
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1.1em;
}

.page-terms-conditions__button:hover {
  background-color: #e6c200; /* Slightly darker gold on hover */
  transform: translateY(-2px);
}

.page-terms-conditions__button--sidebar {
  width: 100%;
  box-sizing: border-box;
}

.page-terms-conditions__cta-main {
  text-align: center;
  margin-top: 60px;
  padding: 40px;
  background-color: #1A202C; /* Main dark background for CTA */
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.page-terms-conditions__cta-title {
  font-size: 2.5em;
  color: #FFFFFF;
  margin-bottom: 15px;
}

.page-terms-conditions__cta-description {
  font-size: 1.2em;
  color: #CCCCCC;
  margin-bottom: 30px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-terms-conditions__hero-title {
    font-size: 2.5em;
  }

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

  .page-terms-conditions__sidebar {
    position: static;
    margin-bottom: 40px;
  }

  .page-terms-conditions__article {
    padding: 20px;
  }

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

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

@media (max-width: 480px) {
  .page-terms-conditions__hero {
    padding: 50px 0;
  }

  .page-terms-conditions__hero-title {
    font-size: 2em;
  }

  .page-terms-conditions__hero-description {
    font-size: 0.9em;
  }

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

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

  .page-terms-conditions__button {
    padding: 10px 20px;
    font-size: 1em;
  }

  .page-terms-conditions__cta-main {
    padding: 20px;
  }

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

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