/* Public shell — navbar + footer (all public pages) */

:root {
    --primary: #155724;
    --primary-dark: #0f3d1b;
    --primary-light: #68aa5e;
    --accent: #1FAE66;
    --background: #f7faf8;
    --surface: #ffffff;
    --text: #17231b;
    --muted: #6b7c71;
    --body-font-family: 'Cairo', 'PNU', sans-serif;
    --title-font-family: 'Cairo', 'PNU', sans-serif;
    --bs-font-sans-serif: 'Cairo', 'PNU', sans-serif;
    --bs-body-font-family: 'Cairo', 'PNU', sans-serif;
}

html, body, h1, h2, h3, h4, h5, h6, p, a, li, button, input, select, textarea, label,
.navbar, .nav-link, .dropdown-item, .btn, .form-control, .form-select {
    font-family: 'Cairo', 'PNU', sans-serif !important;
}

body {
    color: var(--text);
    background: var(--background);
    -webkit-tap-highlight-color: rgba(21, 87, 36, 0.12);
}

.yc-header {
    position: sticky;
    top: 0;
    z-index: 1040;
}

body.scrolled .yc-header,
body:not(.home-page) .yc-header {
    box-shadow: 0 12px 32px rgba(15, 61, 27, 0.08);
}

body.home-page:not(.scrolled) .yc-header {
    position: absolute;
    inset-inline: 0;
    top: 0;
    box-shadow: none;
}

.yc-header__flag {
    height: 4px;
    background: linear-gradient(90deg, #006233 0 33.33%, #fff 33.33% 66.66%, #d21034 66.66%);
}

.yc-masthead {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(21, 87, 36, 0.07);
}

body.home-page:not(.scrolled) .yc-masthead {
    background: linear-gradient(180deg, rgba(8, 28, 14, 0.42), rgba(8, 28, 14, 0.12));
    border-bottom-color: transparent;
}

.yc-masthead__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.1rem;
    min-height: 78px;
}

.yc-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text);
    min-width: 0;
}

.yc-brand__marks {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
}

.yc-brand__mark {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 14px rgba(15, 61, 27, 0.12);
    border: 1px solid rgba(21, 87, 36, 0.08);
}

.yc-brand__mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.yc-brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.yc-brand__kicker {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.02em;
}

.yc-brand__name {
    font-weight: 800;
    font-size: 0.98rem;
}

body.home-page:not(.scrolled) .yc-brand,
body.home-page:not(.scrolled) .yc-brand__name {
    color: #fff;
}

body.home-page:not(.scrolled) .yc-brand__kicker {
    color: #c8efd0;
}

.yc-masthead__actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.yc-nav {
    align-items: center;
    gap: 0.15rem;
    flex: 1;
    justify-content: center;
}

.yc-nav-link {
    color: var(--text) !important;
    font-family: 'Cairo', 'PNU', sans-serif !important;
    font-weight: 700 !important;
    font-size: 0.88rem !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    padding: 0.4rem 0.7rem !important;
    margin: 0 !important;
    border-radius: 0 !important;
    white-space: nowrap;
    position: relative;
    background: transparent !important;
}

.yc-nav-link::after {
    content: "";
    position: absolute;
    right: 0.7rem;
    left: 0.7rem;
    bottom: 0.12rem;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.22s ease;
    border-radius: 99px;
}

.yc-nav-link:hover,
.yc-nav-link.active {
    color: var(--primary) !important;
    background: transparent !important;
}

.yc-nav-link:hover::after,
.yc-nav-link.active::after {
    transform: scaleX(1);
}

body.home-page:not(.scrolled) .yc-nav-link {
    color: rgba(255, 255, 255, 0.92) !important;
}

body.home-page:not(.scrolled) .yc-nav-link:hover,
body.home-page:not(.scrolled) .yc-nav-link.active {
    color: #fff !important;
}

body.home-page:not(.scrolled) .yc-nav-link::after {
    background: #c8efd0;
}

.yc-nav-drop .dropdown-toggle::after {
    margin-right: 0.28rem;
    vertical-align: 0.12em;
    border-top: 0.32em solid;
    border-right: 0.28em solid transparent;
    border-left: 0.28em solid transparent;
}

.yc-header .dropdown-menu,
.yc-nav-menu {
    display: none;
    opacity: 1 !important;
    pointer-events: auto !important;
    border: 0;
    border-radius: 16px;
    box-shadow: 0 18px 44px rgba(15, 61, 27, 0.14);
    padding: 0.45rem;
    margin-top: 0.55rem;
    min-width: 13rem;
    background: #fff;
}

