/* Full-width, centre-focused reel gallery. */
.reels-section { max-width: none; padding: 58px 0 72px; overflow: hidden; }
.reels-heading { text-align: center; padding: 0 24px; margin: 0 auto 18px; }
.reels-heading .eyebrow { margin-inline: auto; color: var(--muted); font-size: 10px; letter-spacing: .2em; }
.reels-heading h2 { margin: 15px 0 16px; font-size: clamp(37px, 4.4vw, 60px); line-height: .98; }
.reels-heading .text-link { font-size: 13px; gap: 16px; }
.reels-track { --reel-width: 288px; position: relative; display: flex; align-items: center; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; padding: 32px max(24px, calc((100% - var(--reel-width)) / 2)); scrollbar-width: none; }
.reels-track::-webkit-scrollbar { display: none; }
.reel-card { position: relative; isolation: isolate; flex: 0 0 var(--reel-width); aspect-ratio: 9 / 16; min-width: 0; overflow: hidden; border-radius: 12px; background: var(--navy-deep); scroll-snap-align: center; transform: scale(.88); opacity: .76; transition: transform .35s ease, opacity .35s ease, box-shadow .35s ease; }
.reel-card.is-active { transform: scale(1); opacity: 1; box-shadow: 0 16px 30px -18px #10294a99; }
.reel-video, .reel-poster { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, #10294a60 0%, transparent 25%, transparent 65%, #10294a90 100%); }
.reel-select { position: absolute; inset: 0; width: 100%; border: 0; background: transparent; z-index: 1; }
.reel-source { position: absolute; top: 16px; left: 16px; right: 16px; z-index: 2; display: flex; justify-content: space-between; align-items: center; color: white; text-decoration: none; font-size: 12px; font-weight: 600; text-shadow: 0 1px 5px #000; }
.reel-source > span[aria-hidden] { font-size: 19px; }
.reel-media-controls { position: absolute; z-index: 2; bottom: 14px; left: 14px; right: 14px; display: flex; justify-content: space-between; pointer-events: none; }
.reel-media-controls button, .reel-external-play { pointer-events: auto; width: 44px; height: 44px; border: 1px solid #ffffff60; border-radius: 50%; padding: 10px; color: #fff; background: #10294ac9; display: grid; place-items: center; }
.reel-media-controls svg { width: 22px; height: 22px; }
.reel-media-controls button:hover, .reel-external-play:hover { background: var(--navy-deep); }
.reel-mute .sound-on { display: none; }
.reel-mute[aria-pressed="true"] .sound-off { display: none; }
.reel-mute[aria-pressed="true"] .sound-on { display: block; }
.reel-card :focus-visible { outline-offset: -4px; }
.reels-controls { display: flex; justify-content: center; align-items: center; gap: 24px; margin-top: 3px; }
.reels-controls button { width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--navy); font-size: 24px; }
.reels-controls button:hover { background: var(--navy); color: white; border-color: var(--navy); }
.reels-controls button:disabled { opacity: .3; cursor: default; }
.reels-position { min-width: 54px; text-align: center; font-size: 11px; letter-spacing: .14em; color: var(--muted); font-variant-numeric: tabular-nums; }
@media(max-width:760px) {
  .reels-section { padding: 40px 0 48px; }
  .reels-heading { margin-bottom: 12px; }
  .reels-track { --reel-width: min(72vw, 288px); gap: 2px; padding-top: 24px; padding-bottom: 24px; }
  .reel-card { transform: scale(.9); }
}
@media(prefers-reduced-motion:reduce) { .reel-card { transition: none; } }
/* Photo posts retain the complete image, including text in shared notices. */
.reel-source time { font-size: 10px; font-weight: 400; }
.social-photo-card { background: #fff; border: 1px solid #d7ddd6; }
.social-photo-card .reel-source { color: var(--navy); text-shadow: none; }
.social-post-image { position: absolute; top: 48px; left: 0; width: 100%; height: 62%; object-fit: contain; background: #f4f5ef; }
.social-post-caption { position: absolute; top: calc(62% + 58px); left: 16px; right: 16px; bottom: 15px; z-index: 2; display: flex; flex-direction: column; gap: 9px; pointer-events: none; }
.social-post-caption p { font-size: 12px; line-height: 1.55; color: #405b6b; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin: 0; }
.social-post-caption a { margin-top: auto; align-self: start; font-size: 11px; color: var(--navy); text-underline-offset: 4px; pointer-events: auto; }
