.footer {
    background: #002047;
    /* solid base to match illustration */
    color: #cfe0f5;
    font-size: 14px;
    line-height: 1.6;
    position: relative;
}
/* 1) Constrain & center the inner container explicitly */
.footer__inner.container,
.footer .container {
  max-width: 1200px;           /* adjust to your theme’s content width */
  margin-inline: auto;
  padding-inline: 16px;
}
.footer a {
    color: #cfe0f5;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}


.footer__copyright .container {
    text-align: center;
    padding: 0 0 50px 0;
    /* background: #002047; */
    width: 100vw;
    color: #DFE1E7;
    font-size: 16px;
    line-height: 1.5;
}

.footer__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 32px;
    padding-top: 64px;
    padding-bottom: 48px;
    /* border-bottom: 1px solid rgba(255, 255, 255, .08); */
}

.footer h2.footer__hd {
    font-size: 18px;
    line-height: 1.5;
    color: #DFE1E7 !important;
    margin: 0 0 12px;
}

.footer__list {
    list-style: none;
    color: #DFE1E7 !important;
    margin: unset;
    font-size: 16px;

}

.footer__list li {
    margin: 8px 0;
    color: #DFE1E7;
    line-height: 150%;
}



.footer__badges {
  display: flex;
  justify-content: center;
  padding: 22px 0;
  flex-wrap: wrap;             /* allows wrap on small screens */
}

.footer__badge {
  width: 110px;
  height: 110px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  overflow: hidden;            /* keep images clipped into the circle */
}

.footer__badge img {
  width: 70%;                  /* scale inside the circle */
  height: 70%;
  object-fit: contain;
}

.footer__rating {
    text-align: center;
    margin: 8px 0 18px 0;
    color: #DFE1E7;
    font-size: 16px;
    line-height: 1.5;
}

.footer__social {
    display: flex;
    justify-content: center;
    gap: 14px;
    font-size: 18px;
    padding-top: 10px;
    padding-bottom: 32px;
}

.footer__social a {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #B6BBC8;
    color: #002047
}


.footer__illustration {
    width: 100%;
    background: #002047 url(/wp-content/uploads/footer-illustration.svg) no-repeat center top;
    background-size: cover;
    /* fit whole SVG, no crop */
    height: calc(100vw * 429 / 1440);
    /* proportional height */
    min-height: 180px;
    max-height: 500px;
    /* prevent it from blowing up */
}

.footer__copyright {
    position: absolute;
    bottom: -65px;
    /* lift it above the bottom edge of illustration */
    left: 0;
    width: 100%;
    text-align: center;
    color: #a9c0de;
    font-size: 12px;
    background: #002047;
}
@media screen and (min-width: 1920px) {
    .footer__copyright {
        bottom: inherit;
        padding-top: 56px;
    }
}
/* Responsive */
/* Tablet down */
@media (max-width: 1024px) {
    .footer__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .footer .container {
        padding: 32px 16px;
    }

    .footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .footer__illustration {
        height: 160px;
    }
}

@media (max-width: 480px) {

    .footer__badges {
        flex-wrap: wrap;
        gap: 8px;
    }

    .footer__badge {
        width: 72px;
        height: 72px;
    }

    .footer__illustration {
        height: 140px;
    }
}
@media (max-width: 400px) {
    .footer__grid {
        grid-template-columns: 1fr;
    }
}