/* Theme14 homepage styles */
.theme14-home {
  --t14-cream: #ece5d8;
  --t14-ink: #111318;
  --t14-coffee: #b69a6b;
  --t14-night: #15181f;
  --t14-muted: #dcd1bf;
  font-family: "Jost", sans-serif;
  color: var(--t14-ink);
  background: #f3f0ea;
}

.theme14-home .container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.t14-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  background: rgba(182, 154, 107, 0.95);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 11px;
}

.t14-btn:hover {
  background: #fff;
  color: #222;
}

.t14-hero {
  position: relative;
  min-height: clamp(430px, 60vh, 560px);
  overflow: hidden;
}

.t14-hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.t14-hero-media.mobile {
  display: none;
}

.t14-hero-split {
  position: absolute;
  top: 0;
  right: 0;
  width: 39%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.82;
  mix-blend-mode: screen;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.t14-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    94deg,
    rgba(5, 24, 30, 0.85) 0%,
    rgba(6, 28, 35, 0.55) 49%,
    rgba(6, 28, 35, 0.2) 100%
  );
}

.t14-tripadvisor {
  position: absolute;
  z-index: 4;
  top: 132px;
  right: 24px;
  background: #fff;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  max-width: 300px;
}

.t14-hero-inner {
  position: relative;
  z-index: 3;
  min-height: inherit;
  display: block;
}

.t14-hero-copy {
  max-width: 560px;
  padding-top: clamp(86px, 12vh, 124px);
}

.t14-hero-copy h1 {
  margin: 0;
  color: #fff;
  font-family: "Playfair Display", serif;
  font-size: clamp(2.4rem, 4.9vw, 4.9rem);
  line-height: 0.92;
  max-width: 560px;
  text-transform: uppercase;
  letter-spacing: 0.045em;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
}

.t14-hero-copy p {
  color: #f3f5f9;
  max-width: 500px;
  margin: 14px 0 20px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.t14-hero-card {
  position: absolute;
  right: 18%;
  top: 88px;
  width: min(100%, 320px);
  border: 5px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
  transform: none;
}

.t14-hero-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
  aspect-ratio: 16 / 9;
}

.t14-booking-strip {
  background: var(--t14-cream);
  border-top: 1px solid #ddd1bc;
  border-bottom: 1px solid #ddd1bc;
  padding: 8px 0;
}

.t14-booking-wrap {
  min-height: 48px;
}

.t14-roomtags {
  padding: 10px 0 4px;
  background: #f2ecdf;
}

.t14-rooms {
  padding: 34px 0 62px;
}

.t14-title-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: 24px;
  text-align: center;
}

.t14-title-row h2 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 3vw, 2.9rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.t14-title-row a {
  display: none;
}

.t14-room-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.t14-room-card {
  position: relative;
  display: block;
  min-height: 138px;
  height: 138px;
  overflow: hidden;
}

.t14-room-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.t14-room-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.15) 10%,
    rgba(10, 10, 10, 0.76) 100%
  );
}

.t14-room-card-text {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  color: #fff;
  display: grid;
  gap: 2px;
}

.t14-room-card-text small {
  opacity: 0.92;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.t14-room-card-text strong {
  font-family: "Playfair Display", serif;
  font-size: 1.08rem;
  font-weight: 500;
}

.t14-room-card:hover img {
  transform: scale(1.08);
}

.t14-dark-feature {
  background: var(--t14-night);
  color: #f0ede7;
  padding: 88px 0;
}

.t14-dark-grid {
  display: flex;
  gap: 36px;
  align-items: center;
}

.t14-dark-copy h3 {
  margin: 0 0 12px;
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 3.2vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.t14-dark-copy p {
  margin: 0;
  color: #d9d1c4;
  line-height: 1.85;
  max-width: 650px;
  overflow-wrap: anywhere;
}

.t14-dark-copy .t14-btn {
  margin-top: 22px;
}

.t14-dark-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.t14-dark-images img {
  height: 230px;
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.t14-casino {
  position: relative;
  padding: 96px 0;
  background-size: cover;
  background-position: center;
}

.t14-casino-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 14, 20, 0.44);
  backdrop-filter: blur(2px);
}

.t14-casino-card {
  position: relative;
  z-index: 1;
  width: min(600px, 94%);
  padding: 34px;
  background: rgba(41, 30, 22, 0.54);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #f3efe8;
}

.t14-casino-card h3 {
  margin: 0 0 10px;
  font-family: "Playfair Display", serif;
  text-transform: uppercase;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  letter-spacing: 0.07em;
}

.t14-casino-card p {
  margin: 0;
  line-height: 1.8;
  color: #e9ddcf;
  overflow-wrap: anywhere;
}

.t14-casino-card .t14-btn {
  margin-top: 20px;
}

.t14-promo {
  background: #e0dfdd;
  padding: 54px 0 70px;
}

.t14-promo h3,
.t14-certs h3 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 3vw, 2.7rem);
  color: #282a30;
}

