.edu-footer {
  --ef-ink: #183650;
  --ef-copy: #465e75;
  --ef-line: #d9e6f1;
  --ef-link: #1d5386;
  width: min(95%, 90rem);
  scroll-margin-top: 9rem;
  margin: clamp(1.65rem, 4vw, 3rem) auto clamp(1.35rem, 3.5vw, 2.6rem);
  border: 1px solid var(--ef-line);
  border-radius: 1.05rem;
  background: #fff;
  color: var(--ef-copy);
  box-shadow: 0 12px 35px -32px #132c45;
}
.edu-footer a { text-decoration: none; }
.edu-footer a:focus-visible { outline: 2px solid #467eb5; outline-offset: 2px; }
.edu-footer__masthead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem 1.25rem;
  padding: .95rem clamp(.9rem, 2vw, 1.55rem);
  border-radius: calc(1.05rem - 1px) calc(1.05rem - 1px) 0 0;
  background: linear-gradient(115deg, #152b43 12%, #284c70 100%);
  color: #fff;
}
.edu-footer__identity { min-width: 0; display: flex; align-items: center; gap: .72rem; }
.edu-footer__identity strong { display: block; font-size: 1.04rem; font-weight: 780; }
.edu-footer__identity p { margin: .14rem 0 0; color: #d2e2f0; font-size: .77rem; line-height: 1.45; }
.edu-footer__mark { display: grid; flex: none; place-items: center; width: 2.58rem; height: 2.58rem; border-radius: .65rem; background: #eaf3fc; color: #224d73; }
.edu-footer__shortcuts,.edu-footer__actions { display: flex; flex-wrap: wrap; gap: .42rem; }
.edu-footer__shortcuts a,.edu-footer__actions a { display: inline-flex; align-items: center; gap: .42rem; min-height: 2rem; padding: .33rem .6rem; border: 1px solid transparent; border-radius: .36rem; font-size: .78rem; font-weight: 650; }
.edu-footer__shortcuts a { color: #f1f7ff; border-color: #819fbb; background: rgba(255,255,255,.085); }
.edu-footer__shortcuts a:first-child { color: #132f4d; background: #c7e3f9; border-color: #c7e3f9; }
.edu-footer__shortcuts a:hover { color: #142e49; background: #e8f5ff; border-color: #e8f5ff; }
.edu-footer__masthead a:focus-visible { outline-color: #e7f6ff; }
.edu-footer__panels { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(0,.82fr) minmax(0,1.35fr); gap: .72rem; padding: .8rem; }
.edu-footer__panel { min-width: 0; padding: .76rem .83rem; background: #f4f8fc; border: 1px solid #e1ebf4; border-radius: .65rem; }
.edu-footer__panel h2 { display: flex; align-items: center; gap: .43rem; margin: 0 0 .55rem; font-size: .86rem; font-weight: 760; color: var(--ef-ink); }
.edu-footer__panel h2::before { content: ''; display: block; width: .43rem; height: .43rem; border: 1px solid #3973a7; border-radius: .12rem; background: #d9ebf9; }
.edu-footer__directory,.edu-footer__network { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .13rem .63rem; padding: 0; margin: 0; list-style: none; }
.edu-footer__directory a { display: inline-flex; align-items: center; min-height: 1.75rem; font-size: .81rem; color: var(--ef-copy); }
.edu-footer__directory a:hover,.edu-footer__email:hover,.edu-footer__legal a:hover { text-decoration: underline; text-underline-offset: .2em; color: var(--ef-link); }
.edu-footer__network { gap: .34rem; }
.edu-footer__network a { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: .24rem; min-height: 1.85rem; padding: .25rem .42rem; border: 1px solid var(--ef-line); border-radius: .34rem; background: #fff; color: var(--ef-link); font-size: .75rem; overflow-wrap: anywhere; }
.edu-footer__network a:hover,.edu-footer__actions a:hover { background: #e9f2fc; border-color: #99b7d4; }
.edu-footer__contact p { margin: .33rem 0 0; font-size: .77rem; line-height: 1.47; }
.edu-footer__email { display: inline-flex; gap: .32rem; align-items: center; color: var(--ef-link); font-size: .95rem; font-weight: 740; overflow-wrap: anywhere; }
.edu-footer__contact .edu-footer__operator { margin-bottom: .65rem; }
.edu-footer__actions a { background: #fff; border-color: var(--ef-line); color: var(--ef-link); }
.edu-footer__legal { display: flex; gap: .35rem 1.3rem; justify-content: space-between; align-items: flex-start; padding: .65rem .9rem; border-top: 1px solid var(--ef-line); border-radius: 0 0 calc(1.05rem - 1px) calc(1.05rem - 1px); background: #f6f9fc; font-size: .72rem; line-height: 1.55; }
.edu-footer__legal p { margin: 0; }
.edu-footer__legal p + p { min-width: max-content; }
.edu-footer__legal a { color: var(--ef-link); }
@media (min-width: 1050px) {
  .edu-footer__directory { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 850px) {
  .edu-footer__masthead,.edu-footer__legal { align-items: flex-start; flex-direction: column; }
  .edu-footer__panels { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .edu-footer__panels > nav:last-child { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .edu-footer { width: calc(100% - 1.35rem); }
  .edu-footer__masthead { gap: .72rem; }
  .edu-footer__panels { grid-template-columns: minmax(0,1fr); padding: .58rem; gap: .48rem; }
  .edu-footer__legal p + p { min-width: 0; }
  .edu-footer__directory a,.edu-footer__network a,.edu-footer__shortcuts a,.edu-footer__actions a { min-height: 2.05rem; }
}
