/* DeskStock header & footer (Kepler College look). Colours come from the settings (--dsf-*). Every rule is prefixed so a theme cannot restyle it. */
.ds-frame-head, .ds-frame-foot { box-sizing: border-box; font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-size: 15px; line-height: 1.4; }
.ds-frame-head *, .ds-frame-foot * { box-sizing: border-box; }
.ds-frame-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ds-frame-head ul, .ds-frame-foot ul { margin: 0; padding: 0; list-style: none; }
.ds-frame-head li, .ds-frame-foot li { margin: 0; padding: 0; }

/* ---------- Header ---------- */
.ds-frame-head { position: relative; z-index: 900; border-top: 4px solid #152d47; background: var(--dsf-head, #fff); box-shadow: 0 1px 0 rgba(0, 0, 0, .08); color: #172231; }
.ds-frame-head.is-sticky { position: sticky; top: 0; }
body.admin-bar .ds-frame-head.is-sticky { top: 32px; }
.ds-frame-head__in { display: flex; align-items: center; gap: 24px; max-width: 1240px; margin: 0 auto; padding: 10px 24px; min-height: 72px; }
.ds-frame-head a { text-decoration: none; }
.ds-frame-logo { display: inline-flex; align-items: center; flex: none; color: #224973; font-size: 1.35rem; font-weight: 800; line-height: 1.1; }
.ds-frame-logo__img { display: block; width: auto; height: 44px; max-width: 220px; object-fit: contain; }
.ds-frame-panel { display: flex; align-items: center; flex: 1 1 auto; gap: 16px; min-width: 0; }
.ds-frame-nav { flex: 1 1 auto; }
.ds-frame-menu { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 6px; }
.ds-frame-menu__item { position: relative; display: flex; align-items: center; }
.ds-frame-head .ds-frame-menu__item > a { display: block; padding: 10px 6px 10px 12px; color: #172231; font-size: 14px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.ds-frame-head .ds-frame-menu__item:not(.has-sub) > a { padding-right: 12px; }
.ds-frame-head .ds-frame-menu__item > a:hover { color: var(--dsf-btn, #41b45e); }
.ds-frame-head .ds-frame-sub { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 32px; margin: 0 4px 0 0; padding: 0; border: 0; border-radius: 4px; background: transparent; color: #172231; cursor: pointer; box-shadow: none; text-transform: none; }
.ds-frame-head .ds-frame-sub svg { transition: transform .15s ease; }
.ds-frame-menu__item.is-open > .ds-frame-sub svg { transform: rotate(180deg); }
.ds-frame-sublist { position: absolute; left: 0; top: 100%; z-index: 5; display: none; min-width: 220px; padding: 8px 0; border-top: 3px solid var(--dsf-btn, #41b45e); border-radius: 0 0 6px 6px; background: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .18); }
.ds-frame-menu__item.is-open > .ds-frame-sublist { display: block; }
@media (hover: hover) and (min-width: 901px) { .ds-frame-menu__item.has-sub:hover > .ds-frame-sublist { display: block; } }
.ds-frame-head .ds-frame-sublist a { display: block; padding: 9px 18px; color: #172231; font-size: 14px; font-weight: 600; text-transform: none; }
.ds-frame-head .ds-frame-sublist a:hover { background: #eaf1f6; color: #0e4d72; }
.ds-frame-head a:focus-visible, .ds-frame-head button:focus-visible, .ds-frame-foot a:focus-visible, .ds-frame-search input:focus-visible { outline: 3px solid #fdb813; outline-offset: 2px; }
.ds-frame-tools { display: flex; align-items: center; flex: none; gap: 12px; }
.ds-frame-head .ds-frame-searchbtn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #172231; cursor: pointer; box-shadow: none; }
.ds-frame-head .ds-frame-searchbtn:hover { background: #eaf1f6; }
.ds-frame-head .ds-frame-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 8px 22px; border-radius: 999px; background: var(--dsf-btn, #41b45e); color: #fff; font-size: 14px; font-weight: 700; letter-spacing: 0; text-transform: none; white-space: nowrap; }
.ds-frame-head .ds-frame-cta:hover { filter: brightness(.92); color: #fff; }
.ds-frame-search { display: flex; gap: 10px; max-width: 1240px; margin: 0 auto; padding: 0 24px 14px; }
.ds-frame-search[hidden] { display: none; }
.ds-frame-search input { flex: 1 1 auto; height: 44px; padding: 0 14px; border: 2px solid #224973; border-radius: 4px; background: #fff; color: #172231; font: inherit; font-size: 16px; box-shadow: none; }
.ds-frame-search button { height: 44px; padding: 0 22px; border: 0; border-radius: 4px; background: #224973; color: #fff; font: inherit; font-weight: 700; cursor: pointer; box-shadow: none; text-transform: none; }
.ds-frame-head .ds-frame-burger { display: none; width: 44px; height: 44px; margin-left: auto; padding: 0; border: 0; border-radius: 6px; background: transparent; cursor: pointer; box-shadow: none; }
.ds-frame-burger__bars, .ds-frame-burger__bars::before, .ds-frame-burger__bars::after { display: block; width: 24px; height: 3px; border-radius: 2px; background: #172231; content: ""; position: relative; margin: 0 auto; transition: transform .18s ease, background .18s ease; }
.ds-frame-burger__bars::before { position: absolute; top: -8px; left: 0; }
.ds-frame-burger__bars::after { position: absolute; top: 8px; left: 0; }
.ds-frame-burger[aria-expanded="true"] .ds-frame-burger__bars { background: transparent; }
.ds-frame-burger[aria-expanded="true"] .ds-frame-burger__bars::before { transform: translateY(8px) rotate(45deg); }
.ds-frame-burger[aria-expanded="true"] .ds-frame-burger__bars::after { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 900px) {
  body.admin-bar .ds-frame-head.is-sticky { top: 46px; }
  .ds-frame-head__in { flex-wrap: wrap; gap: 0 12px; padding: 8px 16px; min-height: 64px; }
  .ds-frame-head .ds-frame-burger { display: inline-flex; align-items: center; justify-content: center; }
  .ds-frame-panel { display: none; flex-direction: column; align-items: stretch; flex: 1 0 100%; gap: 8px; padding: 6px 0 14px; border-top: 1px solid #e3e8ee; max-height: calc(100vh - 90px); overflow-y: auto; }
  .ds-frame-panel.is-open { display: flex; }
  .ds-frame-menu { flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; }
  .ds-frame-menu__item { flex-wrap: wrap; border-bottom: 1px solid #eef1f5; }
  .ds-frame-head .ds-frame-menu__item > a { flex: 1 1 auto; padding: 14px 4px; font-size: 16px; }
  .ds-frame-head .ds-frame-menu__item:not(.has-sub) > a { padding-right: 4px; }
  .ds-frame-head .ds-frame-sub { width: 44px; height: 44px; }
  .ds-frame-sublist { position: static; flex: 1 0 100%; min-width: 0; padding: 0 0 8px 14px; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
  .ds-frame-head .ds-frame-sublist a { padding: 11px 6px; font-size: 15px; }
  .ds-frame-tools { justify-content: space-between; padding-top: 6px; }
  .ds-frame-head .ds-frame-cta { flex: 1 1 auto; min-height: 46px; }
  .ds-frame-search { padding: 0 16px 12px; }
}

/* ---------- Footer ---------- */
.ds-frame-foot { background: var(--dsf-foot, #152d47); color: #fff; }
.ds-frame-foot__in { max-width: 1240px; margin: 0 auto; padding: 44px 24px 24px; }
.ds-frame-foot__top { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 32px; }
.ds-frame-foot a { color: #fff; text-decoration: none; font-weight: 400; }
.ds-frame-foot a:hover { text-decoration: underline; }
.ds-frame-logo--foot { margin: 0 0 22px; color: #fff; }
.ds-frame-logo__img.is-mono { filter: brightness(0) invert(1); height: 40px; }
.ds-frame-foot__addr, .ds-frame-foot__contact { margin: 0 0 14px; font-size: 14px; line-height: 1.7; color: #fff; }
.ds-frame-foot__h { margin: 0 0 14px; padding: 0; color: #fff !important; font-family: inherit; font-size: 15px !important; font-weight: 700; line-height: 1.3 !important; letter-spacing: 0 !important; text-transform: none !important; }
.ds-frame-foot__col li { margin: 0 0 10px; font-size: 14px; }
.ds-frame-social { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 30px 0 24px !important; }
.ds-frame-foot .ds-frame-social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: #224973; }
.ds-frame-foot .ds-frame-social a:hover { background: #fdb813; text-decoration: none; }
.ds-frame-foot__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .22); font-size: 12.5px; }
.ds-frame-foot__copy { margin: 0; color: #fff; }
.ds-frame-foot__legal { display: flex; flex-wrap: wrap; gap: 6px 22px; }
@media (max-width: 900px) { .ds-frame-foot__top { grid-template-columns: 1fr 1fr; } .ds-frame-foot__about { grid-column: 1 / -1; } }
@media (max-width: 520px) { .ds-frame-foot__top { grid-template-columns: 1fr; gap: 24px; } .ds-frame-foot__in { padding: 34px 18px 20px; } }
@media (prefers-reduced-motion: reduce) { .ds-frame-sub svg, .ds-frame-burger__bars, .ds-frame-burger__bars::before, .ds-frame-burger__bars::after { transition: none; } }

/* themes that capitalise / underline every link must not touch these */
.ds-frame-head, .ds-frame-foot, .ds-frame-head a, .ds-frame-foot a, .ds-frame-head li, .ds-frame-foot li, .ds-frame-foot p { text-transform: none; letter-spacing: normal; }
.ds-frame-foot a { text-decoration: none; }
.ds-frame-foot a:hover { text-decoration: underline; }
