/* =========================================================
   ROCK & BLUES CAFÉ ZARAGOZA
   CICLOS · 08/09/2026
========================================================= */

.rb-cycles-page {
    padding-top: 40px;
}


.rb-cycles-header {
    width: min(100%, 920px);
    margin: 0 auto 34px;
    text-align: center;
}


.rb-cycles-page .rb-page-title {
    margin-bottom: 10px;
    font-size: clamp(36px, 4.4vw, 52px);
    line-height: .94;
    letter-spacing: -.45px;
}


.rb-cycles-page .rb-page-subtitle {
    margin-bottom: 16px;
    color: rgba(255,255,255,.66);
    font-size: 12px;
    line-height: 1.35;
    font-weight: 800;
    letter-spacing: 1.45px;
}


.rb-cycles-page .rb-page-subtitle::before {
    width: 20px;
}


.rb-cycles-intro {
    width: min(100%, 760px);
    margin: 0 auto;
    color: rgba(255,255,255,.68);
    font-size: 14px;
    line-height: 1.65;
}


.rb-cycles-intro strong {
    color: #fff;
}


/* =========================================================
   LISTADO DE CICLOS
========================================================= */

.rb-cycles-grid {
    width: min(100%, 1160px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}


.rb-cycle-card {
    min-width: 0;
}


.rb-cycle-card-link {
    position: relative;
    display: block;
    height: 100%;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    background:
        radial-gradient(
            circle at 85% 12%,
            rgba(208,52,58,.16),
            transparent 38%
        ),
        linear-gradient(
            145deg,
            rgba(255,255,255,.055),
            rgba(255,255,255,.022)
        );
    border: 1px solid rgba(255,255,255,.085);
    border-radius: 20px;
    box-shadow: 0 18px 42px rgba(0,0,0,.34);
    transition:
        transform .24s ease,
        border-color .24s ease,
        box-shadow .24s ease;
}


.rb-cycle-card-link:hover {
    transform: translateY(-5px);
    border-color: rgba(208,52,58,.58);
    box-shadow: 0 24px 56px rgba(0,0,0,.54);
}


.rb-cycle-card-link:focus-visible {
    outline: 2px solid var(--rb-red-light);
    outline-offset: 3px;
}


.rb-cycle-card-poster {
    position: relative;
    overflow: hidden;
    aspect-ratio: 900 / 1362;
    background:
        radial-gradient(circle at 65% 15%, rgba(208,52,58,.14), transparent 30%),
        linear-gradient(180deg, rgba(26,26,26,.98), rgba(8,8,8,1));
    border-bottom: 1px solid rgba(255,255,255,.06);
}


.rb-cycle-card-poster img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        transform .42s cubic-bezier(.2,.8,.2,1),
        filter .25s ease;
}


.rb-cycle-card-poster.is-fallback::after {
    content: "Cartel no disponible";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    color: rgba(255,255,255,.78);
    font-family: "Barlow Condensed", sans-serif;
    font-size: 34px;
    line-height: .95;
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
}


.rb-cycle-card-link:hover .rb-cycle-card-poster img {
    transform: scale(1.025);
}


.rb-cycle-kicker {
    display: block;
    margin-bottom: 15px;
    color: var(--rb-red-light);
    font-size: 9px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.6px;
}


.rb-cycle-kicker-overlay {
    position: absolute;
    z-index: 3;
    left: 14px;
    top: 14px;
    margin: 0;
    padding: 8px 10px;
    color: #fff;
    background: rgba(10,10,10,.84);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;
    box-shadow: 0 8px 22px rgba(0,0,0,.28);
    backdrop-filter: blur(7px);
}


.rb-cycle-card-body {
    display: flex;
    min-height: 196px;
    flex-direction: column;
    padding: 20px 20px 18px;
}


.rb-cycle-card h2 {
    margin: 0 0 14px;
    color: #fff;
    font-family: "Barlow Condensed", sans-serif;
    font-size: clamp(28px, 2.7vw, 36px);
    line-height: .95;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -.25px;
}


