:root {
    --sf-red: #d31832;
    --sf-red-deep: #9f1125;
    --sf-ink: #11131a;
    --sf-muted: #5f6875;
    --sf-line: rgba(17, 19, 26, .12);
    --sf-paper: #ffffff;
    --sf-black: #08080b;
    --sf-panel: #15161b;
    --sf-shadow: 0 26px 70px rgba(0, 0, 0, .34);
}

html.stageflow-lock-scroll,
body.stageflow-lock-scroll {
    overflow: hidden !important;
}

.stageflow-concerts-widget,
.stageflow-month-archive,
.stageflow-single {
    font-family: inherit;
    box-sizing: border-box;
}

.stageflow-concerts-widget *,
.stageflow-month-archive *,
.stageflow-lightbox *,
.stageflow-single *,
.stageflow-concerts-widget *::before,
.stageflow-concerts-widget *::after,
.stageflow-lightbox *::before,
.stageflow-lightbox *::after {
    box-sizing: border-box;
}

/* =========================================================
   PORTADAS DE MESES / HOME
========================================================= */
.stageflow-month-carousel-shell {
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.stageflow-months-carousel {
    --sf-month-gap: 24px;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, calc((100% - (var(--sf-month-gap) * 3)) / 4));
    gap: var(--sf-month-gap);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 8px 0 26px;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
}
.stageflow-months-carousel::-webkit-scrollbar { display: none; }

.stageflow-month-card {
    position: relative;
    min-width: 0;
    width: 100%;
    height: 500px;
    overflow: hidden;
    background: var(--sf-black);
    scroll-snap-align: start;
    box-shadow: none;
}
.stageflow-month-card::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    height: 4px;
    background: var(--sf-red);
}
.stageflow-month-link {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    color: #fff;
    text-decoration: none;
    overflow: hidden;
}
.stageflow-month-bg {
    position: absolute;
    inset: 0;
    margin: 0;
    background: #101116;
}
.stageflow-month-bg img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center top;
    filter: saturate(1.03) contrast(1.04);
    transition: transform .45s ease, filter .45s ease;
}
.stageflow-month-link:hover .stageflow-month-bg img {
    transform: scale(1.035);
    filter: saturate(1.1) contrast(1.07);
}
.stageflow-month-bg-auto {
    background:
        radial-gradient(circle at 28% 18%, rgba(211, 24, 50, .72), transparent 34%),
        linear-gradient(145deg, #15161c 0%, #260711 58%, #050506 100%);
}
.stageflow-month-shade {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(180deg, rgba(0,0,0,.02) 0%, rgba(0,0,0,.12) 35%, rgba(0,0,0,.9) 100%),
        linear-gradient(90deg, rgba(0,0,0,.18), transparent 58%);
}
.stageflow-month-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    padding: 22px 22px 26px;
}
.stageflow-month-kicker,
.stageflow-archive-kicker,
.stageflow-lightbox-kicker {
    display: inline-block;
    margin-bottom: 9px;
    color: var(--sf-red);
    font-size: 10.5px;
    line-height: 1;
    font-weight: 820;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.stageflow-month-title {
    max-width: 96%;
    margin: 0 0 10px;
    color: #fff;
    font-size: clamp(24px, 2.2vw, 31px);
    line-height: .98;
    font-weight: 780;
    text-transform: uppercase;
    letter-spacing: -.035em;
    text-shadow: 0 4px 14px rgba(0,0,0,.58);
}
.stageflow-month-count {
    color: rgba(255,255,255,.92);
    font-size: 13.5px;
    line-height: 1.2;
    font-weight: 760;
}
.stageflow-carousel-nav {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 0;
}
.stageflow-carousel-arrow {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(17, 19, 26, .16);
    background: #111217;
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.stageflow-carousel-arrow:hover {
    background: var(--sf-red);
    border-color: var(--sf-red);
    transform: translateY(-1px);
}

/* =========================================================
   ARCHIVO MENSUAL
========================================================= */
.stageflow-month-archive {
    padding: 58px 0 76px;
    background: #090a0d;
    color: #fff;
    min-height: 72vh;
}
.stageflow-archive-header {
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto 30px;
}
.stageflow-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
    color: rgba(255,255,255,.78);
    text-decoration: none;
    font-size: 14px;
    font-weight: 760;
}
.stageflow-archive-header h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(36px, 5vw, 64px);
    line-height: .96;
    font-weight: 800;
    letter-spacing: -.05em;
    text-transform: uppercase;
}
.stageflow-events-frame {
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
}
.stageflow-event-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

/* =========================================================
   TARJETAS DE CONCIERTOS: referencia CurlyThemes
========================================================= */
.stageflow-event-card {
    min-width: 0;
    overflow: hidden;
    background: var(--sf-paper);
    color: var(--sf-ink);
    box-shadow: 0 18px 34px rgba(0,0,0,.18);
}
.stageflow-event-link {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    color: inherit;
    text-decoration: none;
}
.stageflow-event-media {
    margin: 0;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #111;
}
.stageflow-event-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center top;
    transition: transform .35s ease, filter .35s ease;
}
.stageflow-event-card:hover .stageflow-event-media img {
    transform: scale(1.035);
    filter: contrast(1.04) saturate(1.04);
}
.stageflow-event-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
}
.stageflow-event-body {
    flex: 1;
    padding: 19px 18px 17px;
}
.stageflow-event-title {
    margin: 0 0 12px;
    color: var(--sf-red);
    font-size: 18px;
    line-height: 1.26;
    font-weight: 720;
}
.stageflow-event-excerpt {
    margin: 0;
    color: #48505e;
    font-size: 14px;
    line-height: 1.55;
}
.stageflow-event-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 8px;
    margin-top: 18px;
    color: #5c6370;
    font-size: 12px;
}
.stageflow-event-footer {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--sf-line);
    color: #67707d;
    font-size: 13px;
    background: #fff;
}
.stageflow-event-foot-item {
    display: inline-flex;
    align-items: center;
    min-height: 52px;
    padding: 0 12px;
    gap: 7px;
    white-space: nowrap;
}
.stageflow-event-foot-item + .stageflow-event-foot-item {
    border-left: 1px solid var(--sf-line);
}
.stageflow-svg-icon {
    flex: 0 0 14px;
    width: 14px;
    height: 14px;
    display: inline-block;
    color: var(--sf-red);
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    vertical-align: -2px;
}

/* =========================================================
   PAGINACIÓN
========================================================= */
.stageflow-pagination {
    width: min(1160px, calc(100% - 32px));
    margin: 34px auto 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}
