/*
 * Hilltop Brain Injury Services
 * Life Adjustment Program / node 900
 * POLISHED DESIGN PASS — v1.9 FINAL
 *
 * All selectors are scoped to body.page-node-900.
 * Layout Builder remains Boxed + With Gutters; the theme's own .container
 * continues to define the content width.
 */

body.page-node-900 {
  --lap-navy: #14255d;
  --lap-navy-2: #233a76;
  --lap-olive: #5b5d20;
  --lap-olive-dark: #464915;
  --lap-olive-light: #cfd2a2;
  --lap-olive-pale: #f4f3e8;
  --lap-blue-pale: #eef5f8;
  --lap-warm-pale: #f8f5ee;
  --lap-gray-pale: #f5f6f7;
  --lap-text: #23262d;
  --lap-muted: #586275;
  --lap-border: #dde1e5;
  --lap-magenta: #b61f61;
  --lap-card: #ffffff;
  --lap-radius: 18px;
  --lap-shadow-sm: 0 8px 24px rgba(21, 38, 95, 0.07);
  --lap-shadow-md: 0 16px 42px rgba(21, 38, 95, 0.10);
  --lap-shadow-lg: 0 24px 70px rgba(21, 38, 95, 0.13);
}

/* ---------------------------------------------------------
   BASE / UTILITIES
   --------------------------------------------------------- */

body.page-node-900 .lap-hero,
body.page-node-900 .lap-pillars,
body.page-node-900 .lap-intro,
body.page-node-900 .lap-gallery-intro,
body.page-node-900 .lap-actions {
  box-sizing: border-box;
  color: var(--lap-text);
}

body.page-node-900 .lap-hero *,
body.page-node-900 .lap-pillars *,
body.page-node-900 .lap-intro *,
body.page-node-900 .lap-gallery-intro *,
body.page-node-900 .lap-actions * {
  box-sizing: border-box;
}

body.page-node-900 .lap-sr-only,
body.page-node-900 .lap-carousel__status {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

body.page-node-900 .lap-eyebrow {
  margin: 0 0 0.7rem;
  color: var(--lap-olive);
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  line-height: 1.35;
  text-transform: uppercase;
}

body.page-node-900 .lap-button {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 46px;
  margin-top: 1rem;
  padding: 0.8rem 1.15rem;
  border: 2px solid var(--lap-olive);
  border-radius: 9px;
  background: var(--lap-olive);
  box-shadow: 0 6px 14px rgba(70, 73, 21, 0.18);
  color: #fff !important;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none !important;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease;
}

body.page-node-900 .lap-button:hover {
  border-color: var(--lap-olive-dark);
  background: var(--lap-olive-dark);
  box-shadow: 0 9px 20px rgba(70, 73, 21, 0.24);
  color: #fff !important;
  text-decoration: none !important;
  transform: translateY(-2px);
}

body.page-node-900 .lap-button:focus-visible,
body.page-node-900 .lap-carousel__button:focus-visible,
body.page-node-900 .lap-carousel__track:focus-visible,
body.page-node-900 .lap-carousel__dot:focus-visible,
body.page-node-900 #highlighted a:focus-visible {
  outline: 3px solid #1670b7;
  outline-offset: 3px;
}

body.page-node-900 .lap-button--small {
  min-height: 42px;
  margin-top: auto;
  padding: 0.65rem 0.95rem;
  font-size: 0.9rem;
}

/* Empty Page Canvas node header must not create space above the hero. */
body.page-node-900 .node__header:empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
  border: 0 !important;
}

/* Remove theme spacing between the page-title banner and the first Layout Builder region. */
body.page-node-900 #main-content,
body.page-node-900 .main-content,
body.page-node-900 .main-content__container,
body.page-node-900 .main-content__section,
body.page-node-900 .region-content,
body.page-node-900 #block-cleanplus-content,
body.page-node-900 #block-cleanplus-content > .content,
body.page-node-900 .node--type-mt-canvas-page,
body.page-node-900 .node__container,
body.page-node-900 .node__main-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/*
 * JS adds these classes to the outer Layout Builder section wrappers.
 * They remove the "stack of white blocks" feeling without changing the
 * user's Boxed container choice.
 */
