/* style/resources-33win-1-latest-updates.css */

/* Base styles for the page content */
.page-resources-33win-1-latest-updates {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

/* Hero Section */
.page-resources-33win-1-latest-updates__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  text-align: center;
  overflow: hidden;
  min-height: 600px;
  background: linear-gradient(135deg, #017439, #004d2b); /* Gradient using brand color */
  color: #ffffff;
}

.page-resources-33win-1-latest-updates__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.2; /* Subtle background image */
}

.page-resources-33win-1-latest-updates__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-resources-33win-1-latest-updates__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.page-resources-33win-1-latest-updates__main-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-33win-1-latest-updates__intro-text {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-resources-33win-1-latest-updates__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* General button styles */
.page-resources-33win-1-latest-updates__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-resources-33win-1-latest-updates__btn--primary {
  background-color: #C30808; /* Register color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-resources-33win-1-latest-updates__btn--primary:hover {
  background-color: #e00a0a;
  transform: translateY(-2px);
}

.page-resources-33win-1-latest-updates__btn--secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-resources-33win-1-latest-updates__btn--secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Content Area */
.page-resources-33win-1-latest-updates__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.page-resources-33win-1-latest-updates__section-title {
  font-size: 2.5em;
  color: #017439; /* Brand color for titles */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-resources-33win-1-latest-updates__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #C30808; /* Accent color for underline */
  border-radius: 2px;
}

.page-resources-33win-1-latest-updates__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0; /* Light text for dark body background */
  text-align: justify;
}

/* Article Grid */
.page-resources-33win-1-latest-updates__article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
  margin-bottom: 60px;
}

.page-resources-33win-1-latest-updates__article-card {
  background: rgba(255, 255, 255, 0.05); /* Slightly transparent white for cards */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-resources-33win-1-latest-updates__article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-resources-33win-1-latest-updates__article-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-resources-33win-1-latest-updates__article-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-resources-33win-1-latest-updates__article-title {
  font-size: 1.4em;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources-33win-1-latest-updates__article-title a {
  color: #ffffff; /* White text for links in dark cards */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-resources-33win-1-latest-updates__article-title a:hover {
  color: #017439; /* Brand color on hover */
}

.page-resources-33win-1-latest-updates__article-summary {
  font-size: 0.95em;
  color: #cccccc;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-resources-33win-1-latest-updates__read-more {
  display: inline-block;
  color: #017439; /* Brand color for read more links */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
  margin-top: auto; /* Push to bottom */
}

.page-resources-33win-1-latest-updates__read-more:hover {
  color: #C30808; /* Accent color on hover */
  text-decoration: underline;
}

/* CTA Block */
.page-resources-33win-1-latest-updates__cta-block {
  background: #017439; /* Brand color background */
  padding: 50px 30px;
  border-radius: 10px;
  text-align: center;
  margin: 60px auto;
  max-width: 900px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  color: #ffffff;
}

.page-resources-33win-1-latest-updates__cta-title {
  font-size: 2em;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-resources-33win-1-latest-updates__cta-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

/* Video Section */
.page-resources-33win-1-latest-updates__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 960px; /* Max width for video */
  margin: 40px auto;
  background-color: #000;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-resources-33win-1-latest-updates__video {
  width: 100%;
  height: auto;
  display: block;
}

.page-resources-33win-1-latest-updates__video-overlay-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2; /* Above video controls */
  cursor: pointer;
}

/* FAQ Section */
.page-resources-33win-1-latest-updates__faq-container {
  max-width: 800px;
  margin: 50px auto;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-33win-1-latest-updates__faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 15px 0;
}

.page-resources-33win-1-latest-updates__faq-item:last-child {
  border-bottom: none;
}

.page-resources-33win-1-latest-updates__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  padding: 10px 0;
  transition: color 0.3s ease;
}

.page-resources-33win-1-latest-updates__faq-question:hover {
  color: #017439; /* Brand color on hover */
}

.page-resources-33win-1-latest-updates__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #C30808; /* Accent color for toggle */
}

.page-resources-33win-1-latest-updates__faq-item.active .page-resources-33win-1-latest-updates__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-33win-1-latest-updates__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 15px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #cccccc;
}

.page-resources-33win-1-latest-updates__faq-item.active .page-resources-33win-1-latest-updates__faq-answer {
  max-height: 1000px !important; /* Sufficiently large */
  padding: 15px;
}

.page-resources-33win-1-latest-updates__faq-answer p {
  margin-bottom: 0; /* Remove default paragraph margin */
  color: #cccccc;
}

.page-resources-33win-1-latest-updates__faq-answer a {
  color: #017439; /* Brand color for links in FAQ answer */
  text-decoration: none;
}

