/* 2026-09-21: only the requested partner, FAQ and footer refinements. */

/* Partners: use one consistent white logo surface and preserve every source ratio. */
body.a2-site[data-page="partners"] #content .site-partners figure {
  background: #fff !important;
}

body.a2-site[data-page="partners"] #content .site-partners figure img {
  --requested-logo-scale: 1;
  display: block !important;
  box-sizing: border-box !important;
  width: 180px !important;
  max-width: 100% !important;
  height: 72px !important;
  max-height: 72px !important;
  aspect-ratio: auto !important;
  padding: 8px 10px !important;
  background: #fff !important;
  object-fit: contain !important;
  transform: scale(var(--requested-logo-scale)) !important;
}

body.a2-site[data-page="partners"] #content .site-partners figure img[src*="partner_01.jpg"] { --requested-logo-scale: 1.55; }
body.a2-site[data-page="partners"] #content .site-partners figure img[src*="partner_04.jpg"] { --requested-logo-scale: 1.22; }
body.a2-site[data-page="partners"] #content .site-partners figure img[src*="partner_13.jpg"] { --requested-logo-scale: 1.22; }
body.a2-site[data-page="partners"] #content .site-partners figure img[src*="partner_25.jpg"] { --requested-logo-scale: 1.22; }
body.a2-site[data-page="partners"] #content .site-partners figure img[src*="cj-logistics-logo.svg"] { --requested-logo-scale: .92; }

body.a2-site[data-page="partners"] #content .site-partners figure:hover img {
  transform: scale(calc(var(--requested-logo-scale) * 1.05)) !important;
}

/* FAQ: place the explanatory sentence directly below the title on desktop. */
@media (min-width: 901px) {
  body.a2-site[data-page="faq"] #content .a2-faq-module .a2-section-head {
    grid-template-columns: minmax(170px, 1.05fr) minmax(0, 4.95fr) !important;
  }

  body.a2-site[data-page="faq"] #content .a2-faq-module .a2-section-head > p {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
  }

  body.a2-site[data-page="faq"] #content .a2-faq-module .a2-section-head > h2 {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }

  body.a2-site[data-page="faq"] #content .a2-faq-module .a2-section-head > span {
    grid-column: 2 !important;
    grid-row: 2 !important;
    width: 100% !important;
    max-width: none !important;
    margin-top: 20px !important;
    padding-top: 0 !important;
    white-space: nowrap !important;
  }
}

/* Match subpage footer type sizes to the 15px main-page footer. */
body.a2-site .subpage-main-footer,
body.a2-site .subpage-main-footer .v4-footer-grid > div:first-child p,
body.a2-site .subpage-main-footer .v4-footer-grid > p,
body.a2-site .subpage-main-footer .v4-footer-grid nav a,
body.a2-site .subpage-main-footer .v4-copyright,
body.a2-site .subpage-main-footer .v4-copyright span {
  font-size: 15px !important;
}
