@font-face {
  font-family: "Golos Text";
  src: url("golos-text-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}

.weekly-news {
  container-type: inline-size;
  box-sizing: border-box;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0;
  background: #fff;
  color: #151c28;
  font-family: "Golos Text", system-ui, sans-serif;
}

.weekly-news h2 {
  margin: 0 0 13px;
  color: inherit;
  font-size: clamp(1.15rem, 3.1cqw, 1.7rem);
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: -.035em;
  text-align: left;
}

.weekly-news .weekly-news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.weekly-news-grid > li {
  display: flex;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.weekly-news a.weekly-news-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 55%;
  align-items: center;
  width: 100%;
  min-height: 108px;
  overflow: hidden;
  border-radius: 6px;
  background: #ebeffa;
  color: inherit;
  text-decoration: none;
}

.weekly-news-grid > li:nth-child(even) .weekly-news-card {
  background: #f0ece3;
}

.weekly-news-card:focus-visible {
  outline: 3px solid #294acf;
  outline-offset: 2px;
}

.weekly-news-copy {
  min-width: 0;
  padding: 10px 6px 10px 13px;
  overflow-wrap: anywhere;
}

.weekly-news-kind,
.weekly-news-name {
  display: block;
}

.weekly-news-kind {
  margin-bottom: 3px;
  color: #40516b;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.25;
}

.weekly-news-name {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.24;
}

.weekly-news-card:hover .weekly-news-name {
  text-decoration: underline;
}

.weekly-news-card img.weekly-news-image {
  align-self: stretch;
  display: block;
  width: 100%;
  height: 0;
  min-height: 100%;
  margin: 0;
  object-fit: cover;
  clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%);
}

@container (max-width: 700px) {
  .weekly-news a.weekly-news-card {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    align-items: start;
    min-height: 156px;
  }

  .weekly-news-copy {
    padding: 3px 8px 9px;
  }

  .weekly-news-card img.weekly-news-image {
    order: -1;
    justify-self: end;
    width: 55%;
    height: 68px;
    min-height: 0;
    clip-path: polygon(0 0, 100% 0, 100% 82%, 0 100%);
  }
}
