/* style/blog-fp88-latest-news.css */

/* Base styles for the page */
.page-blog-fp88-latest-news {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
}

.page-blog-fp88-latest-news__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-blog-fp88-latest-news__section {
  padding: 60px 0;
  text-align: center;
}

.page-blog-fp88-latest-news__section-title {
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 40px;
  color: #F2FFF6; /* Text Main */
}

.page-blog-fp88-latest-news__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #A7D9B8; /* Text Secondary */
  text-align: left;
}

.text-main {
  color: #F2FFF6;
}

/* Hero Section */
.page-blog-fp88-latest-news__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles header offset */
}

.page-blog-fp88-latest-news__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-blog-fp88-latest-news__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 40px;
  background: rgba(17, 39, 27, 0.7); /* Card B G with opacity */
  border-radius: 10px;
  text-align: center;
}

.page-blog-fp88-latest-news__hero-title {
  font-size: 3em;
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-blog-fp88-latest-news__hero-description {
  font-size: 1.2em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

/* CTA Button */
.page-blog-fp88-latest-news__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #F2FFF6; /* Text Main */
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-blog-fp88-latest-news__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Introduction Section */
.page-blog-fp88-latest-news__introduction .page-blog-fp88-latest-news__text-block {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Highlights Section */
.page-blog-fp88-latest-news__highlights {
  background-color: #0A4B2C; /* Deep Green */
}

.page-blog-fp88-latest-news__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog-fp88-latest-news__highlight-item {
  background-color: #11271B; /* Card B G */
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border */
}

.page-blog-fp88-latest-news__highlight-title {
  font-size: 1.5em;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
}

.page-blog-fp88-latest-news__highlight-item .page-blog-fp88-latest-news__text-block {
  color: #A7D9B8; /* Text Secondary */
}

.page-blog-fp88-latest-news__highlight-item a {
  color: #57E38D; /* Glow */
  text-decoration: underline;
}

.page-blog-fp88-latest-news__highlight-item a:hover {
  color: #F2FFF6; /* Text Main */
}

/* Latest Articles Section */
.page-blog-fp88-latest-news__latest-articles {
  background-color: #08160F; /* Background */
}

.page-blog-fp88-latest-news__article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog-fp88-latest-news__article-card {
  background-color: #11271B; /* Card B G */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border */
  text-align: left;
  display: flex;
  flex-direction: column;
}

.page-blog-fp88-latest-news__article-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block; /* Ensure it doesn't have extra space below */
}

.page-blog-fp88-latest-news__article-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-blog-fp88-latest-news__article-title {
  font-size: 1.3em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-blog-fp88-latest-news__article-title a {
  color: inherit;
  text-decoration: none;
}

.page-blog-fp88-latest-news__article-title a:hover {
  color: #57E38D; /* Glow */
}

.page-blog-fp88-latest-news__article-meta {
  font-size: 0.9em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 15px;
}

.page-blog-fp88-latest-news__article-excerpt {
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-blog-fp88-latest-news__read-more {
  display: inline-block;
  color: #57E38D; /* Glow */
  text-decoration: none;
  font-weight: bold;
  margin-top: auto; /* Push to bottom */
}

.page-blog-fp88-latest-news__read-more:hover {
  text-decoration: underline;
}

.page-blog-fp88-latest-news__view-all-button-container {
  margin-top: 40px;
}

/* FAQ Section */
.page-blog-fp88-latest-news__faq-section {
  background-color: #0A4B2C; /* Deep Green */
}

.page-blog-fp88-latest-news__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page-blog-fp88-latest-news__faq-item {
  background-color: #11271B; /* Card B G */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-blog-fp88-latest-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.1em;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  background-color: #11271B; /* Card B G */
  border-bottom: 1px solid #2E7A4E; /* Divider */
}

.page-blog-fp88-latest-news__faq-item[open] .page-blog-fp88-latest-news__faq-question {
  border-bottom: 1px solid #2E7A4E;
}

.page-blog-fp88-latest-news__faq-qtext {
  flex-grow: 1;
}

.page-blog-fp88-latest-news__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #F2C14E; /* Gold */
}

.page-blog-fp88-latest-news__faq-item[open] .page-blog-fp88-latest-news__faq-toggle {
  content: '−';
}

.page-blog-fp88-latest-news__faq-answer {
  padding: 15px 25px 20px 25px;
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  background-color: #0E2018; /* Slightly darker than Card B G */
}

.page-blog-fp88-latest-news__faq-answer p {
  margin-bottom: 0;
  color: #A7D9B8;
}

/* Remove default marker for details/summary */
.page-blog-fp88-latest-news__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-blog-fp88-latest-news__faq-item summary {
  list-style: none;
}


/* CTA Banner Section */
.page-blog-fp88-latest-news__cta-banner {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #08160F; /* Background */
}

.page-blog-fp88-latest-news__cta-banner-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.3; /* Slightly transparent */
}

.page-blog-fp88-latest-news__cta-banner-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  background: rgba(17, 39, 27, 0.8); /* Card B G with opacity */
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-blog-fp88-latest-news__cta-banner-title {
  font-size: 2.8em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
}

.page-blog-fp88-latest-news__cta-banner-description {
  font-size: 1.2em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 40px;
}

.page-blog-fp88-latest-news__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  width: 100%;
}

.page-blog-fp88-latest-news__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #F2FFF6;
}