body.page-node-900 .lap-layout-section--hero,
body.page-node-900 .lap-layout-section--pillars,
body.page-node-900 .lap-layout-section--daily-intro,
body.page-node-900 .lap-layout-section--outings,
body.page-node-900 .lap-layout-section--campus,
body.page-node-900 .lap-layout-section--actions {
  padding: clamp(3rem, 5vw, 4.6rem) 0;
  border-top: 1px solid #d5d9bd;
  border-bottom: 1px solid #d5d9bd;
  background: linear-gradient(180deg, #eef0df 0%, #e7ead4 100%);
}

body.page-node-900 .lap-layout-section--hero {
  padding: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(3rem, 4vw, 4rem) !important;
  background: linear-gradient(180deg, #eef0df 0%, #e7ead4 100%);
}

body.page-node-900 .lap-layout-section--pillars {
  padding: 0 0 clamp(2.7rem, 5vw, 4.8rem);
}

/* ---------------------------------------------------------
   HERO
   --------------------------------------------------------- */

body.page-node-900 .lap-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: stretch;
  min-height: 500px;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(21, 38, 95, 0.10);
  border-radius: 22px;
  background:
    linear-gradient(118deg, #fff 0%, #fff 48%, #f3f5f6 100%);
  box-shadow: var(--lap-shadow-lg);
}

body.page-node-900 .lap-hero::before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: min(34%, 360px);
  height: 5px;
  border-radius: 0 0 5px 0;
  background: linear-gradient(90deg, var(--lap-olive), #8b8e4a);
  content: "";
}

body.page-node-900 .lap-hero__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 4vw, 4rem);
}

body.page-node-900 .lap-hero h2 {
  max-width: 10.5ch;
  margin: 0 0 0.95rem;
  color: var(--lap-navy);
  font-size: clamp(2.35rem, 4.35vw, 3.8rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

body.page-node-900 .lap-hero__lead {
  max-width: 55ch;
  margin: 0;
  color: var(--lap-muted);
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  line-height: 1.72;
}

body.page-node-900 .lap-hero__media {
  min-height: 500px;
  overflow: hidden;
}

body.page-node-900 .lap-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  object-position: center center;
  transition: transform 500ms ease;
}

@media (hover: hover) and (pointer: fine) {
  body.page-node-900 .lap-hero:hover .lap-hero__media img {
    transform: scale(1.012);
  }
}

/* ---------------------------------------------------------
   CULTURE / FOCUS / 5 THINGS
   v1.2: stronger hierarchy, much easier scanning/readability
   --------------------------------------------------------- */

body.page-node-900 .lap-layout-section--pillars {
  position: relative;
  padding-top: clamp(2rem, 3vw, 2.75rem);
  padding-bottom: clamp(3rem, 5vw, 4.75rem);
  background:
    radial-gradient(circle at 12% 0%, rgba(91, 93, 32, 0.045), transparent 24rem),
    linear-gradient(180deg, #ffffff 0%, #fbfbfa 100%);
}

body.page-node-900 .lap-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 1.8vw, 1.4rem);
  margin: 0;
  overflow: visible;
  border: 0;
  background: transparent;
}

body.page-node-900 .lap-pillar {
  --pillar-accent: #6a6c28;
  --pillar-tint: rgba(106, 108, 40, 0.11);
  position: relative;
  display: block;
  min-width: 0;
  min-height: 100%;
  padding: clamp(1.75rem, 2.5vw, 2.15rem);
  overflow: hidden;
  border: 1px solid #dfe2e4;
  border-top: 6px solid var(--pillar-accent);
  border-radius: 18px;
  background:
    linear-gradient(180deg, var(--pillar-tint) 0%, rgba(255,255,255,0) 145px),
    #ffffff;
  box-shadow:
    0 10px 28px rgba(21, 38, 95, 0.07),
    0 1px 0 rgba(255,255,255,0.8) inset;
  transition:
    transform 170ms ease,
    box-shadow 170ms ease,
    border-color 170ms ease;
}

body.page-node-900 .lap-pillar:nth-of-type(2) {
  --pillar-accent: #4e7891;
  --pillar-tint: rgba(78, 120, 145, 0.11);
}

