/* v22 — publication and responsive polish */

/* Never split action labels into multiple lines. */
.btn,
.btn-label,
.badge,
.lang-switch{white-space:nowrap}
.hero-actions .btn{white-space:nowrap}

/* Desktop origin: the crate belongs to the bottom-right composition, not a cropped card. */
@media (min-width:1025px){
  .origin{overflow:visible!important;isolation:isolate}
  .origin-layout{overflow:visible!important}
  .origin-crate{
    width:clamp(310px,24vw,390px)!important;
    right:clamp(-72px,-4vw,-28px)!important;
    bottom:-18px!important;
    z-index:1!important;
  }
  .origin-copy{z-index:2!important}
}

/* Tablet and phone: keep the hero badge compact and the map animation visible. */
@media (max-width:1024px){
  .hero-copy .badge{
    max-width:100%;
    min-height:28px!important;
    padding:0 11px!important;
    font-size:9px!important;
    letter-spacing:.045em!important;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .hero-actions .btn{min-width:0!important}
}

/* The mobile origin uses a calm white canvas; spacing protects the worker's face. */
@media (max-width:767px){
  .origin{background:#fff!important}
  .origin-layout{padding-top:6px!important}
  .origin-photo-wrap{margin-top:8px!important}
  .origin-photo{object-position:center 32%!important}
  .talsa-link{text-align:center!important}
  .origin-copy h2 span{display:block!important;color:#89bc00!important;margin-top:2px!important}
  .footer-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:30px 20px!important}
  .footer-brand{grid-column:1/-1!important}
  .footer-contact{grid-column:1/-1!important}
}
@media (max-width:390px){
  .footer-grid{grid-template-columns:1fr!important}
  .footer-brand,.footer-contact{grid-column:auto!important}
}

/* Footer links are a text hierarchy, not separate cards. */
.site-footer .footer-grid>div{background:transparent!important;box-shadow:none!important;border:0!important;padding:0!important}
.footer-icon-link{display:flex!important;align-items:flex-start;gap:8px!important;min-width:0}
.footer-icon-link img{width:14px;height:14px;flex:0 0 14px;object-fit:contain;filter:brightness(0) invert(1);margin-top:2px}
.footer-icon-link{overflow-wrap:anywhere}
