.page-news__hero-section { display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; width: 100%; overflow: hidden; background: linear-gradient(180deg, #2F6BFF 0%, #6FA3FF 100%); padding-top: 10px; }
.page-news__hero-image { width: 100%; height: 600px; object-fit: cover; display: block; }
.page-news__hero-content { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; color: #ffffff; max-width: 900px; padding: 20px; box-sizing: border-box; }
.page-news__main-title { font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 700; line-height: 1.2; margin-bottom: 15px; color: #ffffff; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); }
.page-news__description { font-size: clamp(1rem, 2vw, 1.25rem); line-height: 1.6; margin-bottom: 30px; color: #f0f0f0; }
.page-news__cta-button { display: inline-block; background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); color: #ffffff; padding: 12px 30px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 1.1rem; transition: all 0.3s ease; border: none; cursor: pointer; }
.page-news__cta-button:hover { transform: translateY(-3px); box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); }
.page-news__cta-button--light { background: #ffffff; color: #2F6BFF; border: 2px solid #2F6BFF; }
.page-news__cta-button--light:hover { background: #f0f0f0; }

.page-news__section-padding { padding: 60px 0; }
.page-news__container { max-width: 1200px; margin: 0 auto; padding: 0 15px; box-sizing: border-box; }
.page-news__section-title { font-size: 2.5rem; font-weight: 700; text-align: center; margin-bottom: 40px; color: #1F2D3D; }
.page-news__section-title--light { color: #ffffff; }

.page-news__news-grid, .page-news__update-grid, .page-news__guide-grid, .page-news__event-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.page-news__news-card, .page-news__update-item, .page-news__guide-item, .page-news__event-item { background: #ffffff; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); transition: transform 0.3s ease; }
.page-news__news-card:hover, .page-news__guide-item:hover, .page-news__event-item:hover { transform: translateY(-5px); }
.page-news__card-image, .page-news__update-image, .page-news__guide-image, .page-news__event-image { width: 100%; height: 250px; object-fit: cover; display: block; }
.page-news__card-content { padding: 20px; }
.page-news__card-title { font-size: 1.5rem; font-weight: 600; margin-bottom: 10px; line-height: 1.4; }
.page-news__card-title a { color: #1F2D3D; text-decoration: none; transition: color 0.3s ease; }
.page-news__card-title a:hover { color: #2F6BFF; }
.page-news__card-date { font-size: 0.9rem; color: #666666; margin-bottom: 10px; }
.page-news__card-excerpt { font-size: 1rem; color: #333333; line-height: 1.6; margin-bottom: 20px; }
.page-news__read-more { display: inline-block; color: #2F6BFF; text-decoration: none; font-weight: 600; transition: color 0.3s ease; }
.page-news__read-more:hover { text-decoration: underline; }
.page-news__read-more--light { color: #A5C4FF; }
.page-news__read-more--light:hover { color: #ffffff; }

.page-news__button-container { text-align: center; margin-top: 40px; }

.page-news__dark-section { background: #2F6BFF; color: #ffffff; }
.page-news__update-item { background: rgba(255, 255, 255, 0.1); color: #ffffff; padding: 25px; border-radius: 10px; box-shadow: none; }
.page-news__update-image { height: 200px; margin-bottom: 20px; border-radius: 8px; }
.page-news__update-title { font-size: 1.6rem; font-weight: 600; margin-bottom: 15px; line-height: 1.4; color: #ffffff; }
.page-news__update-text { font-size: 1rem; line-height: 1.6; margin-bottom: 20px; color: #f0f0f0; }
.page-news__inline-link { color: #A5C4FF; text-decoration: none; transition: color 0.3s ease; }
.page-news__inline-link:hover { text-decoration: underline; color: #ffffff; }
.page-news__inline-link--light { color: #A5C4FF; }
.page-news__inline-link--light:hover { color: #ffffff; }

.page-news__guide-item { padding: 25px; text-align: center; }
.page-news__guide-image { height: 220px; margin-bottom: 20px; border-radius: 8px; }
.page-news__guide-title { font-size: 1.6rem; font-weight: 600; margin-bottom: 15px; color: #1F2D3D; }
.page-news__guide-text { font-size: 1rem; line-height: 1.6; color: #333333; margin-bottom: 20px; }

.page-news__event-item { background: rgba(255, 255, 255, 0.1); color: #ffffff; padding: 25px; border-radius: 10px; box-shadow: none; }
.page-news__event-image { height: 200px; margin-bottom: 20px; border-radius: 8px; }
.page-news__event-title { font-size: 1.6rem; font-weight: 600; margin-bottom: 15px; line-height: 1.4; color: #ffffff; }
.page-news__event-text { font-size: 1rem; line-height: 1.6; margin-bottom: 20px; color: #f0f0f0; }

.page-news__faq-list { margin-top: 30px; }
details.page-news__faq-item { margin-bottom: 15px; border-radius: 5px; border: 1px solid #D6E2FF; overflow: hidden; background: #FFFFFF; }
details.page-news__faq-item summary.page-news__faq-question { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; cursor: pointer; user-select: none; list-style: none; transition: background-color 0.3s ease; background: #F4F7FB; color: #1F2D3D; }
details.page-news__faq-item summary.page-news__faq-question::-webkit-details-marker { display: none; }
details.page-news__faq-item summary.page-news__faq-question:hover { background: #D6E2FF; }
.page-news__faq-qtext { flex: 1; font-size: 16px; font-weight: 600; line-height: 1.5; text-align: left; color: #1F2D3D; }
.page-news__faq-toggle { font-size: 24px; font-weight: bold; color: #2F6BFF; flex-shrink: 0; margin-left: 15px; width: 28px; text-align: center; }
details.page-news__faq-item .page-news__faq-answer { padding: 0 20px 20px; background: #f9f9f9; border-radius: 0 0 5px 5px; color: #333333; }
details.page-news__faq-item .page-news__faq-answer p { margin: 0; line-height: 1.6; }

/* Responsive styles */
@media (max-width: 1023px) {
  .page-news__hero-section { padding-top: 10px; }
  .page-news__hero-image { height: 450px; }
  .page-news__hero-content { max-width: 90%; }
  .page-news__main-title { font-size: clamp(2rem, 6vw, 3rem); }
  .page-news__description { font-size: clamp(0.9rem, 2.5vw, 1.1rem); }
  .page-news__news-grid, .page-news__update-grid, .page-news__guide-grid, .page-news__event-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
}

@media (max-width: 768px) {
  .page-news__hero-section { padding-top: 10px; }
  .page-news__hero-image { height: 300px; }
  .page-news__hero-content { padding: 10px; }
  .page-news__main-title { font-size: clamp(1.8rem, 7vw, 2.5rem); margin-bottom: 10px; }
  .page-news__description { font-size: clamp(0.85rem, 3vw, 1rem); margin-bottom: 20px; }
  .page-news__cta-button { padding: 10px 20px; font-size: 1rem; max-width: 100% !important; width: 100% !important; box-sizing: border-box !important; white-space: normal !important; word-wrap: break-word !important; }
  
  .page-news__section-padding { padding: 40px 0; }
  .page-news__section-title { font-size: 2rem; margin-bottom: 30px; }
  .page-news__container { padding: 0 15px; max-width: 100% !important; width: 100% !important; box-sizing: border-box !important; }

  .page-news__news-grid, .page-news__update-grid, .page-news__guide-grid, .page-news__event-grid { grid-template-columns: 1fr; gap: 20px; }
  .page-news__news-card, .page-news__update-item, .page-news__guide-item, .page-news__event-item { box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
  .page-news__card-image, .page-news__update-image, .page-news__guide-image, .page-news__event-image { height: 180px; max-width: 100% !important; width: 100% !important; height: auto !important; }
  .page-news__card-title { font-size: 1.25rem; }
  .page-news__card-excerpt { font-size: 0.95rem; }
  
  .page-news__update-item, .page-news__event-item { padding: 20px; }
  .page-news__update-image, .page-news__event-image { height: 160px; }
  .page-news__update-title, .page-news__event-title, .page-news__guide-title { font-size: 1.4rem; }
  .page-news__update-text, .page-news__event-text, .page-news__guide-text { font-size: 0.95rem; }

  details.page-news__faq-item summary.page-news__faq-question { padding: 15px; }
  .page-news__faq-qtext { font-size: 15px; }
  .page-news__faq-toggle { font-size: 20px; width: 24px; margin-left: 10px; }
  details.page-news__faq-item .page-news__faq-answer { padding: 0 15px 15px; }

  /* General image and button container rules for mobile */
  .page-news img { max-width: 100% !important; width: 100% !important; height: auto !important; display: block; }
  .page-news__section, .page-news__card, .page-news__container, .page-news__button-container, .page-news__cta-buttons, .page-news__button-group, .page-news__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-news__cta-button, .page-news__btn-primary, .page-news__btn-secondary, .page-news a[class*="button"], .page-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;
    margin-bottom: 10px; /* Add space between stacked buttons */
  }
  .page-news__cta-buttons, .page-news__button-group, .page-news__btn-container {
    display: flex;
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
  }
}