/* Yukon Home and Tour – hero (same design as About > "Local Whitehorse Tour Operator")
   Container .yk-hero
     ├─ Image / Featured Image   .yk-hero-bg      → full-cover background + dark overlay
     ├─ Heading                  .yk-hero-badge
     ├─ Archive / Post Title     .yk-hero-title
     ├─ Divider                  .yk-hero-divider → drawn as the wave
     ├─ Heading / Post Info      .yk-hero-sub / .yk-hero-meta
     └─ Icon                     .yk-hero-scroll  → round scroll-down button */

.yk.yk.yk.yk-hero{
  position:relative;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:0;
  min-height:100vh;
  margin:0;
  padding:150px 24px 90px;
  background:#050a08 linear-gradient(160deg, #0d1a15 0%, #050a08 100%);
  text-align:center;
}
.yk.yk.yk.yk-hero > .e-con-inner{
  position:static;              /* background + scroll button are positioned against the whole hero */
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:0;
  width:100%;
  max-width:1160px;
  margin:0 auto;
  padding:0;
}
.yk.yk.yk.yk-hero .elementor-widget:not(.yk-hero-bg):not(.yk-hero-scroll){
  position:relative;
  z-index:1;
  width:100%;
  max-width:100%;
}

/* ---- background photo + overlay ---- */
.yk.yk.yk .yk-hero-bg{
  position:absolute;
  inset:0;
  z-index:0;
  width:100%;
  max-width:none;
  height:100%;
}
.yk.yk.yk .yk-hero-bg :is(.elementor-widget-container, a){ display:block; height:100%; }
.yk.yk.yk .yk-hero-bg img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  max-width:none;
  object-fit:cover;
  border-radius:0;
  box-shadow:none;
}
.yk.yk.yk .yk-hero-bg::after{
  content:'';
  position:absolute;
  inset:0;
  background:
    linear-gradient(100deg, rgba(5,10,8,.75) 0%, rgba(5,10,8,.5) 40%, rgba(5,10,8,.22) 68%, rgba(5,10,8,.08) 100%),
    linear-gradient(0deg, rgba(5,10,8,.35) 0%, rgba(5,10,8,0) 22%);
}

/* ---- badge ---- */
.yk.yk.yk .yk-hero-badge{ margin-bottom:20px; }
.yk.yk.yk .yk-hero-badge .elementor-heading-title{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin:0;
  font-family: var(--font-title);
  font-weight:600;
  font-size:13px;
  line-height:1.2;
  letter-spacing:0.06em;
  text-transform:uppercase;
  color:#ffffff;
  background: rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.35);
  border-radius:999px;
  padding:8px 18px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.yk.yk.yk .yk-hero-badge .elementor-heading-title::before{
  content:'';
  width:7px;
  height:7px;
  border-radius:50%;
  background: var(--green);
  flex:none;
}

/* ---- title ---- */
.yk.yk.yk .yk-hero-title{ margin-bottom:24px; }
.yk.yk.yk .yk-hero-title .elementor-heading-title{
  margin:0 auto;
  max-width:620px;
  font-family: var(--font-title);
  font-weight:500;
  font-size: clamp(40px, 5.5vw, 72px);
  line-height:1.08;
  letter-spacing:-0.01em;
  text-transform:none;
  color:#ffffff;
}
.yk.yk.yk.yk-hero--article .yk-hero-title .elementor-heading-title{ max-width:860px; }

