/* Shared widgets --------------------------------------------------------- */
.its-home-news {
  --its-news-ink: #0b2d3a;
  --its-news-copy: #4d6570;
  --its-news-muted: #748a94;
  --its-news-blue: #087f9f;
  --its-news-orange: #f28d35;
  --its-news-line: #d9e6ea;
  box-sizing: border-box;
  padding: clamp(76px, 8vw, 116px) 0;
  background: #fff;
  color: var(--its-news-ink);
}

.its-home-news *, .its-home-news *::before, .its-home-news *::after {
  box-sizing: border-box;
}

.its-home-news img {
  display: block;
  max-width: 100%;
}

.its-home-news a {
  text-decoration: none;
}

.its-home-news .its-home-container {
  width: calc(100% - 40px);
  max-width: 1440px !important;
  margin-inline: auto;
}

.its-home-news h2, .its-home-news h3, .its-home-news p {
  margin-top: 0;
}

.its-home-news h2 {
  margin-bottom: 17px;
  color: var(--its-news-ink);
  font-size: clamp(2rem, 3.25vw, 3.25rem);
  font-weight: 850;
  letter-spacing: -0.04em;
  line-height: 1.06;
  text-wrap: balance;
}

.its-home-news p {
  color: var(--its-news-copy);
  line-height: 1.68;
}

.its-home-news .its-home-heading {
  max-width: 850px;
}

.its-home-news .its-home-kicker {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0 0 13px;
  color: var(--its-news-blue) !important;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.115em;
  line-height: 1.35;
  text-transform: uppercase;
}

.its-home-news .its-home-kicker::before {
  content: "";
  flex: 0 0 32px;
  width: 32px;
  height: 3px;
  border-radius: 999px;
  background: var(--its-news-orange);
}

.its-home-news .its-home-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid rgba(8, 127, 159, 0.32);
  border-radius: 10px;
  background: #fff;
  color: var(--its-news-blue) !important;
  font-size: 0.92rem;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.its-home-news .its-home-button:hover {
  transform: translateY(-2px);
}

.its-home-news__head {
  display: flex;
  gap: 30px;
  align-items: flex-end;
  justify-content: space-between;
}

.its-home-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.its-home-news-card {
  display: flex;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--its-news-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(6, 47, 63, 0.07);
}

.its-home-news-card__image {
  display: grid;
  overflow: hidden;
  height: 225px;
  place-items: center;
  background: #f0f6f8;
}

.its-home-news-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.its-home-news-card:nth-child(2) .its-home-news-card__image img {
  padding: 24px;
  object-fit: contain;
  background: #f8fbfc;
}

.its-home-news-card:hover .its-home-news-card__image img {
  transform: scale(1.025);
}

.its-home-news-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.its-home-news-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  margin-bottom: 13px;
  color: var(--its-news-muted);
  font-size: 0.76rem;
}

.its-home-news-card__meta span {
  padding: 5px 8px;
  border-radius: 999px;
  background: #eaf7f9;
  color: var(--its-news-blue);
  font-weight: 850;
}

.its-home-news-card h3 {
  min-height: 54px;
  margin-bottom: 10px;
  color: var(--its-news-ink);
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.35;
}

.its-home-news-card h3 a {
  color: var(--its-news-ink) !important;
}

.its-home-news-card p {
  min-height: 92px;
  margin-bottom: 24px;
  font-size: 0.91rem;
}

.its-home-news .its-home-text-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: auto;
  color: var(--its-news-blue) !important;
  font-size: 0.93rem;
  font-weight: 850;
}

.its-home-news .its-home-text-link i {
  font-size: 0.78rem;
  transition: transform 160ms ease;
}

.its-home-news .its-home-text-link:hover i {
  transform: translateX(3px);
}

.its-news-list__filter {
  display: grid;
  gap: 7px;
  min-width: min(100%, 260px);
}

.its-news-list__filter label {
  color: var(--its-news-ink);
  font-size: 0.78rem;
  font-weight: 800;
}

.its-news-list__filter select {
  width: 100%;
  min-height: 46px;
  padding: 10px 38px 10px 13px;
  border: 1px solid var(--its-news-line);
  border-radius: 10px;
  outline: none;
  background: #fff;
  color: var(--its-news-ink);
  font: inherit;
}

.its-news-list__filter select:focus {
  border-color: var(--its-news-blue);
  box-shadow: 0 0 0 3px rgba(8, 127, 159, 0.14);
}

.its-news-list__pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 42px;
}

.its-news-list__pagination a {
  display: inline-grid;
  min-width: 42px;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid var(--its-news-line);
  border-radius: 9px;
  place-items: center;
  background: #fff;
  color: var(--its-news-blue);
  font-size: 0.9rem;
  font-weight: 800;
}

.its-news-list__pagination a:hover, .its-news-list__pagination a.is-active {
  border-color: var(--its-news-blue);
  background: var(--its-news-blue);
  color: #fff;
}

@media (max-width: 1020px) {
  .its-home-news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .its-home-news .its-home-container {
    width: calc(100% - 28px);
  }

  .its-home-news__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .its-news-list__filter {
    width: 100%;
  }

  .its-home-news-grid {
    grid-template-columns: 1fr;
  }

  .its-home-news-card h3, .its-home-news-card p {
    min-height: 0;
  }
}

@media (max-width: 520px) {
  .its-home-news .its-home-container {
    width: calc(100% - 24px);
  }

  .its-home-news-card__body {
    padding: 21px;
  }

  .its-home-news-card__image {
    height: 190px;
  }
}
