/**
 * MarsHill 3: blue theme (DXPR Theme only)
 *
 * Sidebar, menu, header, mobile and content-page styles for the blue Mars Hill pages.
 * Merged from these Asset Injector stylesheets, in their original load order:
 *   - MarsHill layout (D7 match) (marshill_sidebar_menu)
 *   - MarsHill D7 table2 content pages (marshill_table2)
 *   - Mobile Blue (mobile)
 *   - New Styles Blue (new_styles)
 */

/* ==========================================================================
   MarsHill layout (D7 match) (marshill_sidebar_menu)
   ========================================================================== */

/**
 * Left sidebar Superfish menu: replicates the Drupal 7 evolve_sub_blue look.
 * Source: D7 custom_blue.css + superfish blue style.
 */
/* Univers @font-face: see the "MarsHill fonts" Asset Injector stylesheet. */

@media (min-width: 744px) {
  /* Let the menu run edge to edge in the sidebar, as in D7. */
  aside.col-sm-3:has(.region-sidebar-first .sf-menu.sf-vertical) {
    padding-left: 0;
    padding-right: 0;
  }
  .region-sidebar-first {
    padding-left: 0;
    padding-right: 0;
  }
}

.region-sidebar-first .block-superfish nav {
  margin: 0;
}

.region-sidebar-first ul.sf-menu.sf-vertical {
  width: 100%;
  margin: 0;
  padding: 0;
  float: none;
  background-color: transparent;
  font-family: 'UniversLTStd57Condensed', Arial, Helvetica, sans-serif;
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1;
}

/* Items: no padding/border on the li; the link carries them (D7). */
.region-sidebar-first ul.sf-menu.sf-style-blue li,
.region-sidebar-first ul.sf-menu.sf-style-blue li li,
.region-sidebar-first ul.sf-menu.sf-style-blue li li li,
.region-sidebar-first ul.sf-menu.sf-style-blue li:hover,
.region-sidebar-first ul.sf-menu.sf-style-blue li.sfHover {
  padding: 0;
  border: 0;
  background: #506CAB;
}

.region-sidebar-first ul.sf-menu.sf-style-blue a,
.region-sidebar-first ul.sf-menu.sf-style-blue a:visited,
.region-sidebar-first ul.sf-menu.sf-style-blue span.nolink {
  display: block;
  padding: 1.5em;
  border: 0;
  border-bottom: 1px solid #6B80AF;
  background: #506CAB;
  color: #fff;
  font-family: 'UniversLTStd57Condensed', Arial, Helvetica, sans-serif;
  font-size: 13.5px;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
}

/* D7 had no hover/active colour change. */
.region-sidebar-first ul.sf-menu.sf-style-blue a:hover,
.region-sidebar-first ul.sf-menu.sf-style-blue a:active,
.region-sidebar-first ul.sf-menu.sf-style-blue a:focus,
.region-sidebar-first ul.sf-menu.sf-style-blue a.is-active,
.region-sidebar-first ul.sf-menu.sf-style-blue span.nolink:hover {
  background: #506CAB;
  color: #fff;
  text-decoration: none;
}

/* Keep a visible keyboard focus ring (Superfish blue style removes it). */
.region-sidebar-first ul.sf-menu.sf-style-blue a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -4px;
}

/* Top level is right-aligned; flyouts are left-aligned. */
.region-sidebar-first ul.sf-menu.sf-style-blue > li > a,
.region-sidebar-first ul.sf-menu.sf-style-blue > li > span.nolink {
  text-align: right;
}
.region-sidebar-first ul.sf-menu.sf-style-blue ul a,
.region-sidebar-first ul.sf-menu.sf-style-blue ul span.nolink {
  text-align: left;
}

/* No arrows: remove the extra right padding Superfish adds for them. */
.region-sidebar-first ul.sf-menu .sf-with-ul,
.region-sidebar-first ul.sf-menu.sf-style-blue a.sf-with-ul {
  padding-right: 1.5em;
}
.region-sidebar-first ul.sf-menu .sf-sub-indicator {
  display: none;
}

/* Flyouts open flush against the right edge of the sidebar, no shadow. */
.region-sidebar-first ul.sf-menu.sf-vertical ul {
  background: #506CAB;
  box-shadow: none;
  padding: 0;
}
.region-sidebar-first ul.sf-menu.sf-vertical li:hover > ul,
.region-sidebar-first ul.sf-menu.sf-vertical li.sfHover > ul {
  left: 100%;
  top: 0;
}

/* ------------------------------------------------------------------
 * Sidebar layout (D7: 1100px container, sidebar col-md-2 = 183px,
 * logo 153x77, 15px from the left, 50px from the top).
 * ------------------------------------------------------------------ */
@media (min-width: 992px) {
  .main-container.container {
    max-width: 1100px;
  }
  .main-container > .row > aside.col-sm-3:has(.region-sidebar-first) {
    flex: 0 0 auto;
    width: 16.66667%;
  }
  .main-container > .row > aside.col-sm-3:has(.region-sidebar-first) + .col-sm-9 {
    /* Fill the rest of the row instead of 83.33333%: a percentage leaves
       a sub-pixel sliver of white at the right edge of the banner. */
    flex: 1 1 0%;
    width: auto;
    min-width: 0;
  }
  .region-sidebar-first :is(#block-dxpr-theme-headerdesktoplogoblock, #block-dxpr-theme-headerdesktoplogoblock--2) {
    padding: 50px 15px 0;
    margin: 0;
    text-align: left;
    /* Same height as the banner beside it (1024x268 image in a column
       5x the sidebar width), so the menu starts where the content does. */
    aspect-ratio: 1024 / 1340;
  }
  .region-sidebar-first :is(#block-dxpr-theme-headerdesktoplogoblock, #block-dxpr-theme-headerdesktoplogoblock--2) .field--name-body > p:first-child {
    display: none;
  }
  .region-sidebar-first :is(#block-dxpr-theme-headerdesktoplogoblock, #block-dxpr-theme-headerdesktoplogoblock--2) :is(a, article, .field) {
    display: block;
    margin: 0;
    padding: 0;
    max-width: none;
    text-align: left;
  }
  .region-sidebar-first :is(#block-dxpr-theme-headerdesktoplogoblock, #block-dxpr-theme-headerdesktoplogoblock--2) img {
    display: block;
    width: 153px;
    max-width: 100%;
    height: auto;
  }
}

/* ------------------------------------------------------------------
 * Donate button + social icons under the menu (D7 block-block-5).
 * ------------------------------------------------------------------ */