.stageflow-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 13px;
    border: 1px solid rgba(255,255,255,.18);
    background: #14151a;
    color: rgba(255,255,255,.84);
    text-decoration: none;
    font-size: 13px;
    font-weight: 760;
}
.stageflow-pagination .page-numbers.current,
.stageflow-pagination .page-numbers:hover {
    background: var(--sf-red);
    border-color: var(--sf-red);
    color: #fff;
}

/* =========================================================
   LIGHTBOX
========================================================= */
.stageflow-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
}
.stageflow-lightbox.is-active { display: block; }
.stageflow-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5,5,7,.84);
    backdrop-filter: blur(4px);
}
.stageflow-lightbox-panel {
    position: relative;
    z-index: 2;
    width: min(1040px, calc(100vw - 42px));
    max-height: calc(100vh - 42px);
    margin: 21px auto;
    overflow: auto;
    background: #fff;
    box-shadow: 0 38px 100px rgba(0,0,0,.48);
}
.stageflow-lightbox-close {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 7;
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    border: 0;
    border-radius: 0 !important;
    background: #08080b;
    color: #fff !important;
    font-size: 0 !important;
    line-height: 0 !important;
    text-indent: -9999px;
    overflow: hidden;
    cursor: pointer;
    display: grid;
    place-items: center;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}
.stageflow-lightbox-close::before,
.stageflow-lightbox-close::after {
    content: '';
    position: absolute;
    width: 19px;
    height: 2px;
    border-radius: 0;
    background: currentColor !important;
    left: 50%;
    top: 50%;
    transform-origin: center;
}
.stageflow-lightbox-close::before { transform: translate(-50%, -50%) rotate(45deg); }
.stageflow-lightbox-close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.stageflow-lightbox-inner {
    display: grid;
    grid-template-columns: minmax(300px, 500px) minmax(300px, 1fr);
    gap: 36px;
    padding: 38px 40px 34px;
    align-items: start;
}
.stageflow-lightbox-panel.poster-only {
    width: min(660px, calc(100vw - 42px));
}
.stageflow-lightbox-panel.poster-only .stageflow-lightbox-inner {
    display: block;
    padding: 34px;
}
.stageflow-lightbox-poster {
    margin: 0;
    align-self: start;
    background: #111;
}
.stageflow-lightbox-poster img {
    width: 100%;
    height: auto;
    max-height: calc(100vh - 118px);
    object-fit: contain;
    display: block;
}
.stageflow-lightbox-info {
    min-width: 0;
    padding-top: 8px;
}
.stageflow-lightbox-info h2 {
    max-width: 520px;
    margin: 0 0 17px;
    color: var(--sf-ink);
    font-size: clamp(30px, 3.2vw, 44px);
    line-height: 1.06;
    font-weight: 760;
    letter-spacing: -.035em;
}
.stageflow-lightbox-meta-list {
    display: grid;
    margin: 0 0 24px;
    color: #3f4653;
    font-size: 14px;
    font-weight: 730;
}
.stageflow-lightbox-meta-row {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(17, 19, 26, .09);
}
.stageflow-lightbox-meta-row:first-child {
    padding-top: 0;
}
.stageflow-lightbox-meta-row:last-child {
    border-bottom-color: rgba(17, 19, 26, .06);
}
.stageflow-lightbox-meta-row .stageflow-svg-icon {
    width: 15px;
    height: 15px;
    opacity: .86;
}
.stageflow-lightbox-desc {
    max-width: 540px;
    margin: 0;
    color: #3e4652;
    font-size: 15px;
    line-height: 1.72;
}
.stageflow-lightbox-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
    color: #5b6472;
    font-size: 12px;
}
.stageflow-lightbox-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 6px 10px;
    border: 1px solid rgba(17, 19, 26, .10);
    background: rgba(17, 19, 26, .035);
    font-weight: 760;
    line-height: 1;
}
.stageflow-ticket-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 24px;
    padding: 13px 22px;
    background: var(--sf-red);
    color: #fff;
    text-decoration: none;
    font-weight: 820;
    letter-spacing: .03em;
    text-transform: uppercase;
}

