/* Home page – supporter cards, partner cards and hero layout (from the November 2026 design) */
/* Supporter and partner sections: three columns on desktop. */
.support-section {
    padding: clamp(40px, 5vw, 64px) 0;
    border-top: 1px solid #e2e8f0;
    background: #fff;
    color: #233862;
    font-family: inherit;
}

.support-section *, .support-section *::before, .support-section *::after {
    box-sizing: border-box;
}

.support-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
}

.support-title {
    margin: 0 0 32px;
    color: #233862;
    font-size: clamp(28px, 3.2vw, 44px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.support-grid > li {
    min-width: 0;
}

.support-card {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    align-items: center;
    gap: 20px;
    width: 100%;
    height: 100%;
    min-height: 184px;
    padding: 24px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    color: #233862;
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.support-card:hover {
    border-color: #b8c7dc;
    box-shadow: 0 8px 24px rgb(35 56 98 / 7%);
}

.support-card:focus-visible {
    outline: 3px solid #1d78c1;
    outline-offset: 4px;
}

.support-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 104px;
    height: 112px;
    min-width: 0;
}

.support-logo img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.support-logo--geda {
    height: 132px;
}

.support-name {
    min-width: 0;
    margin: 0;
    color: #233862;
    font-size: clamp(16px, 1.3vw, 18px);
    font-weight: 600;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.support-name small {
    display: block;
    margin-bottom: 4px;
    color: #526078;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}

.support-card--wide {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
}

.support-card--wide .support-logo {
    width: 100%;
    max-width: 340px;
    height: 112px;
}

.support-emblem {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
}

.support-emblem img {
    width: auto;
    height: 88px;
}

.support-emblem span {
    color: #333;
    font-size: 10px;
    line-height: 1.4;
    white-space: nowrap;
}

.support-card--partner {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 16px;
    text-align: center;
}

.support-card--partner .support-logo {
    width: 100%;
    max-width: 220px;
    height: 96px;
}

.support-card--partner .support-name {
    font-size: 15px;
}

/* Mobile logo lists: reveal three more items with each tap. */
.support-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.support-controls[hidden],
.support-controls button[hidden],
.support-grid > li[hidden] {
    display: none !important;
}

.support-more,
.support-less {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 11px 20px;
    border: 1px solid #233862;
    border-radius: 8px;
    background: #233862;
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    cursor: pointer;
}

.support-less {
    border-color: #d4dce8;
    background: #fff;
    color: #233862;
}

.support-more:hover { background: #1a2b4d; }
.support-less:hover { background: #f1f5f9; }

.support-controls button:focus-visible {
    outline: 3px solid #1d78c1;
    outline-offset: 4px;
}

.support-status {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

/* Keep slide text in the layout so wrapped headings never overlap. */
[x-cloak] {
    display: none !important;
}

.svum-hero {
    height: auto;
    min-height: 85vh;
    min-height: 85svh;
}

.svum-hero__content {
    padding-top: 96px;
}

.svum-hero__title, .svum-hero__description {
    display: grid;
}

.svum-hero__title {
    min-height: 200px;
    align-items: end;
}

.svum-hero__description {
    min-height: 100px;
    align-items: start;
}

.svum-hero__title > h2, .svum-hero__description > p {
    position: static;
    grid-area: 1 / 1;
    min-width: 0;
    margin: 0;
    overflow-wrap: break-word;
}

@media (min-width: 1024px) and (max-width: 1199px) {
    .support-card {
        grid-template-columns: 84px minmax(0, 1fr);
        gap: 16px;
        padding: 20px;
    }

    .support-logo {
        width: 84px;
    }

    .support-card--wide, .support-card--partner {
        grid-template-columns: minmax(0, 1fr);
    }

}

@media (max-width: 1023px) {
    .support-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .svum-hero__title {
        min-height: 150px;
    }

    .svum-hero__description {
        min-height: 0;
    }

}

@media (max-width: 639px) {
    .support-container {
        padding: 0 20px;
    }

    .support-title {
        margin-bottom: 24px;
    }

    .support-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .support-card {
        grid-template-columns: 84px minmax(0, 1fr);
        gap: 16px;
        min-height: 160px;
        padding: 20px;
    }

    .support-logo {
        width: 84px;
        height: 104px;
    }

    .support-logo--geda {
        height: 120px;
    }

    .support-name {
        font-size: 16px;
    }

    .support-name small {
        font-size: 13px;
    }

    .support-card--wide, .support-card--partner {
        grid-template-columns: minmax(0, 1fr);
    }

    .svum-hero {
        min-height: 700px;
    }

    .svum-hero__title {
        min-height: 0;
    }

}

@media (prefers-reduced-motion: reduce) {
    .support-card {
        transition: none;
    }

}

/* Home page styles (moved from inline <style> blocks in index.php and popup.php) */

/* ---------- Exhibitor showcase ---------- */
  .svx {
    --svx-navy: #233862;
    --svx-navy-dark: #1a2b4d;
    --svx-navy-50: #eef2f9;
    --svx-orange: #f39c12;
    --svx-orange-50: #fff6e6;
    --svx-orange-ink: #b45309;
    --svx-ink: #1e293b;
    --svx-text: #475569;
    --svx-muted: #64748b;
    --svx-line: #e2e8f0;
    --svx-line-soft: #eef2f6;
    --svx-soft: #f8fafc;

    background: var(--svx-soft);
    border-top: 1px solid var(--svx-line);
    padding: 88px 0;
    font-family: inherit;
    color: var(--svx-text);
  }
  .svx *, .svx *::before, .svx *::after { box-sizing: border-box; }
  .svx [x-cloak] { display: none !important; }
  .svx h3, .svx h4, .svx p { margin: 0; }
  .svx-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
  .svx .svx-i { display: inline-block; flex: 0 0 auto; width: 1em; height: 1em; vertical-align: middle; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .svx-wrap { max-width: 1400px; margin: 0 auto; padding: 0 24px; }

  /* =============== Header =============== */
  .svx-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; margin-bottom: 36px; }
  .svx-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 12px !important; color: var(--svx-orange-ink); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
  .svx-eyebrow::before { content: ""; width: 30px; height: 2px; border-radius: 2px; background: var(--svx-orange); }
  .svx-title { margin-bottom: 10px !important; color: var(--svx-navy); font-size: clamp(1.75rem, 3.2vw, 2.5rem); line-height: 1.15; font-weight: 700; letter-spacing: -.02em; }
  .svx-sub { max-width: 700px; color: var(--svx-muted); font-size: 1rem; line-height: 1.65; }
  .svx-cta { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 24px; border-radius: 8px; background: var(--svx-navy); color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background .2s ease, color .2s ease; }
  .svx-cta:hover { background: var(--svx-orange); color: var(--svx-navy); }
  .svx-cta .svx-i { font-size: 16px; }

  /* =============== Toolbar =============== */
  .svx-toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; padding: 12px; background: #fff; border: 1px solid var(--svx-line); border-radius: 12px; box-shadow: 0 1px 2px rgba(15, 23, 42, .04); }
  .svx-search { position: relative; flex: 1 1 auto; min-width: 0; }
  .svx-search .svx-i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--svx-muted); font-size: 18px; pointer-events: none; }
  .svx-search input,
  .svx-select { width: 100%; height: 46px; border: 1px solid var(--svx-line); border-radius: 8px; background-color: var(--svx-soft); color: var(--svx-ink); font: inherit; font-size: 14px; outline: none; -webkit-appearance: none; appearance: none; transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease; }
  .svx-search input { padding: 0 16px 0 44px; }
  .svx-search input::placeholder { color: #94a3b8; }
  .svx-select { flex: 0 0 250px; width: 250px; padding: 0 40px 0 14px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2364748b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
  .svx-search input:focus,
  .svx-select:focus { border-color: var(--svx-navy); background-color: #fff; box-shadow: 0 0 0 3px rgba(35, 56, 98, .12); }
  .svx-count { flex: 0 0 auto; padding: 0 8px; color: var(--svx-muted); font-size: 13px; white-space: nowrap; }
  .svx-count strong { color: var(--svx-navy); font-weight: 700; }

  /* =============== Grid =============== */
  .svx-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }

  /* =============== Card =============== */
  .svx-card { position: relative; display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid var(--svx-line); border-radius: 14px; overflow: hidden; cursor: pointer; transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease; }
  .svx-card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--svx-navy), var(--svx-orange)); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
  .svx-card:hover { border-color: #cbd5e1; box-shadow: 0 20px 40px -24px rgba(35, 56, 98, .45); transform: translateY(-3px); }
  .svx-card:hover::after { transform: scaleX(1); }

  .svx-media { display: flex; align-items: center; justify-content: center; height: 150px; padding: 24px; background: #fff; border-bottom: 1px solid var(--svx-line-soft); }
  .svx-media-inner { display: flex; align-items: center; justify-content: center; width: 100%; max-width: 200px; height: 100%; }
  .svx-media-inner img { display: block; width: 100%; height: 100%; object-fit: contain; }
  .svx-initials { display: flex; align-items: center; justify-content: center; width: 84px; height: 84px; max-width: 100%; max-height: 100%; border-radius: 14px; background: var(--svx-navy-50); color: var(--svx-navy); font-size: 26px; font-weight: 800; letter-spacing: .03em; }

  .svx-body { display: flex; flex-direction: column; gap: 8px; flex: 1 1 auto; padding: 18px 20px 16px; }
  .svx-stall { display: flex; align-items: center; gap: 7px; min-height: 18px; color: var(--svx-orange-ink); font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
  .svx-stall .svx-i { color: var(--svx-orange); font-size: 14px; }
  .svx-name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; min-height: 2.8em; color: var(--svx-navy); font-size: 15px; font-weight: 700; line-height: 1.4; letter-spacing: .01em; text-transform: uppercase; }
  .svx-cat { display: flex; align-items: center; gap: 7px; min-height: 20px; color: var(--svx-muted); font-size: 13px; font-weight: 500; }
  .svx-cat .svx-i { color: #94a3b8; font-size: 13px; }
  .svx-cat span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .svx-snip { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; min-height: 3.1em; margin-top: 4px !important; color: var(--svx-text); font-size: 13px; line-height: 1.55; }
  .svx-snip strong { color: var(--svx-ink); font-weight: 600; }
  .svx-stall.is-empty, .svx-cat.is-empty { visibility: hidden; }

  .svx-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px 12px 20px; border-top: 1px solid var(--svx-line-soft); }
  .svx-quick { display: flex; gap: 8px; }
  .svx-qbtn { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 1px solid var(--svx-line); border-radius: 50%; background: #fff; color: var(--svx-navy); font-size: 13px; text-decoration: none; transition: background .2s ease, color .2s ease, border-color .2s ease; }
  .svx-qbtn .svx-i { font-size: 15px; }
  .svx-qbtn:hover { background: var(--svx-navy); border-color: var(--svx-navy); color: #fff; }
  .svx-view { display: inline-flex; align-items: center; gap: 7px; padding: 8px 0; border: 0; background: none; color: var(--svx-navy); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; }
  .svx-view .svx-i { font-size: 15px; transition: transform .2s ease; }
  .svx-card:hover .svx-view { color: var(--svx-orange-ink); }
  .svx-card:hover .svx-view .svx-i { transform: translateX(3px); }

  /* =============== Load more / empty =============== */
  .svx-more-wrap { display: flex; justify-content: center; margin-top: 36px; }
  .svx-more { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 26px; border: 1px solid var(--svx-navy); border-radius: 8px; background: #fff; color: var(--svx-navy); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .2s ease, color .2s ease; }
  .svx-more:hover { background: var(--svx-navy); color: #fff; }
  .svx-more .svx-i { font-size: 15px; }
  .svx-more small { font-size: 12px; font-weight: 500; opacity: .75; }

  .svx-empty { padding: 64px 24px; text-align: center; background: #fff; border: 1px dashed #cbd5e1; border-radius: 14px; }
  .svx-empty-ico { display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; margin: 0 auto 18px; border-radius: 50%; background: var(--svx-navy-50); color: var(--svx-navy); font-size: 22px; }
  .svx-empty-ico .svx-i { font-size: 26px; }
  .svx-empty h3 { margin-bottom: 6px; color: var(--svx-navy); font-size: 19px; font-weight: 700; }
  .svx-empty p { max-width: 440px; margin: 0 auto 22px; color: var(--svx-muted); font-size: 14px; line-height: 1.6; }

  /* =============== Details popup =============== */
  .svx-modal { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 24px; }
  .svx-overlay { position: absolute; inset: 0; background: rgba(15, 23, 42, .6); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
  .svx-dialog { position: relative; display: flex; flex-direction: column; width: 100%; max-width: 900px; max-height: calc(100vh - 48px); background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 80px -20px rgba(15, 23, 42, .55); animation: svxPop .25s ease; }
  @keyframes svxPop { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }

  .svx-dhead { position: relative; display: flex; align-items: center; gap: 20px; padding: 26px 72px 26px 28px; background: var(--svx-navy); border-bottom: 3px solid var(--svx-orange); }
  .svx-dlogo { display: flex; align-items: center; justify-content: center; flex: 0 0 92px; width: 92px; height: 92px; padding: 10px; border-radius: 12px; background: #fff; }
  .svx-dlogo img { display: block; width: 100%; height: 100%; object-fit: contain; }
  .svx-dlogo .svx-initials { width: 100%; height: 100%; border-radius: 8px; font-size: 24px; }
  .svx-dhead-text { min-width: 0; }
  .svx-dmeta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
  .svx-dstall .svx-i { font-size: 14px; }
  .svx-dstall,
  .svx-dcat { display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px; border-radius: 999px; font-size: 11.5px; line-height: 1.5; }
  .svx-dstall { background: var(--svx-orange); color: var(--svx-navy); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
  .svx-dcat { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); color: #fff; font-weight: 500; }
  .svx-dtitle { color: #fff; font-size: 22px; font-weight: 700; line-height: 1.3; letter-spacing: .01em; text-transform: uppercase; overflow-wrap: anywhere; }
  .svx-close { position: absolute; top: 18px; right: 18px; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 17px; cursor: pointer; transition: background .2s ease; }
  .svx-close .svx-i { font-size: 20px; stroke-width: 2.2; }
  .svx-close:hover { background: rgba(255, 255, 255, .24); }

  .svx-dbody { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 36px; padding: 28px; overflow-y: auto; overscroll-behavior: contain; }
  .svx-dbody.is-single { grid-template-columns: minmax(0, 1fr); }
  .svx-h4 { display: flex; align-items: center; gap: 10px; margin-bottom: 16px !important; padding-bottom: 12px; border-bottom: 1px solid var(--svx-line); color: var(--svx-navy); font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
  .svx-h4::before { content: ""; width: 4px; height: 14px; border-radius: 2px; background: var(--svx-orange); }
  .svx-dsec + .svx-dsec { margin-top: 28px; }

  .svx-dl { display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 0; list-style: none; }
  .svx-dl li { display: flex; align-items: flex-start; gap: 14px; min-width: 0; }
  .svx-ico { display: flex; align-items: center; justify-content: center; flex: 0 0 36px; width: 36px; height: 36px; border-radius: 9px; background: var(--svx-orange-50); color: var(--svx-orange); font-size: 14px; }
  .svx-ico .svx-i { font-size: 17px; }
  .svx-detail { min-width: 0; padding-top: 1px; }
  .svx-k { display: block; margin-bottom: 2px; color: var(--svx-muted); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
  .svx-v { display: flex; flex-wrap: wrap; gap: 2px 14px; color: var(--svx-ink); font-size: 14.5px; line-height: 1.5; overflow-wrap: anywhere; }
  .svx-v a { color: var(--svx-navy); font-weight: 600; text-decoration: none; }
  .svx-v a:hover { color: var(--svx-orange-ink); text-decoration: underline; }
  .svx-none { color: var(--svx-muted); font-size: 14px; }

  .svx-dabout { color: var(--svx-text); font-size: 14.5px; line-height: 1.75; white-space: pre-line; }
  .svx-chips { display: flex; flex-wrap: wrap; gap: 8px; }
  .svx-chip { display: inline-block; padding: 6px 12px; border: 1px solid var(--svx-line); border-radius: 6px; background: var(--svx-soft); color: var(--svx-ink); font-size: 13px; font-weight: 500; line-height: 1.4; }

  .svx-dfoot { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 28px; background: var(--svx-soft); border-top: 1px solid var(--svx-line); }
  .svx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border: 1px solid var(--svx-line); border-radius: 8px; background: #fff; color: var(--svx-navy); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: border-color .2s ease, background .2s ease, color .2s ease; }
  .svx-btn:hover { border-color: var(--svx-navy); }
  .svx-btn .svx-i { font-size: 16px; }
  .svx-btn--primary { background: var(--svx-navy); border-color: var(--svx-navy); color: #fff; }
  .svx-btn--primary:hover { background: var(--svx-orange); border-color: var(--svx-orange); color: var(--svx-navy); }

  /* Focus */
  .svx a:focus-visible,
  .svx button:focus-visible { outline: 2px solid var(--svx-orange); outline-offset: 2px; }

  /* =============== Responsive =============== */
  /* Laptop */
  @media (max-width: 1279px) {
    .svx-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  }
  /* Tablet */
  @media (max-width: 1023px) {
    .svx { padding: 72px 0; }
    .svx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
    .svx-toolbar { flex-wrap: wrap; }
    .svx-search { flex: 1 1 100%; }
    .svx-select { flex: 1 1 auto; width: auto; }
  }
  @media (max-width: 760px) {
    .svx-dbody { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  }
  /* Mobile */
  @media (max-width: 639px) {
    .svx { padding: 56px 0; }
    .svx-wrap { padding: 0 16px; }
    .svx-head { margin-bottom: 24px; }
    .svx-cta { width: 100%; }
    .svx-toolbar { gap: 10px; padding: 10px; margin-bottom: 20px; }
    .svx-select { flex: 1 1 100%; }
    .svx-count { width: 100%; padding: 0 4px; }

    /* compact horizontal card */
    .svx-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .svx-card { display: grid; grid-template-columns: 96px minmax(0, 1fr); grid-template-areas: "media body" "foot foot"; border-radius: 12px; }
    .svx-card:hover { transform: none; }
    .svx-media { grid-area: media; align-items: flex-start; height: auto; padding: 16px 0 0 16px; border-bottom: 0; }
    .svx-media-inner { width: 80px; height: 80px; padding: 8px; border: 1px solid var(--svx-line); border-radius: 12px; }
    .svx-initials { font-size: 20px; border-radius: 8px; }
    .svx-body { grid-area: body; gap: 5px; padding: 16px 16px 14px 14px; }
    .svx-stall, .svx-name, .svx-cat, .svx-snip { min-height: 0; }
    .svx-stall.is-empty, .svx-cat.is-empty { display: none; }
    .svx-name { font-size: 14.5px; }
    .svx-snip { margin-top: 2px !important; font-size: 12.5px; }
    .svx-foot { grid-area: foot; padding: 10px 16px; }

    /* popup becomes a bottom sheet */
    .svx-modal { align-items: flex-end; padding: 0; }
    .svx-dialog { max-width: none; max-height: 92vh; border-radius: 18px 18px 0 0; animation-name: svxSheet; }
    @keyframes svxSheet { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
    .svx-dhead { gap: 14px; padding: 20px 60px 20px 18px; }
    .svx-dlogo { flex-basis: 68px; width: 68px; height: 68px; padding: 7px; border-radius: 10px; }
    .svx-dlogo .svx-initials { font-size: 19px; }
    .svx-dtitle { font-size: 17px; }
    .svx-close { top: 14px; right: 14px; width: 36px; height: 36px; font-size: 15px; }
    .svx-dbody { padding: 22px 18px; gap: 26px; }
    .svx-dfoot { padding: 12px 16px; gap: 8px; }
    .svx-btn { flex: 1 1 0; padding: 0 10px; }
    .svx-hide-sm { display: none; }
  }
  @media (prefers-reduced-motion: reduce) {
    .svx-card, .svx-card::after, .svx-view .svx-i { transition: none; }
    .svx-card:hover { transform: none; }
    .svx-dialog { animation: none; }
  }

/* ---------- Featured partners popup ---------- */
    :root {
        --vd-blue: #004080;
        --vd-gold: #ffcc00;
        --vd-text-main: #333333;
        --vd-text-muted: #666666;
        --vd-bg-card: #ffffff;
        --vd-bg-body: #f4f7f6;
    }

    .vd-popup-overlay {
        position: fixed;
        top: 0; left: 0; width: 100%; height: 100%;
        background-color: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(4px); 
        z-index: 9999;
        display: none; 
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
        padding: 15px; 
        box-sizing: border-box;
    }
    
    .vd-popup-overlay.show {
        display: flex;
        opacity: 1;
    }
    
    .vd-popup-box {
        background: var(--vd-bg-card);
        width: 100%;
        max-width: 850px;
        max-height: 90vh; 
        overflow-y: auto; 
        border-radius: 12px;
        position: relative;
        padding: 40px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.2);
        transform: translateY(20px) scale(0.95);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-top: 6px solid var(--vd-blue);
        box-sizing: border-box;
    }

    /* Custom Scrollbar for professional look */
    .vd-popup-box::-webkit-scrollbar {
        width: 8px;
    }
    .vd-popup-box::-webkit-scrollbar-track {
        background: #f1f1f1; 
        border-radius: 10px;
    }
    .vd-popup-box::-webkit-scrollbar-thumb {
        background: var(--vd-blue); 
        border-radius: 10px;
    }
    .vd-popup-box::-webkit-scrollbar-thumb:hover {
        background: var(--vd-gold); 
    }
    
    .vd-popup-overlay.show .vd-popup-box {
        transform: translateY(0) scale(1);
    }
    
    .vd-popup-close {
        position: absolute;
        top: 20px; right: 20px;
        background: #f1f1f1;
        border: none;
        font-size: 22px;
        width: 40px; height: 40px;
        border-radius: 50%;
        cursor: pointer;
        color: var(--vd-text-main);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s ease;
        z-index: 2;
    }
    
    .vd-popup-close:hover {
        background: var(--vd-gold);
        color: var(--vd-blue);
        transform: rotate(90deg);
    }
    
    .vd-popup-header {
        text-align: center;
        margin-bottom: 30px;
        padding-right: 30px; 
    }

    .vd-popup-header h2 {
        color: var(--vd-blue);
        font-weight: 700;
        margin: 0 0 8px 0;
        font-size: 28px;
    }

    .vd-popup-header p {
        color: var(--vd-text-muted);
        margin: 0;
        font-size: 16px;
    }

    .vd-company-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }
    
    .vd-company-card {
        background: var(--vd-bg-body);
        border: 1px solid #e2e8f0;
        border-radius: 10px;
        padding: 25px;
        display: flex;
        flex-direction: column;
        transition: box-shadow 0.3s ease, transform 0.3s ease;
    }
    
    .vd-company-card:hover {
        box-shadow: 0 8px 20px rgba(0, 64, 128, 0.1);
        transform: translateY(-5px);
        border-color: #cbd5e1;
    }
    
    .vd-company-info {
        display: flex;
        align-items: center;
        margin-bottom: 15px;
    }
    
    .vd-company-info img {
        width: 65px; height: 65px;
        border-radius: 50%;
        object-fit: contain;
        margin-right: 15px;
        border: 2px solid var(--vd-blue);
        background-color: #fff;
        padding: 5px; 
        flex-shrink: 0; 
    }
    
    .vd-company-details .vd-company-name {
        margin: 0 0 4px 0;
        font-size: 18px;
        color: var(--vd-text-main);
        font-weight: 600;
    }
    
    .vd-company-details span {
        font-size: 13px;
        color: var(--vd-text-muted);
        text-transform: uppercase;
        letter-spacing: 0.5px;
        font-weight: 500;
    }
    
    .vd-company-card p {
        font-size: 14px;
        color: var(--vd-text-muted);
        line-height: 1.6;
        margin: 0 0 20px 0;
        flex-grow: 1; 
    }
    
    .vd-company-btn {
        display: block;
        text-align: center;
        background-color: var(--vd-blue);
        color: #ffffff;
        padding: 12px;
        border-radius: 6px;
        text-decoration: none;
        font-weight: 600;
        font-size: 14px;
        transition: all 0.3s ease;
    }
    
    .vd-company-btn:hover {
        background-color: var(--vd-gold);
        color: var(--vd-blue);
        text-decoration: none;
    }

    /* 📱 RESPONSIVE MEDIA QUERIES */
    @media (max-width: 768px) {
        .vd-popup-box {
            padding: 30px 20px 20px 20px; 
        }
        .vd-company-grid {
            grid-template-columns: 1fr; 
            gap: 15px;
        }
        .vd-popup-header h2 {
            font-size: 24px;
        }
        .vd-popup-close {
            top: 15px; 
            right: 15px;
            width: 35px; 
            height: 35px;
            font-size: 20px;
        }
        .vd-company-card {
            padding: 20px;
        }
    }

    @media (max-width: 480px) {
        .vd-popup-header h2 {
            font-size: 20px;
        }
        .vd-popup-header p {
            font-size: 14px;
        }
        .vd-company-info img {
            width: 55px; height: 55px; 
        }
        .vd-company-details .vd-company-name {
            font-size: 16px;
        }
        .vd-popup-header {
            padding-right: 0;
            margin-top: 15px; 
        }
    }
