/* Base styles for the Terms and Conditions page */
.page-terms-conditions {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: #FFFFFF; /* Assuming shared body background is light */
}

.page-terms-conditions__hero-section {
  position: relative;
  width: 100%;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: #f0f8ff; /* Light background for hero section */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 40px;
}

.page-terms-conditions__hero-image {
  width: 100%;
  max-height: 600px; /* Limit height for hero image */
  object-fit: cover;
  display: block;
}

.page-terms-conditions__hero-content {
  max-width: 900px;
  margin: 20px auto 0 auto;
  padding: 0 15px;
}

.page-terms-conditions__main-title {
  font-size: 2.8em;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 15px;
  line-height: 1.2;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

.page-terms-conditions__section-title {
  font-size: 2em;
  color: #26A9E0;
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 10px;
}

.page-terms-conditions__paragraph {
  margin-bottom: 15px;
  color: #333333;
}

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

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

.page-terms-conditions__list-item {
  margin-bottom: 8px;
}

.page-terms-conditions__content-image {
  width: 100%;
  height: auto;
  max-height: 450px;
  object-fit: cover;
  margin: 25px 0;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-terms-conditions a {
  color: #26A9E0;
  text-decoration: none;
}

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

.page-terms-conditions__btn-primary,
.page-terms-conditions__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  font-weight: bold;
  text-align: center;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-decoration: none;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-terms-conditions__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
  margin-right: 15px;
}

.page-terms-conditions__btn-primary:hover {
  background-color: #1a8ccb;
  border-color: #1a8ccb;
}

.page-terms-conditions__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-terms-conditions__btn-secondary:hover {
  background-color: #e0f2ff;
}

.page-terms-conditions__cta-buttons {
  margin-top: 30px;
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Generic styles for checklist items that might not be on this page */
.page-terms-conditions__home-content {
  border: 1px solid #FBB00D;
  border-radius: 10px;
  height: auto;
  overflow-y: visible;
  padding: 20px;
  margin: 20px auto;
  max-width: 1000px;
  color: #333333;
  background-color: #fff;
}

.page-terms-conditions__home-content h2 {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-terms-conditions__row-games,
.page-terms-conditions__row-sport,
.page-terms-conditions__row-coop {
  background-color: #1A202C;
  padding: 40px 20px;
  max-width: 1330px;
  margin: 0 auto;
}

.page-terms-conditions__games-title,
.page-terms-conditions__sport-title,
.page-terms-conditions__coop-title {
  color: #fff;
  text-align: center;
  font-size: 2.2em;
  margin-bottom: 30px;
}

.page-terms-conditions__slider-wrapper {
  overflow: hidden;
  padding: 20px 0;
}

.page-terms-conditions__slider-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  transition: transform 0.5s ease-in-out;
}

.page-terms-conditions__game-slide {
  flex: 0 0 200px;
  max-width: 200px;
  background-color: #2a3342;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 15px;
}

.page-terms-conditions__game-slide img {
  width: 100%;
   /* Specific height for game slides */
  object-fit: cover;
}

.page-terms-conditions__game-slide h3 {
  color: #fff;
  font-size: 1.1em;
  margin: 10px 5px 0;
}

.page-terms-conditions__banners-top-wrapper {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  max-width: 900px;
  margin: 30px auto;
  padding: 0 15px;
}

.page-terms-conditions__banner-item img {
  
  
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

.page-terms-conditions__blog-masonry {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
  margin-top: 40px;
  padding: 0 15px;
}

.page-terms-conditions__blog-card {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-terms-conditions__blog-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.page-terms-conditions__blog-card-image {
  width: 100%;
  height: 200px; /* Fixed height for blog images */
  object-fit: cover;
}

.page-terms-conditions__blog-card-content {
  padding: 15px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-terms-conditions__blog-card-title {
  font-size: 1.2em;
  font-weight: bold;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-terms-conditions__blog-card-text {
  font-size: 0.9em;
  color: #555555;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-terms-conditions__btn-outline {
  display: inline-block;
  padding: 8px 15px;
  border: 1px solid #26A9E0;
  color: #26A9E0;
  border-radius: 5px;
  text-decoration: none;
  margin-top: auto;
  align-self: flex-start;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-terms-conditions__btn-outline:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-terms-conditions__blog-slider-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  transition: transform 0.5s ease-in-out;
}

.page-terms-conditions__blog-slide {
  flex: 0 0 calc(33.333% - 14px);
  max-width: calc(33.333% - 14px);
}

/* Ensure all images are responsive */
.page-terms-conditions img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

  .page-terms-conditions__hero-section {
    padding-top: 10px !important;
    padding-bottom: 20px;
  }

  .page-terms-conditions__main-title {
    font-size: 2em !important;
    margin-bottom: 10px;
  }

  .page-terms-conditions__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-terms-conditions__section-title {
    font-size: 1.6em;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-terms-conditions__container,
  .page-terms-conditions__home-content,
  .page-terms-conditions__row-games,
  .page-terms-conditions__row-sport,
  .page-terms-conditions__row-coop,
  .page-terms-conditions__banners-top-wrapper,
  .page-terms-conditions__blog-masonry {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }

  /* General image responsiveness for content area */
  .page-terms-conditions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Buttons and button containers */
  .page-terms-conditions__btn-primary,
  .page-terms-conditions__btn-secondary,
  .page-terms-conditions a[class*="button"],
  .page-terms-conditions a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-right: 0 !important; /* Remove right margin for stacking */
  }

  .page-terms-conditions__cta-buttons {
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 10px !important;
  }

  /* Checklist specific mobile styles */
  .page-terms-conditions__home-content h2 {
    font-size: 1.5em;
  }

  .page-terms-conditions__games-title,
  .page-terms-conditions__sport-title,
  .page-terms-conditions__coop-title {
    font-size: 1.8em;
  }

  .page-terms-conditions__slider-track {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto; /* Enable horizontal scroll for game slider */
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }

  .page-terms-conditions__game-slide {
    flex: 0 0 160px !important;
    max-width: 160px !important;
    scroll-snap-align: start;
  }

  .page-terms-conditions__banners-top-wrapper {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important; /* 3 columns for banners */
    gap: 8px;
  }

  .page-terms-conditions__banner-item img {
    
    
  }

  .page-terms-conditions__blog-masonry {
    grid-template-columns: 1fr !important; /* Single column for blog cards */
  }

  .page-terms-conditions__blog-slider-track {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto; /* Enable horizontal scroll for blog slider */
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }

  .page-terms-conditions__blog-slide {
    flex: 0 0 85% !important; /* Make blog slides wider for mobile scroll */
    max-width: 85% !important;
    scroll-snap-align: start;
  }
}