/* Shared EJ Hotels header and footer, matching the homepage design. */
.site-header.solid-header { position: sticky; top: 0; z-index: 40; background: #173d38; border-bottom: 1px solid #ffffff38; color: #fff; }
.site-header.over-hero { position: absolute; top: 0; left: 0; z-index: 40; background: linear-gradient(180deg, #100e0d85, #100e0d16); border-bottom: 1px solid #ffffff38; }
.header-inner { position: relative; width: min(1660px, calc(100% - 130px)); height: 101px; gap: 27px; }
.site-header .brand { flex: 0 0 auto; }
.site-header .brand img { width: 158px; height: auto; max-height: 80px; object-fit: contain; filter: none; }
.site-header .desktop-nav { position: absolute; left: 50%; transform: translateX(-50%); display: flex; gap: clamp(28px, 3.7vw, 68px); font: 400 17px/1 var(--display); letter-spacing: .015em; white-space: nowrap; }
.site-header .desktop-nav a { color: #f7f4ef; }
.site-header .desktop-nav a:hover { color: #e6cba0; }
.site-header .desktop-nav { gap: clamp(24px, 2.8vw, 48px); }
.site-header .nav-hotel-group { position: relative; }
.site-header .nav-hotel-group summary { display: flex; align-items: center; gap: 10px; list-style: none; cursor: pointer; }
.site-header .nav-hotel-group summary::-webkit-details-marker { display: none; }
.site-header .nav-hotel-group summary > span { width: 7px; height: 7px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.site-header .nav-hotel-group[open] summary > span { transform: translateY(2px) rotate(225deg); }
.site-header .nav-hotel-group summary:hover, .site-header .nav-hotel-group[open] summary { color: #e6cba0; }
.site-header .nav-hotel-group summary:focus-visible { outline: 3px solid #e6cba0; outline-offset: 5px; }
.site-header .desktop-nav .nav-submenu { display: none; position: absolute; top: 100%; left: -24px; width: 270px; padding-top: 23px; white-space: normal; z-index: 50; }
.site-header .desktop-nav .nav-hotel-group[open] .nav-submenu, .site-header .desktop-nav .nav-hotel-group:hover .nav-submenu, .site-header .desktop-nav .nav-hotel-group:focus-within .nav-submenu { display: block; }
.site-header .desktop-nav .nav-submenu-inner { padding: 11px 0; background: #fbf8f2; box-shadow: 0 22px 40px #06110f40; border-top: 2px solid #d7b68a; }
.site-header .desktop-nav .nav-submenu a { display: block; padding: 11px 22px; color: #25362f; font: 400 15px/1.3 var(--display); }
.site-header .desktop-nav .nav-submenu a:first-child { color: #94704e; border-bottom: 1px solid #e7dfd4; padding-bottom: 14px; margin-bottom: 4px; }
.site-header .desktop-nav .nav-submenu a:hover { color: #8b5c36; background: #f3eee5; }
.site-header .header-actions { margin-left: auto; gap: 24px; }
.site-header .header-book { height: 56px; min-height: 56px; padding: 0 30px; gap: 28px; border-radius: 0; background: #d9b98b; color: #211c17; font: 400 16px/1 var(--display); letter-spacing: .025em; }
.site-header .header-book:hover { background: #f0d3ab; }
.site-header .header-book span { color: #5b432f; font: 400 19px/1 var(--sans); }
.site-header .menu-toggle { width: 44px; height: 44px; padding: 10px; gap: 5px; color: #fff; }
.site-header .menu-toggle span { height: 1px; }
.site-header .mobile-nav { top: 101px; right: 0; min-width: 330px; padding: 14px 25px 24px; background: #173d38; }
.site-header .mobile-nav .nav-hotel-group summary { border-bottom: 1px solid #ffffff24; padding: 13px 0; font: 400 22px var(--display); }
.site-header .mobile-nav .nav-submenu { padding: 3px 0 11px 20px; border-bottom: 1px solid #ffffff24; }
.site-header .mobile-nav .nav-submenu a { display: block; border: 0; padding: 9px 0; color: #e1e7df; font-size: 17px; }
.site-header .mobile-nav .nav-submenu a:first-child { color: #d8b98d; }

.site-footer { padding: 0; background: #122d2a; color: #e4e8df; }
.site-footer > .wrap { width: min(1440px, calc(100% - 112px)); }
.ej-footer-intro { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 8px 35px; padding: 85px 0 75px; border-bottom: 1px solid #71857a66; }
.ej-footer-intro > span { grid-column: 1 / -1; color: #c9b394; font: 700 10px/1.3 var(--sans); letter-spacing: .18em; }
.ej-footer-intro h2 { margin: 0; color: #f6f4ed; font: 400 clamp(48px, 5vw, 96px)/1 var(--display); letter-spacing: -.055em; }
.ej-footer-intro h2 em { color: #dbba86; }
.ej-footer-intro > a { display: flex; justify-content: space-between; align-items: center; gap: 32px; min-width: 200px; padding: 17px 18px; background: #e9d0a8; color: #173d38; font: 700 13px/1 var(--sans); }
.ej-footer-intro > a:hover { background: #fff1d7; }
.ej-footer-columns { display: grid; grid-template-columns: 1.5fr 1fr 1.1fr 1.2fr; gap: 55px; padding: 65px 0 70px; }
.ej-footer-logo { display: inline-flex; align-items: center; }
.ej-footer-logo img { width: 148px; height: auto; max-height: 75px; object-fit: contain; }
.ej-footer-columns > div:first-child > p { max-width: 260px; margin: 27px 0 0; color: #a9bbb3; font-size: 13px; line-height: 1.6; }
.ej-footer-columns h3 { margin: 8px 0 22px; color: #bdab90; font: 700 10px/1.3 var(--sans); letter-spacing: .19em; text-transform: none; }
.ej-footer-columns > div:not(:first-child) > a { display: block; margin-bottom: 12px; color: #e4e8df; font: 400 13px/1.4 var(--sans); }
.ej-footer-columns a:hover, .ej-footer-bottom a:hover { color: #d8b886; }
.ej-footer-columns > div:last-child > p { margin: 22px 0 0; color: #a9bbb3; font-size: 13px; line-height: 1.6; }
.ej-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 72px; border-top: 1px solid #49605a; color: #a9bbb3; font: 400 11px/1.3 var(--sans); letter-spacing: .03em; }
.ej-footer-bottom a { color: #e4e8df; }

@media (max-width: 1180px) {
  .site-header .desktop-nav { display: none; }
  .header-inner { width: calc(100% - 80px); }
}

@media (max-width: 760px) {
  body.admin-bar .site-header.over-hero { top: 46px; }
  body.admin-bar .site-header.solid-header { top: 46px; }
  .header-inner { width: calc(100% - 40px); height: 76px; gap: 12px; }
  .site-header .brand img { width: 128px; max-height: 65px; }
  .site-header .header-actions { gap: 8px; }
  .site-header .header-book { height: 40px; min-height: 40px; padding: 0 15px; gap: 10px; font-size: 13px; }
  .site-header .header-book span { font-size: 16px; }
  .site-header .menu-toggle { width: 36px; height: 44px; padding: 8px; }
  .site-header .mobile-nav { top: 76px; left: 0; right: 0; width: 100%; max-height: calc(100dvh - 76px); overflow: auto; }
  .site-footer > .wrap { width: calc(100% - 40px); }
  .ej-footer-intro { grid-template-columns: 1fr; padding: 70px 0; }
  .ej-footer-intro > span { grid-column: 1; }
  .ej-footer-intro > a { justify-self: start; margin-top: 20px; }
  .ej-footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 45px 25px; padding-top: 55px; }
  .ej-footer-bottom { flex-wrap: wrap; padding: 22px 0; }
}

@media (max-width: 520px) {
  .header-inner { width: calc(100% - 32px); }
  .site-header .brand img { width: 112px; }
  .site-header .header-book { padding: 0 12px; }
  .site-header .header-book span { font-size: 14px; }
  .site-footer > .wrap { width: calc(100% - 36px); }
  .ej-footer-intro h2 { font-size: 52px; }
  .ej-footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ej-footer-columns > div:first-child, .ej-footer-columns > div:last-child { grid-column: 1 / -1; }
  .ej-footer-bottom > span:nth-child(2) { display: none; }
}
