.loc-page {
    background: #EAF6EE;
    min-height: 100vh;
}

/* Hero handled by .pa-page-hero — see home-v2.css */

/* ── BODY ───────────────────────────────────────────────────── */

.loc-page__body {
    position: relative;
    margin-top: -8rem;
    padding-bottom: 4rem;
}

.loc-page__panel {
    background: #ffffff;
    border-radius: 28px;
    padding: 3rem;
}

.loc-page__panel--stacked+.loc-page__panel--stacked {
    margin-top: 4.8rem;
}

.loc-page__panel[id] {
    scroll-margin-top: 90px;
}

.loc-page__title {
    color: #0a2f1f;
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 1.5rem;
    font-family: var(--pa-font-headline, inherit);
}

.loc-page__desc {
    color: #333;
    font-size: 1rem;
    line-height: 1.65;
    margin: 0 0 2rem;
}

.loc-page__desc blockquote {
    min-height: 0;
    margin: 20px 0 0;
    padding: 16px 24px;
    border-left: none;
    background: rgba(4, 149, 81, 0.05);
    border-radius: 0 10px 10px 0;
    color: #333;
    font-size: 18px;
    line-height: 1.7;
}

.loc-page__desc p {
    color: #333;
    font-size: 1.8rem;
}

@media (max-width: 1230px) {
    .loc-page__desc p {
        font-size: 1.6rem;
        line-height: 1.7;
    }
}

.loc-page__empty {
    text-align: center;
    color: #6b7280;
    font-size: 1rem;
    margin: 2rem 0;
}

/* ── INFO CARD ──────────────────────────────────────────────── */

.loc-page__info {
    background: #F1F8F3;
    border-radius: 18px;
    padding: 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.loc-page__info-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.loc-page__info-icon {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    background: #ffffff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #049551;
}

.loc-page__info-icon svg {
    width: 24px;
    height: 24px;
}

.loc-page__info-text {
    flex: 1;
    min-width: 0;
}

.loc-page__info-label {
    color: #333;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 0.15rem;
}

.loc-page__info-value {
    color: #333;
    font-size: 1.8rem;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 1230px) {
    .loc-page__info-value {
        font-size: 1.6rem;
    }

    .loc-page__info-label {
        font-size: 1.6rem;
    }
}

/* ── GALLERY ────────────────────────────────────────────────── */

.loc-page__gallery-title {
    color: #333;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 1.25rem;
}

.loc-page__gallery {
    overflow: hidden;
}

.loc-page__gallery-wrap {
    position: relative;
}

.loc-page__gallery-item {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 14px;
    background: #f3f4f6;
}

.loc-page__gallery-item--empty {
    background: none;
    pointer-events: none;
}

@media (max-width: 1229.98px) {
    .loc-page__gallery-item--empty {
        display: none;
    }
}

.loc-page__gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}


.loc-page__gallery-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 2.4rem;
    white-space: nowrap;
    user-select: none;
}

.loc-page__gallery-nav {
    all: unset;
    box-sizing: border-box;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--pa-primary, #049551);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.loc-page__gallery-nav:hover {
    background-color: rgba(14, 138, 63, 0.08);
}

.loc-page__gallery-nav:focus-visible {
    outline: 2px solid var(--pa-primary, #049551);
    outline-offset: 2px;
}

.loc-page__gallery-nav.swiper-button-disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.loc-page__gallery-nav svg {
    width: 24px;
    height: 24px;
}

.loc-page__gallery-pagination {
    position: relative !important;
    bottom: auto !important;
    width: auto !important;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    min-height: 20px;
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.loc-page__gallery-pagination::-webkit-scrollbar {
    display: none;
}

.loc-page__gallery-pagination.is-scrollable {
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
}

.loc-page__gallery-dot {
    all: unset;
    box-sizing: border-box;
    display: block;
    width: 20px !important;
    height: 20px !important;
    border-radius: 50%;
    background-color: var(--pa-primary, #049551);
    opacity: 0.22;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.3s ease;
    flex-shrink: 0;
    margin: 0 !important;
}

.loc-page__gallery-dot.swiper-pagination-bullet-active {
    opacity: 1;
}

.loc-page__gallery.swiper-grid .swiper-slide {
    height: auto !important;
}

@media (min-width: 1230px) {

    .loc-page__gallery:not(.swiper-initialized) .swiper-wrapper {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2.4rem;
    }

    .loc-page__gallery-wrap[data-welfare-rows="2"] .loc-page__gallery:not(.swiper-initialized) .swiper-slide:nth-child(n+7) {
        display: none;
    }

    .loc-page__gallery-wrap[data-welfare-pages="1"] .loc-page__gallery-controls {
        display: none;
    }
}


/* ── MOBILE (≤640px) ───────────────────────────────────────── */

@media (max-width: 1230px) {
    .loc-page__body {
        margin-top: -2rem;
        padding-bottom: 2.5rem;
    }

    .loc-page__panel {
        padding: 3.2rem 2rem;
        border-radius: 32px;
    }

    .loc-page__title {
        font-size: 2rem;
        margin: 0 0 1rem;
    }

    .loc-page__desc {
        font-size: 1.6rem;
    }

    .loc-page__info {
        gap: 2.4rem;
    }

    .loc-page__info-icon {
        flex-basis: 32px;
        width: 32px;
        height: 32px;
    }

    .loc-page__info-icon svg {
        width: 24px;
        height: 24px;
    }

    .loc-page__gallery-title {
        font-size: 1.6rem;
    }

    .loc-page__gallery .swiper-slide.loc-page__gallery-item {
        width: 248px;
        max-width: 100%;
    }

    .loc-page__gallery-controls {
        justify-content: space-between;
        /* A long dot strip fills every pixel it is given, so keep it off the
           arrows with a real gap instead of letting it run edge to edge. */
        gap: 1.2rem;
        padding: 0 0.5rem;
        width: 100%;
        margin-top: 1.6rem;
    }

    .loc-page__gallery-pagination {
        gap: 12px;
    }

    .loc-page__gallery-nav {
        width: 40px;
        height: 40px;
        background-color: var(--pa-primary-light, #EDF6EE);
    }

    .loc-page__gallery-nav:hover {
        transform: none;
        background-color: var(--pa-primary, #049551);
        color: #fff;
    }

    .loc-page__gallery-nav svg {
        width: 20px;
        height: 20px;
    }

    .loc-page__gallery-dot {
        width: 12px !important;
        height: 12px !important;
    }

    .loc-page__gallery-dot.swiper-pagination-bullet-active {
        width: 16px !important;
        height: 16px !important;
    }
}