/* Vörösmarty – Kiállítók: only what UIkit / YOOtheme can't do on their own */

/* Category colour markers (filter + card meta + panel) */
.vcx-ex-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 8px;
    vertical-align: 1px;
    flex: none;
}
.vcx-ex-dot-all { background: #d9b45a; }
.vcx-ex-count { margin-left: 6px; opacity: .6; font-variant-numeric: tabular-nums; }

.vcx-ex-cat::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 6px;
    vertical-align: 1px;
    background: var(--vcx-dot, #8a8481);
}

/* Sticky filter bar background while stuck */
.vcx-ex-sticky.vcx-ex-sticky-active {
    padding-top: 12px;
    padding-bottom: 12px;
    background: rgba(243, 242, 242, .96);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}
.vcx-ex-sticky .uk-margin { margin-bottom: 0; }

/* Monogram for exhibitors without a photo */
.vcx-ex-placeholder {
    background: #0f3b2a;
    color: #d9b45a;
    font-weight: 800;
    font-size: 36px;
    line-height: 1;
}

/* "+" marker in the bottom right corner of the card image */
.vcx-ex-plus {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #201e1d;
    pointer-events: none;
    transition: background-color .2s, color .2s;
}
.vcx-ex-cell :is(a:hover, .uk-link-toggle:hover) .vcx-ex-plus,
.vcx-ex-cell a:hover + * .vcx-ex-plus,
.vcx-ex-media:hover .vcx-ex-plus { background: #c8102e; color: #fff; }

/* ---------- Off-canvas panel: light panel like the original design ---------- */
.vcx-ex-oc .uk-offcanvas-bar {
    background: #fff;
    color: #444141;
    box-shadow: -24px 0 60px rgba(0, 0, 0, .25);
}
.vcx-ex-oc .uk-offcanvas-bar :is(h1, h2, h3, h4, h5, h6, .uk-h1, .uk-h2, .uk-h3, .uk-h4, .uk-h5, .uk-h6) { color: #201e1d; }
.vcx-ex-oc .uk-offcanvas-bar .uk-text-meta { color: #605d5d; }
.vcx-ex-oc .uk-offcanvas-bar a:not(.uk-button):not(.uk-icon-button) { color: #ae1800; }

.vcx-ex-oc .vcx-ex-oc-media { flex: none; background: #0f3b2a; }
.vcx-ex-oc .vcx-ex-oc-media.vcx-ex-placeholder { aspect-ratio: 4 / 3; font-size: 64px; }
.vcx-ex-oc .uk-dotnav > * > * { border-color: transparent; background: rgba(255, 255, 255, .6); }
.vcx-ex-oc .uk-dotnav > .uk-active > * { background: #fff; }
.vcx-ex-oc .uk-slidenav { color: rgba(255, 255, 255, .85); }

.vcx-ex-oc .vcx-ex-oc-close {
    z-index: 2;
    top: 14px;
    right: 14px;
    width: 44px;
    height: 44px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #201e1d;
}
.vcx-ex-oc .vcx-ex-oc-close:hover { background: #c8102e; color: #fff; }

.vcx-ex-oc .vcx-ex-stand {
    padding: 6px 12px;
    background: #0f3b2a;
    color: #f6efe2;
    font-weight: 800;
}
.vcx-ex-oc .vcx-ex-stand span { color: #d9b45a; }
.vcx-ex-oc .vcx-ex-oc-nav { padding-top: 24px; }
.vcx-ex-oc .uk-icon-button { background: #f3f2f2; color: #201e1d; border-radius: 0; }
.vcx-ex-oc .uk-icon-button:hover { background: #ffe0d9; color: #201e1d; }

/* Buttons inside the (normally inverse) off-canvas bar */
.vcx-ex-oc .uk-offcanvas-bar .uk-button-primary { background: #c8102e; color: #fff; border-color: transparent; }
.vcx-ex-oc .uk-offcanvas-bar .uk-button-primary:hover { background: #a00d24; color: #fff; }
.vcx-ex-oc .uk-offcanvas-bar .uk-button-secondary { background: #201e1d; color: #fff; border-color: transparent; }
.vcx-ex-oc .uk-offcanvas-bar .uk-button-secondary:hover { background: #000; color: #fff; }

/* ---------- Logószalag ---------- */
.vcx-mq {
    overflow: hidden;
    min-width: 0;
}
.vcx-mq-fade {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.vcx-mq-track {
    display: flex;
    width: max-content;
    animation: vcx-mq var(--vcx-mq-speed, 36s) linear infinite;
}
.vcx-mq-right .vcx-mq-track { animation-direction: reverse; }
/* pause only where a real mouse hovers: on touch screens a tap would leave it stuck in :hover */
@media (hover: hover) and (pointer: fine) {
    .vcx-mq-pause:hover .vcx-mq-track { animation-play-state: paused; }
}
.vcx-mq-group { display: flex; flex: none; }
.vcx-mq-item {
    flex: none;
    height: var(--vcx-mq-height, 64px);
    margin-right: var(--vcx-mq-gap, 48px);
}
.vcx-mq .vcx-mq-item img,
.vcx-mq .vcx-mq-item img.el-image {
    display: block;
    flex: none;
    /* !important: theme / UIkit image rules and the width/height attributes must not change the logo size */
    height: var(--vcx-mq-logo-own, var(--vcx-mq-logo, 40px)) !important;
    max-height: var(--vcx-mq-height, 64px) !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0;
    object-fit: contain;
}
.vcx-mq .vcx-mq-item .el-link { height: 100%; }
/* one group = one step, so the loop is seamless however many copies there are */
@keyframes vcx-mq { to { transform: translateX(calc(-100% / var(--vcx-mq-groups, 2))); } }
/* "Reduce motion" on: the logos keep moving at the same speed (the client wants the strip to run everywhere) */

/* ---------- Füzér ---------- */
.vcx-garland { pointer-events: none; }
.vcx-garland svg { display: block; width: 100%; height: auto; overflow: visible; }
/* reaches into the container padding, like the original */
.vcx-garland-bleed { margin-left: calc(-1 * clamp(20px, 4vw, 56px)); margin-right: calc(-1 * clamp(20px, 4vw, 56px)); }
.vcx-garland-line { fill: none; stroke: var(--vcx-garland-line, #0f3b2a); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 0; }
.vcx-garland-hook { fill: var(--vcx-garland-line, #0f3b2a); }
.vcx-garland-string { stroke: var(--vcx-garland-line, #0f3b2a); stroke-width: 2; }
.vcx-garland-draw .vcx-garland-line { stroke-dashoffset: 1; }
.vcx-garland-draw.vcx-garland-drawn .vcx-garland-line { stroke-dashoffset: 0; transition: stroke-dashoffset 1.8s cubic-bezier(.2, .7, .2, 1); }
.vcx-garland-swing .vcx-garland-ornament { animation-name: vcx-garland-swing; animation-timing-function: ease-in-out; animation-iteration-count: infinite; }
@keyframes vcx-garland-swing { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
@media (prefers-reduced-motion: reduce) {
    .vcx-garland .vcx-garland-ornament { animation: none; }
    .vcx-garland-draw .vcx-garland-line { stroke-dashoffset: 0; transition: none; }
}

/* Kiemelt napok: UIkit cards; only the extras UIkit has no class for */
.vcx-days .vcx-day-date { flex: none; max-width: 100%; }
.vcx-days .vcx-day-time { font-variant-numeric: tabular-nums; white-space: nowrap; }
.vcx-days .el-meta { line-height: 1; }
.vcx-days-hover .el-item { transition: transform .3s; }
.vcx-days-hover .el-item:hover { transform: translateX(6px); }
.vcx-list-diamond > li { position: relative; padding-left: 18px; }
.vcx-list-diamond > li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; background: var(--vcx-diamond, #d9b45a); transform: rotate(45deg); }
@media (prefers-reduced-motion: reduce) { .vcx-days-hover .el-item { transition: none; } }

/* Tematikus hetek: UIkit cards; only the extras UIkit has no class for */
.vcx-weeks .vcx-week-num { min-width: 72px; letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.vcx-weeks .vcx-week-date { min-width: 130px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.vcx-weeks .el-number, .vcx-weeks .el-meta { color: inherit; }
.vcx-weeks .el-meta { opacity: .85; }
.vcx-weeks .el-title { line-height: 1.05; overflow-wrap: anywhere; hyphens: auto; }
.uk-label.vcx-label-gold, .uk-light .uk-label.vcx-label-gold, .uk-card-primary .uk-label.vcx-label-gold, .uk-card-secondary .uk-label.vcx-label-gold { background: #d9b45a; color: #201e1d; font-weight: 800; letter-spacing: .1em; }
.vcx-weeks .el-badge[hidden] { display: none; }

/* Képrács: CSS grid mosaic, the rest is UIkit (inline-clip, cover, transition, overlay, icon) */
.vcx-ph { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--vcx-ph-min, 260px)), 1fr)); grid-auto-rows: var(--vcx-ph-row, 260px); grid-auto-flow: dense; gap: var(--vcx-ph-gap, 16px); }
.vcx-ph > .el-item { background: #201e1d; min-height: 0; }
.vcx-ph .el-image { transition-duration: 1.2s; transition-timing-function: cubic-bezier(.2, .7, .2, 1); }
.vcx-ph-overlay { gap: 12px; padding: clamp(14px, 1.6vw, 20px); background: linear-gradient(0deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0)); pointer-events: none; }
.vcx-ph-overlay .el-title { color: #fff; font-size: 15px; letter-spacing: .01em; }
.vcx-ph-plus { flex: none; width: 32px; height: 32px; background: #c8102e; color: #fff; transition: background .3s; }
.vcx-ph > .el-item:hover .vcx-ph-plus { background: #a00d24; }
@media (max-width: 639px) { .vcx-ph > .el-item { grid-column: auto !important; } }

/* ── Advent galéria (Advent Bazilika) ───────────────────────────────────────── */
.vcx-ag { --vcx-ag-gold: 226, 194, 122; --vcx-ag-cream: #f6f0e4; display: grid; grid-template-columns: repeat(var(--vcx-ag-cols, 4), minmax(0, 1fr)); grid-auto-rows: var(--vcx-ag-row, clamp(150px, 16vw, 240px)); grid-auto-flow: dense; gap: var(--vcx-ag-gap, 16px); }
@media (max-width: 959px) { .vcx-ag { grid-template-columns: repeat(var(--vcx-ag-cols-m, 3), minmax(0, 1fr)); } }
@media (max-width: 639px) { .vcx-ag { grid-template-columns: repeat(var(--vcx-ag-cols-s, 2), minmax(0, 1fr)); } .vcx-ag-s1 > .el-item { grid-column: auto !important; grid-row: auto !important; } }
.vcx-ag > .el-item { position: relative; display: block; min-width: 0; min-height: 0; cursor: zoom-in; color: inherit; text-decoration: none; }
.vcx-ag > div.el-item { cursor: default; }
.vcx-ag-plate { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; background: #2b2d31; transition: transform .5s cubic-bezier(.2, .7, .2, 1), box-shadow .5s; }
.vcx-ag-frame .vcx-ag-plate { box-sizing: border-box; border: 6px solid #fff; outline: 1px solid #e3e4e6; }
.vcx-ag .el-image { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.vcx-ag-tone .el-image { filter: sepia(.22) saturate(.82) contrast(1.05); }
.vcx-ag .vcx-ag-focus-top { object-position: center top; }
.vcx-ag .vcx-ag-focus-bottom { object-position: center bottom; }
.vcx-ag .vcx-ag-focus-left { object-position: left center; }
.vcx-ag .vcx-ag-focus-right { object-position: right center; }
.vcx-ag-overlay { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 16px; color: var(--vcx-ag-cream); background: linear-gradient(180deg, transparent 50%, rgba(22, 24, 28, .72)); opacity: 0; transition: opacity .4s; pointer-events: none; }
.vcx-ag[data-vcx-ag-glow] .vcx-ag-overlay { background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(var(--vcx-ag-gold), .3), transparent 45%), linear-gradient(180deg, transparent 50%, rgba(22, 24, 28, .72)); }
.vcx-ag-number { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 22px; font-variant-numeric: tabular-nums; line-height: 1; }
.vcx-ag-label { margin-left: auto; font-size: 12.6px; letter-spacing: .2em; text-transform: uppercase; line-height: 1; }
.vcx-ag > .el-item:hover .vcx-ag-plate, .vcx-ag > .el-item:focus-visible .vcx-ag-plate { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(36, 38, 42, .18); }
.vcx-ag > .el-item:hover .vcx-ag-overlay, .vcx-ag > .el-item:focus-visible .vcx-ag-overlay { opacity: 1; }
.vcx-ag-zoom > .el-item:hover .el-image, .vcx-ag-zoom > .el-item:focus-visible .el-image { transform: scale(1.06); }
.vcx-ag > .el-item:focus-visible { outline: 2px solid #b8892f; outline-offset: 3px; }
@media (hover: none) { .vcx-ag-overlay { opacity: 1; background: linear-gradient(180deg, transparent 60%, rgba(22, 24, 28, .6)); } .vcx-ag-label { display: none; } }
@media (prefers-reduced-motion: reduce) { .vcx-ag-plate, .vcx-ag .el-image, .vcx-ag-overlay { transition: none; } .vcx-ag > .el-item:hover .vcx-ag-plate { transform: none; } .vcx-ag-zoom > .el-item:hover .el-image { transform: none; } }