/* =========================================================
   SINGLE
========================================================= */
.stageflow-single {
    padding: 58px 18px;
    background: #0c0c0f;
}
.stageflow-single-wrap {
    width: min(1080px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(260px, 430px) minmax(0, 1fr);
    gap: 36px;
    background: #fff;
    padding: 34px;
}
.stageflow-single-poster img {
    width: 100%;
    height: auto;
    display: block;
}
.stageflow-single-info h1 {
    margin: 0 0 16px;
    color: var(--sf-ink);
    font-size: clamp(30px, 3.3vw, 46px);
    line-height: 1.06;
    font-weight: 780;
    letter-spacing: -.035em;
}
.stageflow-empty {
    width: min(1100px, calc(100% - 36px));
    margin: 30px auto;
    padding: 28px;
    border: 1px dashed rgba(255,255,255,.24);
    color: rgba(255,255,255,.72);
    text-align: center;
}

@media (max-width: 1080px) {
    .stageflow-months-carousel {
        grid-auto-columns: minmax(0, calc((100% - (var(--sf-month-gap) * 2)) / 3));
    }
    .stageflow-event-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    .stageflow-months-carousel {
        grid-auto-columns: minmax(0, calc((100% - var(--sf-month-gap)) / 2));
    }
    .stageflow-event-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stageflow-lightbox-inner,
    .stageflow-single-wrap { grid-template-columns: 1fr; }
    .stageflow-lightbox-info { padding-top: 0; }
}
@media (max-width: 640px) {
    .stageflow-month-carousel-shell,
    .stageflow-events-frame,
    .stageflow-archive-header { width: calc(100% - 24px); }
    .stageflow-months-carousel {
        --sf-month-gap: 16px;
        grid-auto-columns: minmax(285px, 86%);
    }
    .stageflow-month-card { height: 500px; }
    .stageflow-month-content { padding: 22px; }
    .stageflow-month-title { font-size: 30px; }
    .stageflow-event-grid { grid-template-columns: 1fr; }
    .stageflow-lightbox-panel { width: calc(100vw - 20px); margin: 10px auto; max-height: calc(100vh - 20px); }
    .stageflow-lightbox-inner { padding: 24px 18px 20px; gap: 20px; }
    .stageflow-lightbox-close { width: 44px; height: 44px; }
    .stageflow-lightbox-info h2 { font-size: 31px; }
}

/* =========================================================
   RMX v2.4: carrusel real, portada destacada y tarjetas mensuales
========================================================= */
.stageflow-month-carousel-shell {
    padding-bottom: 12px;
}
.stageflow-months-carousel {
    grid-auto-columns: minmax(0, calc((100% - (var(--sf-month-gap) * 3)) / 4));
    padding-bottom: 22px;
}
.stageflow-carousel-nav {
    justify-content: space-between;
    align-items: center;
    margin-top: 6px;
    pointer-events: none;
}
.stageflow-carousel-arrow {
    pointer-events: auto;
    width: 42px;
    height: 42px;
    border-color: rgba(255,255,255,.18);
    background: rgba(8,8,11,.62);
    color: rgba(255,255,255,.84);
}
.stageflow-carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
    min-height: 18px;
    margin-top: -30px;
    padding-bottom: 8px;
    position: relative;
    z-index: 3;
}
.stageflow-carousel-dot {
    width: 12px;
    height: 12px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.stageflow-carousel-dot.is-active {
    background: var(--sf-red);
    border-color: var(--sf-red);
    transform: scale(1.04);
}
.stageflow-event-card {
    display: flex;
    flex-direction: column;
}
.stageflow-event-link {
    height: 100%;
}
.stageflow-event-body {
    min-height: 118px;
}
.stageflow-event-title {
    display: -webkit-box;
    min-height: 46px;
    margin-bottom: 10px;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.stageflow-event-place {
    display: -webkit-box;
    min-height: 38px;
    margin: 0;
    overflow: hidden;
    color: #4f5663;
    font-size: 13.5px;
    line-height: 1.42;
    font-weight: 640;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.stageflow-event-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: auto;
}
.stageflow-event-foot-item {
    justify-content: center;
    min-width: 0;
    text-align: center;
    white-space: normal;
    line-height: 1.2;
}
.stageflow-event-foot-item .stageflow-svg-icon {
    flex: 0 0 14px;
}
.stageflow-pagination {
    align-items: center;
}
.stageflow-pagination .page-numbers {
    border-radius: 999px;
}

@media (min-width: 768px) {
    .stageflow-months-carousel {
        grid-auto-columns: minmax(0, calc((100% - (var(--sf-month-gap) * 3)) / 4));
    }
}
@media (max-width: 767px) {
    .stageflow-month-carousel-shell,
    .stageflow-events-frame,
    .stageflow-archive-header {
        width: calc(100% - 24px);
    }
    .stageflow-months-carousel {
        --sf-month-gap: 16px;
        grid-auto-columns: 100%;
    }
    .stageflow-carousel-dots {
        margin-top: -24px;
    }
}
@media (max-width: 1080px) and (min-width: 768px) {
    .stageflow-event-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 16px;
    }
}
@media (max-width: 900px) and (min-width: 768px) {
    .stageflow-event-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 14px;
    }
    .stageflow-event-title {
        font-size: 15px;
    }
    .stageflow-event-body {
        padding: 15px 13px 13px;
    }
    .stageflow-event-foot-item {
        padding: 0 8px;
        font-size: 11.5px;
    }
}
@media (max-width: 767px) {
    .stageflow-event-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   RMX v2.5: corrección obligatoria carrusel portada
   4 portadas visibles en escritorio/tablet, 1 en móvil.
   La quinta queda fuera del viewport y entra por carrusel.
========================================================= */
.stageflow-month-carousel-shell {
    width: min(1160px, calc(100% - 32px));
    max-width: 1160px;
    overflow: hidden;
}
.stageflow-months-carousel {
    --sf-month-gap: 24px;
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: var(--sf-month-gap);
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
}
.stageflow-months-carousel > .stageflow-month-card {
    flex: 0 0 calc((100% - (var(--sf-month-gap) * 3)) / 4) !important;
    width: calc((100% - (var(--sf-month-gap) * 3)) / 4) !important;
    max-width: calc((100% - (var(--sf-month-gap) * 3)) / 4) !important;
    min-width: 0 !important;
    scroll-snap-align: start;
}

@media (min-width: 768px) {
    .stageflow-months-carousel > .stageflow-month-card {
        flex-basis: calc((100% - (var(--sf-month-gap) * 3)) / 4) !important;
        width: calc((100% - (var(--sf-month-gap) * 3)) / 4) !important;
        max-width: calc((100% - (var(--sf-month-gap) * 3)) / 4) !important;
    }
}

@media (max-width: 767px) {
    .stageflow-month-carousel-shell {
        width: calc(100% - 24px);
    }
    .stageflow-months-carousel {
        --sf-month-gap: 16px;
    }
    .stageflow-months-carousel > .stageflow-month-card {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* =========================================================
   RMX v2.6: carrusel infinito y controles corregidos
   - Se mueve por índice con transform, no por scroll nativo.
   - Flechas y puntos solo aparecen cuando realmente hay elementos ocultos.
   - En escritorio/tablet se ven 4; en móvil se ve 1.
========================================================= */
.stageflow-month-carousel-shell {
    overflow: hidden !important;
}
.stageflow-months-carousel {
    overflow: visible !important;
    will-change: transform;
    transition: transform .48s cubic-bezier(.22, .72, .18, 1);
    transform: translate3d(0,0,0);
    touch-action: pan-y;
}
.stageflow-months-carousel.is-moving {
    transition-duration: .5s;
}
.stageflow-months-carousel > .stageflow-month-card {
    transition: transform .32s ease, filter .32s ease, opacity .32s ease;
}
.stageflow-months-carousel > .stageflow-month-card:hover {
    transform: translateY(-3px);
}
.stageflow-carousel-nav {
    width: 100%;
    max-width: 1160px;
    margin: 18px auto 0;
    padding: 0;
    pointer-events: none;
    position: relative;
    z-index: 4;
}
.stageflow-carousel-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    border-radius: 2px;
    opacity: .92;
}
.stageflow-carousel-arrow:disabled {
    opacity: .28;
    cursor: default;
    transform: none;
}
.stageflow-carousel-arrow:not(:disabled):hover {
    transform: translateY(-2px);
}
.stageflow-carousel-dots {
    margin-top: -34px;
    padding: 0 64px 14px;
    pointer-events: none;
}
.stageflow-carousel-dot {
    pointer-events: auto;
}
.stageflow-carousel-dot:hover {
    border-color: var(--sf-red);
    transform: scale(1.1);
}
@media (max-width: 767px) {
    .stageflow-carousel-nav {
        margin-top: 16px;
    }
    .stageflow-carousel-dots {
        margin-top: -32px;
        padding-left: 58px;
        padding-right: 58px;
    }
}


/* =========================================================
   RMX v2.7: ajuste fino footer tarjetas
   Icono + ciudad como bloque compacto, centrado y sin huecos raros.
========================================================= */
.stageflow-event-foot-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding-left: 10px;
    padding-right: 10px;
}
.stageflow-event-foot-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    max-width: calc(100% - 22px);
    text-align: center;
    line-height: 1.18;
}
.stageflow-event-foot-item .stageflow-svg-icon {
    flex: 0 0 14px;
    margin: 0;
}
.stageflow-event-foot-item--city {
    gap: 5px;
}
.stageflow-event-foot-item--city .stageflow-event-foot-text {
    max-width: 88px;
}
@media (max-width: 767px) {
    .stageflow-event-foot-item {
        gap: 5px;
        padding-left: 9px;
        padding-right: 9px;
    }
    .stageflow-event-foot-item--city .stageflow-event-foot-text {
        max-width: 96px;
    }
}


