.news-section {
  position: relative;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(166, 227, 233, 0.16), transparent 62%);
}
.news-section .section-title {
  margin-bottom: 1.35rem;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.news-grid:empty {
  display: none;
}
.news-card {
  display: flex;
  min-width: 0;
  min-height: 190px;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.25rem;
  border: 2px solid var(--purple);
  border-radius: 18px;
  background: var(--cream);
  box-shadow: 5px 5px 0 rgba(43, 30, 56, 0.18);
}
.news-card:nth-child(3n + 1) {
  background: linear-gradient(145deg, rgba(255, 181, 200, 0.34), var(--cream) 68%);
}
.news-card:nth-child(3n + 2) {
  background: linear-gradient(145deg, rgba(166, 227, 233, 0.42), var(--cream) 68%);
}
.news-card:nth-child(3n) {
  background: linear-gradient(145deg, rgba(255, 230, 153, 0.5), var(--cream) 68%);
}
.news-card time,
.news-card .news-card-date {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 0.12rem 0.58rem;
  border: 1px solid var(--purple);
  border-radius: 99px;
  background: var(--cream);
  color: var(--purple);
  font-size: 0.75rem;
  font-weight: 800;
}
.news-card h2,
.news-card h3 {
  margin: 0.7rem 0 0.35rem;
  color: var(--purple);
  font-size: 1.12rem;
  line-height: 1.45;
}
.news-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.91rem;
}
.news-card a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 1rem;
  color: var(--purple);
  font-size: 0.88rem;
  font-weight: 900;
}
.news-card a:hover,
.news-more:hover,
.news-empty-home > a:hover,
.news-resource-links a:hover {
  color: #9f4264;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.news-empty-home {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.3rem;
  border: 1px solid var(--line);
  border-left: 5px solid var(--blue);
  border-radius: 14px;
  background: rgba(255, 253, 247, 0.85);
}
.news-grid:not(:empty) + .news-empty-home {
  display: none;
}
.news-empty-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 2px solid var(--purple);
  border-radius: 14px;
  background: var(--yellow);
  font-size: 1.25rem;
}
.news-empty-home h3 {
  margin: 0;
  font-size: 1rem;
}
.news-empty-home p {
  margin: 0.16rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}
