/* Experience Tasmania homepage redesign - 2026-10-03 */

.home-hero-v2{
  padding:28px 0 72px;
  background:var(--paper);
}
.home-hero-v2 .home-hero-frame{
  position:relative;
  aspect-ratio:2400 / 1290;
  min-height:0;
  overflow:hidden;
  border-radius:30px;
  background:#d6d0c6;
  box-shadow:0 24px 62px rgba(17,34,25,.12);
}
.home-hero-v2 .home-hero-image{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
  filter:saturate(1.24) contrast(1.085) brightness(1.035);
}
.home-hero-v2 .home-hero-shade{
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg,rgba(8,18,13,0) 34%,rgba(8,18,13,.07) 60%,rgba(8,18,13,.46) 100%),
    linear-gradient(90deg,rgba(8,18,13,.21) 0%,rgba(8,18,13,.045) 52%,rgba(8,18,13,0) 78%);
}
.home-hero-v2 .home-hero-content{
  position:absolute;
  z-index:2;
  left:42px;
  right:42px;
  bottom:40px;
  max-width:760px;
  color:#fff;
}
.home-hero-v2 h1.display{
  margin:0;
  max-width:none;
  font-size:clamp(44px,4.8vw,58px);
  line-height:1.02;
  letter-spacing:-.038em;
  color:#fff;
}
.home-hero-v2 .lead{
  max-width:620px;
  margin:17px 0 0;
  font-size:16px;
  line-height:1.55;
  color:rgba(255,255,255,.88);
}
.home-hero-v2 .actions{
  margin-top:24px;
}
.home-hero-v2 .btn{
  border-color:rgba(255,255,255,.62);
}
.home-hero-v2 .home-hero-primary{
  background:#fff;
  color:var(--forest-dark);
  border-color:#fff;
}
.home-hero-v2 .home-hero-primary:hover{
  background:#f3f2ed;
  color:var(--forest-dark);
}
.home-hero-v2 .home-hero-secondary{
  background:rgba(255,255,255,.10);
  color:#fff;
  border-color:rgba(255,255,255,.55);
  backdrop-filter:blur(8px);
}
.home-hero-v2 .home-hero-secondary:hover{
  background:rgba(255,255,255,.18);
  color:#fff;
}

.home-featured{
  background:#fff;
  padding:78px 0 84px;
}
.home-featured-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:32px;
  margin-bottom:30px;
}
.home-featured-head .section-title{
  margin:0;
}
.home-featured-link{
  flex:0 0 auto;
  margin-bottom:5px;
  text-decoration:none;
}
.home-featured-link:hover{
  text-decoration:underline;
  text-underline-offset:4px;
}

.home-experience-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:22px;
}
.home-experience-grid>.experience-card:last-child:nth-child(odd){
  grid-column:1/-1;
}

/* Match the Experience page card system. */
.home-featured .experience-card{
  display:grid;
  grid-template-columns:1fr 1fr;
  height:330px;
  min-height:0;
  grid-template-rows:minmax(0,1fr);
  text-decoration:none;
  border:1px solid var(--line);
  border-radius:22px;
  overflow:hidden;
  background:var(--paper-soft);
  transition:transform .2s ease,box-shadow .2s ease;
}
.home-featured .experience-card:hover{
  transform:translateY(-3px);
  box-shadow:var(--shadow);
}
.home-featured .experience-card-media{
  height:100%;
  min-height:0;
  overflow:hidden;
  background:#d8d3c9;
}
.home-featured .experience-card-media img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.home-featured .experience-card-body{
  display:flex;
  flex-direction:column;
  min-width:0;
  overflow:hidden;
  padding:24px;
}
.home-featured .experience-meta{
  font-size:10px;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--forest);
}
.home-featured .experience-card h3{
  font-family:var(--serif);
  font-size:34px;
  font-weight:500;
  line-height:1.02;
  letter-spacing:-.03em;
  margin:10px 0;
}
.home-featured .experience-card p{
  font-size:14px;
  line-height:1.62;
  color:var(--muted);
  margin:0 0 16px;
}
.home-featured .experience-card .text-link{
  margin-top:auto;
}

@media(max-width:980px){
  .home-experience-grid{grid-template-columns:1fr}
  .home-experience-grid>.experience-card:last-child:nth-child(odd){grid-column:auto}
  .home-featured .experience-card{height:320px}
}

@media(max-width:760px){
  .home-hero-v2{padding:18px 0 54px}
  .home-hero-v2 .home-hero-frame{
    min-height:0;
    border-radius:22px;
  }
  .home-hero-v2 .home-hero-content{
    left:24px;
    right:24px;
    bottom:26px;
  }
  .home-hero-v2 h1.display{
    font-size:clamp(38px,10vw,48px);
  }
  .home-hero-v2 .lead{
    font-size:15px;
    max-width:520px;
  }
  .home-featured{
    padding:62px 0 68px;
  }
  .home-featured-head{
    display:block;
    margin-bottom:24px;
  }
  .home-featured-link{
    display:inline-block;
    margin-top:14px;
  }
  .home-featured .experience-card{
    height:auto;
    min-height:0;
    grid-template-columns:1fr;
    grid-template-rows:auto auto;
  }
  .home-featured .experience-card-media{
    height:auto;
    min-height:0;
    aspect-ratio:4/3;
  }
}

@media(max-width:520px){
  .home-hero-v2 .actions{
    display:grid;
    grid-template-columns:1fr;
  }
  .home-hero-v2 .btn{
    width:100%;
    justify-content:center;
  }
}

/* Keep the Airbnb crop centred on the bath itself. */
.stay-stack .stay-bath-image{
  object-position:78% 52%!important;
}