body.page-node-900 .lap-pillar:nth-of-type(3) {
  --pillar-accent: #8b6747;
  --pillar-tint: rgba(139, 103, 71, 0.11);
}

body.page-node-900 .lap-pillar + .lap-pillar {
  border-left: 1px solid #dfe2e4;
}

@media (hover: hover) and (pointer: fine) {
  body.page-node-900 .lap-pillar:hover {
    border-color: #c9cdd0;
    border-color: color-mix(in srgb, var(--pillar-accent) 35%, #dfe2e4);
    box-shadow:
      0 18px 42px rgba(21, 38, 95, 0.11),
      0 1px 0 rgba(255,255,255,0.9) inset;
    transform: translateY(-4px);
  }
}

/*
 * The cards read more cleanly without a decorative badge above each heading.
 * Keep the existing aria-hidden icon container in the HTML, but remove it from
 * the visual layout so no numbers or placeholder icons appear.
 */
body.page-node-900 .lap-pillar__icon {
  display: none !important;
}


body.page-node-900 .lap-pillar h3 {
  position: relative;
  margin: 0 0 1.05rem;
  padding-bottom: 0.8rem;
  color: #17245a;
  font-size: clamp(1.18rem, 1.45vw, 1.38rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.018em;
}

body.page-node-900 .lap-pillar h3::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 38px;
  height: 3px;
  border-radius: 999px;
  background: var(--pillar-accent);
  content: "";
}

body.page-node-900 .lap-pillar ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

body.page-node-900 .lap-pillar li {
  position: relative;
  margin: 0;
  padding: 0.62rem 0 0.62rem 1.35rem;
  border-bottom: 1px solid rgba(77, 87, 105, 0.10);
  color: #384255;
  font-size: clamp(0.96rem, 1vw, 1.03rem);
  line-height: 1.56;
}

body.page-node-900 .lap-pillar li:last-child {
  border-bottom: 0;
  padding-bottom: 0.1rem;
}

body.page-node-900 .lap-pillar li::before {
  position: absolute;
  top: 1.14rem;
  left: 0.15rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pillar-accent);
  box-shadow: 0 0 0 4px var(--pillar-tint);
  content: "";
}

body.page-node-900 .lap-pillar strong {
  color: #2e3748;
  font-weight: 700;
}

/* ---------------------------------------------------------
   "ENGAGING DAILY LIFE" TRANSITION BAND
   --------------------------------------------------------- */

