/* Outdoor Education page (School Life section). */

.oe-banner { min-height: 460px; }
.oe-banner img { object-position: center 31%; }
@media (max-width: 700px) { .oe-banner { min-height: 220px; } }

/* Intro on the left; on the right, the Mt. Tam photo with the beetle photo tucked over its corner. */
.oe-head { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .oe-head { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; } }
.oe-head .label-heading { margin-bottom: 14px; }
.oe-head .lede--strong { margin-bottom: 14px; }
.oe-head p { max-width: 640px; }
/* "Why we go" card under the intro text (Karen, Oct 2026). */
.oe-why { margin-top: 26px; max-width: 560px; background: var(--cream); border-left: 5px solid var(--brick); border-radius: 0 12px 12px 0; padding: 18px 22px; box-shadow: 0 2px 12px rgba(22, 35, 58, .06); }
.oe-why .eyebrow { margin: 0 0 6px; }
.oe-head .oe-why p:last-child { margin: 0; font-size: 16px; line-height: 1.6; color: var(--navy); }
/* Three photos: the big one on top, the group photo and the beetle tucked under its bottom corners (Karen, Nov 2026). */
.oe-head__stack { position: relative; max-width: 520px; margin: 0 auto; padding: 0 0 31% 0; }
.oe-head__main { width: 88%; height: auto; display: block; margin: 0 auto; border-radius: 14px; box-shadow: 0 18px 40px rgba(22, 35, 58, .18); transform: rotate(-1.5deg); border: 6px solid #fff; }
.oe-head__group { position: absolute; left: 0; bottom: 0; width: 52%; height: auto; display: block; border-radius: 12px; border: 6px solid #fff; box-shadow: 0 14px 30px rgba(22, 35, 58, .22); transform: rotate(-3deg); }
.oe-head__inset { position: absolute; right: 0; bottom: 5%; width: 44%; height: auto; display: block; border-radius: 12px; border: 6px solid #fff; box-shadow: 0 14px 30px rgba(22, 35, 58, .22); transform: rotate(3deg); }
@media (max-width: 899px) { .oe-head__stack { max-width: 400px; } }

/* This year's trips: one card per trip. */
.oe-trips-band { position: relative; overflow: clip; }
.oe-trips-band::before { content: ""; position: absolute; inset: auto -10% -40% auto; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(162,78,62,.35), transparent 70%); pointer-events: none; }
.oe-trips-band .wrap { position: relative; }
.oe-trips__title { color: #fff; margin: 0 0 18px; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.025em; line-height: 1.1; }
.oe-trips { display: grid; gap: 16px; }
@media (min-width: 760px) { .oe-trips { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.oe-trip { background: var(--cream); border: 1.5px solid var(--sand-deep); border-radius: 12px; padding: 24px 26px; box-shadow: 0 10px 30px rgba(0,0,0,.18); border-top: 5px solid var(--brick); }
.oe-trip .eyebrow { margin: 0 0 6px; }
.oe-trip h3 { margin: 0 0 6px; font-size: 21px; font-weight: 800; letter-spacing: -.02em; color: var(--navy); line-height: 1.2; }
/* The cards sit on the navy band, so their text colors are set explicitly (the band's white text would win otherwise). */
.on-dark .oe-trip .eyebrow { color: var(--brick); }
.on-dark .oe-trip h3 { color: var(--navy); }
.on-dark .oe-trip__when { margin: 0 0 10px; font-size: 16px; font-weight: 700; color: var(--brick); }
.oe-trip a { font-size: 14px; font-weight: 700; color: var(--brick); text-decoration: none; }
.oe-trip a:hover { text-decoration: underline; }

/* Two photos from the trips, side by side. */
.oe-mosaic { display: grid; gap: 16px; grid-template-columns: 1fr; }
/* Three photos in a row on a computer: the tall overlook, then two wider ones (Karen, Nov 2026). */
@media (min-width: 760px) { .oe-mosaic { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, 1.35fr); grid-template-rows: 440px; gap: 18px; } }
.oe-mosaic figure { position: relative; margin: 0; overflow: hidden; border-radius: 14px; box-shadow: var(--shadow); min-height: 240px; }
.oe-mosaic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.oe-mosaic figure:hover img { transform: scale(1.04); }
.oe-mosaic__wide img { object-position: center 60%; }
.oe-mosaic__lunch img { object-position: center 55%; }
.oe-mosaic figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 14px; color: #fff; font-weight: 700; font-size: 16px; letter-spacing: -.01em;
  background: linear-gradient(to top, rgba(13,22,38,.8), rgba(13,22,38,0)); text-shadow: 0 1px 6px rgba(0,0,0,.5);
}

.oe-back { margin: 32px 0 0; }
.oe-back a { color: var(--brick); font-weight: 700; text-decoration: none; }
.oe-back a:hover { text-decoration: underline; }