/* =========================================================
   v2.8 - City alignment fix
========================================================= */
.stageflow-event-city,
.stageflow-card-city,
.stageflow-city-meta{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
}

.stageflow-event-city .city-text,
.stageflow-card-city .city-text,
.stageflow-city-meta .city-text{
    text-align:left;
    line-height:1.25;
}

.stageflow-event-city svg,
.stageflow-card-city svg,
.stageflow-city-meta svg{
    flex-shrink:0;
    align-self:center;
}


/* =========================================================
   RMX v2.9: corrección real del bloque ciudad en tarjetas
   - Aplica sobre las clases reales del template concert-card.php
   - El ícono y el texto quedan juntos como un solo bloque
   - El texto queda alineado a la izquierda y centrado verticalmente
========================================================= */
.stageflow-event-foot-item--city{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:7px !important;
    text-align:left !important;
}

.stageflow-event-foot-item--city .stageflow-svg-icon{
    flex:0 0 14px !important;
    width:14px !important;
    height:14px !important;
    align-self:center !important;
    margin:0 !important;
}

.stageflow-event-foot-item--city .stageflow-event-foot-text{
    display:block !important;
    width:auto !important;
    min-width:0 !important;
    max-width:92px !important;
    text-align:left !important;
    line-height:1.18 !important;
    white-space:normal !important;
}

@media (max-width:767px){
    .stageflow-event-foot-item--city{
        gap:7px !important;
    }
    .stageflow-event-foot-item--city .stageflow-event-foot-text{
        max-width:104px !important;
    }
}


/* =========================================================
   RMX v2.10: centrado horizontal del bloque ciudad
   - Conserva icono + texto como unidad compacta
   - Desplaza el conjunto al centro real de su columna derecha
========================================================= */
.stageflow-event-foot-item--city{
    box-sizing:border-box !important;
    width:100% !important;
    justify-content:center !important;
    padding-left:18px !important;
    padding-right:6px !important;
}

.stageflow-event-foot-item--city .stageflow-event-foot-text{
    text-align:left !important;
}

@media (max-width:767px){
    .stageflow-event-foot-item--city{
        padding-left:16px !important;
        padding-right:6px !important;
    }
}


/* v3.3 - Archivo base /conciertos/ */
.stageflow-month-overview-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}.stageflow-month-overview-card{height:500px}@media(max-width:767px){.stageflow-month-overview-grid{grid-template-columns:1fr}.stageflow-month-overview-card{height:500px}}

/* =========================================================
   RMX v3.7: /conciertos/ usa el mismo contenedor visual
   que el archivo mensual y no rompe el ancho del tema.
========================================================= */
.stageflow-concerts-archive {
    padding: 58px 0 76px !important;
    background: #090a0d;
    color: #fff;
    min-height: 72vh;
    font-family: inherit;
    box-sizing: border-box;
}

.stageflow-concerts-archive *,
.stageflow-concerts-archive *::before,
.stageflow-concerts-archive *::after {
    box-sizing: border-box;
}

.stageflow-concerts-archive > .stageflow-archive-header,
.stageflow-concerts-archive > .stageflow-month-overview,
.stageflow-concerts-archive > .stageflow-empty {
    width: min(1160px, calc(100% - 32px)) !important;
    max-width: 1160px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.stageflow-concerts-archive > .stageflow-archive-header {
    margin-bottom: 30px !important;
}

.stageflow-concerts-archive .stageflow-month-overview-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 24px !important;
    align-items: stretch !important;
    width: 100% !important;
    margin: 0 !important;
}

.stageflow-concerts-archive .stageflow-month-overview-card {
    width: 100% !important;
    height: 500px !important;
    min-width: 0 !important;
}

@media (max-width: 1024px) {
    .stageflow-concerts-archive .stageflow-month-overview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 767px) {
    .stageflow-concerts-archive {
        padding: 42px 0 58px !important;
    }

    .stageflow-concerts-archive > .stageflow-archive-header,
    .stageflow-concerts-archive > .stageflow-month-overview,
    .stageflow-concerts-archive > .stageflow-empty {
        width: calc(100% - 24px) !important;
    }

    .stageflow-concerts-archive .stageflow-month-overview-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}

/* =========================================================
   RMX v3.9 - Corrección móvil portada/inicio
   Evita que widgets anteriores del tema se encimen visualmente
   sobre el carrusel de conciertos en móvil.
========================================================= */
.stageflow-concerts-widget{
    display:block;
    position:relative;
    clear:both;
    z-index:5;
    isolation:isolate;
}

.stageflow-concerts-widget .stageflow-month-carousel-shell{
    position:relative;
    z-index:2;
}

.stageflow-concerts-widget .stageflow-month-card,
.stageflow-concerts-widget .stageflow-month-link,
.stageflow-concerts-widget .stageflow-month-bg,
.stageflow-concerts-widget .stageflow-month-content{
    position:relative;
}

.stageflow-concerts-widget .stageflow-month-bg{
    position:absolute;
}

.stageflow-concerts-widget .stageflow-month-card{
    z-index:1;
}

.stageflow-concerts-widget .stageflow-month-content{
    z-index:6;
}

@media (max-width:767px){
    .stageflow-concerts-widget{
        clear:both;
        width:100%;
        max-width:100%;
        margin-top:18px;
        margin-bottom:28px;
        overflow:hidden;
    }

    .stageflow-concerts-widget .stageflow-month-carousel-shell{
        width:100%;
        max-width:100%;
        margin-left:auto;
        margin-right:auto;
        overflow:hidden;
    }

    .stageflow-concerts-widget .stageflow-months-carousel{
        position:relative;
        z-index:2;
    }

    .stageflow-concerts-widget .stageflow-month-card{
        min-height:500px;
    }
}

/* =========================================================
   RMX v4.0 - Ajustes finales carrusel
   - Regresa el texto de la portada a su posición inferior.
   - Centra correctamente los botones del carrusel.
   - Mantiene soporte táctil móvil sin cambiar diseño.
========================================================= */
.stageflow-concerts-widget .stageflow-month-content{
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    z-index:6;
}

