/* style/blog-winph-latest-news.css */
:root {
  --primary-color: #F2C14E;
  --secondary-color: #FFD36B;
  --background-dark: #0A0A0A;
  --card-bg: #111111;
  --text-light: #FFF6D6;
  --border-color: #3A2A12;
  --glow-color: #FFD36B;
  --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

.page-blog-winph-latest-news {
  color: var(--text-light); /* Based on dark background */
  background-color: var(--background-dark);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
}

.page-blog-winph-latest-news h1,
.page-blog-winph-latest-news h2,
.page-blog-winph-latest-news h3 {
  color: var(--text-light);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-blog-winph-latest-news a {
  color: var(--secondary-color);
  text-decoration: none;
}

.page-blog-winph-latest-news a:hover {
  text-decoration: underline;
}

.page-blog-winph-latest-news__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  overflow: hidden;
}

.page-blog-winph-latest-news__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-blog-winph-latest-news__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text readability */
}

.page-blog-winph-latest-news__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.page-blog-winph-latest-news__main-title {
  font-size: clamp(2.5rem, 5vw, 4rem); /* Responsive H1 font size */
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-blog-winph-latest-news__hero-description {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-winph-latest-news__hero-ctas {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-blog-winph-latest-news__btn-primary,
.page-blog-winph-latest-news__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.page-blog-winph-latest-news__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-blog-winph-latest-news__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  opacity: 0.9;
}

.page-blog-winph-latest-news__btn-secondary {
  background: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.page-blog-winph-latest-news__btn-secondary:hover {
  background: var(--secondary-color);
  color: var(--background-dark);
  transform: translateY(-3px);
}

.page-blog-winph-latest-news__section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  text-align: center;
  margin-bottom: 40px;
  margin-top: 60px;
  position: relative;
}

.page-blog-winph-latest-news__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--secondary-color);
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-blog-winph-latest-news__featured-articles,
.page-blog-winph-latest-news__latest-updates,
.page-blog-winph-latest-news__faq-section,
.page-blog-winph-latest-news__cta-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-blog-winph-latest-news__articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-blog-winph-latest-news__article-card {
  background: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease;
}

.page-blog-winph-latest-news__article-card:hover {
  transform: translateY(-5px);
}

.page-blog-winph-latest-news__article-image {
  width: 100%;
  height: 225px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-blog-winph-latest-news__article-content {
  padding: 25px;
}

.page-blog-winph-latest-news__article-title {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.page-blog-winph-latest-news__article-title a {
  color: var(--text-light);
  text-decoration: none;
}

.page-blog-winph-latest-news__article-title a:hover {
  color: var(--secondary-color);
}

.page-blog-winph-latest-news__article-meta {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 15px;
}

.page-blog-winph-latest-news__article-excerpt {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 20px;
}

.page-blog-winph-latest-news__read-more {
  color: var(--secondary-color);
  font-weight: bold;
  display: inline-block;
  position: relative;
}

.page-blog-winph-latest-news__read-more::after {
  content: '→';
  margin-left: 5px;
  transition: margin-left 0.3s ease;
}

.page-blog-winph-latest-news__read-more:hover::after {
  margin-left: 10px;
}

.page-blog-winph-latest-news__articles-list {
  display: grid;
  gap: 25px;
}

.page-blog-winph-latest-news__list-item {
  background: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.page-blog-winph-latest-news__list-item:hover {
  transform: translateY(-3px);
}

.page-blog-winph-latest-news__list-image {
  width: 300px; /* Fixed width for list items */
  height: 200px; /* Fixed height for list items */
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}

.page-blog-winph-latest-news__list-content {
  padding: 20px;
}

.page-blog-winph-latest-news__list-title {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.page-blog-winph-latest-news__list-title a {
  color: var(--text-light);
  text-decoration: none;
}

.page-blog-winph-latest-news__list-title a:hover {
  color: var(--secondary-color);
}

.page-blog-winph-latest-news__list-meta {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 10px;
}

.page-blog-winph-latest-news__list-excerpt {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
}

.page-blog-winph-latest-news__view-all-button-container {
  text-align: center;
  margin-top: 40px;
}

.page-blog-winph-latest-news__faq-list {
  margin-top: 30px;
}

.page-blog-winph-latest-news__faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-blog-winph-latest-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: bold;
  color: var(--text-light);
  transition: background-color 0.3s ease;
}

.page-blog-winph-latest-news__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.page-blog-winph-latest-news__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--secondary-color);
}

.page-blog-winph-latest-news__faq-item.active .page-blog-winph-latest-news__faq-toggle {
  transform: rotate(45deg); /* For '-' symbol, a plus rotated 45deg can look like an X or a dash */
}

.page-blog-winph-latest-news__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: rgba(255, 255, 255, 0.8);
}

.page-blog-winph-latest-news__faq-item.active .page-blog-winph-latest-news__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value */
  padding: 15px 25px;
}

