:root {
    --app-green: #146c43;
    --app-green-dark: #0d5234;
    --app-green-light: #1fa868;
    --app-text: #383838;
    --app-text-muted: #262626;
}

.public-body {
    margin: 0;
    font-family: "Segoe UI", system-ui, sans-serif;
    background: #dfe6ee;
    color: var(--app-text);
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
}

html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}


.public-video-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.public-video-bg video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.public-video-bg video.is-active {
    opacity: 1;
}

.public-video-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.08);
    pointer-events: none;
}


.public-hero-brand {
    display: flex;
    justify-content: center;
    margin: 0 auto 1.5rem;
    text-decoration: none;
}

.public-hero-brand .app-logo,
.public-hero-brand__logo {
    width: clamp(150px, 32vw, 280px);
    height: auto;
    max-width: min(100%, 300px);
    aspect-ratio: 1 / 1;
    display: block;
    object-fit: contain;
    image-rendering: auto;
}

.app-logo {
    width: auto;
    height: clamp(52px, 12vw, 72px);
    max-width: min(100%, 320px);
    display: block;
    object-fit: contain;
    image-rendering: auto;
}


.public-main {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    padding: 4vh 1rem 1.5rem;
    box-sizing: border-box;
}

.public-top-actions {
    position: absolute;
    top: max(0.65rem, env(safe-area-inset-top, 0px));
    right: max(0.65rem, env(safe-area-inset-right, 0px));
    z-index: 50;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.4rem;
}

.public-top-menu-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(20, 108, 67, 0.28);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
    cursor: pointer;
    color: #146c43;
}

.public-top-menu-btn__bars,
.public-top-menu-btn__bars::before,
.public-top-menu-btn__bars::after {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}

.public-top-menu-btn__bars {
    position: relative;
}

.public-top-menu-btn__bars::before,
.public-top-menu-btn__bars::after {
    content: '';
    position: absolute;
    left: 0;
}

.public-top-menu-btn__bars::before { top: -6px; }
.public-top-menu-btn__bars::after { top: 6px; }

.public-top-actions.is-open .public-top-menu-btn__bars {
    background: transparent;
}

.public-top-actions.is-open .public-top-menu-btn__bars::before {
    top: 0;
    transform: rotate(45deg);
}

.public-top-actions.is-open .public-top-menu-btn__bars::after {
    top: 0;
    transform: rotate(-45deg);
}

.public-top-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.4rem;
}

/* Butona të unifikuar navigimi (kërkim / shop / kontakt / legal) */
.app-nav-chip,
.public-top-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.38rem 0.75rem 0.38rem 0.6rem;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 650;
    color: #146c43;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(20, 108, 67, 0.28);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
    transition: background .15s, border-color .15s, transform .12s, color .15s;
    box-sizing: border-box;
    min-height: 36px;
}

.app-nav-chip svg,
.public-top-chip svg {
    flex-shrink: 0;
}

.app-nav-chip:hover,
.public-top-chip:hover {
    background: #fff;
    border-color: rgba(20, 108, 67, 0.45);
    transform: translateY(-1px);
    color: #146c43;
}

.app-nav-chip.is-active {
    background: #fff;
    border-color: rgba(20, 108, 67, 0.5);
}

.app-nav-chip__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.15rem;
    height: 1.15rem;
    padding: 0 .28rem;
    border-radius: 999px;
    font-size: .68rem;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    background: #146c43;
}

@media (max-width: 860px) {
    .public-top-actions {
        top: max(0.45rem, env(safe-area-inset-top, 0px));
        right: max(0.45rem, env(safe-area-inset-right, 0px));
        gap: 0.35rem;
    }

    .public-top-menu-btn {
        display: inline-flex;
    }

    .public-top-menu {
        display: none;
        flex-direction: column;
        align-items: stretch;
        min-width: 168px;
        padding: 0.45rem;
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.97);
        border: 1px solid rgba(148, 163, 184, 0.35);
        box-shadow: 0 10px 28px rgba(15, 23, 42, 0.14);
    }

    .public-top-actions.is-open .public-top-menu {
        display: flex;
    }

    .public-top-menu .app-nav-chip,
    .public-top-chip {
        font-size: 0.82rem;
        padding: 0.55rem 0.75rem;
        min-height: 42px;
        border-radius: 10px;
        box-shadow: none;
        justify-content: flex-start;
    }
}

.public-content {
    width: 100%;
    max-width: 760px;
}

