/* Altana clone of thebrecon.com: salmon + wine palette, one serif, a 1/6 + 1/3 column grid drawn with two hairlines.
   Breakpoints follow the reference: small <= 767px, medium 768-1023px, large >= 1024px. */
:root {
  --salmon: #f8d0c1;
  --wine: #4e141a;
  --line: rgba(78, 20, 26, .5);
  --line-light: rgba(255, 255, 255, .5);
  --col: 16.66666vw;
  --serif: "Newsreader", Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 110px; }
body { margin: 0; background: var(--salmon); color: var(--wine); font: 400 16px/1.2em var(--serif); -webkit-font-smoothing: antialiased; }
body.overflow-hidden { overflow: hidden; }
h1, h2, h3, h4, p, ul, fieldset { margin: 0; padding: 0; }
ul { list-style: none; }
fieldset { border: 0; min-width: 0; }
h1, h2, .h2 { font-weight: 400; font-size: 44px; line-height: 44px; letter-spacing: -.02em; margin-bottom: 30px; }
h3 { font-weight: 400; font-size: 27px; line-height: 27px; letter-spacing: -.02em; }
p { margin-bottom: 1.7em; }
p:last-child { margin-bottom: 0; }
a { color: inherit; }
a:not(.btn) { text-decoration: underline; text-underline-offset: 2px; transition: all 250ms; }
a:not(.btn):hover { opacity: .8; }
picture { display: block; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
svg { display: block; }

/* reveal: viewportChecker adds .visible to each section as it enters the viewport */
section img, #hero img { opacity: 0; transition: opacity 1s; }
section.visible img, #hero.visible img { opacity: 1; }
section h1, section h2, section h3, section h4, #hero h1, #hero h2 { opacity: 0; transform: translateY(10px); transition: all 1s; }
section.visible h1, section.visible h2, section.visible h3, section.visible h4, #hero.visible h1, #hero.visible h2 { opacity: 1; transform: none; }

/* ---------- monogram ---------- */
.monogram { display: block; font-family: "UnifrakturMaguntia", serif; font-weight: 400; text-align: center; color: currentColor; }

/* ---------- fixed menu (medium up) ---------- */
#menu { z-index: 5; display: flex; justify-content: space-between; flex-direction: row-reverse; height: 0; width: 100%; position: fixed; top: 100px; left: 0; color: var(--wine); }
#menu a { text-decoration: none; }
#menu a.logo { margin-right: 25px; height: 9vw; width: 9vw; max-width: 130px; max-height: 130px; color: var(--wine); transition: none; }
#menu a.logo:hover { opacity: 1; }
#menu a.logo .monogram { font-size: min(9.6vw, 139px); line-height: min(9vw, 130px); }
#menu.light a.logo, #menu.isOpen a.logo { color: #fff; }
#menu .hamb-wrapper { margin-left: 48px; position: relative; height: 19px; width: 52px; }
#menu .hamb-bg { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 50%; background: var(--salmon); z-index: -1; }
#menu .hamb-bg.d-none { display: none; }
.hamb { position: relative; display: flex; align-items: center; justify-content: center; height: 19px; width: 52px; color: var(--wine); }
.hamb:hover { opacity: 1 !important; }
.hamb svg { width: 22px; height: 14px; }
.hamb .i-close { display: none; }
.hamb .i-close svg { width: 16px; height: 16px; }
.hamb.close .i-menu { display: none; }
.hamb.close .i-close { display: block; color: #fff; }
#menu ul { display: none; position: absolute; top: 126px; left: 0; z-index: 2; min-width: 180px; white-space: nowrap; margin-left: 48px; border-top: 1px solid var(--line-light); }
#menu ul li { padding: 9px 1em 6px 0; border-bottom: 1px solid var(--line-light); }
#menu ul li a { color: #fff; font-size: 22px; line-height: 1em; }
#menu > a.gift { display: none; }
#menu-overlay { position: fixed; top: 50px; right: 0; bottom: 0; left: 0; z-index: 4; display: none; background: var(--wine); opacity: .9; }
#menu-overlay.overlay-for-booking { background: var(--salmon); }

/* ---------- booking bar ---------- */
#quick-booking-canvas { position: relative; z-index: 5; background: var(--salmon); width: 100%; }
.quick-booking { display: flex; height: 50px; padding-left: var(--col); padding-right: 25px; }
.quick-booking .field { position: relative; display: flex; align-items: center; padding-left: 15px; }
.quick-booking .field > a { text-decoration: none; line-height: 19.2px; }
.quick-booking .dates { width: 33.33333vw; border-left: 1px solid var(--line); }
.quick-booking .rooms { width: var(--col); border-left: 1px solid var(--line); }
.quick-booking .options { flex: 1; justify-content: center; }
.quick-booking .options a { text-decoration: none; }
.quick-booking .small { font-size: 14px; }
.quick-booking .from, .quick-booking .to { display: none; }
.quick-booking .buttons { width: var(--col); }
.quick-booking a.button:hover { opacity: 1; }
.quick-booking a.button { display: block; height: 50px; line-height: 50px; text-align: center; text-transform: uppercase; background: var(--wine); color: #fff; text-decoration: none; }
.quick-booking .pnl { display: none; position: absolute; top: 49px; left: 0; z-index: 6; background: var(--salmon); border: 1px solid var(--line); padding: 15px; }
.quick-booking .rooms .pnl { width: 100%; min-width: 240px; }
.quick-booking .clear { display: none; margin-top: 10px; font-size: 14px; }
.quick-booking .guest { display: flex; align-items: center; justify-content: space-between; }
.quick-booking .ctrl { display: flex; gap: 6px; }
.quick-booking .ctrl a { display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; border: 1px solid var(--line); border-radius: 50%; text-decoration: none; }
.quick-booking .ctrl svg { width: 9px; height: 9px; }
.quick-booking .note { margin-top: 12px; font-size: 11px; line-height: 13px; }

/* jQuery UI datepicker, restyled */
.ui-datepicker { width: 280px; }
.ui-datepicker-header { position: relative; height: 45px; }
.ui-datepicker-title { text-align: center; font-size: 22px; line-height: 44.8px; }
.ui-datepicker-prev, .ui-datepicker-next { position: absolute; top: 0; width: 40px; height: 40px; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 0; text-decoration: none !important; }
.ui-datepicker-prev { left: 0; }
.ui-datepicker-next { right: 0; }
.ui-datepicker-prev::after, .ui-datepicker-next::after { content: ""; width: 8px; height: 8px; border: solid var(--wine); border-width: 0 0 1px 1px; transform: rotate(45deg); }
.ui-datepicker-next::after { transform: rotate(-135deg); }
.ui-datepicker .ui-state-disabled { opacity: .2; cursor: default; }
.ui-datepicker-calendar { width: 100%; border-collapse: collapse; }
.ui-datepicker-calendar th, .ui-datepicker-calendar td { border: 0; padding: 0; text-align: center; }
.ui-datepicker-calendar th span, .ui-datepicker-calendar td a, .ui-datepicker-calendar td span { display: block; width: 40px; height: 40px; line-height: 40px; font-size: 14px; text-decoration: none !important; }
.ui-datepicker-calendar th span { font-weight: 400; text-transform: uppercase; opacity: .5; }
.ui-datepicker-calendar td.ui-state-disabled { opacity: .2; }
.ui-datepicker-calendar td.ui-datepicker-other-month { opacity: 0; }
.ui-datepicker-calendar td.ui-datepicker-today a { border: 1px solid var(--line); }
.ui-datepicker-calendar td:not(.ui-state-disabled):hover a { background: rgba(78, 20, 26, .3); opacity: 1; }
.ui-datepicker-calendar td.main a, .ui-datepicker-calendar td.range a { background: #fff; }

/* ---------- hero ---------- */
#hero { position: relative; z-index: 1; height: calc(100vh - 50px); }
#hero .media-holder, #hero .swiper-container { position: relative; height: 100%; overflow: hidden; }
#hero .swiper-slide picture { height: 100%; }
#hero .swiper-slide::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .15); }
#hero .base-caption { position: absolute; z-index: 3; top: 60%; left: 48px; width: 75%; transform: translateY(-50%); color: #fff; }
#hero h1 { margin-bottom: 30px; }
#hero .swiper-button-next, #hero .swiper-button-prev { top: auto; bottom: 36px; margin: 0; width: 35px; height: 35px; border-radius: 100%; color: #fff; }
#hero .swiper-button-prev { left: 37px; }
#hero .swiper-button-next { left: 91px; right: auto; }
#hero .swiper-button-next::after, #hero .swiper-button-prev::after { display: none; }
#hero .swiper-button-next svg, #hero .swiper-button-prev svg { width: 10px; height: 18px; }

/* ---------- main grid ---------- */
main { display: flow-root; position: relative; padding-top: 50px; }
main::before, main::after { content: ""; position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line); }
main::before { left: var(--col); z-index: 2; }
main::after { left: 49.99998vw; z-index: -1; }
main section { position: relative; z-index: 1; margin-bottom: 85px; }
main section.margin-0 { margin-bottom: 0; }
main section.margin-xsmall { margin-bottom: 15px; }
.section01, .section02, .section03, .section05, .section07 { z-index: 2; }

/* two text columns starting at 1/6 */
.section01 > div:first-child, .section04 > div { overflow: hidden; }
.section01 > div:first-child { padding-bottom: 60px; }
.section01 > div:first-child > div, .section04 > div > div { display: flex; }
.rte { position: relative; width: 33.33333vw; padding: 0 50px 0 15px; }
.rte:first-child { margin-left: var(--col); }

/* image carousels (section01 photos, section03 cards) */
.section01 > div:last-child { position: relative; background: var(--salmon); }
.section01 > div:last-child > div, .section03 > div > div { overflow: hidden; }
.section01 > div:last-child > div > div, .section03 > div > div > div { display: flex; }
.section01 .swiper-container, .section03 .swiper-container { margin: 0 var(--col); width: 66.66666vw; border-left: 4px solid transparent; overflow: visible; }
.section01 .swiper-slide picture { aspect-ratio: 1; }
.swiper-button-next-custom, .swiper-button-prev-custom { position: absolute; top: 50%; z-index: 3; margin-top: -26px; width: 52px; height: 52px; border-radius: 100%; background: var(--salmon); color: var(--wine); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.swiper-button-next-custom { right: 48px; }
.swiper-button-prev-custom { left: 48px; }
.swiper-button-next-custom svg, .swiper-button-prev-custom svg { width: 9px; height: 16px; }
.swiper-button-next-custom.swiper-button-disabled, .swiper-button-prev-custom.swiper-button-disabled { opacity: 0; pointer-events: none; }

/* full-bleed photo with text on it */
.section02 > div { position: relative; display: flex; overflow: hidden; height: 100vh; }
.section02.reduced-height > div { height: 75vh; }
.section02 > div > picture { position: absolute; inset: 0; z-index: 1; }
.section02 > div > picture::before { content: ""; position: absolute; inset: 0; z-index: 2; background: rgba(0, 0, 0, .15); }
.section02 > div > div { position: relative; z-index: 2; display: flex; align-items: center; width: 100%; overflow: hidden; }
.section02 > div > div > div { position: relative; display: flex; width: 33.33333vw; margin-left: var(--col); padding: 0 50px 0 15px; }
.section02 > div > div > div > div { color: #fff; padding: 0 50px 0 15px; }
.section02 h2 { margin-top: 60px; }
.section02 .mark { margin-bottom: 1.7em; }
.sister-mark { width: 68px; height: 68px; }

/* single photo two thirds wide */
.section05 > div { overflow: hidden; }
.section05 > div > div { display: flex; }
.section05 > div > div > div { position: relative; width: 66.66666vw; padding-right: 15px; background: var(--salmon); }
.section05 picture { aspect-ratio: 16 / 10; }

/* cards on wine */
.section03 { background: var(--wine); color: #fff; }
.section03 > div { position: relative; padding: 40px 0 60px; }
.section03 .swiper-slide { display: flex; flex-direction: column; padding-right: 15px; }
.section03 .swiper-slide > div:first-child { padding-left: 15px; margin-bottom: 15px; }
.section03 .swiper-slide > div:first-child a { display: inline-block; text-decoration: none; }
.section03 h3 { display: flex; align-items: flex-end; height: 108px; color: #fff; }
.section03 .swiper-slide > a picture { aspect-ratio: 1; }
.section03 .swiper-slide > div:last-child { position: relative; margin-top: 40px; padding: 0 50px 0 15px; overflow: hidden; }
.section03 .content p { margin: 14px 0 16px; }
.section03 .content p.cta { margin: 15px 0 0; }
.section03 .content a { display: inline-block; }

/* photo left, text right */
.section07 > div { overflow: hidden; }
.section07 > div > div { display: flex; flex-direction: row-reverse; justify-content: flex-end; }
.section07 > div > div > div:first-child { position: relative; width: 33.33333vw; margin-top: 15px; padding: 0 50px 0 15px; }
.section07 > div > div > div:last-child { position: relative; width: 50vw; padding-right: 15px; background: var(--salmon); transform: translateX(-1px); }
.section07 picture { aspect-ratio: 16 / 10; }

/* newsletter form */
.newsletter .form-group { margin-bottom: 24px; }
.newsletter label { display: inline-block; margin-bottom: 1.6px; }
.newsletter input[type=email] { display: block; width: 100%; height: 45px; padding: 9.6px 0; font: 16px/24px var(--serif); color: var(--wine); background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; outline: 0; }
.newsletter .check { position: relative; padding-left: 19.2px; }
.newsletter .check input { position: absolute; left: 0; top: 1.6px; margin: 0; width: 13px; height: 13px; accent-color: var(--wine); }
.newsletter button { padding: 0; border: 0; background: none; font: 22px/22px var(--serif); color: var(--wine); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; transition: all 250ms; }
.newsletter button:hover { opacity: .8; }
.newsletter .error input[type=email], .newsletter .error label { color: #b00020; }

/* ---------- footer ---------- */
#footer .custom-container { position: relative; padding: 25px 0 12px; overflow: hidden; }
#footer a { text-decoration: none; }
#footer .first-row { display: flex; margin-top: 50px; padding: 0 48px; }
#footer .first-row a.logo { display: block; width: 210px; height: 43px; font: 600 46px/43px "Libre Caslon Condensed", var(--serif); letter-spacing: .02em; }
#footer .second-row { display: flex; margin-top: 25px; }
#footer .second-row > div { position: relative; }
#footer .second-row > div:nth-child(1) { width: 33.33333vw; padding: 0 15px 0 48px; }
#footer .second-row > div:nth-child(2) { width: 33.33333vw; padding: 0 15px; }
#footer .second-row > div:nth-child(2) ul { display: grid; grid-template-rows: repeat(5, auto); grid-auto-flow: column; grid-template-columns: 210px 210px; column-gap: 30px; width: 450px; }
#footer .second-row > div:nth-child(3) { width: var(--col); padding: 0 15px; }
#footer .langs { margin: 0 -5px; padding-left: 5px; }
#footer .langs a { font-size: 18px; line-height: 18px; }
#footer .langs .selected a { text-decoration: underline; text-underline-offset: 2px; }
#footer .second-row > div:nth-child(4) { flex: 1; display: flex; justify-content: center; padding: 0 48px 0 15px; }
#footer .third-row { display: flex; margin: 25px 0 50px; padding: 0 48px; }
#footer .third-row > div { display: flex; justify-content: flex-end; align-items: flex-end; gap: 48px; width: 100%; min-height: 68px; }
#footer .badge { font: 600 22px/1 "Libre Caslon Condensed", var(--serif); letter-spacing: .08em; }

/* ---------- small screens ---------- */
#topbar-small-down { display: none; }
@media (max-width: 767px) {
  :root { --col: 20px; }
  h1, h2, .h2 { font-size: 34px; line-height: 34px; }
  #menu { display: none; position: fixed; top: 56px; right: 20px; bottom: 20px; left: 20px; height: auto; width: auto; padding-top: 38px; overflow: scroll; flex-direction: column; justify-content: flex-start; }
  #menu::-webkit-scrollbar { display: none; }
  #menu a.logo, #menu .hamb-wrapper { display: none; }
  #menu ul { display: block; position: static; margin: 0; min-width: 0; }
  #menu ul li { padding: 7px 1em 6px 0; }
  #menu ul li a { font-size: 30px; }
  #menu > a.gift { display: block; margin-top: 15px; height: 50px; line-height: 50px; font-size: 30px; text-align: center; white-space: nowrap; background: var(--salmon); color: var(--wine); }
  #menu-overlay { top: 0; opacity: 1; }

  #topbar-small-down { display: flex; align-items: center; justify-content: space-between; position: absolute; top: 0; left: 0; width: 100%; z-index: 5; height: 56px; padding: 0 20px; background: var(--salmon); border-bottom: 1px solid var(--line); transition: background-color 250ms; }
  #topbar-small-down .hamb { width: 36px; justify-content: flex-start; }
  #topbar-small-down a.logo { position: absolute; top: 50%; left: 50%; width: 43px; height: 43px; margin: -21.5px 0 0 -21.5px; text-decoration: none; transition: none; }
  #topbar-small-down a.logo .monogram { font-size: 46px; line-height: 43px; }
  #topbar-small-down ul { display: flex; }
  #topbar-small-down a.book { display: block; font-size: 22px; line-height: 22px; text-decoration: none; transition: opacity 250ms; }
  #topbar-small-down a.book .i-close { display: none; }
  #topbar-small-down a.book.close .t { display: none; }
  #topbar-small-down a.book.close .i-close { display: block; }
  #topbar-small-down a.book.close .i-close svg { width: 16px; height: 16px; }
  #topbar-small-down .disabled { pointer-events: none; opacity: 0; }
  #topbar-small-down.menuIsOpen { background: var(--wine); border-bottom-color: var(--line-light); }
  #topbar-small-down.menuIsOpen a.logo { color: #fff; }

  #quick-booking-canvas { display: none; position: fixed; top: 56px; right: 20px; bottom: 20px; left: 20px; width: auto; padding-top: 38px; overflow: scroll; background: transparent; }
  .quick-booking { display: block; height: auto; padding: 0; }
  .quick-booking .field { display: block; width: 100% !important; padding: 0 0 10px; margin-bottom: 20px; border-left: 0 !important; border-bottom: 1px solid var(--line); }
  .quick-booking .field > a { display: block; }
  .quick-booking .options { display: none; }
  .quick-booking .buttons { width: 100%; margin-top: 30px; }
  .quick-booking a.button { text-transform: none; }
  .quick-booking .pnl { position: static; margin-top: 10px; border: 0; padding: 0; }

  #hero { height: 100vh; }
  #hero .base-caption { top: 122px; left: 20px; width: auto; right: 20px; transform: none; }
  #hero h1 { font-size: 22px; line-height: 22px; }
  #hero .swiper-button-prev, #hero .swiper-button-next { width: 30px; height: 30px; bottom: 34px; }
  #hero .swiper-button-prev { left: auto; right: 66px; }
  #hero .swiper-button-next { left: auto; right: 21px; }

  main { padding-top: 38px; }
  main::after { display: none; }
  main section { margin-bottom: 45px; }
  .section01 > div:first-child > div, .section04 > div > div { display: block; }
  .rte, .rte:first-child { width: 100%; margin-left: 0; padding: 0 50px 0 35px; }
  .section01 .rte:first-child { margin-bottom: 30px; }
  .section01 > div:last-child > div > div, .section03 > div > div > div { display: block; }
  .section01 .swiper-container, .section03 .swiper-container { margin: 0; width: 100%; padding-left: 20px; border-left: 0; overflow: hidden; }
  .section03 .swiper-container { padding-left: 20px; }
  .swiper-button-next-custom, .swiper-button-prev-custom { display: none; }

  .section02 > div, .section02.reduced-height > div { height: auto; }
  .section02 > div > div > div { width: 100%; margin: 0; padding: 0; }
  .section02 > div > div > div > div { padding: 60px 50px 60px 35px; }

  .section05 > div > div > div { width: 100%; padding: 0; }

  .section03 .swiper-slide > div:first-child { padding-left: 0; }
  .section03 h3 { height: auto; font-size: 24px; line-height: 24px; }
  .section03 .swiper-slide > div:last-child { margin-top: 20px; padding: 0 50px 0 0; }
  .section03 .content p:not(.cta) { display: none; }
  .section03 .content p.cta { margin-top: 10px; }

  .section07 > div > div { flex-direction: column-reverse; }
  .section07 > div > div > div:first-child { width: 100%; margin: 0; padding: 60px 50px 0 35px; }
  .section07 > div > div > div:last-child { width: 100%; padding: 0; transform: none; }

  #footer .first-row, #footer .second-row, #footer .third-row { padding: 0 20px; }
  #footer .second-row { flex-direction: column; }
  #footer .second-row > div { width: 100% !important; padding: 0 !important; }
  #footer .second-row > div + div { margin-top: 50px; }
  #footer .second-row > div:nth-child(2) ul { grid-template-columns: 1fr 1fr; column-gap: 0; width: 100%; }
  #footer .second-row > div:nth-child(4) { justify-content: flex-start; }
  #footer .third-row > div { flex-direction: column; align-items: flex-start; gap: 24px; }
}
