/* APILayer site footer (redesign, AP-6510).
   Source of truth: https://apilayer-homepage-draft.netlify.app/ (footer).
   Every class is prefixed "aplft-" so the theme's Bootstrap/legacy footer rules (.footer, .btn,
   .social-icons, .footer-links ...) can't reach it, and selectors are weighted to beat theme.css
   element rules (a, p, ul, input, button). */

.aplft {
  --rb-300: #2b7efb; --rb-400: #0566f7; --rb-500: #0052cc;
  --navy-50: #e9ebed; --navy-100: #bcc0c7; --navy-200: #9ca2ac; --navy-300: #6e7786; --navy-900: #10161f;
  --n-50: #fdfdfe; --n-200: #f9fafb; --green-800: #124b45;
  display: block;
  margin: 0;                     /* the design's 80px gap above the footer is built into the page above it */
  padding: 31px 32px 20px;
  background: var(--navy-900);
  color: var(--n-50);
  text-align: left;
  /* !important: the theme's footerr.css forces footer { font-family: "Open Sans" !important } */
  font-family: 'Open Sauce One', system-ui, -apple-system, 'Segoe UI', sans-serif !important;
  font-size: 16px;
  line-height: 22px;
  -webkit-font-smoothing: antialiased;
}
.aplft *, .aplft *::before, .aplft *::after { box-sizing: border-box; }
.aplft p, .aplft ul, .aplft form { margin: 0; }
.aplft ul { padding: 0; list-style: none; }
.aplft li { margin: 0; }
.aplft img { display: block; max-width: none; }
.aplft a, .aplft a:hover, .aplft a:focus { text-decoration: none; }
.aplft :focus-visible { outline: 2px solid var(--rb-400); outline-offset: 2px; }
.aplft .aplft-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* buttons */
.aplft .aplft-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 16px;
  height: 43px; padding: 0 15px 0 16px; border: 1px solid transparent; border-radius: 3px;
  font-family: inherit; font-weight: 600; font-size: 16px; line-height: 20px; letter-spacing: .016em; white-space: nowrap;
  cursor: pointer; box-shadow: none; transition: background-color .15s, border-color .15s;
}
.aplft a.aplft-btn-4 { background: var(--n-50); border-color: var(--navy-50); color: var(--navy-900); }
.aplft a.aplft-btn-4:hover { background: var(--n-200); color: var(--navy-900); }
.aplft button.aplft-btn-1 { background: var(--rb-500); border-color: var(--rb-300); color: var(--n-50); }
.aplft button.aplft-btn-1:hover { background: var(--rb-400); color: var(--n-50); }

/* top row: logo + Explore products */
.aplft .aplft-top { display: flex; justify-content: space-between; align-items: flex-end; }
.aplft .aplft-rule { height: 1px; margin-top: 30px; background: var(--navy-300); }
.aplft .aplft-rule-2 { margin-top: 55px; }

/* body: link columns + newsletter */
.aplft .aplft-body { display: flex; justify-content: space-between; margin-top: 29px; }
.aplft .aplft-cols { display: grid; grid-template-columns: repeat(3, 258.67px); row-gap: 55px; align-content: start; }
.aplft p.aplft-head { font-weight: 600; font-size: 16px; line-height: 22px; color: var(--n-50); }
.aplft .aplft-col ul { margin-top: 11px; }
.aplft .aplft-col li + li { margin-top: 12px; }
.aplft .aplft-col a { color: var(--navy-200); font-size: 16px; line-height: 22px; }
.aplft .aplft-col a:hover, .aplft .aplft-legal a:hover { color: var(--n-50); }

.aplft .aplft-news { width: 447px; }
.aplft .aplft-news p:not(.aplft-head) { margin-top: 15px; color: var(--navy-200); }
.aplft .aplft-form { display: flex; gap: 15px; margin-top: 10px; }
.aplft .aplft-form input {
  width: 298px; height: 42px; margin: 0; padding: 0 15px;
  background: transparent; border: 1px solid var(--navy-50); border-radius: 3.5px; box-shadow: none;
  font-family: inherit; font-weight: 400; font-size: 16px; line-height: 22px; color: var(--n-50);
}
.aplft .aplft-form input::placeholder { color: var(--navy-200); opacity: 1; }
.aplft .aplft-form input:focus { border-color: var(--rb-400); outline: 0; }
.aplft .aplft-form button.aplft-btn-1 { width: 136px; margin-top: -1px; }
.aplft p.aplft-connect { margin-top: 36px; }
.aplft .aplft-socials { display: flex; gap: 7px; margin-top: 20px; }
.aplft .aplft-socials a {
  display: flex; align-items: center; justify-content: center; width: 39px; height: 39px;
  border: 1px solid var(--navy-300); border-radius: 3.5px; transition: border-color .15s;
}
.aplft .aplft-socials a:hover { border-color: var(--navy-100); }
.aplft .aplft-status {
  display: flex; align-items: center; gap: 13px; height: 36px; margin-top: 40px; padding: 0 8px 0 10px;
  background: var(--green-800); border-radius: 4px;
  font-weight: 500; font-size: 14px; color: var(--navy-50);
}

/* bottom row: copyright + legal links */
.aplft .aplft-bottom {
  display: flex; justify-content: space-between; align-items: center; margin-top: 22px;
  font-weight: 600; font-size: 16px; line-height: 22px; letter-spacing: .016em;
}
.aplft .aplft-bottom > span { color: var(--navy-200); }
.aplft .aplft-legal { display: flex; align-items: center; gap: 56.5px; }
.aplft .aplft-legal a { color: rgba(233, 235, 237, .7); }
.aplft .aplft-gdpr { display: flex; align-items: center; gap: 11px; color: rgba(233, 235, 237, .7); }

/* responsive (design breakpoints: 1280 / 1060 / 760) */
/* Design update 2026-11-18: the three fixed 258.67px link columns plus the 447px newsletter column need about
   1,270px, so the columns turn flexible from 1,280px down (was 1,200px; the gap showed as sideways scroll). */
@media (max-width: 1280px) {
  .aplft .aplft-body { gap: 40px; }
  .aplft .aplft-cols { flex: 1; min-width: 0; grid-template-columns: repeat(3, minmax(150px, 1fr)); column-gap: 24px; }
  .aplft .aplft-news { flex: none; }
}
@media (max-width: 1060px) {
  .aplft .aplft-body { flex-direction: column; }
  .aplft .aplft-news { width: 100%; max-width: 447px; }
}
@media (max-width: 760px) {
  .aplft .aplft-top { align-items: center; flex-wrap: wrap; gap: 16px; }
  .aplft .aplft-cols { grid-template-columns: 1fr 1fr; }
  .aplft .aplft-form { flex-direction: column; }
  .aplft .aplft-form input { width: 100%; }
  .aplft .aplft-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
  .aplft .aplft-legal { flex-wrap: wrap; gap: 16px 24px; }
}
/* Not in the design: below ~360px its "Explore products" button runs off the screen. */
@media (max-width: 360px) {
  .aplft { padding-left: 20px; padding-right: 20px; }
  .aplft .aplft-top { flex-direction: column; align-items: flex-start; gap: 20px; }
  .aplft .aplft-socials { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .aplft *, .aplft *::before, .aplft *::after { transition: none !important; }
}