.region-sidebar-first #block-marshill-sidebar-donate-social,
.region-sidebar-first [id^="block-marshill-sidebar-donate-social"] {
  margin: 0;
  padding: 31px 15px 0 0;
}
.region-sidebar-first .donate-button-area {
  text-align: right;
  margin: 0;
}
.region-sidebar-first .donate-button-area a.btn-donate {
  display: inline-block;
  margin: 5px 0 0 23px;
  padding: 2px 10px;
  border: 2px solid #949494;
  border-radius: 5px;
  background: linear-gradient(#ffffff 0%, #ebebeb 50%, #dbdbdb 50%, #b5b5b5);
  color: #050505;
  font-family: 'UniversLTStd57Condensed', Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  text-align: center;
  text-decoration: none;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2), 0 1px 0 #fff;
  cursor: pointer;
}
.region-sidebar-first .donate-button-area a.btn-donate:hover,
.region-sidebar-first .donate-button-area a.btn-donate:focus {
  background: linear-gradient(#b5b5b5 0%, #ebebeb 50%, #dbdbdb 50%, #ffffff);
  color: #050505;
  text-decoration: none;
}
.region-sidebar-first .side-extras {
  margin: 60px 0 0;
  text-align: right;
  line-height: 1;
}
.region-sidebar-first .side-extras a {
  display: inline-block;
}
.region-sidebar-first .side-extras img {
  display: inline-block;
  width: 29px;
  height: 29px;
  vertical-align: top;
}
/* extlink adds an icon after external links; D7 had none here. */
.region-sidebar-first #block-marshill-sidebar-donate-social svg.ext,
.region-sidebar-first #block-marshill-sidebar-donate-social span.ext,
.region-sidebar-first [id^="block-marshill-sidebar-donate-social"] :is(svg.ext, span.ext, .extlink) {
  display: none;
}
.region-sidebar-first .block-superfish {
  margin-bottom: 0;
}
.region-sidebar-first .side-extras {
  font-family: 'UniversLTStd57Condensed', Arial, Helvetica, sans-serif;
  font-size: 13.5px;
}
/* D7 showed this block on desktop only (hidden-xs hidden-sm). */
@media (max-width: 743.98px) {
  .region-sidebar-first [id^="block-marshill-sidebar-donate-social"] {
    display: none;
  }
}

/* Blue sidebar runs all the way down to the footer. The site-wide
   ".row > * { margin-bottom: 30px }" left a white strip under it. */
@media (min-width: 744px) {
  .main-container > .row > aside.col-sm-3:has(.region-sidebar-first) {
    margin-bottom: 0;
  }
  .main-container > .row > aside.col-sm-3:has(.region-sidebar-first) ~ .col-sm-9 {
    margin-bottom: 0;
    padding-bottom: 30px;
  }
}

/* ------------------------------------------------------------------
 * Footer (D7): no separate gray footer. The copyright sits in the
 * white content column, 50px under the content, and the blue sidebar
 * and white column run to the bottom of the browser window.
 * ------------------------------------------------------------------ */
@media (min-width: 744px) {
  .dxpr-theme-boxed-container {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - var(--drupal-displace-offset-top, 0px));
  }
  .dxpr-theme-boxed-container > .wrap-containers {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
  }
  .wrap-containers > .main-container:has(> .row > aside .region-sidebar-first) {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  .wrap-containers > .main-container:has(> .row > aside .region-sidebar-first) > .row {
    flex: 1 0 auto;
  }
}

.site-copyright {
  margin: 50px 0 0;
  font-family: 'UniversLTStd57Condensed', Arial, Helvetica, sans-serif;
  font-size: 13.5px;
  line-height: 1.55;
  color: #777;
  text-align: center;
}
.site-copyright p {
  margin: 0;
}
.site-copyright strong {
  font-weight: 700;
}
.site-copyright a,
.site-copyright a:visited {
  color: #BF1E2D;
  text-decoration: none;
}
.site-copyright a:hover,
.site-copyright a:focus {
  color: #777;
}

/* Page title is now an <h1> (marshill_page_title module). Keep the look
   it had as a <span>: DXPR forces headings bold with !important. */
h1.page-heading {
  margin: 0;
  padding-top: 30px;
  font-weight: 600 !important;
}

/* ==========================================================================
   MarsHill D7 table2 content pages (marshill_table2)
   ========================================================================== */

/**
 * D7 "table2" content pages (e.g. Knowing God): typography, spacing and
 * the two-column "Main idea / Check it out" table from evolve_sub_blue.
 * Scoped with :has(.table2) so other pages are untouched.
 */
.region-content:has(.table2) .block-system-main-block {
  /* 40px from the column edges, as in D7 (the column already has
     15px left / 20px right padding from ".row > *"). */
  padding: 40px 20px 0 25px;
}
.region-content:has(.table2) .block-system-main-block .bs-mt-2 {
  /* Bootstrap Styles sets this margin with !important. */
  margin-top: 0 !important;
}
.region-content:has(.table2) .block-system-main-block .layout-builder__layout {
  margin-left: 0;
  margin-right: 0;
}
.region-content:has(.table2) .block-system-main-block .layout-builder__layout > [class*="col-"] {
  padding-left: 0;
  padding-right: 0;
  margin-bottom: 0;
}

.table2 {
  font-family: 'UniversLTStd57Condensed', Arial, Helvetica, sans-serif;
  /* Body size matches the rest of the D10 site (18px / 1.6). */
  font-size: 18px;
  line-height: 1.6;
}
.region-content .table2 h2 {
  margin: 0 0 10px;
  font-family: inherit;
  font-size: 21px;
  /* DXPR theme settings force headings to bold !important. */
  font-weight: 400 !important;
  line-height: 27px;
}
.region-content .table2 h3 {
  margin: 0 0 12px;
  font-family: inherit;
  font-size: 19px;
  font-weight: 400 !important;
  line-height: 24px;
}
.table2 p {
  margin: 0 0 20px;
  font-size: inherit;
  line-height: 1.6;
}
.table2 strong {
  font-weight: 700;
}
.table2 a,
.table2 a:visited {
  color: #BF1E2D;
  text-decoration: none;
}

/* extlink icons; D7 showed none on these links. */
.table2 svg.ext,
.table2 svg.mailto {
  display: none;
}

/* The table */
.table2 table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  background: transparent;
}
.table2 table thead {
  border-top: 2px solid #333;
}
.table2 table th,
.table2 table td {
  padding: 10px;
  border: 0;
  border-bottom: 1px solid #B9B7A8;
  vertical-align: middle;
  text-align: left;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  background: transparent;
}
.table2 table tr > :first-child {
  width: 74%;
}
.table2 table td p {
  margin: 0 0 20px;
}
.table2 .sec-indent {
  padding-left: 2.5em;
  text-indent: -1em;
}

