.page-resources {
  --primary-color: #003366;
  --secondary-color: #FFCC00;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #000000; /* Body background from shared.css */
  --bg-light-section: #f0f0f0;
  --card-bg-dark: rgba(255, 255, 255, 0.08);
  --border-color: rgba(255, 255, 255, 0.15);

  color: var(--text-light); /* Default text color for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

/* Ensure main content has top padding to avoid header overlap */
.page-content.page-resources {
  padding-top: 120px; /* Adjust based on shared header height */
}

@media (max-width: 768px) {
  .page-content.page-resources {
    padding-top: 100px; /* Adjust for mobile shared header height */
  }
}

/* Video Section */
.page-resources__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Desktop: Adjust according to navigation bar height */
  background: var(--bg-dark);
}

.page-resources__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__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__video-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

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

.page-resources__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 blocking click event */
}

.page-resources__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__video-link:hover .page-resources__video-overlay {
  opacity: 1;
}

.page-resources__video-click-hint {
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  padding: 10px 20px;
  background: rgba(255, 204, 0, 0.8); /* Using secondary color directly */
  border-radius: 5px;
  white-space: nowrap;
}

.page-resources__video-cta {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}