:root {
  --site-ink: #263238;
  --site-accent: #8d5e43;
  --site-surface: #f5f3f1;
}

html {
  scroll-behavior: smooth;
  font: normal 100% 'Didact Gothic', Arial, Helvetica, sans-serif;
}

body {
  color: var(--site-ink);
  font: normal 100% 'Didact Gothic', Arial, Helvetica, sans-serif;
}

img,
iframe {
  max-width: 100%;
}

.site-header {
  background: #fff;
}

.site-brand {
  align-items: center;
  color: var(--site-ink);
  display: inline-flex;
  font-size: 1.15rem;
  font-weight: 600;
  gap: 1rem;
}

.site-brand:hover {
  color: var(--site-accent);
  text-decoration: none;
}

.site-brand img {
  height: auto;
  max-height: 5.5rem;
  object-fit: contain;
  width: auto;
}

.social-links {
  align-items: center;
  gap: .75rem;
}

.social-links img {
  height: 1.75rem;
  width: 1.75rem;
}

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, .9);
}

.language-switch {
  color: rgba(255, 255, 255, .65);
  white-space: nowrap;
}

.language-switch a {
  color: #fff;
  padding: .25rem;
}

.content-body > :first-child,
.rich-content > :first-child {
  margin-top: 0;
}

.rich-content,
.content-body {
  overflow-wrap: anywhere;
}

.rich-content img,
.content-body img {
  height: auto;
  max-width: 100%;
}

.rich-content table,
.content-body table,
.cookie-consent table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
}

.cookie-consent {
  overflow-x: hidden;
}

.cookie-consent td,
.cookie-consent th {
  overflow-wrap: anywhere;
}

.home-carousel {
  background: var(--site-surface);
  margin-bottom: 2rem;
}

.home-carousel .carousel-item img {
  height: min(60vw, 36rem);
  min-height: 15rem;
  object-fit: cover;
  width: 100%;
}

.home-carousel .carousel-caption {
  background: rgba(0, 0, 0, .48);
  bottom: 1rem;
  left: 10%;
  padding: .75rem 1rem;
  right: 10%;
}

.home-carousel .carousel-caption > :last-child {
  margin-bottom: 0;
}

.gallery-image {
  height: 100%;
  max-height: 22rem;
  object-fit: cover;
  width: 100%;
}

.gallery-modal-image {
  max-height: calc(100vh - 10rem);
  object-fit: contain;
}

.gallery-modal-controls {
  align-items: center;
  display: flex;
  flex: 1;
  justify-content: space-between;
}

.listing-card {
  height: 100%;
}

.listing-card img {
  height: 14rem;
  object-fit: cover;
}

.contact-map {
  border: 0;
  min-height: 20rem;
  width: 100%;
}

.site-footer {
  background: #222b30;
  color: #f8f9fa;
}

.site-footer a {
  color: #fff;
}

.footer-copy {
  text-align: center;
}

.footer-copy img {
  height: auto;
  max-width: 100%;
}

.banner-image {
  max-height: 5rem;
  object-fit: contain;
}

.cookie-consent {
  background: rgba(34, 43, 48, .98);
  bottom: 0;
  color: #fff;
  left: 0;
  padding: 1rem 0;
  position: sticky;
  z-index: 1030;
}

.cookie-consent a {
  color: #fff;
  text-decoration: underline;
}

.cookie-consent .accept-cookies {
  border: 1px solid currentColor;
  border-radius: .2rem;
  display: inline-block;
  padding: .2rem .45rem;
  text-decoration: none;
}

.cookie-consent p {
  max-width: 52rem;
}

@media (max-width: 575.98px) {
  .site-brand {
    font-size: 1rem;
    gap: .5rem;
  }

  .site-brand img {
    max-height: 4rem;
    max-width: 6rem;
  }

  .home-carousel .carousel-caption {
    bottom: .5rem;
    left: 5%;
    padding: .5rem;
    right: 5%;
  }
}