.yc-header .dropdown-menu::before {
    display: none;
}

.yc-header .dropdown-menu.show,
.yc-nav-drop:hover > .dropdown-menu,
.yc-nav-drop:focus-within > .dropdown-menu {
    display: block;
}

.yc-nav-menu .dropdown-item {
    font-family: 'Cairo', 'PNU', sans-serif !important;
    font-weight: 700 !important;
    font-size: 0.88rem !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    border-radius: 10px;
    padding: 0.55rem 0.85rem;
    color: var(--text);
}

.yc-nav-menu .dropdown-item:hover,
.yc-nav-menu .dropdown-item:focus,
.yc-nav-menu .dropdown-item.active {
    background: rgba(21, 87, 36, 0.08);
    color: var(--primary);
}

.yc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    border-radius: 999px;
    font-family: 'Cairo', 'PNU', sans-serif !important;
    font-weight: 800;
    font-size: 0.84rem;
    padding: 0.5rem 1.1rem;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
    border: 0;
    line-height: 1.2;
    white-space: nowrap;
}

.yc-btn:hover {
    transform: translateY(-1px);
}

.yc-btn:focus-visible,
.yc-nav-link:focus-visible,
.yc-search__input:focus-visible,
.yc-toggler:focus-visible,
.yc-icon-btn:focus-visible {
    outline: 3px solid rgba(31, 174, 102, 0.45);
    outline-offset: 2px;
}

.yc-btn--ghost {
    background: transparent;
    color: var(--primary);
    border: 1px solid rgba(21, 87, 36, 0.22);
}

.yc-btn--ghost:hover {
    background: rgba(21, 87, 36, 0.08);
    color: var(--primary);
}

body.home-page:not(.scrolled) .yc-btn--ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}

body.home-page:not(.scrolled) .yc-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.yc-btn--solid {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 8px 18px rgba(21, 87, 36, 0.18);
}

.yc-btn--solid:hover {
    background: var(--primary-dark);
    color: #fff;
}

body.home-page:not(.scrolled) .yc-btn--solid {
    background: #fff;
    color: var(--primary);
}

body.home-page:not(.scrolled) .yc-btn--solid:hover {
    background: #eef7f0;
}

.yc-toggler {
    border: 0;
    box-shadow: none;
    padding: 0.25rem;
}

body.home-page:not(.scrolled) .yc-toggler {
    filter: invert(1);
}

.yc-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(21, 87, 36, 0.07);
    color: var(--primary);
    border: 0;
    text-decoration: none;
    font-size: 1.15rem;
    line-height: 1;
}

.yc-icon-btn:hover,
.yc-icon-btn:focus {
    color: var(--primary);
    background: rgba(21, 87, 36, 0.12);
}

body.home-page:not(.scrolled) .yc-icon-btn {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.yc-tabbar {
    display: none;
}

.yc-sheet {
    height: auto;
    max-height: 82vh;
    border-radius: 24px 24px 0 0;
    z-index: 1060;
}

.yc-sheet__handle {
    width: 44px;
    height: 5px;
    border-radius: 99px;
    background: #d5ddd7;
    margin: 10px auto 0;
}

.yc-sheet .offcanvas-title {
    font-weight: 800;
    font-size: 1.1rem;
}

.yc-sheet__link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 0.35rem;
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
    border-bottom: 1px solid rgba(21, 87, 36, 0.06);
}

.yc-sheet__link i {
    width: 28px;
    color: var(--primary);
    font-size: 1.15rem;
}

.yc-sheet__link:hover,
.yc-sheet__link:focus {
    color: var(--primary);
}

.yc-sheet__auth {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    margin-top: 1.1rem;
    padding-bottom: env(safe-area-inset-bottom);
}

