/* R504D: bottom-right alignment of official site; nonpublic release candidate.
   Desktop footer visual hierarchy and safe copyright margins. */
@media (min-width:1200px) {
  body.r207-home footer.r207-footer {
    display:grid;
    grid-template-columns:minmax(220px,.75fr) minmax(0,2fr);
    gap:22px clamp(22px,3.6vw,64px);
    align-items:center;
    padding:42px clamp(32px,5vw,96px) 30px;
  }
  body.r207-home footer.r207-footer > .r207-footer-brand {
    grid-column:1;grid-row:1;max-width:270px;
  }
  body.r207-home footer.r207-footer > nav {
    grid-column:2;grid-row:1;
    width:100%;display:flex;justify-content:flex-end;
    flex-wrap:wrap;gap:6px clamp(14px,1.25vw,24px);
    margin:0;
  }
  body.r207-home footer.r207-footer nav a {
    font-size:clamp(15px,1.04vw,18px)!important;
    line-height:1.5!important;
    min-height:46px;
    display:inline-flex;align-items:center;white-space:nowrap;
  }
  body.r207-home footer.r207-footer > small {
    grid-column:1/-1;grid-row:2;
    justify-self:end;align-self:center;
    margin-right:0;
    padding-right:0;
    font-size:12px!important;
    line-height:1.55;
  }
}
@media (min-width:768px) and (max-width:1199px) {
  body.r207-home footer.r207-footer {
    display:flex;
    align-items:center;justify-content:space-between;
    gap:18px 28px;flex-wrap:wrap;
    padding:34px clamp(26px,4vw,55px);
  }
  body.r207-home footer.r207-footer > nav {
    margin:0;
    gap:8px 16px;
    justify-content:flex-end;
  }
  body.r207-home footer.r207-footer > small {
    margin-left:auto;
    width:100%;
    text-align:right;
    font-size:12px!important;
  }
}
@media (max-width:767px) {
  body.r207-home footer.r207-footer {
    display:block;
    padding:38px 20px 104px;
  }
  body.r207-home footer.r207-footer nav {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:0 18px;
    margin:24px 0 0;
  }
  body.r207-home footer.r207-footer nav a {
    display:flex;
    align-items:center;
    justify-content:flex-start;
    min-height:50px;
    padding:10px 0;
    border-bottom:1px solid #c9d8e6;
    font-size:14px!important;
    line-height:1.5;
    white-space:nowrap;
  }
  body.r207-home footer.r207-footer > small {
    display:block;
    text-align:left;
    margin-top:30px;
    font-size:12px!important;
    line-height:1.65;
  }
  body.r207-home .r207-top-link.r207-shown {
    right:16px;
    bottom:16px;
  }
}
@media (min-width:768px) {
  body.la-subpage .site-footer .footer-main {
    align-items:start;
    column-gap:clamp(30px,4vw,80px);
  }
  body.la-subpage .site-footer .footer-main nav {
    row-gap:12px;
    column-gap:clamp(22px,2.1vw,37px);
    align-content:start;
    justify-content:end;
  }
  body.la-subpage .site-footer .footer-bottom {
    align-items:center;
    min-height:48px;
    gap:16px;
    line-height:1.5;
  }
  body.la-subpage .site-footer .footer-bottom > :last-child {
    margin-left:auto;
    text-align:right;
  }
}