.stageflow-concerts-widget .stageflow-month-bg{
    position:absolute;
    inset:0;
}

.stageflow-concerts-widget .stageflow-month-card{
    position:relative;
    overflow:hidden;
}

.stageflow-concerts-widget .stageflow-month-link{
    position:relative;
}

.stageflow-concerts-widget .stageflow-carousel-nav{
    align-items:center;
}

.stageflow-concerts-widget .stageflow-carousel-arrow{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    line-height:1;
    flex:0 0 auto;
}

.stageflow-concerts-widget .stageflow-carousel-dots{
    justify-content:center;
    text-align:center;
}

@media (max-width:767px){
    .stageflow-concerts-widget .stageflow-months-carousel{
        touch-action:pan-y;
        cursor:grab;
        user-select:none;
    }

    .stageflow-concerts-widget .stageflow-months-carousel.is-moving{
        cursor:grabbing;
    }

    .stageflow-concerts-widget .stageflow-month-content{
        padding:22px 18px 24px;
    }
}

/* =========================================================
   RMX v4.1 - Ajustes finales carrusel + lightbox
========================================================= */

/* Portadas: texto nuevamente abajo */
.stageflow-month-card,
.stageflow-month-link{
    position:relative;
    overflow:hidden;
}

.stageflow-month-content{
    position:absolute !important;
    left:0 !important;
    right:0 !important;
    top:auto !important;
    bottom:0 !important;
    z-index:8 !important;
    display:flex !important;
    flex-direction:column !important;
    justify-content:flex-end !important;
    align-items:flex-start !important;
    min-height:46% !important;
    padding:72px 28px 28px !important;
    transform:none !important;
    text-align:left !important;
    pointer-events:none;
}

/* Flechas centradas aunque cambie el tamaño del icono */
.stageflow-carousel-arrow,
.stageflow-carousel-prev,
.stageflow-carousel-next,
.stageflow-month-carousel-prev,
.stageflow-month-carousel-next{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    line-height:1 !important;
    text-align:center !important;
    padding:0 !important;
}

.stageflow-carousel-arrow svg,
.stageflow-carousel-prev svg,
.stageflow-carousel-next svg,
.stageflow-month-carousel-prev svg,
.stageflow-month-carousel-next svg,
.stageflow-carousel-arrow i,
.stageflow-carousel-prev i,
.stageflow-carousel-next i,
.stageflow-month-carousel-prev i,
.stageflow-month-carousel-next i{
    display:block !important;
    margin:0 !important;
    line-height:1 !important;
    position:static !important;
    transform:none !important;
    flex:0 0 auto !important;
}

.stageflow-carousel-arrow::before,
.stageflow-carousel-prev::before,
.stageflow-carousel-next::before,
.stageflow-month-carousel-prev::before,
.stageflow-month-carousel-next::before{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:100% !important;
    height:100% !important;
    line-height:1 !important;
    margin:0 !important;
    position:static !important;
}

/* Botón cerrar del lightbox blindado contra estilos del tema */
.stageflow-lightbox-close,
.stageflow-lightbox .stageflow-lightbox-close,
button.stageflow-lightbox-close{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:54px !important;
    height:54px !important;
    min-width:54px !important;
    min-height:54px !important;
    padding:0 !important;
    margin:0 !important;
    border:1px solid #e21b3c !important;
    border-radius:0 !important;
    background:#e21b3c !important;
    color:#ffffff !important;
    box-shadow:none !important;
    outline:none !important;
    line-height:1 !important;
    text-align:center !important;
    text-decoration:none !important;
    appearance:none !important;
    -webkit-appearance:none !important;
}

.stageflow-lightbox-close::before,
.stageflow-lightbox-close::after{
    background:#ffffff !important;
    color:#ffffff !important;
}

.stageflow-lightbox-close:hover,
.stageflow-lightbox .stageflow-lightbox-close:hover,
button.stageflow-lightbox-close:hover{
    background:#111111 !important;
    border-color:#111111 !important;
    color:#ffffff !important;
}

.stageflow-lightbox-close:focus,
.stageflow-lightbox-close:focus-visible{
    background:#4b4b4b !important;
    border-color:#4b4b4b !important;
    color:#ffffff !important;
    outline:2px solid rgba(226,27,60,.45) !important;
    outline-offset:2px !important;
}

.stageflow-lightbox-close:active,
.stageflow-lightbox .stageflow-lightbox-close:active,
button.stageflow-lightbox-close:active{
    background:#4b4b4b !important;
    border-color:#4b4b4b !important;
    color:#ffffff !important;
}

@media (max-width:767px){
    .stageflow-month-content{
        min-height:44% !important;
        padding:68px 22px 26px !important;
    }
}


/* v4.2 Lightbox close button hardening */
.rmx-lightbox-close,
.rmx-lightbox-close:visited{
    background:#d61f3a;
    color:#fff;
    border:0;
    outline:none;
    box-shadow:none;
}
.rmx-lightbox-close:hover{
    background:#222;
    color:#fff;
    border:0;
    outline:none;
    box-shadow:none;
}
.rmx-lightbox-close:focus,
.rmx-lightbox-close:focus-visible,
.rmx-lightbox-close:active{
    background:#d61f3a;
    color:#fff;
    border:0;
    outline:none!important;
    box-shadow:none!important;
}

/* =========================================================
   RMX v4.3 - Corrección definitiva botón cerrar lightbox
   El tema estaba heredando focus/active sobre .stageflow-lightbox-close.
   Estados finales:
   - normal/focus/active: rojo
   - hover: negro
========================================================= */
.stageflow-lightbox .stageflow-lightbox-close,
.stageflow-lightbox button.stageflow-lightbox-close,
button.stageflow-lightbox-close{
    background:#e21b3c !important;
    border:1px solid #e21b3c !important;
    color:#ffffff !important;
    outline:0 !important;
    outline-color:transparent !important;
    outline-offset:0 !important;
    box-shadow:none !important;
    text-shadow:none !important;
    -webkit-tap-highlight-color:transparent !important;
}

.stageflow-lightbox .stageflow-lightbox-close:visited,
.stageflow-lightbox .stageflow-lightbox-close:focus,
.stageflow-lightbox .stageflow-lightbox-close:focus-visible,
.stageflow-lightbox .stageflow-lightbox-close:active,
.stageflow-lightbox button.stageflow-lightbox-close:focus,
.stageflow-lightbox button.stageflow-lightbox-close:focus-visible,
.stageflow-lightbox button.stageflow-lightbox-close:active,
button.stageflow-lightbox-close:focus,
button.stageflow-lightbox-close:focus-visible,
button.stageflow-lightbox-close:active{
    background:#e21b3c !important;
    border:1px solid #e21b3c !important;
    color:#ffffff !important;
    outline:0 !important;
    outline-color:transparent !important;
    outline-offset:0 !important;
    box-shadow:none !important;
    text-shadow:none !important;
}

