.page-resources-bet100-security {
  color: #333333;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

.page-resources-bet100-security__hero-section {
  background-color: #000000; /* Dark background for hero to contrast with white text */
  color: #FFFFFF;
  text-align: center;
  padding: 80px 20px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.page-resources-bet100-security__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FCBC45; /* Highlight title with accent color */
  max-width: 900px;
  line-height: 1.2;
}

.page-resources-bet100-security__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin-bottom: 30px;
}

.page-resources-bet100-security__hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.page-resources-bet100-security__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-width: 200px;
  text-align: center;
  font-size: 1.1em;
}

.page-resources-bet100-security__button--register {
  background-color: #FCBC45; /* Login button color for register button background */
  color: #000000; /* Dark text for contrast */
  border: 2px solid #FCBC45;
}

.page-resources-bet100-security__button--register:hover {
  background-color: #e0a53b;
  color: #FFFFFF;
}

.page-resources-bet100-security__button--explore {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.page-resources-bet100-security__button--explore:hover {
  background-color: #FFFFFF;
  color: #000000;
}

.page-resources-bet100-security__hero-image {
  width: 100%;
  max-width: 1200px;
  margin-top: 30px;
}

.page-resources-bet100-security__hero-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  min-width: 200px;
  min-height: 200px;
}

.page-resources-bet100-security__introduction,
.page-resources-bet100-security__pillars,
.page-resources-bet100-security__commitment,
.page-resources-bet100-security__cta,
.page-resources-bet100-security__related-resources {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
}

.page-resources-bet100-security__section-title {
  font-size: 2.2em;
  color: #000000;
  margin-bottom: 30px;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
}

.page-resources-bet100-security__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FCBC45;
  border-radius: 2px;
}

.page-resources-bet100-security__text-content {
  font-size: 1.1em;
  margin-bottom: 1em;
  color: #333333;
  text-align: justify;
}

.page-resources-bet100-security__pillar-item {
  margin-bottom: 60px;
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-resources-bet100-security__pillar-title {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 25px;
  text-align: center;
}

.page-resources-bet100-security__pillar-content {
  display: flex;
  flex-direction: row;
  gap: 30px;
  align-items: flex-start;
}

.page-resources-bet100-security__pillar-content--reverse {
  flex-direction: row-reverse;
}

.page-resources-bet100-security__pillar-content img {
  flex: 0 0 40%;
  max-width: 40%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  min-width: 200px;
  min-height: 200px;
}

.page-resources-bet100-security__pillar-text {
  flex: 1;
}

.page-resources-bet100-security__commitment-image {
  text-align: center;
  margin: 40px 0;
}

.page-resources-bet100-security__commitment-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  min-width: 200px;
  min-height: 200px;
}

.page-resources-bet100-security__cta {
  text-align: center;
  background-color: #000000; /* Dark background for CTA */
  color: #FFFFFF;
  padding: 60px 20px;
  border-radius: 10px;
}

.page-resources-bet100-security__cta .page-resources-bet100-security__section-title {
  color: #FCBC45;
}

.page-resources-bet100-security__button--join {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  margin-top: 30px;
}

.page-resources-bet100-security__button--join:hover {
  background-color: #e0a53b;
  color: #FFFFFF;
}

.page-resources-bet100-security__resource-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  text-align: center;
}

.page-resources-bet100-security__resource-item {
  margin-bottom: 15px;
}

.page-resources-bet100-security__resource-item a {
  color: #000000;
  text-decoration: none;
  font-size: 1.1em;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  display: inline-block;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.page-resources-bet100-security__resource-item a:hover {
  background-color: #FCBC45;
  color: #FFFFFF;
  border-color: #FCBC45;
}

.page-resources-bet100-security__return-link {
  text-align: center;
  margin-top: 40px;
}

.page-resources-bet100-security__button--return {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-resources-bet100-security__button--return:hover {
  background-color: #333333;
  border-color: #333333;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-resources-bet100-security__hero-title {
    font-size: 2em;
  }

  .page-resources-bet100-security__hero-description {
    font-size: 1em;
  }

  .page-resources-bet100-security__hero-actions {
    flex-direction: column;
  }

  .page-resources-bet100-security__button {
    width: 100%;
    max-width: 300px;
  }

  .page-resources-bet100-security__section-title {
    font-size: 1.8em;
  }

  .page-resources-bet100-security__pillar-title {
    font-size: 1.5em;
  }

  .page-resources-bet100-security__pillar-content {
    flex-direction: column;
    align-items: center;
  }

  .page-resources-bet100-security__pillar-content--reverse {
    flex-direction: column;
  }

  .page-resources-bet100-security__pillar-content img {
    max-width: 100%;
    width: 100%; /* Ensure images are not wider than container */
    height: auto; /* Maintain aspect ratio */
    min-width: 200px;
    min-height: 200px;
  }

  .page-resources-bet100-security__resource-item a {
    width: 100%;
    box-sizing: border-box;
  }

  /* Ensure content area images do not overflow */
  .page-resources-bet100-security img {
    max-width: 100% !important;
    height: auto !important;
  }
}

@media (max-width: 480px) {
  .page-resources-bet100-security__hero-title {
    font-size: 1.8em;
  }

  .page-resources-bet100-security__section-title {
    font-size: 1.5em;
  }
}