/* ═══════════════════════════════════════════════════════════════
   detail-immersive.css
   Loaded only on pages with .page--immersive (e.g. ALME SOL).
   Depends on: tokens.css + detail.css (already in main.css).
   Do NOT redefine: .specs-grid, .specs-group__label, .specs-table,
   .enquiry-form, .enquiry-band__title, .enquiry-band__sub,
   .btn, .btn--gold, .btn--outline, .detail-downloads
   ═══════════════════════════════════════════════════════════════ */

/* ── Shared base (applies to both breakpoints) ────────────── */

.yd {
  position: relative;
  font-family: var(--font-body);
  color: var(--color-body);
}

/* ── Slides / images ──────────────────────────────────────── */

.yd__slide {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: var(--image-aspect, 3 / 2);
}

.yd__slide picture {
  display: block;
  width: 100%;
  height: 100%;
}

.yd__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

.yd__gallery-cue {
  display: none;
}

/* ── Sheet sections ───────────────────────────────────────── */

.yd__breadcrumb {
  font: 400 var(--text-xs) / 1 var(--font-body);
  color: var(--color-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-xs);
}

.yd__breadcrumb a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition);
}

.yd__breadcrumb a:hover { color: var(--color-primary); }

.yd__name {
  font: 300 clamp(1.65rem, 2.2vw, var(--text-2xl)) / 1.1 var(--font-display);
  color: var(--color-ink);
  margin-bottom: var(--space-xs);
}

.yd__price {
  font: 500 var(--text-xl) / 1 var(--font-body);
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.yd__status-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  font: 700 var(--text-xs) / 1 var(--font-body);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: #fff;
  background: var(--color-gold);
  padding: 0.55rem 0.85rem;
  margin-bottom: var(--space-sm);
}

.yd__peek-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0;
  margin: 0 0 0.75rem;
  color: var(--color-muted);
  font: 500 var(--text-xs) / 1.4 var(--font-body);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

.yd__peek-meta-line span {
  display: inline-flex;
  align-items: center;
}

.yd__peek-meta-line span + span::before {
  content: '';
  width: 3px;
  height: 3px;
  margin: 0 0.7rem;
  border-radius: 50%;
  background: var(--color-gold);
}

/* Peek specs strip */
.yd__peek-specs {
  display: flex;
  flex-direction: row;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 0.75rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.yd__peek-specs::-webkit-scrollbar { display: none; }

.yd__peek-spec {
  display: flex;
  flex-direction: column-reverse; /* dd appears above dt visually */
  align-items: center;
  padding: 0.45rem 0.7rem;
  border-right: 1px solid var(--color-border);
  flex: 1;
  min-width: 0;
  text-align: center;
  gap: 0.18rem;
}

.yd__peek-spec:last-child { border-right: none; }

.yd__peek-specs dd {
  font: 600 0.82rem / 1 var(--font-body);
  color: var(--color-ink);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.yd__peek-specs dt {
  font: 500 0.66rem / 1 var(--font-body);
  color: var(--color-gold-dark);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Expand / collapse button (mobile only) */
.yd__expand-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  background: none;
  border: 1px solid var(--color-border);
  color: var(--color-ink);
  font: 500 var(--text-sm) / 1 var(--font-body);
  padding: 0.65rem var(--space-sm);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
  margin-bottom: var(--space-sm);
}

.yd__expand-btn:hover {
  background: var(--color-surface-2);
  border-color: var(--color-primary);
}

.yd__expand-btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.yd__expand-btn[aria-expanded="true"] svg { transform: rotate(180deg); }

/* Sheet body (scrollable content area) */
.yd__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

/* Section titles inside sheet */
.yd__section-title {
  font: 300 var(--text-2xl) / 1.2 var(--font-display);
  color: var(--color-ink);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--color-border);
}

/* Description text */
.yd__description {
  font-size: var(--text-base);
  color: var(--color-body);
  line-height: 1.9;
}

.yd__description p + p { margin-top: var(--space-sm); }

/* Virtual tour */
.yd__tour-overlay iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.yd__tour-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 0.62rem;
  width: fit-content;
  min-height: 46px;
  margin-top: 0.8rem;
  padding: 0.48rem 0.6rem 0.48rem 0.56rem;
  border: 1px solid rgba(49, 122, 162, 0.24);
  border-radius: 999px;
  color: var(--color-primary);
  text-decoration: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 249, 0.96)),
    linear-gradient(135deg, rgba(49, 122, 162, 0.1), rgba(209, 197, 181, 0.16));
  box-shadow: 0 8px 22px rgba(49, 122, 162, 0.1);
  transition: transform 420ms var(--ease-out), box-shadow 420ms var(--ease-out), border-color 420ms var(--ease-out);
}