/* Prayer and follow-up list */
.table2 p em {
  display: block;
  margin-top: 20px;
  font-size: 16px;
}
.table2 ol {
  margin: 0 0 10px;
  padding: 0 0 0 40px;
  list-style-type: decimal;
}
.table2 ol ul {
  margin: 0 0 10px;
  padding: 0;
  list-style-type: square;
}
.table2 ol li {
  margin: 24px 0;
  line-height: 1.6;
}

/* ==========================================================================
   Mobile Blue (mobile)
   ========================================================================== */

@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 812px) 
  and (-webkit-min-device-pixel-ratio: 3)
  and (orientation: portrait) { 
.hidden-desktop {background-color: #fff;}
.img-fluid {
    max-width: 106%;
    height: auto;
}

.dxpr-theme-boxed-container {background-color: #506CAB;}
/* .main-container {margin-top: 35px;} removed: on iPhones it left a 35px blue gap between the sticky header and the banner. */
.tall-banner {height: 500px !important; display: flex; align-items: center; }
.tall-banner h2 {color: #fff; text-align: center; line-height: 1.0em; font-size: 2.3em; text-shadow: 2px 2px 4px #000000;}
.tall-banner h3 {color: #fff; text-align: center; font-size: 2.0em; }
.tall-banner h4 {color: #fff; text-align:center; font-size: 1.3em;}

/* banner */
.block-inline-blocklarge-banner {text-align: center;}
.block-inline-blocklarge-banner h2 {color: #fff; font-size: 2.0em; text-align:center; padding-top: 30px; line-height: 1.0em; text-shadow: 2px 2px 4px #000000; }
.block-inline-blocklarge-banner p {color: #fff; font-size: 1.5em; text-align:center; line-height: 1.5em;}
.block-inline-blocklarge-banner h4 {color: #fff; font-size: 1.5em; text-align:center; line-height: 1.0em;}
.btn .btn-primary .btn-lg p { text-align:center; }
.block-inline-blocklarge-banner { height: 420px;}

.block-inline-blocklarge-banner-text-on-side  { padding-left: 15%; padding-right: 15%;}
.block-inline-blocklarge-banner-text-on-side  h2 {color: #fff; font-size: 4em; text-align:left; padding-top: 80px; line-height: 1.0em; text-shadow: 2px 2px 4px #000000; }
.block-inline-blocklarge-banner-text-on-side  p {color: #fff; font-size: 1.1em; text-align:left; line-height: 1.1em;}
.block-inline-blocklarge-banner-text-on-side  h4 {color: #fff; font-size: 2.0em; text-align:left; line-height: 1.0em;}
.block-inline-blocklarge-banner-text-on-side { height: 420px;}

.hidden-mobile {display:none;}
}

@media (min-width: 744px) { /* big landscape tablets, laptops, and desktops */ 
.hidden-desktop {display:none; }
.body--dxpr-theme-nav-desktop #navbar.dxpr-theme-header--top {display:none;}
}

.hidden {
	display:none;

}
/**
 * Hide the vertical Superfish sidebar menu on mobile.
 * Targets the whole block wrapper, not just the <ul>, so the
 * block title and any surrounding spacing go away too.
 */
@media (max-width: 743.98px) {

  /* Narrower: only the vertical variant */
  .sf-menu.sf-vertical,
  .block-superfish:has(.sf-vertical) {
    display: none;
  }

  /* Most precise: replace with your actual block ID from the inspector,
     e.g. block-marshill-superfishmain */
  #block-YOURTHEME-SUPERFISHMAIN {
    display: none;
  }
}

/**
 * Mars Hill: sub-menu indicators, DXPR Theme drill-down mobile menu
 *
 * Hook: a.parent_link (underscore), which DXPR applies only to items
 * that lead to a deeper menu level.
 * Scoped to .dxpr-theme-main-menu so the Superfish sidebar menu
 * and any footer menus are unaffected.
 */

@media (max-width: 743.98px) {

  /* Broadest: every Superfish block on the site */
  .block-superfish {
    display: none;
  }

  /* 1. Suppress the theme's own indicator */
  .dxpr-theme-main-menu .menu__item > a[data-submenu]::before,
  .dxpr-theme-main-menu .menu__item > a[data-submenu] .caret,
  .dxpr-theme-main-menu .menu__item > a[data-submenu] i,
  .dxpr-theme-main-menu .menu__item > a[data-submenu] span[class*="icon"],
  .dxpr-theme-main-menu .dropdown-toggle::before {
    content: none !important;
    display: none !important;
  }

  /* 2. Draw the chevron */
  .dxpr-theme-main-menu .menu__item > a[data-submenu] {
    position: relative;
    display: block;
    padding-right: 2.75rem;
  }

  .dxpr-theme-main-menu .menu__item > a[data-submenu]::after {
    content: "" !important;
    font-family: inherit !important;
    position: absolute;
    right: 1.25rem;
    top: 50%;
    width: 0.5rem;
    height: 0.5rem;
    margin-top: -0.3rem;
    border: 0;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
    opacity: 0.7;
    pointer-events: none;
    background: none;
  }

  /**
 * Mars Hill: white hamburger icon (DXPR three-dash toggle)
 * All three bars: span background plus its two pseudo-elements.
 */

#dxpr-theme-menu-toggle.three-dash span,
#dxpr-theme-menu-toggle.three-dash span::before,
#dxpr-theme-menu-toggle.three-dash span::after {
  background-color: #fff !important;
}

/* Some DXPR builds draw the bars with borders instead */
#dxpr-theme-menu-toggle.three-dash span,
#dxpr-theme-menu-toggle.three-dash span::before,
#dxpr-theme-menu-toggle.three-dash span::after {
  border-color: #fff !important;
}

/* Covers the X state, if the toggle animates on open */
#dxpr-theme-menu-toggle.three-dash.active span,
#dxpr-theme-menu-toggle.three-dash.active span::before,
#dxpr-theme-menu-toggle.three-dash.active span::after,
#dxpr-theme-menu-toggle.three-dash.open span,
#dxpr-theme-menu-toggle.three-dash.open span::before,
#dxpr-theme-menu-toggle.three-dash.open span::after {
  background-color: #fff !important;
}
#block-dxpr-theme-headerdesktoplogoblock--2  {padding: 0px;}
}

/* Mobile Logo size */
/* Mobile: logo left, hamburger right, one row */
@media (max-width: 743.98px) {
  #navbar #dxpr-theme-menu-toggle {
    margin-top: 33px;
    margin-bottom: 33px;
  }
  #block-dxpr-theme-headerdesktoplogoblock--2 {
    position: relative;
    z-index: 1;
    margin: -84px 0 8px;
  }
  #block-dxpr-theme-headerdesktoplogoblock--2 .field--name-body > p:first-child {
    display: none;
  }
  #block-dxpr-theme-headerdesktoplogoblock--2 article {
    text-align: left;
  }
  #block-dxpr-theme-headerdesktoplogoblock--2 .field--name-field-media-image {
    margin: 0;
  }
  #block-dxpr-theme-headerdesktoplogoblock--2 img {
    width: 150px;
    height: auto;
  }
}
@media (max-width: 743.98px) {
  aside.col-sm-3 {
    margin-bottom: 0;
  }
}

/* ==========================================================================
   New Styles Blue (new_styles)
   ========================================================================== */

.body--dxpr-theme-nav-desktop .dxpr-theme-header--top #logo {max-height: 80px;}
.body--dxpr-theme-nav-desktop .dxpr-theme-header--top.affix .dxpr-theme-main-menu {height: 90px;}
.body--dxpr-theme-nav-desktop .dxpr-theme-header--top.affix .navbar-header {padding-top: 5px;}
.body--dxpr-theme-nav-desktop .dxpr-theme-header--top .block, .body--dxpr-theme-nav-desktop .dxpr-theme-header--top nav nav {padding-top: 10px;}

.body--dxpr-theme-nav-desktop #navbar.dxpr-theme-header--top {background-color: #506CAB; color: #fff;}
.dxpr-theme-header--top #dxpr-theme-main-menu .nav > li > a  {color: #fff;   }
.body--dxpr-theme-nav-desktop #navbar.dxpr-theme-header--top.affix {background-color: #506CAB; color: #fff;}
.body--dxpr-theme-nav-mobile .dxpr-theme-header #dxpr-theme-menu-toggle {color: #ffffff;}

.container {padding-right:15px; padding-left:15px;}
.main-content-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
/* Footer styling */
.dxpr-theme-footer .footer-container{  position: relative; bottom: 0;   width: 100%; }

a, a hover: {color: #C63E44;}

.dxpr-theme-header .navbar-container {background-color: #506CAB; }
/*#block-dxpr-theme-heroblue {margin-top:60px;}*/

.body--dxpr-theme-nav-mobile .dxpr-theme-header #dxpr-theme-menu-toggle span, .body--dxpr-theme-nav-mobile .dxpr-theme-header #dxpr-theme-menu-toggle span:before, .body--dxpr-theme-nav-mobile .dxpr-theme-header #dxpr-theme-menu-toggle span:after {background-color: #000;} 
.field--name-field-media-image {padding: 0px;}

.wrap-branding {background-color: #506CAB; padding:30px; margin-left:-15px; float:left;}
.region-sidebar-first {background-color: #506CAB; }
#superfish-main--2 {background-color: #506CAB; }
/* cart block column in layout builder: blue box, white link */
.col-lg-3:has(> .block-commerce-cart) {background-color: #506CAB; align-self: flex-start; padding-top: 6px; padding-bottom: 6px; }
.col-lg-3 .block-commerce-cart a {color: #fff; }
.col-lg-9 {background-color: #fff; }
.block-better-social-sharing-buttons {min-height: 200px;}
/* image on top of page */
.field--name-field-media-image  {margin-left: -15px; margin-right: -15px; max-width: 103%;}

ul.sf-menu.sf-style-blue li:hover, ul.sf-menu.sf-style-blue li.sfHover, ul.sf-menu.sf-style-blue a.is-active, ul.sf-menu.sf-style-blue a:focus, 
  ul.sf-menu.sf-style-blue a:hover, ul.sf-menu.sf-style-blue span.nolink:hover {background-color: #506CAB;color: #fff; text-decoration: none; text-transform: uppercase; }
ul.sf-menu.sf-style-blue li, ul.sf-menu.sf-style-blue.sf-navbar {background-color: #506CAB; color: #fff;text-decoration: none; text-transform: uppercase; padding-top: 20px; padding-bottom: 20px; border-bottom: solid 1px grey; }
ul.sf-menu.sf-style-blue li li li {background-color: #506CAB; color: #fff; text-decoration: none; text-transform: uppercase;}
ul.sf-menu.sf-style-blue li li, ul.sf-menu.sf-style-blue.sf-navbar > li > ul {background-color: #506CAB; padding-top:20px;}
ul.sf-menu.sf-style-blue li.sf-multicolumn-wrapper ol, ul.sf-menu.sf-style-blue li.sf-multicolumn-wrapper ol li {padding-top: 5px; padding-bottom: 20px;}

aside.col-sm-3 {background-color: #506CAB;}
.page-title-full-width-container {margin-bottom: 0px; background-color:#BCBCBC; }

.page-title {margin-top: 20px;}
#logo {max-width: 227px;}
ul.sf-menu.sf-vertical {width: 100%;}

#block-dxpr-theme-heroblue-2 {max-height: 316px; background-color: #506CAB;  padding-left: 30px; margin-left:-15px;}
/*.field--name-field-media-image img {max-width: 79%;}*/

/*.field--name-title {font-size: 1.2em; color: #000; line-height:4.0em;}*/

.image-style-full-size-1900 {width:100%;}

/* new section for layout */
.main-container {background: #fff;}
#block-dxpr-theme-marshillbluebanner {margin-left: -15px; margin-right:-20px; }
#block-dxpr-theme-headerdesktoplogoblock--2 {text-align: center; padding: 30px;}
@media (max-width: 743.98px) {#block-dxpr-theme-headerdesktoplogoblock--2 {text-align: center; padding: 0px;}}

.row > * {
    padding-left: 15px;
    padding-right: 20px;
    margin-bottom: 30px;

}

/* ==========================================================================
   MarsHill blue mobile top bar (D7 #section-top-bar)
   ========================================================================== */

/**
 * Same white top bar as The HOPE: Donate on the left, social icons on
 * the right. Block: "HOPE mobile top bar (D7)" placed in the DXPR
 * theme's Secondary Header region (D7 blue used the same links).
 * Icons are Font Awesome 4 glyphs (SIL OFL), drawn as CSS masks.
 */
#secondary-header {
  display: none;
}
@media (max-width: 743.98px) {
  /* DXPR adds a top margin the height of its fixed mobile header. */
  #secondary-header {
    display: block;
    margin: 0 !important;
    padding: 0;
    background: #fff;
    border-bottom: 1px solid #ECEEF0;
  }
  #secondary-header > .container,
  #secondary-header > .dxpr-theme-fluid {
    max-width: none;
    margin: 0;
    padding: 0 15px;
  }
  #secondary-header .block {
    margin: 0;
    padding: 0;
  }
  #secondary-header .hope-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 40px;
  }
  #secondary-header .hope-top-bar p {
    margin: 0;
  }
  #secondary-header .hope-top-bar a.btn-donate {
    display: inline-block;
    margin: 0 0 0 15px;
    padding: 2px 10px;
    border: 2px solid #949494;
    border-radius: 5px;
    background: linear-gradient(#ffffff 0%, #ebebeb 50%, #dbdbdb 50%, #b5b5b5);
    color: #050505;
    font-family: 'UniversLTStd57Condensed', Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    text-align: center;
    text-decoration: none;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2), 0 1px 0 #fff;
  }
  #secondary-header .hope-top-bar a.btn-donate:is(:hover, :focus) {
    background: linear-gradient(#b5b5b5 0%, #ebebeb 50%, #dbdbdb 50%, #ffffff);
    color: #050505;
    text-decoration: none;
  }
  #secondary-header .hope-top-bar__social {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  #secondary-header .hope-top-bar__social li {
    margin: 0;
    padding: 0;
    border-left: 1px solid #ECEEF0;
  }
  #secondary-header .hope-top-bar .hope-social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #A0A5AA;
    text-decoration: none;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
  }
  #secondary-header .hope-top-bar .hope-social::before {
    content: "";
    display: block;
    width: 18px;
    height: 18px;
    background-color: currentColor;
    -webkit-mask: no-repeat center / contain;
    mask: no-repeat center / contain;
  }
  #secondary-header .hope-top-bar .hope-social:is(:hover, :focus-visible) {
    color: #fff;
  }
  #secondary-header .hope-top-bar .hope-social:focus-visible {
    outline: 2px solid #3D5A99;
    outline-offset: -2px;
  }
  /* extlink adds an icon after external links; D7 had none here. */
  #secondary-header .hope-top-bar :is(svg.ext, span.ext, .extlink) {
    display: none;
  }
  #secondary-header .hope-top-bar .hope-social--facebook::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1024 1792'%3E%3Cpath transform='matrix%281 0 0 -1 0 1536%29' d='M959 1524v-264h-157q-86 0 -116 -36t-30 -108v-189h293l-39 -296h-254v-759h-306v759h-255v296h255v218q0 186 104 288.5t277 102.5q147 0 228 -12z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1024 1792'%3E%3Cpath transform='matrix%281 0 0 -1 0 1536%29' d='M959 1524v-264h-157q-86 0 -116 -36t-30 -108v-189h293l-39 -296h-254v-759h-306v759h-255v296h255v218q0 186 104 288.5t277 102.5q147 0 228 -12z'/%3E%3C/svg%3E");
  }
  #secondary-header .hope-top-bar .hope-social--facebook:is(:hover, :focus-visible) {
    background-color: #4a6d9d;
  }
  #secondary-header .hope-top-bar .hope-social--twitter::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1664 1792'%3E%3Cpath transform='matrix%281 0 0 -1 0 1536%29' d='M1620 1128q-67 -98 -162 -167q1 -14 1 -42q0 -130 -38 -259.5t-115.5 -248.5t-184.5 -210.5t-258 -146t-323 -54.5q-271 0 -496 145q35 -4 78 -4q225 0 401 138q-105 2 -188 64.5t-114 159.5q33 -5 61 -5q43 0 85 11q-112 23 -185.5 111.5t-73.5 205.5v4q68 -38 146 -41%0Aq-66 44 -105 115t-39 154q0 88 44 163q121 -149 294.5 -238.5t371.5 -99.5q-8 38 -8 74q0 134 94.5 228.5t228.5 94.5q140 0 236 -102q109 21 205 78q-37 -115 -142 -178q93 10 186 50z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1664 1792'%3E%3Cpath transform='matrix%281 0 0 -1 0 1536%29' d='M1620 1128q-67 -98 -162 -167q1 -14 1 -42q0 -130 -38 -259.5t-115.5 -248.5t-184.5 -210.5t-258 -146t-323 -54.5q-271 0 -496 145q35 -4 78 -4q225 0 401 138q-105 2 -188 64.5t-114 159.5q33 -5 61 -5q43 0 85 11q-112 23 -185.5 111.5t-73.5 205.5v4q68 -38 146 -41%0Aq-66 44 -105 115t-39 154q0 88 44 163q121 -149 294.5 -238.5t371.5 -99.5q-8 38 -8 74q0 134 94.5 228.5t228.5 94.5q140 0 236 -102q109 21 205 78q-37 -115 -142 -178q93 10 186 50z'/%3E%3C/svg%3E");
  }
  #secondary-header .hope-top-bar .hope-social--twitter:is(:hover, :focus-visible) {
    background-color: #3bc1ed;
  }
  #secondary-header .hope-top-bar .hope-social--instagram::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1536 1792'%3E%3Cpath transform='matrix%281 0 0 -1 0 1536%29' d='M1024 640q0 106 -75 181t-181 75t-181 -75t-75 -181t75 -181t181 -75t181 75t75 181zM1162 640q0 -164 -115 -279t-279 -115t-279 115t-115 279t115 279t279 115t279 -115t115 -279zM1270 1050q0 -38 -27 -65t-65 -27t-65 27t-27 65t27 65t65 27t65 -27t27 -65zM768 1270%0Aq-7 0 -76.5 0.5t-105.5 0t-96.5 -3t-103 -10t-71.5 -18.5q-50 -20 -88 -58t-58 -88q-11 -29 -18.5 -71.5t-10 -103t-3 -96.5t0 -105.5t0.5 -76.5t-0.5 -76.5t0 -105.5t3 -96.5t10 -103t18.5 -71.5q20 -50 58 -88t88 -58q29 -11 71.5 -18.5t103 -10t96.5 -3t105.5 0t76.5 0.5%0At76.5 -0.5t105.5 0t96.5 3t103 10t71.5 18.5q50 20 88 58t58 88q11 29 18.5 71.5t10 103t3 96.5t0 105.5t-0.5 76.5t0.5 76.5t0 105.5t-3 96.5t-10 103t-18.5 71.5q-20 50 -58 88t-88 58q-29 11 -71.5 18.5t-103 10t-96.5 3t-105.5 0t-76.5 -0.5zM1536 640q0 -229 -5 -317%0Aq-10 -208 -124 -322t-322 -124q-88 -5 -317 -5t-317 5q-208 10 -322 124t-124 322q-5 88 -5 317t5 317q10 208 124 322t322 124q88 5 317 5t317 -5q208 -10 322 -124t124 -322q5 -88 5 -317z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1536 1792'%3E%3Cpath transform='matrix%281 0 0 -1 0 1536%29' d='M1024 640q0 106 -75 181t-181 75t-181 -75t-75 -181t75 -181t181 -75t181 75t75 181zM1162 640q0 -164 -115 -279t-279 -115t-279 115t-115 279t115 279t279 115t279 -115t115 -279zM1270 1050q0 -38 -27 -65t-65 -27t-65 27t-27 65t27 65t65 27t65 -27t27 -65zM768 1270%0Aq-7 0 -76.5 0.5t-105.5 0t-96.5 -3t-103 -10t-71.5 -18.5q-50 -20 -88 -58t-58 -88q-11 -29 -18.5 -71.5t-10 -103t-3 -96.5t0 -105.5t0.5 -76.5t-0.5 -76.5t0 -105.5t3 -96.5t10 -103t18.5 -71.5q20 -50 58 -88t88 -58q29 -11 71.5 -18.5t103 -10t96.5 -3t105.5 0t76.5 0.5%0At76.5 -0.5t105.5 0t96.5 3t103 10t71.5 18.5q50 20 88 58t58 88q11 29 18.5 71.5t10 103t3 96.5t0 105.5t-0.5 76.5t0.5 76.5t0 105.5t-3 96.5t-10 103t-18.5 71.5q-20 50 -58 88t-88 58q-29 11 -71.5 18.5t-103 10t-96.5 3t-105.5 0t-76.5 -0.5zM1536 640q0 -229 -5 -317%0Aq-10 -208 -124 -322t-322 -124q-88 -5 -317 -5t-317 5q-208 10 -322 124t-124 322q-5 88 -5 317t5 317q10 208 124 322t322 124q88 5 317 5t317 -5q208 -10 322 -124t124 -322q5 -88 5 -317z'/%3E%3C/svg%3E");
  }
  #secondary-header .hope-top-bar .hope-social--instagram:is(:hover, :focus-visible) {
    background-color: #3f6f94;
  }
  #secondary-header .hope-top-bar .hope-social--linkedin::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1536 1792'%3E%3Cpath transform='matrix%281 0 0 -1 0 1536%29' d='M349 911v-991h-330v991h330zM370 1217q1 -73 -50.5 -122t-135.5 -49h-2q-82 0 -132 49t-50 122q0 74 51.5 122.5t134.5 48.5t133 -48.5t51 -122.5zM1536 488v-568h-329v530q0 105 -40.5 164.5t-126.5 59.5q-63 0 -105.5 -34.5t-63.5 -85.5q-11 -30 -11 -81v-553h-329%0Aq2 399 2 647t-1 296l-1 48h329v-144h-2q20 32 41 56t56.5 52t87 43.5t114.5 15.5q171 0 275 -113.5t104 -332.5z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1536 1792'%3E%3Cpath transform='matrix%281 0 0 -1 0 1536%29' d='M349 911v-991h-330v991h330zM370 1217q1 -73 -50.5 -122t-135.5 -49h-2q-82 0 -132 49t-50 122q0 74 51.5 122.5t134.5 48.5t133 -48.5t51 -122.5zM1536 488v-568h-329v530q0 105 -40.5 164.5t-126.5 59.5q-63 0 -105.5 -34.5t-63.5 -85.5q-11 -30 -11 -81v-553h-329%0Aq2 399 2 647t-1 296l-1 48h329v-144h-2q20 32 41 56t56.5 52t87 43.5t114.5 15.5q171 0 275 -113.5t104 -332.5z'/%3E%3C/svg%3E");
  }
  #secondary-header .hope-top-bar .hope-social--linkedin:is(:hover, :focus-visible) {
    background-color: #0b7bb5;
  }
  #secondary-header .hope-top-bar .hope-social--wordpress::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1792 1792'%3E%3Cpath transform='matrix%281 0 0 -1 0 1536%29' d='M127 640q0 163 67 313l367 -1005q-196 95 -315 281t-119 411zM1415 679q0 -19 -2.5 -38.5t-10 -49.5t-11.5 -44t-17.5 -59t-17.5 -58l-76 -256l-278 826q46 3 88 8q19 2 26 18.5t-2.5 31t-28.5 13.5l-205 -10q-75 1 -202 10q-12 1 -20.5 -5t-11.5 -15t-1.5 -18.5t9 -16.5%0At19.5 -8l80 -8l120 -328l-168 -504l-280 832q46 3 88 8q19 2 26 18.5t-2.5 31t-28.5 13.5l-205 -10q-7 0 -23 0.5t-26 0.5q105 160 274.5 253.5t367.5 93.5q147 0 280.5 -53t238.5 -149h-10q-55 0 -92 -40.5t-37 -95.5q0 -12 2 -24t4 -21.5t8 -23t9 -21t12 -22.5t12.5 -21%0At14.5 -24t14 -23q63 -107 63 -212zM909 573l237 -647q1 -6 5 -11q-126 -44 -255 -44q-112 0 -217 32zM1570 1009q95 -174 95 -369q0 -209 -104 -385.5t-279 -278.5l235 678q59 169 59 276q0 42 -6 79zM896 1536q182 0 348 -71t286 -191t191 -286t71 -348t-71 -348t-191 -286%0At-286 -191t-348 -71t-348 71t-286 191t-191 286t-71 348t71 348t191 286t286 191t348 71zM896 -215q173 0 331.5 68t273 182.5t182.5 273t68 331.5t-68 331.5t-182.5 273t-273 182.5t-331.5 68t-331.5 -68t-273 -182.5t-182.5 -273t-68 -331.5t68 -331.5t182.5 -273%0At273 -182.5t331.5 -68z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1792 1792'%3E%3Cpath transform='matrix%281 0 0 -1 0 1536%29' d='M127 640q0 163 67 313l367 -1005q-196 95 -315 281t-119 411zM1415 679q0 -19 -2.5 -38.5t-10 -49.5t-11.5 -44t-17.5 -59t-17.5 -58l-76 -256l-278 826q46 3 88 8q19 2 26 18.5t-2.5 31t-28.5 13.5l-205 -10q-75 1 -202 10q-12 1 -20.5 -5t-11.5 -15t-1.5 -18.5t9 -16.5%0At19.5 -8l80 -8l120 -328l-168 -504l-280 832q46 3 88 8q19 2 26 18.5t-2.5 31t-28.5 13.5l-205 -10q-7 0 -23 0.5t-26 0.5q105 160 274.5 253.5t367.5 93.5q147 0 280.5 -53t238.5 -149h-10q-55 0 -92 -40.5t-37 -95.5q0 -12 2 -24t4 -21.5t8 -23t9 -21t12 -22.5t12.5 -21%0At14.5 -24t14 -23q63 -107 63 -212zM909 573l237 -647q1 -6 5 -11q-126 -44 -255 -44q-112 0 -217 32zM1570 1009q95 -174 95 -369q0 -209 -104 -385.5t-279 -278.5l235 678q59 169 59 276q0 42 -6 79zM896 1536q182 0 348 -71t286 -191t191 -286t71 -348t-71 -348t-191 -286%0At-286 -191t-348 -71t-348 71t-286 191t-191 286t-71 348t71 348t191 286t286 191t348 71zM896 -215q173 0 331.5 68t273 182.5t182.5 273t68 331.5t-68 331.5t-182.5 273t-273 182.5t-331.5 68t-331.5 -68t-273 -182.5t-182.5 -273t-68 -331.5t68 -331.5t182.5 -273%0At273 -182.5t331.5 -68z'/%3E%3C/svg%3E");
  }
  #secondary-header .hope-top-bar .hope-social--wordpress:is(:hover, :focus-visible) {
    background-color: #3bc1ed;
  }
}

