/* news-1 — 3-col bento (tall blue | stacked mid | title + more).
   Card chrome (sticker, titles, button) = hero-1 classes. */

.news-1 {
  --news-fleck: 15%;
  --news-stack-gap: 50px;
  background: #fff;
  padding: 1.5rem var(--page-gutter) 3.5rem;
  overflow: visible;
}

.news-1__inner {
  max-width: var(--page-max);
  margin: 0 auto;
}

.news-1__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(13rem, 1fr);
  grid-template-rows: auto auto;
  column-gap: 1.6rem;
  row-gap: var(--news-stack-gap);
  align-items: start;
  padding-top: 1.75rem;
  overflow: visible;
}

.news-1__title {
  margin: 0;
  color: #c1bfca;
  /*font-family: var(--font-script);*/
  font-size: clamp(2.6rem, 5.4vw, 4.15rem);
  font-weight: 600;
  font-style: normal;
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-align: center;
  transform: rotate(6deg);
}

.news-1__title-line { display: block; }

.news-1__card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 0;
  overflow: visible;
}

.news-1__card[data-accent="blue"] > .flow-shape__bg {
  background: var(--color-blue);
}

.news-1__card[data-accent="green"] > .flow-shape__bg {
  background: linear-gradient(
    to top,
    #4f6f1c 0,
    #4f6f1c var(--news-fleck),
    var(--color-green) var(--news-fleck)
  );
}

.news-1__card[data-accent="orange"] > .flow-shape__bg {
  background: linear-gradient(
    to top,
    #8d4e1a 0,
    #8d4e1a var(--news-fleck),
    var(--color-orange) var(--news-fleck)
  );
}

.news-1__card--mid {
  aspect-ratio: 1 / 1;
}

.news-1__card--feature .hero-1__badge {
  order: 1;
  color: #062634;
  display: block;
  font-weight: 900;
  font-size: calc(var(--text-subheading) * 0.9);
  line-height: var(--text-subheading-line);
  margin-bottom: 10px;
}

.news-1__card--feature .hero-1__titles > .news-1__patron {
  order: 0;
  color: #062634;
  color: white;
  font-size: calc(var(--text-script) * 0.9);
  line-height: var(--text-script-line);
  margin-bottom: 10px;
}

.news-1__text {
  order: 3;
  margin: 0.35rem 0 0;
  font-size: var(--text-p-smaller, 0.9rem);
  line-height: 1.35;
  color: #062634;
  text-align: center;
  align-self: stretch;
}

.news-1__card .hero-1__card-sticker > .flow-shape__bg > img {
  display: block;
}

.news-1__cutout.hero-1__card-sticker {
  background: transparent;
}

.news-1__cutout > .flow-shape__bg {
  display: none;
}

.news-1__cutout-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.2));
}

.news-1__foot {
  order: 2;
  margin: 0.55rem 0 0;
  width: 100%;
  min-height: var(--news-fleck);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.75rem 1.0rem 0.75rem;
  background: transparent;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  align-self: stretch;
}

.news-1__foot strong { font-weight: 800; }

.news-1__card--mid > .flow-shape__content {
  padding-bottom: 0;
}

.news-1__more {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1341 / 905;
  color: #0a1f5c;
  font-weight: 400;
  text-decoration: none;
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.news-1__more .flow-shape__bg {
  background: #f2f6fa;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.16));
  clip-path: url("#shape-2x1-1");
  -webkit-clip-path: url("#shape-2x1-1");
}

.news-1__more .flow-shape__content {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.1rem 1.4rem 1.35rem;
  text-align: center;
}

.news-1__more-label {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.news-1__more-line { display: block; }

.news-1__more-line--marked {
  position: relative;
  padding-bottom: 0.42em;
}

.news-1__more-line--marked::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  bottom: -10px;
  height: 0.32em;
  min-height: 9px;
  background: url(/images/elements/nav-underline.svg) center / 100% 100% no-repeat;
  pointer-events: none;
}

/* 3-col bento: 1x2 | stacked 1x1 | title + more
   1x1 cards set row height (1/1). 1x2 stretches across both rows + 50px gap. */
.news-1__card--feature {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: stretch;
  width: 100%;
}

.news-1__card[data-accent="green"] {
  grid-column: 2;
  grid-row: 1;
}

.news-1__title {
  grid-column: 3;
  grid-row: 1;
  align-self: center;
  justify-self: center;
  max-width: 11ch;
}

.news-1__card[data-accent="orange"] {
  grid-column: 2;
  grid-row: 2;
}

.news-1__more {
  grid-column: 3;
  grid-row: 2;
  align-self: stretch;
  aspect-ratio: auto;
}

@container page (max-width: 767px) {
  .news-1 {
    padding: 1.15rem var(--page-gutter) 2.25rem;
  }

  .news-1__layout {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-top: 0.75rem;
  }

  .news-1__card--feature,
  .news-1__card[data-accent="green"],
  .news-1__card[data-accent="orange"],
  .news-1__title,
  .news-1__more {
    grid-column: auto;
    grid-row: auto;
  }

  .news-1__title {
    font-size: clamp(2rem, 12cqi, 2.8rem);
    max-width: none;
    transform: rotate(3deg);
  }

  .news-1__more {
    font-size: clamp(1.05rem, 4.6cqi, 1.35rem);
  }

  .news-1__text,
  .news-1__foot {
    font-size: clamp(0.78rem, 3.2cqi, 0.88rem);
  }
}

@container page (min-width: 768px) and (max-width: 1099px) {
  .news-1__layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    column-gap: 1rem;
    row-gap: 1.25rem;
  }

  .news-1__card--feature {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .news-1__card[data-accent="green"] {
    grid-column: 2;
    grid-row: 1;
  }

  .news-1__card[data-accent="orange"] {
    grid-column: 2;
    grid-row: 2;
  }

  .news-1__title {
    grid-column: 1 / span 2;
    grid-row: 3;
    font-size: clamp(2.2rem, 6cqi, 3.1rem);
    max-width: none;
  }

  .news-1__more {
    grid-column: 1 / span 2;
    grid-row: 4;
    font-size: clamp(1.15rem, 3.4cqi, 1.45rem);
  }
}

@container page (min-width: 1100px) {
  .news-1 {
    padding: 2rem var(--page-gutter) 4.5rem;
  }

  .news-1__layout {
    column-gap: 1.7rem;
  }

  .news-1__title {
    font-size: clamp(3.2rem, 4.1cqi, 4.25rem);
  }

  .news-1__more {
    font-size: clamp(1.35rem, 1.7cqi, 1.75rem);
  }
}