@media (max-width: 991.98px) {
    html, body {
        overscroll-behavior-y: contain;
    }

    .yc-header {
        padding-top: env(safe-area-inset-top);
    }

    .yc-brand__name {
        font-size: 0.86rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 46vw;
    }

    .yc-brand__mark {
        width: 34px;
        height: 34px;
    }

    .yc-masthead {
        background: rgba(255, 255, 255, 0.94);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        border-bottom: 1px solid rgba(21, 87, 36, 0.08);
    }

    .yc-masthead__inner {
        min-height: 58px;
        padding-block: 0.2rem;
        gap: 0.5rem;
    }

    body.home-page:not(.scrolled) .yc-masthead {
        background: rgba(15, 61, 27, 0.18);
        border-bottom-color: transparent;
        backdrop-filter: blur(16px);
    }

    body {
        padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
    }

    .yc-footer {
        padding-bottom: 0;
    }

    .yc-footer__main {
        padding-top: 2.4rem;
        padding-bottom: 1.6rem;
    }

    .yc-footer__bottom-inner {
        flex-direction: column;
        text-align: center;
    }

    .yc-footer__legal {
        justify-content: center;
    }

    .yc-tabbar {
        display: flex;
        position: fixed;
        bottom: 0;
        inset-inline: 0;
        z-index: 1045;
        background: rgba(255, 255, 255, 0.94);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-top: 1px solid rgba(21, 87, 36, 0.1);
        justify-content: space-around;
        align-items: stretch;
        min-height: 64px;
        padding: 0.25rem 0.2rem calc(0.25rem + env(safe-area-inset-bottom, 0px));
        box-shadow: 0 -8px 24px rgba(15, 61, 27, 0.06);
    }

    .yc-tab {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.12rem;
        background: none;
        border: 0;
        color: var(--muted);
        text-decoration: none;
        font-family: 'Cairo', 'PNU', sans-serif !important;
        font-weight: 700;
        font-size: 0.68rem;
        min-height: 52px;
        padding: 0.2rem;
    }

    .yc-tab i {
        font-size: 1.28rem;
        line-height: 1;
    }

    .yc-tab.is-active,
    .yc-tab:hover,
    .yc-tab:focus {
        color: var(--primary);
    }
}

.yc-footer {
    position: relative;
    background:
        radial-gradient(800px 280px at 100% 0%, rgba(104, 170, 94, 0.16), transparent 60%),
        linear-gradient(180deg, #123d22 0%, #0c2f16 100%);
    color: #e8f3ea;
    padding-top: 0;
    margin-top: 0;
    overflow: hidden;
}

.yc-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: radial-gradient(circle at 80% 20%, #000 10%, transparent 70%);
    pointer-events: none;
}

.yc-footer__flag {
    height: 5px;
    background: linear-gradient(90deg, #006233 0 33.33%, #fff 33.33% 66.66%, #d21034 66.66%);
}

.yc-footer__main {
    position: relative;
    z-index: 1;
    padding-top: 3.4rem;
    padding-bottom: 2.2rem;
}

.yc-footer__brand {
    display: flex;
    gap: 0.7rem;
    margin-bottom: 1.1rem;
}

.yc-footer a {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
}

.yc-footer a:hover,
.yc-footer a:focus-visible {
    color: #fff;
}

.yc-footer__logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 16px;
    background: #fff;
    padding: 5px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.yc-footer__kicker {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #b7e0c4;
    margin-bottom: 0.25rem;
}

.yc-footer__title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.7rem;
}

.yc-footer__lead {
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.85;
    margin: 0;
    max-width: 22rem;
}

.yc-footer__heading {
    font-size: 0.92rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.05rem;
    padding-bottom: 0.55rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.yc-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.yc-footer__links li {
    margin-bottom: 0.55rem;
}

.yc-footer__links a {
    font-weight: 600;
    font-size: 0.92rem;
}

.yc-footer__links a:hover {
    color: #c8efd0;
}

.yc-footer__contact {
    list-style: none;
    padding: 0;
    margin: 0 0 1.15rem;
}

.yc-footer__contact li {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.9rem;
    line-height: 1.55;
}

.yc-footer__contact i {
    color: #8fd4a4;
    margin-top: 0.15rem;
}

.yc-footer__bottom {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.18);
    padding: 0.95rem 0;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.72);
}

.yc-footer__bottom-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
}

.yc-footer__bottom p {
    margin: 0;
}

.yc-footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.yc-footer__legal a {
    font-weight: 700;
}

.yc-social {
    display: flex;
    gap: 0.55rem;
}

.yc-social a {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 1.05rem;
}

.yc-social a:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.yc-social svg {
    width: 16px;
    height: 16px;
}

/* ── Contact ── */
.yc-contact {
    position: relative;
    padding: 4.5rem 0 4.75rem;
    background:
        radial-gradient(circle at 18% 12%, rgba(31, 174, 102, 0.08), transparent 32%),
        radial-gradient(circle at 88% 88%, rgba(21, 87, 36, 0.06), transparent 36%),
        #f4f8f5;
}

.yc-contact__head {
    text-align: center;
    margin-bottom: 2rem;
}

.yc-contact__kicker {
    display: inline-flex;
    color: var(--primary);
    font-weight: 800;
    font-size: 0.82rem;
    margin-bottom: 0.65rem;
}

.yc-contact h2 {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--text) !important;
    margin-bottom: 0.6rem;
}

