    /* =============================================================================
   ZEO Search Modal — zeo-search-modal.css
   Reference: .vibe/plan/0424-algolia-search-layout.png
              .vibe/plan/0424-algolia-search-responsive-mobile.png
   ============================================================================= */

/* -----------------------------------------------------------------------------
   1. Header trigger button
   ----------------------------------------------------------------------------- */

.zeo-search-option {
    display: flex;
    align-items: center;
    margin-right: 8px;
}

/*
 * Mobile search trigger — inside .mean-container (.main-responsive-menu after meanmenu init).
 * The hamburger (.meanmenu-reveal) is position:absolute right:0.
 * Padding offsets from responsive.css: ≤767px → 30px, 768-1199px → 5px.
 */
.zeo-mobile-search-trigger {
    display: none;
    position: absolute;
    right: 52px;
    width: 36px;
    height: 36px;
    border: 2px solid var(--green);
    border-radius: 9px;
    background: #fff;
    color: var(--green);
    font-size: 20px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
    z-index: 10000;
    transition: background 0.15s ease, color 0.15s ease;
}

.zeo-mobile-search-trigger:hover,
.zeo-mobile-search-trigger:focus-visible {
    background: var(--green);
    color: #fff;
    outline: none;
}

/* Tablet 768-1199px: hamburger padding-top is 5px */
@media (min-width: 768px) and (max-width: 1199px) {
    .zeo-mobile-search-trigger {
        display: flex;
        top: 5px;
    }
}

/* Small mobile ≤767px: hamburger padding-top is 30px */
@media (max-width: 767px) {
    .zeo-mobile-search-trigger {
        display: flex;
        top: 10px;
    }
}

.zeo-search-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 2px solid var(--green);
    border-radius: 10px;
    background: #fff;
    color: var(--green);
    font-size: 22px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    padding: 0;
    line-height: 1;
}

.zeo-search-trigger:hover,
.zeo-search-trigger:focus-visible {
    background: var(--green);
    color: #fff;
    outline: none;
}

/* -----------------------------------------------------------------------------
   2. Modal overlay & panel
   ----------------------------------------------------------------------------- */

.zeo-search-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: flex-start;
    justify-content: center;
    padding-top: 80px;
}

.zeo-search-modal.is-open {
    display: flex;
}

.zeo-search-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(10, 25, 10, 0.55);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    animation: zeoFadeIn 0.18s ease;
}

.zeo-search-panel {
    position: relative;
    z-index: 1;
    width: 820px;
    max-width: 92vw;
    max-height: 80vh;
    background: #fff;
    border-radius: 16px;
    padding: 32px 36px 28px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18), 0 4px 16px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    animation: zeoPanelIn 0.2s ease;
    overflow: hidden;
}

body.zeo-search-open {
    overflow: hidden;
}

@keyframes zeoFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes zeoPanelIn {
    from { opacity: 0; transform: translateY(-12px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0)    scale(1); }
}

/* -----------------------------------------------------------------------------
   3. Close button
   ----------------------------------------------------------------------------- */

.zeo-search-close {
    position: absolute;
    top: 2px;
    right: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #888;
    font-size: 22px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    padding: 0;
}

.zeo-search-close:hover {
    background: #f5f5f5;
    color: #333;
}

/* -----------------------------------------------------------------------------
   4. Search input
   ----------------------------------------------------------------------------- */

.zeo-search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-bottom: 24px;
}

.zeo-search-icon {
    position: absolute;
    left: 16px;
    font-size: 22px;
    color: #aaa;
    pointer-events: none;
    transition: color 0.15s;
}

#zeo-search-input {
    width: 100%;
    height: 52px;
    padding: 0 48px 0 50px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
    color: #1a1a1a;
    background: #fafafa;
    transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
    appearance: none;
    -webkit-appearance: none;
}

#zeo-search-input::placeholder {
    color: #b0b8c1;
}

#zeo-search-input:focus {
    outline: none;
    border-color: var(--green);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(51, 153, 51, 0.1);
}

