/* RWJBH - Jersey Holiday Radio LP - jhr26- namespace
   Shared root: .jhr26-header / .jhr26-body / .jhr26-footer
   Upload to: /includes/jhr26-landing.css (linked in the header module)
   Images: /images/landing-pages/jersey-holiday-radio-2026/
   Fonts: Alfa Slab One + Inter (Google Fonts) */
@import url('https://fonts.googleapis.com/css2?family=Alfa+Slab+One&family=Inter:wght@400;500;600;700&display=swap');

.jhr26-header,
.jhr26-body,
.jhr26-footer {
  --jhr26-red: #DA001C;
  --jhr26-green: #09582D;
  --jhr26-cream: #F4E8C1;
  --jhr26-cream-dk: #ECDCAE;
  --jhr26-ink: #1C1C1C;
  --jhr26-slab: 'Alfa Slab One', Georgia, serif;
  --jhr26-sans: 'Inter', system-ui, sans-serif;

  background: var(--jhr26-cream);
  color: var(--jhr26-ink);
  font-family: var(--jhr26-sans);
  font-size: 18px;
  line-height: 1.55;

  & *, & *::before, & *::after { box-sizing: border-box; }
  & img { max-width: 100%; height: auto; display: block; }
  & h1, & h2, & h3 { font-family: var(--jhr26-slab); font-weight: 400; margin: 0; }
  & p { margin: 0; }

  .jhr26-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
  }

  /* ---------- HEADER: campaign nav (stickiness lives on the icoral wrapper below) ---------- */
  &.jhr26-header {
    background: var(--jhr26-cream);
    border-bottom: 2px solid var(--jhr26-green);

    .jhr26-wrap {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 12px 32px;
      padding-block: 12px;
    }
    .jhr26-nav__logo { width: 170px; }
    .jhr26-nav__links {
      display: flex;
      flex-wrap: wrap;
      gap: 8px 24px;
      flex: 1 1 auto;
      a {
        color: var(--jhr26-ink);
        font-weight: 600;
        font-size: 15px;
        text-decoration: none;
        &:hover, &:focus-visible { color: var(--jhr26-red); text-decoration: underline; }
      }
    }
  }

  /* ---------- Buttons ---------- */
  .jhr26-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 24px;
    border-radius: 999px;
    border: 2px solid var(--jhr26-red);
    background: var(--jhr26-red);
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: background .2s, color .2s;
    &:hover, &:focus-visible { background: #A80016; border-color: #A80016; color: #fff; }

    &.jhr26-btn--ghost {
      background: transparent;
      border-color: var(--jhr26-green);
      color: var(--jhr26-green);
      &:hover, &:focus-visible { background: var(--jhr26-green); color: var(--jhr26-cream); }
    }
    &.jhr26-btn--chip {
      min-height: 44px;
      padding: 8px 16px;
      font-size: 14px;
      background: #fff;
      border-width: 1.5px;
      border-color: var(--jhr26-green);
      color: var(--jhr26-green);
      &:hover, &:focus-visible { background: var(--jhr26-green); color: var(--jhr26-cream); }
    }
  }

  .jhr26-eyebrow {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--jhr26-green);
  }

  /* ---------- Video facade (click-to-load YouTube) ---------- */
  .jhr26-video {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    background: var(--jhr26-ink);

    &.jhr26-video--vertical { aspect-ratio: 9 / 16; border-radius: 14px; }

    .jhr26-video__btn {
      position: absolute;
      inset: 0;
      width: 100%;
      border: 0;
      padding: 0;
      cursor: pointer;
      background: var(--jhr26-green) center / cover no-repeat;
      color: var(--jhr26-cream);
      font: 600 14px var(--jhr26-sans);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 10px;
      &::before {
        content: "";
        width: 64px;
        height: 64px;
        border-radius: 50%;
        background: var(--jhr26-red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M8 5v14l11-7z'/%3E%3C/svg%3E") center / 30px no-repeat;
        box-shadow: 0 4px 14px rgba(0,0,0,.3);
        transition: transform .2s;
      }
      &:hover::before, &:focus-visible::before { transform: scale(1.08); }
      &[disabled] { cursor: default; opacity: .85; }
    }
    iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
  }

  /* ---------- Hero ---------- */
  .jhr26-hero {
    .jhr26-wrap {
      display: grid;
      grid-template-columns: 1fr 1.1fr;
      gap: 48px;
      align-items: center;
      padding-block: 72px 56px;
    }
    .jhr26-hero__copy { display: flex; flex-direction: column; gap: 22px; }
    h1 { font-size: clamp(38px, 5vw, 60px); line-height: 1.04; color: var(--jhr26-red); }
    .jhr26-hero__lede { font-size: 19px; max-width: 520px; }
    .jhr26-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
    .jhr26-hero__credit { width: 340px; margin-top: 4px; }
  }

  .jhr26-listen {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px 18px;
    border: 1.5px solid var(--jhr26-green);
    border-radius: 14px;
    background: rgba(255,255,255,.35);
    .jhr26-eyebrow { font-size: 13px; }
    .jhr26-listen__row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
    .jhr26-listen__badges {
      gap: 12px 24px;
      .jhr26-badge {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
        border-radius: 8px;
        transition: opacity .2s;
        &:hover, &:focus-visible { opacity: .8; }
        img { height: 32px; width: auto; }
      }
    }
    .jhr26-listen__links {
      gap: 8px 20px;
      a {
        color: var(--jhr26-green);
        font-weight: 700;
        font-size: 15px;
        text-decoration: underline;
        text-underline-offset: 3px;
        &:hover, &:focus-visible { color: var(--jhr26-red); }
      }
    }
    .jhr26-listen__fm {
      display: inline-flex;
      align-items: center;
      min-height: 44px;
      padding: 0 16px;
      border-radius: 999px;
      background: var(--jhr26-green);
      color: var(--jhr26-cream);
      font-weight: 700;
      font-size: 14px;
    }
  }

  /* ---------- Why ---------- */
  .jhr26-why {
    .jhr26-wrap {
      display: grid;
      grid-template-columns: 1.3fr 1fr;
      gap: 56px;
      align-items: start;
      padding-block: 96px;
    }
    h2 { font-size: clamp(32px, 4vw, 46px); line-height: 1.08; color: var(--jhr26-green); margin-bottom: 20px; }
    p { font-size: 21px; }
    &:has(.jhr26-quote.jhr26-is-hidden) .jhr26-wrap { grid-template-columns: minmax(0, 860px); }
  }

  .jhr26-quote {
    margin: 0;
    background: #fff;
    border: 2px solid var(--jhr26-ink);
    border-radius: 18px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    blockquote {
      margin: 0;
      font-family: var(--jhr26-slab);
      font-size: 26px;
      line-height: 1.3;
      color: var(--jhr26-red);
    }
    figcaption { display: flex; align-items: center; gap: 14px; font-size: 14px; }
    .jhr26-quote__photo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: var(--jhr26-cream-dk); }
    .jhr26-quote__name { display: flex; flex-direction: column; }
  }

  /* ---------- Songs ---------- */
  .jhr26-songs {
    background: var(--jhr26-cream-dk);
    .jhr26-wrap { padding-block: 96px; display: flex; flex-direction: column; gap: 36px; }
    .jhr26-songs__head {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      align-items: flex-end;
      gap: 16px;
      h2 { font-size: clamp(32px, 4vw, 46px); color: var(--jhr26-red); margin-bottom: 12px; }
      a { color: var(--jhr26-red); font-weight: 700; }
    }
    .jhr26-songs__grid {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 32px 24px;
      list-style: none;
      margin: 0;
      padding: 0;
    }
    .jhr26-song {
      flex: 0 1 calc((100% - 48px) / 3);
      display: flex;
      flex-direction: column;
      gap: 10px;
      h3 { font-size: clamp(16px, 1.6vw, 20px); line-height: 1.2; color: var(--jhr26-green); }
    }
  }

  /* ---------- Records ---------- */
  .jhr26-records {
    .jhr26-wrap {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 48px;
      align-items: center;
      padding-block: 96px;
    }
    h2 { font-size: clamp(32px, 4vw, 46px); line-height: 1.08; color: var(--jhr26-green); margin-bottom: 16px; }
    .jhr26-records__media {
      img {
        width: 100%;
        border-radius: 10px;
        box-shadow: 0 14px 34px rgba(28,28,28,.22);
        transform: rotate(-2deg);
      }
    }
    .jhr26-records__locations {
      grid-column: 1 / -1;
      background: #fff;
      border: 2px solid var(--jhr26-ink);
      border-radius: 18px;
      padding: 28px 32px;
      h3 { font-size: 24px; color: var(--jhr26-red); margin-bottom: 16px; }
      ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 10px 24px;
      }
      li { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; border-bottom: 1px solid var(--jhr26-cream-dk); padding-block: 10px; }
      .jhr26-loc {
        display: flex;
        flex-direction: column;
        gap: 2px;
        font-size: 16px;
        span { font-size: 14px; color: #4A4A4A; }
      }
      .jhr26-tag { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--jhr26-green); }
    }
  }

  /* ---------- Social ---------- */
  .jhr26-social {
    background: var(--jhr26-green);
    color: var(--jhr26-cream);
    .jhr26-wrap { padding-block: 88px; display: flex; flex-direction: column; gap: 32px; }
    .jhr26-social__head {
      display: flex;
      flex-wrap: wrap;
      align-items: baseline;
      gap: 12px 24px;
      h2 { font-size: clamp(32px, 4vw, 46px); color: var(--jhr26-cream); }
      span { font-weight: 700; font-size: 20px; }
    }
    .jhr26-social__grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 20px;
    }
  }

  /* ---------- Virtual toy drive ---------- */
  .jhr26-toys {
    .jhr26-wrap { padding-block: 88px; }
    .jhr26-toys__card {
      max-width: 860px;
      margin: 0 auto;
      background: #fff;
      border: 2px solid var(--jhr26-ink);
      border-radius: 18px;
      padding: 48px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 18px;
      text-align: center;
    }
    h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; color: var(--jhr26-red); }
  }

  /* ---------- Hidden for now (remove this class in the HTML to show) ---------- */
  .jhr26-is-hidden { display: none !important; }

  /* ---------- FOOTER: sign-off ---------- */
  .jhr26-signoff {
    .jhr26-wrap {
      padding-block: 56px;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: center;
      gap: 24px 48px;
      text-align: center;
    }
    .jhr26-signoff__logo { width: 260px; }
    .jhr26-signoff__credit { width: 300px; }
    .jhr26-signoff__msg { flex-basis: 100%; font-family: var(--jhr26-slab); font-size: 28px; color: var(--jhr26-red); }
  }

  /* ---------- Responsive ---------- */
  @media (max-width: 991px) {
    .jhr26-hero .jhr26-wrap,
    .jhr26-why .jhr26-wrap,
    .jhr26-records .jhr26-wrap { grid-template-columns: 1fr; gap: 36px; padding-block: 56px; }
    .jhr26-songs .jhr26-song { flex-basis: calc((100% - 24px) / 2); }
    .jhr26-social .jhr26-social__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .jhr26-songs .jhr26-wrap,
    .jhr26-social .jhr26-wrap { padding-block: 56px; }
  }
  @media (max-width: 639px) {
    .jhr26-songs .jhr26-song { flex-basis: 100%; }
  }
  @media (max-width: 575px) {
    .jhr26-wrap { padding: 0 16px; }
    &.jhr26-header .jhr26-nav__logo { width: 130px; }
    &.jhr26-header .jhr26-btn { min-height: 40px; padding: 8px 16px; font-size: 14px; }
    .jhr26-songs .jhr26-song { flex-basis: 100%; }
    .jhr26-songs .jhr26-song h3 { font-size: 18px; }
    .jhr26-why p { font-size: 18px; }
    .jhr26-quote { padding: 24px; }
    .jhr26-quote blockquote { font-size: 22px; }
    .jhr26-toys .jhr26-toys__card { padding: 32px 20px; }
  }
  @media (prefers-reduced-motion: reduce) {
    & * { transition: none !important; }
  }
}

/* Make the header's icoral module the sticky element so it sticks past its own wrapper */
[icoral]:has(> .jhr26-header) {
  position: sticky;
  top: 0;
  z-index: 5;
}