/* Small additions for the GXO mark and tracker; the original template owns layout. */
.header .header-logo a{align-items:center;gap:9px;white-space:nowrap;color:#0d2f25}
.header .header-logo img{width:60px;max-height:47px;object-fit:contain}
.header .header-logo span{font-weight:800;line-height:1;font-size:23px}
.header .header-logo small{display:block;font-size:9px;letter-spacing:.13em;margin-top:4px}
.gxo-footer-logo{width:85px;background:#fff;border-radius:4px;padding:4px}
.gxo-hero-title{font-size:clamp(34px,4vw,50px);line-height:1.08}
.gxo-detail-title{font-size:clamp(34px,4.5vw,54px);line-height:1.1}
.gxo-detail-photos img{width:100%;aspect-ratio:1.65;object-fit:cover;border-radius:8px}
.gxo-result:not(:empty){margin-top:12px;padding:11px 14px;background:#eef8f2;border-left:3px solid #279b77;border-radius:3px}
.gxo-result[data-state="error"]:not(:empty){border-color:#a85a23}
.gxo-result time{display:block;font-size:14px}
#tracking,#services,#about,#contact,#faq{scroll-margin-top:110px}
#tracking-help a{color:#145440;text-decoration:underline}
@media(max-width:991px){.gxo-detail-photos .row>div+div{margin-top:18px}}
@media(max-width:767px){.header .header-logo img{width:47px;max-height:36px}}
.banner-left::before,.header-style-2 .box-header-contact-1 .icon-contact img,.item-feature .icon-feature img{filter:hue-rotate(94deg) saturate(.59)}
.box-banner-homepage3{overflow-x:clip}
.banner-left .gxo-hero-title{color:#8edbb9}
.box-item-number-white .item-number .color-brand-1{color:#145440}
.box-banner-homepage3 .info-feature{background:#f5fbf7;padding:5px 9px;border-radius:4px}
.certified-icon img[src="assets/gxo.png"]{width:92px;background:#fff;padding:6px;border-radius:6px}
.gxo-four-services .menu-col{width:25%}
#shipment-process{scroll-margin-top:110px}
.box-button-play img[src="assets/shipment-checklist.svg"]{flex:0 0 42px}
#contact .form-newsletter #contact-tracking-form{display:grid;justify-items:start;max-width:100%;gap:0}
#contact-tracking-form .form-control{margin:0 0 14px;min-height:52px;padding:12px 15px;border:1px solid #83b9a3;border-radius:4px}
#contact-tracking-form .form-control:focus-visible{outline:2px solid #145440;outline-offset:2px}
#contact-tracking-form .gxo-result{width:100%}
.gxo-contact-email{color:#145440;text-decoration:underline}
@media(min-width:992px){
  .footer .gxo-footer-columns .width-23{width:34%}
  .footer .gxo-footer-columns .width-16{width:22%}
}
.title-favicon,.title-favicon-2,.title-favicon-newsletter{background-image:url("assets/gxo-direction-mark.svg")}

/* Align the tracker and process without the template's original lifted quote card. */
#tracking{margin-top:clamp(48px,7vw,98px);padding-block:clamp(26px,5vw,64px)}
#tracking .gxo-tracking-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(16px,2.5vw,30px);margin:0}
#tracking .gxo-tracking-layout>.col-lg-6{display:flex;width:auto;min-width:0;padding:0}
#tracking .box-form-request-quote-3{top:auto;width:100%;min-width:0;padding:0;display:flex}
#tracking .gxo-tracking-panel{width:100%;min-width:0;margin:0;padding:clamp(18px,3vw,36px);border:1px solid #a5d8c2;box-shadow:none}
#tracking .gxo-process-panel{background:#f4fbf7}
#tracking .gxo-tracking-panel h2{font-size:clamp(25px,3vw,38px);line-height:1.12;margin:0 0 20px}
#tracking .title-favicon,#tracking .gxo-process-title{padding-left:1.16em;background-repeat:no-repeat;background-position:left .06em;background-size:.88em auto}
#tracking .gxo-process-title{background-image:url("assets/shipment-checklist.svg")}
#tracking .list-how-works{margin:0;padding:0;display:grid;gap:12px}
#tracking .list-how-works li{padding:0;gap:14px}
#tracking .list-how-works .image-how{min-width:51px;max-width:51px;margin:0}
#tracking .list-how-works .image-how .img{display:grid;place-items:center;width:51px;height:51px;line-height:1}
#tracking .list-how-works .image-how img{max-width:29px;max-height:29px;object-fit:contain}
#tracking .list-how-works .image-how::before{top:100%;height:12px}
#tracking .list-how-works h5{font-size:17px;line-height:1.25;margin-bottom:2px}
#tracking .list-how-works p{font-size:14px;line-height:1.45}
@media(max-width:991px){
  #tracking .gxo-tracking-layout{grid-template-columns:minmax(0,1fr)}
}

/* Match guide image crops, card heights, and action placement across slides. */
#freight-guides .swiper-wrapper{align-items:stretch}
#freight-guides .swiper-slide{display:flex;height:auto}
#freight-guides .card-blog-grid{display:flex;flex-direction:column;width:100%;min-width:0}
#freight-guides .card-blog-grid:hover{transform:none}
#freight-guides .card-image img{width:100%;aspect-ratio:7/6;object-fit:cover}
#freight-guides .card-image img[src$="/service3.png"]{object-position:center 62%}
#freight-guides .card-info{display:flex;flex:1;flex-direction:column}
#freight-guides .card-info>p{margin-bottom:20px}
#freight-guides .line-border{margin-top:auto}

/* Keep both service card styles while normalizing the photography and captions. */
#services .gxo-offer-grid>div{display:flex}
#services .cardService{display:flex;flex-direction:column;width:100%;min-width:0}
#services .cardImage img{display:block;width:100%;aspect-ratio:5/7;object-fit:cover}
#services .cardInfo{position:relative;inset:auto;margin:calc(-1 * clamp(100px,13vw,168px)) 40px 0 18px;flex:1;min-width:0}
#services .cardInfo img{display:block;width:34px;height:34px;max-height:none}
.box-banner-homepage3 .icon-feature img[src*="gxo-service-"]{display:block;width:48px;height:48px;filter:none}
#cargo-services{scroll-margin-top:110px}
#cargo-services .swiper-wrapper{align-items:stretch}
#cargo-services .swiper-slide{display:flex;height:auto}
#cargo-services .cardGrid{display:flex;flex-direction:column;width:100%;min-width:0;padding-bottom:0}
#cargo-services .cardGrid .cardImage img{aspect-ratio:7/6;object-fit:cover}
#cargo-services .cardGrid .cardInfo{position:relative;inset:auto;margin-top:-17px;display:flex;flex-direction:column;flex:1}
#cargo-services .cardGrid .cardInfo>p{margin-bottom:30px}
#cargo-services .cardGrid .box-button{margin-top:auto!important}

/* GXO contact strip: brand color with readable content. */
.top-bar-style-2 .box-bar.bg-grey-900{background-color:#145440!important;color:#fff}
.top-bar-style-2 .box-bar.bg-grey-900 .email-icon,
.top-bar-style-2 .box-bar.bg-grey-900 .text-end{color:#fff}
.top-bar-style-2 .box-bar.bg-grey-900 .email-icon svg{color:#8edbb9;stroke:#8edbb9}

/* Branded Laravel shipment viewer. */
.gxo-viewer-form{max-width:650px}
.gxo-viewer-fields{display:flex;gap:12px;align-items:stretch;margin-top:8px}
.gxo-viewer-fields .form-control{margin:0}
.gxo-viewer-fields .btn{white-space:nowrap}
.gxo-viewer-details{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin:0}
.gxo-viewer-details>div{padding:16px;background:#eef8f2;border:1px solid #a5d8c2;border-radius:4px;overflow-wrap:anywhere}
.gxo-viewer-details dt{color:#145440;font-weight:700}
.gxo-viewer-details dd{margin:4px 0 0}
.gxo-viewer-table th{background:#145440;color:white}
@media(max-width:540px){.gxo-viewer-fields{flex-direction:column}.gxo-viewer-fields .btn{align-self:flex-start}}

/* Branded print report; regular browsing retains the website chrome. */
.gxo-print-masthead{display:none}
.gxo-report-heading{display:flex;align-items:center;flex-wrap:wrap;justify-content:space-between;gap:14px;margin-bottom:15px}
@media print {
  body:has(#gxo-shipment-report){background:#fff!important;color:#000!important;margin:0;font-size:10pt}
  body:has(#gxo-shipment-report)>:not(.gxo-shipment-viewer),
  .gxo-shipment-viewer>section:not(#gxo-shipment-report),
  .gxo-shipment-viewer .gxo-print-button{display:none!important}
  .gxo-shipment-viewer #gxo-shipment-report{padding:0!important;margin:0}
  #gxo-shipment-report>.container{width:auto;max-width:none;padding:0;margin:0}
  #gxo-shipment-report .gxo-print-masthead{display:flex;align-items:center;gap:14pt;border-bottom:1pt solid #145440;padding-bottom:12pt;margin-bottom:14pt;break-inside:avoid}
  #gxo-shipment-report .gxo-print-masthead img{width:40pt;height:auto}
  #gxo-shipment-report .gxo-print-masthead p{margin:0}
  #gxo-shipment-report h2{font-size:20pt;line-height:1.12}
  #gxo-shipment-report h3{font-size:13pt;break-after:avoid}
  #gxo-shipment-report .gxo-viewer-details{grid-template-columns:repeat(2,minmax(0,1fr));gap:6pt}
  #gxo-shipment-report .gxo-viewer-details>div{padding:5pt 8pt;break-inside:avoid;background:#fff;border:0.5pt solid #bbb}
  #gxo-shipment-report .table-responsive{overflow:visible}
  #gxo-shipment-report thead{display:table-header-group}
  #gxo-shipment-report tr{break-inside:avoid}
  #gxo-shipment-report .gxo-viewer-table th{background:#fff;color:#000;border-bottom:1pt solid #145440}
}

/* Compact four-column desktop services menu. */
.header .main-menu li div.sub-menu.gxo-four-services{padding:22px 24px;gap:18px}
.header .main-menu li:hover>div.sub-menu.gxo-four-services,
.header .main-menu li:focus-within>div.sub-menu.gxo-four-services{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));opacity:1;visibility:visible
}
.header .main-menu li div.sub-menu.gxo-four-services .menu-col{width:auto;min-width:0;padding:0}
.header .main-menu li div.sub-menu.gxo-four-services .menu-col>h6{margin:0 0 8px!important}
.header .main-menu li div.sub-menu.gxo-four-services .menu-col>h6>a,
.header .main-menu li div.sub-menu.gxo-four-services .menu-image>a{padding:0}
.header .main-menu li div.sub-menu.gxo-four-services .menu-image img{
  display:block;width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:4px
}
.header .main-menu li div.sub-menu.gxo-four-services .menu-col>ul{
  display:block;position:static;opacity:1;visibility:visible;width:auto;min-width:0;border:0;box-shadow:none;background:none;margin:6px 0 0;padding:0
}
.header .main-menu li div.sub-menu.gxo-four-services .menu-col>ul>li{padding:0;margin:0;float:none}
.header .main-menu li div.sub-menu.gxo-four-services .menu-col>ul a{padding:0;font-size:13px;line-height:20px}
.gxo-tracking-dialog{
  width:min(440px,calc(100% - 32px));max-height:calc(100% - 32px);margin:auto;padding:25px;
  border:1px solid #a5d8c2;border-top:5px solid #279b77;border-radius:8px;background:#fff;color:#0d2f25;
  box-shadow:0 12px 40px #0d2f2530
}
.gxo-tracking-dialog::backdrop{background:#0d2f2566}
.gxo-tracking-dialog h2{font-size:22px;line-height:1.25;margin:0 0 10px;color:#145440}
.gxo-tracking-dialog p{margin:0 0 18px}
.gxo-tracking-dialog:not([open]){display:none}
@media print{.gxo-tracking-dialog{display:none!important}}