.yd__tour-cta::after {
  content: '';
  position: absolute;
  inset: -40% auto -40% -45%;
  z-index: -1;
  width: 32%;
  background: linear-gradient(90deg, transparent, rgba(49, 122, 162, 0.14), transparent);
  transform: skewX(-16deg);
  animation: yd-tour-shine 5200ms ease-in-out infinite;
}

.yd__tour-cta:hover {
  transform: translateY(-1px);
  border-color: rgba(49, 122, 162, 0.42);
  box-shadow: 0 10px 26px rgba(49, 122, 162, 0.15);
}

.yd__tour-cta-orbit {
  position: relative;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border: 1px solid rgba(49, 122, 162, 0.36);
  border-radius: 50%;
}

.yd__tour-cta-orbit::before,
.yd__tour-cta-orbit::after {
  content: '';
  position: absolute;
  inset: 6px 2px;
  border: 1px solid rgba(49, 122, 162, 0.22);
  border-radius: 50%;
}

.yd__tour-cta-orbit::after {
  inset: 2px 6px;
}

.yd__tour-cta-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 0 5px rgba(49, 122, 162, 0.08);
  animation: yd-tour-pulse 3200ms ease-in-out infinite;
}

.yd__tour-cta-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.yd__tour-cta-kicker {
  font: 600 0.58rem / 1 var(--font-body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
}

.yd__tour-cta-label {
  font: 600 0.9rem / 1.08 var(--font-body);
  color: var(--color-primary);
  white-space: nowrap;
}

.yd__tour-cta-arrow {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #fff;
  background: var(--color-primary);
  transition: transform 420ms var(--ease-out);
}

.yd__tour-cta:hover .yd__tour-cta-arrow {
  transform: translateX(3px);
}

.yd__tour-cta-arrow svg {
  width: 16px;
  height: 16px;
}

.yd__tour-overlay-close {
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  color: #fff;
  background: rgba(14, 14, 14, 0.86);
  font: 500 var(--text-xs) / 1 var(--font-body);
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background var(--transition), border-color var(--transition);
}

.yd__tour-overlay-close:hover {
  background: rgba(14, 14, 14, 0.96);
  border-color: rgba(255, 255, 255, 0.56);
}

.yd__tour-overlay-new-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0.58rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  font: 500 var(--text-xs) / 1 var(--font-body);
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: background var(--transition), border-color var(--transition);
}

.yd__tour-overlay-new-tab:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.5);
}

.yd__tour-overlay[hidden] {
  display: none !important;
}

.yd__tour-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 5vh 5vw;
  background: rgba(5, 12, 16, 0.58);
  backdrop-filter: blur(6px);
}

.yd__tour-dialog {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  width: 90vw;
  height: 90vh;
  max-width: 1680px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: #050505;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
}

.yd__tour-overlay-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  min-height: 58px;
  padding: 0.7rem var(--space-md);
  color: #fff;
  background: rgba(0, 0, 0, 0.88);
}

.yd__tour-overlay-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex: 0 0 auto;
}

.yd__tour-overlay-title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font: 500 var(--text-sm) / 1.2 var(--font-body);
  letter-spacing: 0.02em;
}

.yd__tour-overlay-close {
  flex: 0 0 auto;
  padding: 0.65rem 0.9rem;
}

.yd__tour-dialog iframe {
  flex: 1;
  min-height: 0;
}

body.yd-tour-overlay-open {
  overflow: hidden;
}

.yd .specs-table > div {
  padding: 0.68rem 0;
  border-bottom: 1px solid rgba(215, 209, 200, 0.82);
}