.rb-cycle-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-top: auto;
    padding-top: 8px;
    color: rgba(255,255,255,.57);
    font-size: 11px;
    line-height: 1.4;
    font-weight: 700;
}


.rb-cycle-card-meta strong {
    color: #fff;
}


.rb-cycle-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: #fff;
    font-size: 10px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}


.rb-cycle-card-cta i {
    color: var(--rb-red-light);
    transition: transform .2s ease;
}


.rb-cycle-card-link:hover .rb-cycle-card-cta i {
    transform: translateX(4px);
}

/* =========================================================
   DETALLE DEL CICLO
========================================================= */

.rb-cycle-detail-header {
    margin-bottom: 38px;
}


.rb-cycle-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    color: rgba(255,255,255,.56);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color .2s ease;
}


.rb-cycle-back:hover {
    color: #fff;
}


.rb-cycle-detail-kicker {
    display: block;
    margin-bottom: 11px;
    color: var(--rb-red-light);
    font-size: 9px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.7px;
}


.rb-cycle-events-section {
    width: min(100%, 1040px);
    margin: 0 auto 64px;
}


.rb-cycle-section-heading {
    margin-bottom: 18px;
}


.rb-cycle-section-heading > span {
    display: block;
    margin-bottom: 6px;
    color: var(--rb-red-light);
    font-size: 9px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.6px;
}


.rb-cycle-section-heading h2 {
    margin: 0;
    color: #fff;
    font-family: "Barlow Condensed", sans-serif;
    font-size: clamp(30px, 4vw, 42px);
    line-height: .95;
    font-weight: 900;
    text-transform: uppercase;
}


.rb-cycle-events-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}


.rb-cycle-event-card {
    min-width: 0;
}


.rb-cycle-event-link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
    outline: none;
}


.rb-cycle-event-poster {
    position: relative;
    overflow: hidden;
    aspect-ratio: 900 / 1362;
    background: #111;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 16px;
    box-shadow: 0 18px 42px rgba(0,0,0,.44);
    isolation: isolate;
    transition:
        transform .24s ease,
        border-color .24s ease,
        box-shadow .24s ease;
}


.rb-cycle-event-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        transform .42s cubic-bezier(.2,.8,.2,1),
        filter .25s ease;
}


.rb-cycle-event-link:hover .rb-cycle-event-poster {
    transform: translateY(-5px);
    border-color: rgba(208,52,58,.68);
    box-shadow: 0 24px 55px rgba(0,0,0,.62);
}


.rb-cycle-event-link:hover .rb-cycle-event-poster img {
    transform: scale(1.025);
}


.rb-cycle-event-link:focus-visible .rb-cycle-event-poster {
    border-color: var(--rb-red-light);
    box-shadow:
        0 0 0 3px rgba(208,52,58,.22),
        0 24px 55px rgba(0,0,0,.62);
}


.rb-cycle-event-date {
    position: absolute;
    z-index: 5;
    top: 12px;
    left: 12px;
    display: flex;
    width: 58px;
    height: 58px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(41,41,41,.88);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(0,0,0,.36);
    backdrop-filter: blur(7px);
}


.rb-cycle-event-date strong {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 22px;
    line-height: .9;
    font-weight: 900;
}


.rb-cycle-event-date span {
    margin-top: 4px;
    color: rgba(255,255,255,.80);
    font-size: 9px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .8px;
}


.rb-cycle-event-status {
    position: absolute;
    z-index: 5;
    right: 12px;
    top: 12px;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    color: #fff;
    background: rgba(208,52,58,.92);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(0,0,0,.30);
    font-size: 8px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .85px;
}


.rb-cycle-event-status.is-past {
    color: rgba(255,255,255,.72);
    background: rgba(30,30,30,.86);
}


.rb-cycle-event-status.is-cancelled {
    background: rgba(138,33,38,.94);
}


.rb-cycle-event-info {
    padding: 14px 4px 0;
}


.rb-cycle-event-info h3 {
    margin: 0 0 5px;
    color: #fff;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 24px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
}


.rb-cycle-event-info p {
    margin: 0;
    color: rgba(255,255,255,.54);
    font-size: 11px;
    line-height: 1.45;
}


