/* Shared TJENESTER pin + wide photo */
.svc-pin{height:155vh;position:relative;width:100%;}
.svc-pin-inner{
  position:sticky;top:0;height:100vh;width:100%;
  display:flex;align-items:stretch;box-sizing:border-box;
  padding:12px 16px 16px 12px; /* less left padding, fuller width */
  z-index:5;
}
.svc-pin .svc-list,
.svc-pin-inner > .svc-list{
  max-width:none !important;
  width:100% !important;
  margin:0 !important;
  padding:12px 8px 12px 8px !important;
  display:grid !important;
  grid-template-columns:minmax(260px,38%) minmax(0,1fr) !important;
  gap:20px 28px !important;
  align-items:start !important;
  height:100%;
  box-sizing:border-box;
}
.svc-pin .svc-list > div:first-child{min-width:0;max-height:calc(100vh - 40px);overflow:auto;padding-right:6px}
.svc-pin .hover-img,
.svc-pin .svc-zoom-wrap,
.svc-pin .svc-list > div:last-child{
  position:relative !important;
  top:auto !important;
  height:100%;
  min-height:0;
  display:flex;flex-direction:column;justify-content:center;
}
.svc-pin .frame,
.svc-pin .svc-zoom-frame,
.svc-pin #svcFrame{
  width:100% !important;
  height:86vh !important;
  min-height:86vh !important;
  max-height:86vh !important;
  overflow:hidden;
  border-radius:2px;
  background:#222;
}
.svc-pin .frame img,
.svc-pin #svcImg{
  width:100%;height:100%;object-fit:cover;object-position:center 15%;
}
.svc-pin .hint{margin-top:8px}
@media(max-width:900px){
  .svc-pin{height:auto !important}
  .svc-pin-inner{position:static !important;height:auto !important;padding:20px 16px !important}
  .svc-pin .svc-list,
  .svc-pin-inner > .svc-list{
    grid-template-columns:1fr !important;
    height:auto !important;
    padding:0 !important;
    gap:20px !important;
  }
  .svc-pin .svc-list > div:first-child{max-height:none;overflow:visible}
  .svc-pin .frame,
  .svc-pin .svc-zoom-frame,
  .svc-pin #svcFrame{
    height:55vh !important;min-height:55vh !important;max-height:none !important;
  }
  .svc-pin .hover-img,.svc-pin .svc-zoom-wrap{position:static !important}
}

/* category photos: no zoom */
.svc-zoom-wrap.is-hover .frame img,
.svc-zoom-wrap.is-hover .svc-zoom-frame img,
.svc-list .frame.zoomed img,
.frame.zoomed img{transform:none!important}
.svc-zoom-wrap.is-hover .frame,
.svc-zoom-wrap.is-hover .svc-zoom-frame{overflow:hidden!important}
.svc-pin .frame, .svc-pin #svcFrame{touch-action:auto}
.svc-pin-inner{will-change:transform}

/* smooth sticky release driven by svc-pin.js */


/* footer / contact block: even larger */
.se-contact-block 
.se-contact-block 

.page-rail .svc-pin-inner{padding-left:0!important;padding-right:0!important;}