#zeo-search-input:focus ~ .zeo-search-icon,
.zeo-search-input-wrap:focus-within .zeo-search-icon {
    color: var(--green);
}

.zeo-search-clear {
    position: absolute;
    right: 12px;
    display: none;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    background: #e8e8e8;
    color: #555;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    transition: background 0.15s;
}

.zeo-search-clear.is-visible {
    display: flex;
}

.zeo-search-clear:hover {
    background: #d0d0d0;
}

/* -----------------------------------------------------------------------------
   5. Idle state — scrollable content area
   ----------------------------------------------------------------------------- */

.zeo-search-idle,
.zeo-search-results,
.zeo-search-empty {
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.zeo-section-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 10px;
}

.zeo-section-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.zeo-section-title-row .zeo-section-label {
    margin-bottom: 0;
}

.zeo-clear-recents {
    font-size: 12px;
    color: var(--green);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Recent search chips */

.zeo-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.zeo-search-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 20px;
    background: #f8fafc;
    font-size: 13px;
    color: #374151;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
    white-space: nowrap;
}

.zeo-search-chip:hover {
    border-color: var(--green);
    background: #f0faf0;
    color: var(--green);
}

.zeo-search-chip .bx {
    font-size: 14px;
    color: #9ca3af;
}

/* -----------------------------------------------------------------------------
   6. Featured cards grid
   ----------------------------------------------------------------------------- */

.zeo-featured-searches {
    margin-top: 4px;
}

.zeo-featured-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 4px;
}

.zeo-featured-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1.5px solid #e8edf2;
    border-radius: 12px;
    background: #fff;
    text-decoration: none;
    color: #1a1a1a;
    transition: box-shadow 0.15s, border-color 0.15s;
    min-width: 0;
}

.zeo-featured-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.09);
    border-color: #d0dce8;
    text-decoration: none;
    color: #1a1a1a;
}

.zeo-featured-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.zeo-featured-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.zeo-featured-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #9ca3af;
    line-height: 1;
    margin-bottom: 3px;
}

.zeo-featured-title {
    font-size: 12px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.zeo-featured-arrow {
    flex-shrink: 0;
    font-size: 16px;
    color: #cbd5e1;
}

/* -----------------------------------------------------------------------------
   7. Type filter chips
   ----------------------------------------------------------------------------- */

.zeo-search-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
    flex-shrink: 0;
}

.zeo-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 20px;
    background: #f8fafc;
    font-size: 13px;
    color: #6b7280;
    cursor: pointer;
    white-space: nowrap;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.zeo-filter-chip:hover {
    border-color: var(--green);
    color: var(--green);
}

.zeo-filter-chip.is-active {
    border-color: var(--green);
    background: #f0faf0;
    color: var(--green);
    font-weight: 600;
}

.zeo-filter-count {
    opacity: 0.75;
    font-size: 12px;
}

/* -----------------------------------------------------------------------------
   8. Result groups and cards
   ----------------------------------------------------------------------------- */

.zeo-search-groups {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.zeo-result-group-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid #f1f5f9;
}

.zeo-result-group-title .bx {
    font-size: 14px;
}

.zeo-group-count {
    font-weight: 400;
    opacity: 0.8;
}

.zeo-result-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none;
    color: #1a1a1a;
    transition: background 0.12s;
}

.zeo-result-card:hover {
    background: #f0faf0;
    text-decoration: none;
    color: #1a1a1a;
}

.zeo-result-card-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.zeo-result-card-body {
    flex: 1;
    min-width: 0;
}

.zeo-result-card-title {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.zeo-result-card-title em {
    font-style: normal;
    background: #fef9c3;
    border-radius: 2px;
}

.zeo-result-card-desc {
    font-size: 12px;
    color: #6b7280;
    margin-top: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.zeo-result-card-desc em {
    font-style: normal;
    background: #fef9c3;
    border-radius: 2px;
}

.zeo-result-badge {
    flex-shrink: 0;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 6px;
}

.zeo-result-download-icon {
    flex-shrink: 0;
    font-size: 20px;
    color: #6b7280;
    transition: color 0.12s;
}

.zeo-result-card:hover .zeo-result-download-icon {
    color: var(--green);
}

/* All results link */

.zeo-search-all-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 16px;
    padding: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--green);
    text-decoration: none;
    border-top: 1px solid #f1f5f9;
    transition: opacity 0.15s;
}