.public-content--wide {
    max-width: 1180px;
}

.public-search-block {
    width: 100%;
    text-align: center;
}

.public-title {
    margin: 0 0 1.25rem;
    font-size: clamp(1.45rem, 4.5vw, 1.9rem);
    font-weight: 100;
    color: var(--app-text);
    line-height: 1.35;
    letter-spacing: .01em;
}

.public-subtitle {
    display: none;
}


.public-search-wrap {
    position: relative;
    max-width: 660px;
    margin: 0 auto;
    z-index: 40;
}

.public-search-bar {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: .4rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 252, 250, 0.96) 100%);
    border: 1px solid rgba(20, 108, 67, 0.16);
    border-radius: 18px;
    overflow: visible;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 14px 40px rgba(15, 23, 42, 0.12),
        0 4px 12px rgba(20, 108, 67, 0.06);
    position: relative;
    z-index: 2;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.public-search-bar:focus-within {
    border-color: rgba(20, 108, 67, 0.42);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 0 0 3px rgba(20, 108, 67, 0.12),
        0 18px 44px rgba(15, 23, 42, 0.14),
        0 6px 16px rgba(20, 108, 67, 0.08);
}

.public-search-wrap.is-open .public-search-bar {
    border-radius: 18px 18px 0 0;
    border-bottom-color: transparent;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 8px 24px rgba(15, 23, 42, 0.1);
}

.public-search-bar__row {
    display: flex;
    align-items: center;
    width: 100%;
    gap: .15rem;
    min-height: 3.35rem;
}

.public-search-bar__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    color: #7a8b82;
    pointer-events: none;
    transition: color .18s ease;
}

.public-search-bar:focus-within .public-search-bar__icon {
    color: var(--app-green);
}

