/* Townline giveaway promo only. Do not load on /lynxtravel/win pages. */

/* Full-bleed photo hero: cancel win.css section padding and any parent inset. */
#lynx-win.lynx-win{
  padding-top:0;
  padding-left:0;
  padding-right:0;
  border-radius:0;
  max-width:none;
  width:100%;
  overflow-x:clip;
}
#lynx-win.lynx-win .lw-hero{
  position:relative;
  left:50%;
  width:100vw;
  max-width:100vw;
  margin:0 0 0 -50vw;
  border-radius:0;
  min-height:70vh;
  min-height:70svh;
  display:flex;
  align-items:flex-end;
  overflow:hidden;
  background:#050d18;
}
#lynx-win.lynx-win .lw-hero > img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 38%;
  display:block;
  max-width:none;
  border-radius:0;
}
#lynx-win.lynx-win .lw-hero::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:0;
  /* Left-side scrim behind the copy only; keep the right side of the photo light. */
  background:
    linear-gradient(90deg,
      rgba(5,13,24,.82) 0%,
      rgba(5,13,24,.62) 28%,
      rgba(5,13,24,.28) 48%,
      rgba(5,13,24,.08) 68%,
      rgba(5,13,24,0) 88%),
    linear-gradient(180deg,
      rgba(5,13,24,.08) 0%,
      rgba(5,13,24,.10) 55%,
      rgba(5,13,24,.42) 100%);
}
/* Stronger left scrim on Victoria so harbour lettering and busy boats
   do not compete with the headline. */
#lynx-win.lynx-win.lw-light .lw-hero::after{
  background:
    linear-gradient(90deg,
      rgba(5,13,24,.90) 0%,
      rgba(5,13,24,.78) 26%,
      rgba(5,13,24,.42) 46%,
      rgba(5,13,24,.12) 64%,
      rgba(5,13,24,0) 86%),
    linear-gradient(180deg,
      rgba(5,13,24,.16) 0%,
      rgba(5,13,24,.18) 50%,
      rgba(5,13,24,.50) 100%);
}
/* Close the thin cream strip that can show above the sticky navy header
   on the Victoria page (html/body is cream; header is #0b1830). */
html[data-tl-city="victoria"]{background-color:#0b1830}
html[data-tl-city="victoria"] header.top{
  top:0;
  box-shadow:0 -16px 0 #0b1830;
}
#lynx-win.lynx-win .lw-hero-content{
  position:relative;
  z-index:2;
  width:min(1100px,92vw);
  margin:0 auto;
  padding:4.5rem 1.1rem 3rem;
}
#lynx-win.lynx-win .lw-hero-content .lw-ey{color:#e6c46e}
#lynx-win.lynx-win .lw-hero-content .lw-h{color:#f3d58b}
#lynx-win.lynx-win .lw-hero-content .lw-lead,
#lynx-win.lynx-win .lw-hero-content .lw-desk,
#lynx-win.lynx-win .lw-hero-content .lw-desk a{color:#eef3f8}
#lynx-win.lynx-win .lw-hero-content .lw-desk a{color:#f3d58b;text-decoration:underline;text-underline-offset:2px}
/* "BC Road Trip" is a <strong> (and may be a link). On .lw-light pages win.css
   paints it dark cream, which disappears on the photo. Force the Townline gold. */
#lynx-win.lynx-win .lw-hero-content .lw-lead strong,
#lynx-win.lynx-win .lw-hero-content .lw-lead a,
#lynx-win.lynx-win.lw-light .lw-hero-content .lw-lead strong,
#lynx-win.lynx-win.lw-light .lw-hero-content .lw-lead a{
  color:#f3d58b !important;
  font-weight:650;
}
#lynx-win.lynx-win .lw-hero-content .lw-lead a,
#lynx-win.lynx-win.lw-light .lw-hero-content .lw-lead a{
  text-decoration:underline;
  text-underline-offset:2px;
}
#lynx-win.lynx-win .lw-hero-content .lw-book{margin-bottom:0}
#lynx-win.lynx-win .lw-days{width:min(1100px,100%);margin:2.2rem auto 0;padding:0 1.1rem}
#lynx-win.lynx-win .lw-formbox,
#lynx-win.lynx-win .lw-credits{width:min(720px,calc(100% - 2.2rem));margin-left:auto;margin-right:auto}
#lynx-win.lynx-win .lw-credits{width:min(1100px,calc(100% - 2.2rem))}
#lynx-win.lynx-win.lw-light .lw-hero-content .lw-ey,
#lynx-win.lynx-win.lw-light .lw-hero-content .lw-h{color:#f3d58b}
#lynx-win.lynx-win.lw-light .lw-hero-content .lw-lead,
#lynx-win.lynx-win.lw-light .lw-hero-content .lw-desk{color:#eef3f8}
#lynx-win.lynx-win.lw-light .lw-hero-content .lw-desk a{color:#f3d58b}
#lynx-win.lynx-win.lw-light .lw-hero-content .lw-book{background:#e6c46e;color:#1a1306!important}
#lynx-win.lynx-win.lw-light .lw-hero-content .lw-book:hover{background:#f3d58b;color:#1a1306!important}
@media (min-width:700px){
  #lynx-win.lynx-win .lw-hero-content{padding:5rem 1.1rem 3.5rem}
}
