/**
 * Premium hub „Organizacija” (samo public/za_svadbu.php)
 * body.page-hub-organizacija — ne utiče na ostale landing stranice.
 */

body.page-hub-organizacija {
    --hub-accent: #2563eb;
    --hub-accent-2: #6366f1;
    --hub-teal: #0d9488;
    --hub-ink: #0f172a;
    --hub-muted: #64748b;
    --hub-line: #e2e8f0;
    --hub-card: #ffffff;
    --hub-radius-lg: 1.25rem;
    --hub-radius-xl: 1.5rem;
    --hub-shadow-sm: 0 1px 2px rgb(15 23 42 / 6%);
    --hub-shadow-md: 0 12px 40px -12px rgb(15 23 42 / 14%);
    --hub-shadow-card: 0 4px 24px -6px rgb(15 23 42 / 10%), var(--hub-shadow-sm);
    --hub-section-y: clamp(2.75rem, 5vw, 4.25rem);
}

body.page-hub-organizacija {
    background-color: #eef2f7;
    background-image:
        radial-gradient(ellipse 130% 90% at 50% -25%, rgb(37 99 235 / 11%), transparent 58%),
        radial-gradient(ellipse 55% 45% at 100% 8%, rgb(99 102 241 / 9%), transparent 52%),
        radial-gradient(ellipse 50% 38% at 0% 22%, rgb(13 148 136 / 7%), transparent 48%);
    background-attachment: fixed;
}

@media (max-width: 900px) {
    body.page-hub-organizacija {
        background-attachment: scroll;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.page-hub-organizacija {
        background-attachment: scroll;
    }
}

body.page-hub-organizacija .hub-page {
    position: relative;
    padding-top: clamp(1.5rem, 3vw, 2.25rem);
    padding-bottom: clamp(3.5rem, 7vw, 5.5rem);
}

/* ——— Layout: filteri uz levu ivicu ekrana + sadržaj u landing-container ——— */
body.page-hub-organizacija .hub-page-layout-shell {
    width: 100%;
    box-sizing: border-box;
}

body.page-hub-organizacija .hub-page-layout {
    display: grid;
    /* Prva kolona: široka traka za filtere (cela dodeljena širina, do razumnog maksimuma) */
    grid-template-columns: clamp(17rem, 28vw, 28rem) minmax(0, 1fr);
    gap: 0;
    align-items: start;
    width: 100%;
    box-sizing: border-box;
    /* Jedna „ploča”: aside + main vizuelno spojeni (bez overflow:hidden — sticky filteri) */
    background: linear-gradient(165deg, rgb(255 255 255 / 0.98) 0%, rgb(248 250 252 / 0.99) 100%);
    border: 1px solid var(--hub-line);
    border-left: 0;
    border-radius: 0 var(--hub-radius-lg) var(--hub-radius-lg) 0;
    box-shadow: var(--hub-shadow-card);
}

body.page-hub-organizacija .hub-page-layout__content {
    min-width: 0;
}

/* Desna kolona: poravnanje od podela sa sidebarom (ne centriranje u ćeliji kao podrazumevani landing-container) */
body.page-hub-organizacija .hub-page-layout__content.landing-container {
    width: min(1800px, 100%);
    max-width: 100%;
    margin-left: 0;
    margin-right: auto;
    box-sizing: border-box;
}

body.page-hub-organizacija .hub-page-layout__filters {
    position: sticky;
    top: calc(env(safe-area-inset-top, 0px) + var(--navbar-scroll-offset, 5.5rem) + 0.75rem);
    align-self: start;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    max-height: calc(100vh - env(safe-area-inset-top, 0px) - var(--navbar-scroll-offset, 5.5rem) - 1.5rem);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding:
        clamp(0.85rem, 1.6vw, 1.35rem)
        clamp(0.75rem, 1.4vw, 1.1rem)
        clamp(1rem, 1.8vw, 1.35rem)
        max(0.75rem, env(safe-area-inset-left, 0px));
    border: 0;
    border-radius: 0;
    border-right: 1px solid rgb(226 232 240 / 0.95);
    background: transparent;
    box-shadow: none;
}

@media (max-width: 900px) {
    body.page-hub-organizacija .hub-page-layout-shell {
        padding-left: max(1rem, env(safe-area-inset-left, 0px));
        padding-right: max(1rem, env(safe-area-inset-right, 0px));
    }

    body.page-hub-organizacija .hub-page-layout {
        grid-template-columns: 1fr;
        gap: clamp(0.85rem, 2vw, 1.25rem);
        background: transparent;
        border: 0;
        box-shadow: none;
        border-radius: 0;
    }

    body.page-hub-organizacija .hub-page-layout__filters {
        position: static;
        max-height: none;
        overflow: visible;
        border: 1px solid var(--hub-line);
        border-radius: var(--hub-radius-lg);
        padding-left: clamp(0.75rem, 1.4vw, 1.1rem);
        background: linear-gradient(165deg, rgb(255 255 255 / 0.98) 0%, rgb(248 250 252 / 0.99) 100%);
        box-shadow: var(--hub-shadow-card);
    }

    body.page-hub-organizacija .hub-page-layout__content.landing-container {
        margin-left: auto;
        margin-right: auto;
        width: min(1800px, 100%);
    }
}

/* ——— Sekcije ——— */
body.page-hub-organizacija .hub-section {
    margin-bottom: var(--hub-section-y);
}

body.page-hub-organizacija .hub-section:last-child {
    margin-bottom: 0;
}

body.page-hub-organizacija .hub-section-head {
    position: relative;
    max-width: 44rem;
    margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
    padding-left: 1.15rem;
}

body.page-hub-organizacija .hub-section-head::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.15rem;
    bottom: 0.15rem;
    width: 4px;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--hub-accent), var(--hub-teal));
}

