/*
 * Authoritative shared visual layer based on the Texas CASA parent brand.
 * Loaded after the recovered template CSS so local content stays unchanged.
 */

.site-footer {
  background: #002857;
  font-family: "Open Sans", Arial, sans-serif;
}

.entry-content .volunteer-feature-image {
  display: block;
  float: none !important;
  width: min(100%, 560px);
  height: auto;
  margin: 0 0 26px !important;
}

.site-footer__frame {
  width: 100%;
  max-width: none;
  background: #002857;
}

.site-footer__slogan {
  padding: 28px 24px 24px;
  border-top: 8px solid #48c3e3;
  background: #002857;
  font: 800 25px/1.2 "Montserrat", "Arial Black", sans-serif;
  letter-spacing: 0.01em;
}

.site-footer__body {
  padding: 18px max(calc((100% - 1180px) / 2), 28px) 34px;
  background: #002857;
}

.site-footer__columns {
  gap: 56px;
}

.site-footer__column {
  padding: 0;
}

.site-footer__column + .site-footer__column {
  border-left: 0;
}

.site-footer h2,
.site-footer h3 {
  font-family: "Montserrat", "Arial Black", sans-serif;
}

.site-footer h2 {
  margin-bottom: 18px;
  font-size: 18px;
}

.site-footer h2::after {
  content: "";
  display: block;
  width: 38px;
  height: 3px;
  margin-top: 10px;
  background: #ed1b2e;
}

.site-footer h3 {
  margin: 18px 0 6px;
  font-size: 20px;
}

.site-footer p,
.site-footer address {
  font: normal 15px/1.55 "Open Sans", Arial, sans-serif;
}

.site-footer__nav {
  gap: 6px;
}

.site-footer__nav a {
  margin: 0;
  font: 800 14px/1.35 "Montserrat", "Arial Black", sans-serif;
}

.site-footer__nav .site-footer__donate {
  min-width: 120px;
  margin-top: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  background: #ed1b2e;
  color: #fff;
  text-align: center;
}

.site-footer__legal {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.site-footer__legal p {
  font-size: 12px;
}

.site-footer__community {
  min-height: 92px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  background: #00437a;
}

.site-footer__community a {
  font: 800 21px/1.2 "Montserrat", "Arial Black", sans-serif;
}

.site-footer__community span {
  font: 600 15px/1.3 "Open Sans", Arial, sans-serif;
}

.casa-get-involved,
.casa-get-involved__tab,
.casa-get-involved__panel {
  background: #ed1b2e;
}

.casa-get-involved__tab span,
.casa-get-involved__eyebrow,
.casa-get-involved h2,
.casa-get-involved__cta {
  font-family: "Montserrat", "Arial Black", sans-serif;
}

.casa-get-involved__cta {
  border: 2px solid #fff;
  border-radius: 999px;
  background: #fff;
  color: #002857;
}

@media (min-width: 901px) {
  .header.fixed .topbar {
    background: #f1f2f4;
  }

  .header.fixed .topbar--wrap {
    width: min(1260px, calc(100% - 48px));
    min-height: 38px;
    max-width: none;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    border-radius: 0;
    background: transparent;
  }

  .header.fixed .site-name {
    color: #002857;
    text-transform: uppercase;
    font: 700 12px/1.2 "Open Sans", Arial, sans-serif;
    letter-spacing: 0.04em;
  }

  .header.fixed .main-header > .wrap {
    width: min(1260px, calc(100% - 48px));
    min-height: 112px;
    max-width: none;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
    padding: 0;
  }

  .header.fixed #logo {
    min-width: 0;
  }

  .header.fixed #logo img {
    width: 140px;
    max-width: 140px;
    height: auto;
  }

  .header.fixed .topmenu {
    flex: 1 1 auto;
    max-width: none;
  }

  .header.fixed .topmenu > nav > ul,
  .header.fixed .topmenu .top-nav {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .header.fixed .topmenu > nav > ul > li > a {
    color: #002857;
    text-decoration: none !important;
    text-transform: uppercase;
    font: 800 12px/1.25 "Montserrat", "Arial Black", sans-serif;
  }

  .header.fixed .topmenu .button-menu > a {
    padding: 14px 18px;
    background: #ed1b2e;
    color: #fff;
  }

  .header.fixed .topmenu li {
    position: relative;
  }

  .header.fixed .topmenu .sub-menu {
    position: absolute;
    z-index: 1000;
    top: 100%;
    left: 0;
    display: none !important;
    min-width: 250px;
    margin: 0;
    padding: 24px 0 10px;
    border-top: 0;
    background: #fff;
    box-shadow: 0 12px 28px rgba(0, 40, 87, 0.18);
    list-style: none;
  }

  .header.fixed .topmenu .sub-menu::before {
    content: "";
    position: absolute;
    top: 14px;
    right: 0;
    left: 0;
    height: 4px;
    background: #48c3e3;
  }

  .header.fixed .topmenu li:hover > .sub-menu,
  .header.fixed .topmenu li:focus-within > .sub-menu {
    display: block !important;
  }

  .header.fixed .topmenu .sub-menu a {
    display: block;
    padding: 10px 16px;
    color: #002857;
    text-decoration: none;
    font: 600 14px/1.35 "Open Sans", Arial, sans-serif;
  }

  .header.fixed .topmenu .sub-menu a:hover,
  .header.fixed .topmenu .sub-menu a:focus-visible {
    background: #eef9fc;
  }

  .header.fixed .wrap--toggler,
  .header.fixed .toggle-content {
    display: none !important;
  }

  .header.fixed .topbar--nav,
  .header.fixed .head-search {
    display: flex;
    align-items: center;
  }

  .header.fixed .topbar--items-social {
    margin-right: 14px;
  }

  .header.fixed .topbar--items-social ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .header.fixed .search-input--header {
    width: 150px;
    min-height: 30px;
    padding: 5px 10px;
    border: 1px solid #c9d2dc;
    border-radius: 0;
    background: #fff;
    color: #002857;
    font: 13px/1.2 "Open Sans", Arial, sans-serif;
  }

  .header.fixed .search-submit {
    width: 72px;
    min-width: 72px;
    min-height: 30px;
    margin: 0;
    padding: 0;
    border-radius: 0;
    background: #00437a;
  }
}

