.page-resources {
  color: #ffffff; /* Body background is dark #121212, so text should be light */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-resources__dark-section {
  background-color: #003366; /* Main brand color for dark sections */
  color: #ffffff;
}

.page-resources__hero-section {
  padding: calc(var(--header-offset, 120px) + 60px) 20px 80px;
  text-align: center;
  background-image: url('[GALLERY:hero_main:1920x1080:b66club,resources,knowledge,platform,digital]');
  background-size: cover;
  background-position: center;
  position: relative;
  z-index: 1;
}

.page-resources__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 51, 102, 0.7); /* Dark overlay for text readability */
  z-index: -1;
}

.page-resources__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFCC00; /* Accent color for title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources__hero-description {
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #f0f0f0;
}

.page-resources__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: #FFCC00; /* Accent color for section titles */
  font-weight: bold;
}

.page-resources__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: -20px auto 60px;
  color: #f0f0f0;
}

.page-resources__highlight {
  color: #FFCC00;
  font-weight: bold;
}

.page-resources__overview-section {
  background-color: #1a1a1a;
  padding: 80px 0;
  color: #ffffff;
}

.page-resources__content-grid {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-resources__content-text {
  flex: 1;
  font-size: 1.1em;
}

.page-resources__content-text p {
  margin-bottom: 20px;
}

.page-resources__content-image {
  flex: 1;
  text-align: center;
}

.page-resources__content-image img {
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  width: 100%;
  height: auto;
  min-width: 200px;
  min-height: 200px;
}

.page-resources__guides-section {
  padding: 80px 0;
  background-color: #003366;
  color: #ffffff;
}

.page-resources__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-resources__card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for cards */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #ffffff;
}

.page-resources__card:hover {
  transform: translateY(-8px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-resources__card img {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-resources__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #FFCC00; /* Accent for card titles */
  font-weight: bold;
}

.page-resources__card-title a {
  color: #FFCC00;
  text-decoration: none;
}

.page-resources__card-title a:hover {
  text-decoration: underline;
}

.page-resources__card p {
  font-size: 1em;
  color: #e0e0e0;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-resources__btn-text {
  display: inline-flex;
  align-items: center;
  color: #FFCC00;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-resources__btn-text:hover {
  color: #ffffff;
}

.page-resources__arrow {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.page-resources__btn-text:hover .page-resources__arrow {
  transform: translateX(5px);
}

.page-resources__strategies-section {
  background-color: #1a1a1a;
  padding: 80px 0;
  color: #ffffff;
}

.page-resources__strategy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.page-resources__strategy-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-resources__strategy-heading {
  font-size: 1.8em;
  color: #FFCC00;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources__strategy-item p {
  font-size: 1.05em;
  color: #e0e0e0;
}

.page-resources__news-promotions-section {
  padding: 80px 0;
  background-color: #003366;
  color: #ffffff;
}

.page-resources__news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.page-resources__news-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transition: transform 0.3s ease;
  color: #ffffff;
  display: flex;
  flex-direction: column;
}

.page-resources__news-card:hover {
  transform: translateY(-8px);
}

.page-resources__news-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-resources__news-card h3 {
  font-size: 1.4em;
  margin: 20px 20px 10px;
  color: #FFCC00;
  flex-grow: 1;
}

.page-resources__news-card h3 a {
  color: #FFCC00;
  text-decoration: none;
}

.page-resources__news-card h3 a:hover {
  text-decoration: underline;
}

.page-resources__news-card p {
  font-size: 0.95em;
  color: #e0e0e0;
  margin: 0 20px 20px;
}

.page-resources__news-card .page-resources__btn-text {
  margin: 0 20px 20px;
  align-self: flex-start;
}

.page-resources__view-all-button {
  text-align: center;
}

.page-resources__video-section {
  background-color: #1a1a1a;
  padding: 80px 0;
  color: #ffffff;
}

.page-resources__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-resources__video-wrapper .page-resources__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  cursor: pointer;
}

.page-resources__video-link-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  cursor: pointer;
}

