/* WOC 4.0.2 — Architectural Editorial service cards. Scoped to original WOC pages.
   All approved logos, image assets, colors and project layouts remain untouched. */
.woc-home .woc-services-preview .woc-v402-service-grid{
  display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:20px;
  align-items:stretch;direction:inherit;
}
.woc-home .woc-v402-service-grid>.woc-v402-service-card:nth-child(-n+3){grid-column:span 2}
.woc-home .woc-v402-service-grid>.woc-v402-service-card:nth-child(4){grid-column:2/span 2}
.woc-home .woc-v402-service-grid>.woc-v402-service-card:nth-child(5){grid-column:4/span 2}
.woc-home .woc-services-preview .woc-v402-service-card{
  width:auto;min-width:0;min-height:302px;padding:26px 29px 67px;
  border:1px solid rgba(37,72,66,.13);border-radius:16px;
  background:#f8f4ed;box-shadow:none;display:flex;flex-direction:column;
  justify-content:flex-start;gap:23px;position:relative;overflow:hidden;
  transition:transform .27s ease,border-color .27s ease,background-color .27s ease,box-shadow .27s ease;
}
.woc-home .woc-services-preview .woc-v402-service-card:before{
  content:"";position:absolute;top:0;inset-inline:0;height:2px;
  background:linear-gradient(90deg,transparent,#c5a473,transparent);opacity:0;transition:opacity .24s ease;
}
.woc-home .woc-services-preview .woc-v402-service-card:hover{
  color:var(--woc-green-deep);background:#f2ece2;
  transform:translateY(-4px);box-shadow:0 17px 34px rgba(15,47,42,.07);
  border-color:rgba(155,123,77,.38);
}
.woc-home .woc-services-preview .woc-v402-service-card:hover:before,
.woc-home .woc-services-preview .woc-v402-service-card:focus-visible:before{opacity:1}
.woc-home .woc-v402-card-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;min-height:78px}
.woc-home .woc-v402-card-index{
  display:inline-block;color:#a88957;font-size:11px;font-weight:800;letter-spacing:.12em;
  direction:ltr;unicode-bidi:isolate;font-variant-numeric:tabular-nums;
}
.woc-home .woc-services-preview .woc-v402-service-card .woc-service-icon{
  width:96px;height:75px;margin:0;overflow:visible;flex:0 0 auto;
}
.woc-home .woc-services-preview .woc-v402-service-card .woc-service-icon-art{
  display:block;width:100%;height:100%;object-fit:contain;
}
.woc-home .woc-v402-card-copy{min-width:0}
.woc-home .woc-services-preview .woc-v402-service-card h3{
  font-size:clamp(18px,1.5vw,21px);line-height:1.55;font-weight:800;
  color:var(--woc-green-deep);margin:0 0 10px;letter-spacing:normal;
}
.woc-home .woc-services-preview .woc-v402-service-card p{
  font-size:13.5px;line-height:1.85;color:#657069;margin:0;max-width:49ch;
}
.woc-home .woc-services-preview .woc-v402-service-card:hover h3{color:var(--woc-green-deep)}
.woc-home .woc-services-preview .woc-v402-service-card:hover p{color:#58665e}
.woc-home .woc-services-preview .woc-v402-service-card .woc-service-arrow{
  width:37px;height:37px;bottom:22px;inset-inline-end:26px;
  display:grid;place-items:center;border:1px solid rgba(37,72,66,.22);
  color:#24483f;border-radius:50%;transition:transform .25s ease,border-color .25s ease,background-color .25s ease;
}
.woc-home .woc-services-preview .woc-v402-service-card:hover .woc-service-arrow{
  border-color:#b9986b;background:#e9decf;color:#24483f;transform:translateY(-2px);
}
.woc-site .woc-v402-service-card:focus-visible,
.woc-site .woc-refine-service-item summary:focus-visible,
.woc-site .woc-refine-service-content a:focus-visible{
  outline:3px solid #b9986b;outline-offset:4px;
}
/* The two regulatory services remain in their own clearly signposted group. */
.woc-home .woc-specialized-solutions{margin-top:clamp(54px,6vw,78px)}
.woc-home .woc-specialized-grid{gap:20px}
.woc-home .woc-specialized-card{border-radius:16px}
/* Services page: one-open-at-a-time details already exist in the approved 4.0.1 layout.
   Keep the photography and placement; make each closed service understandable. */
.woc-refine-services .woc-refine-service-item{scroll-margin-top:116px}
.woc-refine-services .woc-refine-service-item summary{
  padding:19px 6px;min-height:104px;gap:16px;align-items:center;
}
.woc-refine-services .woc-v402-service-heading{display:flex;flex-direction:column;gap:6px;flex:1;min-width:0}
.woc-refine-services .woc-v402-service-heading strong{
  display:block;flex:initial;font-size:clamp(17px,1.55vw,21px);line-height:1.48;
}
.woc-refine-services .woc-v402-service-summary{
  display:block;color:#758077;font-size:12.5px;line-height:1.75;font-weight:400;max-width:58ch;
}
.woc-refine-services .woc-refine-service-item[open] .woc-v402-service-summary{color:#66746c}
.woc-refine-services .woc-refine-service-plus{flex:0 0 auto;align-self:center}
.woc-refine-services .woc-refine-service-content{padding-block-start:0}
.woc-refine-services .woc-refine-service-content ul{margin-top:0}
.woc-refine-services .woc-refine-service-content a{min-height:36px;align-items:center}
@media(max-width:1050px){
  .woc-home .woc-services-preview .woc-v402-service-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
  .woc-home .woc-v402-service-grid>.woc-v402-service-card:nth-child(n){grid-column:span 1}
  .woc-home .woc-v402-service-grid>.woc-v402-service-card:last-child{grid-column:1/-1;min-height:218px;display:grid;grid-template-columns:minmax(0,1fr) 156px;align-items:center;column-gap:15px}
  .woc-home .woc-v402-service-grid>.woc-v402-service-card:last-child .woc-v402-card-top{grid-column:2;grid-row:1;align-items:center}
  .woc-home .woc-v402-service-grid>.woc-v402-service-card:last-child .woc-v402-card-copy{grid-column:1;grid-row:1;max-width:100%}
  .woc-home .woc-specialized-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .woc-home .woc-specialized-card{grid-template-columns:40px minmax(0,1fr);gap:12px;min-height:226px;padding:21px}
  .woc-home .woc-specialized-copy h4{font-size:17px}
}
@media(max-width:700px){
  .woc-home .woc-services-preview .woc-v402-service-grid{grid-template-columns:minmax(0,1fr);gap:12px}
  .woc-home .woc-v402-service-grid>.woc-v402-service-card:nth-child(n){grid-column:1/-1;min-height:254px;padding:21px 22px 59px;gap:10px}
  .woc-home .woc-v402-service-grid>.woc-v402-service-card:last-child{display:flex}
  .woc-home .woc-v402-service-grid>.woc-v402-service-card:last-child .woc-v402-card-top,
  .woc-home .woc-v402-service-grid>.woc-v402-service-card:last-child .woc-v402-card-copy{grid-column:auto;grid-row:auto;max-width:100%}
  .woc-home .woc-specialized-grid{grid-template-columns:minmax(0,1fr);gap:9px}
  .woc-home .woc-specialized-card{grid-template-columns:44px minmax(0,1fr);gap:14px;min-height:0;padding:18px}
  .woc-home .woc-specialized-copy h4{font-size:17px}
  .woc-home .woc-v402-card-top{min-height:70px}
  .woc-home .woc-services-preview .woc-v402-service-card .woc-service-icon{width:89px;height:68px}
  .woc-home .woc-services-preview .woc-v402-service-card h3{font-size:19px;line-height:1.5;margin-bottom:7px}
  .woc-home .woc-services-preview .woc-v402-service-card p{font-size:13px;line-height:1.75}
  .woc-home .woc-services-preview .woc-v402-service-card .woc-service-arrow{bottom:16px;inset-inline-end:20px;width:34px;height:34px}
  .woc-home .woc-specialized-solutions{margin-top:48px}
  .woc-refine-services .woc-refine-service-item summary{gap:10px;min-height:98px;padding:18px 0}
  .woc-refine-services .woc-v402-service-heading strong{font-size:16px}
  .woc-refine-services .woc-v402-service-summary{font-size:11.5px;line-height:1.65}
}
@media(prefers-reduced-motion:reduce){
  .woc-home .woc-services-preview .woc-v402-service-card,
  .woc-home .woc-services-preview .woc-v402-service-card:before,
  .woc-home .woc-services-preview .woc-v402-service-card .woc-service-arrow{transition:none!important;transform:none!important}
}
