/* Fresh external-news monitor on the Magazine landing. */

.kc-magazine__news {
  background:
    radial-gradient(circle at 8% 10%, rgba(229, 240, 222, .72), transparent 30%),
    radial-gradient(circle at 92% 20%, rgba(247, 226, 214, .72), transparent 32%),
    #fffaf5;
}

.kc-magazine__news-intro {
  max-width: 760px;
}

.kc-magazine__news-note {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  margin: 0 0 28px;
  padding: 15px 18px;
  border: 1px solid rgba(59, 42, 33, .09);
  border-radius: 18px;
  background: rgba(255, 255, 255, .82);
  color: #6c5d58;
  font-size: .9rem;
  line-height: 1.55;
}

.kc-magazine__news-note strong {
  color: #4f403b;
}

.kc-magazine__news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.kc-magazine__news-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid rgba(59, 42, 33, .09);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(79, 55, 48, .07);
}

.kc-magazine__news-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 13px;
}

.kc-magazine__news-topic,
.kc-magazine__news-source {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: .69rem;
  font-weight: 900;
  letter-spacing: .045em;
  line-height: 1.25;
  text-transform: uppercase;
}

.kc-magazine__news-topic {
  background: #edf6ee;
  color: #3d694a;
}

.kc-magazine__news-source {
  background: #f2ecf8;
  color: #69507d;
}

.kc-magazine__news-card time {
  margin-left: auto;
  color: #8a7a74;
  font-size: .76rem;
  white-space: nowrap;
}

.kc-magazine__news-card h3 {
  margin: 0;
  font-size: clamp(1.18rem, 2vw, 1.5rem);
  line-height: 1.25;
}

.kc-magazine__news-card h3 a {
  color: #453833;
  text-decoration: none;
}

.kc-magazine__news-card h3 a:hover,
.kc-magazine__news-card h3 a:focus-visible {
  color: #a34f41;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.kc-magazine__news-origin {
  margin: auto 0 0;
  padding-top: 18px;
  color: #7a6c67;
  font-size: .8rem;
  line-height: 1.5;
}

.kc-magazine__news-origin a {
  color: #795a86;
  font-weight: 850;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.kc-magazine__news-empty {
  padding: 24px;
  border: 1px dashed rgba(59, 42, 33, .18);
  border-radius: 22px;
  background: rgba(255, 255, 255, .72);
  color: #685b56;
  line-height: 1.65;
}

.kc-magazine__news-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.kc-magazine__news-sources a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 9px 13px;
  border: 1px solid rgba(59, 42, 33, .1);
  border-radius: 999px;
  background: #fff;
  color: #645351;
  font-size: .82rem;
  font-weight: 850;
  text-decoration: none;
}

.kc-magazine__news-sources a:hover,
.kc-magazine__news-sources a:focus-visible {
  box-shadow: 0 8px 20px rgba(79, 55, 48, .08);
  transform: translateY(-1px);
}

@media (max-width: 760px) {
  .kc-magazine__news-grid {
    grid-template-columns: 1fr;
  }

  .kc-magazine__news-card time {
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 440px) {
  .kc-magazine__news-note {
    padding: 13px 14px;
  }

  .kc-magazine__news-card {
    padding: 20px;
    border-radius: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kc-magazine__news-sources a {
    transition: none;
  }
}