.yc-contact__head p {
    max-width: 38rem;
    margin: 0 auto;
    color: var(--muted) !important;
    font-size: 1.05rem;
    line-height: 1.8;
    font-weight: 600;
}

.yc-contact__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
    gap: 1.2rem;
    align-items: stretch;
}

.yc-contact__panel {
    display: grid;
    gap: 0.85rem;
}

.yc-contact__card {
    display: flex;
    align-items: center;
    gap: 0.95rem;
    background: #fff;
    border-radius: 22px;
    padding: 1.1rem 1.15rem;
    box-shadow: 0 14px 32px rgba(15, 61, 27, 0.06);
    text-decoration: none;
    color: inherit;
}

.yc-contact__card h3 {
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--text) !important;
    margin: 0 0 0.2rem;
}

.yc-contact__card p {
    margin: 0;
    color: var(--muted) !important;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.55;
}

.yc-contact__card--link {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.yc-contact__card--link:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 36px rgba(15, 61, 27, 0.1);
    color: inherit;
}

.yc-contact__icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(21, 87, 36, 0.12), rgba(31, 174, 102, 0.12));
    color: var(--primary);
    font-size: 1.2rem;
}

.yc-contact__go {
    margin-inline-start: auto;
    color: var(--primary);
    font-size: 1.05rem;
}

.yc-contact__socials {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    background: #fff;
    border-radius: 22px;
    padding: 0.95rem 1.15rem;
    box-shadow: 0 14px 32px rgba(15, 61, 27, 0.06);
}

.yc-contact__socials span {
    font-weight: 800;
    color: var(--text);
}

.yc-contact__socials div {
    display: flex;
    gap: 0.45rem;
}

.yc-contact__socials a {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(21, 87, 36, 0.08);
    color: var(--primary);
    font-size: 1.05rem;
}

.yc-contact__socials a:hover {
    background: var(--primary);
    color: #fff;
}

.yc-contact__map {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    min-height: 420px;
    background: #e7f1ea;
    box-shadow: 0 18px 40px rgba(15, 61, 27, 0.1);
}

.yc-contact__map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    filter: saturate(0.85);
}

.yc-contact__map-btn {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #fff;
    color: var(--primary) !important;
    font-weight: 800;
    font-size: 0.86rem;
    border-radius: 999px;
    padding: 0.55rem 0.95rem;
    box-shadow: 0 10px 24px rgba(15, 61, 27, 0.16);
    text-decoration: none;
}

.yc-contact__map-btn:hover {
    background: var(--primary);
    color: #fff !important;
}

@media (max-width: 991.98px) {
    .yc-contact {
        padding: 3rem 0 3.4rem;
    }
    .yc-contact__grid {
        grid-template-columns: 1fr;
    }
    .yc-contact__map {
        min-height: 280px;
    }
}

/* ── Public establishment ── */
.pe-page {
    background: #f4f8f5;
}

.pe-hero {
    position: relative;
    isolation: isolate;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    background-color: #3d5c45;
    background-image: var(--pe-hero-image);
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 7.5rem 0 2.4rem;
}

.pe-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(180deg, rgba(8, 26, 14, 0.12) 0%, rgba(8, 26, 14, 0.28) 42%, rgba(8, 26, 14, 0.62) 100%);
}

.pe-hero .container {
    position: relative;
    z-index: 1;
}

.pe-crumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
    font-size: 0.86rem;
    font-weight: 700;
    margin-bottom: 1.1rem;
    color: rgba(255, 255, 255, 0.78);
}

.pe-crumb a {
    color: #fff;
    text-decoration: none;
}

.pe-crumb a:hover {
    color: #c8efd0;
}

.pe-hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 0.8rem;
}

.pe-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    padding: 0.28rem 0.8rem;
    font-size: 0.78rem;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
}

.pe-chip--ok {
    background: #1FAE66;
    border-color: #1FAE66;
}

.pe-hero h1 {
    font-size: clamp(1.7rem, 4vw, 2.7rem);
    font-weight: 800;
    color: #fff !important;
    margin-bottom: 0.7rem;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

.pe-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem 1.2rem;
    color: #f4fff7 !important;
    font-weight: 700;
    margin-bottom: 1.2rem;
}

.pe-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.pe-hero__actions .yc-btn--ghost {
    background: rgba(255, 255, 255, 0.12);
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.pe-hero__actions .yc-btn--ghost:hover {
    background: #fff;
    color: var(--primary) !important;
}

.pe-hero__actions .yc-btn--solid {
    background: #fff;
    color: #081a0e !important;
}

.pe-body-wrap {
    padding: 2rem 0 3.5rem;
}

.pe-facts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.9rem;
    margin-top: -2.4rem;
    margin-bottom: 1.6rem;
    position: relative;
    z-index: 2;
}

