/* ============================================================
   THE LANGHOLM HOTEL - Langholm Site Content front-end styles
   Every class is prefixed (lh- for the team block it inherited, lhc- for the rest) and
   scoped under its section root, so nothing here can touch Elementor or the theme.
   ============================================================ */

.lh-team,.lhc-rooms,.lhc-gal,.lhc-contact,.lhc-map,.lhc-lb{
  --lh-brand:#1e4620;--lh-brand-dark:#163418;--lh-ink:#232323;--lh-muted:#6b6a64;
  --lh-line:#e5e1d8;--lh-line-strong:#cfd8c8;--lh-tint:#f3f7f1;--lh-tint-line:#dde7d8;
  --lh-out:cubic-bezier(.23,1,.32,1);--lh-ease:cubic-bezier(.4,0,.2,1);
}
.lhc-rooms,.lhc-gal,.lhc-contact{font-family:'Poppins',system-ui,sans-serif;color:var(--lh-ink);line-height:1.6;}
.lhc-rooms *,.lhc-gal *,.lhc-contact *,.lhc-lb *{box-sizing:border-box;}

/* ------------------------------------------------------------
   TEAM  [lh_team]  (unchanged from the hand-built block)
   ------------------------------------------------------------ */
.lh-team{font-family:'Poppins',system-ui,sans-serif;color:var(--lh-ink);line-height:1.6;background:#fff;padding:0 0 12px;}
.lh-team *{box-sizing:border-box;}
.lh-team p{margin:0;}
.lh-team__intro{max-width:1160px;margin:0 auto;padding:0 24px;text-align:center;}
.lh-team__intro p{color:var(--lh-muted);font-size:15px;max-width:62ch;margin:0 auto !important;}
.lh-team__grid{max-width:1160px;margin:28px auto 0;padding:0 24px;display:grid;gap:24px 20px;
  grid-template-columns:repeat(4,minmax(0,1fr));}
@media(max-width:1000px){.lh-team__grid{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:760px){.lh-team__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}}
@media(max-width:560px){.lh-team__intro,.lh-team__grid{padding:0 16px;}}
.lh-mem{background:#fff;border:1px solid var(--lh-line);border-radius:12px;overflow:hidden;
  display:flex;flex-direction:column;box-shadow:0 1px 2px rgba(20,48,17,.04);
  transition:box-shadow 240ms var(--lh-out),border-color 200ms var(--lh-ease);}
.lh-mem__pic{position:relative;aspect-ratio:1/1;overflow:hidden;background:var(--lh-tint);
  border-bottom:1px solid var(--lh-tint-line);display:flex;align-items:center;justify-content:center;}
.lh-mem__init{font-size:34px;font-weight:600;letter-spacing:.02em;color:var(--lh-brand);opacity:.55;user-select:none;}
.lh-mem__pic img{position:absolute;top:0;left:0;display:block;width:100%;height:100%;max-width:none;object-fit:cover;
  object-position:center top;margin:0;border:0;
  /* per-photo framing: zoom --z anchored at --oy so heads sit at the same height and the frame ends at the elbows */
  transform:scale(var(--z,1));transform-origin:50% var(--oy,0%);transition:transform 700ms var(--lh-out);}
.lh-mem__body{padding:14px 14px 16px;text-align:center;}
.lh-team h3.lh-mem__name{margin:0;padding:0;font-family:inherit;font-weight:600;font-size:16px;line-height:1.35;
  letter-spacing:-.01em;color:var(--lh-brand);text-transform:none;}
.lh-mem__role{margin-top:3px !important;font-size:13px;font-weight:500;line-height:1.4;color:var(--lh-muted);}
@media(hover:hover) and (pointer:fine){
  .lh-mem:hover{border-color:var(--lh-line-strong);
    box-shadow:0 1px 2px rgba(20,48,17,.05),0 18px 36px -24px rgba(20,48,17,.45);}
  .lh-mem:hover .lh-mem__pic img{transform:scale(calc(var(--z,1) * 1.035));}
}

/* ------------------------------------------------------------
   ROOMS  [lh_rooms group="..."]
   ------------------------------------------------------------ */
.lhc-rooms{max-width:1320px;margin:0 auto;}
.lhc-rooms__grid{display:grid;gap:20px;padding:0 24px;grid-template-columns:repeat(4,minmax(0,1fr));}
@media(max-width:1180px){.lhc-rooms__grid{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:900px){.lhc-rooms__grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:560px){.lhc-rooms__grid{grid-template-columns:1fr;padding:0 16px;gap:16px;}}

/* NEVER put transform, filter, perspective, contain or will-change on .lhc-card, or on any
   Elementor section, column or widget around [lh_rooms] (Motion Effects and Entrance
   Animations both do this). A transformed ancestor becomes the containing block for
   position:fixed, which traps the full-screen photo view inside the card and makes it
   flicker on hover. The lift on hover is a shadow for exactly this reason. */
.lhc-card{background:#fff;border:1px solid var(--lh-line);border-radius:12px;overflow:hidden;
  display:flex;flex-direction:column;box-shadow:0 1px 2px rgba(20,48,17,.04);
  transition:box-shadow 240ms var(--lh-out),border-color 200ms var(--lh-ease);}
@media(hover:hover) and (pointer:fine){
  .lhc-card:hover{border-color:var(--lh-line-strong);box-shadow:0 1px 2px rgba(20,48,17,.05),0 18px 36px -24px rgba(20,48,17,.45);}
}

/* carousel: radios pick the slide, checkbox turns the frame into the full-screen view */
.lhc-car{position:relative;}
.lhc-car--empty{aspect-ratio:4/3;display:flex;align-items:center;justify-content:center;
  background:var(--lh-tint);color:var(--lh-brand);font-weight:600;opacity:.8;}
.lhc-car__lb,.lhc-car__in{position:absolute;top:0;left:0;width:1px;height:1px;margin:0;opacity:0;pointer-events:none;}
.lhc-car__frame{position:relative;aspect-ratio:4/3;overflow:hidden;background:var(--lh-tint);}
.lhc-car__track{display:flex;height:100%;transition:transform 520ms var(--lh-out);}
.lhc-rooms .lhc-car__slide{flex:0 0 100%;height:100%;margin:0;padding:0;display:block;cursor:zoom-in;}
.lhc-rooms .lhc-car__img{display:block;width:100%;height:100%;max-width:none;object-fit:cover;border:0;border-radius:0;}
.lhc-car__frame::after{content:"";position:absolute;left:0;right:0;bottom:0;height:56px;pointer-events:none;
  background:linear-gradient(to top,rgba(0,0,0,.38),rgba(0,0,0,0));}
.lhc-car__arrows{position:absolute;top:0;left:0;right:0;bottom:0;z-index:2;pointer-events:none;}
.lhc-car__nav{display:none;position:absolute;top:0;left:0;right:0;bottom:0;}
.lhc-car__prev,.lhc-car__next{position:absolute;top:50%;margin-top:-18px;width:36px;height:36px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;font-size:26px;line-height:1;padding-bottom:3px;
  background:rgba(255,255,255,.92);color:var(--lh-brand);cursor:pointer;pointer-events:auto;
  box-shadow:0 2px 8px rgba(0,0,0,.18);transition:opacity 200ms var(--lh-ease),background 200ms var(--lh-ease);user-select:none;}
.lhc-car__prev{left:10px;}
.lhc-car__next{right:10px;}
.lhc-car__count{display:none;}
.lhc-car__dots{position:absolute;left:0;right:0;bottom:10px;z-index:3;display:flex;justify-content:center;gap:6px;}
.lhc-car__dot{width:7px;height:7px;border-radius:4px;background:rgba(255,255,255,.55);cursor:pointer;
  transition:width 260ms var(--lh-out),background 200ms var(--lh-ease);}
.lhc-car__close{display:none;}
.lhc-car__in:focus-visible ~ .lhc-car__dots{outline:2px solid #fff;outline-offset:4px;border-radius:6px;}
.lhc-car__lb:focus-visible + .lhc-car__frame{outline:3px solid var(--lh-brand);outline-offset:-3px;}
@media(hover:hover) and (pointer:fine){
  .lhc-card .lhc-car__prev,.lhc-card .lhc-car__next{opacity:0;}
  .lhc-card:hover .lhc-car__prev,.lhc-card:hover .lhc-car__next,
  .lhc-car__in:focus-visible ~ .lhc-car__arrows .lhc-car__prev,.lhc-car__in:focus-visible ~ .lhc-car__arrows .lhc-car__next{opacity:1;}
}

/* slide positions: one rule per photo slot, 12 max (LHC_ROOM_MAX_PHOTOS in rooms.php) */
.lhc-car__in--0:checked ~ .lhc-car__track{transform:translateX(-0%);}.lhc-car__in--0:checked ~ .lhc-car__arrows .lhc-car__nav--0{display:block;}.lhc-car__in--0:checked ~ .lhc-car__dots .lhc-car__dot--0{width:18px;background:#fff;}
.lhc-car__in--1:checked ~ .lhc-car__track{transform:translateX(-100%);}.lhc-car__in--1:checked ~ .lhc-car__arrows .lhc-car__nav--1{display:block;}.lhc-car__in--1:checked ~ .lhc-car__dots .lhc-car__dot--1{width:18px;background:#fff;}
.lhc-car__in--2:checked ~ .lhc-car__track{transform:translateX(-200%);}.lhc-car__in--2:checked ~ .lhc-car__arrows .lhc-car__nav--2{display:block;}.lhc-car__in--2:checked ~ .lhc-car__dots .lhc-car__dot--2{width:18px;background:#fff;}
.lhc-car__in--3:checked ~ .lhc-car__track{transform:translateX(-300%);}.lhc-car__in--3:checked ~ .lhc-car__arrows .lhc-car__nav--3{display:block;}.lhc-car__in--3:checked ~ .lhc-car__dots .lhc-car__dot--3{width:18px;background:#fff;}
.lhc-car__in--4:checked ~ .lhc-car__track{transform:translateX(-400%);}.lhc-car__in--4:checked ~ .lhc-car__arrows .lhc-car__nav--4{display:block;}.lhc-car__in--4:checked ~ .lhc-car__dots .lhc-car__dot--4{width:18px;background:#fff;}
.lhc-car__in--5:checked ~ .lhc-car__track{transform:translateX(-500%);}.lhc-car__in--5:checked ~ .lhc-car__arrows .lhc-car__nav--5{display:block;}.lhc-car__in--5:checked ~ .lhc-car__dots .lhc-car__dot--5{width:18px;background:#fff;}
.lhc-car__in--6:checked ~ .lhc-car__track{transform:translateX(-600%);}.lhc-car__in--6:checked ~ .lhc-car__arrows .lhc-car__nav--6{display:block;}.lhc-car__in--6:checked ~ .lhc-car__dots .lhc-car__dot--6{width:18px;background:#fff;}
.lhc-car__in--7:checked ~ .lhc-car__track{transform:translateX(-700%);}.lhc-car__in--7:checked ~ .lhc-car__arrows .lhc-car__nav--7{display:block;}.lhc-car__in--7:checked ~ .lhc-car__dots .lhc-car__dot--7{width:18px;background:#fff;}
.lhc-car__in--8:checked ~ .lhc-car__track{transform:translateX(-800%);}.lhc-car__in--8:checked ~ .lhc-car__arrows .lhc-car__nav--8{display:block;}.lhc-car__in--8:checked ~ .lhc-car__dots .lhc-car__dot--8{width:18px;background:#fff;}
.lhc-car__in--9:checked ~ .lhc-car__track{transform:translateX(-900%);}.lhc-car__in--9:checked ~ .lhc-car__arrows .lhc-car__nav--9{display:block;}.lhc-car__in--9:checked ~ .lhc-car__dots .lhc-car__dot--9{width:18px;background:#fff;}
.lhc-car__in--10:checked ~ .lhc-car__track{transform:translateX(-1000%);}.lhc-car__in--10:checked ~ .lhc-car__arrows .lhc-car__nav--10{display:block;}.lhc-car__in--10:checked ~ .lhc-car__dots .lhc-car__dot--10{width:18px;background:#fff;}
.lhc-car__in--11:checked ~ .lhc-car__track{transform:translateX(-1100%);}.lhc-car__in--11:checked ~ .lhc-car__arrows .lhc-car__nav--11{display:block;}.lhc-car__in--11:checked ~ .lhc-car__dots .lhc-car__dot--11{width:18px;background:#fff;}

/* full-screen view (same carousel, frame switched to position:fixed) */
.lhc-car__lb:checked + .lhc-car__frame{position:fixed;top:0;left:0;right:0;bottom:0;z-index:100000;aspect-ratio:auto;
  background:rgba(10,14,10,.98);}
.lhc-car__lb:checked + .lhc-car__frame::after{display:none;}
.lhc-rooms .lhc-car__lb:checked + .lhc-car__frame .lhc-car__slide{padding:64px 72px;cursor:zoom-out;}
.lhc-rooms .lhc-car__lb:checked + .lhc-car__frame .lhc-car__img{object-fit:contain;}
.lhc-car__lb:checked + .lhc-car__frame .lhc-car__prev,
.lhc-car__lb:checked + .lhc-car__frame .lhc-car__next{opacity:1;width:48px;height:48px;margin-top:-24px;font-size:34px;
  background:rgba(255,255,255,.12);color:#fff;box-shadow:none;}
.lhc-car__lb:checked + .lhc-car__frame .lhc-car__prev{left:16px;}
.lhc-car__lb:checked + .lhc-car__frame .lhc-car__next{right:16px;}
.lhc-car__lb:checked + .lhc-car__frame .lhc-car__count{display:block;position:absolute;top:20px;left:0;right:0;
  text-align:center;color:rgba(255,255,255,.85);font-size:14px;}
.lhc-car__lb:checked + .lhc-car__frame .lhc-car__dots{bottom:24px;}
.lhc-car__lb:checked + .lhc-car__frame .lhc-car__close{display:flex;position:absolute;top:12px;right:14px;z-index:4;
  width:44px;height:44px;align-items:center;justify-content:center;font-size:34px;line-height:1;color:#fff;cursor:pointer;}
html:has(.lhc-car__lb:checked){overflow:hidden;}
@media(max-width:560px){
  .lhc-rooms .lhc-car__lb:checked + .lhc-car__frame .lhc-car__slide{padding:64px 0;}
  .lhc-car__lb:checked + .lhc-car__frame .lhc-car__prev,
  .lhc-car__lb:checked + .lhc-car__frame .lhc-car__next{top:auto;bottom:14px;margin-top:0;}
}

/* card body */
.lhc-card__body{display:flex;flex-direction:column;flex:1;padding:16px 16px 18px;}
.lhc-rooms h3.lhc-card__name{margin:0;padding:0;font-family:inherit;font-size:17px;font-weight:600;line-height:1.3;
  letter-spacing:-.01em;color:var(--lh-brand);text-transform:none;}
.lhc-rooms .lhc-card__type{margin:2px 0 0;font-size:13px;font-weight:500;color:var(--lh-muted);}
.lhc-rooms .lhc-card__specs{display:flex;flex-wrap:wrap;gap:4px 14px;margin:12px 0 0;padding:0;list-style:none;font-size:13.5px;}
.lhc-card__specs li{margin:0;padding:0;}
.lhc-card__specs span{color:var(--lh-muted);margin-right:5px;}
.lhc-rooms .lhc-card__notes{margin:10px 0 0;padding:0;list-style:none;font-size:13px;color:var(--lh-ink);}
.lhc-card__notes li{position:relative;margin:2px 0 0;padding-left:14px;}
.lhc-card__notes li::before{content:"";position:absolute;left:2px;top:.6em;width:5px;height:5px;border-radius:50%;background:var(--lh-brand);opacity:.5;}
.lhc-card__foot{margin-top:auto;padding-top:14px;}
.lhc-rooms .lhc-card__prices{margin:0 0 14px;padding:12px 0 0;border-top:1px solid var(--lh-line);font-size:14px;}
.lhc-card__prices div{display:flex;justify-content:space-between;gap:12px;margin:0;padding:1px 0;}
.lhc-rooms .lhc-card__prices dt{margin:0;color:var(--lh-muted);font-weight:400;}
.lhc-rooms .lhc-card__prices dd{margin:0;font-weight:600;color:var(--lh-ink);}
.lhc-card__btns{display:flex;gap:8px;}

/* buttons (rooms, contact) */
.lhc-rooms .lhc-btn,.lhc-contact .lhc-btn{display:inline-flex;flex:1;align-items:center;justify-content:center;min-height:42px;
  margin:0;padding:9px 14px;border:1px solid var(--lh-brand);border-radius:8px;background:#fff;color:var(--lh-brand);
  font-family:inherit;font-size:14px;font-weight:600;line-height:1.2;text-align:center;text-decoration:none;text-transform:none;
  letter-spacing:0;cursor:pointer;box-shadow:none;transition:background 200ms var(--lh-ease),color 200ms var(--lh-ease);}
.lhc-rooms .lhc-btn--solid,.lhc-contact .lhc-btn--solid{background:var(--lh-brand);color:#fff;}
@media(hover:hover) and (pointer:fine){
  .lhc-rooms .lhc-btn:hover,.lhc-contact .lhc-btn:hover{background:var(--lh-tint);color:var(--lh-brand);text-decoration:none;}
  .lhc-rooms .lhc-btn--solid:hover,.lhc-contact .lhc-btn--solid:hover{background:var(--lh-brand-dark);color:#fff;}
}
.lhc-rooms .lhc-btn:focus-visible,.lhc-contact .lhc-btn:focus-visible{outline:3px solid rgba(30,70,32,.35);outline-offset:2px;}

/* ------------------------------------------------------------
   GALLERY  [lh_gallery]
   ------------------------------------------------------------ */
.lhc-gal{max-width:1160px;margin:0 auto;padding:0 24px;}
.lhc-gal__filters{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:0 0 24px;}
.lhc-gal .lhc-gal__filter{display:inline-flex;align-items:center;gap:6px;margin:0;padding:8px 16px;min-height:0;
  border:1px solid var(--lh-line);border-radius:999px;background:#fff;color:var(--lh-ink);
  font-family:inherit;font-size:14px;font-weight:500;line-height:1.3;text-transform:none;letter-spacing:0;box-shadow:none;cursor:pointer;
  transition:background 200ms var(--lh-ease),border-color 200ms var(--lh-ease),color 200ms var(--lh-ease);}
.lhc-gal__filter span{font-size:12px;color:var(--lh-muted);}
.lhc-gal .lhc-gal__filter[aria-pressed="true"]{background:var(--lh-brand);border-color:var(--lh-brand);color:#fff;}
.lhc-gal__filter[aria-pressed="true"] span{color:rgba(255,255,255,.75);}
@media(hover:hover) and (pointer:fine){
  .lhc-gal .lhc-gal__filter[aria-pressed="false"]:hover{border-color:var(--lh-line-strong);background:var(--lh-tint);color:var(--lh-ink);}
}
.lhc-gal__filter:focus-visible{outline:3px solid rgba(30,70,32,.35);outline-offset:2px;}
.lhc-gal__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;}
@media(max-width:1000px){.lhc-gal__grid{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:560px){.lhc-gal{padding:0 16px;}.lhc-gal__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}}
.lhc-gal__item{position:relative;margin:0;aspect-ratio:4/3;border-radius:10px;overflow:hidden;background:var(--lh-tint);}
.lhc-gal__item[hidden]{display:none;}
.lhc-gal__open{display:block;width:100%;height:100%;cursor:zoom-in;}
.lhc-gal__open:focus-visible{outline:3px solid var(--lh-brand);outline-offset:-3px;}
.lhc-gal .lhc-gal__open img{display:block;width:100%;height:100%;max-width:none;object-fit:cover;border:0;border-radius:0;
  transition:transform 700ms var(--lh-out);}
.lhc-gal__cap{position:absolute;left:0;right:0;bottom:0;margin:0;padding:22px 10px 8px;pointer-events:none;
  font-size:12.5px;font-weight:500;line-height:1.3;color:#fff;background:linear-gradient(to top,rgba(0,0,0,.55),rgba(0,0,0,0));}
@media(hover:hover) and (pointer:fine){
  .lhc-gal__item:hover .lhc-gal__open img{transform:scale(1.035);}
}

/* gallery lightbox (appended to <body> by front.js) */
.lhc-lb{position:fixed;top:0;left:0;right:0;bottom:0;z-index:100000;display:flex;align-items:center;justify-content:center;
  background:rgba(10,14,10,.98);font-family:'Poppins',system-ui,sans-serif;}
.lhc-lb[hidden]{display:none;}
.lhc-lb__fig{display:flex;flex-direction:column;align-items:center;margin:0;max-width:calc(100vw - 150px);}
.lhc-lb__img{display:block;max-width:100%;max-height:calc(100vh - 130px);width:auto;height:auto;object-fit:contain;}
.lhc-lb__cap{margin-top:12px;min-height:1.4em;color:rgba(255,255,255,.88);font-size:14px;text-align:center;}
.lhc-lb__count{position:absolute;top:20px;left:0;right:0;text-align:center;color:rgba(255,255,255,.75);font-size:14px;pointer-events:none;}
.lhc-lb button.lhc-lb__close,.lhc-lb button.lhc-lb__prev,.lhc-lb button.lhc-lb__next{position:absolute;display:flex;align-items:center;justify-content:center;
  margin:0;padding:0 0 4px;border:0;border-radius:50%;background:rgba(255,255,255,.12);color:#fff;
  font-family:inherit;font-size:34px;line-height:1;cursor:pointer;box-shadow:none;min-height:0;transition:background 200ms var(--lh-ease);}
.lhc-lb button.lhc-lb__close{top:12px;right:14px;width:44px;height:44px;background:transparent;}
.lhc-lb button.lhc-lb__prev,.lhc-lb button.lhc-lb__next{top:50%;width:48px;height:48px;margin-top:-24px;}
.lhc-lb button.lhc-lb__prev{left:18px;}
.lhc-lb button.lhc-lb__next{right:18px;}
.lhc-lb button:hover{background:rgba(255,255,255,.22);}
.lhc-lb button:focus-visible{outline:2px solid #fff;outline-offset:2px;}
.lhc-lb--single .lhc-lb__prev,.lhc-lb--single .lhc-lb__next,.lhc-lb--single .lhc-lb__count{display:none !important;}
html.lhc-lb-open{overflow:hidden;}
@media(max-width:700px){
  .lhc-lb__fig{max-width:100vw;}
  .lhc-lb__img{max-height:calc(100vh - 170px);}
  .lhc-lb button.lhc-lb__prev,.lhc-lb button.lhc-lb__next{top:auto;bottom:18px;margin-top:0;}
}

/* ------------------------------------------------------------
   CONTACT  [lh_contact] [lh_contact_info] [lh_contact_form] [lh_contact_map]
   ------------------------------------------------------------ */
.lhc-contact{max-width:1160px;margin:0 auto;padding:0 24px;display:grid;gap:28px;align-items:start;
  grid-template-columns:minmax(0,5fr) minmax(0,7fr);}
@media(max-width:860px){.lhc-contact{grid-template-columns:1fr;}}
@media(max-width:560px){.lhc-contact{padding:0 16px;gap:20px;}}
.lhc-info{padding:24px;border:1px solid var(--lh-tint-line);border-radius:12px;background:var(--lh-tint);}
.lhc-info dl{margin:0;}
.lhc-info dl > div{margin:0 0 18px;}
.lhc-info dt{margin:0;font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--lh-muted);}
.lhc-info dd{margin:4px 0 0;font-size:15px;line-height:1.6;}
.lhc-info dd span{color:var(--lh-muted);}
.lhc-contact .lhc-info a{color:var(--lh-brand);font-weight:500;text-decoration:none;}
.lhc-contact .lhc-info a:hover{text-decoration:underline;}
.lhc-info .lhc-info__map{font-size:14px;}
.lhc-info__social{display:flex;gap:16px;}
.lhc-contact .lhc-info a.lhc-info__wa{width:100%;color:#fff;text-decoration:none;}

.lhc-form{position:relative;padding:24px;border:1px solid var(--lh-line);border-radius:12px;background:#fff;}
.lhc-form__row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px;}
@media(max-width:560px){.lhc-form{padding:18px;}.lhc-form__row{grid-template-columns:1fr;}}
.lhc-form .lhc-form__field{margin:0 0 16px;}
.lhc-form .lhc-form__field label{display:block;margin:0 0 6px;font-size:13px;font-weight:600;color:var(--lh-ink);}
.lhc-form__field label span{font-weight:400;color:var(--lh-muted);}
.lhc-form .lhc-form__field input,.lhc-form .lhc-form__field textarea{display:block;width:100%;margin:0;padding:11px 12px;
  border:1px solid #d6d2c8;border-radius:8px;background:#fff;color:var(--lh-ink);font-family:inherit;font-size:15px;line-height:1.4;
  box-shadow:none;transition:border-color 160ms var(--lh-ease),box-shadow 160ms var(--lh-ease);}
.lhc-form .lhc-form__field textarea{resize:vertical;min-height:140px;}
.lhc-form .lhc-form__field input:focus,.lhc-form .lhc-form__field textarea:focus{outline:none;border-color:var(--lh-brand);
  box-shadow:0 0 0 3px rgba(30,70,32,.15);}
.lhc-form__count{display:block;margin-top:4px;font-size:12px;color:var(--lh-muted);text-align:right;}
.lhc-form .lhc-form__note{margin:0 0 16px;font-size:12.5px;color:var(--lh-muted);}
.lhc-form__hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden;}
.lhc-form .lhc-form__status{margin:0 0 18px;padding:12px 14px;border-radius:8px;font-size:14px;}
.lhc-form__status--ok{background:var(--lh-tint);border:1px solid var(--lh-tint-line);color:var(--lh-brand);}
.lhc-form__status--err{background:#fbeaea;border:1px solid #f0c8c8;color:#8a1f1f;}
.lhc-contact .lhc-form .lhc-btn{flex:none;min-width:180px;}
@media(max-width:560px){.lhc-contact .lhc-form .lhc-btn{width:100%;}}

.lhc-map iframe{display:block;width:100%;border:0;border-radius:12px;}

.lhc-empty{padding:16px;border:1px dashed var(--lh-line-strong, #cfd8c8);border-radius:8px;color:#6b6a64;text-align:center;}

@media(prefers-reduced-motion:reduce){
  .lh-mem__pic img,.lhc-car__track,.lhc-gal .lhc-gal__open img,.lhc-car__dot{transition:none;}
  .lh-mem:hover .lh-mem__pic img{transform:scale(var(--z,1));}
  .lhc-gal__item:hover .lhc-gal__open img{transform:none;}
}