.page-resources-33win-1-latest-updates__faq-answer a:hover {
  text-decoration: underline;
}

/* Feature Grid */
.page-resources-33win-1-latest-updates__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-resources-33win-1-latest-updates__feature-item {
  background: #ffffff; /* White background for light section */
  color: #333333; /* Dark text for light background */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-33win-1-latest-updates__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.page-resources-33win-1-latest-updates__feature-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-33win-1-latest-updates__feature-title {
  font-size: 1.6em;
  color: #017439; /* Brand color for feature titles */
  margin-bottom: 15px;
}

.page-resources-33win-1-latest-updates__feature-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
}

/* Newsletter Signup */
.page-resources-33win-1-latest-updates__newsletter-signup {
  padding: 60px 20px;
  text-align: center;
  background: linear-gradient(90deg, #017439, #004d2b); /* Brand color gradient */
  color: #ffffff;
  margin-top: 60px;
}

.page-resources-33win-1-latest-updates__newsletter-form {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-resources-33win-1-latest-updates__form-input {
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-size: 1em;
  width: 100%;
  max-width: 350px;
  box-sizing: border-box;
  color: #333333;
}

.page-resources-33win-1-latest-updates__form-input::placeholder {
  color: #888888;
}

/* Color contrast classes */
.page-resources-33win-1-latest-updates__dark-bg {
  background-color: #0d0d0d; /* Slightly lighter than #000000 for sections */
  color: #ffffff;
}

.page-resources-33win-1-latest-updates__light-bg {
  background-color: #ffffff;
  color: #333333;
  padding: 60px 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-33win-1-latest-updates__main-title {
    font-size: 2.8em;
  }
  .page-resources-33win-1-latest-updates__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-resources-33win-1-latest-updates {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-resources-33win-1-latest-updates__hero-section {
    padding: 60px 15px;
    min-height: 500px;
  }

  .page-resources-33win-1-latest-updates__main-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

  .page-resources-33win-1-latest-updates__intro-text {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-resources-33win-1-latest-updates__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-33win-1-latest-updates__btn {
    padding: 12px 20px;
    width: 100% !important; /* Enforce full width */
  }

  .page-resources-33win-1-latest-updates__content-area,
  .page-resources-33win-1-latest-updates__light-bg,
  .page-resources-33win-1-latest-updates__dark-bg {
    padding: 40px 15px;
  }

  .page-resources-33win-1-latest-updates__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-resources-33win-1-latest-updates__paragraph {
    font-size: 1em;
  }

  .page-resources-33win-1-latest-updates__article-grid,
  .page-resources-33win-1-latest-updates__feature-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-resources-33win-1-latest-updates__article-card {
    margin-bottom: 20px;
  }

  .page-resources-33win-1-latest-updates__cta-block {
    padding: 40px 20px;
    margin: 40px auto;
  }

  .page-resources-33win-1-latest-updates__cta-title {
    font-size: 1.6em;
  }

  .page-resources-33win-1-latest-updates__cta-description {
    font-size: 0.95em;
  }

  .page-resources-33win-1-latest-updates__video-wrapper {
    margin: 30px auto;
  }

  .page-resources-33win-1-latest-updates__faq-container {
    padding: 15px;
    margin: 30px auto;
  }

  .page-resources-33win-1-latest-updates__faq-question {
    font-size: 1.1em;
    padding: 8px 0;
  }

  .page-resources-33win-1-latest-updates__faq-answer {
    padding: 0 10px;
  }
  
  .page-resources-33win-1-latest-updates__faq-item.active .page-resources-33win-1-latest-updates__faq-answer {
    padding: 10px !important;
  }

  .page-resources-33win-1-latest-updates__newsletter-form {
    flex-direction: column;
    gap: 10px;
  }

  .page-resources-33win-1-latest-updates__form-input {
    max-width: 100%;
  }

  /* Image and Video responsive rules for mobile */
  .page-resources-33win-1-latest-updates img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-resources-33win-1-latest-updates video,
  .page-resources-33win-1-latest-updates__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-resources-33win-1-latest-updates__section,
  .page-resources-33win-1-latest-updates__card,
  .page-resources-33win-1-latest-updates__container,
  .page-resources-33win-1-latest-updates__video-section,
  .page-resources-33win-1-latest-updates__video-container,
  .page-resources-33win-1-latest-updates__video-wrapper,
  .page-resources-33win-1-latest-updates__cta-buttons,
  .page-resources-33win-1-latest-updates__button-group,
  .page-resources-33win-1-latest-updates__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-resources-33win-1-latest-updates__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column; /* For vertical stacking of buttons on mobile */
  }
  .page-resources-33win-1-latest-updates__newsletter-form {
    padding-left: 15px;
    padding-right: 15px;
  }
}