body.page-hub-organizacija .hub-section-head__kicker {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--hub-muted);
    margin-bottom: 0.4rem;
}

body.page-hub-organizacija .hub-section-head__title {
    margin: 0;
    font-size: clamp(1.35rem, 2.4vw, 1.75rem);
    font-weight: 700;
    color: var(--hub-ink);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

body.page-hub-organizacija .hub-section-head__lead {
    margin: 0.55rem 0 0;
    font-size: 1rem;
    line-height: 1.55;
    color: #475569;
}

body.page-hub-organizacija .hub-section-head__title--page {
    font-size: clamp(1.55rem, 3.6vw, 2.35rem);
    letter-spacing: -0.03em;
    line-height: 1.12;
    margin-top: 0.15rem;
}

body.page-hub-organizacija .hub-section-head__subtitle {
    margin: 1rem 0 0;
    font-size: clamp(1.12rem, 2vw, 1.32rem);
    font-weight: 700;
    color: var(--hub-ink);
    line-height: 1.25;
    letter-spacing: -0.02em;
}

/* Skrivena forma za form= polja u sidebaru */
body.page-hub-organizacija .hub-wedding-hub-search-shell {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Opciono: puna hero kartica (druga stranica / režim bez minimal) */
body.page-hub-organizacija form.hub-hero-card.landing-search-panel {
    margin-top: 0;
}

body.page-hub-organizacija form.hub-hero-card .landing-search-panel__surface {
    border: 1px solid rgb(226 232 240 / 0.95);
    border-radius: var(--hub-radius-xl);
    box-shadow: var(--hub-shadow-card), 0 0 0 1px rgb(255 255 255 / 0.6) inset;
    background: linear-gradient(165deg, rgb(255 255 255 / 0.97) 0%, rgb(248 250 252 / 0.99) 100%);
}

body.page-hub-organizacija form.hub-hero-card .landing-search-panel__accent {
    height: 6px;
    border-radius: var(--hub-radius-xl) var(--hub-radius-xl) 0 0;
    background: linear-gradient(90deg, var(--hub-accent) 0%, var(--hub-accent-2) 45%, var(--hub-teal) 100%);
}

body.page-hub-organizacija form.hub-hero-card .landing-search-panel__h1 {
    font-size: clamp(1.55rem, 3.6vw, 2.35rem);
    letter-spacing: -0.03em;
    line-height: 1.12;
}

body.page-hub-organizacija form.hub-hero-card .landing-search-panel__map-btn {
    border-radius: 0.5rem;
    padding: 0.65rem 1.35rem;
    box-shadow: 0 2px 12px -2px rgb(37 99 235 / 35%);
}

body.page-hub-organizacija form.hub-hero-card .landing-search-panel__map-cta {
    display: flex;
    justify-content: center;
    margin-top: 0.25rem;
}

/* ——— Kategorije (kartice sa slikom) ——— */
body.page-hub-organizacija .hub-section--categories .hub-section-head {
    max-width: 48rem;
}

body.page-hub-organizacija .hub-cat-board {
    border-radius: var(--hub-radius-xl);
    border: 1px solid rgb(226 232 240 / 0.95);
    background: linear-gradient(165deg, rgb(255 255 255 / 0.94) 0%, rgb(248 250 252 / 0.97) 100%);
    box-shadow: var(--hub-shadow-card);
    padding: clamp(1rem, 2.2vw, 1.65rem);
}

@supports (backdrop-filter: blur(8px)) {
    body.page-hub-organizacija .hub-cat-board {
        backdrop-filter: blur(10px);
    }
}

body.page-hub-organizacija .hub-cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.1rem;
}

@media (min-width: 900px) {
    body.page-hub-organizacija .hub-cat-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.2rem;
    }
}

