

@media (min-width: 1200px) and (max-width: 1340px) {
    .btn.btn-sm, .btn.wishlist {
    padding: .8em 0.8em ! IMPORTANT;
}
}
/* =========================================================
   CALENDAR BUTTONS
   ========================================================= */

.mcps-calendar-link-btn {
  color: #1f3a69 !important;
  background-color: #ffffff  !important;
  border: 2px solid #0285b6  !important;
}

.mcps-calendar-link-btn:hover,
.mcps-calendar-link-btn:focus {
  color: #1f3a69  !important;
  background-color: #f2f8fb !important;
  border-color: #0285b6  !important;
}

.mcps-calendar-link-btn:focus {
  box-shadow: 0 0 0 0.2rem rgba(7, 190, 253, 0.35);
}

.mcps-calendar-link-btn em {
  color: #0285b6;
  font-style: normal;
	    font-size: 1.7em;
}


/* =========================================================
   CHOOSE YOUR PATH
   ========================================================= */

.path-box {
    display: flex;
    align-items: flex-end;
    justify-content: center;

    width: 100%;
    height: 480px;

    /*
      Reduced from 100px so the text sits lower
      within the darker part of the gradient.
    */
    padding: 0 24px 70px;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    color: #ffffff !important;
    text-decoration: none;

    text-align: center;
    font-size: 2.55rem;
    font-weight: 700;

    /*
      Reduced from 1.28 so two-line labels
      sit closer together.
    */
    line-height: 1.16 !important;

    overflow: hidden;

    transition: filter 0.3s ease;
}


/* =========================================================
   INDIVIDUAL BACKGROUND IMAGES AND COLOR OVERLAYS
   ========================================================= */

/*
  The overlay now:
  - begins subtly at 15% instead of 30%
  - remains light over the upper half
  - becomes stronger through the lower third
  - reaches 0.98 slightly earlier
  - never exceeds the original maximum opacity of 0.98
*/

.path-family {
    background-image:
        linear-gradient(
            to bottom,
            rgba(158, 74, 110, 0) 0%,
            rgba(158, 74, 110, 0.04) 15%,
            rgba(158, 74, 110, 0.10) 28%,
            rgba(158, 74, 110, 0.25) 43%,
            rgba(158, 74, 110, 0.48) 56%,
            rgba(158, 74, 110, 0.75) 67%,
            rgba(158, 74, 110, 0.90) 82%,
            rgba(158, 74, 110, 0.98) 94%,
            rgba(158, 74, 110, 0.98) 100%
        ),
        url("https://www.montgomeryschoolsmd.org/siteassets/district/new-homepage/hp-family-resources.jpg");
}

.path-student {
    background-image:
        linear-gradient(
            to bottom,
            rgba(2, 133, 182, 0) 0%,
            rgba(2, 133, 182, 0.04) 15%,
            rgba(2, 133, 182, 0.10) 28%,
            rgba(2, 133, 182, 0.25) 43%,
            rgba(2, 133, 182, 0.48) 56%,
            rgba(2, 133, 182, 0.75) 67%,
            rgba(2, 133, 182, 0.90) 82%,
            rgba(2, 133, 182, 0.98) 94%,
            rgba(2, 133, 182, 0.98) 100%
        ),
        url("https://www.montgomeryschoolsmd.org/siteassets/district/new-homepage/studenta.jpg");
}

.path-careers {
    background-image:
        linear-gradient(
            to bottom,
            rgba(255, 111, 97, 0) 0%,
            rgba(255, 111, 97, 0.04) 15%,
            rgba(255, 111, 97, 0.10) 28%,
            rgba(255, 111, 97, 0.25) 43%,
            rgba(255, 111, 97, 0.48) 56%,
            rgba(255, 111, 97, 0.75) 67%,
            rgba(255, 111, 97, 0.90) 82%,
            rgba(255, 111, 97, 0.98) 94%,
            rgba(255, 111, 97, 0.98) 100%
        ),
        url("https://www.montgomeryschoolsmd.org/siteassets/district/new-homepage/careera.jpg");
}

