/* The supplied panorama remains an original, full-resolution section background. */
.nw-section { position: relative; isolation: isolate; padding: 76px 0 90px; background: #d5eafb url('../images/sff/news-mountain-panorama.png') center bottom / cover no-repeat; color: var(--ink); }
.nw-layout { width: calc(100% - 88px); max-width: 1584px; margin: 0 auto; display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 34px 36px; align-items: stretch; }
.nw-header { grid-column: 2 / 4; grid-row: 1; align-self: start; padding: 0 2px 3px; }
.nw-overline { display: flex; align-items: center; gap: 22px; margin-bottom: 22px; font-size: .875rem; line-height: 1.5; font-weight: 600; text-transform: uppercase; letter-spacing: .24em; color: var(--sff-navy); }
.nw-overline::before { content: ""; width: 43px; height: 2px; flex-shrink: 0; background: var(--sff-red); }
.nw-header h2 { font-family: var(--accent-font); font-size: clamp(3rem, 4.2vw, 4.75rem); line-height: 1.05; letter-spacing: -.015em; font-weight: 550; color: var(--sff-navy); margin: 0 0 19px; text-wrap: balance; }
.nw-header h2 > span { color: var(--sff-red); }
.nw-header > p { font-size: clamp(1.05rem, 1.27vw, 1.25rem); line-height: 1.5; margin: 0 0 24px; max-width: 920px; text-wrap: pretty; }
.nw-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 24px; }
.nw-all-updates, .nw-newsletters { display: inline-flex; align-items: center; justify-content: center; gap: 21px; min-height: 60px; padding: 10px 12px 10px 25px; border-radius: 999px; font-size: 1rem; line-height: 1.4; font-weight: 600; transition: transform .2s ease, box-shadow .2s ease; }
.nw-all-updates { color: #fff; background: var(--sff-red); border: 1px solid var(--sff-red); box-shadow: 0 8px 17px color-mix(in srgb, var(--sff-red) 19%, transparent), inset 0 1px 0 #ffffff3d; }
.nw-newsletters { color: var(--sff-navy); background: #fff; border: 1px solid color-mix(in srgb, var(--sff-navy) 57%, #fff); box-shadow: inset 0 1px 0 #fff, 0 3px 6px #17245005; }
.nw-arrow { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; flex: 0 0 42px; border-radius: 50%; color: #fff; background: var(--sff-red); border: 1px solid #ffffff75; box-shadow: 0 3px 0 color-mix(in srgb, var(--sff-red) 75%, var(--sff-navy)), 0 6px 11px color-mix(in srgb, var(--sff-red) 25%, transparent), inset 0 1px 1px #ffffff70; transition: transform .2s ease, box-shadow .2s ease; }
.nw-arrow svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.nw-actions .nw-arrow { width: 36px; height: 36px; flex-basis: 36px; }
.nw-all-updates .nw-arrow { color: var(--sff-red); background: #fff; box-shadow: 0 2px 0 #ffffff6b, 0 4px 8px #17245020, inset 0 1px 0 #fff; }
.nw-newsletters .nw-arrow { background: var(--sff-navy); box-shadow: 0 2px 0 color-mix(in srgb, var(--sff-navy) 68%, #fff), 0 4px 8px #17245020, inset 0 1px 1px #ffffff50; }
.nw-actions a:hover .nw-arrow { transform: translate(1px, -1px); }
.nw-all-updates:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 11px 23px color-mix(in srgb, var(--sff-red) 24%, transparent); }
.nw-newsletters:hover { color: var(--sff-navy); transform: translateY(-2px); box-shadow: 0 8px 17px #17245014; }
.nw-feed { display: contents; }
.nw-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  grid-row: 2;
  border: 1px solid #ffffffdb;
  border-radius: 24px;
  background: linear-gradient(145deg, #fff 46%, color-mix(in srgb, var(--sff-light-blue) 8%, #fff));
  box-shadow: 0 3px 1px #eaf4fc, 0 7px 0 -1px #d0e2f1, 0 10px 0 -2px #a9c2d9, 0 15px 17px -8px #17245055, 0 30px 38px -12px #17245070, 0 52px 70px -28px #17245065, inset 0 1px 0 #fff, inset 0 -2px 2px #27387e15;
  transition: transform .25s ease, box-shadow .25s ease;
}
.nw-card::after { content: ""; position: absolute; pointer-events: none; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 2px #ffffffce, inset 0 -4px 5px #a0cfef40; }
.nw-card:nth-child(2) { grid-column: 2; }
.nw-card:nth-child(3) { grid-column: 3; }
.nw-featured { grid-column: 1; grid-row: 1 / 3; margin-top: 54px; }
.nw-photo { position: relative; display: block; flex-shrink: 0; margin: 3px 3px 0; height: clamp(220px, 15.1vw, 268px); overflow: hidden; border-radius: 21px 21px 16px 16px; background: color-mix(in srgb, var(--sff-light-blue) 20%, #fff); }
.nw-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; box-shadow: inset 0 1px 0 #ffffff90, inset 0 -1px 0 #ffffff45; }
.nw-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.nw-featured .nw-photo { height: clamp(360px, 26vw, 440px); }
.nw-card-body { display: flex; flex-direction: column; flex: 1; padding: 25px 27px 29px; }
.nw-featured .nw-card-body { padding: 29px 30px 31px; }
.nw-date { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; color: var(--sff-navy); font-size: .75rem; font-weight: 600; line-height: 1.4; letter-spacing: .15em; text-transform: uppercase; }
.nw-date::before { content: ""; display: block; width: 27px; height: 2px; flex-shrink: 0; background: var(--sff-red); }
.nw-card h3 { margin: 0 0 14px; color: var(--sff-navy); font-family: var(--accent-font); font-size: clamp(1.75rem, 2.15vw, 2.4rem); line-height: 1.13; font-weight: 550; text-wrap: pretty; }
.nw-featured h3 { font-size: clamp(2rem, 2.65vw, 2.9rem); line-height: 1.1; }
.nw-card h3 a { color: inherit; }
.nw-card h3 a:hover { color: var(--sff-red); }
.nw-excerpt { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; max-height: 4.5em; font-size: 1rem; line-height: 1.5; margin: 0 0 25px; color: var(--ink); }
.nw-read { display: inline-flex; align-items: center; align-self: start; gap: 20px; margin-top: auto; color: var(--sff-red); font-size: 1rem; font-weight: 600; line-height: 1.5; padding: 5px 0; }
.nw-read-label { border-bottom: 1px solid var(--sff-red); padding-bottom: 5px; }
.nw-read:hover { color: var(--sff-red); }
.nw-read:hover .nw-arrow { transform: translate(2px, -2px); }
.nw-card:hover, .nw-card:focus-within { transform: translateY(-6px); box-shadow: 0 3px 1px #eaf4fc, 0 7px 0 -1px #d0e2f1, 0 10px 0 -2px #a9c2d9, 0 19px 21px -8px #17245060, 0 36px 45px -12px #17245080, 0 58px 78px -28px #17245070, inset 0 1px 0 #fff, inset 0 -2px 2px #27387e15; }
.nw-card:hover .nw-photo img { transform: scale(1.025); }
.nw-section a:focus-visible { outline: 3px solid var(--sff-navy); outline-offset: 5px; border-radius: 4px; }
@media (max-width: 1199px) {
  .nw-section { padding: 60px 0 76px; }
  .nw-layout { width: calc(100% - 64px); grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .nw-header { grid-column: 1 / -1; grid-row: 1; max-width: 900px; }
  .nw-header h2 { font-size: clamp(3rem, 5.8vw, 4.3rem); }
  .nw-featured { grid-column: 1 / -1; grid-row: 2; margin-top: 0; display: grid; grid-template-columns: 1fr 1fr; }
  .nw-card:nth-child(2) { grid-column: 1; grid-row: 3; }
  .nw-card:nth-child(3) { grid-column: 2; grid-row: 3; }
  .nw-featured .nw-photo { height: 100%; min-height: 325px; margin: 3px 0 3px 3px; border-radius: 21px 12px 12px 21px; }
  .nw-featured .nw-card-body { padding: 31px; }
  .nw-photo { height: clamp(240px, 26vw, 285px); }
  .nw-card h3 { font-size: 2rem; }
  .nw-featured h3 { font-size: 2.5rem; }
}
@media (max-width: 700px) {
  .nw-section { padding: 48px 0 68px; }
  .nw-layout { width: calc(100% - 40px); grid-template-columns: minmax(0, 1fr); gap: 31px; }
  .nw-header { grid-column: 1; grid-row: auto; padding-bottom: 5px; }
  .nw-overline { font-size: .75rem; gap: 16px; letter-spacing: .19em; margin-bottom: 21px; }
  .nw-overline::before { width: 32px; }
  .nw-header h2 { font-size: clamp(2.8rem, 9.9vw, 3.8rem); line-height: 1.06; margin-bottom: 18px; text-wrap: initial; }
  .nw-header > p { font-size: 1rem; margin-bottom: 24px; }
  .nw-actions { gap: 15px; }
  .nw-all-updates, .nw-newsletters { min-height: 58px; padding: 10px 12px 10px 22px; font-size: .95rem; }
  .nw-card, .nw-card:nth-child(2), .nw-card:nth-child(3), .nw-featured { grid-column: 1; grid-row: auto; display: flex; }
  .nw-photo, .nw-featured .nw-photo { height: auto; min-height: 0; aspect-ratio: 1.6; margin: 3px 3px 0; border-radius: 21px 21px 16px 16px; }
  .nw-featured .nw-photo { aspect-ratio: 1.35; }
  .nw-card-body, .nw-featured .nw-card-body { padding: 25px 24px 27px; }
  .nw-card h3, .nw-featured h3 { font-size: clamp(1.9rem, 6.9vw, 2.5rem); }
  .nw-date { font-size: .75rem; letter-spacing: .12em; }
  .nw-excerpt { margin-bottom: 20px; }
}
@media (max-width: 390px) {
  .nw-header h2 { font-size: 2.8rem; }
  .nw-all-updates, .nw-newsletters { width: 100%; justify-content: space-between; padding-left: 24px; padding-right: 12px; }
  .nw-card-body, .nw-featured .nw-card-body { padding-inline: 21px; }
}
@media (prefers-reduced-motion: reduce) { .nw-card, .nw-photo img, .nw-actions a, .nw-arrow { transition: none; } .nw-card:hover, .nw-card:focus-within, .nw-read:hover .nw-arrow, .nw-actions a:hover .nw-arrow { transform: none; } .nw-card:hover .nw-photo img { transform: none; } }
