/* Liberty.Foundation responsive repairs – 2026-11-09 */
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
section[id] { scroll-margin-top: 84px; }
/* Replace the thumbnail-sized background with the supplied full-size banner. */
#header1-0.cid-qVlIYHtq4q {
  background-image: url("images/mother-teresa-3notxt-1280x512.jpg");
  background-color: #10142b;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}
/* Header text must stay readable against the background artwork. */
#header1-0 .mbr-white { text-shadow: 0 1px 3px rgba(0,0,0,.7); }
#header1-0 .mbr-text { color: #fff !important; text-align: center; }
/* Menu behavior is explicitly controlled by liberty-menu.js on all devices. */
.menu nav .navbar-toggler { cursor: pointer; }
.menu nav .nav-item.dropdown { position: relative; }
.menu nav .nav-item.dropdown > .dropdown-menu { display: none; }
.menu nav .nav-item.dropdown.is-open > .dropdown-menu { display: block !important; }
.menu nav .nav-item.dropdown > .dropdown-toggle { cursor: pointer; }
.menu nav .dropdown-menu { z-index: 10000; }
.menu nav .dropdown-item { white-space: normal; }
@media (max-width: 991.98px) {
  #header1-0.cid-qVlIYHtq4q {
    /* On small screens, show the complete portrait rather than cropping it with cover. */
    background-image: url("images/mother-teresa-4-3da-272x257.jpg");
    background-size: auto 240px;
    background-position: center 84px;
    background-color: #10142b;
    min-height: 0 !important;
    padding: 335px 12px 48px !important;
  }
  #header1-0 > .container { padding: 0 10px; }
  #header1-0 .mbr-section-title { font-size: clamp(1.65rem, 7vw, 2.5rem) !important; line-height: 1.17; margin: 0; }
  #header1-0 .mbr-section-title br { display: none; }
  #header1-0 .mbr-section-subtitle { font-size: clamp(1.15rem, 4.6vw, 1.65rem) !important; line-height: 1.35; }
  #header1-0 .mbr-text { font-size: 1rem !important; line-height: 1.55; }
  .menu .navbar-collapse { display: none !important; width: 100%; flex-basis: 100%; }
  .menu .navbar-collapse.liberty-expanded { display: block !important; }
  .menu nav .navbar-toggler { display: block !important; }
  .menu nav .navbar-nav { max-height: calc(100dvh - 80px); overflow-y: auto; overscroll-behavior: contain; padding-bottom: 15px; }
  .menu nav .nav-item.dropdown > .dropdown-menu { position: static !important; float: none; width: 100%; box-shadow: none; }
  .menu nav .nav-item.dropdown > .dropdown-toggle { display: block; }
  .menu nav .dropdown-item { padding: .65rem 1.3rem; }
}
@media (max-width: 390px) {
  .menu .navbar-caption { font-size: .86rem !important; }
  .menu .navbar-logo img { height: 2.8rem !important; }
}
@media (min-width: 992px) {
  .menu .navbar-collapse { display: flex !important; }
  .menu nav .navbar-toggler { display: none !important; }
}

/* New project links */
.liberty-readmore {display:inline-block;margin-top:8px;font-weight:700;color:#126f9c;}
.menu nav .dropdown-toggle[href$="projects.html"],.menu nav .dropdown-toggle[href$="mission.html"] {cursor:pointer;}

/* Single-tap menu repair: linked label and independent submenu arrow. */
.menu nav .nav-item.dropdown > a.nav-link { display:inline-block !important; vertical-align:middle; }
.menu nav .liberty-submenu-button { background:transparent; border:0; color:#fff; cursor:pointer; font-size:1.1rem; padding:12px 13px; vertical-align:middle; line-height:1; touch-action:manipulation; }
.menu nav .liberty-submenu-button:focus-visible { outline:2px solid #fff; outline-offset:2px; }
.menu nav .nav-item.dropdown > .dropdown-menu { display:none !important; }
.menu nav .nav-item.dropdown.is-open > .dropdown-menu { display:block !important; }
@media (min-width:992px) {
  .menu nav .nav-item.dropdown:hover > .dropdown-menu, .menu nav .nav-item.dropdown:focus-within > .dropdown-menu { display:block !important; }
}
@media (max-width:991.98px) {
  .menu nav .nav-item.dropdown > a.nav-link { max-width:calc(100% - 52px); }
  .menu nav .liberty-submenu-button { min-width:44px; min-height:44px; }
  .menu nav .nav-item.dropdown > .dropdown-menu { clear:both; }
}

/* Desktop responsive hero: scale the complete 1280x512 artwork proportionally
   as the browser width changes. 'cover' cropped it based on viewport height. */
@media (min-width: 992px) {
  #header1-0.cid-qVlIYHtq4q {
    background-size: 100% auto !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
    background-attachment: scroll !important;
    /* Original artwork is 1280x512 (height = 40% of width). */
    min-height: max(440px, 40vw) !important;
    height: auto !important;
    padding-top: clamp(90px, 8vw, 150px) !important;
    padding-bottom: clamp(55px, 6vw, 115px) !important;
  }
}
