/*
Theme Name: Marche Holiday Houses
Theme URI: https://marcheholidayhouses.com/
Author: Marche Holiday Houses
Description: Calm, image-led theme for Marche Holiday Houses Mogliano. SEO and GEO friendly.
Version: 1.3.5
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 8.0
Text Domain: mhh
*/

:root {
  --mhh-ink: #222222;
  --mhh-muted: #6a6a6a;
  --mhh-soft: #f7f7f7;
  --mhh-white: #ffffff;
  --mhh-accent: #4a5946;
  --mhh-accent-dark: #344034;
  --mhh-accent-soft: #edf0eb;
  --mhh-accent-focus: rgba(74, 89, 70, 0.42);
  --mhh-accent-shadow: rgba(52, 64, 52, 0.2);
  --mhh-border: #dddddd;
  --mhh-border-light: #ebebeb;
  --mhh-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  --mhh-shadow-strong: 0 8px 28px rgba(0, 0, 0, 0.14);
  --mhh-radius-sm: 12px;
  --mhh-radius: 16px;
  --mhh-radius-lg: 24px;
  --mhh-header-height: 80px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--mhh-header-height) + 1rem);
}

body {
  margin: 0;
  color: var(--mhh-ink);
  background: var(--mhh-white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  min-height: 50vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  color: var(--mhh-ink);
  font-family: inherit;
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.16;
}

p {
  text-wrap: pretty;
}

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

a {
  color: var(--mhh-ink);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.18em;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

a:hover {
  color: var(--mhh-ink);
  text-decoration-color: currentColor;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--mhh-accent-focus);
  outline-offset: 3px;
}

::selection {
  color: var(--mhh-ink);
  background: var(--mhh-accent-soft);
}

.container {
  --bs-gutter-x: 3rem;
}

@media (min-width: 1200px) {
  .container {
    max-width: 1280px;
  }
}

.btn,
.wp-block-button__link,
button,
input,
select,
textarea {
  font: inherit;
}

.btn,
.wp-block-button__link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: var(--mhh-radius-sm);
  padding: 0.7rem 1.25rem;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
}

.btn:hover,
.wp-block-button__link:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-dark,
.entry-content .btn-dark,
.wp-block-button__link {
  border-color: var(--mhh-accent);
  color: var(--mhh-white);
  background: var(--mhh-accent);
  box-shadow: 0 2px 8px var(--mhh-accent-shadow);
}

.btn-dark:hover,
.entry-content .btn-dark:hover,
.wp-block-button__link:hover {
  border-color: var(--mhh-accent-dark);
  color: var(--mhh-white);
  background: var(--mhh-accent-dark);
  box-shadow: 0 4px 14px var(--mhh-accent-shadow);
}

.btn-outline-dark {
  border-color: var(--mhh-ink);
  color: var(--mhh-ink);
  background: var(--mhh-white);
}

.btn-outline-dark:hover {
  border-color: var(--mhh-ink);
  color: var(--mhh-white);
  background: var(--mhh-ink);
}

/* Header */
.site-header {
  position: sticky;
  z-index: 1030;
  top: 0;
  border-bottom: 1px solid var(--mhh-border-light);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(160%) blur(12px);
}

.admin-bar .site-header {
  top: 32px;
}

.site-header .navbar {
  min-height: var(--mhh-header-height);
  padding: 0;
}

.site-header .navbar > .container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-header .navbar-brand {
  display: inline-flex;
  min-height: 44px;
  max-width: min(200px, 42vw);
  align-items: center;
  margin-right: 0;
  padding: 0;
}

.site-header .navbar-brand .custom-logo-link {
  display: inline-block;
  line-height: 0;
}

.site-header .navbar-brand img,
.site-header .navbar-brand .custom-logo {
  display: block;
  width: auto !important;
  height: 40px !important;
  max-width: 100% !important;
  max-height: 40px !important;
  object-fit: contain;
}

.site-header .navbar-collapse {
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem 1.5rem;
}

.site-header .navbar-nav {
  gap: 0.15rem 0.1rem;
  margin: 0 !important;
}

.site-header .nav-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  position: relative;
  border-radius: 0;
  padding: 0.55rem 0.7rem !important;
  color: var(--mhh-muted) !important;
  font-size: 0.92rem;
  font-weight: 550;
  letter-spacing: 0.01em;
  line-height: 1;
  text-decoration: none;
  background: transparent !important;
  transition: color 160ms ease;
}

.site-header .nav-link::after {
  content: "";
  position: absolute;
  right: 0.7rem;
  bottom: 0.55rem;
  left: 0.7rem;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 160ms ease, transform 160ms ease;
}

.site-header .nav-link:hover {
  color: var(--mhh-ink) !important;
  background: transparent !important;
  text-decoration: none;
}

