/* WordPress toolbar and parity adjustments */
body.admin-bar .header{top:32px}body.admin-bar .menu-panel{top:32px}
@media(max-width:782px){body.admin-bar .header{top:46px}}
.mh-icon{display:inline-block;vertical-align:middle;stroke:currentColor;fill:none}
.mh-wp-form{display:grid;gap:20px;background:#fff;padding:35px}.mh-wp-form label{display:grid;gap:8px}.mh-wp-form input,.mh-wp-form textarea{padding:12px;border:1px solid #afbac3;width:100%}.mh-wp-form .consent{display:flex;align-items:center}.mh-wp-form .consent input{width:auto}
@media(max-width:700px){.mh-wp-form{padding:18px}}


/* V2.1 — Font-weight restoration from original Tailwind preflight.
   The original Next.js frontend resets heading font-weight to inherit (400)
   before applying the custom Maison Harmonie typography. WordPress lacks
   that reset, causing headings and card titles to become too bold. */
main h1,main h2,main h3,main h4,main h5,main h6,
main h1 strong,main h2 strong,main h3 strong,
main .detail-residence h3,main .detail-intro h2,
main .detail-residence h2,main .detail-investment h2,
main .project-info h3 {font-weight:400!important;}
main .detail-residence h3,
main .detail-location h3,
main .detail-residence .feature-grid h3 {
  font-family:Baskerville,"Iowan Old Style","Palatino Linotype",Georgia,serif!important;
}
/* Restore native source's clean list look without disturbing navigation */
main ul,main ol{margin-top:0;margin-bottom:0;}

/* V2.2: faithful social and small detail ticks */
.header-socials svg {display:block;width:17px;height:17px}
.detail-quality-grid article p svg {color:#c99b39;flex:0 0 17px}
.solution-body[hidden]{display:none!important}
.solution-indicator {min-width:20px;text-align:center}

/* V2.4 original pictograms: preserve delicate gold stroke and size */
.mh-original-icon{display:inline-block;flex-shrink:0;vertical-align:middle;overflow:visible;stroke:currentColor!important;fill:none!important;}
.commitment-cards .mh-original-icon,.group-commitments .mh-original-icon{width:34px;height:34px;color:#d29b31;}

/* V2.5: arrows saved with the wrong attribute name keep the intended thickness */
.mh-icon path[strokewidth]{stroke-width:1.5}

/* V2.5: keep the operation cards inside their own section.
   Without a positioned parent, their photo and text float over the hero. */
.projects,.project-grid{position:relative}
.project-card{display:block;position:relative!important;overflow:hidden}
.hero{isolation:isolate}

/* V2.5: menu stays hidden until opened (no flash while the page loads) */
.menu-panel[hidden]{display:none!important}
html.mh-menu-open{overflow:hidden}
/* V2.5 SEO: home intro title is now an H2 (one H1 per page) with the same look */
.intro h2.mh-intro-title{font:400 clamp(2.65rem,6vw,6.1rem)/.98 Baskerville,"Iowan Old Style","Palatino Linotype",Georgia,serif;letter-spacing:-.045em;margin:0}
.intro h2.mh-intro-title em{font-weight:400;color:var(--lime)}

/* V2.5 accessibility */
.mh-skip-link{position:absolute;left:12px;top:-100px;z-index:1000;background:#fff;color:var(--ink);padding:12px 18px;font-weight:700;text-decoration:none}
.mh-skip-link:focus{top:12px}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:2px solid #c49332;outline-offset:3px}
.contact-grid input:focus,.contact-grid select:focus,.contact-grid textarea:focus,.mh-wp-form input:focus,.mh-wp-form textarea:focus{box-shadow:0 2px 0 0 var(--ink)}
img{max-width:100%;height:auto}
/* Gold text on light backgrounds: darker shade so it can be read (WCAG AA contrast 4.7:1 instead of 2.8:1) */
.eyebrow:not(.light),.article-header .eyebrow,.associates-grid .associate-role,.intro h1 em,.intro h2.mh-intro-title em,.page-hero h1 em{color:#946c1f}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

/* V2.5: text kept for Google and screen readers, hidden on screen */
.mh-sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* V2.6: photo carousel on operation pages */
.mh-carousel{padding:0 7vw 8vw}
.mh-carousel-stage{position:relative}
.mh-carousel-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;outline-offset:4px}
.mh-carousel-track::-webkit-scrollbar{display:none}
.mh-carousel-slide{position:relative;flex:0 0 100%;margin:0;scroll-snap-align:start;background:#fff;box-shadow:0 18px 45px rgba(6,29,53,.1)}
.mh-carousel-slide img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.mh-carousel-slide figcaption{position:absolute;left:0;right:0;bottom:0;padding:40px 18px 14px;background:linear-gradient(transparent,rgba(6,29,53,.75));color:#fff;font-size:12px;letter-spacing:.06em;text-transform:uppercase}
.mh-carousel-btn{position:absolute;top:50%;transform:translateY(-50%);width:52px;height:52px;border:0;border-radius:50%;background:rgba(255,255,255,.92);color:var(--ink);font-size:34px;line-height:1;cursor:pointer;box-shadow:0 6px 20px rgba(6,29,53,.18)}
.mh-carousel-prev{left:16px}
.mh-carousel-next{right:16px}
.mh-carousel-btn:hover{background:#fff}
.mh-carousel-dots{display:flex;justify-content:center;gap:10px;margin-top:20px}
.mh-carousel-dots button{width:10px;height:10px;padding:0;border:1px solid var(--ink);border-radius:50%;background:transparent;cursor:pointer}
.mh-carousel-dots button[aria-current="true"]{background:var(--ink)}
@media (max-width:900px){.mh-carousel{padding:0 6vw 70px}.mh-carousel-prev{left:8px}.mh-carousel-next{right:8px}.mh-carousel-btn{width:42px;height:42px;font-size:28px}}

/* V2.9: Actualités page. Two equal columns that can never be pushed wider than the screen,
   and article photos (img or <picture> from Imagify) always fill their frame. */
.news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.news-grid>article{min-width:0}
.news-grid .news-img{overflow:hidden;background:#e8eef4}
.news-grid .news-img picture{display:block;width:100%;height:100%}
.news-grid .news-img img{display:block;width:100%!important;max-width:100%;height:100%!important;object-fit:cover}
.news-grid h2,.news-summary{overflow-wrap:anywhere}
@media (max-width:900px){.news-grid{grid-template-columns:minmax(0,1fr)}.news-grid .news-img{height:240px}}
