/* Chinese-only offline adapter over the captured live English Villa Marie theme. */
html[lang="zh-Hans"]{scroll-behavior:smooth}
body.vm-zh-offline{font-family:"Lato","Microsoft YaHei","Noto Sans CJK SC","PingFang SC",sans-serif;overflow-x:hidden}
.vm-zh-offline h1,.vm-zh-offline h2,.vm-zh-offline h3,.vm-zh-offline h4{font-family:"athelasregular","Noto Serif CJK SC","Songti SC",serif}
.vm-zh-offline .vm-content-shell{display:block;width:100%;flex:1 0 auto}
.vm-zh-offline .vm-content-shell #wrap{width:100%}
.vm-zh-offline .topbar .vm-language-choice{direction:ltr;unicode-bidi:isolate;white-space:nowrap;display:inline-flex;align-items:center;gap:.3em;font-size:11px;letter-spacing:.06em;line-height:1.8}
.vm-zh-offline .topbar .vm-language-choice strong{font-weight:700}
.vm-zh-offline .navbar-nav .menu-item{position:relative}
.vm-zh-offline .navbar-nav .sub-menu{display:none;position:absolute;top:100%;left:0;min-width:12rem;padding:.5rem 0;list-style:none;background:var(--vmgold,#ad986e);box-shadow:0 12px 24px #0004;z-index:100}
.vm-zh-offline .navbar-nav .menu-item:hover>.sub-menu,.vm-zh-offline .navbar-nav .menu-item:focus-within>.sub-menu{display:block}
.vm-zh-offline .navbar-nav .sub-menu a{display:block;padding:.35rem 1rem;white-space:nowrap;font-size:1rem}
.vm-zh-offline .navbar-toggler{color:#fff!important;border:0;font-size:1.6rem;line-height:1}
.vm-zh-offline .navbar-brand{overflow:hidden;text-indent:-9999px}
.vm-zh-offline .offline-hero-image{position:absolute!important;inset:0;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover;z-index:0}
.vm-zh-offline .vm-hero>.offline-hero-image~*{position:relative}
.vm-zh-offline .vm-home-hero>.offline-hero-image{z-index:0}
.vm-zh-offline .vm-home-hero::after{z-index:1}
.vm-zh-offline .vm-home-hero-content{z-index:3}
.vm-zh-offline .vm-hero-content{z-index:2}
.vm-zh-offline .vm-hero h1,.vm-zh-offline .vm-home-hero h1{overflow-wrap:anywhere}
.vm-zh-offline .offline-hero-image{max-width:none}
.vm-zh-offline .offline-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem}
.vm-zh-offline .offline-gallery figure{overflow:hidden;aspect-ratio:4/3}
.vm-zh-offline .offline-gallery img{display:block;width:100%;height:100%;object-fit:cover;cursor:zoom-in}
.vm-zh-offline .gallery-more>summary,.vm-zh-offline .offline-room-gallery>summary{cursor:pointer;color:var(--linkcolor,#a60808);font-weight:600;padding:.5rem 0}
.vm-zh-offline .offline-form{max-width:700px;margin:2rem auto;padding:1.5rem;background:#faf7f0;border:1px solid #d8c9a9}
.vm-zh-offline .offline-form label{display:block;margin:.8rem 0;font-weight:600}
.vm-zh-offline .offline-form input,.vm-zh-offline .offline-form select,.vm-zh-offline .offline-form textarea{display:block;width:100%;max-width:100%;padding:.55rem;border:1px solid #b8aa99;background:#fff;font:inherit}
.vm-zh-offline .offline-form textarea{min-height:100px}
.vm-zh-offline .offline-form button{display:inline-block;background:var(--linkcolor,#a60808);color:#fff;border:0;padding:.7rem 1.3rem;font:inherit;cursor:pointer}
.vm-zh-offline .offline-note,.vm-zh-offline .form-result{color:var(--linkcolor,#a60808)}
.vm-zh-offline .offline-notice{font-size:.85rem}
.vm-zh-offline .lightbox{border:0;max-width:95vw;max-height:95vh;background:#1b1b1b;color:white;padding:1rem}
.vm-zh-offline .lightbox::backdrop{background:#000c}
.vm-zh-offline .lightbox img{display:block;max-width:90vw;max-height:78vh;object-fit:contain}
.vm-zh-offline .close-lightbox{position:absolute;right:.4rem;top:.3rem;border:0;background:#0009;color:#fff;font-size:1.8rem;cursor:pointer}
.vm-zh-offline .vm-content-shell a[aria-disabled="true"]{cursor:not-allowed;text-decoration:none;opacity:.7}
@media(max-width:991.98px){
 .vm-zh-offline .navbar-collapse:not(.show){display:none}
 .vm-zh-offline .navbar-collapse.show{display:block;width:100%;background:var(--vmgold,#ad986e);padding:.5rem 1rem}
 .vm-zh-offline .navbar-nav{max-height:calc(100vh - 120px);overflow:auto}
 .vm-zh-offline .navbar-nav .sub-menu{display:block;position:static;box-shadow:none;background:transparent;padding:0 0 .4rem 1rem}
 .vm-zh-offline .navbar-nav .sub-menu a{white-space:normal}
 .vm-zh-offline .navbar-brand{min-width:190px}
 .vm-zh-offline .offline-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:575.98px){
 .vm-zh-offline .topbar .row{flex-wrap:nowrap;align-items:center}
 .vm-zh-offline .topbar .col-6:first-child{flex:0 0 auto;max-width:none;white-space:nowrap;font-size:.7rem}
 .vm-zh-offline .topbar .col-6:last-child{flex:1 1 auto;max-width:none;min-width:0;overflow-x:auto;font-size:.65rem}
 .vm-zh-offline .topbar .vm-language-choice{font-size:.65rem}
 .vm-zh-offline .navbar-brand{min-width:155px}
 .vm-zh-offline .offline-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .vm-zh-offline .offline-form{padding:1rem}
}

.vm-zh-offline .sticky-wrapper{height:70px;position:relative;z-index:1040}
.vm-zh-offline .video-dialog{border:0;background:#111;padding:1rem;max-width:min(95vw,1100px)}.vm-zh-offline .video-dialog::backdrop{background:#000d}.vm-zh-offline .video-dialog video{display:block;width:min(90vw,1000px);max-height:80vh}.vm-zh-offline .close-video{display:block;margin:0 0 .4rem auto;background:#ad986e;color:#fff;border:0;font-size:1.5rem;cursor:pointer}

/* Preserve the live ENQUIRE button treatment on the translated sixth nav item. */
.vm-zh-offline .navbar-nav>li:last-child>a{background:var(--vmgold,#ad986e);color:#fff;padding:.4rem 1rem}
.vm-zh-offline .topbar .vm-zh-languages{direction:ltr;unicode-bidi:isolate;white-space:nowrap;display:inline-flex;align-items:center;gap:.3em;font-size:11px;letter-spacing:.06em;line-height:1.8}
@media(max-width:575.98px){
 .vm-zh-offline .topbar .text-right>a{display:none}
 .vm-zh-offline .topbar .vm-zh-languages{font-size:.65rem}
 .vm-zh-offline .navbar-nav>li:last-child>a{display:block}
}


/* Offline review navigation: links to existing Villa floor and room pages. */
.vm-zh-offline .navbar-nav .vmzh-detail-submenu{max-height:min(70vh,650px);overflow:auto;min-width:16rem;z-index:1200}
.vm-zh-offline .navbar-nav .vmzh-detail-submenu a{white-space:normal;line-height:1.35}
.vm-zh-offline .vmzh-related-pages{margin:1.25rem auto 2.5rem;padding:1.5rem;background:#f8f5ee;border:1px solid #d6c8aa;max-width:1140px}
.vm-zh-offline .vmzh-related-pages h2{font-size:clamp(1.35rem,2.5vw,2rem);margin:0 0 1rem;color:#4d3e25}
.vm-zh-offline .vmzh-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.vm-zh-offline .vmzh-detail-card{padding:1rem;background:#fff;border:1px solid #ded3bd}
.vm-zh-offline .vmzh-detail-card h3{font-size:1.2rem;margin:0 0 .5rem}
.vm-zh-offline .vmzh-detail-card ul{margin:0;padding-left:1.3rem;columns:2}
.vm-zh-offline .vmzh-detail-card li{break-inside:avoid;margin:.2rem 0}
.vm-zh-offline .vmzh-related-pages a,.vm-zh-offline .vmzh-detail-cta a{color:#6b4a25;text-decoration:underline;text-underline-offset:.15em}
.vm-zh-offline .vmzh-room-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
.vm-zh-offline .vmzh-room-card{display:block;background:#fff;border:1px solid #ded3bd;text-align:center;padding:0 0 .75rem}
.vm-zh-offline .vmzh-room-card img{display:block;width:100%;height:150px;object-fit:cover;margin:0 0 .65rem}
.vm-zh-offline .vmzh-detail-cta{text-align:center;margin:1.5rem auto 0}
.vm-zh-offline .vmzh-detail-cta a{display:inline-block;padding:.6rem 1rem;border:1px solid #ad986e;background:#f8f5ee}
@media(min-width:992px){.vm-zh-offline .navbar-nav>li:first-child>.vmzh-detail-submenu{min-width:30rem;display:none;grid-template-columns:repeat(2,minmax(0,1fr))}.vm-zh-offline .navbar-nav>li:first-child:hover>.vmzh-detail-submenu,.vm-zh-offline .navbar-nav>li:first-child:focus-within>.vmzh-detail-submenu{display:grid}}
@media(max-width:991.98px){.vm-zh-offline .navbar-nav .vmzh-detail-submenu{max-height:none;overflow:visible;min-width:0}}
@media(max-width:640px){.vm-zh-offline .vmzh-detail-grid,.vm-zh-offline .vmzh-room-grid{grid-template-columns:1fr}.vm-zh-offline .vmzh-detail-card ul{columns:1}.vm-zh-offline .vmzh-related-pages{padding:1rem}.vm-zh-offline .vmzh-room-card img{height:180px}}

/* Preserve the published 75px stat icons on the six translated room pages. */
.vm-zh-offline figure.is-resized img[width="75"]{width:75px!important;height:75px!important;max-width:75px;object-fit:contain}

/* Keep the English hero content anchored within its image on mobile. */
.vm-zh-offline .vm-hero>.vm-hero-content{position:absolute}

/* Restore the gold contact cards from the published English block markup. */
.vm-zh-offline.page-id-28 main .wp-block-column.has-white-color.has-background{background-color:#ad986e}
/* Preserve the former H3 typography while using a correct H2 document outline. */
.vm-zh-offline h2.vmzh-semantic-h3{font-size:clamp(1.35rem,6vw,1.75rem);line-height:1.32;margin-bottom:.8em}
.vm-zh-offline.page-id-2398 article h2.vmzh-semantic-h3{font-family:var(--vm-font-text);font-weight:300;line-height:1.4}

/* Restore source spacer dimensions and gold headings. */
.vm-zh-offline .vmzh-spacer-50px{height:50px!important;min-height:50px}
.vm-zh-offline .vmzh-spacer-33px{height:33px!important;min-height:33px}
.vm-zh-offline .vmzh-spacer-32px{height:32px!important;min-height:32px}
.vm-zh-offline .vmzh-spacer-12px{height:12px!important;min-height:12px}
.vm-zh-offline .vmzh-spacer-100px{height:100px!important;min-height:100px}
.vm-zh-offline .vmzh-spacer-52px{height:52px!important;min-height:52px}
.vm-zh-offline .vmzh-spacer-44px{height:44px!important;min-height:44px}
.vm-zh-offline .vmzh-spacer-1-5rem{height:1.5rem!important;min-height:1.5rem}
.vm-zh-offline .vmzh-gold-heading{color:#ad986e}
/* Match the published activity overlay and yacht hero crop. */
.vm-zh-offline.page-id-26 .vmzh-family-title{top:auto;bottom:18px;text-shadow:0 2px 8px rgba(0,0,0,.65)}
.vm-zh-offline.page-id-2424 .vm-hero>.offline-hero-image{object-position:center 20%}
/* Local video and a usable offline location card. */
.vm-zh-offline.page-id-22 .wp-block-embed__wrapper video{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;background:#241d18}
.vm-zh-offline.page-id-28 .vmzh-location-card{max-width:780px;margin:1rem auto 2rem;padding:1.7rem 2rem;border:1px solid #d6c8aa;background:#f8f5ee;text-align:center}
.vm-zh-offline.page-id-28 .vmzh-location-card h3{color:#4d3e25;margin:0 0 .75rem}
.vm-zh-offline.page-id-28 .vmzh-location-card p{margin:.35rem 0}
.vm-zh-offline.page-id-28 .vmzh-location-card a{display:inline-block;margin-top:.8rem;padding:.6rem 1rem;border:1px solid #ad986e;color:#6b4a25;text-decoration:underline}

/* Existing Villa Marie Lucca–Vorno map, adapted from the archived French offline draft. */
.vm-zh-offline.page-id-28 .vm-location-map{width:100%;max-width:1200px;margin:1rem auto;padding:0;box-sizing:border-box}
.vm-zh-offline.page-id-28 .vm-location-map-surface{position:relative;border:1px solid #d9d4c9}
.vm-zh-offline.page-id-28 .vm-location-map-surface>img{display:block;width:100%;height:auto;aspect-ratio:2/1;margin:0}
.vm-zh-offline.page-id-28 .vm-location-pin{position:absolute;left:52.842929%;top:79.341713%;transform:translate(-50%,calc(-100% + 8px));display:flex;flex-direction:column;align-items:center;gap:3px;color:#411111;font-family:var(--vm-font-text,sans-serif);font-size:14px;line-height:1.3;font-weight:600;white-space:nowrap;pointer-events:none}
.vm-zh-offline.page-id-28 .vm-location-pin-label{background:#fff;border:2px solid #ad986e;padding:.3rem .65rem;box-shadow:0 1px 5px rgba(0,0,0,.2)}
.vm-zh-offline.page-id-28 .vm-location-pin-dot{width:16px;height:16px;box-sizing:border-box;border-radius:50%;background:#411111;border:3px solid #fff;box-shadow:0 0 0 1px #411111}
.vm-zh-offline.page-id-28 .vm-location-map figcaption{margin:.55rem 0 0;text-align:center;font-size:14px;line-height:1.5}
.vm-zh-offline.page-id-28 .vm-location-map-credits{display:block;font-size:12px;line-height:1.5;color:#5a5148}
@media(max-width:575.98px){.vm-zh-offline.page-id-28 .vm-location-map{padding:0}}


/* Keep all six language labels visible on very narrow offline previews. */
@media (max-width:359.98px){
 .vm-zh-offline .topbar .row{flex-wrap:wrap!important;justify-content:center}
 .vm-zh-offline .topbar .col-6:first-child,
 .vm-zh-offline .topbar .col-6:last-child{flex:0 0 100%;max-width:100%;width:100%;text-align:center!important}
 .vm-zh-offline .topbar .col-6:last-child{overflow-x:visible}
 .vm-zh-offline .topbar .vm-language-choice{justify-content:center}
}

/* Keep service pictograms at the English and Arabic 50% figure scale. */
.vm-zh-offline.page-id-2518 .servicesgrid img{max-width:50%;width:auto;height:auto}

/* vmzh-r20-sitewide-sizing: preserve source image and readable hero proportions. */
.vm-zh-offline.page-id-2415 .cinque-terre-sea-view{margin:2.25rem 0 2.5rem}
.vm-zh-offline.page-id-2415 .cinque-terre-sea-view img{display:block;width:100%;height:auto}
.vm-zh-offline.page-id-2415 .cinque-terre-photo-credit{color:#8c8178;font-family:var(--vm-font-text);font-size:var(--vm-small-size);font-weight:300;line-height:var(--vm-small-leading);margin:2.5rem 0 0;text-align:right}
@media(min-width:1200px){.vm-zh-offline.page-id-22 .vm-hero-content{left:58%;right:8%}.vm-zh-offline.page-id-22 .vm-hero-content h1{text-wrap:balance}}
@media(max-height:760px) and (max-width:767.98px){.vm-zh-offline .vm-hero:not(.vm-home-hero)>.vm-hero-content{top:calc(10% + 20px);bottom:auto}}
@media(max-width:359.98px){.vm-zh-offline.page-id-22 .vm-hero{min-height:630px}}

/* vmzh-r20-gallery-and-chef: match source photo crops and reserve room for the mobile chef drawing. */
.vm-zh-offline:is(.page-id-125,.page-id-128,.page-id-131) .offline-gallery figure{aspect-ratio:3/2}
@media(max-width:991.98px){.vm-zh-offline.page-id-219 .vm-chef-action{padding-bottom:85px}}
/* vmzh-r20-mobile-gallery-columns: source galleries use one full-width photo per row on narrow screens. */
@media(max-width:575.98px){.vm-zh-offline:is(.page-id-125,.page-id-128,.page-id-131) .offline-gallery-grid{grid-template-columns:1fr}}

/* vmzh-r20-food-gallery-and-garden-art: match source photo and ornamental art dimensions. */
.vm-zh-offline.page-id-219 .offline-gallery-grid{gap:18px}
.vm-zh-offline.page-id-219 .offline-gallery figure{aspect-ratio:auto;height:480px}
@media(max-width:991.98px){.vm-zh-offline.page-id-219 .offline-gallery figure{height:440px}}
@media(max-width:767.98px){.vm-zh-offline.page-id-219 .offline-gallery-grid{grid-template-columns:1fr}.vm-zh-offline.page-id-219 .offline-gallery figure{height:430px}}
.vm-zh-offline.page-id-125 .vm-garden-heading-art img{max-width:none}

.vm-zh-offline .vmzh-floor-galleries{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem 1rem;margin:1rem 0 2.25rem}
.vm-zh-offline .vmzh-floor-galleries .offline-room-gallery{min-width:0;border:1px solid #d8c9a9;background:#fff;padding:.1rem .8rem}
.vm-zh-offline .vmzh-floor-galleries .offline-room-gallery[open]{grid-column:1/-1}
.vm-zh-offline .vmzh-floor-galleries .offline-room-gallery>summary{padding:.65rem 0}
.vm-zh-offline .vmzh-floor-galleries .offline-gallery-grid{padding:.6rem 0 1rem}
.vm-zh-offline .vmzh-floor-galleries .offline-gallery-grid figure{margin:0;overflow:hidden}
.vm-zh-offline .vmzh-floor-galleries .offline-gallery-grid img{display:block;width:100%;height:auto;cursor:zoom-in}
@media(max-width:575.98px){.vm-zh-offline .vmzh-floor-galleries{grid-template-columns:1fr}}

/* Production embeds retain the current English full film and interactive map. */
.vm-zh-offline .video-dialog iframe{display:block;width:min(90vw,1000px);height:auto;aspect-ratio:16/9;max-height:80vh;border:0}
.vm-zh-offline.page-id-28 .vmzh-location-card iframe{display:block;width:100%;height:380px;border:0;margin:1rem auto}
