/*
 * Lost in Manila — dedicated destination photo gallery
 */

.lim-gallery-page {
    min-height: 70vh;
    padding: 28px 0 60px;
    background: #f3f5f4;
}

.lim-gallery-breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #235446;
    font-size: 0.83rem;
    font-weight: 800;
    text-decoration: none;
}

.lim-gallery-header {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: end;
    margin-top: 24px;
    padding: 25px;
    border: 1px solid #dfe6e2;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 10px 34px rgba(20, 55, 45, 0.08);
}

.lim-gallery-kicker {
    display: block;
    margin-bottom: 5px;
    color: #e8772f;
    font-size: 0.7rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lim-gallery-header h1 {
    margin: 0;
    color: #17352d;
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 850;
    letter-spacing: -0.045em;
}

.lim-gallery-header p {
    max-width: 680px;
    margin: 9px 0 0;
    color: #697872;
}

.lim-gallery-add-button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 15px;
    border: 0;
    border-radius: 11px;
    color: #ffffff;
    background: #164f40;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.lim-gallery-summary {
    display: flex;
    gap: 20px;
    margin: 20px 3px 12px;
    color: #6b7772;
    font-size: 0.8rem;
}

.lim-gallery-summary strong {
    color: #17352d;
}

.lim-gallery-grid {
    columns: 4 250px;
    column-gap: 14px;
}

.lim-gallery-item {
    display: inline-block;
    width: 100%;
    margin: 0 0 14px;
    break-inside: avoid;
    overflow: hidden;
    border: 1px solid #dfe6e2;
    border-radius: 15px;
    background: #ffffff;
    box-shadow: 0 8px 26px rgba(20, 55, 45, 0.07);
}

.lim-gallery-image {
    position: relative;
    display: block;
    overflow: hidden;
    background: #e9eeeb;
}

.lim-gallery-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 180ms ease;
}

.lim-gallery-image:hover img {
    transform: scale(1.025);
}

.lim-gallery-source {
    position: absolute;
    left: 9px;
    bottom: 9px;
    padding: 5px 8px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(10, 38, 31, 0.72);
    font-size: 0.63rem;
    font-weight: 800;
    backdrop-filter: blur(8px);
}

.lim-gallery-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 12px 5px;
}

.lim-gallery-meta > div {
    display: grid;
}

.lim-gallery-meta a,
.lim-gallery-meta strong {
    color: #17352d;
    font-size: 0.8rem;
    font-weight: 820;
    text-decoration: none;
}

.lim-gallery-meta small {
    color: #77837e;
    font-size: 0.67rem;
}

.lim-gallery-meta > span {
    color: #6b7772;
    font-size: 0.72rem;
}

.lim-gallery-meta i {
    color: #dd604f;
}

.lim-gallery-item > p {
    margin: 4px 12px 13px;
    color: #52635d;
    font-size: 0.78rem;
    line-height: 1.45;
}

.lim-gallery-empty {
    display: grid;
    place-items: center;
    align-content: center;
    min-height: 360px;
    padding: 40px;
    border: 1px solid #dfe6e2;
    border-radius: 18px;
    color: #6b7772;
    background: #ffffff;
    text-align: center;
}

.lim-gallery-empty i {
    color: #164f40;
    font-size: 2.6rem;
}

.lim-gallery-empty h2 {
    margin: 12px 0 3px;
    color: #17352d;
}

@media (max-width: 767.98px) {
    .lim-gallery-page {
        padding-top: 18px;
    }

    .lim-gallery-header {
        align-items: stretch;
        flex-direction: column;
        padding: 19px;
    }

    .lim-gallery-add-button {
        width: 100%;
    }

    .lim-gallery-grid {
        columns: 2 145px;
        column-gap: 9px;
    }

    .lim-gallery-item {
        margin-bottom: 9px;
        border-radius: 11px;
    }
}