.t14-promo p {
  margin: 4px 0 26px;
  color: #5d5d60;
  font-style: italic;
  max-width: 460px;
}

.t14-promo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.t14-promo-card {
  display: grid;
  grid-template-columns: 1fr;
  height: 100%;
  background: #fff;
  color: #202226;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.07);
}

.t14-promo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 220px;
  aspect-ratio: 16 / 10;
}

.t14-promo-content {
  padding: 14px 18px;
  display: grid;
  gap: 8px;
  align-content: start;
}

.t14-promo-content strong {
  font-family: "Playfair Display", serif;
  font-size: 1.42rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.t14-promo-content span {
  color: #555;
  line-height: 1.55;
}

.t14-promo-content em {
  color: #b79b6a;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  border-top: 1px solid #e5ddd2;
  padding-top: 7px;
}

.t14-certs {
  background: #f3f0ea;
  padding: 56px 0 64px;
}

.t14-cert-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.t14-cert-grid a {
  display: block;
  background: #fff;
  padding: 10px;
}

.t14-cert-grid img {
  width: 100%;
  height: 120px;
  object-fit: contain;
}

.t14-blog {
  background: #15181f;
  color: #fff;
  padding: 58px 0 70px;
}

.t14-blog .t14-title-row h2 {
  color: #fff;
}

.t14-blog .t14-title-row a {
  color: #d8bd8f;
}

.t14-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.t14-blog-card {
  display: block;
  background: #fff;
  color: #191d27;
}

.t14-blog-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

.t14-blog-body {
  padding: 14px;
}

.t14-blog-body strong {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
}

.t14-blog-body p {
  margin: 8px 0 0;
  color: #50545f;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .t14-hero-split {
    width: 44%;
  }

  .t14-hero-inner {
    padding: 20px 0 30px;
  }

  .t14-hero-card {
    right: 8%;
    top: 96px;
    width: min(58vw, 300px);
  }

  .t14-room-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .t14-dark-grid,
  .t14-blog-grid {
    grid-template-columns: 1fr;
  }

  .t14-cert-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .t14-hero-media.desktop {
    display: none;
  }

  .t14-hero-media.mobile {
    display: block;
  }

  .t14-hero-split,
  .t14-tripadvisor {
    display: none;
  }

  .t14-hero {
    min-height: 540px;
  }

  .t14-hero-copy {
    padding-top: 110px;
  }

  .t14-hero-copy h1 {
    font-size: clamp(1.9rem, 11vw, 3rem);
  }

  .t14-hero-card {
    position: static;
    width: min(100%, 290px);
    margin-top: 18px;
  }

  .t14-hero-card img {
    height: 170px;
  }

  .t14-title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .t14-room-grid {
    grid-template-columns: 1fr;
  }

  .t14-room-card {
    min-height: 190px;
    height: 190px;
  }

  .t14-dark-feature,
  .t14-casino,
  .t14-promo,
  .t14-certs,
  .t14-blog,
  .t14-rooms {
    padding-top: 46px;
    padding-bottom: 46px;
  }

  .t14-dark-images {
    grid-template-columns: 1fr;
  }

  .t14-casino-card {
    padding: 24px;
  }

  .t14-promo-card,
  .t14-cert-grid {
    grid-template-columns: 1fr;
  }

  .t14-promo-grid {
    grid-template-columns: 1fr;
  }

  .t14-promo-card img {
    min-height: 190px;
  }
}