body.page-hub-organizacija .hub-cat-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    border-radius: calc(var(--hub-radius-lg) + 2px);
    border: 1px solid var(--hub-line);
    background: var(--hub-card);
    color: var(--hub-ink);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: var(--hub-shadow-sm);
    transition:
        border-color 0.22s ease,
        box-shadow 0.22s ease,
        transform 0.22s ease;
}

body.page-hub-organizacija .hub-cat-tile:hover {
    border-color: rgb(37 99 235 / 32%);
    box-shadow: var(--hub-shadow-md);
    transform: translateY(-4px);
}

body.page-hub-organizacija .hub-cat-tile:focus-visible {
    outline: 3px solid rgb(37 99 235 / 35%);
    outline-offset: 3px;
}

body.page-hub-organizacija .hub-cat-tile__media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(145deg, #e2e8f0, #f1f5f9);
}

body.page-hub-organizacija .hub-cat-tile__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

body.page-hub-organizacija .hub-cat-tile:hover .hub-cat-tile__img {
    transform: scale(1.08);
}

body.page-hub-organizacija .hub-cat-tile__body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1.15rem 1.15rem;
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
    border-top: 1px solid rgb(241 245 249 / 0.95);
}

body.page-hub-organizacija .hub-cat-tile__name {
    line-height: 1.35;
    font-size: 1.02rem;
}

body.page-hub-organizacija .hub-cat-tile__go {
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, rgb(37 99 235 / 11%), rgb(99 102 241 / 10%));
    color: var(--hub-accent);
    font-size: 1.05rem;
    font-weight: 700;
    transition: transform 0.2s ease, background 0.2s ease;
}

body.page-hub-organizacija .hub-cat-tile:hover .hub-cat-tile__go {
    transform: translateX(4px);
    background: linear-gradient(135deg, rgb(37 99 235 / 18%), rgb(99 102 241 / 14%));
}

/* Istaknuti: mreža u istom „table“ tonu */
body.page-hub-organizacija .hub-section--featured .landing-card-grid {
    padding: clamp(0.85rem, 2vw, 1.35rem);
    border-radius: var(--hub-radius-xl);
    border: 1px solid rgb(226 232 240 / 0.9);
    background: rgb(255 255 255 / 0.75);
    box-shadow: var(--hub-shadow-sm);
}

/* ——— Mapa (kontrole + red mape) ——— */
body.page-hub-organizacija .hub-map-section {
    --hub-map-pad: clamp(1rem, 4vw, 2.5rem);
    position: relative;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-bottom: var(--hub-section-y);
    padding-top: clamp(0.85rem, 2vw, 1.35rem);
    padding-bottom: clamp(1.25rem, 2.5vw, 2rem);
    padding-left: var(--hub-map-pad);
    padding-right: var(--hub-map-pad);
    box-sizing: border-box;
    overflow-x: clip;
    border-radius: 0;
    border-width: 1px 0;
    border-style: solid;
    border-color: rgb(226 232 240 / 0.9);
    background: linear-gradient(180deg, rgb(255 255 255 / 0.82) 0%, rgb(241 245 249 / 0.96) 100%);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.5);
}