.zeo-search-all-link:hover {
    opacity: 0.75;
    color: var(--green);
    text-decoration: none;
}

/* -----------------------------------------------------------------------------
   9. Empty state
   ----------------------------------------------------------------------------- */

.zeo-search-empty {
    text-align: center;
    padding-bottom: 8px;
}

.zeo-empty-icon {
    font-size: 40px;
    color: #d1d5db;
    margin-bottom: 12px;
    margin-top: 8px;
}

.zeo-empty-title {
    font-size: 17px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 6px;
}

.zeo-empty-hint {
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 20px;
}

.zeo-search-empty .zeo-section-label {
    text-align: left;
}

.zeo-search-empty .zeo-featured-grid {
    text-align: left;
}

/* -----------------------------------------------------------------------------
   10. Type colors — icons and badges
   ----------------------------------------------------------------------------- */

/* Icon backgrounds (light) */
.zeo-type-bg-ovoda      { background: #e6f4e6; color: #2d7a2d; }
.zeo-type-bg-hir        { background: #dbeafe; color: #1d4ed8; }
.zeo-type-bg-zoldhir    { background: #dcfce7; color: #15803d; }
.zeo-type-bg-informacio { background: #e6f4e6; color: #2d7a2d; }
.zeo-type-bg-dokumentum { background: #ede9fe; color: #6d28d9; }
.zeo-type-bg-gyik       { background: #fff7ed; color: #c2410c; }

/* Inline type icon color */
.zeo-type-ovoda      { color: #2d7a2d; }
.zeo-type-hir        { color: #1d4ed8; }
.zeo-type-zoldhir    { color: #15803d; }
.zeo-type-informacio { color: #2d7a2d; }
.zeo-type-dokumentum { color: #6d28d9; }
.zeo-type-gyik       { color: #c2410c; }

/* Badge backgrounds */
.zeo-badge-ovoda      { background: #e6f4e6; color: #2d7a2d; }
.zeo-badge-hir        { background: #dbeafe; color: #1d4ed8; }
.zeo-badge-zoldhir    { background: #dcfce7; color: #15803d; }
.zeo-badge-informacio { background: #e6f4e6; color: #2d7a2d; }
.zeo-badge-dokumentum { background: #ede9fe; color: #6d28d9; }
.zeo-badge-gyik       { background: #fff7ed; color: #c2410c; }

/* -----------------------------------------------------------------------------
   11. Tablet — 768px – 1199px
   ----------------------------------------------------------------------------- */

@media (max-width: 1199px) {
    .zeo-search-panel {
        width: 680px;
        padding: 28px 28px 24px;
    }

    .zeo-featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* -----------------------------------------------------------------------------
   12. Mobile — <= 767px
   ----------------------------------------------------------------------------- */

@media (max-width: 767px) {
    .zeo-search-modal {
        padding-top: 0;
        align-items: flex-end;
    }

    .zeo-search-panel {
        width: 100%;
        max-width: 100%;
        max-height: 90dvh;
        border-radius: 18px 18px 0 0;
        padding: 20px 16px 16px;
        animation: zeoSlideUp 0.22s ease;
    }

    @keyframes zeoSlideUp {
        from { transform: translateY(100%); opacity: 0.8; }
        to   { transform: translateY(0);    opacity: 1; }
    }

    .zeo-search-close {
        top: 14px;
        right: 14px;
    }

    #zeo-search-input {
        height: 48px;
        font-size: 15px;
    }

    /* Recent searches: full-width rows on mobile */
    .zeo-chip-list {
        flex-direction: column;
        gap: 0;
    }

    .zeo-search-chip {
        width: 100%;
        border-radius: 0;
        border-left: none;
        border-right: none;
        border-top: none;
        border-bottom-color: #f1f5f9;
        padding: 12px 4px;
        background: transparent;
        font-size: 14px;
    }

    .zeo-search-chip:first-child {
        border-top: 1px solid #f1f5f9;
    }

    .zeo-search-chip:hover {
        border-bottom-color: #f1f5f9;
        background: #f8fafc;
    }

    /* Featured: 1 column on mobile */
    .zeo-featured-grid {
        grid-template-columns: 1fr;
    }

    .zeo-featured-card {
        padding: 14px;
    }

    .zeo-featured-icon {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }

    .zeo-featured-title {
        font-size: 13px;
        white-space: normal;
    }

    /* Filter chips: horizontal scroll */
    .zeo-search-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 4px;
    }

    .zeo-search-filters::-webkit-scrollbar {
        display: none;
    }

    .zeo-filter-chip {
        flex-shrink: 0;
        min-height: 36px;
    }

    /* Result cards: more padding for touch */
    .zeo-result-card {
        padding: 12px 8px;
    }

    .zeo-result-card-title {
        font-size: 14px;
        white-space: normal;
    }

    .zeo-result-card-desc {
        -webkit-line-clamp: 2;
    }
}


/* =============================================================================
   Search Results Page (/kereses)
   Spec: .vibe/plan/search-page-ui.md
   ============================================================================= */

/* ── Hero section ──────────────────────────────────────────────────────────── */

.zeo-search-hero {
    position: relative;
    background-image: url('../img/activities-bg.jpg');
    background-size: cover;
    background-position: center;
    min-height: 260px;
    display: flex;
    align-items: center;
}

.zeo-search-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 50, 10, 0.62);
}

.zeo-search-hero-content {
    position: relative;
    z-index: 1;
    padding: 48px 0 44px;
    width: 100%;
}

.zeo-search-hero-title {
    color: #fff;
    font-size: 38px;
    font-weight: 800;
    margin: 0 0 8px;
    line-height: 1.15;
}

.zeo-search-hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    margin: 0 0 24px;
}

.zeo-search-hero-box {
    max-width: 680px;
}

/* InstantSearch.js searchBox overrides */

.zeo-search-ais-root {
    width: 100%;
}

.zeo-search-hero-form {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.18);
    border: 2px solid transparent;
    transition: border-color 0.15s;
}

.zeo-search-hero-form:focus-within {
    border-color: var(--green);
}

.zeo-search-page-input {
    flex: 1;
    height: 60px;
    border: none;
    outline: none;
    font-size: 17px;
    padding: 0 0 0 20px;
    color: #111;
    background: transparent;
    min-width: 0;
}

.zeo-search-page-input::placeholder {
    color: #9ca3af;
}

.zeo-search-hero-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 60px;
    background: var(--green);
    border: none;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s;
}

.zeo-search-hero-submit:hover {
    background: var(--dark-green);
}

.zeo-search-hero-submit-icon {
    width: 22px;
    height: 22px;
    fill: #fff;
}

.zeo-search-hero-reset {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 60px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #9ca3af;
    font-size: 22px;
    flex-shrink: 0;
    transition: color 0.12s;
}

.zeo-search-hero-reset:hover { color: #374151; }

.zeo-search-hero-reset-icon { display: none; }
.zeo-search-hero-reset::before { content: '×'; line-height: 1; }

/* ── Mobile toggle bar ─────────────────────────────────────────────────────── */

.zeo-search-mobile-bar {
    display: none;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 10px 0;
}

.zeo-search-mobile-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.zeo-search-mobile-filter-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 40px;
    padding: 0 16px;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: border-color 0.12s, color 0.12s;
}

.zeo-search-mobile-filter-toggle:hover {
    border-color: var(--green);
    color: var(--green);
}

.zeo-search-mobile-filter-toggle .bx {
    font-size: 16px;
}

.zeo-search-mobile-count {
    font-size: 14px;
    color: #6b7280;
    white-space: nowrap;
}

.zeo-search-mobile-count .zeo-stats-count {
    color: var(--green);
    font-weight: 700;
}

/* ── Page body wrapper ─────────────────────────────────────────────────────── */

.zeo-search-body {
    padding-top: 36px;
    padding-bottom: 60px;
}

/* ── Two-column grid layout ────────────────────────────────────────────────── */

.zeo-search-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    align-items: start;
}

/* ── Sidebar ───────────────────────────────────────────────────────────────── */

.zeo-search-sidebar {
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 14px;
    padding: 20px;
    position: sticky;
    top: 100px;
}

.zeo-search-filter-section {
    margin-bottom: 20px;
}

.zeo-search-filter-section:last-of-type {
    margin-bottom: 16px;
}

.zeo-search-filter-heading {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #9ca3af;
    margin: 0 0 10px;
}

/* Sidebar filter rows */

.zeo-search-filter-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 8px 10px;
    border: none;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
    text-align: left;
    gap: 8px;
    transition: background 0.12s;
    margin-bottom: 2px;
}

.zeo-search-filter-row:hover {
    background: #f3f4f6;
}

.zeo-search-filter-row--active {
    background: var(--light-green);
}

.zeo-search-filter-row--active .zeo-search-filter-row-left span {
    color: var(--dark-green);
    font-weight: 600;
}

.zeo-search-filter-row--active .zeo-search-filter-count {
    color: var(--dark-green);
    font-weight: 600;
}

.zeo-search-filter-row-left {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.zeo-search-filter-row-left .bx {
    font-size: 16px;
    flex-shrink: 0;
}

.zeo-search-filter-row-left span {
    font-size: 14px;
    color: #374151;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.zeo-search-filter-count {
    font-size: 13px;
    font-weight: 500;
    color: #9ca3af;
    flex-shrink: 0;
}

/* Further filter dropdowns (MVP: visual only) */

.zeo-filter-dropdown {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 44px;
    padding: 0 12px;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
    color: #374151;
    cursor: pointer;
    margin-bottom: 8px;
    transition: border-color 0.12s;
}

.zeo-filter-dropdown:hover {
    border-color: var(--green);
}

.zeo-filter-dropdown .bx {
    color: #9ca3af;
}

/* Clear filters button */

.zeo-search-clear-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    height: 40px;
    border: 1.5px solid var(--green);
    border-radius: 8px;
    background: #fff;
    color: var(--green);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.12s, color 0.12s;
    margin-top: 4px;
}

.zeo-search-clear-btn:hover {
    background: var(--light-green);
}

/* ── Main results area ─────────────────────────────────────────────────────── */

.zeo-search-main {
    min-width: 0;
}

/* Results summary header */

.zeo-search-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 14px;
}

.zeo-search-stats-text {
    font-size: 15px;
    color: #374151;
}

.zeo-stats-count {
    color: var(--green);
    font-weight: 700;
    font-size: 17px;
}

.zeo-search-stats-text em {
    font-style: italic;
}

.zeo-search-sort-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.zeo-search-sort-label {
    font-size: 13px;
    color: #6b7280;
    white-space: nowrap;
}

.zeo-search-sort {
    height: 36px;
    padding: 0 10px;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
    font-size: 13px;
    color: #374151;
    cursor: pointer;
    appearance: auto;
}

/* ── Type pills ────────────────────────────────────────────────────────────── */

.zeo-search-type-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.zeo-search-pill {
    display: inline-flex;
    align-items: center;
    height: 34px;
    padding: 0 14px;
    border: 1.5px solid #d1d5db;
    border-radius: 999px;
    background: #fff;
    color: #374151;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: border-color 0.12s, background 0.12s, color 0.12s;
}

.zeo-search-pill:hover {
    border-color: var(--green);
    color: var(--green);
}

.zeo-search-pill--active {
    background: var(--green);
    border-color: var(--green);
    color: #fff;
    font-weight: 600;
}

/* ── Skeleton loading ──────────────────────────────────────────────────────── */

.zeo-search-skeleton-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 8px;
}

.zeo-search-skeleton-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    padding: 18px;
}

.zeo-skeleton-icon {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: #e5e7eb;
    flex-shrink: 0;
    animation: zeo-skeleton-pulse 1.4s ease-in-out infinite;
}

.zeo-skeleton-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.zeo-skeleton-line {
    height: 12px;
    border-radius: 6px;
    background: #e5e7eb;
    animation: zeo-skeleton-pulse 1.4s ease-in-out infinite;
}

.zeo-skeleton-line--xs  { width: 22%; }
.zeo-skeleton-line--lg  { width: 78%; height: 16px; }
.zeo-skeleton-line--md  { width: 55%; }

@keyframes zeo-skeleton-pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.45; }
}

/* ── Result cards ──────────────────────────────────────────────────────────── */

.zeo-search-hits-root { }

.zeo-search-hits-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.zeo-search-hits-item {
    min-width: 0;
}

.zeo-search-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 13px;
    padding: 18px 20px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.12s, box-shadow 0.12s, background 0.12s;
    cursor: pointer;
}

.zeo-search-card:hover {
    border-color: var(--green);
    background: #fafff8;
    box-shadow: 0 3px 14px rgba(51, 153, 51, 0.09);
    text-decoration: none;
    color: inherit;
}

/* Left icon block */

.zeo-search-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 10px;
    font-size: 20px;
    flex-shrink: 0;
}

/* Middle content */

.zeo-search-card__content {
    flex: 1;
    min-width: 0;
}

.zeo-search-card__type {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    margin-bottom: 3px;
}

.zeo-search-card__title {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    line-height: 1.4;
    margin-bottom: 4px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.zeo-search-card__title .zeo-highlight {
    background: #fef9c3;
    color: #854d0e;
    font-style: normal;
    border-radius: 2px;
    padding: 0 2px;
}

.zeo-search-card__description {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 4px;
}

.zeo-search-card__description .zeo-highlight {
    background: #fef9c3;
    color: #854d0e;
    font-style: normal;
    border-radius: 2px;
    padding: 0 2px;
}

.zeo-search-card__meta {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #9ca3af;
}

.zeo-search-card__meta .bx {
    font-size: 13px;
}

/* Right: badge + arrow */

.zeo-search-card__right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    flex-shrink: 0;
}

.zeo-search-card__badge {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 999px;
    white-space: nowrap;
}

.zeo-search-card__arrow {
    font-size: 20px;
    color: #d1d5db;
    transition: color 0.12s, transform 0.12s;
}

.zeo-search-card:hover .zeo-search-card__arrow {
    color: var(--green);
    transform: translateX(3px);
}

.zeo-search-card__download {
    font-size: 20px;
    color: #6b7280;
    transition: color 0.12s;
}

.zeo-search-card:hover .zeo-search-card__download {
    color: var(--green);
}

/* ── Empty state ───────────────────────────────────────────────────────────── */

.zeo-search-hits-empty {
    width: 100%;
}

.zeo-search-empty {
    text-align: center;
    padding: 60px 24px;
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 14px;
}

.zeo-search-empty__icon {
    font-size: 52px;
    color: #d1d5db;
    line-height: 1;
    margin-bottom: 16px;
}

.zeo-search-empty__title {
    font-size: 22px;
    font-weight: 700;
    color: #374151;
    margin: 0 0 8px;
}

.zeo-search-empty__desc {
    font-size: 15px;
    color: #6b7280;
    margin: 0 0 24px;
}

.zeo-search-empty__links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.zeo-search-empty__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    border: 1.5px solid var(--green);
    border-radius: 8px;
    color: var(--green);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.12s, color 0.12s;
}

.zeo-search-empty__link:hover {
    background: var(--green);
    color: #fff;
    text-decoration: none;
}

.zeo-search-empty__link .bx { font-size: 16px; }

/* ── Pagination ────────────────────────────────────────────────────────────── */

.zeo-search-pagination-wrap {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.zeo-search-pagination {
    display: flex;
    justify-content: center;
    width: 100%;
}

.zeo-search-pagination__list {
    display: flex;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.zeo-search-pagination__link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border: 1.5px solid #d1d5db;
    border-radius: 999px;
    background: #fff;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.12s, background 0.12s, color 0.12s;
}

.zeo-search-pagination__link:hover {
    border-color: var(--green);
    color: var(--green);
    text-decoration: none;
}

.zeo-search-pagination__item--active .zeo-search-pagination__link {
    background: var(--green);
    border-color: var(--green);
    color: #fff;
    font-weight: 700;
}

.zeo-search-pagination__item--disabled .zeo-search-pagination__link {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}

/* ── Mobile filter drawer ──────────────────────────────────────────────────── */

.zeo-search-mobile-filter-drawer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1060;
    background: #fff;
    border-radius: 20px 20px 0 0;
    max-height: 85dvh;
    overflow-y: auto;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 -8px 40px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
}

.zeo-search-mobile-filter-drawer.is-open {
    transform: translateY(0);
}

.zeo-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px 14px;
    border-bottom: 1px solid #f1f5f9;
    flex-shrink: 0;
}

.zeo-drawer-title {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.zeo-drawer-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    background: #f3f4f6;
    border-radius: 50%;
    font-size: 20px;
    color: #374151;
    cursor: pointer;
    transition: background 0.12s;
}

.zeo-drawer-close:hover { background: #e5e7eb; }

.zeo-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
}

.zeo-drawer-year-section {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
    margin-bottom: 0;
}

.zeo-drawer-year-section .zeo-search-filter-heading {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #9ca3af;
    margin: 0 0 10px;
}

.zeo-drawer-footer {
    padding: 12px 20px 20px;
    border-top: 1px solid #f1f5f9;
    flex-shrink: 0;
}

.zeo-drawer-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1059;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(2px);
}

