/*
 * Shared by the booking and events pages. Fonts, sizes, heading colour and the
 * 1140px column all come from the home page, so these pages read as the same site.
 */

@font-face { font-family: "Rubik"; font-style: normal; font-weight: 300 900; font-display: swap; src: url("fonts/rubik-var.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/playfair-400.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 500; font-display: swap; src: url("fonts/playfair-italic-500.woff2") format("woff2"); }
@font-face { font-family: "Forum"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/forum-400.woff2") format("woff2"); }

/* The header's kit fonts: everything in it uses the Rubik on this server. */
body.elementor-kit-6 {
  --e-global-typography-primary-font-family: "Rubik";
  --e-global-typography-secondary-font-family: "Rubik";
  --e-global-typography-text-font-family: "Rubik";
  --e-global-typography-accent-font-family: "Rubik";
}

.nb,
.ne,
.nl,
.nbf {
  --gutter: clamp(16px, 2.500vw, 24px);

  /* Playfair's default digits bounce up and down, which is poor for phones and prices. */
  font-variant-numeric: lining-nums;

  /* Backgrounds run edge to edge. This keeps the content in the 1140px column. */
  --edge: max(var(--gutter), calc((100vw - 1140px) / 2));

  --sans: "Rubik", "Segoe UI", system-ui, sans-serif;
  --serif: "Playfair Display", Georgia, serif;
  --forum: "Forum", Georgia, serif;

  --heading: #dc9457;
  --subhead: #c9a581;
  --gold: #e6b655;
  --night: #0e1730;
  --cream: #fdf3e0;
}

/* Footer */

.nbf {
  --ink: #070c1b;
  --champagne: #dcb974;
  --text: #fff;
  --muted: rgba(255, 255, 255, 0.72);
  --rule: rgba(220, 185, 116, 0.22);

  background: linear-gradient(180deg, #0a1124 0%, var(--ink) 100%);
  color: var(--text);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 24px;
  overflow: hidden;
  position: relative;
}

.nbf::before {
  background: linear-gradient(90deg, transparent, var(--champagne) 30%, var(--champagne) 70%, transparent);
  content: "";
  height: 1px;
  left: 0;
  opacity: 0.55;
  position: absolute;
  right: 0;
  top: 0;
}

.nbf *,
.nbf *::before {
  box-sizing: border-box;
}

.nbf-inner {
  padding: 36px var(--edge) 0;
  position: relative;
}

.nbf a {
  color: var(--text);
  text-decoration: none;
  transition: color 160ms ease;
}

.nbf a:hover {
  color: var(--champagne);
}

.nbf a:focus-visible {
  outline: 2px solid var(--champagne);
  outline-offset: 3px;
}

.nbf-top {
  border-bottom: 1px solid var(--rule);
  display: grid;
  gap: 20px;
  padding-bottom: 26px;
}

.nbf .nbf-brand {
  display: inline-block;
  line-height: 0;
}

.nbf .nbf-logo {
  display: block;
  height: auto;
  margin-left: -5px; /* The logo file has blank space on its left. */
  max-width: 100%;
  width: 170px;
}

.nbf .nbf-tag {
  color: var(--muted);
  font-size: 16px;
  line-height: 24px;
  margin: 10px 0 0;
  max-width: 46ch;
}

.nbf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nbf .nbf-btn {
  align-items: center;
  border: 1px solid var(--champagne);
  border-radius: 4px;
  display: inline-flex;
  flex: 1 1 150px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  justify-content: center;
  line-height: 1.2;
  min-height: 44px;
  padding: 10px 12px;
  text-align: center;
}

.nbf .nbf-btn--fill {
  background: var(--champagne);
  color: var(--ink);
}

.nbf .nbf-btn--fill:hover {
  background: #e9cb8e;
  border-color: #e9cb8e;
  color: var(--ink);
}

.nbf .nbf-btn--line {
  color: var(--champagne);
}

.nbf .nbf-btn--line:hover {
  background: rgba(220, 185, 116, 0.12);
  color: var(--champagne);
}

.nbf-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr);
  padding: 26px 0 28px;
}

.nbf .nbf-grid h2 {
  color: var(--heading);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.3;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.nbf .nbf-grid p {
  color: var(--text);
  font-size: 16px;
  line-height: 24px;
  margin: 0;
}

.nbf .nbf-more {
  border-bottom: 1px solid var(--rule);
  color: var(--champagne);
  display: inline-block;
  line-height: 1.3;
  margin-top: 6px;
}

.nbf .nbf-more:hover {
  border-bottom-color: var(--champagne);
}

.nbf-list,
.nbf-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nbf-list li {
  align-items: center;
  display: flex;
  gap: 9px;
  margin: 0 0 4px;
}

.nbf-links li {
  margin: 0 0 4px;
}

.nbf .nbf-icon {
  fill: none;
  flex: none;
  height: 16px;
  stroke: var(--champagne);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
  width: 16px;
}

.nbf-legal {
  border-top: 1px solid var(--rule);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
  gap: 4px 24px;
  justify-content: space-between;
  padding: 14px 0 22px;
}

.nbf-legal nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}

.nbf .nbf-legal a {
  color: var(--muted);
}

.nbf .nbf-legal a:hover {
  color: var(--champagne);
}

@media (min-width: 560px) {
  .nbf-grid {
    gap: 26px 32px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nbf .nbf-btn {
    flex: 0 1 auto;
    padding-inline: 20px;
  }
}

@media (min-width: 900px) {
  .nbf-inner {
    padding-top: 44px;
  }

  .nbf-top {
    align-items: end;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .nbf-grid {
    column-gap: 32px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 0.6fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nbf a {
    transition: none;
  }
}
