/* ==========================================================================
   shared/home-style-pages.after.css
   Rules shared by the home-style pages (big hero slider):
     group-index, group-meetings-events, group-offers, hotel-index
   Change something here and it changes on all of them.
   Loaded AFTER each page's own file (pages/<page>.css), so these rules
   win over page rules of the same weight.
   ========================================================================== */

html[data-cc-page] .header-top {
  height: 34px;
  border-bottom: 1px solid rgba(255,255,255,.16);
  font-size: 11px;
  letter-spacing: .08em;
}

html[data-cc-page] .header-main {
  position: relative;
}

html[data-cc-page] .menu {
  display: flex;
  align-items: stretch;
  margin-left: auto;
  height: 100%;
}

html[data-cc-page] .menu-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 27px;
  height: 1px;
  background: var(--pink);
  transition: right .3s ease;
}

@media (max-width:1100px) {
  html[data-cc-page] .booking-form {
    grid-template-columns: 1.1fr 1fr 1fr 1.25fr;
    gap: 9px;
  }

  html[data-cc-page] .booking-form > .field:nth-of-type(5) {
    grid-column: 1/3;
  }
}

@media (max-width:820px) {
  html[data-cc-page] .booking-form {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  html[data-cc-page] .booking-form > .field:nth-of-type(1),
  html[data-cc-page] .booking-form > .field:nth-of-type(4) {
    grid-column: 1/3;
  }

  html[data-cc-page] .booking-form > .field:nth-of-type(5) {
    grid-column: 1/2;
  }

  html[data-cc-page] .control,
  html[data-cc-page] .guest-trigger {
    height: 46px;
  }

  html[data-cc-page] .booking-submit {
    height: 46px;
  }

  html[data-cc-page] .guest-popover {
    position: fixed;
    left: 15px;
    right: 15px;
    top: auto;
    bottom: 18px;
    width: auto;
    max-width: none;
    max-height: 72vh;
    overflow: auto;
    z-index: 520;
  }

  html[data-cc-page] .rooms-container {
    max-height: 46vh;
  }
}

@media (max-width:560px) {
  html[data-cc-page] .booking-form {
    grid-template-columns: 1fr 1fr;
    gap: 7px;
  }

  html[data-cc-page] .booking-form > .field:nth-of-type(1),
  html[data-cc-page] .booking-form > .field:nth-of-type(4) {
    grid-column: 1/3;
  }

  html[data-cc-page] .booking-form > .field:nth-of-type(5) {
    grid-column: 1/2;
  }
}

@media (max-width:767px) {
  html[data-cc-page] .mobile-book::after {
    content: "\f061";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 11px;
  }
}

@media (max-width:820px) {
  html[data-cc-page] .header-top,
  html[data-cc-page] .menu,
  html[data-cc-page] .header-book {
    display: none;
  }
}

@media (max-width:767px) {
  html[data-cc-page] .mobile-book:hover,
  html[data-cc-page] .mobile-book:focus-visible {
    background-color: var(--pink) !important;
    background-image: linear-gradient(90deg,var(--pink-dark) 0%,#87004b 100%) !important;
    background-size: 100% 100% !important;
    color: #fff !important;
  }
}

@media (min-width:768px) {
  html[data-cc-page] .booking-card::before {
    display: none !important;
    content: none !important;
  }

  html[data-cc-page] .booking-card .control,
  html[data-cc-page] .booking-card .guest-trigger {
    background: rgba(255,255,255,.76) !important;
    border: 0 !important;
    box-shadow: 0 1px 0 rgba(255,255,255,.56),0 5px 16px rgba(24,14,20,.045) !important;
  }
}

html[data-cc-page] .custom-resort-control.open {
  background: rgba(255,255,255,.90) !important;
  box-shadow: 0 0 0 3px rgba(169,0,97,.08) !important;
}

@media (max-width:820px) {
  html[data-cc-page] .resort-select-menu {
    width: 100%;
    min-width: 280px;
  }
}

@media (max-width:560px) {
  html[data-cc-page] .resort-select-menu {
    left: 0;
    right: 0;
    width: auto;
    min-width: 0;
  }
}

html[data-cc-page] .language-switcher {
  flex: 0 0 auto;
}

html[data-cc-page] .header.sticky .language-trigger {
  background: #fff;
  border-color: #dedede;
  color: #171717;
}

html[data-cc-page] .language-flag-img {
  display: block;
  width: 24px;
  height: 15px;
  object-fit: cover;
  border-radius: 1px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.12);
  flex: 0 0 auto;
}

html[data-cc-page] .topbar-language {
  margin-left: 2px !important;
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
}

html[data-cc-page] .topbar-language .language-trigger {
  min-width: 48px;
  width: auto;
  height: 26px;
  padding: 0 7px;
  gap: 7px;
  border: 0;
  background: transparent;
  color: #fff;
  border-radius: 2px;
}

html[data-cc-page] .topbar-language .language-trigger:hover,
html[data-cc-page] .topbar-language.open .language-trigger {
  background: rgba(255,255,255,.12);
  border-color: transparent;
  color: #fff;
  transform: none;
}

html[data-cc-page] .topbar-language .language-menu {
  top: calc(100% + 7px);
  right: 0;
  width: 184px;
  padding: 6px 0;
}

html[data-cc-page] .drawer-email-copy {
  min-width: 0;
}

html[data-cc-page] .drawer-social-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 14px;
}

html[data-cc-page] .drawer-social-label {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #949494;
}

html[data-cc-page] .drawer-socials {
  display: flex;
  align-items: center;
  gap: 8px;
}

html[data-cc-page] .drawer .drawer-book-now {
  margin-top: 22px;
}

@media (max-width:390px) {
  html[data-cc-page] .drawer-social-row {
    align-items: flex-start;
    flex-direction: column;
  }

  html[data-cc-page] .drawer-socials {
    width: 100%;
  }
}

html[data-cc-page] .mobile-header-actions {
  display: none;
  margin-left: auto;
  align-items: center;
  gap: 7px;
  position: relative;
  z-index: 260;
}

html[data-cc-page] .mobile-language-trigger .language-flag-img {
  width: 25px;
  height: 16px;
}

html[data-cc-page] .mobile-language-menu .language-flag-img {
  width: 27px;
  height: 17px;
}

@media (max-width:820px) {
  html[data-cc-page] .mobile-header-actions {
    display: flex;
  }

  html[data-cc-page] .mobile-header-actions .mobile-trigger {
    display: block;
    margin-left: 0;
  }
}

@media (max-width:390px) {
  html[data-cc-page] .mobile-header-actions {
    gap: 3px;
  }
}