body.page-node-900 .lap-layout-section--daily-intro {
  padding: clamp(2.7rem, 4vw, 3.8rem) 0;
  border-top: 1px solid #e7e5d9;
  border-bottom: 1px solid #e7e5d9;
  background:
    radial-gradient(circle at 84% 22%, rgba(91, 93, 32, 0.09), transparent 22rem),
    linear-gradient(135deg, #faf9f4 0%, #f4f3e9 100%);
}

body.page-node-900 .lap-intro {
  position: relative;
  max-width: 800px;
  margin: 0;
  padding: 0 0 0 1.4rem;
  text-align: left;
}

body.page-node-900 .lap-intro::before {
  position: absolute;
  top: 0.2rem;
  bottom: 0.2rem;
  left: 0;
  width: 4px;
  border-radius: 4px;
  background: var(--lap-olive);
  content: "";
}

body.page-node-900 .lap-intro h2 {
  margin: 0 0 0.65rem;
  color: var(--lap-navy);
  font-size: clamp(2rem, 3.2vw, 2.85rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

body.page-node-900 .lap-intro p:not(.lap-eyebrow) {
  max-width: 68ch;
  margin: 0;
  color: var(--lap-muted);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.72;
}

/* ---------------------------------------------------------
   GALLERY SECTION BANDS
   --------------------------------------------------------- */

body.page-node-900 .lap-layout-section--outings,
body.page-node-900 .lap-layout-section--campus {
  position: relative;
  padding: clamp(3rem, 5vw, 5rem) 0;
  overflow: hidden;
}

body.page-node-900 .lap-layout-section--outings {
  border-bottom: 1px solid #dfe8ec;
  background:
    radial-gradient(circle at 92% 8%, rgba(76, 126, 153, 0.10), transparent 24rem),
    linear-gradient(180deg, #f4f8fa 0%, #eef4f7 100%);
}

body.page-node-900 .lap-layout-section--campus {
  border-bottom: 1px solid #e8e2d6;
  background:
    radial-gradient(circle at 8% 8%, rgba(139, 108, 78, 0.09), transparent 23rem),
    linear-gradient(180deg, #fbf8f2 0%, #f7f3ea 100%);
}

body.page-node-900 .lap-gallery-intro {
  position: relative;
  max-width: 780px;
  padding: 0;
}

body.page-node-900 .lap-gallery-intro::after {
  display: block;
  width: 56px;
  height: 4px;
  margin-top: 1.15rem;
  border-radius: 99px;
  background: var(--lap-olive);
  content: "";
}

body.page-node-900 .lap-layout-section--outings .lap-gallery-intro::after {
  background: #547a94;
}

body.page-node-900 .lap-layout-section--campus .lap-gallery-intro::after {
  background: #8b6c4e;
}

body.page-node-900 .lap-gallery-intro h2 {
  margin: 0 0 0.65rem;
  color: var(--lap-navy);
  font-size: clamp(2rem, 3vw, 2.65rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

body.page-node-900 .lap-gallery-intro p {
  max-width: 68ch;
  margin: 0;
  color: var(--lap-muted);
  font-size: 1.02rem;
  line-height: 1.68;
}

body.page-node-900 .lap-note {
  margin-top: 0.7rem !important;
  color: #6f665d !important;
  font-size: 0.9rem !important;
}

/* ---------------------------------------------------------
   IMAGE GALLERIES -> POLISHED, ACCESSIBLE CAROUSELS
   --------------------------------------------------------- */

body.page-node-900 .block-inline-blockmt-image-gallery,
body.page-node-900 .lap-gallery-source {
  margin: 1.65rem 0 0;
}

body.page-node-900 .block-inline-blockmt-image-gallery img,
body.page-node-900 .lap-gallery-source img {
  max-width: 100%;
  height: auto;
}

body.page-node-900 .lap-gallery--enhanced > .content {
  display: none !important;
}

body.page-node-900 .lap-carousel {
  position: relative;
  margin-top: 0;
  padding-inline: 3.1rem;
}

body.page-node-900 .lap-carousel__viewport {
  overflow: hidden;
  border-radius: 16px;
}

body.page-node-900 .lap-carousel__track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.25rem 0 1rem;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}

body.page-node-900 .lap-carousel__track::-webkit-scrollbar {
  display: none;
}

body.page-node-900 .lap-carousel__slide {
  flex: 0 0 calc((100% - 2rem) / 3);
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(21, 38, 95, 0.10);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(21, 38, 95, 0.10);
  scroll-snap-align: start;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

@media (hover: hover) and (pointer: fine) {
  body.page-node-900 .lap-carousel__slide:hover {
    box-shadow: 0 18px 42px rgba(21, 38, 95, 0.15);
    transform: translateY(-3px);
  }
}

body.page-node-900 .lap-carousel__slide img {
  display: block;
  width: 100%;
  height: clamp(250px, 20vw, 335px);
  object-fit: cover;
  object-position: center center;
}

body.page-node-900 .lap-carousel__button {
  position: absolute;
  top: calc(50% - 0.55rem);
  z-index: 3;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(91, 93, 32, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 24px rgba(21, 38, 95, 0.16);
  color: var(--lap-olive-dark);
  cursor: pointer;
  font-family: Arial, sans-serif;
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-50%);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease,
    opacity 160ms ease;
}

body.page-node-900 .lap-carousel__button:hover:not(:disabled) {
  background: #fff;
  box-shadow: 0 12px 28px rgba(21, 38, 95, 0.22);
  transform: translateY(-50%) scale(1.05);
}

body.page-node-900 .lap-carousel__button:disabled {
  opacity: 0.28;
  cursor: default;
}

body.page-node-900 .lap-carousel__button--prev {
  left: 0;
}

body.page-node-900 .lap-carousel__button--next {
  right: 0;
}

body.page-node-900 .lap-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.3rem;
}

body.page-node-900 .lap-carousel__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #c3c7cc;
  cursor: pointer;
  transition:
    width 160ms ease,
    border-radius 160ms ease,
    background-color 160ms ease;
}

body.page-node-900 .lap-carousel__dot[aria-current="true"] {
  width: 24px;
  border-radius: 99px;
  background: var(--lap-olive);
}

body.page-node-900 .lap-gallery--outings .lap-carousel__dot[aria-current="true"] {
  background: #547a94;
}

body.page-node-900 .lap-gallery--campus .lap-carousel__dot[aria-current="true"] {
  background: #8b6c4e;
}

/* ---------------------------------------------------------
   MEDICAID / SOCIAL SECURITY ACTION BAND
   --------------------------------------------------------- */

body.page-node-900 .lap-layout-section--actions {
  padding: clamp(3rem, 5vw, 4.6rem) 0;
  border-top: 1px solid #e1e4e5;
  border-bottom: 1px solid #e1e4e5;
  background:
    linear-gradient(180deg, #f4f5f5 0%, #eceeef 100%);
}

body.page-node-900 .block-inline-blockmt-icon-features,
body.page-node-900 .lap-actions {
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

body.page-node-900 .block-inline-blockmt-icon-features > .title,
body.page-node-900 .lap-actions > h2 {
  margin: 0 0 1.65rem;
  color: var(--lap-navy);
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
  font-weight: 700;
  text-align: center;
}

body.page-node-900 .block-inline-blockmt-icon-features .field--name-field-mt-if-item {
  align-items: stretch;
}

body.page-node-900 .block-inline-blockmt-icon-features .field--name-field-mt-if-item > .field__item {
  display: flex;
  margin-bottom: 1rem;
}

body.page-node-900 .block-inline-blockmt-icon-features .paragraph--type--mt-icon-features {
  display: flex;
  width: 100%;
  overflow: hidden;
  border: 1px solid #d9dddf;
  border-top: 4px solid #c8ca91;
  border-radius: 15px;
  background: #fff;
  box-shadow: var(--lap-shadow-sm);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

@media (hover: hover) and (pointer: fine) {
  body.page-node-900 .block-inline-blockmt-icon-features .paragraph--type--mt-icon-features:hover {
    box-shadow: var(--lap-shadow-md);
    transform: translateY(-3px);
  }
}

body.page-node-900 .block-inline-blockmt-icon-features .feature {
  display: flex;
  width: 100%;
  flex-direction: column;
}

body.page-node-900 .block-inline-blockmt-icon-features .feature__icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  background: var(--lap-olive-pale);
  color: #a8aa6b;
}

body.page-node-900 .block-inline-blockmt-icon-features .feature__icon .fa-3x {
  font-size: 1.55rem;
}

body.page-node-900 .block-inline-blockmt-icon-features .feature__title {
  margin-top: 1rem;
  margin-bottom: 0.55rem;
  font-size: 1.08rem;
}

body.page-node-900 .block-inline-blockmt-icon-features .feature__title a {
  color: var(--lap-magenta);
  font-weight: 700;
}

body.page-node-900 .block-inline-blockmt-icon-features .feature__link {
  margin-top: auto;
  padding-top: 0.85rem;
}

body.page-node-900 .block-inline-blockmt-icon-features .feature__link .mt-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0.6rem 0.9rem;
  border-radius: 7px;
  background: var(--lap-olive);
  color: #fff !important;
  font-weight: 600;
  text-decoration: none !important;
}

body.page-node-900 .block-inline-blockmt-icon-features .feature__link .mt-button:hover {
  background: var(--lap-olive-dark);
}

body.page-node-900 .lap-actions__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

body.page-node-900 .lap-action-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 1.5rem;
  border: 1px solid var(--lap-border);
  border-top: 4px solid #c8ca91;
  border-radius: 15px;
  background: #fff;
  box-shadow: var(--lap-shadow-sm);
}

body.page-node-900 .lap-action-card__icon {
  display: grid;
  width: 50px;
  height: 50px;
  margin-bottom: 0.85rem;
  place-items: center;
  border-radius: 50%;
  background: var(--lap-olive-pale);
  color: var(--lap-olive);
  font-size: 1.2rem;
}

body.page-node-900 .lap-action-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.08rem;
}

body.page-node-900 .lap-action-card h3 a {
  color: var(--lap-magenta);
  font-weight: 700;
}

body.page-node-900 .lap-action-card p {
  margin: 0 0 1rem;
  color: var(--lap-muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

/* ---------------------------------------------------------
   EXISTING RESOURCES BLOCK — TIE IT INTO THE NEW DESIGN
   --------------------------------------------------------- */

body.page-node-900 #highlighted {
  padding: clamp(3rem, 5vw, 4.7rem) 0;
  border-top: 0;
  background:
    linear-gradient(180deg, #fff 0%, #fbfbfa 100%);
}

body.page-node-900 #highlighted .block > .title {
  margin-bottom: 1.7rem;
  color: var(--lap-navy);
  font-size: clamp(1.35rem, 2.1vw, 1.8rem);
  font-weight: 700;
  text-align: center;
}

body.page-node-900 #highlighted .featured-linked-text-tiles .row > [class*="col-"] {
  display: flex;
  margin-bottom: 1rem;
}

body.page-node-900 #highlighted .featured-linked-text-tile {
  display: flex;
  width: 100%;
  flex-direction: column;
  padding: 1.35rem !important;
  border: 1px solid #e3dfd2;
  border-top: 3px solid #d4ccaa;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 7px 22px rgba(21, 38, 95, 0.055);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

@media (hover: hover) and (pointer: fine) {
  body.page-node-900 #highlighted .featured-linked-text-tile:hover {
    border-color: #cbc39e;
    box-shadow: var(--lap-shadow-sm);
    transform: translateY(-2px);
  }
}

body.page-node-900 #highlighted .featured-linked-text-tile__title {
  margin-bottom: 0.55rem;
  font-size: 1rem;
  line-height: 1.35;
}

body.page-node-900 #highlighted .featured-linked-text-tile__title a {
  color: var(--lap-magenta);
  font-weight: 700;
}

body.page-node-900 #highlighted .featured-linked-text-tile__body {
  color: #4e5767;
  font-size: 0.91rem;
  line-height: 1.52;
}

