/* News page styles */

/* Force hero section positioning with maximum specificity */
.sub-page-hero .container-full .sub-hero-content-block {
  padding-bottom: 0px !important;
  margin-bottom: 0px !important;
  justify-content: flex-end !important;
  align-items: flex-end !important;
  display: flex !important;
  flex-direction: column !important;
}

.sub-page-hero .container-full .sub-hero-content-block .sub-hero-desc-block {
  margin-bottom: 0px !important;
  margin-left: 0px !important;
  width: 75% !important;
  max-width: none !important;
  position: absolute !important;
  bottom: 20px !important;
  left: 0px !important;
}

/* Mobile optimization for hero sections */
@media (max-width: 768px) {
  .sub-page-hero .container-full .sub-hero-content-block {
    padding-bottom: 0.1% !important;
  }
  .sub-page-hero .container-full .sub-hero-content-block .sub-hero-desc-block {
    margin-bottom: 0.05% !important;
    margin-left: 0.3% !important;
    width: 90% !important;
  }
  .sub-hero-h1 {
    margin-bottom: 10px !important;
  }
  .sub-hero-h2 {
    margin-bottom: 8px !important;
    font-size: 1.2em !important;
  }
  .sub-page-p-big-white {
    margin-top: 5px !important;
    line-height: 1.3 !important;
  }
}

@media (max-width: 480px) {
  .sub-page-hero .container-full .sub-hero-content-block .sub-hero-desc-block {
    margin-bottom: 0.02% !important;
    margin-left: 0.2% !important;
    width: 95% !important;
  }
  .sub-hero-h1 {
    margin-bottom: 5px !important;
    font-size: 1.8em !important;
  }
  .sub-hero-h2 {
    margin-bottom: 5px !important;
    font-size: 1.1em !important;
  }
  .sub-page-p-big-white {
    margin-top: 3px !important;
    font-size: 0.9em !important;
    line-height: 1.2 !important;
  }
}

/* News card styling */
.news-row {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 28px;
  align-items: center;
  padding: 18px 14px;
  border: 1px solid #d1d5db;
  border-radius: 14px;
  background: #fff;
}

.news-row > a.w-inline-block:not(.blog-button) {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  width: 230px;
  height: 230px;
  background: #f2f4f7;
}

.news-row > a.w-inline-block:not(.blog-button) img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Mobile responsive for news cards */
@media (max-width: 768px) {
  .news-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .news-row > a.w-inline-block:not(.blog-button) {
    width: 100%;
    max-width: 100%;
  }
}