.yd .specs-table > div:nth-child(even) {
  background: transparent;
  padding: 0.68rem 0;
  margin: 0;
}

.yd .specs-table dt,
.yd .specs-table dd {
  line-height: 1.25;
}

@keyframes yd-tour-shine {
  0%, 58% { left: -45%; }
  78%, 100% { left: 120%; }
}

@keyframes yd-tour-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 5px rgba(49, 122, 162, 0.08); }
  50% { transform: scale(0.88); box-shadow: 0 0 0 8px rgba(49, 122, 162, 0.04); }
}

@media (prefers-reduced-motion: reduce) {
  .yd__tour-cta::after,
  .yd__tour-cta-dot {
    animation: none;
  }
}

/* ════════════════════════════════════════════════════════════
   MOBILE / NARROW  (max-width: 899px)
   Full-viewport fixed gallery + draggable bottom sheet
   ════════════════════════════════════════════════════════════ */
@media (max-width: 899px) {

  /* Mobile detail is an app-like viewport: the footer would otherwise cover
     the fixed gallery because the detail container no longer occupies flow. */
  .page--immersive {
    overflow: hidden;
  }

  .page--immersive #main-content {
    min-height: 100dvh;
  }

  .page--immersive .site-footer {
    display: none;
  }

  /* Fix header so gallery can slide behind it */
  .page--immersive .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: transform 320ms cubic-bezier(0.32, 0.72, 0, 1);
  }

  /* Full sheet → slide header out of view, leaving only gallery thumbnail at top */
  .page--immersive .site-header.site-header--yd-full {
    transform: translateY(-100%);
  }

  /* Root yacht-detail container fills the full viewport */
  .yd {
    position: fixed;
    inset: 0;
    z-index: 1;
    overflow: hidden;               /* block any stray horizontal overflow */
    overscroll-behavior: none;      /* prevent lateral rubber-banding */
  }

  /* ── Gallery ──────────────────────────────────────────────── */

  .yd__gallery {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: var(--color-ink);
  }

  /* Vertical scroll-snap strip — each slide fills the visible gallery area */
  .yd__slides {
    --yd-gallery-tail-space: 92px;
    display: block;
    width: 100%;
    height: 100%;
    padding-bottom: calc(var(--yd-gallery-tail-space) + env(safe-area-inset-bottom, 0px));
    overflow-y: scroll;
    overflow-x: hidden;
    scroll-snap-type: y mandatory;
    scroll-padding-bottom: calc(var(--yd-gallery-tail-space) + env(safe-area-inset-bottom, 0px));
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    overscroll-behavior: none;
  }

  .yd__slides::-webkit-scrollbar { display: none; }

  .yd__slide {
    width: 100%;
    height: auto;
    scroll-snap-align: start;
  }

  .yd__slide + .yd__slide { margin-top: 3px; }

  /* Image counter — bottom-right */
  .yd__counter {
    position: absolute;
    bottom: var(--space-sm);
    right: var(--space-sm);
    z-index: 5;
    background: rgba(0, 0, 0, 0.55);
    color: rgba(255, 255, 255, 0.9);
    font: 500 var(--text-xs) / 1 var(--font-body);
    letter-spacing: 0.06em;
    padding: 0.35rem 0.65rem;
    border-radius: 2em;
    pointer-events: none;
    backdrop-filter: blur(4px);
  }

  /* Fullscreen button — bottom-left */
  .yd__fullscreen-btn {
    position: absolute;
    bottom: var(--space-sm);
    left: var(--space-sm);
    z-index: 5;
    background: rgba(0, 0, 0, 0.55);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    transition: background var(--transition);
  }

  .yd__fullscreen-btn:hover { background: rgba(0, 0, 0, 0.75); }

  .yd__fullscreen-btn svg { width: 18px; height: 18px; }

  .yd__gallery-cue {
    position: absolute;
    top: 50%;
    right: var(--space-sm);
    z-index: 5;
    display: inline-grid;
    grid-template-rows: 1fr 1fr;
    place-items: center;
    width: 32px;
    height: 48px;
    color: rgba(255, 255, 255, 0.82);
    background: rgba(0, 0, 0, 0.34);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    pointer-events: none;
    transform: translateY(-50%);
    backdrop-filter: blur(4px);
    animation: yd-gallery-cue 2600ms ease-in-out infinite;
  }

  .yd__gallery-cue-icon {
    width: 16px;
    height: 16px;
  }

  /* ── Bottom sheet ─────────────────────────────────────────── */

  .yd__sheet {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 60;
    background: var(--color-surface);
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -4px 32px rgba(0, 0, 0, 0.22);
    overflow: hidden;
    height: 260px; /* JS overrides this — transition also set by JS at 320ms */
    will-change: height;
    display: flex;
    flex-direction: column;
  }

  /* Handle bar */
  .yd__handle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 12px 0 8px;
    cursor: grab;
    touch-action: none;
    flex-shrink: 0;
  }

  .yd__handle:active { cursor: grabbing; }

  .yd__handle-bar { display: none; }

  .yd__handle::before {
    content: '';
    display: block;
    width: 44px;
    height: 4px;
    background: var(--color-border-strong);
    border-radius: 2px;
  }

  .yd__sheet-cue {
    display: inline-grid;
    grid-template-columns: 1fr 1fr;
    place-items: center;
    width: 34px;
    color: var(--color-gold);
    opacity: 0.82;
    pointer-events: none;
  }

  .yd__sheet-cue-icon {
    width: 16px;
    height: 16px;
    animation: yd-sheet-cue 1800ms ease-in-out infinite;
  }

  .yd__sheet-cue-icon--down {
    animation-name: yd-sheet-cue-down;
  }

  .yd__sheet--mini .yd__sheet-cue,
  .yd__sheet--full .yd__sheet-cue {
    grid-template-columns: 1fr;
    width: 18px;
  }

  .yd__sheet--mini .yd__sheet-cue-icon--down,
  .yd__sheet--full .yd__sheet-cue-icon--up {
    display: none;
  }

  /* Peek area (always visible above fold) */
  .yd__peek {
    padding: 0 var(--space-md);
    touch-action: none; /* let JS own the gesture on the grip/peek */
    flex-shrink: 0;
  }

  /* Typography tuned for the narrow sheet */
  .yd__breadcrumb {
    margin-bottom: 0.6rem;
  }
  .yd__name {
    font: 400 clamp(1.42rem, 5vw, 1.82rem) / 1.1 var(--font-display);
    color: var(--color-ink-dark);
    letter-spacing: var(--tracking-tight);
    margin-bottom: 0.25rem;
  }
  .yd__price {
    font: 400 var(--text-lg) / 1 var(--font-display);
    color: var(--color-primary);
    letter-spacing: var(--tracking-tight);
    margin-bottom: var(--space-sm);
  }

  /* Scrollable body (hidden until expanded) */
  .yd__body {
    flex: 1;
    min-height: 0;
    overflow-y: hidden; /* JS toggles to auto when expanded */
    overflow-x: hidden;
    padding: var(--space-sm) var(--space-md) calc(6rem + env(safe-area-inset-bottom, 0));
    gap: var(--space-lg); /* tighter than the shared --space-xl default */
  }

  /* Section titles feel heavier on mobile */
  .yd__section-title {
    font: 400 var(--text-2xl) / 1.2 var(--font-display);
    color: var(--color-ink-dark);
    letter-spacing: var(--tracking-tight);
    margin-bottom: var(--space-sm);
    padding-bottom: 0.6rem;
  }

  /* Mini state: show only yacht name, hide everything else */
  .yd__sheet--mini .yd__breadcrumb,
  .yd__sheet--mini .yd__price,
  .yd__sheet--mini .yd__peek-meta-line,
  .yd__sheet--mini .yd__peek-specs,
  .yd__sheet--mini .yd__tour-cta {
    display: none;
  }

  .yd__tour-cta {
    display: flex;
    width: 100%;
    justify-content: center;
    min-height: 44px;
    margin: 0 0 0.85rem;
  }

  .yd__tour-cta-copy {
    flex: 0 1 auto;
  }

  .yd__tour-cta-label {
    font-size: 0.86rem;
  }

  .yd__tour-cta-kicker {
    font-size: 0.54rem;
  }

  .yd__sheet--default .yd__body {
    display: none;
  }

  .yd__sheet--mini .yd__body {
    display: none; /* prevent body content from bleeding into the mini strip */
  }

  .yd__sheet--mini .yd__peek {
    padding-top: var(--space-xs);
    padding-bottom: 0;
  }

  .yd__sheet--mini .yd__name {
    font-size: var(--text-base);
    margin-bottom: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  @keyframes yd-sheet-cue {
    0%, 100% { transform: translateY(0); opacity: 0.46; }
    50% { transform: translateY(-2px); opacity: 1; }
  }

  @keyframes yd-sheet-cue-down {
    0%, 100% { transform: translateY(0); opacity: 0.46; }
    50% { transform: translateY(2px); opacity: 1; }
  }

  @keyframes yd-gallery-cue {
    0%, 100% { transform: translateY(-50%); opacity: 0.54; }
    45%, 55% { transform: translateY(calc(-50% - 5px)); opacity: 0.95; }
  }

  @media (prefers-reduced-motion: reduce) {
    .yd__gallery-cue,
    .yd__sheet-cue-icon {
      animation: none;
    }
  }

} /* end @media max-width: 899px */


