.hotel-photo-viewer .fancybox-bg { background:#101318; opacity:.98; }
.hotel-photo-viewer .fancybox-toolbar { direction:rtl; opacity:1; visibility:visible; }
.hotel-photo-viewer .fancybox-button { color:#fff; background:rgba(25,30,38,.92); }
.hotel-photo-viewer .hotel-photo-overview-button, .hotel-photo-viewer .hotel-photo-zoom-button { width:auto; padding:10px 16px; font-family:inherit; font-size:14px; }
.hotel-photo-viewer .fancybox-infobar { left:auto; right:0; direction:ltr; opacity:1; visibility:visible; }
.hotel-photo-viewer .fancybox-slide--image { padding:58px 64px 64px; }
.hotel-photo-viewer .fancybox-image { max-width:none; max-height:none; object-fit:contain; }
.hotel-photo-viewer .fancybox-caption { direction:rtl; font-family:inherit; }
.hotel-photo-overview-viewer .fancybox-slide--html { padding:60px 24px 24px; }
.hotel-photo-overview-viewer .hotel-photo-overview { width:1200px; max-width:100%; padding:28px; border-radius:12px; color:#15304b; background:#fff; text-align:right; }
.hotel-photo-overview-title { font-size:24px; margin:0 0 8px; }
.hotel-photo-overview-hint { margin:0 0 20px; color:#64748b; }
.hotel-photo-overview-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.hotel-photo-thumbnail { display:block; min-width:0; padding:0; overflow:hidden; border:1px solid #dce2e8; border-radius:10px; background:#f8fafc; color:#15304b; font:inherit; cursor:pointer; text-align:right; }
.hotel-photo-thumbnail img { width:100%; aspect-ratio:4/3; object-fit:cover; display:block; }
.hotel-photo-thumbnail span { display:block; padding:8px 10px; overflow-wrap:anywhere; }
.hotel-photo-thumbnail:hover { border-color:#287dfa; }
@media(max-width:900px) { .hotel-photo-overview-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:576px) {
    .hotel-photo-overview-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
    .hotel-photo-overview-viewer .fancybox-slide--html { padding:56px 8px 12px; }
    .hotel-photo-overview-viewer .hotel-photo-overview { padding:16px; }
    .hotel-photo-viewer .fancybox-slide--image { padding:58px 8px 74px; }
    .hotel-photo-viewer .fancybox-navigation .fancybox-button { width:44px; padding:8px; background:rgba(25,30,38,.65); }
    .hotel-photo-overview-title { font-size:20px; }
}
@media(prefers-reduced-motion:reduce) { .hotel-photo-viewer * { transition-duration:0s !important; animation-duration:0s !important; } }
/* Keep the gallery and hotel tabs close without adding a separate action row. */
.hotel-gallery-section > .hotel-hero-container { margin-bottom: 8px; }
.hotel-hero-container .hotel-gallery-fallback-item { position: relative; }
.hotel-hero-container .gallery-more-overlay { direction: rtl; }
.hotel-hero-container a:focus-visible, .hotel-photo-thumbnail:focus-visible { outline:3px solid #287dfa; outline-offset:3px; }
