/* Fusion 2.1: actual WPBakery content items, not an opaque PHP-rendered portfolio. */
.fx-agency-layout .fx-direct-titleband {border-bottom:1px solid var(--fx-rule);}
.fx-agency-layout .fx-direct-titleband > .wpb_column > .vc_column-inner,
.fx-agency-layout .fx-direct-titleband > .vc_column_container > .vc_column-inner {padding:0;}
.fx-direct-titleband .fx-wrap {padding-block:clamp(2.2rem,4.6vw,5rem);}
.fx-direct-titleband .fx-label {color:var(--fx-muted);margin-bottom:1rem;}
.fx-direct-titleband .fx-titlegrid h1 {font-size:clamp(3.45rem,6.7vw,7.6rem);line-height:.98;letter-spacing:-.038em;max-width:18ch;}
.fx-direct-titleband .fx-titlegrid p {max-width:40ch;font-size:clamp(1rem,1.45vw,1.4rem);line-height:1.35;}
.fx-direct-titleband .wpb_text_column {margin-bottom:0;}
.fx-agency-layout .fxe-direct-filters {max-width:1680px;width:min(100%,1680px);padding-inline:var(--fx-gutter);margin-inline:auto;}
.fx-direct-tools {padding-top:1.75rem;padding-bottom:1.75rem;}
.fx-direct-tools .fx-filters button {font:600 .9rem/1.35 var(--fx-sans);border:1px solid var(--fx-rule);padding:.55rem .8rem;background:transparent;color:inherit;cursor:pointer;}
.fx-direct-tools .fx-filters button:hover,.fx-direct-tools .fx-filters button[aria-pressed="true"] {background:var(--fx-ink);border-color:var(--fx-ink);color:white;}
.fx-direct-tools [data-fxe-query] {min-width:0;width:11.5rem;border:1px solid #a8aaa4;padding:.65em .8em;background:#fff;color:#121212;}
.fx-agency-layout .fxe-direct-project-grid,
.fx-agency-layout .fxe-direct-client-grid,
.fx-agency-layout .fxe-direct-gallery-grid,
.fx-agency-layout .fxe-direct-feature-grid {max-width:1680px;width:min(100%,1680px);padding-inline:var(--fx-gutter);margin:0 auto;padding-bottom:clamp(3rem,6vw,7rem);}
.fxe-direct-project-grid > .wpb_column > .vc_column-inner > .wpb_wrapper {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(1.8rem,3.6vw,4rem) var(--fx-gap);}
.fxe-direct-project-grid .fx-card-picture {aspect-ratio:1.58;}
.fxe-direct-project-grid .fx-work-card h3 {font-size:clamp(1.6rem,2.3vw,2.75rem);}
.fxe-direct-feature-grid > .wpb_column > .vc_column-inner > .wpb_wrapper {display:grid;grid-template-columns:minmax(0,1.13fr) minmax(0,.87fr);gap:1.1rem var(--fx-gap);}
.fxe-direct-feature-grid .fx-direct-card:first-child {grid-row:span 2;}
.fxe-direct-feature-grid .fx-direct-card:not(:first-child) > a {display:grid;grid-template-columns:1fr .78fr;gap:1rem;align-items:center;}
.fxe-direct-feature-grid .fx-direct-card:not(:first-child) .fx-card-picture {aspect-ratio:1.42;}
.fxe-direct-feature-grid .fx-direct-card:not(:first-child) .fx-card-foot h3 {font-size:clamp(1.65rem,2.4vw,2.8rem);}
.fxe-direct-client-grid > .wpb_column > .vc_column-inner > .wpb_wrapper {display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:1.25rem;}
.fx-direct-logo {min-width:0;text-align:center;}
.fx-direct-logo .fx-logo-well {display:grid;place-items:center;min-height:126px;padding:1rem;background:var(--fx-stone);}
.fx-direct-logo img {max-width:100%;max-height:96px;width:auto;height:auto;object-fit:contain;}
.fx-direct-logo span {display:block;margin-top:.6rem;font-size:.85rem;}
.fx-direct-gallery-item {margin:0;}
.fx-direct-gallery-item img {width:100%;height:auto;display:block;}
.fx-direct-gallery-item figcaption {font-size:.9rem;line-height:1.45;margin-top:.5rem;}
.fxe-direct-gallery-grid > .wpb_column > .vc_column-inner > .wpb_wrapper {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--fx-gap);}
.fxe-direct-expertise-grid > .wpb_column > .vc_column-inner > .wpb_wrapper {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;}
.fx-direct-expertise-item {font-size:clamp(1.15rem,2vw,1.8rem);padding:.9rem 0;border-bottom:1px solid var(--fx-rule);}
.fxe-direct-links > .wpb_column > .vc_column-inner > .wpb_wrapper {display:flex;flex-wrap:wrap;gap:1rem;padding:2rem 0;}
.fx-agency-layout .fxe-direct-services {max-width:1680px;width:min(100%,1680px);padding-inline:var(--fx-gutter);margin-inline:auto;padding-block:clamp(2.5rem,5vw,5rem);}
.fxe-direct-services .fx-service-row {display:grid;grid-template-columns:1fr 1fr;gap:1rem;padding:1.15rem 0;border-top:1px solid var(--fx-rule);}
.fxe-direct-services .fx-service-row h3 {font-size:clamp(1.2rem,1.9vw,1.8rem);}
.fxe-direct-services .fx-service-row p {line-height:1.5;margin:0;}
.fxe-direct-services h1,.fxe-direct-services h2 {font-size:clamp(2.9rem,5.6vw,6.15rem);line-height:.99;letter-spacing:-.038em;}
.fx-agency-layout .fxe-direct-rich {max-width:1680px;width:min(100%,1680px);padding-inline:var(--fx-gutter);margin-inline:auto;padding-block:2rem;}
.fxe-direct-feature-title .fx-section-heading {display:flex;align-items:end;justify-content:space-between;gap:1rem;}
.fxe-direct-feature-title .wpb_text_column {margin-bottom:0;}
.fxe-direct-feature-title h2 {font-size:clamp(2.9rem,5.6vw,6.15rem);}
.fx-agency-layout .fxe-direct-feature-title {max-width:1680px;width:min(100%,1680px);padding-inline:var(--fx-gutter);margin-inline:auto;padding-top:3rem;padding-bottom:1.5rem;}
.fxe-direct-pagination {display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:.5rem;margin:0 auto 3rem;}
.fxe-direct-pagination button {border:1px solid var(--fx-rule);padding:.55rem .8rem;background:transparent;color:inherit;cursor:pointer;}
.fxe-direct-pagination button[aria-current="page"] {background:var(--fx-ink);color:#fff;}
.fxe-direct-pagination button:disabled {opacity:.4;cursor:default;}
.fx-direct-card[hidden],.fx-direct-logo[hidden] {display:none!important;}
@media (max-width:1000px) {
  .fxe-direct-project-grid > .wpb_column > .vc_column-inner > .wpb_wrapper {grid-template-columns:repeat(2,minmax(0,1fr));}
  .fxe-direct-client-grid > .wpb_column > .vc_column-inner > .wpb_wrapper {grid-template-columns:repeat(3,minmax(0,1fr));}
  .fxe-direct-services .fx-service-row {grid-template-columns:1fr;}
}
@media (max-width:680px) {
  .fxe-direct-project-grid > .wpb_column > .vc_column-inner > .wpb_wrapper,
  .fxe-direct-client-grid > .wpb_column > .vc_column-inner > .wpb_wrapper,
  .fxe-direct-gallery-grid > .wpb_column > .vc_column-inner > .wpb_wrapper,
  .fxe-direct-feature-grid > .wpb_column > .vc_column-inner > .wpb_wrapper,
  .fxe-direct-expertise-grid > .wpb_column > .vc_column-inner > .wpb_wrapper {grid-template-columns:1fr;}
  .fx-direct-titleband .fx-titlegrid {display:block;}
  .fxe-direct-services > .wpb_column {width:100%!important;}
  .fxe-direct-services .wpb_column {width:100%!important;float:none;}
  .fxe-direct-feature-grid .fx-direct-card:first-child {grid-row:auto;}
  .fxe-direct-feature-grid .fx-direct-card:not(:first-child) > a {display:block;}
}
/* Contact remains a true two-column WPBakery row. Map, address and form are distinct elements. */
.fx-agency-layout .fxe-direct-contact {max-width:1680px;width:min(100%,1680px);padding-inline:var(--fx-gutter);margin:0 auto;padding-block:clamp(2rem,4vw,4.5rem);gap:clamp(1.5rem,3vw,4rem);}
.fxe-direct-contact .fx-contact-location {padding-bottom:1.5rem;}
.fxe-direct-contact .fx-contact-office {padding-block:1rem;}
.fxe-direct-contact .wpb_text_column {margin-bottom:0;}
.fxe-direct-contact .fx-contact-form {padding:0;}
.fxe-direct-contact .fx-contact-form h2 {font-size:clamp(2rem,3.5vw,4rem);margin-bottom:1.5rem;}
@media (max-width:767px) {.fxe-direct-contact .wpb_column {width:100%!important;float:none;}}