/* ==========================================================================
   MarsHill blue mobile menu (D7 .dexp-dropdown, blue)
   ========================================================================== */

/**
 * Matches the D7 blue dropdown and The HOPE mobile menu: opens under the
 * header instead of sliding in, blue background, white Univers links, a
 * rule under each top-level item, and sub-menus that open and close with
 * the > toggle. DXPR's drill-down (breadcrumbs, sliding levels) is turned
 * off; the MarsHill 3 blue script makes parent items toggles.
 * Scoped to DXPR's mobile-navigation state, so desktop is unaffected.
 */

/* Panel: start under the header (the top bar and header stay visible). */
.body--dxpr-theme-nav-mobile #dxpr-theme-main-menu {
  top: var(--blue-header-bottom, 120px) !important;
  bottom: auto !important;
  width: 100% !important;
  height: auto !important;
  max-height: calc(100vh - var(--blue-header-bottom, 120px)) !important;
  max-height: calc(100dvh - var(--blue-header-bottom, 120px)) !important;
  overflow-y: auto;
  margin: 0 !important;
  padding: 0 !important;
  background: #506CAB !important;
  text-align: left;
}
.body--dxpr-theme-nav-mobile #dxpr-theme-main-menu .region-navigation-collapsible {
  height: auto !important;
  min-height: 0 !important;
  margin: 0;
  padding: 0 0 10px;
  background: transparent;
}
.body--dxpr-theme-nav-mobile #dxpr-theme-main-menu .menu__breadcrumbs,
.body--dxpr-theme-nav-mobile #dxpr-theme-main-menu .menu__back {
  display: none !important;
}
.body--dxpr-theme-nav-mobile #dxpr-theme-main-menu #block-dxpr-theme-main-menu {
  margin: 0;
  padding: 0 15px;
}

