.portal-footer, .portal-footer * {box-sizing:border-box}
.portal-footer .footer-container {
  width:min(100%,1240px); margin-inline:auto; padding-inline:clamp(16px,3vw,32px);
}
.portal-footer .source-marks {
  margin:0; padding:25px 0 27px; border:0; border-radius:0;
  background:#f4f7f0; color:#17344d; text-align:center;
}
.portal-footer .source-marks h2 {font-size:.84rem; line-height:1.4; margin:0 0 6px}
.portal-footer .source-notice {font-size:.8rem; color:#4a6273; margin:0 0 17px}
.portal-footer .source-marks .source-marks-grid {
  display:grid; grid-template-columns:repeat(4,minmax(0,175px)); justify-content:center; gap:clamp(9px,2vw,22px);
}
.portal-footer .source-mark {
  display:flex; min-height:65px; min-width:0; align-items:center; justify-content:center; flex-direction:column;
  gap:6px; padding:6px; box-shadow:none; border:0; color:#17344d; font-size:.72rem;
  font-weight:700; text-decoration:none; overflow-wrap:anywhere;
}
.portal-footer .source-mark :is(img, amp-img) {
  display:block; margin:0 auto; width:auto; max-width:100%; height:36px; object-fit:contain;
}
.portal-footer .source-mark amp-img {height:36px; width:min(100%,112px)}
.portal-footer .source-mark amp-img img {width:100%; height:100%; object-fit:contain}
.portal-footer .directory-shortcut {
  display:inline-block; margin-top:13px; font-size:.8rem; font-weight:650; color:#08664a;
}
.portal-footer .footer {
  position:relative; margin:0; padding:48px 0 20px; background:#123b31; color:#d6e3da;
}
.portal-footer .footer::before {
  content:""; position:absolute; inset:0 0 auto; height:4px;
  background:var(--gb-tricolor,linear-gradient(90deg,#009c3b 0 42%,#ffdf00 42% 58%,#0b3d91 58%));
}
.portal-footer .footer-grid {display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:clamp(20px,4vw,40px)}
.portal-footer .footer-grid > div {min-width:0; grid-column:auto}
.portal-footer .footer h2, .portal-footer .footer p, .portal-footer .footer a {font-size:.8rem; line-height:1.55}
.portal-footer .footer h2 {color:#f4f8ee; font-weight:700; margin:0 0 12px}
.portal-footer .footer p {color:#d0dfd4; margin:9px 0}
.portal-footer .footer a {display:block; color:#d0dfd4; text-decoration:none; margin:0 0 9px}
.portal-footer .footer a:hover, .portal-footer .source-mark:hover {text-decoration:underline}
.portal-footer .footer-brand {width:fit-content; max-width:100%}
.portal-footer .footer .foot-logo {display:block; width:175px; max-width:100%; height:auto; background:transparent; border:0; padding:0}
.portal-footer .footer-bottom {
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:10px 20px;
  border-top:1px solid #ffffff24; margin-top:27px; padding-top:17px; color:#d0dfd4; font-size:.8rem;
}
.portal-footer .footer-bottom a {margin:0; padding-block:6px}
.portal-footer a:focus-visible {outline:3px solid #e9b600; outline-offset:3px}
[data-theme=dark] .portal-footer .source-marks {color:#f4f8ee}
[data-theme=dark] .portal-footer .source-notice {color:#d0dfd4}
[data-theme=dark] .portal-footer .source-marks .source-mark {background:#f4f7fb!important}
[data-theme=dark] .portal-footer .directory-shortcut {color:#9ae4bd}
html[data-a11y-contrast="true"] .portal-footer .footer {background:#050505!important;color:#fff!important}
html[data-a11y-contrast="true"] .portal-footer :is(.footer p,.footer a,.footer-bottom) {color:#fff!important}
html[data-a11y-contrast="true"] .portal-footer .source-marks {background:#fff!important;color:#000!important}
html[data-a11y-contrast="true"] .portal-footer .source-marks :is(a,h2,p,span) {color:#000!important}
@media(max-width:820px){
  .portal-footer .footer-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:520px){
  .portal-footer .source-marks .source-marks-grid {grid-template-columns:repeat(2,minmax(0,175px))}
  .portal-footer .footer-grid {grid-template-columns:minmax(0,1fr)}
  .portal-footer .footer {padding-top:30px}
}