.page-resources__video-link-overlay:hover::after {
  content: '▶'; /* Play icon */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 4em;
  color: rgba(255, 204, 0, 0.8);
  text-shadow: 0 0 15px rgba(0, 0, 0, 0.7);
}

.page-resources__faq-section {
  padding: 80px 0;
  background-color: #003366;
  color: #ffffff;
}

.page-resources__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-resources__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.15);
}

.page-resources__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFCC00;
  transition: background-color 0.3s ease;
}

.page-resources__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-resources__faq-question h3 {
  margin: 0;
  color: #FFCC00;
}

.page-resources__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #ffffff;
}

.page-resources__faq-item.active .page-resources__faq-toggle {
  transform: rotate(45deg);
}

.page-resources__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: #e0e0e0;
}

.page-resources__faq-item.active .page-resources__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px 25px;
}

.page-resources__faq-answer p {
  margin: 0;
}

.page-resources__cta-bottom-section {
  padding: 80px 0;
  text-align: center;
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-resources__cta-bottom-title {
  font-size: 2.5em;
  color: #FFCC00;
  margin-bottom: 20px;
}

.page-resources__cta-bottom-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #f0f0f0;
}

.page-resources__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-resources__btn-primary,
.page-resources__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources__btn-primary {
  background-color: #FFCC00; /* Accent color for primary action */
  color: #003366;
  border: 2px solid #FFCC00;
}

.page-resources__btn-primary:hover {
  background-color: #e6b800;
  border-color: #e6b800;
}

.page-resources__btn-secondary {
  background-color: transparent;
  color: #FFCC00;
  border: 2px solid #FFCC00;
}

.page-resources__btn-secondary:hover {
  background-color: #FFCC00;
  color: #003366;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-resources__hero-title {
    font-size: 2.8em;
  }
  .page-resources__section-title {
    font-size: 2.2em;
  }
  .page-resources__content-grid {
    flex-direction: column;
  }
  .page-resources__content-image img {
    max-width: 80%;
  }
}

@media (max-width: 768px) {
  .page-resources__hero-section {
    padding: calc(var(--header-offset, 120px) + 40px) 15px 60px;
  }
  .page-resources__hero-title {
    font-size: 2.2em;
  }
  .page-resources__hero-description {
    font-size: 1em;
  }
  .page-resources__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-resources__section-intro {
    font-size: 0.95em;
    margin-bottom: 40px;
  }
  .page-resources__overview-section,
  .page-resources__guides-section,
  .page-resources__strategies-section,
  .page-resources__news-promotions-section,
  .page-resources__video-section,
  .page-resources__faq-section,
  .page-resources__cta-bottom-section {
    padding: 60px 0;
  }
  .page-resources__content-grid {
    gap: 30px;
  }
  .page-resources__content-text {
    font-size: 1em;
  }
  .page-resources__content-image img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px;
    min-height: 200px;
  }
  .page-resources__card-grid,
  .page-resources__strategy-grid,
  .page-resources__news-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-resources__card img,
  .page-resources__news-card img {
    
    min-width: 200px;
    min-height: 200px;
  }
  .page-resources__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources__btn-primary,
  .page-resources__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-resources__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-resources__faq-answer {
    padding: 0 20px;
  }
  .page-resources__faq-item.active .page-resources__faq-answer {
    padding: 15px 20px 20px;
  }
  .page-resources__video-wrapper {
    padding-bottom: 56.25% !important; /* Ensure aspect ratio is maintained */
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-resources__video-wrapper .page-resources__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-resources__container {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-resources__card,
  .page-resources__strategy-item,
  .page-resources__news-card,
  .page-resources__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-resources__hero-title {
    font-size: 1.8em;
  }
  .page-resources__section-title {
    font-size: 1.6em;
  }
  .page-resources__faq-question h3 {
    font-size: 1em;
  }
}