/* Homepage UX polish — mobile plan action and tablet-friendly footer */
.nav .links .ss-mobile-plan { display: none; }
@media (max-width: 1100px) {
  .nav .links.open {
    max-height: calc(100dvh - 82px);
    overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 120;
    padding-bottom: 28px;
  }
  .nav .links.open .ss-mobile-plan {
    order: -1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 50px;
    border-radius: 7px;
    background: #D4AA50;
    color: #283136;
    font-weight: 850;
    font-size: 14px;
    text-align: center;
    letter-spacing: .01em;
    padding: 13px 20px;
    margin-bottom: 5px;
  }
  .nav .links.open .ss-mobile-plan:hover,
  .nav .links.open .ss-mobile-plan:focus-visible { background: #e7bd63; }
}
@media (max-width: 1080px) {
  footer .foot-main { flex-wrap: wrap; gap: 25px; }
  footer .foot-main .foot-links {
    display: flex;
    flex: 1 1 100%;
    min-width: 0;
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: baseline;
    column-gap: 25px;
    row-gap: 14px;
  }
  footer .foot-main .retained-footer-links { display: contents; }
  footer .foot-main .foot-links a { display: inline-block; }
}
@media (max-width: 790px) {
  .nav .links.open {max-height: calc(100dvh - 76px);}
  footer .foot-main .foot-links {column-gap: 22px;row-gap: 14px;}
}
@media (max-width: 420px) {
  footer .foot-main .foot-links {font-size: 12px;column-gap: 18px;}
}