body.page-hub-organizacija .hub-map-back {
    margin: 0 0 0.65rem;
}

body.page-hub-organizacija .hub-map-back__link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--hub-accent);
    text-decoration: none;
}

body.page-hub-organizacija .hub-map-back__link:hover {
    text-decoration: underline;
}

body.page-hub-organizacija .hub-page--map-only {
    padding-top: clamp(0.65rem, 1.8vw, 1.15rem);
}

body.page-hub-organizacija .hub-map-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    max-width: min(72rem, 100%);
    margin-left: auto;
    margin-right: auto;
    padding: 0.65rem 1rem 0.85rem;
    margin-bottom: 0.75rem;
    border-radius: var(--hub-radius-lg);
    border: 1px solid rgb(226 232 240 / 0.95);
    background: rgb(255 255 255 / 0.88);
    box-shadow: var(--hub-shadow-sm);
}

body.page-hub-organizacija .hub-map-select {
    min-height: 46px;
    max-width: 22rem;
    width: 100%;
    border-radius: 0.5rem;
}

body.page-hub-organizacija .hub-map-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem 0.85rem;
    margin: 0;
}

body.page-hub-organizacija .hub-map-around-btn {
    font-weight: 600;
    min-height: 46px;
    padding-left: 1.15rem;
    padding-right: 1.15rem;
    border-radius: 0.5rem;
    border-color: #cbd5e1;
    box-shadow: 0 1px 2px rgb(15 23 42 / 5%);
}

body.page-hub-organizacija .hub-map-count:empty {
    display: none;
}

body.page-hub-organizacija .hub-map-count:not(:empty) {
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: rgb(241 245 249 / 0.95);
    border: 1px solid #e2e8f0;
}

body.page-hub-organizacija .hub-map-stage {
    position: relative;
}

/* Red mape + sidebar: puna širina viewporta */
body.page-hub-organizacija .hub-map-section .hub-map-layout.landing-map-layout {
    margin-left: calc(-1 * var(--hub-map-pad));
    margin-right: calc(-1 * var(--hub-map-pad));
    width: calc(100% + 2 * var(--hub-map-pad));
    max-width: none;
    column-gap: 0;
    align-items: stretch;
    min-height: clamp(22rem, 52vh, 36rem);
}

@media (min-width: 901px) {
    body.page-hub-organizacija .hub-map-section .hub-map-layout.landing-map-layout {
        column-gap: 1px;
        background: var(--hub-line);
        min-height: min(74vh, 720px);
    }
}

body.page-hub-organizacija .hub-map-section #weddingMap {
    width: 100%;
    height: clamp(20rem, 58vh, 40rem);
    min-height: 20rem;
    border-radius: 0;
    border-width: 1px 0;
    border-style: solid;
    border-color: var(--hub-line);
    box-shadow: none;
    z-index: 0;
}

@media (min-width: 901px) {
    body.page-hub-organizacija .hub-map-section #weddingMap {
        height: 100%;
        min-height: min(68vh, 640px);
        max-height: min(78vh, 720px);
    }
}

body.page-hub-organizacija .hub-map-section .leaflet-container {
    font-family: inherit;
}

body.page-hub-organizacija .hub-map-section .leaflet-control-attribution {
    font-size: 0.68rem;
    line-height: 1.35;
    max-width: calc(100% - 3.5rem);
    padding: 2px 6px;
    border-radius: 4px 0 0 0;
    background: rgb(255 255 255 / 0.88);
    border: 1px solid rgb(226 232 240 / 0.9);
    border-bottom: none;
    border-right: none;
    color: #475569;
}

body.page-hub-organizacija .hub-map-section .leaflet-control-zoom a {
    border-radius: 4px;
}

body.page-hub-organizacija .hub-map-sidebar.landing-map-sidebar {
    margin: 0;
    border-radius: 0;
    border-width: 1px 0;
    border-style: solid;
    border-color: var(--hub-line);
    background: rgb(255 255 255 / 0.95);
    box-sizing: border-box;
    padding: 1.1rem 1.15rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    justify-content: flex-start;
    min-height: 0;
}