.pe-fact {
    background: #fff;
    border-radius: 20px;
    padding: 1.05rem 1.1rem;
    box-shadow: 0 16px 32px rgba(15, 61, 27, 0.08);
}

.pe-fact span {
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    margin-bottom: 0.3rem;
}

.pe-fact strong {
    display: block;
    color: var(--text);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.45;
    word-break: break-word;
}

.pe-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.85fr);
    gap: 1.2rem;
    align-items: start;
}

.pe-card {
    background: #fff;
    border-radius: 24px;
    padding: 1.4rem 1.35rem;
    box-shadow: 0 14px 32px rgba(15, 61, 27, 0.06);
    margin-bottom: 1.1rem;
}

.pe-card h2 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text) !important;
    margin-bottom: 0.85rem;
}

.pe-card p {
    color: var(--muted) !important;
    line-height: 1.85;
    font-weight: 600;
    margin: 0;
}

.pe-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.pe-tab {
    appearance: none;
    font-family: inherit;
    border: 1px solid rgba(21, 87, 36, 0.14);
    background: #fff;
    color: var(--text);
    border-radius: 999px;
    padding: 0.5rem 1rem;
    font-weight: 800;
    font-size: 0.88rem;
    cursor: pointer;
}

.pe-tab.is-active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.pe-acts {
    display: grid;
    gap: 0.8rem;
}

.pe-act {
    display: grid;
    grid-template-columns: 88px 1fr auto;
    gap: 0.9rem;
    align-items: center;
    background: #fff;
    border-radius: 20px;
    padding: 0.95rem 1.05rem;
    box-shadow: 0 10px 24px rgba(15, 61, 27, 0.05);
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pe-act:hover {
    color: inherit;
    transform: translateY(-2px);
}

.pe-act__date {
    background: rgba(21, 87, 36, 0.08);
    color: var(--primary);
    border-radius: 16px;
    text-align: center;
    padding: 0.55rem 0.3rem;
    font-weight: 800;
}

.pe-act__date small {
    display: block;
    font-size: 0.72rem;
}

.pe-act h3 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text) !important;
    margin: 0 0 0.25rem;
}

.pe-act p {
    margin: 0;
    color: var(--muted) !important;
    font-size: 0.82rem;
    font-weight: 700;
}

.pe-side-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pe-side-list li {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    margin-bottom: 0.85rem;
    color: var(--text);
    font-weight: 700;
    font-size: 0.92rem;
    line-height: 1.5;
}

.pe-side-list i {
    color: var(--primary);
    margin-top: 0.15rem;
}

.pe-side-list a {
    color: var(--primary);
    text-decoration: none;
    word-break: break-all;
}

.pe-map {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    min-height: 220px;
    background: #e7f1ea;
}

.pe-map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.pe-empty {
    text-align: center;
    padding: 2.2rem 1rem;
    color: var(--muted);
    font-weight: 700;
}

.pe-empty i {
    font-size: 2rem;
    color: var(--primary);
    display: block;
    margin-bottom: 0.6rem;
}

.pe-more {
    display: inline-flex;
    margin: 1rem auto 0;
}

@media (max-width: 991.98px) {
    .pe-hero {
        min-height: 360px;
        padding: 6.2rem 0 1.6rem;
    }
    .pe-facts {
        grid-template-columns: 1fr 1fr;
        margin-top: 1.2rem;
    }
    .pe-layout {
        grid-template-columns: 1fr;
    }
    .pe-act {
        grid-template-columns: 72px 1fr;
    }
    .pe-act .yc-btn {
        grid-column: 1 / -1;
    }
}

@media (max-width: 575.98px) {
    .pe-facts { grid-template-columns: 1fr; }
}

/* ── Public establishments listing ── */
.pl-page {
    background: #f4f8f5;
}

.pl-hero {
    position: relative;
    isolation: isolate;
    padding: 7.2rem 0 4.5rem;
    background-color: #3d5c45;
    background-image: var(--pl-hero-image);
    background-size: cover;
    background-position: center;
    color: #fff;
}

.pl-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(180deg, rgba(8, 26, 14, 0.18) 0%, rgba(8, 26, 14, 0.42) 55%, rgba(8, 26, 14, 0.66) 100%);
}

.pl-hero .container {
    position: relative;
    z-index: 1;
}