body.page-node-900 #highlighted .featured-linked-text-tile__link {
  margin-top: auto;
  align-self: flex-start;
  padding: 0.55rem 0.85rem;
  border-radius: 7px;
  background: var(--lap-olive);
  color: #fff !important;
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none !important;
}

body.page-node-900 #highlighted .featured-linked-text-tile__link:hover {
  background: var(--lap-olive-dark);
}



/* ---------------------------------------------------------
   REUSABLE DRUPAL IMAGE GALLERY — EXACT MARKUP FALLBACK
   If JS has not yet enhanced the reusable block, keep it from rendering
   as one giant lead image plus tiny thumbnails.
   --------------------------------------------------------- */

body.page-node-900
.block-block-content:not(.lap-gallery--enhanced)
.field--name-field-mt-image-gallery-image
.images-container {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

body.page-node-900
.block-block-content:not(.lap-gallery--enhanced)
.field--name-field-mt-image-gallery-image
.image-preview {
  display: block !important;
  min-width: 0;
}

body.page-node-900
.block-block-content:not(.lap-gallery--enhanced)
.field--name-field-mt-image-gallery-image
.image-listing-items {
  display: contents !important;
}

body.page-node-900
.block-block-content:not(.lap-gallery--enhanced)
.field--name-field-mt-image-gallery-image
.image-listing-item {
  display: block !important;
  min-width: 0;
  margin: 0 !important;
}

body.page-node-900
.block-block-content:not(.lap-gallery--enhanced)
.field--name-field-mt-image-gallery-image
.image-wrapper,
body.page-node-900
.block-block-content:not(.lap-gallery--enhanced)
.field--name-field-mt-image-gallery-image
.field__item,
body.page-node-900
.block-block-content:not(.lap-gallery--enhanced)
.field--name-field-mt-image-gallery-image
.overlay-container {
  width: 100%;
  height: 100%;
}

body.page-node-900
.block-block-content:not(.lap-gallery--enhanced)
.field--name-field-mt-image-gallery-image
img {
  display: block;
  width: 100% !important;
  height: clamp(250px, 20vw, 335px) !important;
  margin: 0 !important;
  border-radius: 16px;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 12px 30px rgba(21, 38, 95, 0.10);
}

/* ---------------------------------------------------------
   ENLARGEABLE CAROUSEL IMAGES
   --------------------------------------------------------- */

body.page-node-900 .lap-carousel__image-button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: zoom-in;
  text-align: inherit;
}