.stageflow-lightbox .stageflow-lightbox-close:hover,
.stageflow-lightbox button.stageflow-lightbox-close:hover,
button.stageflow-lightbox-close:hover{
    background:#111111 !important;
    border:1px solid #111111 !important;
    color:#ffffff !important;
    outline:0 !important;
    box-shadow:none !important;
}

.stageflow-lightbox .stageflow-lightbox-close::before,
.stageflow-lightbox .stageflow-lightbox-close::after,
button.stageflow-lightbox-close::before,
button.stageflow-lightbox-close::after{
    background:#ffffff !important;
    border:0 !important;
    box-shadow:none !important;
}





/* =========================================================
   RMX v4.5 - Navegación premium del carrusel
   - Flechas laterales centradas dentro de su botón.
   - Dots siempre centrados y separados de las flechas.
   - Animación suave para dots.
========================================================= */

.stageflow-month-carousel-nav,
.stageflow-carousel-nav,
.stageflow-slider-nav,
.rmx-carousel-nav{
    position:relative !important;
    display:grid !important;
    grid-template-columns:minmax(44px, 1fr) auto minmax(44px, 1fr) !important;
    align-items:center !important;
    width:100% !important;
    gap:16px !important;
    margin:26px auto 0 !important;
    min-height:54px !important;
}

/* Fallback cuando el HTML no agrupa dots/flechas con clases nav */
.stageflow-month-carousel-shell > .stageflow-month-carousel-prev,
.stageflow-month-carousel-shell > .stageflow-carousel-prev,
.stageflow-month-carousel-shell > .stageflow-slider-prev{
    justify-self:start !important;
}

.stageflow-month-carousel-shell > .stageflow-month-carousel-next,
.stageflow-month-carousel-shell > .stageflow-carousel-next,
.stageflow-month-carousel-shell > .stageflow-slider-next{
    justify-self:end !important;
}

/* Flechas: no van al centro del carrusel; solo centran su icono internamente */
.stageflow-month-carousel-prev,
.stageflow-month-carousel-next,
.stageflow-carousel-prev,
.stageflow-carousel-next,
.stageflow-slider-prev,
.stageflow-slider-next,
.stageflow-carousel-arrow{
    position:static !important;
    transform:none !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    line-height:1 !important;
    text-align:center !important;
    padding:0 !important;
    flex:0 0 auto !important;
    vertical-align:middle !important;
}

.stageflow-month-carousel-prev,
.stageflow-carousel-prev,
.stageflow-slider-prev{
    justify-self:start !important;
    grid-column:1 !important;
}

.stageflow-month-carousel-next,
.stageflow-carousel-next,
.stageflow-slider-next{
    justify-self:end !important;
    grid-column:3 !important;
}

.stageflow-month-carousel-prev svg,
.stageflow-month-carousel-next svg,
.stageflow-carousel-prev svg,
.stageflow-carousel-next svg,
.stageflow-slider-prev svg,
.stageflow-slider-next svg,
.stageflow-carousel-arrow svg,
.stageflow-month-carousel-prev i,
.stageflow-month-carousel-next i,
.stageflow-carousel-prev i,
.stageflow-carousel-next i,
.stageflow-slider-prev i,
.stageflow-slider-next i,
.stageflow-carousel-arrow i{
    display:block !important;
    margin:auto !important;
    line-height:1 !important;
    position:static !important;
    transform:none !important;
    flex:0 0 auto !important;
}

/* Dots: siempre al centro, sin compartir espacio con flechas */
.stageflow-month-carousel-dots,
.stageflow-carousel-dots,
.stageflow-slider-dots,
.rmx-carousel-dots,
.stageflow-slider-nav .dots,
.stageflow-carousel-nav .dots,
.rmx-carousel-nav .dots{
    grid-column:2 !important;
    justify-self:center !important;
    align-self:center !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:10px !important;
    margin:0 auto !important;
    padding:0 !important;
    min-height:18px !important;
    pointer-events:auto !important;
}

/* Animación premium de dots */
.stageflow-month-carousel-dots button,
.stageflow-carousel-dots button,
.stageflow-slider-dots button,
.rmx-carousel-dots button,
.stageflow-month-carousel-dots span,
.stageflow-carousel-dots span,
.stageflow-slider-dots span,
.rmx-carousel-dots span{
    width:10px !important;
    height:10px !important;
    min-width:10px !important;
    min-height:10px !important;
    border-radius:999px !important;
    transition:
        transform .28s ease,
        width .28s ease,
        background-color .28s ease,
        border-color .28s ease,
        opacity .28s ease !important;
    transform:scale(.86) !important;
    opacity:.65 !important;
}

.stageflow-month-carousel-dots button.is-active,
.stageflow-carousel-dots button.is-active,
.stageflow-slider-dots button.is-active,
.rmx-carousel-dots button.is-active,
.stageflow-month-carousel-dots button.active,
.stageflow-carousel-dots button.active,
.stageflow-slider-dots button.active,
.rmx-carousel-dots button.active,
.stageflow-month-carousel-dots span.is-active,
.stageflow-carousel-dots span.is-active,
.stageflow-slider-dots span.is-active,
.rmx-carousel-dots span.is-active,
.stageflow-month-carousel-dots span.active,
.stageflow-carousel-dots span.active,
.stageflow-slider-dots span.active,
.rmx-carousel-dots span.active{
    width:20px !important;
    transform:scale(1) !important;
    opacity:1 !important;
}

/* Si las flechas y dots son hermanos directos en shell, se arma una barra segura */
.stageflow-month-carousel-shell{
    position:relative !important;
}

.stageflow-month-carousel-shell > .stageflow-month-carousel-prev,
.stageflow-month-carousel-shell > .stageflow-month-carousel-next,
.stageflow-month-carousel-shell > .stageflow-month-carousel-dots{
    margin-top:24px !important;
}

@media (max-width:767px){
    .stageflow-month-carousel-nav,
    .stageflow-carousel-nav,
    .stageflow-slider-nav,
    .rmx-carousel-nav{
        grid-template-columns:52px 1fr 52px !important;
        gap:12px !important;
        min-height:52px !important;
        margin-top:22px !important;
    }

    .stageflow-month-carousel-dots,
    .stageflow-carousel-dots,
    .stageflow-slider-dots,
    .rmx-carousel-dots{
        gap:9px !important;
    }
}


