/* style/news-regulation-updates.css */

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

.page-news-regulation-updates__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-news-regulation-updates__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: #08160F;
}

.page-news-regulation-updates__hero-image {
  width: 100%;
  max-width: 1200px;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
}

.page-news-regulation-updates__hero-content {
  text-align: center;
  margin-top: 40px;
  max-width: 800px;
}

.page-news-regulation-updates__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  line-height: 1.2;
  margin-bottom: 20px;
}

.page-news-regulation-updates__description {
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

/* Content Area */
.page-news-regulation-updates__content-area {
  padding: 60px 20px;
  background-color: #08160F; /* Background */
  color: #F2FFF6; /* Text Main */
}

.page-news-regulation-updates__section-title {
  font-size: 2.2rem;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  margin-top: 50px;
  margin-bottom: 30px;
  text-align: center;
}

.page-news-regulation-updates__sub-title {
  font-size: 1.6rem;
  font-weight: 500;
  color: #F2FFF6; /* Text Main */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-news-regulation-updates__text-block {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
}

.page-news-regulation-updates__inline-link {
  color: #57E38D; /* Glow */
  text-decoration: underline;
}

.page-news-regulation-updates__inline-link:hover {
  color: #2AD16F; /* Slightly darker green for hover */
}

/* Image with Text Block */
.page-news-regulation-updates__image-text-block {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-bottom: 50px;
}

.page-news-regulation-updates__image-text-block--reversed {
  flex-direction: row-reverse;
}

.page-news-regulation-updates__image-item {
  width: 50%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-news-regulation-updates__text-content {
  width: 50%;
}

/* Bullet List */
.page-news-regulation-updates__bullet-list {
  list-style: none;
  padding: 0;
  margin-bottom: 50px;
}

.page-news-regulation-updates__list-item {
  background-color: #11271B; /* Card BG */
  border-left: 5px solid #2AD16F; /* Button gradient start */
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Card Grid */
.page-news-regulation-updates__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 60px;
}

.page-news-regulation-updates__card {
  background: #11271B; /* Card BG */
  color: #F2FFF6; /* Text Main */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
}

.page-news-regulation-updates__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-news-regulation-updates__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  padding: 20px 20px 10px;
  color: #F2FFF6; /* Text Main */
}

.page-news-regulation-updates__card-text {
  font-size: 0.95rem;
  color: #A7D9B8; /* Text Secondary */
  padding: 0 20px 20px;
  flex-grow: 1;
}

/* Call to Action */
.page-news-regulation-updates__cta-section {
  text-align: center;
  background-color: #0A4B2C; /* Deep Green */
  padding: 40px;
  border-radius: 10px;
  margin-top: 60px;
}

.page-news-regulation-updates__cta-text {
  font-size: 1.5rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 25px;
}

/* Buttons */
.page-news-regulation-updates__btn-primary {
  display: inline-block;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-news-regulation-updates__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 7px 20px rgba(0, 0, 0, 0.4);
}

/* FAQ Section */
.page-news-regulation-updates__faq-list {
  margin-top: 40px;
  margin-bottom: 60px;
}

.page-news-regulation-updates__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-news-regulation-updates__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  background-color: #11271B; /* Card BG */
  user-select: none;
  list-style: none; /* For details/summary */
}

.page-news-regulation-updates__faq-question::-webkit-details-marker {
  display: none;
}

.page-news-regulation-updates__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #57E38D; /* Glow */
}

.page-news-regulation-updates__faq-item[open] .page-news-regulation-updates__faq-toggle {
  transform: rotate(45deg);
}

.page-news-regulation-updates__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-news-regulation-updates__image-text-block {
    flex-direction: column;
  }

  .page-news-regulation-updates__image-text-block--reversed {
    flex-direction: column;
  }

  .page-news-regulation-updates__image-item,
  .page-news-regulation-updates__text-content {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-news-regulation-updates__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-news-regulation-updates__hero-image {
    max-width: 100% !important;
    height: auto !important;
    width: 100% !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-news-regulation-updates__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .page-news-regulation-updates__description {
    font-size: 1rem;
  }

  .page-news-regulation-updates__content-area {
    padding: 40px 15px;
  }

  .page-news-regulation-updates__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-news-regulation-updates__section-title {
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 25px;
  }

  .page-news-regulation-updates__sub-title {
    font-size: 1.3rem;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-news-regulation-updates__text-block {
    font-size: 0.95rem;
  }

  /* Image responsiveness */
  .page-news-regulation-updates img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
  
  .page-news-regulation-updates__image-item {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-news-regulation-updates__card-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  /* Button responsiveness */
  .page-news-regulation-updates__btn-primary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px !important;
    font-size: 1rem !important;
  }

  .page-news-regulation-updates__cta-section {
    padding: 30px 15px;
  }

  .page-news-regulation-updates__cta-text {
    font-size: 1.2rem;
  }

  .page-news-regulation-updates__card-grid {
    grid-template-columns: 1fr;
  }

  .page-news-regulation-updates__card {
    margin-bottom: 20px;
  }

  .page-news-regulation-updates__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }

  .page-news-regulation-updates__faq-answer {
    padding: 0 20px 15px;
  }
}