.path-staff {
    background-image:
        linear-gradient(
            to bottom,
            rgba(31, 58, 105, 0) 0%,
            rgba(31, 58, 105, 0.04) 15%,
            rgba(31, 58, 105, 0.10) 28%,
            rgba(31, 58, 105, 0.25) 43%,
            rgba(31, 58, 105, 0.48) 56%,
            rgba(31, 58, 105, 0.75) 67%,
            rgba(31, 58, 105, 0.90) 82%,
            rgba(31, 58, 105, 0.98) 94%,
            rgba(31, 58, 105, 0.98) 100%
        ),
        url("https://www.montgomeryschoolsmd.org/siteassets/district/new-homepage/staffd.jpg");
}


/* =========================================================
   HOVER AND KEYBOARD FOCUS
   ========================================================= */

.path-box:hover,
.path-box:focus {
    color: #ffffff !important;
    text-decoration: none;
    filter: brightness(1.1);
}

.path-box:focus-visible {
    outline: 4px solid #ffffff;
    outline-offset: -8px;
}


/* =========================================================
   MCPS VIDEO HERO
   ========================================================= */

.mcps-video-hero {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #1f3a69;
}
.mcps-video-hero, .mcps-video-hero * { box-sizing: border-box; }
.mcps-video-hero-stage, .mcps-video-hero-container { position: relative; }
.mcps-video-hero-stage { height: clamp(220px, 56.25vw, 325px); overflow: hidden; background-color: #1f3a69; }
.mcps-video-hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  pointer-events: none;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}
.mcps-video-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: none !important;
  pointer-events: none;
}
.mcps-video-hero-content {
  position: relative;
  z-index: 3;
  background-color: #1f3a69;
  pointer-events: none;
}
.mcps-video-hero-content a, .mcps-video-hero-content button { pointer-events: auto; }
.mcps-video-hero-container { width: 100%; margin: 0 auto; padding: 0 15px; }
.mcps-hero-heading {
  position: absolute;
  left: 15px;
  bottom: calc(100% + 2rem);
  z-index: 4;
  display: inline-block;
}
.mcps-hero-title {
  margin: 0;
  color: #ffffff;
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  font-size: 2rem;
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 2px rgba(7, 27, 58, 1),
    0 2px 5px rgba(7, 27, 58, 0.9),
    0 4px 12px rgba(0, 0, 0, 0.45);
}
.mcps-hero-accent {
  display: none;
  width: 105px;
  height: 5px;
  margin-top: 0.75rem;
  background-color: #0285b6;
}
.mcps-calendar-widget {
  width: 100%;
  max-width: 300px;
  min-height: 72px;
  margin: 0 auto !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.6rem;
  background-color: rgba(255, 255, 255, 0.96);
  color: #071b3a;
  border-left: 6px solid #0285b6 !important;
  transition: background-color 0.18s ease, transform 0.18s ease,
    box-shadow 0.18s ease;
}
.mcps-calendar-widget > a {
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #071b3a !important;
  text-decoration: none !important;
}
.mcps-calendar-widget:hover, .mcps-calendar-widget:focus-within {
  background-color: #ffffff;
  transform: translateY(-2px);
}
.mcps-calendar-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #0285b6;
  color: #ffffff;
  border-radius: 7px;
  line-height: 1;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.14);
}
.mcps-calendar-icon__month, .mcps-calendar-icon__day { color: inherit; line-height: 1; font-weight: 700; }
.mcps-calendar-icon__month {
  margin-bottom: 0.12rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.mcps-calendar-icon__day { font-size: 1.25rem; }
.mcps-calendar-widget__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.mcps-calendar-widget__text {
  display: block;
  color: #071b3a;
  font-size: 1rem;
  line-height: 1.2;
  font-weight: 400;
  white-space: normal;
  overflow-wrap: break-word;
}
.mcps-calendar-widget-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 0.75rem;
  row-gap: 0.22rem;
  margin-top: 0.32rem;
  color: #4b5563;
  font-size: 0.8rem;
  line-height: 1.2;
  font-weight: 400;
}
.mcps-calendar-widget-meta-item {
  max-width: 100%;
  min-width: 0;
  display: inline-flex;
  align-items: center;
}
.mcps-calendar-widget-time { flex: 0 0 auto; white-space: nowrap; }
.mcps-calendar-widget-location { flex: 0 1 auto; white-space: normal; }
.mcps-calendar-widget-meta-icon {
  flex: 0 0 0.85rem;
  width: 0.85rem;
  margin-right: 0.3rem;
  color: #1f3a69;
  font-family: FontAwesome;
  font-size: 0.8rem;
  line-height: 1;
  font-style: normal;
  font-weight: normal;
  text-align: center;
}
.mcps-calendar-widget-meta-value { min-width: 0; overflow-wrap: break-word; }
.mcps-calendar-widget:focus-within {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px #071b3a,
    0 5px 14px rgba(0, 0, 0, 0.3) !important;
}
.mcps-calendar-widget > a:focus { outline: none; }
.mcps-hero-actions {
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.mcps-hero-btn {
  width: 100%;
  min-height: 52px;
  margin: 0 !important;
  padding: 0.4rem 1rem !important;
  background: rgba(7, 27, 58, 0.66) !important;
  border: 2px solid #07befd !important;
  border-radius: 0.25rem !important;
  color: #ffffff !important;
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  font-size: 1rem !important;
  line-height: 1.2;
  font-weight: 600;
  text-align: left;
  text-transform: none;
  text-decoration: none;
  text-shadow: 0 1px 2px rgba(7, 27, 58, 1),
    0 2px 5px rgba(0, 0, 0, 0.85);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.3) !important;
  transition: background-color 0.18s ease, border-color 0.18s ease,
    transform 0.18s ease, box-shadow 0.18s ease;
}
.mcps-hero-btn:visited { color: #ffffff !important; }
.mcps-hero-actions .mcps-hero-btn:hover, .mcps-hero-actions .mcps-hero-btn:focus {
  background: rgba(7, 27, 58, 0.9) !important;
  border-color: #ffffff !important;
  color: #ffffff !important;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45),
    0 0 0 2px rgba(255, 255, 255, 0.25) !important;
}
.mcps-hero-actions .mcps-hero-btn:active {
  background: rgba(7, 27, 58, 0.96) !important;
  border-color: #ffffff !important;
  color: #ffffff !important;
  transform: translateY(0);
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.3) !important;
}
.mcps-hero-btn:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px #071b3a,
    0 7px 18px rgba(0, 0, 0, 0.38) !important;
}
.mcps-hero-button-label { flex: 1 1 auto; min-width: 0; }
.mcps-hero-btn em.fa {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit !important;
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
}
.mcps-hero-button-main-icon {
  flex: 0 0 2.35rem;
  width: 2.35rem;
  margin-right: 0.8rem;
  font-size: 1.75rem !important;
  text-align: center;
}
.mcps-hero-button-arrow { flex: 0 0 auto; margin-left: 0.8rem; font-size: 1.3rem !important; }
.mcps-video-toggle, .mcps-video-toggle:hover, .mcps-video-toggle:focus, .mcps-video-toggle:active {
  background: transparent !important;
  border: 0 !important;
  color: #ffffff !important;
  text-decoration: none;
  transform: none !important;
  box-shadow: none !important;
}
.mcps-video-toggle {
  position: absolute;
  right: 0.75rem;
  bottom: 0.5rem;
  z-index: 10;
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: auto;
  height: 44px;
  min-width: 0;
  min-height: 44px;
  margin: 0 !important;
  padding: 0 !important;
  column-gap: 8px;
  overflow: visible !important;
  border-radius: 0 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 14px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  text-align: left;
  text-transform: none !important;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(7, 27, 58, 1),
    0 2px 5px rgba(0, 0, 0, 0.9);
  cursor: pointer;
  pointer-events: auto !important;
  touch-action: manipulation;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.55));
  -webkit-appearance: none;
  appearance: none;
}
.mcps-video-toggle:hover .mcps-video-toggle-text { text-decoration: underline; }
.mcps-video-toggle:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px #071b3a !important;
}
.mcps-video-toggle-text {
  order: 1;
  position: static !important;
  display: inline-block !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  clip: auto !important;
  clip-path: none !important;
  border: 0 !important;
  background-color: transparent;
  color: inherit;
  font: inherit;
  line-height: 1;
  white-space: nowrap !important;
}
.mcps-video-toggle-icon {
  order: 2;
  flex: 0 0 20px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin: 0 !important;
  padding: 0;
  background-color: rgba(31, 58, 105, 0.72);
  border: 2px solid #ffffff;
  border-radius: 50%;
  color: #ffffff !important;
  font-family: FontAwesome;
  font-size: 0 !important;
  line-height: 1;
  font-style: normal;
  font-weight: normal;
  text-align: center;
  text-shadow: none;
}
.mcps-video-toggle-icon::before { display: block; font-size: 8px; line-height: 1; }
.mcps-video-toggle-icon.fa-play::before { margin-left: 1px; }
.mcps-video-toggle .waves-ripple { display: none !important; }
#homepageEmergencyButton .btn {
	font-size: 0.9em !important;}