.pl-hero__copy {
    max-width: 40rem;
    margin-bottom: 1.4rem;
}

.pl-kicker {
    display: inline-flex;
    font-weight: 800;
    font-size: 0.82rem;
    margin-bottom: 0.55rem;
}

.pl-hero .pl-kicker {
    color: #c8efd0;
}

.pl-join .pl-kicker {
    color: var(--primary);
}

.pl-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.7rem);
    font-weight: 800;
    color: #fff !important;
    margin-bottom: 0.55rem;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
}

.pl-hero p {
    color: #f4fff7 !important;
    font-weight: 600;
    font-size: 1.05rem;
    line-height: 1.75;
    margin: 0;
}

.pl-search {
    display: grid;
    grid-template-columns: 1fr 1fr 1.3fr auto;
    gap: 0.65rem;
    background: #fff;
    border-radius: 22px;
    padding: 0.7rem;
    box-shadow: 0 18px 40px rgba(8, 26, 14, 0.18);
}

.pl-search select,
.pl-search input {
    width: 100%;
    min-height: 48px;
    border: 1px solid rgba(21, 87, 36, 0.14);
    border-radius: 14px;
    padding: 0.4rem 0.85rem;
    font-family: inherit;
    font-weight: 700;
    color: var(--text);
    background: #f7faf8;
}

.pl-search__keyword {
    position: relative;
}

.pl-suggest {
    list-style: none;
    position: absolute;
    inset-inline: 0;
    top: calc(100% + 6px);
    z-index: 20;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 16px 32px rgba(15, 61, 27, 0.12);
    padding: 0.35rem;
    margin: 0;
    max-height: 240px;
    overflow: auto;
}

.pl-suggest a {
    display: block;
    padding: 0.55rem 0.75rem;
    border-radius: 10px;
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
}

.pl-suggest a:hover {
    background: rgba(21, 87, 36, 0.08);
    color: var(--primary);
}

.pl-results {
    padding: 2.4rem 0 3rem;
}

.pl-results__head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
    margin-bottom: 1.3rem;
}

.pl-results__head h2 {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--text) !important;
    margin: 0 0 0.25rem;
}

.pl-results__head p {
    margin: 0;
    color: var(--muted) !important;
    font-weight: 700;
}

.pl-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.1rem;
}

.pl-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 14px 32px rgba(15, 61, 27, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pl-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(15, 61, 27, 0.12);
    color: inherit;
}

.pl-card__media {
    position: relative;
    height: 190px;
    background: #0c2814 var(--pl-photo) center/cover no-repeat;
}

.pl-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pl-card__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6, 20, 11, 0.55), transparent 55%);
}

.pl-card__tags {
    position: absolute;
    inset-inline: 0.75rem 0.75rem;
    bottom: 0.75rem;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.pl-card__tags span {
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    border-radius: 999px;
    padding: 0.18rem 0.65rem;
    font-size: 0.74rem;
    font-weight: 800;
}

.pl-card__body {
    padding: 1.05rem 1.1rem 1.15rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.pl-card__body h3 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text) !important;
    margin: 0 0 0.35rem;
    line-height: 1.4;
}

.pl-card__body p {
    margin: 0 0 0.45rem;
    color: var(--muted) !important;
    font-size: 0.86rem;
    font-weight: 700;
}

.pl-card__excerpt {
    font-weight: 600 !important;
    line-height: 1.65;
    flex: 1;
}

.pl-card__foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.7rem;
    padding-top: 0.7rem;
    border-top: 1px solid rgba(21, 87, 36, 0.1);
    color: var(--primary);
    font-weight: 800;
    font-size: 0.84rem;
}

.pl-pagination {
    margin-top: 1.8rem;
}

.pl-pager {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.pl-pager__meta {
    margin: 0;
    color: var(--muted);
    font-weight: 800;
    font-size: 0.88rem;
}

.pl-pager__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pl-pager__list a,
.pl-pager__list span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 0.7rem;
    border-radius: 12px;
    font-weight: 800;
    font-size: 0.9rem;
    text-decoration: none;
    background: #fff;
    color: var(--primary) !important;
    border: 1px solid rgba(21, 87, 36, 0.14);
    box-shadow: 0 6px 14px rgba(15, 61, 27, 0.05);
}

.pl-pager__list .is-active span {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff !important;
}

.pl-pager__list a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff !important;
}

.pl-pager__list .is-disabled span {
    opacity: 0.4;
    box-shadow: none;
}

.pl-pager__list .is-dots span {
    background: transparent;
    border: 0;
    box-shadow: none;
    color: var(--muted) !important;
    min-width: 28px;
}

