/*
 * Shared recovered layout for the original CASA interior-page template.
 * This stylesheet is intentionally not loaded by the homepage.
 */

.topbar {
  background: #fff;
}

.topbar--wrap {
  min-height: 50px;
  max-width: 1020px;
  margin-inline: auto;
  padding: 0 18px;
  border-radius: 0 0 4px 4px;
  background: #68b8d8;
}

.main-header > .wrap {
  min-height: 175px;
  max-width: 1020px;
  margin-inline: auto;
}

#logo {
  min-width: 220px;
}

#logo img {
  max-width: 220px;
}

.topmenu {
  max-width: 660px;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.content > .wrap {
  padding-top: 0;
}

html,
body,
#container,
.content {
  max-width: 100%;
}

body {
  overflow-x: clip;
}

.entry-content,
.entry-content p,
.entry-content a {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.entry-content iframe,
.sidebar iframe {
  max-width: 100%;
}

.inner-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  column-gap: 38px;
  max-width: 1020px;
  margin-inline: auto;
}

.inner-content > .page-header {
  grid-column: 1 / -1;
}

.page-header {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 212px;
  padding: 30px;
  overflow: hidden;
  border-radius: 4px;
  background-color: #203f72;
  background-position: center;
  background-size: cover;
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(27, 53, 91, 0.6);
}

.page-header--title {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0;
  padding: 0 20px;
  color: #fff;
  font-size: 40px;
  line-height: 1.05;
  text-align: center;
}

.main-content {
  grid-column: 1;
  min-width: 0;
  padding: 24px 20px 60px;
}

.main-content::after {
  display: none;
}

.main-content > article {
  float: none;
  width: 100%;
  min-width: 0;
}

.inner-content > .sidebar {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  float: none;
  width: auto;
  margin: 24px 0 60px;
  padding: 0 0 0 20px;
  border-left: 1px solid #aeb7c0;
  background: #fff;
}

.breadcrumbs {
  margin-bottom: 8px;
}

.widgettitle {
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #d93632;
  font-size: 21px;
  line-height: 1.25;
}

.video-container iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.volunteerbox {
  display: none;
}

.viewvolunteerbox {
  position: fixed;
  z-index: 20;
  top: 42%;
  right: 0;
  display: block;
  padding: 14px 9px;
  border-radius: 4px 0 0 4px;
  background: #d93632;
  color: #fff;
  writing-mode: vertical-rl;
  text-decoration: none;
  text-transform: uppercase;
  font: 900 21px/1 Arial, sans-serif;
  letter-spacing: 4px;
}

.search-submit {
  min-width: 58px;
  font-size: 0;
}

.search-submit::after {
  content: "Search";
  font: 700 12px Arial, sans-serif;
}

@media (max-width: 900px) {
  .wrap--toggler {
    display: block;
    padding: 6px 0;
  }

  .menu-toggler {
    color: #d93632;
    text-decoration: none;
    text-transform: uppercase;
    font: 900 20px Arial, sans-serif;
  }

  .topmenu {
    display: none;
  }
}

@media (max-width: 760px) {

  .entry-content a {
    word-break: break-all;
  }

  .topbar--wrap {
    width: calc(100% - 32px);
    min-height: 78px;
    justify-content: center;
  }

  .site-name {
    max-width: 250px;
    font-size: 21px;
    line-height: 1.5;
    text-align: center;
  }

  .main-header > .wrap {
    width: calc(100% - 32px);
    min-height: 0;
    gap: 0;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  #logo {
    margin-inline: auto;
  }

  #logo img {
    max-width: 296px;
  }

  .page-header {
    min-height: 192px;
    padding: 24px;
  }

  .page-header--title {
    font-size: 24px;
    line-height: 1.333;
  }

  .inner-content {
    grid-template-columns: 1fr;
    width: calc(100% - 32px);
    max-width: none;
  }

  .main-content {
    padding: 24px 22px 48px;
  }

  .inner-content > .sidebar {
    grid-column: 1;
    grid-row: auto;
    margin: 0 22px 48px;
    padding: 24px 0 0;
    border-top: 1px solid #aeb7c0;
    border-left: 0;
  }
}