.site-header .nav-link:hover::after,
.site-header .nav-link.active::after,
.site-header .nav-link[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.site-header .nav-link.active,
.site-header .nav-link[aria-current="page"] {
  color: var(--mhh-ink) !important;
  background: transparent !important;
  font-weight: 650;
}

.site-header .navbar-toggler {
  width: auto;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1px solid var(--mhh-border);
  border-radius: 10px;
  padding: 0.4rem 0.7rem;
  background: transparent;
  box-shadow: none;
}

.site-header .navbar-toggler-label {
  color: var(--mhh-ink);
  font-size: 0.8rem;
  font-weight: 650;
  line-height: 1;
}

.site-header .navbar-toggler-icon {
  width: 22px;
  height: 22px;
  background-size: 20px;
}

.site-header .navbar-toggler:hover {
  background: var(--mhh-soft);
}

.site-header .navbar-toggler:focus {
  box-shadow: none;
}

@media (min-width: 992px) {
  .site-header .navbar-toggler {
    display: none;
  }

  .site-header .navbar-collapse {
    display: flex !important;
    flex-direction: row;
    flex-wrap: nowrap;
  }
}

.mhh-header-lang {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.mhh-lang {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  line-height: 1;
}

.mhh-lang__sep {
  color: var(--mhh-border);
}

.mhh-lang__link {
  color: var(--mhh-muted);
  text-decoration: none;
  padding: 0.35rem 0.1rem;
  transition: color 160ms ease;
}

.mhh-lang__link:hover,
.mhh-lang__link.is-active {
  color: var(--mhh-ink);
  text-decoration: none;
}

.mhh-lang__link.is-active {
  font-weight: 750;
}

/* Hide TranslatePress floating switcher; header has its own. */
.trp-floating-switcher,
nav.trp-floating-switcher,
.trp-floating-switcher.trp-ls-dropdown {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Homepage */
.home-eyebrow {
  margin: 0 0 0.85rem;
  color: var(--mhh-accent);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.home-hero {
  position: relative;
  padding-top: 1.25rem;
}

.hero-swiper {
  width: calc(100% - 3rem);
  max-width: 1320px;
  height: min(74vh, 720px);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 28px;
  background: var(--mhh-soft);
  cursor: grab;
  --swiper-navigation-color: var(--mhh-ink);
  --swiper-pagination-color: var(--mhh-white);
  --swiper-navigation-size: 18px;
}

.hero-swiper:active {
  cursor: grabbing;
}

.hero-swiper .swiper-slide {
  position: relative;
  height: min(74vh, 720px);
  overflow: hidden;
}

.hero-swiper .swiper-slide::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, transparent 54%, rgba(10, 13, 10, 0.62) 100%);
  content: "";
  pointer-events: none;
}

.hero-swiper .hero-slide-link {
  display: block;
  height: 100%;
  pointer-events: auto;
}

.hero-swiper .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.hero-swiper .hero-caption {
  position: absolute;
  z-index: 2;
  bottom: 5.5rem;
  left: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: calc(100% - 4rem);
  padding: 0;
  pointer-events: auto;
}

.hero-swiper .hero-caption-title {
  margin: 0;
  color: var(--mhh-white);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 620;
  letter-spacing: -0.045em;
  line-height: 1;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.24);
}

.hero-swiper .hero-caption-action {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  border-radius: 999px;
  padding: 0.7rem 1.1rem;
  color: var(--mhh-ink);
  background: var(--mhh-white);
  box-shadow: var(--mhh-shadow);
  font-size: 0.9rem;
  font-weight: 680;
  white-space: nowrap;
  text-decoration: none;
}

.hero-swiper .hero-caption-action:hover {
  color: var(--mhh-ink);
  background: var(--mhh-accent-soft);
  text-decoration: none;
}

.hero-swiper .hero-caption-action span:last-child {
  transition: transform 160ms ease;
}

.hero-swiper .hero-caption-action:hover span:last-child {
  transform: translateX(2px);
}

.hero-swiper .swiper-button-prev,
.hero-swiper .swiper-button-next {
  top: 1.5rem;
  width: 48px;
  height: 48px;
  margin-top: 0;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 50%;
  color: var(--mhh-ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--mhh-shadow);
  transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.hero-swiper .swiper-button-prev {
  right: 4.75rem;
  left: auto;
}

.hero-swiper .swiper-button-next {
  right: 1.25rem;
}

.hero-swiper .swiper-button-prev:hover,
.hero-swiper .swiper-button-next:hover {
  background: var(--mhh-white);
  box-shadow: var(--mhh-shadow-strong);
  transform: scale(1.04);
}

.hero-swiper .swiper-pagination {
  width: auto !important;
  right: 50% !important;
  bottom: 4.75rem !important;
  left: auto !important;
  transform: translateX(50%);
}

.hero-swiper .swiper-pagination-bullet {
  position: relative;
  width: 30px;
  height: 30px;
  margin: 0 !important;
  border: 0;
  border-radius: 50%;
  background: transparent;
  opacity: 1;
}

.hero-swiper .swiper-pagination-bullet::after {
  position: absolute;
  width: 7px;
  height: 7px;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(34, 34, 34, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.68);
  content: "";
  transform: translate(-50%, -50%);
}

.hero-swiper .swiper-pagination-bullet-active::after {
  background: var(--mhh-white);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.26);
}

.home-trust {
  position: relative;
  z-index: 5;
  margin-top: -2.25rem;
}

.home-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--mhh-border-light);
  border-radius: 20px;
  background: var(--mhh-white);
  box-shadow: 0 14px 40px rgba(24, 30, 24, 0.1);
}

.home-trust-item {
  display: flex;
  min-height: 118px;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 1.75rem;
}

.home-trust-item + .home-trust-item {
  border-left: 1px solid var(--mhh-border-light);
}

.home-trust-number {
  display: inline-grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border-radius: 50%;
  color: var(--mhh-accent-dark);
  background: var(--mhh-accent-soft);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.04em;
}

.home-trust-item strong,
.home-trust-item small {
  display: block;
}

.home-trust-item strong {
  margin-bottom: 0.22rem;
  font-size: 0.96rem;
  font-weight: 680;
}

.home-trust-item small {
  color: var(--mhh-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.home-villas {
  padding: clamp(5rem, 8vw, 7.5rem) 0;
  scroll-margin-top: calc(var(--mhh-header-height) + 1rem);
}

.home-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.25rem;
}

.home-section-heading > div {
  max-width: 760px;
}

.home-section-heading h2,
.home-story-copy h2,
.home-assurance-heading h2 {
  margin-bottom: 0.85rem;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 620;
  letter-spacing: -0.045em;
  line-height: 1.05;
  text-wrap: balance;
}

.home-section-heading > div > p:last-child {
  margin: 0;
  color: var(--mhh-muted);
  font-size: 1.05rem;
}

.home-text-link,
.home-story-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 0.8rem;
  color: inherit;
  font-size: 0.92rem;
  font-weight: 680;
  white-space: nowrap;
  text-decoration: none;
}

.home-text-link {
  border-bottom: 1px solid currentColor;
}

.home-text-link .mhh-ui-icon,
.home-story-link .mhh-ui-icon {
  width: 18px;
  height: 18px;
  transition: transform 160ms ease;
}

.home-text-link:hover .mhh-ui-icon,
.home-story-link:hover .mhh-ui-icon {
  transform: translateX(2px);
}

.home-villa-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.villa-card {
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--mhh-border-light);
  border-radius: 24px;
  background: var(--mhh-white);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.villa-card:hover {
  border-color: var(--mhh-border);
  box-shadow: 0 16px 36px rgba(24, 30, 24, 0.11);
  transform: translateY(-4px);
}

.villa-card-media {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--mhh-soft);
}

.villa-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: filter 300ms ease, transform 400ms ease;
}

.villa-card:hover img {
  filter: brightness(0.96);
  transform: scale(1.025);
}