.page-blog-fp88-latest-news__btn-secondary {
  background: #11271B; /* Card B G */
  color: #57E38D; /* Glow */
  border: 2px solid #57E38D;
}

.page-blog-fp88-latest-news__btn-secondary:hover {
  background: #0A4B2C; /* Deep Green */
  color: #F2FFF6;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog-fp88-latest-news__hero-title {
    font-size: 2.5em;
  }
  .page-blog-fp88-latest-news__section-title {
    font-size: 2em;
  }
  .page-blog-fp88-latest-news__cta-banner-title {
    font-size: 2.2em;
  }
  .page-blog-fp88-latest-news__article-image {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .page-blog-fp88-latest-news {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-blog-fp88-latest-news__hero-section {
    height: 500px;
    padding-top: 10px !important;
  }
  .page-blog-fp88-latest-news__hero-content {
    padding: 30px;
  }
  .page-blog-fp88-latest-news__hero-title {
    font-size: 2em;
  }
  .page-blog-fp88-latest-news__hero-description {
    font-size: 1em;
  }
  .page-blog-fp88-latest-news__section {
    padding: 40px 0;
  }
  .page-blog-fp88-latest-news__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-blog-fp88-latest-news__grid,
  .page-blog-fp88-latest-news__article-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-blog-fp88-latest-news__article-image {
    height: 180px;
  }
  .page-blog-fp88-latest-news__cta-banner-title {
    font-size: 1.8em;
  }
  .page-blog-fp88-latest-news__cta-banner-description {
    font-size: 1em;
  }
  .page-blog-fp88-latest-news__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-blog-fp88-latest-news__cta-button,
  .page-blog-fp88-latest-news__btn-primary,
  .page-blog-fp88-latest-news__btn-secondary,
  .page-blog-fp88-latest-news a[class*="button"],
  .page-blog-fp88-latest-news a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-blog-fp88-latest-news__cta-buttons,
  .page-blog-fp88-latest-news__button-group,
  .page-blog-fp88-latest-news__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-blog-fp88-latest-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-blog-fp88-latest-news__section,
  .page-blog-fp88-latest-news__card,
  .page-blog-fp88-latest-news__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-blog-fp88-latest-news__faq-question {
    padding: 15px 20px;
  }
  .page-blog-fp88-latest-news__faq-answer {
    padding: 10px 20px 15px 20px;
  }
}