body.page-node-900 .lap-carousel__image-button::after {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.72);
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 5px 16px rgba(20, 37, 93, 0.18);
  color: var(--lap-navy);
  content: "+";
  font-family: Arial, sans-serif;
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1;
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 160ms ease, transform 160ms ease;
}

body.page-node-900 .lap-carousel__image-button:hover::after,
body.page-node-900 .lap-carousel__image-button:focus-visible::after {
  opacity: 1;
  transform: scale(1);
}

body.page-node-900 .lap-carousel__image-button:focus-visible {
  outline: 3px solid #1670b7;
  outline-offset: -3px;
}

/* ---------------------------------------------------------
   ACCESSIBLE FULL-SIZE LIGHTBOX
   Native <dialog>, no external gallery dependency.
   --------------------------------------------------------- */

body.page-node-900 .lap-lightbox {
  width: min(94vw, 1500px);
  max-width: 1500px;
  height: min(92vh, 1000px);
  max-height: 92vh;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  background: #111318;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
  color: #fff;
}

body.page-node-900 .lap-lightbox::backdrop {
  background: rgba(9, 13, 22, 0.88);
  backdrop-filter: blur(3px);
}

body.page-node-900 .lap-lightbox__inner {
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 0;
  grid-template-rows: minmax(0, 1fr) auto;
}

