/* Networkr 2027 · Mobile/footer alignment and ecommerce spacing · 2026-11-20
   Presentation-only overrides. GA4, contact and navigation scripts remain unchanged. */

/* Footer: all five items share the same typographic rhythm and tap geometry. */
footer.wrap .footer-bottom {
  align-items:center;
  gap:clamp(12px,2vw,24px);
}
footer.wrap .footer-bottom > span {
  font-size:12px;
  line-height:1.5;
}
footer.wrap .footer-bottom > .language-link,
footer.wrap .footer-bottom > button {
  appearance:none;
  -webkit-appearance:none;
  display:inline-flex;
  justify-content:flex-start;
  align-items:center;
  flex:0 0 auto;
  min-height:44px;
  margin:0;
  padding:10px 0;
  border:0;
  border-radius:0;
  background:transparent;
  color:#fff;
  box-shadow:none;
  font:500 12px/1.5 Geist,Arial,sans-serif;
  white-space:nowrap;
  text-align:left;
  text-decoration:none;
}
/* Explicitly defeat the old 1px white rule beneath Privacy. */
footer.wrap .footer-bottom > #privacy-button {
  border:0;
  border-bottom:0;
  background:transparent;
  padding:10px 0;
  min-height:44px;
  line-height:1.5;
  font-size:12px;
  font-weight:500;
}
footer.wrap .footer-bottom > .language-link:hover,
footer.wrap .footer-bottom > button:hover,
footer.wrap .footer-bottom > #privacy-button:hover {
  border:0;
  color:var(--lime);
  text-decoration:underline;
  text-underline-offset:4px;
}
footer.wrap .footer-bottom > .language-link:focus-visible,
footer.wrap .footer-bottom > button:focus-visible {
  outline:2px solid var(--lime);
  outline-offset:3px;
  box-shadow:none;
}
@media(max-width:639px){
  footer.wrap .footer-bottom {
    display:grid;
    grid-template-columns:repeat(3,max-content);
    justify-content:space-between;
    align-items:center;
    gap:2px 12px;
    padding:18px 0 22px;
  }
  footer.wrap .footer-bottom > span:first-child {
    grid-row:1;
    grid-column:1 / 3;
    white-space:nowrap;
    font-size:11px;
  }
  footer.wrap .footer-bottom > span:nth-child(2) {
    grid-row:1;
    grid-column:3;
    justify-self:end;
    white-space:nowrap;
    font-size:11px;
  }
  footer.wrap .footer-bottom > .language-link {grid-row:2;grid-column:1;}
  footer.wrap .footer-bottom > #privacy-button {grid-row:2;grid-column:2;}
  footer.wrap .footer-bottom > .nr-analytics-prefs {grid-row:2;grid-column:3;justify-self:end;}
}

/* E-commerce: keep visuals and calls to action away from section edges. */
.commerce-page .commerce-case-figure {
  width:100%;
  max-width:540px;
  justify-self:center;
  margin-inline:auto;
}
.commerce-page .commerce-ticket-visual {
  justify-self:center;
  width:min(calc(100% - 32px),440px);
  transform:rotate(-2deg);
  box-shadow:12px 16px 0 rgba(0,20,30,.12);
}
.commerce-page .commerce-final-actions {
  margin-inline-end:clamp(0px,1vw,16px);
}
.commerce-page .commerce-actions .button,
.commerce-page .commerce-final-actions .button {max-width:100%;}
@media(max-width:800px){
  .commerce-page .commerce-case-figure {justify-self:center;}
  .commerce-page .commerce-final-actions {margin-inline-end:0;}
}
@media(max-width:639px){
  /* 24px gutters on small screens, including the header and CTA. */
  .commerce-page .wrap,
  .commerce-page .site-header {width:calc(100% - 48px);}
  .commerce-page .commerce-case-figure {
    width:calc(100% - 12px);
    max-width:none;
    margin-inline:auto;
  }
  .commerce-page .commerce-ticket-visual {
    width:calc(100% - 28px);
    max-width:390px;
    justify-self:center;
    transform:rotate(-2deg);
    box-shadow:10px 14px 0 rgba(0,20,30,.12);
  }
  .commerce-page .commerce-final-actions {width:100%;max-width:100%;}
  .commerce-page .commerce-final-actions .button {
    box-sizing:border-box;
    width:100%;
  }
}

/* Statistics preference inherits a compact 36px button from the analytics skin.
   Equalize it to the neighboring links without changing its click behavior. */
footer.wrap .footer-bottom button.nr-analytics-prefs {
  appearance:none;
  -webkit-appearance:none;
  background:transparent!important;
  color:#fff!important;
  border:0!important;
  padding:10px 0!important;
  min-height:44px!important;
  box-shadow:none!important;
  font:500 12px/1.5 Geist,Arial,sans-serif!important;
  text-decoration:none!important;
}
footer.wrap .footer-bottom button.nr-analytics-prefs:hover,
footer.wrap .footer-bottom button.nr-analytics-prefs:focus-visible {
  color:var(--lime)!important;
  text-decoration:underline!important;
  text-underline-offset:4px;
}
/* The mid-size viewport should show the ticket below its text rather than
   squeezing it against the right edge of a narrow second column. */
@media(min-width:640px) and (max-width:800px){
  .commerce-page .commerce-connected-inner{grid-template-columns:minmax(0,1fr);gap:48px;}
  .commerce-page .commerce-ticket-visual{width:min(calc(100% - 48px),440px);}
}