/* =========================================================
   RMX v4.6 - Corrección precisa de iconos de flechas
   Mantiene dots v4.5. Solo centra el símbolo dentro del botón.
========================================================= */

/* El botón conserva su posición lateral, pero el contenido queda centrado real */
.stageflow-month-carousel-prev,
.stageflow-month-carousel-next,
.stageflow-carousel-prev,
.stageflow-carousel-next,
.stageflow-slider-prev,
.stageflow-slider-next,
.stageflow-carousel-arrow{
    display:grid !important;
    place-items:center !important;
    align-content:center !important;
    justify-content:center !important;
    line-height:0 !important;
    padding:0 !important;
    box-sizing:border-box !important;
    font-size:0 !important;
    text-align:center !important;
}

/* Si la flecha es texto/caracter dentro del botón, evita baseline descendido */
.stageflow-month-carousel-prev,
.stageflow-month-carousel-next,
.stageflow-carousel-prev,
.stageflow-carousel-next,
.stageflow-slider-prev,
.stageflow-slider-next{
    font-family:inherit !important;
}

/* Centrado de cualquier contenido interno */
.stageflow-month-carousel-prev > *,
.stageflow-month-carousel-next > *,
.stageflow-carousel-prev > *,
.stageflow-carousel-next > *,
.stageflow-slider-prev > *,
.stageflow-slider-next > *,
.stageflow-carousel-arrow > *{
    display:block !important;
    position:static !important;
    margin:0 !important;
    padding:0 !important;
    line-height:1 !important;
    transform:none !important;
    inset:auto !important;
}

/* Elementor/temas suelen inyectar íconos con before/after: se centran sin mover el botón */
.stageflow-month-carousel-prev::before,
.stageflow-month-carousel-next::before,
.stageflow-carousel-prev::before,
.stageflow-carousel-next::before,
.stageflow-slider-prev::before,
.stageflow-slider-next::before,
.stageflow-carousel-arrow::before,
.stageflow-month-carousel-prev::after,
.stageflow-month-carousel-next::after,
.stageflow-carousel-prev::after,
.stageflow-carousel-next::after,
.stageflow-slider-prev::after,
.stageflow-slider-next::after,
.stageflow-carousel-arrow::after{
    display:block !important;
    position:static !important;
    margin:0 !important;
    padding:0 !important;
    line-height:1 !important;
    transform:none !important;
    inset:auto !important;
    vertical-align:middle !important;
}

/* SVG/i exactos: sin baseline ni desplazamiento */
.stageflow-month-carousel-prev svg,
.stageflow-month-carousel-next svg,
.stageflow-carousel-prev svg,
.stageflow-carousel-next svg,
.stageflow-slider-prev svg,
.stageflow-slider-next svg,
.stageflow-carousel-arrow svg,
.stageflow-month-carousel-prev i,
.stageflow-month-carousel-next i,
.stageflow-carousel-prev i,
.stageflow-carousel-next i,
.stageflow-slider-prev i,
.stageflow-slider-next i,
.stageflow-carousel-arrow i{
    display:block !important;
    position:static !important;
    margin:0 !important;
    padding:0 !important;
    line-height:1 !important;
    vertical-align:middle !important;
    transform:none !important;
}

/* Cuando el control de Elementor aumente el tamaño del icono,
   no debe empujarlo hacia abajo por line-height heredado */
.stageflow-month-carousel-prev .elementor-icon,
.stageflow-month-carousel-next .elementor-icon,
.stageflow-carousel-prev .elementor-icon,
.stageflow-carousel-next .elementor-icon{
    display:grid !important;
    place-items:center !important;
    line-height:1 !important;
}