/* Lists: undo the drill-down levels (fixed, hidden, slid off-screen). */
.body--dxpr-theme-nav-mobile #dxpr-theme-main-menu #block-dxpr-theme-main-menu ul {
  display: block;
  position: static !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  width: auto !important;
  height: auto !important;
  float: none;
  visibility: visible;
  overflow: visible;
  margin: 0;
  padding: 0;
  border: 0;
  box-shadow: none;
  list-style: none;
  background: transparent;
  text-align: left;
  animation: none !important;
  transition: none !important;
}
.body--dxpr-theme-nav-mobile #dxpr-theme-main-menu #block-dxpr-theme-main-menu li {
  display: block;
  float: none;
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 0;
  background: transparent;
  animation: none !important;
}
.body--dxpr-theme-nav-mobile #dxpr-theme-main-menu #block-dxpr-theme-main-menu li::before,
.body--dxpr-theme-nav-mobile #dxpr-theme-main-menu #block-dxpr-theme-main-menu li::marker {
  content: none;
}
.body--dxpr-theme-nav-mobile #dxpr-theme-main-menu #block-dxpr-theme-main-menu > ul > li {
  border-bottom: 1px solid #6178A7;
}
/* Sub-menus: closed until toggled, indented 15px, no rules. */
.body--dxpr-theme-nav-mobile #dxpr-theme-main-menu #block-dxpr-theme-main-menu li > ul {
  display: none;
  margin: 0 0 0 15px;
}
.body--dxpr-theme-nav-mobile #dxpr-theme-main-menu #block-dxpr-theme-main-menu li.blue-mm-open > ul {
  display: block;
}

