/* Wisko Media v1.1.8 — decorative newspaper homepage banners */

.wmn-home-banner {
  background-image: var(--wmn-home-banner-image);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

/* Header artwork lives behind the logo/menu rather than becoming a separate block. */
.home .site-header.wmn-has-header-banner {
  position: relative;
  isolation: isolate;
  overflow: visible;
  background: transparent;
}
.home .site-header.wmn-has-header-banner > .wmn-home-banner--header {
  position: absolute;
  inset: 4px 0 0;
  z-index: -2;
  width: 100%;
  height: calc(100% - 4px);
  min-height: 168px;
  pointer-events: none;
  background-position: center 42%;
}
.home .site-header.wmn-has-header-banner::after {
  content: "";
  position: absolute;
  inset: 4px 0 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(250,246,238,.86) 0%, rgba(250,246,238,.60) 25%, rgba(250,246,238,.38) 50%, rgba(250,246,238,.60) 75%, rgba(250,246,238,.86) 100%),
    linear-gradient(180deg, rgba(250,246,238,.35), rgba(250,246,238,.62));
}
.home .site-header.wmn-has-header-banner .site-header__inner,
.home .site-header.wmn-has-header-banner .masthead-strip {
  position: relative;
  z-index: 2;
  background: transparent;
}
.home .site-header.wmn-has-header-banner .header-search-panel {
  position: relative;
  z-index: 4;
}

/* Middle banner becomes a full-width editorial hero, not a decorative strip. */
.home-stream .wmn-home-banner--middle {
  position: relative;
  isolation: isolate;
  width: 100vw;
  min-height: clamp(430px, 42vw, 560px);
  margin-left: calc(50% - 50vw);
  margin-top: clamp(42px, 6vw, 78px);
  margin-bottom: clamp(48px, 7vw, 88px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background-position: center 50%;
  border-block: 1px solid rgba(16,42,86,.14);
  box-shadow: inset 0 1px rgba(255,255,255,.38), inset 0 -1px rgba(16,42,86,.05);
}
.home-stream .wmn-home-banner--middle::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(250,246,238,.84) 0%, rgba(250,246,238,.60) 23%, rgba(250,246,238,.38) 50%, rgba(250,246,238,.60) 77%, rgba(250,246,238,.84) 100%),
    linear-gradient(180deg, rgba(250,246,238,.28), rgba(250,246,238,.52));
}
.wmn-home-banner__content {
  position: relative;
  z-index: 2;
  padding-block: clamp(58px, 8vw, 104px);
  text-align: center;
}
.wmn-home-banner__content .section-kicker {
  margin-bottom: 10px;
  color: var(--wm-orange);
}
.wmn-home-banner__content h2 {
  max-width: 920px;
  margin: 0 auto;
  color: var(--wm-navy);
  font: 800 clamp(3rem, 6.4vw, 6.2rem)/.90 var(--wm-serif);
  letter-spacing: -.045em;
  text-wrap: balance;
}
.wmn-home-banner__content > p:not(.section-kicker) {
  max-width: 680px;
  margin: 22px auto 0;
  color: #363636;
  font: 500 clamp(1rem, 1.7vw, 1.25rem)/1.55 var(--wm-serif);
}
.wmn-home-banner__content > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  margin-top: 26px;
  padding: 10px 18px;
  border: 1px solid rgba(16,42,86,.28);
  background: rgba(250,246,238,.58);
  color: var(--wm-navy);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .065em;
  text-transform: uppercase;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
.wmn-home-banner__content > a:hover {
  border-color: var(--wm-orange);
  color: var(--wm-orange);
}

/* The third artwork becomes the full-width Stay Connected environment. */
.site-footer__connect-band {
  position: relative;
  isolation: isolate;
  width: 100%;
  overflow: hidden;
}
.site-footer__connect-band.has-banner {
  background-image: var(--wmn-footer-banner-image);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 52%;
}
.site-footer__connect-band.has-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(250,246,238,.88) 0%, rgba(250,246,238,.65) 26%, rgba(250,246,238,.46) 50%, rgba(250,246,238,.65) 74%, rgba(250,246,238,.88) 100%),
    linear-gradient(180deg, rgba(250,246,238,.32), rgba(250,246,238,.60));
}
.site-footer__connect-band .site-footer__connect {
  position: relative;
  z-index: 2;
}
.site-footer__connect-band.has-banner .site-footer__connect {
  min-height: clamp(420px, 36vw, 500px);
  padding-block: clamp(64px, 8vw, 104px);
  align-items: center;
  border-bottom: 0;
}
.site-footer__connect-band.has-banner .site-footer__connect h2 {
  max-width: 660px;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: .94;
  letter-spacing: -.035em;
}
.site-footer__connect-band.has-banner .site-footer__quick {
  max-width: 440px;
}
.site-footer__connect-band.has-banner .site-footer__quick a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  border: 1px solid rgba(16,42,86,.22);
  background: rgba(250,246,238,.54);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

