/* Keep source palette, containers, hero split and component geometry. */
.wd-logo img{max-width:240px;object-fit:contain}.wp-block-wd-team-member .wd-block-image img{aspect-ratio:2/3;object-fit:cover;object-position:center 25%}.portfolio-thumbnail img{object-fit:cover}.wd-slide-bg{border-radius:45% 45% 5% 5%;background-size:cover!important;background-position:center 25%!important}.wp-block-wd-image img[src*="new/barber-23"]{border-radius:45% 45% 5% 5%;object-fit:cover}.cs-notice{padding:14px 18px;border:1px solid #3f7456;background:#eef4ef;color:#244630;font-size:16px;line-height:1.5;border-radius:8px;margin-top:14px}.cs-local-projects{display:grid!important;grid-template-columns:repeat(var(--wd-col-lg,3),minmax(0,1fr));gap:var(--wd-gap-lg,20px);height:auto!important}.cs-local-projects article{position:relative!important;left:auto!important;top:auto!important;transform:none!important;width:auto!important;max-width:100%!important}.cs-local-projects article[hidden],[hidden]{display:none!important}.cs-local-projects .portfolio-thumbnail img{width:100%;height:auto;aspect-ratio:4/5;object-fit:cover}.wp-block-wd-video[data-cs-pending]{position:relative}.cs-video-note{position:absolute;inset:0;display:grid;place-items:center;background:#183426b3;color:white;padding:24px;text-align:center;font-size:16px}.cs-control-caption{font-size:13px;line-height:1.5;opacity:.8}.wpcf7-form input:focus-visible,.wpcf7-form select:focus-visible{outline:2px solid #376447;outline-offset:2px}
@media(max-width:1024px){.cs-local-projects{grid-template-columns:repeat(var(--wd-col-md,2),minmax(0,1fr))}}@media(max-width:767px){.cs-local-projects{grid-template-columns:repeat(var(--wd-col-sm,1),minmax(0,1fr))}.wd-logo img{max-width:200px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.cs-map-placeholder{min-height:360px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px;background:#edf0ec;color:#24362e;text-align:center}

/* Review 2: resilient controls and balanced media. */
.wd-header-nav .menu>li>a{white-space:nowrap}
.wd-logo{flex-shrink:0}
button,input[type=submit],.btn{white-space:normal;overflow-wrap:normal}
.wpcf7-form input,.wpcf7-form select,.wpcf7-form textarea{max-width:100%;box-sizing:border-box}
.wpcf7-form input:focus,.wpcf7-form select:focus,.wpcf7-form textarea:focus{outline:2px solid #3f7456;outline-offset:2px}
.cs-map-placeholder{position:relative;padding:0;overflow:hidden;min-height:320px;border-radius:12px}
.cs-map-placeholder img{width:100%;height:360px;object-fit:cover;display:block}
.cs-map-placeholder span{position:absolute;bottom:0;left:0;right:0;padding:42px 24px 22px;background:linear-gradient(transparent,rgba(0,0,0,.8));color:#fff;font-size:22px}
.cs-local-projects img{width:100%;display:block}
@media(max-width:767px){.cs-map-placeholder img{height:280px}.wd-logo img{max-width:190px}.cs-local-projects{gap:16px!important}}

/* R3: bounded service strip; complete hairstyle cutouts. */
#wd-9581a021.cs-service-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;padding:32px;margin-bottom:80px;box-sizing:border-box;max-width:100%;}
.cs-service-card{min-width:0;width:auto!important;height:auto!important;}
.cs-service-card .wp-block-wd-infobox{width:100%;max-width:none;--wd-width:100%;height:100%;display:flex;align-items:center;gap:18px;}
.cs-service-card .wp-block-wd-icon{flex:0 0 52px;width:52px;}
.cs-service-card .wp-block-wd-icon img{width:52px;height:52px;}
.cs-service-card .wp-block-wd-container{min-width:0;}
.cs-service-card h2{font-size:22px;line-height:1.25;}
.cs-service-card p{font-size:15px;line-height:1.5;margin-bottom:0;}
#wd-6f2475ce .wd-slide-bg{background:none!important;border-radius:0!important;overflow:visible;display:flex;align-items:flex-end;justify-content:center;}
.cs-hero-portrait{width:100%;height:100%;object-fit:contain!important;object-position:center bottom!important;max-height:100%;border-radius:0!important;}
#wd-6f2475ce .wd-slide{overflow:visible;}
@media(max-width:1024px){#wd-9581a021.cs-service-strip{gap:18px;padding:24px}.cs-service-card .wp-block-wd-infobox{flex-direction:column;align-items:flex-start}.cs-service-card h2{font-size:20px;}}
@media(max-width:767px){#wd-9581a021.cs-service-strip{grid-template-columns:1fr;padding:24px;margin-bottom:48px;gap:26px}.cs-service-card .wp-block-wd-infobox{flex-direction:row;align-items:center;}}

/* R4: bounded two-column hero, no image-dependent carousel sizing. */
#wd-e2d42934{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center!important;gap:30px;padding:110px 24px 0!important;margin-bottom:30px!important;}
#wd-e2d42934>.wp-block-wd-column{width:auto!important;min-width:0;max-width:100%;margin:0!important;padding:0!important;}
#wd-2c517e08{align-self:center!important;}
#wd-e5b8ea2d{font-size:clamp(34px,3.5vw,56px)!important;line-height:1.1!important;max-width:620px!important;margin-bottom:24px;}
#wd-0c76eddb{font-size:18px;line-height:1.55;max-width:510px;}
#wd-df3bdae5{align-self:start!important;align-items:stretch!important;align-content:start!important;}
#wd-6f2475ce.cs-hero-gallery{position:relative;width:100%;height:560px;max-height:560px;margin:0!important;}
.cs-hero-model{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;object-position:center top!important;}
.cs-hero-model[hidden]{display:none!important;}
.cs-hero-controls{position:absolute;right:10px;bottom:16px;display:flex;gap:8px;z-index:2;}
.cs-hero-controls button{min-width:40px;min-height:40px;padding:8px;border:1px solid #31523b;background:#fff;color:#31523b;border-radius:50%;cursor:pointer;font-size:14px;}
.cs-hero-controls button[aria-pressed=true]{background:#31523b;color:#fff;}
#wd-3e8aaac9 img{display:block;width:100%;height:520px;object-fit:cover;object-position:center 20%;border-radius:20px;}
#wd-c4d5f5c5 img{display:block;width:100%;height:540px;object-fit:contain;object-position:center bottom;}
#wd-15d0e170 img{width:100%;height:560px;object-fit:cover;object-position:center 22%;border-radius:16px;}
.wp-block-wd-team-member .wd-block-image img{width:100%;height:auto;aspect-ratio:3/4;object-fit:cover;object-position:center top;}
.cs-article-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px;height:auto!important;}
.cs-article-grid>article{position:static!important;transform:none!important;width:auto!important;min-width:0;}
.cs-article-grid .post-img-wrapp img{width:100%!important;height:auto!important;aspect-ratio:4/3;object-fit:cover;object-position:center;display:block;}
.wd-single-post-img{width:100%;}
.wd-single-post-img img{display:block;width:100%;height:auto;max-height:560px;object-fit:cover;object-position:center;}
@media(max-width:1024px){#wd-e2d42934{gap:24px;padding:100px 0 0!important;}#wd-6f2475ce.cs-hero-gallery{height:500px}.cs-article-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:767px){#wd-e2d42934{grid-template-columns:1fr;padding:90px 0 0!important;gap:16px;}#wd-e5b8ea2d{font-size:36px!important;}#wd-6f2475ce.cs-hero-gallery{height:440px;max-height:440px;}#wd-3e8aaac9 img,#wd-15d0e170 img{height:420px;}#wd-c4d5f5c5 img{height:440px}.cs-article-grid{grid-template-columns:1fr;}}

img.avatar{width:32px!important;height:32px!important;object-fit:cover;border-radius:50%;}
#wd-869967c2 img{width:100%;height:260px;object-fit:contain;object-position:center top;}