.page-blog-winph-latest-news__faq-answer p {
  margin-bottom: 0;
}

.page-blog-winph-latest-news__cta-section {
  background: var(--card-bg);
  border-radius: 15px;
  padding: 60px 40px;
  text-align: center;
  margin-top: 60px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.page-blog-winph-latest-news__cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(255, 211, 107, 0.1) 0%, transparent 70%);
  opacity: 0.3;
  animation: rotateGlow 20s linear infinite;
}

@keyframes rotateGlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.page-blog-winph-latest-news__cta-content {
  position: relative;
  z-index: 1;
}

.page-blog-winph-latest-news__cta-title {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.page-blog-winph-latest-news__cta-description {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: rgba(255, 255, 255, 0.9);
}

.page-blog-winph-latest-news__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-blog-winph-latest-news__hero-content {
    padding: 15px;
  }

  .page-blog-winph-latest-news__main-title {
    font-size: clamp(2.2rem, 5.5vw, 3.5rem);
  }

  .page-blog-winph-latest-news__hero-description {
    font-size: 1.1rem;
  }

  .page-blog-winph-latest-news__list-item {
    flex-direction: column;
    text-align: center;
  }

  .page-blog-winph-latest-news__list-image {
    width: 100%;
    height: 250px;
  }
}

@media (max-width: 768px) {
  .page-blog-winph-latest-news {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-blog-winph-latest-news__hero-section {
    padding: 60px 15px;
    padding-top: 10px;
  }

  .page-blog-winph-latest-news__main-title {
    font-size: clamp(2rem, 6.5vw, 3rem);
  }

  .page-blog-winph-latest-news__hero-description {
    font-size: 1rem;
  }

  .page-blog-winph-latest-news__hero-ctas,
  .page-blog-winph-latest-news__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }

  .page-blog-winph-latest-news__btn-primary,
  .page-blog-winph-latest-news__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-blog-winph-latest-news__featured-articles,
  .page-blog-winph-latest-news__latest-updates,
  .page-blog-winph-latest-news__faq-section,
  .page-blog-winph-latest-news__cta-section {
    padding: 30px 15px;
  }

  .page-blog-winph-latest-news__section-title {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
    margin-bottom: 30px;
  }

  .page-blog-winph-latest-news__articles-grid {
    grid-template-columns: 1fr;
  }

  .page-blog-winph-latest-news__article-image {
    height: 200px;
  }

  .page-blog-winph-latest-news__article-content,
  .page-blog-winph-latest-news__list-content {
    padding: 20px;
  }

  .page-blog-winph-latest-news__list-item {
    flex-direction: column;
  }

  .page-blog-winph-latest-news__list-image {
    width: 100% !important;
    height: 200px !important;
    max-width: 100% !important;
  }

  .page-blog-winph-latest-news__list-title {
    font-size: 1.15rem;
  }

  .page-blog-winph-latest-news__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-blog-winph-latest-news__faq-answer {
    padding: 0 20px;
  }

  .page-blog-winph-latest-news__faq-item.active .page-blog-winph-latest-news__faq-answer {
    padding: 10px 20px;
  }

  .page-blog-winph-latest-news__cta-section {
    padding: 40px 20px;
  }

  .page-blog-winph-latest-news__cta-title {
    font-size: clamp(1.8rem, 5.5vw, 2.8rem);
  }

  /* Ensure all images are responsive */
  .page-blog-winph-latest-news img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
  }

  .page-blog-winph-latest-news__section,
  .page-blog-winph-latest-news__card,
  .page-blog-winph-latest-news__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}