body.page-node-900 .lap-lightbox__stage {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 0;
  place-items: center;
  overflow: hidden;
  background: #0e1116;
}

body.page-node-900 .lap-lightbox__image {
  display: block;
  max-width: 100%;
  max-height: calc(92vh - 76px);
  width: auto;
  height: auto;
  object-fit: contain;
}

body.page-node-900 .lap-lightbox__caption {
  min-height: 64px;
  margin: 0;
  padding: 1rem 5.5rem 1rem 1.25rem;
  background: #171b22;
  color: #f6f7f8;
  font-size: 0.95rem;
  line-height: 1.45;
}

body.page-node-900 .lap-lightbox__close,
body.page-node-900 .lap-lightbox__prev,
body.page-node-900 .lap-lightbox__next {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  background: rgba(15, 18, 24, 0.72);
  color: #fff;
  cursor: pointer;
  transition: background-color 150ms ease, transform 150ms ease;
}

body.page-node-900 .lap-lightbox__close {
  top: 0.85rem;
  right: 0.85rem;
  width: 44px;
  height: 44px;
  font-size: 1.55rem;
}

body.page-node-900 .lap-lightbox__prev,
body.page-node-900 .lap-lightbox__next {
  top: 50%;
  width: 50px;
  height: 50px;
  font-family: Arial, sans-serif;
  font-size: 2rem;
  transform: translateY(-50%);
}

body.page-node-900 .lap-lightbox__prev {
  left: 0.9rem;
}

body.page-node-900 .lap-lightbox__next {
  right: 0.9rem;
}

body.page-node-900 .lap-lightbox__close:hover,
body.page-node-900 .lap-lightbox__prev:hover,
body.page-node-900 .lap-lightbox__next:hover {
  background: rgba(91, 93, 32, 0.96);
}

body.page-node-900 .lap-lightbox__close:focus-visible,
body.page-node-900 .lap-lightbox__prev:focus-visible,
body.page-node-900 .lap-lightbox__next:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