@media (min-width: 576px) {
  .mcps-video-hero-stage { height: clamp(540px, 68vw, 600px); }
  .mcps-video-hero-content { position: absolute; inset: 0; background-color: transparent; }
  .mcps-video-hero-container, .mcps-video-hero-row { height: 100%; }
  .mcps-hero-heading {
    position: relative;
    left: auto;
    bottom: auto;
    margin-bottom: 1rem;
  }
  .mcps-hero-title { font-size: clamp(2.3rem, 7vw, 3.4rem); }
  .mcps-hero-accent { display: block; }
  .mcps-calendar-widget { margin-right: auto !important; margin-left: 0 !important; }
  .mcps-video-hero-overlay {
    display: block !important;
    background-image: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.34) 0%,
      rgba(0, 0, 0, 0.28) 17%,
      rgba(0, 0, 0, 0.16) 29%,
      rgba(0, 0, 0, 0.06) 39%,
      rgba(0, 0, 0, 0) 48%,
      rgba(0, 0, 0, 0) 100%
    );
  }
}
@media (min-width: 992px) {
  .mcps-video-hero-stage { height: auto; min-height: 0; }
  .mcps-video-hero-video {
    position: relative;
    inset: auto;
    height: auto;
    object-fit: contain;
    object-position: center center;
  }
  .mcps-video-hero-container { width: calc(100% - 3rem); max-width: 1140px; }
  .mcps-hero-heading { margin-bottom: clamp(1rem, 1.25vw, 1.25rem); }
  .mcps-hero-title { font-size: clamp(3rem, 4.8vw, 3.9rem); }
  .mcps-hero-accent {
    width: clamp(105px, 8.25vw, 131px);
    height: 6px;
    margin-top: clamp(0.75rem, 0.95vw, 0.9375rem);
  }
  .mcps-calendar-widget {
    max-width: 375px;
    min-height: clamp(72px, 5.65vw, 90px);
    padding: clamp(0.5rem, 0.625vw, 0.625rem) !important;
    gap: clamp(0.6rem, 0.75vw, 0.75rem);
    border-left-width: 8px !important;
    border-radius: 0.3125rem !important;
  }
  .mcps-calendar-widget > a { gap: clamp(0.6rem, 0.75vw, 0.75rem); }
  .mcps-calendar-icon {
    flex-basis: clamp(44px, 3.45vw, 55px);
    width: clamp(44px, 3.45vw, 55px);
    height: clamp(50px, 3.95vw, 63px);
    border-radius: 8px;
  }
  .mcps-calendar-icon__month { font-size: clamp(0.9rem, 1.12vw, 1.125rem); }
  .mcps-calendar-icon__day { font-size: clamp(1.25rem, 1.55vw, 1.5625rem); }
  .mcps-calendar-widget__text { font-size: clamp(1rem, 1.05vw, 1.125rem); }
  .mcps-calendar-widget-meta {
    column-gap: clamp(0.75rem, 0.94vw, 0.9375rem);
    row-gap: clamp(0.22rem, 0.28vw, 0.275rem);
    margin-top: clamp(0.32rem, 0.4vw, 0.4rem);
    font-size: clamp(0.8rem, 1vw, 1rem);
  }
  .mcps-calendar-widget-meta-icon {
    flex-basis: clamp(0.85rem, 1.06vw, 1.0625rem);
    width: clamp(0.85rem, 1.06vw, 1.0625rem);
    margin-right: clamp(0.3rem, 0.38vw, 0.375rem);
    font-size: clamp(0.8rem, 1vw, 1rem);
  }
  .mcps-hero-actions {
    max-width: 410px;
    margin-right: 0 !important;
    margin-left: auto !important;
    gap: clamp(0.85rem, 1.06vw, 1.0625rem);
  }
  .mcps-hero-btn {
    min-height: clamp(52px, 4.1vw, 65px);
    padding: clamp(0.4rem, 0.5vw, 0.5rem)
      clamp(1rem, 1.25vw, 1.25rem) !important;
    font-size: clamp(1rem, 1.25vw, 1.25rem) !important;
  }
  .mcps-hero-button-main-icon {
    flex-basis: clamp(2.35rem, 2.94vw, 2.9375rem);
    width: clamp(2.35rem, 2.94vw, 2.9375rem);
    margin-right: clamp(0.8rem, 1vw, 1rem);
    font-size: clamp(1.75rem, 2.19vw, 2.1875rem) !important;
  }
  .mcps-hero-button-arrow {
    margin-left: clamp(0.8rem, 1vw, 1rem);
    font-size: clamp(1.3rem, 1.63vw, 1.625rem) !important;
  }
  .mcps-video-toggle {
    right: clamp(0.75rem, 0.94vw, 0.9375rem);
    bottom: clamp(0.5rem, 0.63vw, 0.625rem);
    column-gap: clamp(8px, 0.63vw, 10px);
    font-size: clamp(14px, 1.1vw, 17.5px) !important;
  }
  .mcps-video-toggle-icon {
    flex-basis: clamp(20px, 1.57vw, 25px);
    width: clamp(20px, 1.57vw, 25px);
    height: clamp(20px, 1.57vw, 25px);
  }
  .mcps-video-toggle-icon::before { font-size: clamp(8px, 0.63vw, 10px); }
  .mcps-video-hero-overlay {
    background-image: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.34) 0%,
      rgba(0, 0, 0, 0.28) 16%,
      rgba(0, 0, 0, 0.15) 28%,
      rgba(0, 0, 0, 0.06) 38%,
      rgba(0, 0, 0, 0) 48%,
      rgba(0, 0, 0, 0) 100%
    );
  }
}
@media (min-width: 1200px) {
  .mcps-video-hero-container {
    width: calc(100% - 6rem);
    max-width: 1680px;
    padding-right: 15px;
    padding-left: 15px;
  }
}
@media (min-width: 992px) and (max-width: 1059.98px) {
  .mcps-video-toggle { right: 0.4rem; bottom: 0.2rem; font-size: 13px !important; }
  .mcps-video-toggle-icon { flex-basis: 18px; width: 18px; height: 18px; }
  .mcps-video-toggle-icon::before { font-size: 7px; }
}
@media (max-width: 575.98px) {
  .mcps-video-hero { margin-top: -1rem !important; }
  .mcps-calendar-widget { max-width: 285px; min-height: 70px; }
  .mcps-calendar-icon { flex: 0 0 40px; width: 40px; height: 46px; }
  .mcps-calendar-icon__month { margin-bottom: 0.1rem; font-size: 0.8rem; letter-spacing: 0.04em; }
  .mcps-calendar-icon__day { font-size: 1.15rem; }
  .mcps-calendar-widget__text { font-size: 0.95rem; }
  .mcps-calendar-widget-meta {
    column-gap: 0.55rem;
    row-gap: 0.18rem;
    margin-top: 0.25rem;
    font-size: 0.8rem;
  }
  .mcps-calendar-widget-meta-icon {
    flex-basis: 0.75rem;
    width: 0.75rem;
    margin-right: 0.22rem;
    font-size: 0.72rem;
  }
  .mcps-hero-actions { max-width: 360px; margin: 0 auto !important; gap: 0.75rem; }
  .mcps-hero-btn { min-height: 50px; padding: 0.38rem 0.9rem !important; font-size: 1rem !important; }
  .mcps-hero-button-main-icon {
    flex-basis: 2.2rem;
    width: 2.2rem;
    margin-right: 0.7rem;
    font-size: 1.65rem !important;
  }
  .mcps-hero-button-arrow { margin-left: 0.7rem; font-size: 1.2rem !important; }
  .mcps-video-toggle {
    right: 0.5rem;
    bottom: 0.2rem;
    column-gap: 6px;
    font-size: 13px !important;
  }
  .mcps-video-toggle-icon { flex-basis: 18px; width: 18px; height: 18px; }
  .mcps-video-toggle-icon::before { font-size: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  .mcps-calendar-widget, .mcps-hero-btn { transition: none; }
  .mcps-calendar-widget:hover, .mcps-calendar-widget:focus-within, .mcps-hero-btn:hover, .mcps-hero-btn:focus {
    transform: none;
  }
}