.zeo-drawer-backdrop.is-visible {
    display: block;
}

/* ── Responsive ────────────────────────────────────────────────────────────── */

/* Tablet: ≤ 1199px — narrower sidebar */

@media (max-width: 1199px) {
    .zeo-search-layout {
        grid-template-columns: 240px 1fr;
        gap: 24px;
    }
}

/* Tablet: ≤ 991px — sidebar above, full width */

@media (max-width: 991px) {
    .zeo-search-layout {
        grid-template-columns: 1fr;
    }

    .zeo-search-sidebar {
        position: static;
        display: none;
    }

    .zeo-search-mobile-bar {
        display: block;
    }
}

/* Mobile: ≤ 767px */

@media (max-width: 767px) {
    .zeo-search-hero {
        min-height: 165px;
    }

    .zeo-search-hero-content {
        padding: 28px 0 24px;
    }

    .zeo-search-hero-title {
        font-size: 26px;
        margin-bottom: 6px;
    }

    .zeo-search-hero-subtitle {
        font-size: 14px;
        margin-bottom: 16px;
    }

    .zeo-search-hero-box {
        max-width: 100%;
    }

    .zeo-search-page-input {
        height: 52px;
        font-size: 16px;
    }

    .zeo-search-hero-submit {
        width: 50px;
        height: 52px;
    }

    .zeo-search-hero-reset {
        height: 52px;
    }

    .zeo-search-body {
        padding-top: 20px;
        padding-bottom: 40px;
    }

    .zeo-search-summary {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 10px;
    }

    .zeo-search-type-pills {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 4px;
    }

    .zeo-search-type-pills::-webkit-scrollbar { display: none; }

    .zeo-search-pill {
        flex-shrink: 0;
    }

    .zeo-search-card {
        padding: 14px 14px 14px 14px;
        gap: 12px;
    }

    .zeo-search-card__icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .zeo-search-card__title {
        font-size: 14px;
    }

    .zeo-search-card__right {
        gap: 6px;
    }

    .zeo-search-card__badge {
        display: none;
    }

    .zeo-search-empty {
        padding: 40px 16px;
    }

    .zeo-search-empty__links {
        flex-direction: column;
        align-items: center;
    }

    .zeo-search-pagination__link {
        min-width: 36px;
        height: 36px;
        font-size: 13px;
    }
}