.villa-card-index {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: inline-grid;
  min-width: 42px;
  min-height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 999px;
  color: var(--mhh-ink);
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  backdrop-filter: blur(10px);
}

.villa-card .card-body {
  padding: 1.4rem 1.5rem 1.5rem;
}

.villa-card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.65rem;
}

.villa-card h3 {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.25;
}

.villa-card h3 a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--mhh-ink);
  font-weight: 650;
  text-decoration: none;
}

.villa-card-arrow {
  display: inline-grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border: 1px solid var(--mhh-border);
  border-radius: 50%;
  color: var(--mhh-ink);
  text-decoration: none;
}

.villa-card-arrow .mhh-ui-icon {
  width: 17px;
  height: 17px;
}

.villa-card p {
  display: -webkit-box;
  min-height: 4.65em;
  margin-bottom: 1rem;
  overflow: hidden;
  color: var(--mhh-muted);
  font-size: 0.91rem;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.villa-card-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.villa-card-amenities li {
  border: 1px solid var(--mhh-border-light);
  border-radius: 999px;
  padding: 0.32rem 0.62rem;
  color: var(--mhh-muted);
  background: var(--mhh-soft);
  font-size: 0.74rem;
  line-height: 1.25;
}

.home-story {
  padding: 0 0 clamp(5rem, 8vw, 7.5rem);
}

.home-story-card {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(440px, 1.06fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  overflow: hidden;
  border-radius: 32px;
  padding: clamp(1rem, 2vw, 1.5rem);
  color: var(--mhh-white);
  background: var(--mhh-accent-dark);
}

.home-story-copy {
  align-self: center;
  padding: clamp(2rem, 5vw, 4.5rem);
}

.home-story-copy .home-eyebrow {
  color: rgba(255, 255, 255, 0.62);
}

.home-story-copy h2 {
  color: var(--mhh-white);
}

.home-story-copy blockquote {
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.79);
  font-size: 0.98rem;
  font-style: normal;
  line-height: 1.72;
}

.home-story-link {
  color: var(--mhh-white);
}

.home-story-link:hover {
  color: var(--mhh-white);
}

.home-story-images {
  position: relative;
  display: grid;
  min-height: 560px;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 0.8rem;
}

.home-story-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-story-image-main {
  border-radius: 22px 8px 8px 22px;
}

.home-story-image-secondary {
  margin: 3rem 0;
  border-radius: 8px 22px 22px 8px;
}

.home-story-location {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  border-radius: 999px;
  padding: 0.65rem 0.9rem;
  color: var(--mhh-ink);
  background: rgba(255, 255, 255, 0.92);
  font-size: 0.78rem;
  font-weight: 680;
  backdrop-filter: blur(10px);
}

.home-assurance {
  border-top: 1px solid var(--mhh-border-light);
  padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.home-assurance-heading {
  max-width: 760px;
  margin-bottom: 2.5rem;
}

.home-assurance-heading h2 {
  margin-bottom: 0;
}

.home-assurance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--mhh-border);
  border-bottom: 1px solid var(--mhh-border);
}

.home-assurance-item {
  padding: 2.25rem;
}

.home-assurance-item + .home-assurance-item {
  border-left: 1px solid var(--mhh-border);
}

.home-assurance-item > span {
  display: block;
  margin-bottom: 2rem;
  color: var(--mhh-accent);
  font-size: 0.74rem;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.home-assurance-item h3 {
  margin-bottom: 0.65rem;
  font-size: 1.08rem;
}

.home-assurance-item p {
  margin: 0;
  color: var(--mhh-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.home-assurance-action {
  display: flex;
  justify-content: flex-end;
  padding-top: 2rem;
}

.home-assurance-action .btn {
  min-height: 52px;
  gap: 1rem;
  border-radius: 999px;
  padding-right: 1.35rem;
  padding-left: 1.35rem;
}

.home-assurance-action .mhh-ui-icon {
  width: 18px;
  height: 18px;
}

/* Interior pages */
.page-hero {
  border: 0;
  background: var(--mhh-white);
  padding: clamp(2.25rem, 5vw, 4rem) 0 1.5rem;
}

.page-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 3.35rem);
  letter-spacing: -0.04em;
}

.page-hero--villa {
  padding: 2rem 0 1.25rem;
}

.page-hero--villa h1 {
  font-size: clamp(2rem, 3vw, 2.25rem);
  line-height: 1.15;
}

.page-hero__subtitle {
  max-width: 760px;
  margin: 0.65rem 0 0;
  color: var(--mhh-muted);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.5;
}

.single-villa .villa-gallery-wrap .mhh-gallery {
  margin-bottom: 0 !important;
}

.mhh-villa-overview {
  margin-top: 1.25rem;
  border-top: 1px solid var(--mhh-border-light);
  border-bottom: 1px solid var(--mhh-border-light);
  padding: 1.15rem 0;
  background: var(--mhh-accent-soft);
}

.mhh-villa-overview__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.75rem 1.5rem;
}

.mhh-villa-overview__list li {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.08rem;
}