/* Texas CASA visual-system alignment for recovered interior templates. */
body {
  color: #002857;
  background: #fff;
  font: 400 17px/1.7 "Open Sans", Arial, sans-serif;
}

.content {
  background: #fff;
}

.inner-content {
  width: min(1260px, calc(100% - 48px));
  max-width: 1260px;
  margin-inline: auto;
  grid-template-columns: minmax(0, 1fr) 330px;
  column-gap: 56px;
}

.page-header {
  min-height: 270px;
  padding: 40px;
  border-radius: 0;
  background-color: #002857;
}

.page-header::before {
  background: rgba(0, 40, 87, 0.58);
}

.page-header--title {
  color: #fff;
  font: 800 clamp(40px, 4.4vw, 60px) / 1.1 "Montserrat", "Arial Black", sans-serif;
  letter-spacing: 0.01em;
}

.main-content {
  padding: 42px 0 78px;
}

.main-content h1,
.main-content h2,
.main-content h3,
.main-content h4,
.main-content h5,
.main-content h6,
.sidebar h1,
.sidebar h2,
.sidebar h3,
.sidebar h4,
.sidebar h5,
.sidebar h6 {
  color: #002857;
  font-family: "Montserrat", "Arial Black", sans-serif;
  font-weight: 800;
  line-height: 1.2;
}

.entry-content {
  color: #263f5e;
  font-size: 17px;
  line-height: 1.75;
}

.entry-content p {
  margin: 0 0 1.35em;
}

.entry-content a,
.breadcrumbs a {
  color: #00437a;
  text-decoration-color: #48c3e3;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.entry-content .button,
.entry-content a.button,
.main-content input[type="submit"],
.main-content button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border: 2px solid #ed1b2e;
  border-radius: 999px;
  background: #ed1b2e;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font: 800 15px/1.15 "Montserrat", "Arial Black", sans-serif;
}

.breadcrumbs {
  margin-bottom: 20px;
  color: #5d7088;
  text-transform: uppercase;
  font: 700 12px/1.3 "Open Sans", Arial, sans-serif;
  letter-spacing: 0.05em;
}

.inner-content > .sidebar {
  margin: 42px 0 78px;
  padding-left: 34px;
  border-left: 1px solid #c8d4df;
}

.widgettitle {
  margin: 0 0 20px;
  padding-bottom: 14px;
  border-bottom: 4px solid #ed1b2e;
  color: #002857;
  font: 800 23px/1.25 "Montserrat", "Arial Black", sans-serif;
}

.sidebar,
.sidebar p,
.sidebar li,
.sidebar a {
  color: #263f5e;
  font-family: "Open Sans", Arial, sans-serif;
  line-height: 1.65;
}

.sidebar a {
  color: #00437a;
  text-decoration-color: #48c3e3;
  text-underline-offset: 3px;
}

.video-container {
  overflow: hidden;
  border: 5px solid #fff;
  box-shadow: 0 0 0 2px #48c3e3;
}

@media (max-width: 900px) {
  .inner-content {
    width: calc(100% - 32px);
    grid-template-columns: 1fr;
  }

  .main-content {
    padding: 34px 20px 54px;
  }

  .inner-content > .sidebar {
    grid-column: 1;
    grid-row: auto;
    margin: 0 20px 58px;
    padding: 30px 0 0;
    border-top: 1px solid #c8d4df;
    border-left: 0;
  }
}

@media (max-width: 760px) {
  .page-header {
    min-height: 220px;
    padding: 28px 22px;
  }

  .page-header--title {
    font-size: 36px;
    line-height: 1.12;
  }

  .entry-content {
    font-size: 16px;
    line-height: 1.7;
  }

  .widgettitle {
    font-size: 21px;
  }
}