/* Links */
.body--dxpr-theme-nav-mobile #dxpr-theme-main-menu #block-dxpr-theme-main-menu a {
  display: block;
  position: relative;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff !important;
  font-family: 'UniversLTStd57Condensed', Arial, Helvetica, sans-serif;
  font-size: 13.5px;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 36px;
  text-align: left;
  text-transform: none;
  text-decoration: none;
  opacity: 1;
}
.body--dxpr-theme-nav-mobile #dxpr-theme-main-menu #block-dxpr-theme-main-menu a:hover {
  text-decoration: underline;
}
.body--dxpr-theme-nav-mobile #dxpr-theme-main-menu #block-dxpr-theme-main-menu a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -2px;
}
/* Parent rows: the whole row toggles; draw D7's > on the right and turn
   it down when open. Replaces DXPR's caret and the older chevron above. */
.body--dxpr-theme-nav-mobile #dxpr-theme-main-menu #block-dxpr-theme-main-menu a.blue-mm-toggle {
  padding-right: 30px;
  cursor: pointer;
}
.body--dxpr-theme-nav-mobile #dxpr-theme-main-menu #block-dxpr-theme-main-menu a.blue-mm-toggle::before {
  content: none !important;
  display: none !important;
}
.body--dxpr-theme-nav-mobile #dxpr-theme-main-menu #block-dxpr-theme-main-menu a.blue-mm-toggle::after {
  content: "" !important;
  position: absolute;
  top: 50%;
  right: 12px;
  width: 7px;
  height: 7px;
  margin: -4px 0 0;
  border: 0;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  background: none;
  opacity: 1;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  vertical-align: 0;
}
.body--dxpr-theme-nav-mobile #dxpr-theme-main-menu #block-dxpr-theme-main-menu a.blue-mm-toggle[aria-expanded="true"]::after {
  transform: rotate(135deg);
}