/* No-JS fallback: expand sheet to show all content */
@media (max-width: 899px) and (scripting: none) {
  .yd__sheet {
    height: auto;
    overflow: visible;
    position: relative;
    border-radius: 0;
  }

  .yd__gallery {
    position: relative;
    height: 60vw;
    min-height: 220px;
  }

  .yd__body {
    overflow-y: visible;
  }
}


/* ════════════════════════════════════════════════════════════
   DESKTOP  (min-width: 900px)
   Split: content left 55fr | sticky gallery right 45fr
   ════════════════════════════════════════════════════════════ */
@media (min-width: 900px) {

  /* Hide mobile-only chrome */
  .yd__handle,
  .yd__counter,
  .yd__fullscreen-btn { display: none; }

  /* Hide mobile-only sheet UI */
  .yd__expand-btn { display: none; }

  /* Two-column grid */
  .yd {
    display: grid;
    grid-template-columns: 55fr 45fr;
    min-height: calc(100vh - 80px);
    align-items: start;
  }

  /* ── Content / sheet (left column) ───────────────────────── */

  .yd__sheet {
    position: static !important;
    height: auto !important;
    overflow: visible;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    padding: var(--space-2xl) var(--space-lg) var(--space-2xl) var(--space-xl);
    max-width: 760px;
    margin-left: auto; /* push content to the gallery side; blank space on left */
  }

  /* The peek area becomes the top of the content column */
  .yd__peek {
    padding: 0 0 var(--space-lg);
  }

  .yd__peek-specs {
    overflow: visible;
    margin-bottom: var(--space-sm);
  }

  .yd__peek-spec {
    align-items: flex-start;
    text-align: left;
  }

  .yd__name {
    font-size: clamp(2rem, 3vw, 2.65rem);
    margin-bottom: var(--space-sm);
  }

  .yd__enquiry .yd__section-title {
    text-align: left;
  }

  /* Body is fully visible and not scrollable independently */
  .yd__body {
    overflow-y: visible !important;
    padding: 0;
  }

  /* ── Gallery (right column, sticky) ──────────────────────── */

  .yd__gallery {
    position: sticky;
    top: 80px; /* matches .site-header__inner height on desktop */
    height: calc(100vh - 80px);
    overflow-y: scroll;
    scrollbar-width: none;
    background: var(--color-surface); /* white — gaps and padding show the page bg, not ink */
    grid-column: 2;
    grid-row: 1 / span 99; /* span all rows so it stays anchored */
    padding-right: 4px;
  }

  .yd__gallery::-webkit-scrollbar { display: none; }

  /* Vertical stack of slides */
  .yd__slides {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3px;
    align-items: start;
  }

  .yd__slide {
    width: 100%;
    cursor: zoom-in;
  }

} /* end @media min-width: 900px */


/* Fullscreen lightbox is handled by PhotoSwipe (loaded in the partial).
   No custom lightbox CSS needed here. */