.pl-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--muted);
}

.pl-empty i {
    font-size: 2.2rem;
    color: var(--primary);
    display: block;
    margin-bottom: 0.6rem;
}

.pl-empty h3 {
    font-weight: 800;
    color: var(--text) !important;
}

.pl-join {
    padding: 0 0 3.2rem;
}

.pl-join__card {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1.5rem;
    align-items: center;
    background: #fff;
    border-radius: 28px;
    padding: 1.6rem 1.5rem;
    box-shadow: 0 16px 36px rgba(15, 61, 27, 0.07);
}

.pl-join__card h2 {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--text) !important;
    margin-bottom: 0.45rem;
}

.pl-join__card p {
    color: var(--muted) !important;
    font-weight: 600;
}

.pl-join__card ol {
    margin: 0.9rem 0 1.2rem;
    padding-inline-start: 1.2rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.9;
}

.pl-join__card img {
    width: 100%;
    max-height: 240px;
    object-fit: contain;
}

@media (max-width: 991.98px) {
    .pl-search {
        grid-template-columns: 1fr 1fr;
    }
    .pl-search button {
        grid-column: 1 / -1;
    }
    .pl-grid {
        grid-template-columns: 1fr 1fr;
    }
    .pl-join__card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .pl-hero { padding: 6.2rem 0 3.2rem; }
    .pl-search { grid-template-columns: 1fr; }
    .pl-grid { grid-template-columns: 1fr; }
}

/* ── Public activities listing ── */
.pa-page {
    background: #f3f7f4;
}

.pa-hero {
    position: relative;
    isolation: isolate;
    padding: 7.4rem 0 5.2rem;
    background-color: #24382b;
    background-image: var(--pa-hero-image);
    background-size: cover;
    background-position: center 35%;
    color: #fff;
}

.pa-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(115deg, rgba(8, 22, 14, 0.78) 0%, rgba(8, 22, 14, 0.38) 48%, rgba(8, 22, 14, 0.22) 100%),
        linear-gradient(180deg, rgba(8, 22, 14, 0.15) 0%, rgba(8, 22, 14, 0.55) 100%);
}

.pa-hero .container {
    position: relative;
    z-index: 1;
}

.pa-hero__copy {
    max-width: 42rem;
    margin-bottom: 1.6rem;
}

.pa-hero h1 {
    font-size: clamp(2rem, 4.4vw, 3.1rem);
    font-weight: 900;
    color: #fff !important;
    margin-bottom: 0.65rem;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.pa-hero p {
    color: rgba(244, 255, 247, 0.92) !important;
    font-weight: 600;
    font-size: 1.08rem;
    line-height: 1.85;
    margin: 0;
}

.pa-search {
    display: grid;
    grid-template-columns: 1fr 0.85fr 1.35fr auto;
    gap: 0.65rem;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    border-radius: 24px;
    padding: 0.75rem;
    box-shadow: 0 22px 50px rgba(8, 26, 14, 0.28);
}

.pa-search select,
.pa-search input {
    width: 100%;
    min-height: 50px;
    border: 1px solid rgba(21, 87, 36, 0.12);
    border-radius: 14px;
    padding: 0.4rem 0.9rem;
    font-family: inherit;
    font-weight: 700;
    color: var(--text);
    background: #f6faf7;
}

.pa-fields-wrap {
    margin-top: -2.1rem;
    position: relative;
    z-index: 2;
    padding-bottom: 0.4rem;
}

.pa-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
    gap: 0.7rem;
}

.pa-field {
    position: relative;
    isolation: isolate;
    min-height: 118px;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0.85rem 0.9rem;
    text-decoration: none;
    color: #fff !important;
    background-color: #2f4a38;
    background-image: var(--pa-field-img);
    background-size: cover;
    background-position: center;
    box-shadow: 0 14px 28px rgba(15, 61, 27, 0.12);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.pa-field:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 36px rgba(15, 61, 27, 0.2);
    color: #fff !important;
}

.pa-field__shade {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(180deg, rgba(8, 22, 14, 0.05) 0%, rgba(8, 22, 14, 0.78) 100%);
}

.pa-field__icon,
.pa-field__name,
.pa-field__count {
    position: relative;
    z-index: 1;
}

.pa-field__icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.16);
    margin-bottom: 0.45rem;
}

.pa-field__name {
    font-weight: 800;
    font-size: 0.86rem;
    line-height: 1.35;
}

