/* Approved Hello Elementor header and footer, adapted to the classic theme. */
body.institutum-sapientiae-theme .site-header,
body.institutum-sapientiae-theme .site-header.is-scrolled {
  background: linear-gradient(110deg, #0a1830 90%, #1e4577 90%);
  color: rgba(255,255,255,.9);
  box-shadow: none;
  backdrop-filter: none;
}
body.institutum-sapientiae-theme .site-header .container {
  max-width: 1200px;
}
body.institutum-sapientiae-theme .header-row {
  min-height: 156px;
  padding-block: 14px;
  gap: 24px;
}
body.institutum-sapientiae-theme .site-brand {
  flex: none;
  min-width: 0;
}
body.institutum-sapientiae-theme .site-brand > a.he-brand-link:first-child {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  color: #fff;
}
body.institutum-sapientiae-theme .he-brand-image {
  display: block;
  flex: none;
  width: var(--he-brand-width, 80px);
  height: auto;
  max-width: none;
  border: 1px solid rgba(231,205,127,.9);
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
body.institutum-sapientiae-theme .site-brand .brand-name {
  display: block;
  max-width: 160px;
  color: #fff;
  font: 700 20px/1.12 Georgia,serif;
}
body.institutum-sapientiae-theme .desktop-nav .nav-list > li > a {
  padding: 10px 11px;
  color: rgba(255,255,255,.9);
  font: 400 13px/1.4 Georgia,serif;
}
body.institutum-sapientiae-theme .desktop-nav .nav-list > li > a:hover,
body.institutum-sapientiae-theme .desktop-nav .nav-list > li:focus-within > a,
body.institutum-sapientiae-theme .desktop-nav .current-menu-item > a,
body.institutum-sapientiae-theme .desktop-nav .current_page_item > a {
  color: #ffd452;
}
body.institutum-sapientiae-theme .header-cta {
  min-width: 174px;
  min-height: 38px;
  padding: 9px 24px;
  border-radius: 99px;
  background: #c9a227;
  color: #0a1830;
  font: 700 14px/1.35 Georgia,serif;
  box-shadow: none;
}
body.institutum-sapientiae-theme .header-cta:hover {
  background: #d9b64a;
}
body.institutum-sapientiae-theme .header-rule {
  height: 1px;
  background: rgba(201,162,39,.55);
  opacity: 1;
}

body.institutum-sapientiae-theme .he-site-footer {
  background: #0a1830;
  border-top: 2px solid #c9a227;
  color: rgba(255,255,255,.9);
  font-family: Georgia,serif;
}
body.institutum-sapientiae-theme .he-site-footer .footer-main {
  max-width: 1140px;
  padding-top: 64px;
}
body.institutum-sapientiae-theme .he-footer-identity {
  padding-bottom: 42px;
}
body.institutum-sapientiae-theme .he-footer-logo {
  display: flex;
  width: fit-content;
  margin: 0 auto 22px;
}
body.institutum-sapientiae-theme .he-footer-logo .he-brand-image {
  box-shadow: none;
}
body.institutum-sapientiae-theme .he-site-footer h2 {
  margin: 0 0 16px;
  color: #e7cd7f;
  font: 500 24px/1.3 Georgia,serif;
}
body.institutum-sapientiae-theme .he-footer-identity p {
  margin: 0 0 22px;
  color: rgba(255,255,255,.77);
  font-size: 15px;
  line-height: 1.65;
}
body.institutum-sapientiae-theme .he-footer-identity p strong {
  color: #fff;
}
body.institutum-sapientiae-theme .he-footer-identity p a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
body.institutum-sapientiae-theme .he-footer-identity .institutum-location {
  margin-top: 4px;
  color: #fff;
  font-size: 15px;
}
body.institutum-sapientiae-theme .he-footer-navigation {
  padding: 12px 0 40px;
  border-top: 1px solid rgba(255,255,255,.1);
}
body.institutum-sapientiae-theme .he-footer-navigation .footer-links,
body.institutum-sapientiae-theme .he-footer-navigation .nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
body.institutum-sapientiae-theme .he-footer-navigation li {
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin: 0;
}
body.institutum-sapientiae-theme .he-footer-navigation li a {
  display: block;
  padding: 11px 0;
  color: rgba(255,255,255,.9);
  font-weight: 700;
}
body.institutum-sapientiae-theme .he-site-footer a:hover,
body.institutum-sapientiae-theme .he-site-footer a:focus-visible {
  color: #ffd452;
}
body.institutum-sapientiae-theme .he-footer-contact {
  padding-top: 8px;
}
body.institutum-sapientiae-theme .he-footer-contact .footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
body.institutum-sapientiae-theme .he-footer-contact li {
  margin: 0 0 18px;
  color: #fff;
  font-size: 14px;
  line-height: 1.55;
}
body.institutum-sapientiae-theme .he-footer-contact li strong {
  color: #fff;
}
body.institutum-sapientiae-theme .he-site-footer .footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-top: 46px;
  padding: 26px 0 34px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.58);
  font-size: 13px;
  line-height: 1.4;
}
body.institutum-sapientiae-theme .he-site-footer .footer-bottom span:last-child {
  color: #e7cd7f;
  font: italic 15px/1.4 Georgia,serif;
}

@media (max-width: 1080px) {
  body.institutum-sapientiae-theme .header-row { min-height: 112px; }
  body.institutum-sapientiae-theme .site-brand .he-brand-image { width: min(var(--he-brand-width, 80px), 62px); }
  body.institutum-sapientiae-theme .site-brand .brand-name { font-size: 19px; }
  body.institutum-sapientiae-theme .menu-open { display: flex; flex-direction: column; }
  body.institutum-sapientiae-theme .menu-open span { background: #fff; }
}
@media (max-width: 620px) {
  body.institutum-sapientiae-theme .header-row { min-height: 88px; padding-block: 6px; gap: 12px; }
  body.institutum-sapientiae-theme .he-brand-link { gap: 12px; }
  body.institutum-sapientiae-theme .site-brand .he-brand-image { width: min(var(--he-brand-width, 80px), 48px); height: auto; }
  body.institutum-sapientiae-theme .site-brand .brand-name { font-size: 17px; }
  body.institutum-sapientiae-theme .he-site-footer .footer-main { padding-top: 48px; }
  body.institutum-sapientiae-theme .he-footer-logo .he-brand-image { width: min(var(--he-brand-width, 110px), 100px); }
  body.institutum-sapientiae-theme .he-footer-identity { padding-bottom: 25px; }
  body.institutum-sapientiae-theme .he-footer-navigation { padding-bottom: 30px; }
  body.institutum-sapientiae-theme .he-site-footer .footer-bottom { flex-direction: column; align-items: flex-start; text-align: left; margin-top: 28px; }
}