@media (max-width: 991.98px) {
  body.page-node-900
  .block-block-content:not(.lap-gallery--enhanced)
  .field--name-field-mt-image-gallery-image
  .images-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  body.page-node-900
  .block-block-content:not(.lap-gallery--enhanced)
  .field--name-field-mt-image-gallery-image
  .images-container {
    grid-template-columns: 1fr;
  }

  body.page-node-900
  .block-block-content:not(.lap-gallery--enhanced)
  .field--name-field-mt-image-gallery-image
  img {
    height: auto !important;
    aspect-ratio: 4 / 3;
  }

  body.page-node-900 .lap-lightbox {
    width: 96vw;
    height: 88vh;
    max-height: 88vh;
    border-radius: 12px;
  }

  body.page-node-900 .lap-lightbox__image {
    max-height: calc(88vh - 84px);
  }

  body.page-node-900 .lap-lightbox__caption {
    padding-right: 1.25rem;
    font-size: 0.9rem;
  }

  body.page-node-900 .lap-lightbox__prev,
  body.page-node-900 .lap-lightbox__next {
    width: 42px;
    height: 42px;
    font-size: 1.7rem;
  }
}

/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */

@media (max-width: 1199.98px) {
  body.page-node-900 .lap-hero {
    min-height: 470px;
  }

  body.page-node-900 .lap-hero__media,
  body.page-node-900 .lap-hero__media img {
    min-height: 470px;
  }

  body.page-node-900 .lap-pillar {
    padding: 1.55rem;
  }

  body.page-node-900 .lap-carousel__slide img {
    height: clamp(235px, 22vw, 300px);
  }
}

@media (max-width: 991.98px) {
  body.page-node-900 .lap-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  body.page-node-900 .lap-hero h2 {
    max-width: 13ch;
  }

  body.page-node-900 .lap-hero__media,
  body.page-node-900 .lap-hero__media img {
    min-height: 0;
  }

  body.page-node-900 .lap-hero__media img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }

  body.page-node-900 .lap-pillars {
    grid-template-columns: 1fr;
  }

  body.page-node-900 .lap-pillar + .lap-pillar {
    border-left: 1px solid var(--lap-border);
  }

  body.page-node-900 .lap-carousel__slide {
    flex-basis: calc((100% - 1rem) / 2);
  }

  body.page-node-900 .lap-carousel__slide img {
    height: clamp(260px, 35vw, 340px);
  }

  body.page-node-900 .lap-actions__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {

  body.page-node-900 .lap-hero {
    border-radius: 16px;
  }

  body.page-node-900 .lap-hero__copy {
    padding: 1.55rem;
  }

  body.page-node-900 .lap-hero h2 {
    max-width: none;
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  body.page-node-900 .lap-hero__lead {
    font-size: 0.98rem;
    line-height: 1.62;
  }

  body.page-node-900 .lap-pillars {
    gap: 0.8rem;
    margin-top: 0;
  }

  body.page-node-900 .lap-pillar {
    padding: 1.3rem;
  }

  body.page-node-900 .lap-pillar li {
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
    font-size: 0.96rem;
  }

  body.page-node-900 .lap-pillar li::before {
    top: 1.04rem;
  }

  body.page-node-900 .lap-layout-section--daily-intro,
  body.page-node-900 .lap-layout-section--outings,
  body.page-node-900 .lap-layout-section--campus,
  body.page-node-900 .lap-layout-section--actions {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  body.page-node-900 .lap-intro {
    padding-left: 1rem;
  }

  body.page-node-900 .lap-carousel {
    padding-inline: 2.4rem;
  }

  body.page-node-900 .lap-carousel__slide {
    flex-basis: 100%;
  }

  body.page-node-900 .lap-carousel__slide img {
    height: clamp(250px, 72vw, 390px);
  }

  body.page-node-900 .lap-carousel__button {
    width: 40px;
    height: 40px;
    font-size: 1.65rem;
  }

  body.page-node-900 .block-inline-blockmt-icon-features .field--name-field-mt-if-item > .field__item {
    width: 100%;
  }
}

@media (max-width: 479.98px) {
  body.page-node-900 .lap-carousel {
    padding-inline: 1.9rem;
  }

  body.page-node-900 .lap-carousel__slide img {
    height: clamp(230px, 76vw, 340px);
  }

  body.page-node-900 .lap-carousel__button {
    width: 36px;
    height: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.page-node-900 *,
  body.page-node-900 *::before,
  body.page-node-900 *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Hero CTA arrow should match the white button label. */
body.page-node-900 .lap-button > span[aria-hidden="true"] {
  color: #fff !important;
  opacity: 0.9;
}