/* Hamburger: white on blue at every mobile-nav width (an older rule
   above made it black between 768px and 1200px). */
html body.body--dxpr-theme-nav-mobile #navbar #dxpr-theme-menu-toggle.three-dash span::before,
html body.body--dxpr-theme-nav-mobile #navbar #dxpr-theme-menu-toggle.three-dash span::after,
html body.body--dxpr-theme-nav-mobile #navbar #dxpr-theme-menu-toggle.three-dash:not(.navbar-toggle--active) span {
  background-color: #fff !important;
  border-color: #fff !important;
}
/* Open (cross): hide the middle bar so the X reads cleanly. */
html body.body--dxpr-theme-nav-mobile #navbar #dxpr-theme-menu-toggle.three-dash.navbar-toggle--active span {
  background-color: transparent !important;
}

/* ==========================================================================
   Phone / tablet split (DXPR mobile-menu breakpoint: 743px)
   ========================================================================== */
/* Below 744px the page uses the phone layout: mobile menu, logo in the
   header, one column. From 744px (iPad mini portrait) up it uses the
   desktop sidebar menu. Bootstrap's col-sm-* would split the columns from
   576px, so keep them stacked until the desktop layout takes over. */
@media (max-width: 743.98px) {
  .main-container > .row > aside.col-sm-3,
  .main-container > .row > aside.col-sm-3 ~ .col-sm-9 {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
  }
}