.public-search-bar__icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.public-body .public-search-bar input,
.public-body .public-search-bar input[type="search"],
.public-body .public-search-bar input:not([type="radio"]):not([type="checkbox"]) {
    flex: 1;
    min-width: 0;
    width: auto;
    border: none;
    outline: none;
    background: transparent;
    color: #1a3d2e;
    /* admin.css i jep inputeve .9rem (~14px) → iOS/Android bëjnë zoom; duhet ≥16px */
    font-size: 16px !important;
    font-weight: 450;
    letter-spacing: .01em;
    line-height: 1.35;
    padding: .85rem .35rem .85rem 0;
    height: 100%;
    box-shadow: none;
    border-radius: 0;
    touch-action: manipulation;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

.public-search-bar input::placeholder {
    color: #8a9790;
    font-weight: 400;
    opacity: 1;
}

.public-search-bar input::-webkit-search-decoration,
.public-search-bar input::-webkit-search-cancel-button {
    -webkit-appearance: none;
}

.public-search-btn {
    flex-shrink: 0;
    border: none;
    margin: .15rem .15rem .15rem .35rem;
    padding: 0 .95rem 0 1.05rem;
    min-height: 2.85rem;
    border-radius: 13px;
    background: linear-gradient(165deg, #1a8052 0%, var(--app-green) 48%, var(--app-green-dark) 100%);
    color: #fff;
    font-size: .95rem;
    font-weight: 650;
    letter-spacing: .02em;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.22) inset,
        0 6px 16px rgba(13, 82, 52, 0.28);
    transition: background .18s ease, transform .15s ease, box-shadow .18s ease;
}

.public-search-btn:hover {
    background: linear-gradient(165deg, #1f9060 0%, #167a4c 50%, #0a5233 100%);
    transform: translateY(-1px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.25) inset,
        0 8px 20px rgba(13, 82, 52, 0.34);
}

.public-search-btn:active {
    transform: translateY(0);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.15) inset,
        0 3px 10px rgba(13, 82, 52, 0.28);
}

.public-search-btn__label {
    display: inline;
}

.public-search-disclaimer {
    max-width: 640px;
    margin: .85rem auto 0;
    font-size: clamp(0.78rem, 2vw, 0.88rem);
    line-height: 1.45;
    color: var(--app-muted, #64748b);
    font-weight: 400;
}

.public-search-legend {
    max-width: 640px;
    margin: .35rem auto 0;
    font-size: clamp(0.72rem, 1.8vw, 0.82rem);
    line-height: 1.4;
    color: var(--app-muted, #64748b);
}


.public-shop-entry {
    margin-top: .75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .4rem;
}

.public-shop-chip {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-top: 0;
    padding: .38rem .8rem .38rem .65rem;
    border-radius: 999px;
    text-decoration: none;
    font-size: .8rem;
    font-weight: 650;
    color: #146c43;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(20, 108, 67, 0.28);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
    transition: background .15s, border-color .15s, transform .12s;
}

.public-shop-chip svg {
    flex-shrink: 0;
}

.public-shop-chip:hover {
    background: #fff;
    border-color: rgba(20, 108, 67, 0.45);
    transform: translateY(-1px);
}

.public-shop-entry__desc {
    margin: 0;
    max-width: 420px;
    padding: 0 .5rem;
    font-size: clamp(0.72rem, 1.8vw, 0.8rem);
    line-height: 1.4;
    color: var(--app-muted, #64748b);
    font-weight: 400;
}


.results-list {
    list-style: none;
    margin: 0;
    padding: .35rem 0;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% - 1px);
    z-index: 1;
    max-height: min(420px, 55vh);
    overflow-y: auto;
    text-align: left;
    background: #fff;
    border-radius: 0 0 18px 18px;
    border: 1px solid rgba(20, 108, 67, 0.16);
    border-top: 1px solid #e8eee9;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
}

.results-list[hidden] {
    display: none !important;
}

.results-list li {
    margin: 0;
}

.results-list li a {
    display: block;
    padding: .75rem 1rem;
    background: transparent;
    border: none;
    border-radius: 0;
    margin-bottom: 0;
    text-decoration: none;
    color: inherit;
    box-shadow: none;
    transition: background .12s;
}

.results-list li a:hover {
    transform: none;
    box-shadow: none;
    background: #f8fafc;
}

.results-list li a strong {
    color: var(--app-green);
    font-weight: 600;
    font-size: 1.02rem;
}

.results-list mark {
    background: #fef08a;
    padding: 0 .1em;
    border-radius: 2px;
}

.result-years {
    color: #64748b;
    font-size: .88rem;
}

.result-origin {
    color: #475569;
    font-size: .84rem;
}

.result-location {
    color: #334155;
    font-size: .88rem;
}

.result-location strong {
    color: var(--app-green);
    font-weight: 600;
}

.result-reservation__body {
    display: block;
    padding: .75rem 1rem;
    background: #fffbeb;
    border: none;
    border-left: 3px solid #b45309;
    border-radius: 0;
    margin-bottom: 0;
    box-shadow: none;
}

.result-reservation__body strong {
    color: #92400e;
    font-weight: 600;
    font-size: 1.02rem;
}

.result-empty {
    padding: .85rem 1rem;
    color: #64748b;
    list-style: none;
    text-align: center;
    font-size: .92rem;
    background: transparent;
    border-radius: 0;
}

.result-hint {
    color: #475569;
    border: 1px solid rgba(148, 163, 184, 0.35);
}


.public-below {
    margin-top: 1.5rem;
    display: grid;
    gap: 1.15rem;
}

@media (min-width: 900px) {
    .public-below--split {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
        align-items: start;
        gap: 1.1rem;
    }
}


@media (min-width: 980px) {
    .public-below--flanks {
        grid-template-columns: minmax(210px, 260px) minmax(0, 1fr) minmax(210px, 260px);
        align-items: start;
        gap: .85rem;
    }

    .public-below--flanks .notices-grid {
        grid-template-columns: 1fr;
    }

    .public-below--flanks .public-shop-row {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: .5rem;
        padding: .4rem;
    }

    .public-below--flanks .public-shop-row__img {
        width: 44px;
        height: 44px;
    }

    .public-below--flanks .public-shop-row__meta strong {
        font-size: .74rem;
        -webkit-line-clamp: 2;
    }
}

.public-shop-teaser__hint {
    font-size: .7rem;
    color: #94a3b8;
    font-weight: 600;
}

@media (max-width: 979px) {
    .public-below--flanks {
        grid-template-columns: 1fr;
    }

    .public-below--flanks .public-shop-teaser--left {
        order: 2;
    }

    .public-below--flanks .public-notices {
        order: 1;
    }

    .public-below--flanks .public-shop-teaser--right {
        order: 3;
    }
}

.public-notices {
    margin-top: 0;
    padding: 0;
}

.public-notices h2 {
    font-size: .78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--app-text-muted);
    text-align: center;
    margin: 0 0 .55rem;
}

.public-shop-teaser {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.public-shop-teaser__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    margin-bottom: .55rem;
}

.public-shop-teaser__head h2 {
    margin: 0;
    font-size: .78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--app-text-muted);
}

.public-shop-teaser__head a {
    font-size: .74rem;
    font-weight: 600;
    color: #146c43;
    text-decoration: none;
    white-space: nowrap;
}

.public-shop-teaser__head a:hover {
    text-decoration: underline;
}

.public-shop-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .4rem;
}