.news-empty-home > a,
.news-more {
  color: var(--purple);
  font-weight: 900;
  white-space: nowrap;
}
.news-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.15rem;
  font-size: 0.9rem;
}
.news-page-hero {
  position: relative;
  overflow: hidden;
  padding-bottom: 2.8rem;
  background:
    linear-gradient(110deg, rgba(255, 181, 200, 0.42), rgba(255, 253, 247, 0.3) 60%),
    repeating-linear-gradient(135deg, transparent 0 24px, rgba(166, 227, 233, 0.16) 24px 26px);
  border-bottom: 1px solid var(--line);
}
.news-page-hero .container,
.news-detail-hero .container {
  position: relative;
  z-index: 1;
}
.news-page-hero h1,
.news-detail-hero h1 {
  max-width: 850px;
  margin: 0;
  color: var(--purple);
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 1.12;
}
.news-page-hero .eyebrow,
.news-detail-hero .eyebrow {
  margin-bottom: 0.65rem;
}
.news-page-hero > .container > p:last-child {
  max-width: 650px;
  margin: 0.7rem 0 0;
}
.news-list-section {
  padding-top: 2.6rem;
}
.news-list-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}
.news-list-heading .section-kicker {
  margin-bottom: 0.15rem;
}
.news-list-heading h2 {
  margin: 0;
  color: var(--purple);
  font-size: 1.55rem;
}
.news-list-count {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}
.news-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.news-list:empty {
  display: none;
}
.news-empty {
  display: grid;
  grid-template-columns: minmax(160px, 0.68fr) 1.32fr;
  align-items: stretch;
  overflow: hidden;
  min-height: 280px;
  border: 2px solid var(--purple);
  border-radius: 24px;
  background: var(--cream);
  box-shadow: 7px 7px 0 var(--purple);
}
.news-list:not(:empty) + .news-empty {
  display: none;
}
.news-empty-icon {
  position: relative;
  display: grid;
  min-height: 240px;
  place-items: center;
  overflow: hidden;
  border-right: 2px solid var(--purple);
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 253, 247, 0.9) 0 42px, transparent 43px),
    repeating-linear-gradient(45deg, rgba(255, 181, 200, 0.7) 0 13px, rgba(166, 227, 233, 0.7) 13px 26px);
}
.news-empty-icon::before,
.news-empty-icon::after {
  position: absolute;
  content: "";
  width: 112px;
  height: 112px;
  border: 2px solid var(--purple);
  border-radius: 50%;
}
.news-empty-icon::after {
  width: 148px;
  height: 148px;
  border-style: dashed;
  opacity: 0.45;
}
.news-empty-icon span {
  z-index: 1;
  color: var(--purple);
  font-size: 2rem;
}
.news-empty-copy {
  align-self: center;
  padding: clamp(1.3rem, 4vw, 2.5rem);
}
.news-empty-copy h2 {
  margin: 0.28rem 0 0.55rem;
  color: var(--purple);
  font-size: clamp(1.25rem, 2.5vw, 1.8rem);
  line-height: 1.3;
}
.news-empty-copy > p:not(.section-kicker) {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
}
.news-resource-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.1rem;
  margin-top: 1.3rem;
}
.news-resource-links a {
  color: var(--purple);
  font-size: 0.88rem;
  font-weight: 900;
}
.news-back-home {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  margin-top: 1.35rem;
  color: var(--purple);
  font-weight: 900;
}
.news-detail-hero {
  padding-bottom: 2.15rem;
  background: linear-gradient(115deg, rgba(255, 181, 200, 0.36), rgba(166, 227, 233, 0.18) 72%);
  border-bottom: 1px solid var(--line);
}
.news-detail-hero h1 {
  max-width: 900px;
}
.news-detail-date {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.news-detail-date time {
  font-weight: 800;
}
.news-detail-section {
  padding-top: 2.2rem;
}
.news-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  align-items: start;
  gap: 1.5rem;
}
.news-article {
  min-width: 0;
  padding: clamp(1.2rem, 3.5vw, 2.3rem);
  border: 2px solid var(--purple);
  border-radius: 22px;
  background: var(--cream);
  box-shadow: 6px 6px 0 rgba(43, 30, 56, 0.16);
}
.news-article-top,
.news-article-end {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.news-back {
  color: var(--purple);
  font-size: 0.88rem;
  font-weight: 900;
}
.news-article-label {
  padding: 0.2rem 0.6rem;
  border-radius: 99px;
  background: rgba(166, 227, 233, 0.55);
  color: var(--purple);
  font-size: 0.75rem;
  font-weight: 900;
}
.news-body {
  min-height: 180px;
  margin-top: 1.25rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  color: var(--purple);
  font-size: 1rem;
  line-height: 1.9;
  overflow-wrap: anywhere;
}
.news-body > :first-child {
  margin-top: 0;
}
.news-body > :last-child {
  margin-bottom: 0;
}
.news-body h2,
.news-body h3 {
  color: var(--purple);
  line-height: 1.35;
}
.news-body img {
  height: auto;
  border-radius: 12px;
}
.news-article-end {
  margin-top: 1.7rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
}
.news-article-end a {
  color: var(--purple);
  font-weight: 900;
}
.news-detail-aside {
  position: sticky;
  top: 98px;
  padding: 1.15rem;
  border: 2px solid var(--purple);
  border-radius: 17px;
  background: rgba(166, 227, 233, 0.28);
}
.news-detail-aside .section-kicker {
  margin: 0;
}
.news-detail-aside h2 {
  margin: 0.15rem 0 0.4rem;
  font-size: 1.2rem;
}
.news-detail-aside > p:not(.section-kicker) {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.87rem;
}
.news-detail-aside > a:not(.button) {
  display: flex;
  justify-content: space-between;
  padding: 0.56rem 0;
  border-top: 1px solid var(--line);
  color: var(--purple);
  font-size: 0.88rem;
  font-weight: 900;
}
.news-aside-download {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.9rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  font-weight: 800;
}
.news-aside-download .button {
  width: 100%;
}
@media (max-width: 920px) {
  .news-detail-layout {
    grid-template-columns: minmax(0, 1fr) 230px;
  }
}
@media (max-width: 720px) {
  .news-grid,
  .news-list {
    grid-template-columns: 1fr;
  }
  .news-empty-home {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .news-empty-home > a {
    grid-column: 2;
    white-space: normal;
  }
  .news-empty {
    grid-template-columns: 1fr;
  }
  .news-empty-icon {
    min-height: 130px;
    border-right: 0;
    border-bottom: 2px solid var(--purple);
  }
  .news-detail-layout {
    grid-template-columns: 1fr;
  }
  .news-detail-aside {
    position: static;
  }
}
@media (max-width: 480px) {
  .news-list-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.25rem;
  }
  .news-empty-home {
    padding: 1rem;
  }
  .news-article-top,
  .news-article-end {
    align-items: flex-start;
    flex-direction: column;
  }
  .news-resource-links {
    gap: 0.5rem 0.8rem;
  }
}
