/* One header geometry for public pages and the account shell. */
:root { --eur-header-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; }
.eur-student-footer {
  border-top: 1px solid var(--eur-design-border);
  background: var(--eur-design-surface);
  color: var(--eur-design-subtle);
  font-size: 14px;
}
.eur-student-footer-inner {
  box-sizing: border-box; width: 100%; max-width: 1240px; margin: auto;
  padding: 14px 32px; display: flex; align-items: center;
  justify-content: space-between; gap: 8px 24px; flex-wrap: wrap;
}
.eur-student-footer nav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.eur-student-footer a {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--eur-design-subtle); text-decoration: none;
}
.eur-student-footer a:hover { color: var(--eur-design-text); text-decoration: underline; }
.eur-student-footer a:focus-visible { outline: 2px solid var(--eur-design-link); outline-offset: 3px; }
@media (max-width: 600px) {
  .eur-student-footer-inner { padding: 16px 20px; flex-direction: column; align-items: flex-start; }
  .eur-student-footer nav { column-gap: 20px; }
}
.eur-public-header,
.eur-public-header * { box-sizing: border-box; }
.eur-public-header {
  position: sticky; top: 0; z-index: 950;
  background: var(--eur-design-surface); border-bottom: 1px solid var(--eur-design-border);
  color: var(--eur-design-text);
  font-family: var(--eur-header-font);
}
.admin-bar .eur-public-header { top: 32px; }
.eur-public-nav {
  width: 100%; max-width: none; min-height: 76px;
  padding: 12px 32px; margin: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.eur-public-logo { display: block; flex: 0 0 150px; }
.eur-public-logo img { display: block; width: 150px; height: 38px; object-fit: contain; }
.eur-public-menu { display: flex; flex: 1 1 auto; min-width: 0; align-items: center; justify-content: center; gap: 24px; }
.eur-public-menu--account { justify-content: flex-end; padding-right: 24px; }
:is(.eur-public-header,.eur-focus-site-controls) a { text-decoration: none; color: var(--eur-design-text); font-size: 15px; font-weight: 650; line-height: 1.4; }
:is(.eur-public-header,.eur-focus-site-controls) a:hover,
:is(.eur-public-header,.eur-focus-site-controls) a[aria-current=page] { color: var(--eur-design-link); }
:is(.eur-public-header,.eur-focus-site-controls) :is(a,button,summary):focus-visible { outline: 3px solid var(--eur-design-link); outline-offset: 4px; }
.eur-public-menu > a { padding-block: 12px; }
.eur-nav-group { position: relative; border: 0; }
.eur-nav-group summary { display: flex; align-items: center; gap: 6px; list-style: none; cursor: pointer; font-size: 15px; font-weight: 650; padding-block: 12px; }
.eur-nav-group summary::-webkit-details-marker { display: none; }
.eur-nav-chevron { display: inline-flex; flex: 0 0 12px; width: 12px; height: 12px; line-height: 0; transform-origin: center; }
.eur-nav-chevron svg { display: block; width: 12px; height: 12px; }
.eur-nav-group > div {
  position: absolute; top: 100%; left: -20px; width: 230px; padding: 10px;
  border: 1px solid var(--eur-design-border); border-radius: 12px;
  background: var(--eur-design-surface); box-shadow: 0 16px 34px rgba(0,0,0,.1);
}
.eur-nav-group > div a { display: block; padding: 10px 14px; border-radius: 8px; }
.eur-nav-group > div a:hover { background: var(--eur-design-soft-bg); }
.eur-public-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 12px; }
.eur-public-account { white-space: nowrap; }
.eur-public-burger,
.eur-public-menu > .eur-mobile-account { display: none; }

@media (max-width: 1100px) {
  .eur-public-nav { gap: 20px; }
  .eur-public-menu { gap: 14px; }
  :is(.eur-public-header,.eur-focus-site-controls) a,
  .eur-nav-group summary { font-size: 14px; }
}

@media (max-width: 960px) {
  .eur-public-nav { min-height: 64px; padding: 10px 20px; gap: 12px; }
  .eur-public-logo { flex-basis: 120px; }
  .eur-public-logo img { width: 120px; height: 31px; }
  .eur-public-actions { margin-left: auto; gap: 12px; }
  .eur-public-account { display: none; }
  .eur-public-burger {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 10px; border: 0; border-radius: 8px;
    background: none; color: var(--eur-design-text); cursor: pointer;
  }
  .eur-public-burger span { display: block; width: 24px; height: 2px; background: currentColor; transition: transform .2s; }
  .eur-public-header .eur-public-burger:is(:hover,:focus) { background: var(--eur-design-soft-bg); color: var(--eur-design-text); }
  .eur-public-burger[aria-expanded=true] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .eur-public-burger[aria-expanded=true] span:nth-child(2) { opacity: 0; }
  .eur-public-burger[aria-expanded=true] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .eur-public-menu {
    display: none; position: absolute; top: 100%; left: 0; width: 100%;
    max-height: calc(100dvh - 64px); padding: 20px 20px 32px; overflow-y: auto;
    background: var(--eur-design-surface); border-bottom: 1px solid var(--eur-design-border);
  }
  .eur-public-menu.is-open { display: block; }
  .eur-public-menu > a,
  .eur-public-menu > .eur-mobile-account,
  .eur-nav-group summary { display: flex; padding-block: 16px; font-size: 18px; border-bottom: 0; }
  .eur-nav-group > div { position: static; width: 100%; margin-bottom: 8px; box-shadow: none; background: var(--eur-design-soft-bg); }
}

@media (max-width: 782px) {
  .admin-bar .eur-public-header { top: 46px; }
}