/* =========================================================
   RMX v4.7 - Restaurar flechas visibles y centradas
   La v4.6 ocultaba flechas cuando el icono era texto/pseudo-elemento.
   Se conserva el centrado, pero se restaura font-size y color.
========================================================= */
.stageflow-month-carousel-prev,
.stageflow-month-carousel-next,
.stageflow-carousel-prev,
.stageflow-carousel-next,
.stageflow-slider-prev,
.stageflow-slider-next,
.stageflow-carousel-arrow{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    text-align:center !important;
    padding:0 !important;
    box-sizing:border-box !important;
    line-height:1 !important;
    font-size:var(--rmx-arrow-icon-size, 24px) !important;
    color:var(--rmx-arrow-color, #ffffff) !important;
    overflow:visible !important;
}

.stageflow-month-carousel-prev *,
.stageflow-month-carousel-next *,
.stageflow-carousel-prev *,
.stageflow-carousel-next *,
.stageflow-slider-prev *,
.stageflow-slider-next *,
.stageflow-carousel-arrow *{
    color:inherit !important;
    fill:currentColor !important;
    stroke:currentColor !important;
    font-size:inherit !important;
    line-height:1 !important;
}

.stageflow-month-carousel-prev::before,
.stageflow-month-carousel-next::before,
.stageflow-carousel-prev::before,
.stageflow-carousel-next::before,
.stageflow-slider-prev::before,
.stageflow-slider-next::before,
.stageflow-carousel-arrow::before,
.stageflow-month-carousel-prev::after,
.stageflow-month-carousel-next::after,
.stageflow-carousel-prev::after,
.stageflow-carousel-next::after,
.stageflow-slider-prev::after,
.stageflow-slider-next::after,
.stageflow-carousel-arrow::after{
    color:inherit !important;
    font-size:inherit !important;
    line-height:1 !important;
    display:block !important;
    position:static !important;
    margin:0 !important;
    padding:0 !important;
    transform:none !important;
    opacity:1 !important;
}

/* Fallback: si el botón no trae svg/icono y depende de texto vacío o pseudo perdido */
.stageflow-month-carousel-prev:empty::before,
.stageflow-carousel-prev:empty::before,
.stageflow-slider-prev:empty::before{
    content:"‹" !important;
}

.stageflow-month-carousel-next:empty::before,
.stageflow-carousel-next:empty::before,
.stageflow-slider-next:empty::before{
    content:"›" !important;
}

.stageflow-month-carousel-prev svg,
.stageflow-month-carousel-next svg,
.stageflow-carousel-prev svg,
.stageflow-carousel-next svg,
.stageflow-slider-prev svg,
.stageflow-slider-next svg,
.stageflow-carousel-arrow svg,
.stageflow-month-carousel-prev i,
.stageflow-month-carousel-next i,
.stageflow-carousel-prev i,
.stageflow-carousel-next i,
.stageflow-slider-prev i,
.stageflow-slider-next i,
.stageflow-carousel-arrow i{
    display:block !important;
    margin:0 !important;
    padding:0 !important;
    position:static !important;
    transform:none !important;
    line-height:1 !important;
    color:inherit !important;
}

/* =========================================================
   RMX v4.7.1 - Correccion puntual navegacion carrusel
   Mantiene dots v4.5; solo estabiliza flechas laterales.
========================================================= */
.stageflow-concerts-widget .stageflow-carousel-nav{
    position:relative !important;
    z-index:4 !important;
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    width:100% !important;
    min-height:48px !important;
    margin:18px auto 0 !important;
    gap:16px !important;
    pointer-events:none !important;
}

.stageflow-concerts-widget .stageflow-carousel-arrow,
.stageflow-concerts-widget button.stageflow-carousel-arrow{
    position:relative !important;
    inset:auto !important;
    transform:none !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    flex:0 0 44px !important;
    width:44px !important;
    height:44px !important;
    min-width:44px !important;
    min-height:44px !important;
    max-width:44px !important;
    max-height:44px !important;
    padding:0 !important;
    margin:0 !important;
    border-radius:0 !important;
    line-height:1 !important;
    font-size:var(--rmx-arrow-icon-size, 24px) !important;
    font-weight:400 !important;
    color:var(--rmx-arrow-color, #ffffff) !important;
    text-align:center !important;
    text-indent:0 !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    box-sizing:border-box !important;
    pointer-events:auto !important;
    appearance:none !important;
    -webkit-appearance:none !important;
}

.stageflow-concerts-widget .stageflow-carousel-arrow::before,
.stageflow-concerts-widget .stageflow-carousel-arrow::after{
    content:none !important;
    display:none !important;
}

.stageflow-concerts-widget .stageflow-carousel-arrow > *,
.stageflow-concerts-widget .stageflow-carousel-arrow svg,
.stageflow-concerts-widget .stageflow-carousel-arrow i,
.stageflow-concerts-widget .stageflow-carousel-arrow .elementor-icon{
    display:block !important;
    flex:0 0 auto !important;
    width:1em !important;
    height:1em !important;
    margin:0 !important;
    padding:0 !important;
    line-height:1 !important;
    font-size:inherit !important;
    color:inherit !important;
    fill:currentColor !important;
    stroke:currentColor !important;
    transform:none !important;
}

.stageflow-concerts-widget .stageflow-carousel-dots{
    position:relative !important;
    z-index:3 !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:auto !important;
    max-width:calc(100% - 112px) !important;
    margin:-40px auto 0 !important;
    padding:0 0 10px !important;
}

@media (max-width:767px){
    .stageflow-concerts-widget .stageflow-carousel-nav{
        min-height:44px !important;
        margin-top:16px !important;
        gap:12px !important;
    }

    .stageflow-concerts-widget .stageflow-carousel-arrow,
    .stageflow-concerts-widget button.stageflow-carousel-arrow{
        flex-basis:42px !important;
        width:42px !important;
        height:42px !important;
        min-width:42px !important;
        min-height:42px !important;
        max-width:42px !important;
        max-height:42px !important;
    }

    .stageflow-concerts-widget .stageflow-carousel-dots{
        max-width:calc(100% - 104px) !important;
        margin-top:-37px !important;
    }
}

/* =========================================================
   RMX v4.7.2 - Depuracion boton flecha + dots en Elementor
   La flecha ya no depende del texto interno del button.
========================================================= */
.stageflow-concerts-widget .stageflow-carousel-arrow,
.stageflow-concerts-widget button.stageflow-carousel-arrow{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    flex:0 0 44px !important;
    width:44px !important;
    height:44px !important;
    min-width:44px !important;
    min-height:44px !important;
    max-width:44px !important;
    max-height:44px !important;
    padding:0 !important;
    margin:0 !important;
    border-style:solid !important;
    border-width:1px !important;
    border-radius:0 !important;
    font-size:0 !important;
    line-height:0 !important;
    text-indent:0 !important;
    overflow:hidden !important;
}

.stageflow-concerts-widget .stageflow-carousel-arrow::after{
    content:none !important;
    display:none !important;
}

.stageflow-concerts-widget .stageflow-carousel-arrow::before{
    display:block !important;
    position:static !important;
    width:auto !important;
    height:auto !important;
    margin:0 !important;
    padding:0 !important;
    color:var(--rmx-arrow-color, #ffffff) !important;
    font-family:Arial, Helvetica, sans-serif !important;
    font-size:var(--rmx-arrow-icon-size, 24px) !important;
    font-weight:400 !important;
    line-height:1 !important;
    text-indent:0 !important;
    transform:none !important;
    opacity:1 !important;
}

.stageflow-concerts-widget .stageflow-carousel-prev::before{
    content:"‹" !important;
}

.stageflow-concerts-widget .stageflow-carousel-next::before{
    content:"›" !important;
}

.stageflow-concerts-widget .stageflow-carousel-dot{
    display:block !important;
    flex:0 0 10px !important;
    width:10px !important;
    height:10px !important;
    min-width:10px !important;
    min-height:10px !important;
    max-width:10px !important;
    max-height:10px !important;
    padding:0 !important;
    margin:0 !important;
    border-style:solid !important;
    border-width:1px !important;
    border-radius:999px !important;
    font-size:0 !important;
    line-height:0 !important;
    text-indent:-9999px !important;
    overflow:hidden !important;
    box-sizing:border-box !important;
    appearance:none !important;
    -webkit-appearance:none !important;
}

.stageflow-concerts-widget .stageflow-carousel-dot.is-active{
    flex-basis:20px !important;
    width:20px !important;
    min-width:20px !important;
    max-width:20px !important;
}

body.elementor-editor-active .stageflow-concerts-widget .stageflow-carousel-dot,
body.elementor-editor-active .stageflow-concerts-widget .stageflow-carousel-dot.is-active{
    transform-origin:center !important;
}

@media (max-width:767px){
    .stageflow-concerts-widget .stageflow-carousel-arrow,
    .stageflow-concerts-widget button.stageflow-carousel-arrow{
        flex-basis:42px !important;
        width:42px !important;
        height:42px !important;
        min-width:42px !important;
        min-height:42px !important;
        max-width:42px !important;
        max-height:42px !important;
    }
}

/* RMX v4.7.3 - Aire inferior para que la navegacion no se corte */
.stageflow-concerts-widget{
    padding-bottom:20px !important;
}

.stageflow-concerts-widget .stageflow-month-carousel-shell{
    padding-bottom:20px !important;
    overflow:hidden !important;
}

body.elementor-editor-active .stageflow-concerts-widget,
body.elementor-editor-active .stageflow-concerts-widget .stageflow-month-carousel-shell{
    padding-bottom:24px !important;
}
