/* style/resources-fb88-hot-security-and-fair-play.css */

/* Base styles for the page content */
.page-resources-fb88-hot-security-and-fair-play {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: var(--dark-bg-1); /* Assuming --dark-bg-1 is a dark color from shared.css */
}

.page-resources-fb88-hot-security-and-fair-play__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-resources-fb88-hot-security-and-fair-play__container--center {
  text-align: center;
}

/* Hero Section */
.page-resources-fb88-hot-security-and-fair-play__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Adjust for fixed header */
  background: linear-gradient(135deg, #CC0000 0%, #FFD700 100%); /* Brand colors */
  color: #ffffff;
  overflow: hidden;
  min-height: 600px;
}

.page-resources-fb88-hot-security-and-fair-play__hero-content {
  z-index: 1;
  max-width: 800px;
}

.page-resources-fb88-hot-security-and-fair-play__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.page-resources-fb88-hot-security-and-fair-play__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-resources-fb88-hot-security-and-fair-play__hero-video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin-top: 40px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.page-resources-fb88-hot-security-and-fair-play__hero-video {
  width: 100%;
  height: auto;
  display: block;
}

.page-resources-fb88-hot-security-and-fair-play__video-link {
  display: block;
  cursor: pointer;
}

/* General Section Styles */
.page-resources-fb88-hot-security-and-fair-play__section {
  padding: 60px 0;
  background-color: var(--dark-bg-1);
  color: #ffffff;
}

.page-resources-fb88-hot-security-and-fair-play__section:nth-of-type(even) {
  background-color: rgba(255, 255, 255, 0.05);
}

.page-resources-fb88-hot-security-and-fair-play__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold accent for titles */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-resources-fb88-hot-security-and-fair-play__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #CC0000;
  border-radius: 2px;
}

.page-resources-fb88-hot-security-and-fair-play p {
  margin-bottom: 20px;
  font-size: 1.1em;
  line-height: 1.8;
  color: #f0f0f0;
}

/* Image and Text Blocks */
.page-resources-fb88-hot-security-and-fair-play__image-text-block {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

.page-resources-fb88-hot-security-and-fair-play__image-text-block:nth-of-type(odd) {
  flex-direction: row-reverse; /* Image on right */
}

.page-resources-fb88-hot-security-and-fair-play__image-text-block:nth-of-type(even) {
  flex-direction: row; /* Image on left */
}

.page-resources-fb88-hot-security-and-fair-play__image {
  flex: 1;
  min-width: 400px; /* Ensure minimum size */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  object-fit: cover;
  display: block;
}

.page-resources-fb88-hot-security-and-fair-play__image--center {
  margin: 40px auto;
  display: block;
  max-width: 100%;
}

.page-resources-fb88-hot-security-and-fair-play__text-content {
  flex: 1;
}

/* Lists */
.page-resources-fb88-hot-security-and-fair-play__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-resources-fb88-hot-security-and-fair-play__list li {
  margin-bottom: 10px;
  font-size: 1.1em;
  line-height: 1.6;
}

.page-resources-fb88-hot-security-and-fair-play__list li strong {
  color: #FFD700;
}

/* Buttons */
.page-resources-fb88-hot-security-and-fair-play__btn-primary,
.page-resources-fb88-hot-security-and-fair-play__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-fb88-hot-security-and-fair-play__btn-primary {
  background-color: #CC0000; /* Main brand color */
  color: #ffffff;
  border: 2px solid #CC0000;
}

.page-resources-fb88-hot-security-and-fair-play__btn-primary:hover {
  background-color: #a00000;
  transform: translateY(-2px);
}

.page-resources-fb88-hot-security-and-fair-play__btn-secondary {
  background-color: transparent;
  color: #FFD700; /* Accent brand color */
  border: 2px solid #FFD700;
}

.page-resources-fb88-hot-security-and-fair-play__btn-secondary:hover {
  background-color: #FFD700;
  color: #333333;
  transform: translateY(-2px);
}

.page-resources-fb88-hot-security-and-fair-play__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* FAQ Section */
.page-resources-fb88-hot-security-and-fair-play__faq-section {
  background-color: var(--dark-bg-1);
}

.page-resources-fb88-hot-security-and-fair-play__faq-list {
  margin-top: 40px;
}

.page-resources-fb88-hot-security-and-fair-play__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-resources-fb88-hot-security-and-fair-play__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  background-color: #CC0000; /* Main brand color for question header */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources-fb88-hot-security-and-fair-play__faq-question:hover {
  background-color: #a00000;
}