@media (max-width: 900px) {
  body.casa-legacy-menu-open .casa-get-involved {
    display: none;
  }

  .header.fixed {
    position: relative;
    background: #fff;
  }

  .header.fixed .topbar {
    display: none;
  }

  .header.fixed .main-header > .wrap {
    width: 100%;
    min-height: 80px;
    padding: 9px 78px 9px 15px;
  }

  .header.fixed #logo {
    min-width: 0;
    margin: 0;
  }

  .header.fixed #logo img {
    width: 105px;
    max-width: calc(100vw - 96px);
    height: auto;
  }

  .header.fixed .wrap--toggler {
    position: absolute;
    z-index: 20000;
    top: 16px;
    right: 15px;
    width: 48px;
    padding: 0;
  }

  .header.fixed .menu-toggler {
    width: 48px;
    height: 48px;
    min-height: 48px;
    justify-content: center;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: #002857;
  }

  .header.fixed .menu-toggler__label {
    display: none;
  }

  .header.fixed.casa-menu-open .wrap--toggler {
    top: 16px;
    right: 15px;
  }

  .header.fixed.casa-menu-open .menu-toggler {
    color: #fff;
  }

  .header.fixed.casa-menu-open .toggle-content {
    padding: 82px 24px 40px;
    background: #002857;
  }

  .header.fixed #my-menu > ul {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .header.fixed #my-menu > ul > li > a {
    border-bottom-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    font: 800 17px/1.25 "Montserrat", "Arial Black", sans-serif;
  }

  .header.fixed #my-menu .sub-menu a {
    color: #bdeef8;
    font-family: "Open Sans", Arial, sans-serif;
  }

  .site-footer__frame {
    width: 100%;
  }

  .site-footer__slogan {
    padding: 24px 20px 20px;
    font-size: 20px;
  }

  .site-footer__body {
    padding: 28px 24px 30px;
  }

  .site-footer__columns {
    gap: 0;
    grid-template-columns: 1fr;
  }

  .site-footer__column + .site-footer__column {
    border-top-color: rgba(255, 255, 255, 0.24);
  }

  .site-footer__community {
    padding-bottom: 72px;
  }

  .casa-get-involved__tab {
    min-height: 48px;
    padding: 12px 18px;
    border-radius: 999px;
    box-shadow: 0 6px 20px rgba(0, 40, 87, 0.28);
  }
}
