/* Estilos RW Event Calendar - Versión Fiel a la Captura */
.rw-event-calendar-container {
    background: transparent;
    padding: 20px 0;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    text-align: center;
}

.calendar-main-title {
    font-size: 64px;
    font-weight: 900;
    color: #1a1a1a;
    margin-bottom: 40px;
    letter-spacing: -2px;
    text-transform: uppercase;
}

/* Filtro de Meses (Botones redondeados) */
.calendar-month-selector {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
}

.month-btn {
    background: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #1a1a1a;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    text-transform: uppercase;
}

.month-btn.active {
    background: #000;
    color: #fff;
}

.month-btn:hover:not(.active) {
    background: #e9e9e9;
}

/* Grid del Calendario */
.rw-calendar-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.rw-day-header {
    font-weight: 800;
    font-size: 12px;
    color: #666;
    padding-bottom: 15px;
    text-transform: uppercase;
}

.rw-days-container {
    display: contents;
}

/* Card de Día/Evento */
.rw-day-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 25px;
    min-height: 450px;
    width: calc(14.28% - 20px); /* Aproximadamente 1/7 para mantener 7 por fila */
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    padding: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rw-day-card.multiple-events {
    width: calc(28.56% - 20px); /* Ocupa el doble si hay 2 eventos */
    min-width: 600px;
}

.rw-day-card.has-event {
    border: 2px solid #000;
}

.rw-day-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Día sin evento */
.rw-day-info {
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
}

.rw-day-info .day-name {
    font-size: 14px;
    font-weight: 800;
    color: #999;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.rw-day-info .day-full {
    font-size: 14px;
    font-weight: 800;
    color: #999;
    text-transform: uppercase;
}

/* Event Card Content */
.rw-event-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.rw-day-card.multiple-events .rw-event-card {
    flex-direction: row;
}

.rw-event-item-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
}

.rw-day-card.multiple-events {
    min-width: 600px;
}

.rw-day-card.multiple-events .rw-event-item-wrapper {
    border-right: 1px solid #eee;
    min-width: 280px;
}

.rw-day-card.multiple-events .rw-event-item-wrapper:last-child {
    border-right: none;
}

.rw-event-img {
    height: 220px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom: 1px solid #eee;
    width: 100%;
}

.rw-event-details {
    padding: 25px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.rw-event-date-info {
    font-weight: 900;
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 25px;
    text-transform: uppercase;
    color: #1a1a1a;
}

.rw-event-date-info span {
    display: block;
    color: #999;
    font-size: 11px;
    margin-bottom: 6px;
}

/* Botones estilo captura */
.rw-event-buttons {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-buy, .btn-info {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    font-weight: 900;
    font-size: 12px;
    text-decoration: none;
    text-transform: uppercase;
    text-align: center;
    transition: all 0.2s ease;
    border: none;
}

.btn-buy {
    background: #e62e2e; /* Rojo intenso */
    color: #fff;
}

.btn-info {
    background: #000;
    color: #fff;
}

.btn-buy:hover {
    background: #cc2929;
    transform: scale(1.02);
}

.btn-info:hover {
    background: #333;
    transform: scale(1.02);
}

/* Días de otros meses */
.other-month {
    opacity: 0.4;
    background: #fcfcfc;
}

/* Responsive */
@media (max-width: 1200px) {
    .rw-calendar-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
    .rw-calendar-grid { grid-template-columns: repeat(2, 1fr); }
    .calendar-main-title { font-size: 40px; }
}
@media (max-width: 500px) {
    .rw-calendar-grid { grid-template-columns: 1fr; }
    .month-btn { padding: 10px 18px; font-size: 13px; }
}