/* ==========================================================================
   Sticky blue header on phones (logo + hamburger)
   ========================================================================== */
/* The blue bar sticks to the top of the screen; the white Donate bar above
   it and the banner below it scroll away as normal. The logo block lives
   in the sidebar region, so the blue theme script moves it into the
   header below 744px. Here it is placed where the old negative margin put
   it (8px from the top of the bar, same size), so nothing shifts. */
@media (max-width: 743.98px) {
  #navbar.dxpr-theme-header {
    position: sticky !important;
    top: var(--drupal-displace-offset-top, 0px) !important;
    z-index: 1000;
  }
  /* Logged in: the admin toolbar scrolls away on narrow screens. */
  body:is(.toolbar-horizontal, .toolbar-vertical):not(.toolbar-fixed) #navbar.dxpr-theme-header {
    top: 0 !important;
  }
  #navbar .navbar-header {
    position: relative;
  }
  #navbar #block-dxpr-theme-headerdesktoplogoblock--2 {
    position: absolute;
    top: 8px;
    left: 0;
    margin: 0;
    padding: 0;
  }
}

/* Phones: page text starts at the same left edge as the logo (15px).
   Cancels the extra left padding from Layout Builder's Bootstrap Styles
   (bs-p-3 / bs-pl-3, which use !important) and from the table2 rule. */
@media (max-width: 743.98px) {
  .main-container .region-content .block-system-main-block {
    padding-left: 0;
  }
  .main-container .block-system-main-block :is([class*="bs-p-"], [class*="bs-px-"], [class*="bs-pl-"]) {
    padding-left: 0 !important;
  }
}

/* Phones: page text ends 15px from the right edge too, matching the left.
   The content column drops from 20px to 15px right padding, so the banner
   (which bleeds to the edge with a negative margin) moves by the same. */
@media (max-width: 743.98px) {
  .main-container > .row > aside.col-sm-3 ~ .col-sm-9 {
    padding-right: 15px;
  }
  .main-container .region-content .block-system-main-block {
    padding-right: 0;
  }
  .main-container .block-system-main-block :is([class*="bs-p-"], [class*="bs-px-"], [class*="bs-pr-"]) {
    padding-right: 0 !important;
  }
  .main-container .block-system-main-block .layout-builder__layout > [class*="col-"] {
    padding-right: 15px;
  }
  #block-dxpr-theme-marshillbluebanner {
    margin-right: -15px;
  }
}

/* Phones: the blue bar is always exactly 73px (logo 8px from the top and
   bottom), so its height can't change as the page scrolls. The blue is
   painted on the bar itself, so anything inside that is taller can't
   stretch it. The sidebar column is empty on phones once the logo has
   moved into the bar, so it is hidden rather than left as a blue strip. */
@media (max-width: 743.98px) {
  #navbar.dxpr-theme-header {
    height: 73px;
    min-height: 0;
    background-color: #506CAB;
  }
  #navbar.dxpr-theme-header > .navbar-container {
    height: 73px;
    min-height: 0;
    background-color: transparent;
  }
  .main-container > .row > aside.col-sm-3:not(:has(#block-dxpr-theme-headerdesktoplogoblock--2)) {
    display: none;
  }
}

/* Phones: same, smaller gap between the banner and the page title on
   every page (about 18px to the top of the title text). Cancels the top
   padding from Bootstrap Styles (bs-p-3 etc., !important) and from the
   table2 rule, and trims the title's own 30px to 20px. */
@media (max-width: 743.98px) {
  .main-container .region-content .block-system-main-block {
    padding-top: 0;
  }
  .main-container .block-system-main-block :is([class*="bs-p-"], [class*="bs-py-"], [class*="bs-pt-"]) {
    padding-top: 0 !important;
  }
  .main-container .region-content h1.page-heading {
    padding-top: 20px;
  }
}

/* Phones: shorter Mars Hill logo without the "Ministry through Media"
   tagline (files/2025-11/marshill-logo-mobile-cropped.png, trimmed to the
   artwork), same 150px width as before, so the bar drops to 73px. The
   hamburger's three lines are centred vertically in the bar (the bars sit
   12px below the top of the toggle, so 24px + 12px = the 36.5px middle).
   Desktop keeps the full logo. */
@media (max-width: 743.98px) {
  #navbar #block-dxpr-theme-headerdesktoplogoblock--2 img {
    content: url("/sites/default/files/2025-11/marshill-logo-mobile-cropped.png");
    width: 150px;
    height: 57px;
    object-fit: contain;
  }
  #navbar #dxpr-theme-menu-toggle {
    margin-top: 24px;
    margin-bottom: 0;
  }
}

/* Mobile menu: header seam fix. Overlap the header by 1px so no banner shows through on fractional-DPR phones. */
.body--dxpr-theme-nav-mobile #dxpr-theme-main-menu {
  margin-top: -1px !important;
}

/* Knowing God table: first column flush with the logo edge; sub-points pulled in by the same 10px. */
table.kg-table tr > :first-child {
  padding-left: 0;
}
table.kg-table tr > td.sec-indent:first-child {
  padding-left: calc(2.5em - 10px);
}

/* ------------------------------------------------------------------
 * Error pages (403 /access-denied, 404 /page-not-found):
 * Mars Hill blue buttons.
 * ------------------------------------------------------------------ */
.mh-error-page .btn,
.mh-error-page .btn-primary {
  margin: 0 8px 8px 0;
  background: #506CAB;
  border-color: #3E5485;
  color: #ffffff;
}
.mh-error-page .btn:hover,
.mh-error-page .btn:focus {
  background: #3E5485;
  border-color: #3E5485;
  color: #ffffff;
}
