/* Independent refinements to the existing Meldon visual layer. */
.meldon-visual .site-branding img{max-width:min(300px,100%);height:auto}
.meldon-visual .primary-menu-container a{font-size:17px;letter-spacing:.025em}
.meldon-visual .mv-hero .mv-track{scrollbar-width:none;-ms-overflow-style:none}
.meldon-visual .mv-hero .mv-track::-webkit-scrollbar{display:none}
.meldon-visual .mv-hero .mv-controls{position:absolute;bottom:12px;right:clamp(12px,4vw,64px);z-index:3;border-radius:6px;background:rgba(22,40,25,.88);padding:6px 10px;gap:6px}
.meldon-visual .mv-hero .mv-controls button{min-height:36px;min-width:36px}
.meldon-visual .mv-hero-copy h1{font-weight:500;line-height:1.15}
.meldon-visual .mv-hero-copy .mv-button{text-transform:uppercase;font-size:17px;background:#507e45}
.meldon-visual .mv-tagline{background:#507e45;color:#fff;font-weight:400}
.meldon-visual .mv-cards article{border:0;border-radius:0;box-shadow:none;padding:12px}
.meldon-visual .mv-cards img{border-radius:3px;aspect-ratio:4/3;height:auto;object-fit:cover}
.meldon-visual .mv-cards h2{font-size:25px;letter-spacing:0}
.meldon-visual.home .entry-header,.meldon-visual.home .entry-hero{display:none!important}
.meldon-visual .mv-footer address{font-style:normal;margin:0 0 14px;line-height:1.55}
.meldon-visual .mv-footer a{text-decoration:underline;text-underline-offset:3px}
@media(max-width:800px){.meldon-visual .site-branding img{max-width:min(240px,100%)}.meldon-visual .mv-hero-copy>div{max-width:75%;}.meldon-visual .mv-hero .mv-controls{bottom:8px;right:10px}}
@media(max-width:540px){.meldon-visual .site-branding img{max-width:min(220px,100%)}.meldon-visual .mv-hero-copy{align-items:flex-start;padding-top:22px;padding-bottom:64px}.meldon-visual .mv-hero-copy>div{max-width:90%;width:90%;margin:0 auto}.meldon-visual .mv-hero-copy h1{font-size:27px}.meldon-visual .mv-hero .mv-slide img{height:440px}.meldon-visual .mv-hero .mv-controls{right:50%;transform:translateX(50%);white-space:nowrap}.meldon-visual .mv-cards article{padding:8px 0}.meldon-visual .mv-tagline{font-size:22px}}

/* v1.1: keep the native gallery content and booking URLs intact. */
.meldon-visual.home .content-area {margin-bottom:32px!important;}
.meldon-visual.home .entry-content-wrap {padding-bottom:0!important;}
.meldon-visual.home .entry-content {padding-bottom:0!important;margin-bottom:0!important;}
.meldon-visual.home .mv-home-details {margin-bottom:0!important;}
.meldon-visual.home .mv-home-details > :last-child {margin-bottom:0!important;}
.meldon-visual:not(.home) .entry-hero .entry-hero-container-inner {min-height:100px!important;padding-block:18px!important;}
.meldon-visual:not(.home) .content-area {margin-top:36px!important;margin-bottom:40px!important;}
.meldon-visual .mv-gallery.wp-block-gallery {height:auto!important;min-height:0!important;aspect-ratio:auto!important;overflow:hidden;}
.meldon-visual .mv-gallery .mv-track {width:100%;height:clamp(220px,43vw,520px)!important;min-height:0!important;max-height:520px!important;align-items:stretch;scrollbar-width:none;overflow-y:hidden;}
.meldon-visual .mv-gallery .mv-track::-webkit-scrollbar {display:none;}
.meldon-visual .mv-gallery .mv-track > figure.wp-block-image {height:100%!important;min-height:0!important;max-height:100%!important;aspect-ratio:auto!important;padding:0!important;overflow:hidden;}
.meldon-visual .mv-gallery .mv-track > figure.wp-block-image > a {display:flex!important;width:100%;height:100%;align-items:center;justify-content:center;}
.meldon-visual .mv-gallery .mv-track > figure.wp-block-image img {height:100%!important;max-height:100%!important;width:100%!important;aspect-ratio:auto!important;object-fit:contain!important;}
.meldon-visual .mv-gallery .mv-track > figure.wp-block-image figcaption {position:absolute;bottom:0;max-height:35%;overflow:auto;}
.meldon-visual.mf-page-holiday-lets .entry-content [id] {scroll-margin-top:110px;}
.meldon-visual.mf-page-holiday-lets .entry-content > .wp-block-spacer {max-height:24px;}
.meldon-visual.mf-page-booking .entry-content > .wp-block-columns:has(> .wp-block-column h4):has(> .wp-block-column .wp-block-button) {display:flex;align-items:center!important;gap:16px;margin:0!important;padding:12px 16px;border-bottom:1px solid #dce5d9;background:#f7f9f6;}
.meldon-visual.mf-page-booking .entry-content > .wp-block-columns:has(> .wp-block-column h4):has(> .wp-block-column .wp-block-button) > .wp-block-column {margin:0!important;min-width:0;}
.meldon-visual.mf-page-booking .entry-content > .wp-block-columns:has(h4):has(.wp-block-button) .wp-block-spacer {display:none!important;}
.meldon-visual.mf-page-booking .entry-content > .wp-block-columns:has(h4):has(.wp-block-button) h4 {margin:0!important;}
.meldon-visual.mf-page-booking .entry-content > .wp-block-columns:has(h4):has(.wp-block-button) .wp-block-buttons {margin:0!important;justify-content:flex-end;}
.meldon-visual.mf-page-booking .entry-content > .wp-block-spacer {max-height:24px;}
@media(max-width:600px){
 .meldon-visual:not(.home) .content-area{margin-top:20px!important;}
 .meldon-visual.mf-page-booking .entry-content > .wp-block-columns:has(h4):has(.wp-block-button){flex-wrap:nowrap!important;padding:10px;gap:8px;}
 .meldon-visual.mf-page-booking .entry-content > .wp-block-columns:has(h4):has(.wp-block-button) > .wp-block-column{flex:1 1 50%!important;}
 .meldon-visual.mf-page-booking .entry-content .wp-block-button__link{font-size:13px;padding:10px 12px;text-align:center;}
}