@media (min-width: 901px) {
    body.page-hub-organizacija .hub-map-sidebar.landing-map-sidebar {
        max-width: 320px;
        width: 100%;
        padding: 1.15rem 1.2rem 1.3rem;
    }
}

@media (max-width: 900px) {
    body.page-hub-organizacija .hub-map-sidebar.landing-map-sidebar {
        border-top: 1px solid var(--hub-line);
    }
}

body.page-hub-organizacija .hub-map-sidebar__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--hub-ink);
    line-height: 1.3;
}

body.page-hub-organizacija .hub-map-sidebar__hint {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: #64748b;
}

/* U grid layoutu mapa ostaje u koloni sadržaja (bez 100vw breakout-a) */
body.page-hub-organizacija .hub-page-layout__content .hub-map-section {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

/* ——— Istaknuti ——— */
body.page-hub-organizacija .hub-section--featured .landing-media-card {
    border-radius: var(--hub-radius-lg);
    border-color: rgb(226 232 240 / 0.9);
    box-shadow: var(--hub-shadow-sm);
    transition:
        box-shadow 0.25s ease,
        transform 0.25s ease,
        border-color 0.25s ease;
}

body.page-hub-organizacija .hub-section--featured .landing-media-card:hover {
    border-color: rgb(37 99 235 / 22%);
    box-shadow: var(--hub-shadow-md);
    transform: translateY(-3px);
}

body.page-hub-organizacija .hub-section--featured .landing-media-card__media {
    border-radius: calc(var(--hub-radius-lg) - 1px) calc(var(--hub-radius-lg) - 1px) 0 0;
}

/* ——— Vodiči / kolekcije ——— */
body.page-hub-organizacija .hub-section--guides .hub-guide-grid {
    padding: clamp(0.85rem, 2vw, 1.35rem);
    border-radius: var(--hub-radius-xl);
    border: 1px solid rgb(226 232 240 / 0.9);
    background: rgb(255 255 255 / 0.72);
    box-shadow: var(--hub-shadow-sm);
}

body.page-hub-organizacija .hub-guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

body.page-hub-organizacija .hub-guide-card {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    min-height: 5.75rem;
    padding: 0;
    overflow: hidden;
    border-radius: var(--hub-radius-lg);
    border: 1px solid var(--hub-line);
    background: var(--hub-card);
    text-decoration: none;
    color: inherit;
    box-shadow: var(--hub-shadow-sm);
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

body.page-hub-organizacija .hub-guide-card::before {
    content: '';
    flex: 0 0 clamp(100px, 28%, 132px);
    min-height: 100%;
    background: url('/assets/img/hub-category-placeholder.svg') center / cover no-repeat;
}

body.page-hub-organizacija .hub-guide-card__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.35rem;
    padding: 1.1rem 1.25rem 1.15rem 1.15rem;
    flex: 1;
    min-width: 0;
}

body.page-hub-organizacija .hub-guide-card:hover {
    border-color: rgb(13 148 136 / 28%);
    box-shadow: var(--hub-shadow-md);
    transform: translateY(-2px);
}

body.page-hub-organizacija .hub-guide-card:focus-visible {
    outline: 3px solid rgb(13 148 136 / 30%);
    outline-offset: 2px;
}

body.page-hub-organizacija .hub-guide-card__title {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--hub-ink);
    line-height: 1.3;
}

body.page-hub-organizacija .hub-guide-card__sub {
    font-size: 0.9rem;
    color: var(--hub-muted);
    line-height: 1.45;
}

/* ——— FAQ ——— */
body.page-hub-organizacija .hub-faq {
    padding-top: 0.5rem;
}

body.page-hub-organizacija .hub-faq .landing-dl-faq {
    border: 1px solid var(--hub-line);
    border-radius: var(--hub-radius-lg);
    background: var(--hub-card);
    box-shadow: var(--hub-shadow-sm);
    overflow: hidden;
}