/* ---- divider drawn as a wave ---- */
.yk.yk.yk .yk-hero-divider{ margin-bottom:24px; }
.yk.yk.yk .yk-hero-divider .elementor-divider{
  display:flex;
  justify-content:center;
  padding:0;
}
.yk.yk.yk .yk-hero-divider .elementor-divider-separator{
  display:block;
  width:120px;
  height:20px;
  margin:0;
  border:0;
  background: rgba(255,255,255,.92);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 20' fill='none'%3E%3Cpath d='M1 10C8 3 15 3 21 10C28 17 35 17 41 10C48 3 55 3 61 10C68 17 75 17 81 10C88 3 95 3 101 10C108 17 115 17 119 13' stroke='black' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 20' fill='none'%3E%3Cpath d='M1 10C8 3 15 3 21 10C28 17 35 17 41 10C48 3 55 3 61 10C68 17 75 17 81 10C88 3 95 3 101 10C108 17 115 17 119 13' stroke='black' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---- subtitle (Heading on archive) and author/date (Post Info on single) ---- */
.yk.yk.yk .yk-hero-sub .elementor-heading-title,
.yk.yk.yk .yk-hero-meta .elementor-icon-list-text{
  font-family: var(--font-serif);
  font-style:italic;
  font-weight:400;
  font-size:20px;
  line-height:1.5;
  text-transform:none;
  color: rgba(255,255,255,.88);
}
.yk.yk.yk .yk-hero-sub .elementor-heading-title{ max-width:460px; margin:0 auto; }

.yk.yk.yk .yk-hero-meta .elementor-icon-list-items{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  margin:0;
  padding:0;
  list-style:none;
}
.yk.yk.yk .yk-hero-meta .elementor-icon-list-item{ display:flex; align-items:center; margin:0; padding:0; }
.yk.yk.yk .yk-hero-meta .elementor-icon-list-item::after{ display:none; }
.yk.yk.yk .yk-hero-meta .elementor-icon-list-item + .elementor-icon-list-item::before{
  content:'';
  width:1px;
  height:16px;
  margin:0 12px;
  background: rgba(255,255,255,.4);
}
.yk.yk.yk .yk-hero-meta .elementor-icon-list-icon{ display:none; }
.yk.yk.yk .yk-hero-meta a{ color:inherit; }
.yk.yk.yk .yk-hero-meta .elementor-post-info__item--type-author::before{ content:'By '; }

/* ---- scroll-down button ---- */
.yk.yk.yk .yk-hero-scroll{
  position:absolute;
  left:50%;
  bottom:44px;
  z-index:2;
  width:auto;
  transform:translateX(-50%);
}
.yk.yk.yk .yk-hero-scroll .elementor-icon-wrapper{ line-height:0; }
.yk.yk.yk .yk-hero-scroll .elementor-icon{
  width:56px;
  height:56px;
  padding:0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(255,255,255,.45);
  border-radius:50%;
  background:transparent;
  color:#ffffff;
  fill:#ffffff;
  font-size:18px;
  transition: background .25s ease, border-color .25s ease;
}
.yk.yk.yk .yk-hero-scroll .elementor-icon :is(i, svg){
  width:18px;
  height:18px;
  font-size:18px;
  animation: ykScrollBounce 2s ease-in-out infinite;
}
.yk.yk.yk .yk-hero-scroll .elementor-icon:hover{ background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.75); }
@keyframes ykScrollBounce{
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}
@media (prefers-reduced-motion: reduce){
  .yk.yk.yk .yk-hero-scroll .elementor-icon :is(i, svg){ animation:none; }
}

/* ============ LARGE DESKTOP  (min-width: 1440px) ============ */
@media (min-width:1440px){
  .yk.yk.yk.yk-hero{ padding:170px 32px 110px; }
}

/* ============ TABLET / SMALL DESKTOP  (max-width: 991px): height follows content ============ */
@media (max-width:991px){
  .yk.yk.yk.yk-hero{ min-height:0; padding:137px 24px 52px; }   /* 85px fixed nav bar + 52px */
  .yk.yk.yk .yk-hero-title .elementor-heading-title{ font-size: clamp(30px, 5vw, 44px); }
  .yk.yk.yk .yk-hero-scroll{ position:relative; left:auto; bottom:auto; transform:none; margin-top:28px; }
}

/* ============ MOBILE  (max-width: 767px) ============ */
@media (max-width:767px){
  .yk.yk.yk.yk-hero{ padding:129px 20px 52px; }                  /* 77px fixed nav bar + 52px */
  .yk.yk.yk .yk-hero-badge{ margin-bottom:16px; }
  .yk.yk.yk .yk-hero-badge .elementor-heading-title{ font-size:12px; padding:7px 14px; }
  .yk.yk.yk .yk-hero-divider{ margin-bottom:18px; }
  .yk.yk.yk .yk-hero-divider .elementor-divider-separator{ width:100px; height:18px; }
  .yk.yk.yk .yk-hero-sub .elementor-heading-title,
  .yk.yk.yk .yk-hero-meta .elementor-icon-list-text{ font-size:17px; }
  .yk.yk.yk .yk-hero-scroll .elementor-icon{ width:46px; height:46px; }
}

/* ============ MOBILE PORTRAIT  (max-width: 479px) ============ */
@media (max-width:479px){
  .yk.yk.yk .yk-hero-title .elementor-heading-title{ font-size: clamp(26px, 7.5vw, 34px); }
}