.pa-field--all {
    background: linear-gradient(160deg, #14532d, #1FAE66);
    color: #fff !important;
    justify-content: center;
    align-items: flex-start;
}

.pa-field--all .pa-field__count {
    font-size: 1.15rem;
    font-weight: 900;
    margin-top: 0.2rem;
}

.pa-field.is-active {
    outline: 3px solid #fff;
    outline-offset: 2px;
    box-shadow: 0 0 0 6px rgba(31, 174, 102, 0.35);
}

.pa-results {
    padding: 1.8rem 0 3.6rem;
}

.pa-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
}

.pa-card {
    background: #fff;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(15, 61, 27, 0.07);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pa-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(15, 61, 27, 0.14);
}

.pa-card__media {
    position: relative;
    display: block;
    height: 210px;
    overflow: hidden;
}

.pa-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.pa-card:hover .pa-card__media img {
    transform: scale(1.08);
}

.pa-card__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 22, 14, 0.05) 20%, rgba(8, 22, 14, 0.55) 100%);
}

.pa-card__tags {
    position: absolute;
    inset-inline: 0.8rem;
    bottom: 0.8rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    z-index: 1;
}

.pa-tag {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.22rem 0.7rem;
    font-size: 0.72rem;
    font-weight: 800;
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.pa-tag--open { background: #1FAE66; border-color: #1FAE66; }
.pa-tag--soon { background: #2563eb; border-color: #2563eb; }
.pa-tag--closed { background: rgba(185, 28, 28, 0.88); border-color: transparent; }

.pa-card__body {
    padding: 1.15rem 1.2rem 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.pa-card__type {
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    margin-bottom: 0.35rem;
}

.pa-card__body h3 {
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.45;
    margin-bottom: 0.45rem;
}

.pa-card__body h3 a {
    color: var(--text);
    text-decoration: none;
}

.pa-card__body h3 a:hover {
    color: var(--primary);
}

.pa-card__excerpt {
    color: var(--muted) !important;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.7;
    margin-bottom: 0.85rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pa-card__meta {
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
    margin-bottom: 1rem;
    color: #4b7a5e;
    font-size: 0.8rem;
    font-weight: 700;
}

.pa-card__meta i {
    margin-left: 0.3rem;
}

.pa-card__btn {
    margin-top: auto;
    width: 100%;
    justify-content: center;
}

@media (max-width: 1199.98px) {
    .pa-field--all {
        min-height: 88px;
        flex-direction: row;
        align-items: center;
        gap: 0.8rem;
    }
}

@media (max-width: 991.98px) {
    .pa-search {
        grid-template-columns: 1fr 1fr;
    }
    .pa-search button {
        grid-column: 1 / -1;
    }
    .pa-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 575.98px) {
    .pa-hero { padding: 6.2rem 0 4.2rem; }
    .pa-search { grid-template-columns: 1fr; }
    .pa-grid { grid-template-columns: 1fr; }
    .pa-fields { grid-template-columns: 1fr; }
    .pa-field--all { grid-column: auto; }
}

/* ── Public activity detail ── */
.pd-status--open { color: #15803d !important; }
.pd-status--soon { color: #1d4ed8 !important; }
.pd-status--closed { color: #b91c1c !important; }

.pd-dot { font-size: 0.55rem; }
.pd-dot--open { color: #1FAE66; }
.pd-dot--soon { color: #2563eb; }
.pd-dot--closed { color: #b91c1c; }

.pd-rich {
    background: #f6faf7;
    border-right: 4px solid var(--primary);
    border-radius: 16px;
    padding: 1rem 1.15rem;
    color: var(--text);
    line-height: 1.85;
    font-weight: 600;
}

.pd-rich p:last-child,
.pd-rich ul:last-child {
    margin-bottom: 0;
}

.pd-cta {
    background: linear-gradient(160deg, #14532d, #1b7a4a);
    color: #fff;
}

.pd-cta h2,
.pd-cta p {
    color: #fff !important;
}

.pd-cta p {
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.7;
}

.pd-cta .yc-btn--solid {
    background: #fff;
    color: #081a0e !important;
    width: 100%;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.pd-cta__ghost {
    width: 100%;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.pd-cta__ghost:hover {
    background: #fff !important;
    color: var(--primary) !important;
}

.pd-related__list {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.pd-related__item {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 0.85rem;
    align-items: center;
    text-decoration: none;
    color: inherit;
    background: #f6faf7;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pd-related__item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(15, 61, 27, 0.1);
}

.pd-related__item img {
    width: 92px;
    height: 72px;
    object-fit: cover;
}

.pd-related__item strong {
    display: block;
    color: var(--text);
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 0.2rem;
}

.pd-related__item span {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