body.page-hub-organizacija .hub-faq .landing-dl-faq dt {
    margin: 0;
    padding: 1.1rem 1.25rem 0.35rem;
    background: rgb(248 250 252 / 0.85);
    border-top: 1px solid var(--hub-line);
    font-size: 1rem;
}

body.page-hub-organizacija .hub-faq .landing-dl-faq dt:first-child {
    border-top: 0;
    padding-top: 1.15rem;
}

body.page-hub-organizacija .hub-faq .landing-dl-faq dd {
    margin: 0;
    padding: 0 1.25rem 1.15rem;
    background: rgb(248 250 252 / 0.85);
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.55;
    border-bottom: 1px solid rgb(241 245 249 / 0.95);
}

body.page-hub-organizacija .hub-faq .landing-dl-faq dd:last-child {
    border-bottom: 0;
}

/* ——— Lead ——— */
body.page-hub-organizacija .hub-lead-shell {
    position: relative;
    border-radius: var(--hub-radius-xl);
    border: 1px solid var(--hub-line);
    background: linear-gradient(145deg, rgb(255 255 255 / 0.98), rgb(248 250 252 / 0.98));
    box-shadow: var(--hub-shadow-card);
    padding: calc(10px + clamp(1.2rem, 2.8vw, 1.75rem)) clamp(1.35rem, 3vw, 2rem) clamp(1.35rem, 3vw, 2rem);
    max-width: 38rem;
    overflow: hidden;
}

body.page-hub-organizacija .hub-lead-shell::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--hub-accent), var(--hub-accent-2), var(--hub-teal));
}

body.page-hub-organizacija .hub-lead-shell .landing-form-stack .form-input {
    max-width: none;
}

body.page-hub-organizacija .hub-lead-shell .btn.btn-primary {
    min-height: 46px;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    font-weight: 600;
}

/* ——— Levi sidebar: filteri (katalog layout) ——— */
body.page-hub-organizacija .hub-filter-sidebar {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

body.page-hub-organizacija .hub-filter-sidebar__title {
    margin: 0 0 0.35rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--hub-ink);
    letter-spacing: -0.02em;
}

body.page-hub-organizacija .hub-filter-sidebar__intro {
    margin: 0 0 1rem;
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--hub-muted);
}

body.page-hub-organizacija .hub-filter-sidebar__block {
    margin-bottom: 1.25rem;
    padding-bottom: 1.15rem;
    border-bottom: 1px solid rgb(226 232 240 / 0.85);
}

body.page-hub-organizacija .hub-filter-sidebar__block:last-of-type {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

body.page-hub-organizacija .hub-filter-sidebar__block-title {
    margin: 0 0 0.35rem;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--hub-ink);
}

body.page-hub-organizacija .hub-filter-sidebar__block-hint {
    margin: 0 0 0.75rem;
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--hub-muted);
}

body.page-hub-organizacija .hub-filter-sidebar__fields {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
}

body.page-hub-organizacija .hub-filter-sidebar__label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #475569;
}

body.page-hub-organizacija .hub-filter-sidebar__fields .form-input,
body.page-hub-organizacija .hub-filter-sidebar__fields .form-select {
    width: 100%;
    max-width: none;
    min-height: 44px;
    border-radius: 0.5rem;
    box-sizing: border-box;
}

body.page-hub-organizacija .hub-filter-sidebar__map-form {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    width: 100%;
    min-width: 0;
}

body.page-hub-organizacija .hub-filter-sidebar__map-form .hub-map-select {
    max-width: none;
    width: 100%;
    box-sizing: border-box;
}

body.page-hub-organizacija .hub-filter-sidebar__submit {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    min-height: 46px;
    font-weight: 600;
}

/* ——— Scroll reveal ——— */
body.page-hub-organizacija .hub-reveal {
    opacity: 0;
    transform: translateY(22px);
}

body.page-hub-organizacija .hub-reveal.hub-reveal--visible {
    opacity: 1;
    transform: translateY(0);
    transition:
        opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--hub-reveal-delay, 0s);
}

@media (prefers-reduced-motion: reduce) {
    body.page-hub-organizacija .hub-reveal {
        opacity: 1;
        transform: none;
    }

    body.page-hub-organizacija .hub-reveal.hub-reveal--visible {
        transition: none;
    }
}
