/* Homepage "Latest news" section */
.home-news {
  padding: 88px 0;
  background: #fff;
  color: #0d0d0d;
}

.home-news-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 40px;
}

.home-news-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #c8161c;
  margin-bottom: 10px;
}

.home-news-title {
  margin: 0;
  font-size: 42px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #0d0d0d;
}

.home-news-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 0;
  font-size: 15px;
  font-weight: 600;
  color: #0067da;
  white-space: nowrap;
  text-decoration: none;
}

.home-news-all:hover {
  color: #004fa8;
}

.home-news-all svg,
.home-news-more svg {
  transition: transform 0.2s ease;
}

.home-news-all:hover svg,
.home-news-more:hover svg {
  transform: translateX(3px);
}

/* Featured story on the left, the rest as a list on the right */
.home-news-layout {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 32px;
  align-items: start;
}

.home-news-featured {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(13, 30, 60, 0.08);
}

.home-news-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #eef1f6;
}

.home-news-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.home-news-featured:hover .home-news-media img {
  transform: scale(1.03);
}

.home-news-cat {
  position: absolute;
  left: 16px;
  top: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  color: #0055b5;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.home-news-featured-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px 30px 30px;
}

.home-news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 13px;
  color: #5a6270;
}

.home-news-meta > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.home-news-meta svg {
  color: #0067da;
  flex-shrink: 0;
}

.home-news-featured-title {
  margin: 0;
  font-size: 26px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.home-news-featured-title a {
  color: #0d0d0d;
  text-decoration: none;
}

.home-news-featured-title a:hover {
  color: #0067da;
}

.home-news-excerpt {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #515151;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-news-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 8px 0;
  font-size: 15px;
  font-weight: 700;
  color: #d0191f;
  text-decoration: none;
}

.home-news-more:hover {
  color: #a91217;
}

.home-news-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.home-news-item {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 12px;
  border-radius: 16px;
  background: #f4f6fa;
  color: #0d0d0d;
  text-decoration: none;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.home-news-item:hover {
  background: #fff;
  color: #0d0d0d;
  box-shadow: 0 10px 30px rgba(13, 30, 60, 0.1);
  transform: translateX(4px);
}

.home-news-thumb {
  flex-shrink: 0;
  width: 132px;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  background: #e3e8ef;
}

.home-news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-news-item-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.home-news-item-cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #0055b5;
}

.home-news-item-title {
  font-size: 16px;
  line-height: 1.35;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-news-item:hover .home-news-item-title {
  color: #0067da;
}

.home-news-item .home-news-meta {
  font-size: 12px;
}

@media (max-width: 1199px) {
  .home-news-title {
    font-size: 34px;
  }

  .home-news-thumb {
    width: 112px;
  }
}

/* Tablet and phone: stack the featured story above the list */
@media (max-width: 991px) {
  .home-news {
    padding: 64px 0;
  }

  .home-news-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
}

@media (max-width: 767px) {
  .home-news {
    padding: 48px 0;
  }

  .home-news-head {
    margin-bottom: 24px;
  }

  .home-news-eyebrow {
    font-size: 12px;
    margin-bottom: 8px;
  }

  .home-news-title {
    font-size: 28px;
  }

  .home-news-featured-body {
    padding: 20px;
  }

  .home-news-featured-title {
    font-size: 21px;
  }

  .home-news-excerpt {
    font-size: 14px;
  }

  .home-news-list {
    gap: 12px;
  }

  .home-news-item {
    padding: 10px;
    gap: 12px;
  }

  .home-news-item:hover {
    transform: none;
  }

  .home-news-thumb {
    width: 96px;
  }

  .home-news-item-title {
    font-size: 15px;
  }
}
