/* Keep short album pages the same height and footer placement as Services. */
html {
    height: auto !important;
    min-height: 100% !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
}
body.page.hotel-albums-page {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    min-height: 100vh !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
}
body.page.hotel-albums-page > #wrapper.hotel-albums-wrapper {
    position: relative !important;
    top: auto !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    flex: 1 0 auto !important;
    margin: 0 auto !important;
    padding: 0 !important;
    overflow: visible !important;
}
body.page.hotel-albums-page > footer {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    z-index: 1 !important;
    flex: 0 0 auto !important;
    margin-top: auto !important;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
    margin-left: 0 !important;
}
/* Album cards reuse the existing portfolio presentation. */
.fancybox__container {
    z-index: 2147483647 !important;
}
.hotel-album-empty {
    margin: 32px auto 64px;
    max-width: 760px;
    padding: 48px 24px;
    text-align: center;
    color: #5d6670;
    background: #f7f8fa;
    border: 1px solid #e7eaee;
    border-radius: 4px;
    font-size: 17px;
}
.hotel-album-cover-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eef2f5, #dce4ea);
    color: #83909b;
    font-size: 46px;
}
.hotel-album-cover-placeholder span { line-height: 1; }
.hotel-album-modal {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: none;
    overflow: hidden;
    background: #fff;
}
.hotel-album-modal.is-open { display: block; }
.hotel-album-modal__panel {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    min-height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #fff;
}
.hotel-album-modal__header {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 82px;
    margin: 0;
    padding: 12px 24px;
    border-bottom: 1px solid #e6e9ec;
    background: #fff;
}
.hotel-album-modal__title {
    margin: 0;
    color: #1d2934;
    font-size: 22px;
    line-height: 1.3;
}
.hotel-album-modal__close {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f0f2f4;
    color: #24313d;
    font-size: 27px;
    line-height: 1;
    cursor: pointer;
}
.hotel-album-modal__grid {
    flex: 1 1 auto;
    min-height: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    row-gap: 0;
    column-gap: 0;
    align-content: start;
    padding: 20px 28px 28px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #9aa4ad #eef0f2;
}
.hotel-album-modal__grid::-webkit-scrollbar { width: 8px; }
.hotel-album-modal__grid::-webkit-scrollbar-track { background: #eef0f2; }
.hotel-album-modal__grid::-webkit-scrollbar-thumb { background: #9aa4ad; border-radius: 8px; }
.hotel-album-modal__grid::-webkit-scrollbar-thumb:hover { background: #77838e; }
.hotel-album-modal__photo {
    position: relative;
    display: block;
    overflow: hidden;
    height: calc(15vw - 19px);
    margin: 0 6px 12px;
    box-sizing: border-box;
    background: #edf0f2;
}
.hotel-album-modal__photo img {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity .25s ease, transform .25s ease;
}
.hotel-album-modal__photo.is-loaded img { opacity: 1; }
.hotel-album-modal__photo.is-loading::before {
    position: absolute;
    z-index: 1;
    inset: 0;
    content: "";
    background: linear-gradient(100deg, #edf0f2 25%, #f8f9fa 45%, #edf0f2 65%);
    background-size: 220% 100%;
    animation: hotel-album-shimmer 1.35s ease-in-out infinite;
}
.hotel-album-modal__photo.is-loading::after {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    width: 28px;
    height: 28px;
    border: 3px solid rgba(29, 41, 52, .18);
    border-top-color: #1d2934;
    border-radius: 50%;
    content: "";
    transform: translate(-50%, -50%);
    animation: hotel-album-spin .8s linear infinite;
}
@keyframes hotel-album-shimmer {
    to { background-position: -220% 0; }
}
@keyframes hotel-album-spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}
.hotel-album-modal__photo.is-error img { opacity: 0; }
.hotel-album-modal__photo:hover img { transform: scale(1.035); }
.hotel-album-modal__empty {
    grid-column: 1 / -1;
    padding: 42px 16px;
    text-align: center;
    color: #68747e;
}
html.hotel-album-modal-open,
body.page.hotel-albums-page.hotel-album-modal-open { overflow: hidden !important; }
@media (max-width: 720px) {
    .hotel-album-modal__header { min-height: 68px; padding: 10px 16px; }
    .hotel-album-modal__grid { padding: 12px 16px 16px; }
    .hotel-album-modal__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 0; column-gap: 0; }
    .hotel-album-modal__title { font-size: 18px; }
    .hotel-album-modal__photo { height: calc(37.5vw - 15px); margin: 0 4px 8px; }
}
@media (min-width: 721px) and (max-width: 1100px) {
    .hotel-album-modal__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .hotel-album-modal__photo { height: calc(25vw - 25px); }
}
@media (min-width: 1101px) and (max-width: 1500px) {
    .hotel-album-modal__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .hotel-album-modal__photo { height: calc(18.75vw - 21px); }
}