.rb-cycle-event-info > span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 10px;
    color: rgba(255,255,255,.78);
    font-size: 9px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .9px;
}


.rb-cycle-event-info > span i {
    color: var(--rb-red-light);
    transition: transform .2s ease;
}


.rb-cycle-event-link:hover .rb-cycle-event-info > span i {
    transform: translateX(4px);
}


.rb-cycle-event-card.is-past .rb-cycle-event-poster img {
    filter: saturate(.74) brightness(.86);
}


.rb-cycle-past-section {
    margin-top: 16px;
}


/* =========================================================
   BLOQUE SEO / CIERRE
========================================================= */

.rb-cycles-seo {
    width: min(100%, 860px);
    margin: 72px auto 0;
    padding: 32px 34px;
    background: rgba(255,255,255,.035);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
}


.rb-cycles-seo-kicker {
    display: block;
    margin-bottom: 9px;
    color: var(--rb-red-light);
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}


.rb-cycles-seo h2 {
    margin: 0 0 14px;
    color: #fff;
    font-family: "Barlow Condensed", sans-serif;
    font-size: clamp(30px, 4vw, 44px);
    line-height: .95;
    font-weight: 900;
    text-transform: uppercase;
}


.rb-cycles-seo p {
    margin: 0;
    color: rgba(255,255,255,.63);
    font-size: 13px;
    line-height: 1.72;
}


.rb-cycles-seo-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 22px;
}


.rb-cycles-agenda-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 42px;
    padding: 0 15px;
    color: #fff;
    background: var(--rb-red);
    border-radius: 999px;
    font-size: 9px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .85px;
    transition:
        transform .2s ease,
        background .2s ease;
}


.rb-cycles-agenda-link:hover {
    transform: translateY(-2px);
    background: var(--rb-red-light);
}


.rb-cycles-secondary-link {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 15px;
    color: rgba(255,255,255,.72);
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 999px;
    font-size: 9px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .85px;
    transition:
        color .2s ease,
        border-color .2s ease;
}


.rb-cycles-secondary-link:hover {
    color: #fff;
    border-color: rgba(255,255,255,.30);
}


.rb-cycles-empty {
    width: min(100%, 760px);
    margin: 15px auto 0;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1024px) {

    .rb-cycles-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rb-cycle-events-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 640px) {

    .rb-cycles-page {
        padding-top: 30px;
    }


    .rb-cycles-header {
        margin-bottom: 25px;
    }


    .rb-cycles-page .rb-page-title {
        font-size: clamp(30px, 10.2vw, 38px);
        line-height: .94;
    }


    .rb-cycles-page .rb-page-subtitle {
        margin-bottom: 13px;
        font-size: 10px;
        letter-spacing: 1.1px;
    }


    .rb-cycles-intro {
        font-size: 13px;
        line-height: 1.58;
    }


    .rb-cycles-grid,
    .rb-cycle-events-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }


    .rb-cycle-card-body {
        min-height: 0;
        padding: 18px 18px 17px;
    }


    .rb-cycle-card h2 {
        font-size: 31px;
    }


    .rb-cycle-detail-header {
        margin-bottom: 30px;
    }


    .rb-cycle-back {
        margin-bottom: 18px;
    }


    .rb-cycle-events-section {
        margin-bottom: 52px;
    }


    .rb-cycle-section-heading {
        margin-bottom: 14px;
    }


    .rb-cycle-section-heading h2 {
        font-size: 31px;
    }


    .rb-cycle-event-poster {
        border-radius: 14px;
    }


    .rb-cycle-event-info {
        padding: 12px 3px 0;
    }


    .rb-cycle-event-info h3 {
        font-size: 25px;
    }


    .rb-cycle-event-info p {
        font-size: 11px;
    }


    .rb-cycles-seo {
        margin-top: 56px;
        padding: 25px 22px;
        border-radius: 16px;
    }


    .rb-cycles-seo h2 {
        font-size: 31px;
    }


    .rb-cycles-seo p {
        font-size: 12px;
    }

}
