/* 5PACE / Offer + News; after homepage/editorial styles for consistent components. */
body.editorial-body .nav > a.btn,
body.editorial-body .nav > a.btn:link,
body.editorial-body .nav > a.btn:visited,
body.editorial-body .nav > a.btn:hover,
body.editorial-body .nav > a.btn:focus-visible { color: #000080 !important; background: #fffafa; }
body.editorial-body .nav > a.btn:hover { background: #add8e6; }
/* News hero: original left-aligned layout, keeping the shared heading font. */
.ed-news-hero { min-height: 570px; }
.ed-news-hero .ed-hero-copy { width: min(760px, 68%); }
.ed-news-hero .ed-hero-copy h1 { font-family: var(--font-display, "Space Grotesk", sans-serif); }
.ed-news-grid .ed-card-copy { min-height: 215px; }
.ed-news-grid .ed-card-image { position: relative; }
.ed-kind-label { position: absolute; right: 14px; top: 13px; z-index: 2; font: 600 11px/1.2 'Inter',sans-serif; border: 1px solid rgba(173,216,230,.4); background: rgba(0,0,65,.82); color: #fffafa; border-radius: 40px; padding: 9px 11px; backdrop-filter: blur(8px); }
.ed-news-grid .ed-card-code { left: 14px; }
.ed-news-detail-type { display: inline-flex; margin-bottom: 21px; color: #000080; font: 650 11px 'JetBrains Mono',monospace; text-transform: uppercase; letter-spacing: .15em; }
.ed-news-source { margin: 30px 0; }
.ed-news-source a { background: #000080; color: #fffafa !important; display: inline-flex; text-decoration: none; padding: 12px 20px; border-radius: 99px; font-weight: 600; }
.ed-news-gallery { margin-top: 36px; border-top: 1px solid #dae6f1; padding-top: 30px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.ed-news-gallery a { display: block; border-radius: 15px; overflow:hidden; }
.ed-news-gallery img { width: 100%; height: 100%; max-height: 420px; object-fit: cover; display: block; }
.offer-hero { padding: clamp(150px,16vw,205px) 0 58px; background: radial-gradient(ellipse at 72% 30%,rgba(173,216,230,.12),transparent 52%),#000080; }
.offer-hero h1 { font: 550 clamp(4rem,9vw,8rem)/.94 'Space Grotesk',sans-serif; margin: 20px 0 24px; letter-spacing: -.065em; }
.offer-hero h1 em { font-style: normal; color: #add8e6; }
.offer-hero p { max-width: 720px; color: rgba(255,250,250,.75); font-size: clamp(1rem,1.6vw,1.3rem); line-height: 1.7; }
.offer-actions { margin-top: 30px; display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.offer-actions a { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 48px; border-radius: 99px; padding: 12px 23px; text-decoration: none; font: 650 14px 'Inter',sans-serif; transition: transform .2s,background .2s; }
.offer-actions a:hover { transform: translateY(-2px); }
.offer-download { color: #000080 !important; background: #fffafa; }
.offer-download:hover { background: #add8e6; }
.offer-open { border: 1px solid rgba(173,216,230,.3); background: rgba(173,216,230,.06); color: #fffafa !important; }
.offer-open:hover { background: rgba(173,216,230,.15); }
.offer-content { position: relative; padding: 36px 0 105px; background: linear-gradient(180deg,#000080 0%,#00005c 100%); }
.offer-content-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.offer-content-head h2 { margin: 10px 0 0; font: 600 clamp(2.25rem,5vw,4.2rem)/1.08 'Space Grotesk',sans-serif; letter-spacing: -.05em; }
.offer-content-head > span { color: #add8e6; font: 500 12px 'JetBrains Mono',monospace; letter-spacing: .04em; }
.offer-leaflet-wrap { margin-inline: auto; width: min(860px,100%); padding: clamp(8px,1.6vw,18px); background: rgba(173,216,230,.1); border: 1px solid rgba(173,216,230,.24); border-radius: 24px; box-shadow: 0 24px 65px rgba(0,0,30,.27); }
.offer-leaflet-wrap a { display: block; line-height: 0; }
.offer-leaflet { width: 100%; height: auto; display: block; border-radius: 8px; box-shadow: 0 12px 42px rgba(0,0,20,.4); }
.offer-bottom-cta { width: min(860px,100%); margin: 35px auto 0; padding-top: 22px; border-top: 1px solid rgba(173,216,230,.24); display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.offer-bottom-cta p { margin: 0; font-size: clamp(14px,1.5vw,18px); }
.offer-bottom-cta a { display: inline-flex; flex: none; border:1px solid rgba(173,216,230,.3); border-radius: 99px; padding: 10px 18px; color: #add8e6; text-decoration:none; }
@media (max-width: 900px) {
  .ed-news-hero .ed-hero-copy { width: min(640px,100%); }
  .ed-news-hero .ed-hero-orbit { opacity: .33; }
}
@media (max-width: 680px) {
  .offer-hero { padding: 135px 0 44px; }
  .offer-hero h1 { font-size: clamp(3.2rem,13.2vw,5rem); }
  .offer-content { padding-top: 16px; }
  .offer-content-head { align-items: start; flex-direction: column; gap: 8px; }
  .offer-leaflet-wrap { width: calc(100% + 30px); margin-left: -15px; padding: 0; border: none; border-radius: 0; background: none; }
  .offer-leaflet { border-radius: 0; }
  .offer-bottom-cta { flex-wrap: wrap; }
  .ed-news-grid { display: flex !important; flex-wrap: nowrap; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-left: 0; scrollbar-width: thin; padding: 3px 15px 18px 0; margin-right: -15px; -webkit-overflow-scrolling: touch; }
  .ed-news-grid > .ed-news-card { flex: 0 0 min(87vw,365px); scroll-snap-align: start; }
  .ed-news-grid .ed-card-image { aspect-ratio: 16 / 10; }
  .ed-news-grid .ed-card-copy { min-height: 220px; }
  .ed-news-hero { min-height: 460px; }
  .ed-news-gallery { grid-template-columns: 1fr; }
  .editorial-body #footer.site-footer,
  .editorial-body #footer.site-footer::before,
  .editorial-body #footer.site-footer::after { mask: none !important; -webkit-mask: none !important; }
}
