/* v3.1 Mobile polish — targeted footer density and hero market-label alignment.
   All desktop rules and the site's business logic remain unchanged. */
@media (max-width: 760px) {
  /* Keep the geographic progression visibly grouped and centered. */
  .hero .hero-detail {
    display: flex !important;
    width: 100%;
    max-width: 100%;
    justify-content: center !important;
    align-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px !important;
    margin-inline: auto;
    text-align: center;
  }
  .hero .hero-detail span:not(.dash) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.4;
    padding: 8px 12px;
    max-width: 100%;
  }

  /* A compact, intentional footer hierarchy on phones. */
  footer.footer .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 19px;
    padding-block: 30px 22px;
  }
  footer.footer .footer-top > div:last-child {
    text-align: left;
    font-size: clamp(18px, 4.5vw, 22px) !important;
    line-height: 1.32;
    letter-spacing: -.4px;
  }
  footer.footer .footer-social-v28 {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 20px 0 22px;
  }
  footer.footer .footer-social-copy { gap: 5px; }
  footer.footer .footer-social-copy > span {
    font-size: 10px;
    letter-spacing: .1em;
  }
  footer.footer .footer-social-copy > strong {
    font-size: clamp(14px, 3.7vw, 18px);
    line-height: 1.3;
  }
  footer.footer .social-links-v28 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    width: 100%;
  }
  footer.footer .social-links-v28 a {
    width: 100%;
    min-width: 0;
    min-height: 45px;
    justify-content: center;
    padding: 9px 8px;
    gap: 7px;
    border-radius: 12px;
    font-size: 12px;
    line-height: 1.2;
  }
  footer.footer .social-links-v28 a svg { width: 19px; height: 19px; }
  footer.footer .footer-bottom {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    align-items: stretch;
    padding-block: 18px 0;
  }
  footer.footer .footer-bottom > span:first-child {
    grid-column: 1 / -1;
    justify-self: center;
    width: 100%;
    text-align: center;
    font-size: 11px;
    line-height: 1.5;
    margin-bottom: 2px;
  }
  footer.footer .footer-bottom > span:nth-child(2) { display: none; }
  footer.footer .footer-bottom > a {
    display: flex;
    align-items: center;
    min-width: 0;
    width: 100% !important;
    min-height: 44px;
    margin: 0 !important;
    padding: 9px 11px;
    border: 1px solid rgba(201, 236, 197, .14);
    border-radius: 10px;
    background: rgba(255, 255, 255, .035);
    color: #bbdbb5;
    text-decoration: none;
    line-height: 1.35;
    font-size: 12px;
    overflow-wrap: anywhere;
  }
  footer.footer .footer-bottom > a:hover,
  footer.footer .footer-bottom > a:focus-visible {
    color: #d9fa7b;
    border-color: rgba(217, 250, 123, .5);
  }

  /* Matching density for the RTL footer; no new content or URLs. */
  .ar-foot .ar-foot-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-block: 18px 6px;
  }
  .ar-foot .ar-foot-links a {
    display: flex;
    align-items: center;
    min-height: 42px;
    min-width: 0;
    padding: 8px 10px;
    border: 1px solid rgba(201, 236, 197, .16);
    border-radius: 10px;
    background: rgba(255, 255, 255, .035);
    font-size: 12px;
    line-height: 1.5;
  }
  .ar-foot .footer-social-v28 { gap: 14px; padding-block: 20px; }
  .ar-foot .social-links-v28 { gap: 9px; }
  .ar-foot .social-links-v28 a { min-height: 45px; }
  /* The legacy personal-branding footer link sits outside .ar-wrap. */
  .ar-foot > a {
    display: block;
    width: calc(100% - 36px);
    max-width: 1170px;
    margin: 14px auto 0;
    padding: 12px 10px;
    border-top: 1px solid rgba(201, 236, 197, .16);
    line-height: 1.55;
    font-size: 12px;
    overflow-wrap: anywhere;
    text-align: start;
  }
}
@media (max-width: 360px) {
  footer.footer .footer-bottom > a { font-size: 11px; padding-inline: 8px; }
  footer.footer .social-links-v28 a { font-size: 11px; }
}