.mhh-villa-overview__list strong {
  color: var(--mhh-ink);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.mhh-villa-overview__list span {
  color: var(--mhh-muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.single-villa .villa-content-wrap {
  padding-top: 2rem !important;
}

.breadcrumb,
.yoast-breadcrumb {
  margin-bottom: 1rem;
  color: var(--mhh-muted);
  background: transparent;
  font-size: 0.9rem;
}

.breadcrumb a,
.yoast-breadcrumb a {
  color: var(--mhh-muted);
  text-decoration: underline;
  text-decoration-color: transparent;
}

.breadcrumb a:hover,
.yoast-breadcrumb a:hover {
  color: var(--mhh-ink);
  text-decoration-color: currentColor;
}

.entry-content {
  color: var(--mhh-ink);
  font-size: 1rem;
  line-height: 1.7;
}

.entry-content > *:first-child {
  margin-top: 0;
}

.entry-content > :not(.mhh-gallery) {
  max-width: 880px;
  margin-right: auto;
  margin-left: auto;
}

.entry-content p {
  margin-bottom: 1.3rem;
}

.entry-content .mhh-villa-intro {
  color: var(--mhh-ink);
  font-size: clamp(1.08rem, 1.8vw, 1.2rem);
  line-height: 1.65;
}

.entry-content h2 {
  margin-top: 3rem;
  margin-bottom: 0.85rem;
  font-size: clamp(1.65rem, 3vw, 2.2rem);
}

.entry-content h3 {
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
}

.entry-content a:not(.btn):not(.wp-block-button__link) {
  color: var(--mhh-ink);
  text-decoration-color: currentColor;
}

.entry-content a:not(.btn):not(.wp-block-button__link):hover {
  color: var(--mhh-accent-dark);
}

.entry-content iframe {
  max-width: 100%;
  border: 0;
  border-radius: var(--mhh-radius);
}

.entry-content table {
  width: 100%;
  margin: 1.5rem auto 2.25rem;
  border-collapse: collapse;
  font-size: 0.97rem;
}

.entry-content table td,
.entry-content table th {
  border-bottom: 1px solid var(--mhh-border-light);
  padding: 0.9rem 0.25rem;
  vertical-align: top;
}

.entry-content table td:last-child,
.entry-content table th:last-child {
  text-align: right;
  font-weight: 550;
}

/* Villa amenities */
.mhh-amenities {
  margin-top: 3.5rem;
  border-top: 1px solid var(--mhh-border-light);
  border-bottom: 1px solid var(--mhh-border-light);
  padding: 3rem 0;
}

.mhh-amenities h2 {
  margin: 0 0 1.75rem;
  font-size: clamp(1.65rem, 3vw, 2.1rem);
}

.mhh-amenities-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(2rem, 7vw, 5rem);
  row-gap: 0.4rem;
  margin: 0 0 1.75rem;
}

.mhh-amenities-grid li {
  display: flex;
  min-width: 0;
  min-height: 58px;
  align-items: center;
  gap: 1rem;
  color: var(--mhh-ink);
  font-size: 1rem;
}

.mhh-amenity-icon-wrap {
  display: inline-grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  color: var(--mhh-ink);
}

.mhh-amenity-icon {
  display: block;
  width: 30px;
  height: 30px;
}

.mhh-amenities-show-all {
  min-height: 48px;
  border: 1px solid var(--mhh-ink);
  border-radius: 10px;
  padding: 0.75rem 1.15rem;
  color: var(--mhh-ink);
  background: var(--mhh-white);
  font-weight: 650;
}

.mhh-amenities-show-all:hover {
  background: var(--mhh-soft);
}

body.mhh-dialog-open {
  overflow: hidden;
}

.mhh-amenities-dialog {
  width: min(720px, calc(100% - 2rem));
  max-width: none;
  max-height: min(86dvh, 840px);
  margin: auto;
  overflow: auto;
  border: 0;
  border-radius: 20px;
  padding: 0;
  color: var(--mhh-ink);
  background: var(--mhh-white);
  box-shadow: 0 12px 42px rgba(0, 0, 0, 0.22);
}

.mhh-amenities-dialog::backdrop {
  background: rgba(0, 0, 0, 0.46);
}

.mhh-amenities-dialog-header {
  position: sticky;
  z-index: 2;
  top: 0;
  display: flex;
  min-height: 72px;
  align-items: center;
  border-bottom: 1px solid var(--mhh-border-light);
  padding: 0 1.25rem;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.mhh-amenities-dialog-close {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  padding: 0;
  color: var(--mhh-ink);
  background: transparent;
  font-size: 1.8rem;
  font-weight: 300;
  line-height: 1;
}

.mhh-amenities-dialog-close:hover {
  background: var(--mhh-soft);
}

.mhh-amenities-dialog-inner {
  padding: clamp(1.5rem, 5vw, 3rem);
}

.mhh-amenities-dialog-inner h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.65rem, 3vw, 2rem);
}

.mhh-amenities-dialog-list {
  margin: 0;
}

.mhh-amenities-dialog-list li {
  display: flex;
  min-height: 74px;
  align-items: flex-start;
  gap: 1rem;
  border-bottom: 1px solid var(--mhh-border-light);
  padding: 1.1rem 0;
}

.mhh-amenities-dialog-list li:last-child {
  border-bottom: 0;
}

.mhh-amenities-dialog-list strong,
.mhh-amenities-dialog-list small {
  display: block;
}

.mhh-amenities-dialog-list strong {
  font-weight: 550;
}

.mhh-amenities-dialog-list small {
  margin-top: 0.25rem;
  color: var(--mhh-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.mhh-facts-list {
  border-top: 1px solid var(--mhh-border-light);
}

.mhh-facts-row {
  border-bottom: 1px solid var(--mhh-border-light);
}

.mhh-facts-label,
.mhh-facts-value {
  color: var(--mhh-ink);
}

.mhh-facts h2,
.mhh-links h2 {
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
}

.mhh-links li {
  border-bottom: 1px solid var(--mhh-border-light);
}

.mhh-links li:first-child {
  border-top: 1px solid var(--mhh-border-light);
}

.mhh-links a {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.mhh-links a::after {
  color: var(--mhh-muted);
  content: "↗";
  font-size: 0.9rem;
}

.mhh-contact-card {
  position: sticky;
  top: calc(var(--mhh-header-height) + 1.5rem);
  overflow: hidden;
  border: 1px solid var(--mhh-border);
  border-radius: 18px;
  padding: 1.5rem;
  background: var(--mhh-white);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}

.mhh-ui-icon {
  display: block;
  width: 22px;
  height: 22px;
}

.mhh-contact-card__header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.15rem;
}

.mhh-contact-avatar {
  display: inline-grid;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  place-items: center;
  border-radius: 999px;
  color: var(--mhh-accent-dark);
  background: var(--mhh-accent-soft);
  font-size: 1.2rem;
  font-weight: 700;
}

.mhh-contact-card__header h2 {
  margin: 0;
  font-size: 1.2rem !important;
}

.mhh-contact-card__header p {
  margin: 0.15rem 0 0;
  color: var(--mhh-muted);
  font-size: 0.95rem;
}

.mhh-contact-methods {
  overflow: hidden;
  border: 1px solid var(--mhh-border);
  border-radius: 12px;
  margin-bottom: 1rem;
}

.mhh-contact-methods a {
  display: flex;
  min-width: 0;
  min-height: 64px;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 0.8rem;
  color: var(--mhh-ink);
  text-decoration: none;
}

.mhh-contact-methods a + a {
  border-top: 1px solid var(--mhh-border-light);
}

.mhh-contact-methods a:hover {
  background: var(--mhh-soft);
}

.mhh-contact-method-icon {
  display: inline-grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border-radius: 999px;
  background: var(--mhh-soft);
}

.mhh-contact-methods a > span:last-child {
  min-width: 0;
}

.mhh-contact-methods small,
.mhh-contact-methods strong {
  display: block;
}

.mhh-contact-methods small {
  margin-bottom: 0.1rem;
  color: var(--mhh-muted);
  font-size: 0.78rem;
  line-height: 1.2;
}

.mhh-contact-methods strong {
  overflow-wrap: anywhere;
  font-size: 0.92rem;
  font-weight: 550;
  line-height: 1.35;
}

.mhh-contact-actions {
  display: grid;
  gap: 0.65rem;
}

.mhh-contact-actions .btn {
  min-height: 52px;
  border-radius: 10px;
}

.mhh-contact-actions .btn-dark {
  justify-content: space-between;
}

.mhh-contact-actions .btn-outline-dark {
  gap: 0.55rem;
}

.mhh-contact-actions .mhh-ui-icon {
  width: 20px;
  height: 20px;
}

.mhh-contact-social {
  margin-top: 1.15rem;
  border-top: 1px solid var(--mhh-border-light);
  padding-top: 0.65rem;
}

.mhh-contact-social li + li {
  border-top: 1px solid var(--mhh-border-light);
}

.mhh-contact-social a {
  display: flex;
  min-width: 0;
  min-height: 52px;
  align-items: center;
  gap: 0.7rem;
  color: var(--mhh-ink);
  font-size: 0.88rem;
  line-height: 1.35;
  text-decoration: none;
}

.mhh-contact-social a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.mhh-contact-social a > span:nth-child(2) {
  min-width: 0;
  overflow-wrap: anywhere;
}

.mhh-contact-social-icon {
  display: inline-grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 999px;
  background: var(--mhh-soft);
}

.mhh-contact-social-icon .mhh-ui-icon {
  width: 19px;
  height: 19px;
}

.mhh-contact-social a > .mhh-ui-icon:last-child {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  margin-left: auto;
  color: var(--mhh-muted);
}

/* Property galleries */
.mhh-gallery {
  position: relative;
  margin-bottom: clamp(2.5rem, 6vw, 5.5rem) !important;
}

.mhh-gallery .carousel {
  overflow: hidden;
  border-radius: var(--mhh-radius);
  background: var(--mhh-soft);
}

.mhh-gallery .carousel-inner {
  border-radius: var(--mhh-radius) !important;
}

.mhh-gallery-image-open {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  background: var(--mhh-soft);
  cursor: zoom-in;
  text-align: left;
}

.mhh-gallery-image-open:focus-visible {
  outline-offset: -5px;
}

.mhh-gallery .carousel-item img {
  width: 100%;
  max-height: 620px;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.mhh-gallery .carousel-control-prev,
.mhh-gallery .carousel-control-next {
  width: 48px;
  height: 48px;
  top: 50%;
  bottom: auto;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--mhh-shadow);
  opacity: 1;
  transform: translateY(-50%);
}

.mhh-gallery .carousel-control-prev {
  left: 1rem;
}

.mhh-gallery .carousel-control-next {
  right: 1rem;
}

.mhh-gallery .carousel-control-prev-icon,
.mhh-gallery .carousel-control-next-icon {
  width: 18px;
  height: 18px;
  filter: invert(1);
}

.mhh-gallery-thumbs {
  margin-top: 0.65rem !important;
}

.mhh-gallery-thumb {
  width: 100%;
  min-height: 64px;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 10px;
  padding: 0;
  background: var(--mhh-soft);
  cursor: zoom-in;
  opacity: 0.72;
  transition: border-color 160ms ease, opacity 160ms ease;
}

.mhh-gallery-thumb:hover,
.mhh-gallery-thumb.active,
.mhh-gallery-thumb[aria-current="true"] {
  border-color: var(--mhh-ink);
  opacity: 1;
}

.mhh-gallery-thumb img {
  display: block;
  width: 100%;
  height: 76px;
  border-radius: 7px;
  object-fit: cover;
}

.mhh-gallery-show-all {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 0.55rem;
  margin: 0.75rem 0.75rem 0 auto;
  border: 1px solid var(--mhh-ink);
  border-radius: 10px;
  padding: 0.65rem 0.9rem;
  color: var(--mhh-ink);
  background: var(--mhh-white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1;
}

.mhh-gallery-show-all:hover {
  background: var(--mhh-soft);
}

.mhh-gallery-grid-icon {
  display: grid;
  grid-template-columns: repeat(3, 3px);
  gap: 2px;
}

.mhh-gallery-grid-icon span {
  width: 3px;
  height: 3px;
  border-radius: 1px;
  background: currentColor;
}

body.mhh-photo-tour-open {
  overflow: hidden;
}

.mhh-photo-tour {
  position: fixed;
  inset: 0;
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  border: 0;
  padding: 0;
  color: var(--mhh-ink);
  background: var(--mhh-white);
}

.mhh-photo-tour::backdrop {
  background: rgba(0, 0, 0, 0.36);
}

.mhh-photo-tour-header {
  position: sticky;
  z-index: 2;
  top: 0;
  display: flex;
  min-height: 72px;
  align-items: center;
  border-bottom: 1px solid var(--mhh-border-light);
  padding: 0 1.5rem;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.mhh-photo-tour-close {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  padding: 0;
  color: var(--mhh-ink);
  background: transparent;
  font-size: 1.85rem;
  font-weight: 300;
  line-height: 1;
}

.mhh-photo-tour-close:hover {
  background: var(--mhh-soft);
}

.mhh-photo-tour-inner {
  width: min(100% - 3rem, 1120px);
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 5rem) 0 5rem;
}

.mhh-photo-tour-inner h2 {
  margin-bottom: 2rem;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
}

.mhh-photo-tour-inner h3 {
  margin: clamp(3rem, 7vw, 5.5rem) 0 1.75rem;
  font-size: clamp(1.55rem, 2.5vw, 2rem);
}

.mhh-photo-tour-index {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.mhh-photo-tour-index button {
  min-width: 0;
  border: 0;
  padding: 0;
  color: var(--mhh-ink);
  background: transparent;
  text-align: left;
}

.mhh-photo-tour-index img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: 4px;
  object-fit: cover;
  transition: filter 160ms ease;
}

.mhh-photo-tour-index button:hover img {
  filter: brightness(0.9);
}

.mhh-photo-tour-index span {
  display: block;
  margin-top: 0.55rem;
  font-size: 0.96rem;
  font-weight: 550;
}

.mhh-photo-tour-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.mhh-photo-tour-grid figure {
  min-width: 0;
  margin: 0;
  scroll-margin-top: 92px;
}

.mhh-photo-tour-grid figure:first-child,
.mhh-photo-tour-grid figure:nth-child(7n + 1) {
  grid-column: 1 / -1;
}

.mhh-photo-tour-grid img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  max-height: 760px;
  object-fit: cover;
}

.mhh-photo-tour-grid figure:not(:first-child):not(:nth-child(7n + 1)) img {
  aspect-ratio: 4 / 3;
}

/* Contact and forms */
.contact-panel {
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--mhh-radius-lg);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--mhh-shadow-strong);
  backdrop-filter: blur(12px);
}

.form-control,
.form-select,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
textarea,
select {
  min-height: 48px;
  border: 1px solid #b0b0b0;
  border-radius: var(--mhh-radius-sm);
  padding: 0.7rem 0.85rem;
  color: var(--mhh-ink);
  background: var(--mhh-white);
}

textarea {
  min-height: 140px;
}

.mhh-tally-card {
  overflow: hidden;
  border: 1px solid var(--mhh-border);
  border-radius: 18px;
  padding: clamp(1rem, 2.5vw, 1.5rem);
  background: var(--mhh-white);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}

.mhh-tally-frame {
  display: block;
  width: 100%;
  min-height: 644px;
  border-radius: 0 !important;
}

/* Footer */
.site-footer {
  margin-top: 0;
  border-top: 1px solid var(--mhh-border-light);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 1.5rem;
  color: var(--mhh-ink);
  background: var(--mhh-soft);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(280px, 1.7fr) minmax(150px, 0.8fr) minmax(250px, 1.2fr) minmax(150px, 0.75fr);
  gap: clamp(2rem, 5vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
}

.footer-brand {
  max-width: 360px;
}

.footer-brand-logo {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  margin-bottom: 1.25rem;
  line-height: 0;
}

.footer-brand-logo img {
  width: auto;
  height: 50px;
  max-width: min(250px, 100%);
  object-fit: contain;
}

.footer-brand p {
  max-width: 310px;
  margin-bottom: 1.5rem;
  color: var(--mhh-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.footer-primary-action {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 1rem;
  border-radius: 999px;
  padding: 0.7rem 1.15rem;
  color: var(--mhh-white) !important;
  background: var(--mhh-ink);
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none !important;
}

.footer-primary-action:hover {
  color: var(--mhh-white) !important;
  background: #000;
}

.footer-primary-action .mhh-ui-icon {
  width: 18px;
  height: 18px;
  transition: transform 160ms ease;
}

.footer-primary-action:hover .mhh-ui-icon {
  transform: translateX(2px);
}

.site-footer h2 {
  margin-bottom: 1.2rem;
  color: var(--mhh-ink);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer ul {
  padding: 0;
  margin-bottom: 0;
  list-style: none;
}

.footer-navigation li + li {
  margin-top: 0.15rem;
}

.footer-navigation a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--mhh-ink);
  font-size: 0.94rem;
  font-weight: 450;
  text-decoration: none;
}

.footer-navigation a:hover {
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.footer-contact address {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  font-style: normal;
}

.footer-contact address a,
.footer-social a {
  display: flex;
  min-width: 0;
  min-height: 52px;
  align-items: center;
  gap: 0.75rem;
  color: var(--mhh-ink);
  text-decoration: none;
}

.footer-contact address a {
  border-radius: 12px;
  padding: 0.45rem 0.55rem;
  margin-left: -0.55rem;
}

.footer-contact address a:hover {
  background: rgba(255, 255, 255, 0.72);
}

.footer-link-icon {
  display: inline-grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border: 1px solid var(--mhh-border);
  border-radius: 999px;
  background: var(--mhh-white);
}

.footer-link-icon .mhh-ui-icon {
  width: 19px;
  height: 19px;
}

.footer-contact address a > span:last-child {
  min-width: 0;
}

.footer-contact small,
.footer-contact strong {
  display: block;
}

.footer-contact small {
  color: var(--mhh-muted);
  font-size: 0.76rem;
  font-weight: 450;
  line-height: 1.2;
}

.footer-contact strong {
  margin-top: 0.12rem;
  overflow-wrap: anywhere;
  font-size: 0.88rem;
  font-weight: 550;
  line-height: 1.35;
}

.footer-social li + li {
  margin-top: 0.25rem;
}

.footer-social a {
  font-size: 0.92rem;
}

.footer-social a:hover span:last-child {
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--mhh-border);
  padding-top: 1.25rem;
  color: var(--mhh-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.footer-bottom-links {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
}

.footer-bottom-links a {
  color: inherit;
  font-weight: 600;
  text-underline-offset: 0.18em;
}

.footer-bottom-links a:hover,
.footer-bottom-links a:focus-visible {
  color: var(--mhh-ink);
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .footer-main {
    grid-template-columns: minmax(280px, 1.25fr) minmax(220px, 1fr);
    gap: 3rem 4rem;
  }

  .footer-brand {
    grid-row: span 2;
  }
}

/* Accessibility */
.skip-link {
  position: fixed;
  z-index: 3000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--mhh-radius-sm);
  color: var(--mhh-white);
  background: var(--mhh-ink);
  box-shadow: var(--mhh-shadow-strong);
  font-weight: 650;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  color: var(--mhh-white);
  transform: translateY(0);
}

@media (min-width: 1200px) {
  .mhh-gallery {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
    gap: 8px;
  }

  .mhh-gallery .carousel {
    height: min(42vw, 540px);
    border-radius: 16px 0 0 16px;
  }

  .mhh-gallery .carousel-inner,
  .mhh-gallery .carousel-item {
    height: 100%;
    border-radius: 16px 0 0 16px !important;
  }

  .mhh-gallery .carousel-item img {
    height: 100%;
    max-height: none;
    aspect-ratio: auto;
  }

  .mhh-gallery .carousel-control-prev,
  .mhh-gallery .carousel-control-next {
    display: none;
  }

  .mhh-gallery-thumbs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
    height: min(42vw, 540px);
    overflow: hidden;
    margin: 0 !important;
    padding: 0;
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
  }

  .mhh-gallery-thumbs > [class*="col-"] {
    display: none;
    width: auto;
    max-width: none;
    height: auto;
    padding: 0;
  }

  .mhh-gallery-thumbs > [class*="col-"]:nth-child(n + 2):nth-child(-n + 5) {
    display: block;
  }

  .mhh-gallery-thumb {
    height: 100%;
    min-height: 0;
    border: 0;
    border-radius: 0;
    opacity: 1;
  }

  .mhh-gallery-thumb:hover,
  .mhh-gallery-thumb.active,
  .mhh-gallery-thumb[aria-current="true"] {
    border-color: transparent;
    opacity: 0.84;
  }

  .mhh-gallery-thumb img {
    height: 100%;
    border-radius: 0;
  }

  .mhh-gallery-thumbs > [class*="col-"]:nth-child(3) .mhh-gallery-thumb,
  .mhh-gallery-thumbs > [class*="col-"]:nth-child(3) img {
    border-radius: 0 16px 0 0;
  }

  .mhh-gallery-thumbs > [class*="col-"]:nth-child(5) .mhh-gallery-thumb,
  .mhh-gallery-thumbs > [class*="col-"]:nth-child(5) img {
    border-radius: 0 0 16px 0;
  }

  .mhh-gallery-show-all {
    position: absolute;
    z-index: 5;
    right: 1rem;
    bottom: 1rem;
    margin: 0;
  }
}

@media (max-width: 991.98px) {
  :root {
    --mhh-header-height: 68px;
  }

  .admin-bar .site-header {
    top: 32px;
  }

  .site-header .navbar {
    position: relative;
  }

  .site-header .navbar-toggler {
    display: inline-flex;
  }

  .site-header .navbar-brand {
    max-width: 180px;
  }

  .site-header .navbar-brand img,
  .site-header .navbar-brand .custom-logo {
    height: 36px !important;
    max-height: 36px !important;
  }

  .site-header .navbar-collapse {
    position: absolute;
    top: calc(100% + 1px);
    right: calc(var(--bs-gutter-x) * 0.5);
    left: calc(var(--bs-gutter-x) * 0.5);
    max-height: calc(100vh - var(--mhh-header-height) - 2rem);
    overflow-y: auto;
    border: 1px solid var(--mhh-border-light);
    border-radius: 0 0 12px 12px;
    padding: 0.6rem 0.75rem 0.9rem;
    background: var(--mhh-white);
    box-shadow: var(--mhh-shadow-strong);
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
  }

  .site-header .nav-link {
    width: 100%;
    min-height: 48px;
    border-radius: 0;
    padding: 0.85rem 0.65rem !important;
  }

  .site-header .nav-link::after {
    display: none;
  }

  .site-header .nav-link.active,
  .site-header .nav-link[aria-current="page"] {
    background: var(--mhh-soft) !important;
  }

  .mhh-header-lang {
    border-top: 1px solid var(--mhh-border-light);
    margin-top: 0.35rem;
    padding: 0.75rem 0.65rem 0.25rem;
  }

  .mhh-lang {
    gap: 0.5rem;
    font-size: 0.84rem;
  }

  .hero-swiper {
    width: calc(100% - 2rem);
    height: min(70vh, 620px);
    border-radius: 20px;
  }

  .hero-swiper .swiper-slide {
    height: min(70vh, 620px);
  }

  .hero-swiper .swiper-pagination {
    right: 50% !important;
    bottom: 3.75rem !important;
  }

  .hero-swiper .hero-caption {
    bottom: 4.25rem;
    left: 1.5rem;
    gap: 0.75rem;
    max-width: calc(100% - 3rem);
  }

  .hero-swiper .swiper-button-prev,
  .hero-swiper .swiper-button-next {
    width: 44px;
    height: 44px;
  }

  .hero-swiper .hero-caption-title {
    font-size: clamp(1.8rem, 5vw, 2.6rem);
  }

  .home-trust {
    margin-top: -1.5rem;
  }

  .home-trust-item {
    min-height: 108px;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1.25rem;
  }

  .home-trust-number {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .home-villa-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .home-villa-grid .villa-card:last-child {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  }

  .home-villa-grid .villa-card:last-child .villa-card-media img {
    height: 100%;
    aspect-ratio: auto;
  }

  .villa-card .card-body {
    padding: 1.2rem;
  }

  .home-story-card {
    grid-template-columns: 1fr;
  }

  .home-story-copy {
    padding-bottom: 1rem;
  }

  .home-story-images {
    min-height: 460px;
  }

  .home-assurance-item {
    padding: 1.75rem 1.25rem;
  }

  .mhh-gallery .carousel-item img {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 767.98px) {
  .container {
    --bs-gutter-x: 1.5rem;
  }

  .admin-bar .site-header {
    top: 46px;
  }

  .home-hero {
    padding-top: 0;
  }

  .hero-swiper {
    width: 100%;
    height: clamp(460px, 68dvh, 580px);
    border-radius: 0;
  }

  .hero-swiper .swiper-slide {
    height: clamp(460px, 68dvh, 580px);
  }

  .hero-swiper .swiper-slide::after {
    background: linear-gradient(180deg, transparent 48%, rgba(10, 13, 10, 0.72) 100%);
  }

  .hero-swiper .swiper-button-prev,
  .hero-swiper .swiper-button-next {
    display: none;
  }

  .hero-swiper .hero-caption {
    right: 1rem;
    bottom: 2.4rem;
    left: 1rem;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
    max-width: none;
  }

  .hero-swiper .hero-caption-title {
    font-size: clamp(2rem, 9vw, 2.75rem);
  }

  .hero-swiper .hero-caption-action {
    min-height: 48px;
    padding: 0.65rem 1rem;
    font-size: 0.86rem;
  }

  .hero-swiper .swiper-pagination {
    right: 50% !important;
    bottom: 0.75rem !important;
  }

  .home-trust {
    margin-top: 0;
    padding-top: 1rem;
  }

  .home-trust-grid {
    grid-template-columns: 1fr;
    border-radius: 18px;
    box-shadow: none;
  }

  .home-trust-item {
    min-height: 92px;
    align-items: center;
    padding: 1.15rem;
  }

  .home-trust-item + .home-trust-item {
    border-top: 1px solid var(--mhh-border-light);
    border-left: 0;
  }

  .home-villas {
    padding: 4.5rem 0;
  }

  .home-section-heading {
    display: block;
    margin-bottom: 1.75rem;
  }

  .home-section-heading h2,
  .home-story-copy h2,
  .home-assurance-heading h2 {
    font-size: clamp(2rem, 9vw, 2.65rem);
  }

  .home-section-heading .home-text-link {
    margin-top: 1rem;
  }

  .home-villa-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .home-villa-grid .villa-card:last-child {
    display: block;
    grid-column: auto;
  }

  .home-villa-grid .villa-card:last-child .villa-card-media img {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .villa-card:hover {
    transform: none;
  }

  .villa-card .card-body {
    padding: 1.25rem;
  }

  .villa-card p {
    min-height: 0;
  }

  .home-story {
    padding-bottom: 4.5rem;
  }

  .home-story-card {
    gap: 1rem;
    border-radius: 24px;
    padding: 0.75rem;
  }

  .home-story-copy {
    padding: 1.5rem 1rem 1rem;
  }

  .home-story-copy blockquote {
    font-size: 0.94rem;
  }

  .home-story-images {
    min-height: 330px;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 0.5rem;
  }

  .home-story-image-main {
    border-radius: 18px 6px 6px 18px;
  }

  .home-story-image-secondary {
    margin: 2rem 0;
    border-radius: 6px 18px 18px 6px;
  }

  .home-story-location {
    right: 0.85rem;
    bottom: 0.85rem;
  }

  .home-assurance {
    padding: 4.5rem 0;
  }

  .home-assurance-heading {
    margin-bottom: 2rem;
  }

  .home-assurance-grid {
    grid-template-columns: 1fr;
  }

  .home-assurance-item {
    padding: 1.5rem 0;
  }

  .home-assurance-item + .home-assurance-item {
    border-top: 1px solid var(--mhh-border);
    border-left: 0;
  }

  .home-assurance-item > span {
    margin-bottom: 1rem;
  }

  .home-assurance-action {
    justify-content: stretch;
  }

  .home-assurance-action .btn {
    width: 100%;
  }

  .page-hero {
    padding-top: 2rem;
    padding-bottom: 0.75rem;
  }

  .page-hero--villa {
    padding-top: 1.5rem;
    padding-bottom: 1rem;
  }

  .page-hero--villa h1 {
    font-size: 2rem;
  }

  .single-villa .villa-content-wrap {
    padding-top: 1.75rem !important;
  }

  .entry-content {
    font-size: 0.98rem;
  }

  .row.g-5 {
    --bs-gutter-x: 1.5rem;
  }

  .entry-content h2 {
    margin-top: 2.5rem;
  }

  .entry-content h3 {
    margin-top: 2.15rem;
  }

  .mhh-gallery {
    margin-right: calc(var(--bs-gutter-x) * -0.5);
    margin-left: calc(var(--bs-gutter-x) * -0.5);
  }

  .mhh-gallery .carousel,
  .mhh-gallery .carousel-inner {
    border-radius: 0 !important;
  }

  .mhh-gallery-thumbs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline proximity;
    scrollbar-width: none;
    margin-right: 0.25rem;
    margin-left: 0.25rem;
    padding-bottom: 0.25rem;
  }

  .mhh-gallery-thumbs::-webkit-scrollbar {
    display: none;
  }

  .mhh-gallery-thumbs > [class*="col-"] {
    width: 86px;
    max-width: 86px;
    flex: 0 0 86px;
    scroll-snap-align: start;
  }

  .mhh-gallery-thumb img {
    height: 64px;
  }

  .mhh-amenities {
    margin-top: 2.75rem;
    padding: 2.5rem 0;
  }

  .mhh-amenities-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .mhh-amenities-grid li {
    min-height: 56px;
  }

  .mhh-amenities-dialog {
    width: 100vw;
    height: 100dvh;
    max-height: none;
    margin: 0;
    border-radius: 0;
  }

  .mhh-amenities-dialog-inner {
    padding: 1.5rem;
  }

  .mhh-photo-tour-inner {
    width: min(100% - 1.5rem, 720px);
    padding-top: 2rem;
  }

  .mhh-photo-tour-index {
    display: flex;
    overflow-x: auto;
    gap: 0.75rem;
    scroll-snap-type: inline proximity;
    scrollbar-width: none;
  }

  .mhh-photo-tour-index::-webkit-scrollbar {
    display: none;
  }

  .mhh-photo-tour-index button {
    width: 150px;
    flex: 0 0 150px;
    scroll-snap-align: start;
  }

  .mhh-photo-tour-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .mhh-photo-tour-grid figure,
  .mhh-photo-tour-grid figure:first-child,
  .mhh-photo-tour-grid figure:nth-child(7n + 1) {
    grid-column: auto;
  }

  .mhh-photo-tour-grid img {
    min-height: 0;
    max-height: none;
    aspect-ratio: 4 / 3;
  }

  .entry-content table {
    display: table;
    font-size: 0.92rem;
  }

  .entry-content table td,
  .entry-content table th {
    padding: 0.8rem 0.15rem;
  }

  .mhh-contact-card {
    position: static;
    margin-top: 0.5rem;
  }

  .site-footer {
    padding: 3rem 0 1.25rem;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 0;
    padding-bottom: 2rem;
  }

  .footer-brand {
    max-width: none;
    padding-bottom: 2rem;
  }

  .footer-brand-logo {
    margin-bottom: 1rem;
  }

  .footer-brand p {
    max-width: 32rem;
    margin-bottom: 1.25rem;
  }

  .footer-column {
    padding: 1.5rem 0;
    border-top: 1px solid var(--mhh-border);
  }

  .site-footer h2 {
    margin-bottom: 0.75rem;
  }

  .footer-navigation ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1.5rem;
  }

  .footer-contact address {
    gap: 0.2rem;
  }

  .footer-social ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .footer-social li + li {
    margin-top: 0;
  }

  .footer-social a {
    min-height: 46px;
    gap: 0.55rem;
    border: 1px solid var(--mhh-border);
    border-radius: 999px;
    padding: 0.2rem 0.9rem 0.2rem 0.2rem;
    background: var(--mhh-white);
  }

  .footer-social .footer-link-icon {
    width: 38px;
    height: 38px;
    border: 0;
    background: transparent;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .hero-swiper .swiper-button-prev,
  .hero-swiper .swiper-button-next,
  .hero-swiper .swiper-pagination,
  .mhh-gallery-thumbs,
  .skip-link {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
}