/* Social tiles — grey rounded squares, white glyphs */
.se-soc{
  display:inline-flex !important;
  gap:14px !important;
  align-items:center !important;
}
.se-soc a{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:60px !important;
  height:60px !important;
  min-width:60px !important;
  min-height:60px !important;
  background:#999 !important;
  border-radius:12px !important;
  opacity:1 !important;
  box-sizing:border-box;
}
.se-soc a:hover{background:#888 !important;opacity:1 !important}
.se-soc svg{
  width:28px !important;
  height:28px !important;
  fill:#fff !important;
}
/* Header: smaller tiles so one-line header fits */
.top .se-soc a,
.ph-head .se-soc a,
header .se-soc a{
  width:34px !important;
  height:34px !important;
  min-width:34px !important;
  min-height:34px !important;
  border-radius:8px !important;
}
.top .se-soc svg,
.ph-head .se-soc svg,
header .se-soc svg{
  width:16px !important;
  height:16px !important;
  fill:#fff !important;
}
.top .se-soc,
.ph-head .se-soc,
header .se-soc{gap:10px !important}


/* TJENESTER left column fills photo height — no empty white */
.svc-pin .svc-list,
.page-rail .svc-list{
  align-items:stretch !important;
}
.svc-pin .svc-list > div:first-child,
.page-rail .svc-list > div:first-child{
  display:flex !important;
  flex-direction:column !important;
  height:min(86vh, calc(100vh - 24px)) !important;
  max-height:min(86vh, calc(100vh - 24px)) !important;
  min-height:min(86vh, calc(100vh - 24px)) !important;
  overflow:hidden !important;
  padding:0 !important;
  box-sizing:border-box;
}
.svc-pin .svc-list > div:first-child > h2,
.page-rail .svc-list > div:first-child > h2{
  margin:0 0 8px !important;
  flex:0 0 auto;
}
.svc-menu-intro{
  flex:0 0 auto;
  font-size:14px;
  line-height:1.45;
  opacity:.65;
  margin:0 0 14px;
  max-width:36ch;
}
.svc-pin .svc-list ol,
.page-rail .svc-list ol{
  list-style:none;
  display:flex !important;
  flex-direction:column !important;
  justify-content:space-between !important;
  flex:1 1 auto !important;
  min-height:0 !important;
  margin:0 !important;
  padding:0 !important;
  gap:0 !important;
}
.svc-pin .svc-list li,
.page-rail .svc-list li{
  display:grid !important;
  grid-template-columns:56px 1fr !important;
  gap:12px !important;
  align-items:center !important;
  padding:18px 8px !important;
  border-top:1px solid #e4e0d8;
  flex:1 1 0 !important;
  min-height:0 !important;
  box-sizing:border-box;
}
.svc-pin .svc-list li:last-child,
.page-rail .svc-list li:last-child{border-bottom:1px solid #e4e0d8}
.svc-pin .svc-list li h3,
.page-rail .svc-list li h3{
  font-size:clamp(24px,1.8vw,30px) !important;
  font-weight:520 !important;
  letter-spacing:-.015em !important;
  margin:0 0 4px !important;
  line-height:1.15 !important;
}
.svc-pin .svc-list li p,
.page-rail .svc-list li p{
  font-size:14px !important;
  line-height:1.4 !important;
  opacity:.68 !important;
  margin:0 !important;
}
.svc-pin .svc-list li .n,
.page-rail .svc-list li .n{
  font-size:13px !important;
  opacity:.4;
  padding-top:2px;
}
.svc-menu-foot{
  flex:0 0 auto;
  display:flex;
  flex-wrap:wrap;
  gap:14px 22px;
  align-items:center;
  margin-top:14px;
  padding-top:12px;
  border-top:1px solid #e4e0d8;
  font-size:13px;
}
.svc-menu-foot a{opacity:.75;text-decoration:none;color:inherit}
.svc-menu-foot a:hover{opacity:1;text-decoration:underline}
.svc-menu-foot .svc-foot-cta{
  background:#121212;color:#fff;padding:10px 16px;border-radius:999px;opacity:1!important;
  text-decoration:none!important;font-size:12px;letter-spacing:.04em;
}
.svc-menu-foot .svc-foot-cta:hover{opacity:.9!important;text-decoration:none!important}

/* Keep photo tall */
.svc-pin .frame,
.svc-pin #svcFrame,
.page-rail .frame,
.page-rail #svcFrame{
  height:min(86vh, calc(100vh - 24px)) !important;
  min-height:min(86vh, calc(100vh - 24px)) !important;
  max-height:min(86vh, calc(100vh - 24px)) !important;
}
.svc-pin .hover-img,
.svc-pin .svc-zoom-wrap,
.page-rail .hover-img,
.page-rail .svc-zoom-wrap,
.svc-pin .svc-list > div:last-child,
.page-rail .svc-list > div:last-child{
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-start!important;
  height:min(86vh, calc(100vh - 24px)) !important;
}
.svc-pin .hint,.page-rail .hint{margin-top:auto;padding-top:8px}

@media(max-width:900px){
  .svc-pin .svc-list > div:first-child,
  .page-rail .svc-list > div:first-child{
    height:auto!important;max-height:none!important;min-height:0!important;overflow:visible!important;
  }
  .svc-pin .svc-list ol,.page-rail .svc-list ol{justify-content:flex-start!important}
  .svc-pin .svc-list li,.page-rail .svc-list li{flex:0 0 auto!important;padding:14px 4px!important}
  .svc-pin .svc-list li h3,.page-rail .svc-list li h3{font-size:22px!important}
  .svc-pin .hover-img,.page-rail .hover-img,.svc-pin .svc-zoom-wrap,.page-rail .svc-zoom-wrap,
  .svc-pin .svc-list > div:last-child,.page-rail .svc-list > div:last-child{height:auto!important}
}
