/* style/resources-w88-latest-access-links.css */
:root {
  --primary-color: #0A2463;
  --secondary-color: #E0B73B;
  --accent-color: #FF0000; /* Bright red for CTA */
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-dark: #121212;
  --background-light: #f8f8f8;
  --border-color: #e0e0e0;
}

.page-resources-w88-latest-access-links {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Body background is dark (#121212), so use light text */
  background-color: var(--background-dark);
}

/* General Section Styling */
.page-resources-w88-latest-access-links__section {
  padding: 60px 20px;
  text-align: center;
}

.page-resources-w88-latest-access-links__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Dark background sections */
.page-resources-w88-latest-access-links__dark-section {
  background-color: var(--primary-color);
  color: var(--text-light);
}

/* Light background sections */
.page-resources-w88-latest-access-links__light-bg {
  background-color: var(--background-light);
  color: var(--text-dark);
}

/* Headings */
.page-resources-w88-latest-access-links h1,
.page-resources-w88-latest-access-links h2,
.page-resources-w88-latest-access-links h3 {
  margin-top: 0;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-resources-w88-latest-access-links h1 {
  font-size: 3.2em;
  color: var(--secondary-color);
}

.page-resources-w88-latest-access-links h2 {
  font-size: 2.5em;
  color: var(--secondary-color);
  margin-bottom: 40px;
}

.page-resources-w88-latest-access-links h3 {
  font-size: 1.8em;
  color: inherit;
}

/* Paragraphs */
.page-resources-w88-latest-access-links p {
  margin-bottom: 15px;
  font-size: 1.1em;
}

/* Links within text */
.page-resources-w88-latest-access-links__text-link {
  color: var(--secondary-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-resources-w88-latest-access-links__text-link:hover {
  color: #FFD700; /* Lighter gold on hover */
}

/* Buttons */
.page-resources-w88-latest-access-links__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-resources-w88-latest-access-links__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: none;
  cursor: pointer;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.page-resources-w88-latest-access-links__btn-primary {
  background: var(--secondary-color);
  color: var(--primary-color);
}

.page-resources-w88-latest-access-links__btn-primary:hover {
  background: #FFD700;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-resources-w88-latest-access-links__btn-secondary {
  background: var(--primary-color);
  color: var(--text-light);
  border: 2px solid var(--secondary-color);
}

.page-resources-w88-latest-access-links__btn-secondary:hover {
  background: #071a47;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Images */
.page-resources-w88-latest-access-links img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Video Section */
.page-resources-w88-latest-access-links__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Adjust based on shared header height */
  background-color: var(--background-dark);
}

.page-resources-w88-latest-access-links__video-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-resources-w88-latest-access-links__video-link {
  display: block;
  text-decoration: none;
  position: relative;
  width: 100%;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-w88-latest-access-links__video-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-resources-w88-latest-access-links__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.page-resources-w88-latest-access-links__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
  object-fit: cover;
  pointer-events: none; /* Prevent video controls from interfering with click event */
}

.page-resources-w88-latest-access-links__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.page-resources-w88-latest-access-links__video-link:hover .page-resources-w88-latest-access-links__video-overlay {
  opacity: 1;
}

.page-resources-w88-latest-access-links__video-click-hint {
  color: #ffffff;
  font-size: 1.2em;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  padding: 10px 20px;
  background: rgba(var(--secondary-color-rgb, 224, 183, 59), 0.8);
  border-radius: 5px;
  white-space: nowrap;
}

.page-resources-w88-latest-access-links__video-cta {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

.page-resources-w88-latest-access-links__play-now-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--accent-color);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-w88-latest-access-links__play-now-button:hover {
  background: #cc0000;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Title Section */
.page-resources-w88-latest-access-links__title-section {
  padding: 80px 20px;
  text-align: center;
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-resources-w88-latest-access-links__main-title {
  font-size: 3.5em;
  margin-bottom: 25px;
  color: var(--secondary-color);
}

.page-resources-w88-latest-access-links__title-description {
  font-size: 1.2em;
  max-width: 900px;
  margin: 0 auto 40px auto;
  line-height: 1.8;
}

/* FAQ Section */
.page-resources-w88-latest-access-links__faq-section {
  padding: 80px 20px;
  background-color: var(--background-light);
  color: var(--text-dark);
}

.page-resources-w88-latest-access-links__faq-title {
  color: var(--primary-color);
  margin-bottom: 50px;
}

.page-resources-w88-latest-access-links__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-resources-w88-latest-access-links__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-resources-w88-latest-access-links__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-resources-w88-latest-access-links__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  color: var(--primary-color);
  pointer-events: none;
}

.page-resources-w88-latest-access-links__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-resources-w88-latest-access-links__faq-item.active .page-resources-w88-latest-access-links__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg); /* Optional: rotate for 'X' effect */
}

.page-resources-w88-latest-access-links__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 20px;
  opacity: 0;
  text-align: left;
}

.page-resources-w88-latest-access-links__faq-item.active .page-resources-w88-latest-access-links__faq-answer {
  max-height: 2000px !important;
  padding: 20px 20px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

/* Brand Section */
.page-resources-w88-latest-access-links__brand-section {
  padding: 80px 20px;
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-resources-w88-latest-access-links__brand-title {
  color: var(--secondary-color);
  margin-bottom: 50px;
}

.page-resources-w88-latest-access-links__brand-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: left;
}

.page-resources-w88-latest-access-links__brand-item {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Ensure equal height */
  display: flex;
  flex-direction: column;
}

.page-resources-w88-latest-access-links__brand-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-resources-w88-latest-access-links__brand-item h3 {
  color: var(--secondary-color);
  font-size: 1.5em;
  margin-bottom: 15px;
}

.page-resources-w88-latest-access-links__brand-item p {
  font-size: 1em;
  line-height: 1.7;
  flex-grow: 1;
}

.page-resources-w88-latest-access-links__brand-image {
  width: 100%;
  height: 200px;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

/* Blog Section */
.page-resources-w88-latest-access-links__blog-section {
  padding: 80px 20px;
  background-color: var(--background-light);
  color: var(--text-dark);
}

.page-resources-w88-latest-access-links__blog-title {
  color: var(--primary-color);
  margin-bottom: 50px;
}

.page-resources-w88-latest-access-links__blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-resources-w88-latest-access-links__blog-item {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
  height: 100%; /* Ensure equal height */
  display: flex;
  flex-direction: column;
}

.page-resources-w88-latest-access-links__blog-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-resources-w88-latest-access-links__blog-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page-resources-w88-latest-access-links__blog-item-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid var(--border-color);
}

.page-resources-w88-latest-access-links__blog-item-title {
  font-size: 1.3em;
  color: var(--primary-color);
  padding: 20px 20px 10px 20px;
  margin-bottom: 0;
  line-height: 1.4;
}

.page-resources-w88-latest-access-links__blog-item-excerpt {
  font-size: 0.95em;
  color: #666;
  padding: 0 20px 15px 20px;
  flex-grow: 1;
}

.page-resources-w88-latest-access-links__blog-item-date {
  font-size: 0.85em;
  color: #999;
  padding: 0 20px 20px 20px;
  display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-w88-latest-access-links h1 {
    font-size: 2.8em;
  }
  .page-resources-w88-latest-access-links h2 {
    font-size: 2.2em;
  }
  .page-resources-w88-latest-access-links__main-title {
    font-size: 3em;
  }
  .page-resources-w88-latest-access-links__cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-resources-w88-latest-access-links {
    font-size: 16px;
    line-height: 1.6;
  }
  
  .page-resources-w88-latest-access-links__video-section {
    padding-top: 10px !important; /* Mobile: Adjust based on mobile header height */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  
  .page-resources-w88-latest-access-links__video-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden !important;
  }
  
  .page-resources-w88-latest-access-links__video-link {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .page-resources-w88-latest-access-links__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 4px;
    overflow: hidden !important;
  }
  
  .page-resources-w88-latest-access-links__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 4px;
    object-fit: contain;
  }
  
  .page-resources-w88-latest-access-links__video-click-hint {
    font-size: 14px !important;
    padding: 8px 16px !important;
  }
  
  .page-resources-w88-latest-access-links__video-cta {
    margin-top: 20px;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .page-resources-w88-latest-access-links__play-now-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 30px !important;
    font-size: 16px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-resources-w88-latest-access-links__section {
    padding: 40px 15px;
  }

  .page-resources-w88-latest-access-links__container {
    padding: 0 15px;
  }

  .page-resources-w88-latest-access-links h1 {
    font-size: 2em;
  }

  .page-resources-w88-latest-access-links h2 {
    font-size: 1.8em;
  }

  .page-resources-w88-latest-access-links h3 {
    font-size: 1.3em;
  }
  
  .page-resources-w88-latest-access-links__main-title {
    font-size: 2.5em;
  }

  .page-resources-w88-latest-access-links__title-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-resources-w88-latest-access-links__cta-buttons {
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .page-resources-w88-latest-access-links__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
  }

  .page-resources-w88-latest-access-links__faq-question {
    padding: 15px;
  }

  .page-resources-w88-latest-access-links__faq-question h3 {
    font-size: 1em;
  }

  .page-resources-w88-latest-access-links__faq-toggle {
    font-size: 1.3em;
    width: 24px;
    height: 24px;
  }

  .page-resources-w88-latest-access-links__faq-answer {
    padding: 0 15px;
  }

  .page-resources-w88-latest-access-links__faq-item.active .page-resources-w88-latest-access-links__faq-answer {
    padding: 15px !important;
  }

  .page-resources-w88-latest-access-links__brand-content {
    grid-template-columns: 1fr;
  }

  .page-resources-w88-latest-access-links__brand-item {
    padding: 25px;
  }

  .page-resources-w88-latest-access-links__blog-list {
    grid-template-columns: 1fr;
  }

  .page-resources-w88-latest-access-links__blog-item-title {
    font-size: 1.1em;
  }

  .page-resources-w88-latest-access-links__blog-item-excerpt,
  .page-resources-w88-latest-access-links__blog-item-date {
    font-size: 0.9em;
  }
  
  .page-resources-w88-latest-access-links img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-resources-w88-latest-access-links__brand-image,
  .page-resources-w88-latest-access-links__blog-item-image {
    height: 180px;
  }

  .page-resources-w88-latest-access-links__blog-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }

  .page-resources-w88-latest-access-links__blog-item-title,
  .page-resources-w88-latest-access-links__blog-item-excerpt,
  .page-resources-w88-latest-access-links__blog-item-date {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-resources-w88-latest-access-links h1 {
    font-size: 1.8em;
  }
  .page-resources-w88-latest-access-links h2 {
    font-size: 1.6em;
  }
  .page-resources-w88-latest-access-links__main-title {
    font-size: 2em;
  }
  .page-resources-w88-latest-access-links__video-click-hint {
    font-size: 12px !important;
    padding: 6px 12px !important;
  }
  .page-resources-w88-latest-access-links__play-now-button {
    font-size: 15px !important;
    padding: 10px 25px !important;
  }
}