/* Keep all three treatments immersive but controlled on mobile. */
@media (max-width: 900px) {
  .home .site-header.wmn-has-header-banner > .wmn-home-banner--header {
    min-height: 122px;
    background-position: center 46%;
  }
  .home .site-header.wmn-has-header-banner::after {
    background: linear-gradient(180deg, rgba(250,246,238,.66), rgba(250,246,238,.80));
  }
  body.wmn-pwa-mobile-shell-enabled.home .site-header.wmn-has-header-banner {
    background: rgba(250,246,238,.62);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  .home-stream .wmn-home-banner--middle {
    min-height: clamp(340px, 78vw, 460px);
    background-position: center 50%;
  }
  .wmn-home-banner__content {
    padding-block: 54px;
    text-align: left;
  }
  .wmn-home-banner__content h2,
  .wmn-home-banner__content > p:not(.section-kicker) {
    margin-left: 0;
    margin-right: 0;
  }
  .wmn-home-banner__content h2 {
    max-width: 660px;
    font-size: clamp(2.65rem, 10vw, 4.5rem);
  }
  .site-footer__connect-band.has-banner {
    background-position: center 54%;
  }
  .site-footer__connect-band.has-banner .site-footer__connect {
    min-height: clamp(360px, 82vw, 460px);
    padding-block: 58px;
    align-items: flex-start;
  }
  .site-footer__connect-band.has-banner .site-footer__connect h2 {
    font-size: clamp(2.3rem, 9vw, 4rem);
  }
}

@media (max-width: 520px) {
  .home .site-header.wmn-has-header-banner > .wmn-home-banner--header {
    min-height: 108px;
    background-position: 50% 48%;
  }
  .home-stream .wmn-home-banner--middle {
    width: calc(100% + 24px);
    min-height: 390px;
    margin-left: -12px;
    background-position: 50% 50%;
  }
  .wmn-home-banner__content {
    width: min(calc(100% - 36px), var(--wm-shell));
  }
  .site-footer__connect-band.has-banner .site-footer__connect {
    min-height: 400px;
  }
}

/* v1.1.8 refinement: use the middle artwork behind Watch Wisko, like the header. */
.home .home-stream { overflow: visible; }

.home .watch-wisko.has-newspaper-banner {
  position: relative;
  isolation: isolate;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding-inline: max(calc((100vw - min(var(--wm-shell), calc(100vw - 40px))) / 2), 20px);
  overflow: hidden;
  color: var(--wm-charcoal);
  background-image: var(--wm-watch-banner-image);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 48%;
  box-shadow: 0 18px 50px rgba(13,27,45,.08);
}

.home .watch-wisko.has-newspaper-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(250,246,238,.86) 0%, rgba(250,246,238,.60) 25%, rgba(250,246,238,.38) 50%, rgba(250,246,238,.60) 75%, rgba(250,246,238,.86) 100%),
    linear-gradient(180deg, rgba(250,246,238,.35), rgba(250,246,238,.62));
}

.home .watch-wisko.has-newspaper-banner .watch-wisko__header,
.home .watch-wisko.has-newspaper-banner .watch-wisko__grid {
  position: relative;
  z-index: 1;
}

.home .watch-wisko.has-newspaper-banner .watch-wisko__header {
  border-bottom-color: rgba(16,42,86,.22);
}

.home .watch-wisko.has-newspaper-banner .watch-wisko__header h2,
.home .watch-wisko.has-newspaper-banner .watch-lead h3,
.home .watch-wisko.has-newspaper-banner .watch-card h3 {
  color: var(--wm-navy);
}

.home .watch-wisko.has-newspaper-banner .watch-wisko__header p {
  color: #424242;
}

.home .watch-wisko.has-newspaper-banner .watch-card {
  border-bottom-color: rgba(16,42,86,.18);
}

.home .watch-wisko.has-newspaper-banner a:hover {
  color: var(--wm-orange);
  text-decoration-color: var(--wm-orange);
}

@media (max-width: 900px) {
  .home .watch-wisko.has-newspaper-banner {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding-inline: 18px;
    background-position: center 50%;
  }
  .home .watch-wisko.has-newspaper-banner::before {
    background: linear-gradient(180deg, rgba(250,246,238,.68), rgba(250,246,238,.82));
  }
}

@media (max-width: 520px) {
  .home .watch-wisko.has-newspaper-banner {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding-inline: 12px;
  }
}
