/* Gallery: the clinic's lavender palette, gold details and editorial typography. */
.clinic-gallery-page { background: #faf7fa; }
.clinic-gallery-page main { overflow: clip; }
.clinic-gallery-page section[id] { scroll-margin-top: 110px; }
.gallery-eyebrow { display: inline-flex; align-items: center; gap: 12px; color: #94703d; font-size: 10px; font-weight: 600; letter-spacing: .17em; text-transform: uppercase; line-height: 1.6; }
.gallery-eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.gallery-primary-link { display: inline-flex; align-items: center; justify-content: center; gap: 28px; border-radius: 40px; padding: 17px 25px; background: #493551; color: #fff; font-size: 12px; font-weight: 500; transition: background .2s; }
.gallery-primary-link:hover { color: #fff; background: #695074; }
.gallery-section-nav { display: flex; justify-content: center; gap: 14px; padding-top: 26px; padding-bottom: 26px; border-bottom: 1px solid #dfd2e3; }
.gallery-section-nav a { display: flex; align-items: center; gap: 12px; padding: 13px 22px; border: 1px solid #dfd2e3; border-radius: 30px; color: #493551; font-size: 12px; background: #fffdfb; transition: background .2s, border-color .2s; }
.gallery-section-nav a:hover { background: #eee4f1; border-color: #b58951; }
.gallery-section-nav a > i { color: #99713f; font-size: 16px; }
.gallery-section-nav a > span { color: #8b7b92; font-size: 10px; border-left: 1px solid #dfd2e3; padding-left: 12px; }
.clinic-gallery-section { padding: 78px 0 86px; }
.clinic-gallery-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.clinic-gallery-heading h2, .gallery-youtube-copy h2, .gallery-visit-inner h2 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 500; letter-spacing: -.025em; font-size: clamp(36px, 3.8vw, 52px); line-height: 1.1; margin: 12px 0 0; }
.clinic-gallery-heading > p { margin: 0 0 5px; max-width: 270px; color: #807288; font-size: 12px; line-height: 1.8; }
.clinic-gallery-grid { columns: 3; column-gap: 24px; }
.clinic-gallery-photo { position: relative; display: block; break-inside: avoid; overflow: hidden; margin-bottom: 24px; padding: 7px; border: 1px solid #cbb48d60; border-radius: 16px; background: #fffdfb; box-shadow: 0 6px 20px #49355108; transition: transform .25s, box-shadow .25s; }
.clinic-gallery-photo img { display: block; width: 100%; height: auto; border-radius: 10px; transition: filter .25s; }
.clinic-gallery-zoom { position: absolute; right: 20px; bottom: 20px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: #493551; background: #fffdfbf2; font-size: 13px; box-shadow: 0 3px 14px #49355120; }
.gallery-photo-number { position: absolute; top: 18px; left: 18px; display: grid; place-items: center; width: 29px; height: 29px; border-radius: 50%; background: #fffdfbe6; color: #493551; font-size: 10px; }
.clinic-gallery-videos { background: #eee5f2; border-block: 1px solid #dfd2e3; }
.clinic-reels-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }
.clinic-video-card { min-width: 0; overflow: hidden; border: 1px solid #cbb48d80; border-radius: 18px; background: #fffdfb; box-shadow: 0 10px 24px #4935510b; }
.gallery-reel-heading { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 18px; font-size: 10px; color: #94703d; letter-spacing: .05em; }
.gallery-reel-heading > span:first-child { display: flex; align-items: center; gap: 9px; font-weight: 600; color: #493551; }
.gallery-reel-heading i { font-size: 17px; color: #94703d; }
.clinic-reel-embed { display: block; width: 100%; height: 620px; border: 0; background: #fff; }
.clinic-video-link { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 18px 14px; border-top: 1px solid #cbb48d50; color: #493551; font-size: 12px; font-weight: 500; }
.clinic-video-link:hover { color: #77552e; background: #f3ecf5; }
.gallery-youtube-section { background: #493551; color: #fffaf4; padding: 80px 0; }
.gallery-youtube-inner { display: grid; grid-template-columns: 1fr 2fr; align-items: center; gap: 54px; }
.gallery-youtube-copy .gallery-eyebrow { color: #d8b97f; }
.gallery-youtube-copy h2 { color: #fffaf4; font-size: clamp(42px, 4.8vw, 64px); margin: 22px 0; }
.gallery-youtube-copy p { color: #ded1e3; font-size: 14px; line-height: 1.9; max-width: 260px; }
.gallery-youtube-label { display: inline-flex; gap: 10px; align-items: center; margin-top: 15px; color: #dfc48c; font-size: 11px; }
.gallery-youtube-label i { font-size: 22px; }
.clinic-youtube-embed { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; background: #19141d; }
.gallery-visit-section { padding: 64px 0; background: radial-gradient(ellipse at right, #e9dfee, transparent 70%), #faf7fa; }
.gallery-visit-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.gallery-visit-inner h2 { font-size: clamp(30px, 3vw, 40px); }
.gallery-visit-inner p { font-size: 13px; color: #807288; margin: 14px 0 0; }
.gallery-visit-inner .gallery-primary-link { flex-shrink: 0; }
.clinic-gallery-page main a:focus-visible { outline: 3px solid #b58951; outline-offset: 4px; }
.clinic-gallery-page .clinic-video-link:focus-visible { outline-offset: -4px; }
@media (hover: hover) {
    .clinic-gallery-photo:hover { transform: translateY(-4px); box-shadow: 0 16px 32px #49355118; }
    .clinic-gallery-photo:hover img { filter: brightness(.93); }
}
@media (max-width: 1199px) { .clinic-reels-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 991px) {
    .clinic-gallery-grid { columns: 2; column-gap: 20px; }
    .clinic-gallery-photo { margin-bottom: 20px; }
    .clinic-gallery-heading { align-items: flex-start; flex-direction: column; gap: 14px; }
    .gallery-youtube-inner { grid-template-columns: 1fr; gap: 30px; }
    .gallery-youtube-copy p { max-width: none; }
    .gallery-youtube-copy h2 br { display: none; }
    .gallery-visit-inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 767px) {
    .gallery-section-nav { gap: 8px; flex-wrap: wrap; }
    .gallery-section-nav a { gap: 8px; padding: 11px 14px; font-size: 11px; }
    .clinic-reels-grid { grid-template-columns: minmax(0, 1fr); max-width: 440px; margin: 0 auto; }
    .clinic-gallery-section { padding: 48px 0 52px; }
    .gallery-youtube-section { padding: 48px 0; }
    .gallery-visit-section { padding: 44px 0; }
}
@media (max-width: 575px) {
    .clinic-gallery-grid { columns: 1; }
    .clinic-gallery-heading { margin-bottom: 26px; }
}
@media (prefers-reduced-motion: reduce) {
    .clinic-gallery-page main a, .clinic-gallery-photo img { transition: none; }
    .clinic-gallery-photo:hover { transform: none; }
}