.page-resources-fb88-hot-security-and-fair-play__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-resources-fb88-hot-security-and-fair-play__faq-item.active .page-resources-fb88-hot-security-and-fair-play__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-fb88-hot-security-and-fair-play__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-resources-fb88-hot-security-and-fair-play__faq-item.active .page-resources-fb88-hot-security-and-fair-play__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px;
}

.page-resources-fb88-hot-security-and-fair-play__faq-answer p {
  margin-bottom: 0;
  font-size: 1em;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-fb88-hot-security-and-fair-play__hero-title {
    font-size: 3em;
  }

  .page-resources-fb88-hot-security-and-fair-play__section-title {
    font-size: 2em;
  }

  .page-resources-fb88-hot-security-and-fair-play__image-text-block {
    flex-direction: column !important; /* Stack on smaller screens */
    text-align: center;
  }

  .page-resources-fb88-hot-security-and-fair-play__image,
  .page-resources-fb88-hot-security-and-fair-play__image--right,
  .page-resources-fb88-hot-security-and-fair-play__image--left {
    max-width: 80%;
    margin: 20px auto;
    min-width: unset;
  }
}

@media (max-width: 768px) {
  .page-resources-fb88-hot-security-and-fair-play {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-resources-fb88-hot-security-and-fair-play__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }

  .page-resources-fb88-hot-security-and-fair-play__hero-title {
    font-size: 2.2em;
  }

  .page-resources-fb88-hot-security-and-fair-play__hero-description {
    font-size: 1em;
  }

  .page-resources-fb88-hot-security-and-fair-play__hero-video-wrapper {
    margin-top: 30px;
    padding: 0 15px; /* Add padding to prevent overflow */
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .page-resources-fb88-hot-security-and-fair-play__hero-video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-resources-fb88-hot-security-and-fair-play__section {
    padding: 40px 0;
  }

  .page-resources-fb88-hot-security-and-fair-play__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-resources-fb88-hot-security-and-fair-play__container,
  .page-resources-fb88-hot-security-and-fair-play__image-text-block,
  .page-resources-fb88-hot-security-and-fair-play__cta-buttons {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .page-resources-fb88-hot-security-and-fair-play img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-resources-fb88-hot-security-and-fair-play__btn-primary,
  .page-resources-fb88-hot-security-and-fair-play__btn-secondary {
    width: 100% !important;
    margin-bottom: 15px; /* Add space between stacked buttons */
    padding: 12px 20px;
    font-size: 1em;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-resources-fb88-hot-security-and-fair-play__cta-buttons {
    flex-direction: column;
    gap: 0; /* Gap handled by margin-bottom on buttons */
  }

  .page-resources-fb88-hot-security-and-fair-play__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }

  .page-resources-fb88-hot-security-and-fair-play__faq-answer {
    padding: 15px;
  }
}

/* Color Contrast Fixes (as per instructions) */
.page-resources-fb88-hot-security-and-fair-play p,
.page-resources-fb88-hot-security-and-fair-play li {
  color: #f0f0f0; /* Light text for dark background */
}

.page-resources-fb88-hot-security-and-fair-play__card {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white background */
  color: #ffffff; /* Light text */
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-resources-fb88-hot-security-and-fair-play__dark-section {
  background: #CC0000;
  color: #ffffff; /* Forced white text */
}

.page-resources-fb88-hot-security-and-fair-play__btn-primary {
  background: #CC0000;
  color: #ffffff; /* Button text always white */
  border: 2px solid transparent;
}