.public-shop-row {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    align-items: center;
    gap: .65rem;
    padding: .45rem .55rem .45rem .45rem;
    text-decoration: none;
    color: inherit;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    transition: border-color .15s, box-shadow .15s, background .15s;
}

.public-shop-row:hover {
    border-color: rgba(20, 108, 67, 0.35);
    background: #fff;
    box-shadow: 0 4px 12px rgba(20, 108, 67, 0.1);
}

.public-shop-row__img {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    overflow: hidden;
    background: #eef2f7;
    flex-shrink: 0;
}

.public-shop-row__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.public-shop-row__meta {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: .1rem;
}

.public-shop-row__cat {
    font-size: .62rem;
    font-weight: 650;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.public-shop-row__meta strong {
    font-size: .8rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.notices-grid {
    display: grid;
    gap: .55rem;
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 660px;
    margin-inline: auto;
    justify-content: center;
}

.notice-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 10px;
    padding: .85rem 1rem 1rem;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.notice-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .45rem;
    margin-bottom: .45rem;
}

.notice-card h3 {
    margin: 0;
    font-size: .82rem;
    font-weight: 600;
    line-height: 1.3;
    color: #1e293b;
    flex: 1;
    min-width: 0;
}

.notice-meta {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: #94a3b8;
    font-size: .7rem;
    margin: 0;
    white-space: nowrap;
    flex-shrink: 0;
    line-height: 1.3;
}

.public-notices .notice-meta {
    display: inline-flex;
    margin: 0;
    white-space: nowrap;
    flex-shrink: 0;
}

.notice-meta__date {
    color: inherit;
}

.notice-day {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .12rem .4rem;
    border-radius: 999px;
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .04em;
    line-height: 1.2;
    text-transform: uppercase;
}

.notice-day--today {
    background: #dc2626;
    color: #fff;
    box-shadow: 0 0 0 1px rgba(220, 38, 38, .25);
}

.notice-day--yesterday {
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid #fdba74;
}

.notice-card--today {
    border-color: rgba(220, 38, 38, .35);
    box-shadow: 0 2px 10px rgba(220, 38, 38, .08);
}

.notice-card--yesterday {
    border-color: rgba(234, 88, 12, .28);
}

.notice-person {
    margin: 0 0 .3rem;
    font-size: .74rem;
    line-height: 1.35;
    color: #64748b;
}

.notice-person a {
    color: var(--app-green);
    font-weight: 600;
    text-decoration: none;
}

.notice-person a:hover {
    text-decoration: underline;
}

.notice-person__meta {
    display: block;
    margin-top: .12rem;
    color: #94a3b8;
}

.notice-card__body {
    margin: 0;
    line-height: 1.5;
    color: #475569;
    font-size: .82rem;
    word-break: break-word;
    flex: 1;
    min-width: 0;
}

.notice-card__content {
    display: flex;
    gap: .65rem;
    align-items: flex-start;
}

.notice-card--has-photo .notice-card__content {
    flex-direction: column;
    align-items: center;
    gap: .55rem;
}

.notice-card__photo {
    margin: 0;
    flex: 0 0 auto;
    align-self: stretch;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.notice-card__photo-btn {
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
    border-radius: 8px;
    line-height: 0;
}

.notice-card__photo-btn:focus-visible {
    outline: 2px solid #166534;
    outline-offset: 3px;
}

.notice-card__photo img {
    display: block;
    width: auto;
    height: auto;
    max-width: 200px;
    max-height: 240px;
    object-fit: contain;
    object-position: center;
    border-radius: 8px;
    border: 1px solid rgba(148, 163, 184, .35);
    background: #f8fafc;
    box-shadow: 0 6px 18px rgba(15, 23, 42, .08);
    transition: transform .18s ease, box-shadow .18s ease;
}

.notice-card__photo-btn:hover img {
    transform: scale(1.03);
    box-shadow: 0 10px 24px rgba(15, 23, 42, .14);
}

body.photo-lightbox-open {
    overflow: hidden;
}

.photo-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: rgba(15, 23, 42, .88);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    cursor: zoom-out;
}

.photo-lightbox[hidden] {
    display: none !important;
}

.photo-lightbox__figure {
    margin: 0;
    max-width: min(92vw, 720px);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .65rem;
    cursor: default;
}

.photo-lightbox__img {
    display: block;
    max-width: 100%;
    max-height: calc(90vh - 2.5rem);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    border: 1px solid rgba(226, 232, 240, .25);
    background: #0f172a;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .45);
}

.photo-lightbox__caption {
    margin: 0;
    font-size: .78rem;
    color: #cbd5e1;
    font-style: italic;
    text-align: center;
}

.photo-lightbox__views {
    margin: 0;
    font-size: .88rem;
    font-weight: 650;
    color: #f8fafc;
    text-align: center;
    letter-spacing: .01em;
}

.photo-lightbox__views[hidden] {
    display: none !important;
}

.photo-lightbox__close {
    position: absolute;
    top: .85rem;
    right: .85rem;
    width: 2.5rem;
    height: 2.5rem;
    border: 0;
    border-radius: 999px;
    background: rgba(248, 250, 252, .12);
    color: #f8fafc;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.photo-lightbox__close:hover,
.photo-lightbox__close:focus-visible {
    background: rgba(248, 250, 252, .22);
    outline: none;
}

.notice-card__photo-caption {
    margin: .35rem 0 0;
    max-width: 220px;
    font-size: .62rem;
    line-height: 1.35;
    text-align: center;
    color: #94a3b8;
    font-style: italic;
}

.notice-card__body p {
    margin: 0 0 .35rem;
}

.notice-card__body p:last-child {
    margin-bottom: 0;
}

.notice-card__body strong,
.notice-card__body b {
    color: #1e293b;
    font-weight: 700;
}

/* Hapësira bosh të editorit: hiqi që teksti të shpërndahet mirë */
.notice-card__body > div:has(> br:only-child),
.notice-card__body > div:empty {
    display: none;
}

.notice-card__body > div {
    margin: 0;
    line-height: 1.5;
}

/* Kartë katrore: teksti lart, “Të Pikëlluar…” gjithmonë në fund */
.public-notices .notice-card {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    padding-bottom: .55rem;
    height: 100%;
}

.public-notices .notice-card__content {
    flex: 1 1 auto;
    display: flex;
    align-items: flex-start;
    min-height: 0;
}

.public-notices .notice-card--has-photo .notice-card__content {
    flex-direction: column;
    align-items: center;
}

.public-notices .notice-card--has-photo .notice-card__body {
    width: 100%;
}

.public-notices .notice-card__body {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex: 1 1 auto;
    align-self: stretch;
    min-height: 0;
    gap: .2rem;
    height: 100%;
}

.public-notices .notice-card__body > div:nth-last-child(1 of :not(:has(> br:only-child))) {
    margin-top: auto;
    padding-top: .65rem;
}

.notice-card__body .notice-name {
    font-size: .92rem;
    font-weight: 800;
    color: #0f172a;
    text-align: center;
    margin: .55rem 0;
    letter-spacing: .02em;
}

.notice-card__body .notice-center { text-align: center; }
.notice-card__body .notice-muted { color: #64748b; font-size: .72rem; }

.notice-card__body img {
    display: block;
    max-width: 200px;
    max-height: 240px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
    margin: .45rem auto;
}

.notice-share {
    position: relative;
    margin-top: .75rem;
    padding-top: .65rem;
    border-top: 1px solid rgba(148, 163, 184, 0.22);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: .35rem;
    flex-shrink: 0;
    z-index: 5;
}

.notice-share__btn {
    appearance: none;
    border: 1px solid rgba(20, 108, 67, 0.28);
    background: rgba(255, 255, 255, 0.92);
    color: #146c43;
    font: inherit;
    font-size: .78rem;
    font-weight: 650;
    padding: .45rem .85rem;
    border-radius: 8px;
    cursor: pointer;
    min-height: 40px;
}

.notice-share__btn:hover {
    background: #f0fdf4;
}

.notice-share__menu {
    position: static;
    align-self: stretch;
    width: 100%;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
    padding: .3rem;
    display: flex;
    flex-direction: column;
    gap: .15rem;
}

.notice-share__stats {
    padding: .45rem .65rem .35rem;
    margin: 0 0 .15rem;
    font-size: .78rem;
    font-weight: 650;
    color: #334155;
    border-bottom: 1px solid rgba(148, 163, 184, 0.28);
}

.notice-share__stats .js-notice-share-label {
    color: #146c43;
}

.notice-share__menu[hidden] {
    display: none !important;
}

.notice-share__item {
    appearance: none;
    display: flex;
    align-items: center;
    gap: .55rem;
    width: 100%;
    text-align: left;
    border: 0;
    background: transparent;
    color: #1e293b;
    font: inherit;
    font-size: .84rem;
    font-weight: 550;
    padding: .55rem .65rem;
    border-radius: 7px;
    cursor: pointer;
    text-decoration: none;
    min-height: 44px;
    box-sizing: border-box;
}

.notice-share__item:hover {
    background: #f1f5f9;
}

.notice-share__icon {
    flex-shrink: 0;
    display: block;
}

.notice-share__item--facebook { color: #1877f2; }
.notice-share__item--whatsapp { color: #25d366; }
.notice-share__item--viber { color: #7360f2; }
.notice-share__item--copy { color: #475569; }

.notice-share__item span {
    color: #1e293b;
}

.notice-share-toast {
    position: fixed;
    left: 50%;
    bottom: max(1.25rem, env(safe-area-inset-bottom));
    transform: translateX(-50%) translateY(12px);
    z-index: 4000;
    max-width: min(92vw, 420px);
    padding: .75rem 1rem;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.94);
    color: #f8fafc;
    font-size: .84rem;
    font-weight: 550;
    line-height: 1.4;
    text-align: center;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.28);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
}

.notice-share-toast.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.notice-share__link {
    color: #146c43;
    font-weight: 600;
    text-decoration: none;
    font-size: .88rem;
}

.notice-share__link:hover {
    text-decoration: underline;
}

.public-notices--single {
    width: 100%;
    max-width: 660px;
    margin-inline: auto;
}

.public-notices--single .notice-card__photo img {
    max-width: 240px;
    max-height: 280px;
}

.public-notices__page-title {
    margin: 0 0 .85rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #e2e8f0;
    text-align: center;
    letter-spacing: .02em;
}

.public-notice-page {
    width: 100%;
    max-width: 720px;
    margin-inline: auto;
}

.public-notice-page .public-hero-brand {
    margin-bottom: .75rem;
}

@media (max-width: 860px) {
    .public-notices__page-title {
        font-size: .95rem;
        margin-bottom: .65rem;
    }

    .public-notices .notice-card {
        min-height: 0;
        height: auto;
        padding: .75rem .85rem .9rem;
    }

    .public-notices--single .notice-card {
        min-height: 0;
        padding: .75rem .8rem .85rem;
        border-radius: 12px;
    }

    /* Njëjtë si faqja e kërkimit: titulli majtas, data + SOT djathtas */
    .public-notices--single .notice-card__head {
        flex-wrap: nowrap;
        align-items: center;
        gap: .45rem;
    }

    .public-notices--single .notice-card__head h3 {
        flex: 1;
        min-width: 0;
    }

    .public-notices--single .notice-meta {
        width: auto;
        flex-shrink: 0;
        justify-content: flex-end;
        white-space: nowrap;
    }

    .public-notices .notice-card__content {
        flex: 0 1 auto;
        min-height: 0;
    }

    .notice-card__photo img,
    .notice-card__body img {
        max-width: 180px;
        max-height: 220px;
    }

    .notice-share {
        align-items: stretch;
        margin-top: .75rem;
        padding-top: .65rem;
        gap: .4rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .notice-share__btn {
        width: 100%;
        max-width: 100%;
        min-height: 44px;
        font-size: .84rem;
        border-radius: 10px;
        box-sizing: border-box;
    }

    .notice-share__menu {
        width: 100%;
        max-width: 100%;
        padding: .35rem;
        border-radius: 12px;
        gap: .2rem;
        box-sizing: border-box;
    }

    .notice-share__item {
        min-height: 48px;
        padding: .65rem .75rem;
        font-size: .9rem;
        border-radius: 10px;
        gap: .65rem;
        box-sizing: border-box;
    }

    .notice-share__icon {
        width: 22px;
        height: 22px;
        flex-shrink: 0;
    }
}


.notice-card__body hr {
    border: 0;
    border-top: 1px solid rgba(148, 163, 184, .45);
    margin: .55rem 0;
}


@media (max-width: 640px) {
    .public-main {
        padding: 1.5vh .75rem 1rem;
        padding-left: max(.75rem, env(safe-area-inset-left));
        padding-right: max(.75rem, env(safe-area-inset-right));
        padding-bottom: max(1rem, env(safe-area-inset-bottom));
    }

    .public-hero-brand {
        margin-bottom: .85rem;
    }

    .public-hero-brand .app-logo,
    .public-hero-brand__logo {
        width: clamp(120px, 34vw, 180px);
        max-width: min(100%, 200px);
    }

    .public-title {
        font-size: clamp(1.15rem, 5.2vw, 1.32rem);
        margin-bottom: .85rem;
        padding: 0 .1rem;
        line-height: 1.3;
        hyphens: auto;
    }

    .public-search-bar {
        border-radius: 16px;
        padding: .3rem;
    }

    .public-search-wrap.is-open .public-search-bar {
        border-radius: 16px 16px 0 0;
    }

    .public-search-bar__row {
        min-height: 3rem;
        gap: 0;
        flex-wrap: wrap;
    }

    .public-search-bar__icon {
        width: 2.35rem;
    }

    .public-body .public-search-bar input,
    .public-body .public-search-bar input[type="search"],
    .public-body .public-search-bar input:not([type="radio"]):not([type="checkbox"]) {
        font-size: 16px !important;
        padding: .65rem .2rem .65rem 0;
        flex: 1 1 calc(100% - 7.5rem);
        min-width: 0;
    }

    .public-search-btn {
        margin: .15rem;
        min-height: 2.65rem;
        padding: 0 .9rem;
        border-radius: 12px;
        gap: 0;
        flex: 0 0 auto;
    }

    .public-search-btn__label {
        display: inline;
        font-size: .88rem;
    }

    .public-search-disclaimer,
    .public-search-legend {
        padding: 0 .15rem;
        font-size: .75rem;
        line-height: 1.4;
    }

    .results-list {
        max-height: min(360px, 50vh);
        border-radius: 0 0 16px 16px;
    }

    .public-shop-chip {
        margin-top: 0;
        font-size: .78rem;
        padding: .4rem .8rem .4rem .6rem;
        min-height: 42px;
        box-sizing: border-box;
    }

    .public-shop-entry {
        margin-top: .55rem;
        gap: .3rem;
    }

    .public-shop-entry__desc {
        font-size: .72rem;
        max-width: 340px;
        padding: 0 .25rem;
    }

    .public-below {
        margin-top: 1rem;
        gap: .9rem;
    }

    .public-shop-teaser {
        padding: 0;
        border-radius: 0;
    }

    .results-list li a,
    .result-reservation__body {
        padding: .75rem .85rem;
    }

    .results-list li a strong,
    .result-reservation__body strong {
        font-size: .95rem;
        word-break: break-word;
    }

    .result-years,
    .result-origin {
        font-size: .82rem;
        line-height: 1.4;
        word-break: break-word;
    }

    .public-notices {
        margin-top: 0;
    }

    .public-notices h2 {
        font-size: .72rem;
        letter-spacing: .06em;
    }

    .notices-grid {
        grid-template-columns: 1fr;
        gap: .4rem;
    }

    .notice-card {
        padding: .55rem .65rem;
    }

    .notice-card h3 {
        font-size: .78rem;
    }
}

@media (min-width: 900px) {
    .public-body .public-search-bar input,
    .public-body .public-search-bar input[type="search"],
    .public-body .public-search-bar input:not([type="radio"]):not([type="checkbox"]) {
        font-size: 17px !important;
    }
}

@media (max-width: 420px) {
    .public-search-bar__row {
        flex-direction: column;
        align-items: stretch;
        min-height: 0;
        gap: .25rem;
    }

    .public-search-bar__icon {
        display: none;
    }

    .public-body .public-search-bar input,
    .public-body .public-search-bar input[type="search"],
    .public-body .public-search-bar input:not([type="radio"]):not([type="checkbox"]) {
        flex: 1 1 auto;
        width: 100%;
        padding: .7rem .65rem;
        box-sizing: border-box;
        font-size: 16px !important;
    }

    .public-search-btn {
        width: 100%;
        margin: 0;
        min-height: 2.75rem;
        justify-content: center;
    }
}

@media (min-width: 900px) {
    .public-main {
        padding-top: 6vh;
    }

    .public-title {
        font-size: 1.9rem;
    }
}
