/* \templates\modern\css\afisha.css */

.maryanskaya-afisha-wrapper {
    max-width: 960px;
    margin: 40px auto;
    font-family: 'Segoe UI', Roboto, Arial, sans-serif;
    padding: 0 15px;
}

/* --- SEO заголовок --- */
.afisha-header {
    text-align: center;
    margin-bottom: 30px;
}

.afisha-header h2 {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: 800;
}

.afisha-header p {
    color: #666;
    font-size: 16px;
    max-width: 700px;
    margin: 0 auto;
}

/* --- Контейнер карточек --- */
.afisha-container {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Отступ между карточками */
}

/* --- Общий стиль карточки --- */
.afisha-card {
    display: flex;
    align-items: center;
    border-radius: 20px; /* Сильное скругление как на фото */
    padding: 20px;
    color: #fff;
    position: relative;
    border: 2px solid white; /* Белая обводка как на фото */
    box-shadow: 0 10px 20px rgba(0,0,0,0.15); /* Тень для объема */
    overflow: hidden;
    transition: transform 0.2s;
}

.afisha-card:hover {
    transform: translateY(-3px);
}

/* --- Темы цветов (взяты пипеткой с вашего фото) --- */
.green-theme {
    background: linear-gradient(135deg, #1E6040 0%, #2E8B57 100%);
    border-color: #fff;
}

.red-theme {
    background: linear-gradient(135deg, #A9282D 0%, #c0392b 100%);
    border-color: #fff;
}

/* --- Блок с датой (слева) --- */
.afisha-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 90px;
    padding-right: 20px;
    border-right: 2px solid rgba(255,255,255,0.3); /* Разделитель */
    margin-right: 20px;
}

.afisha-date .day {
    font-size: 42px;
    font-weight: 900;
    line-height: 1;
}

.afisha-date .month {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

/* --- Контент (справа) --- */
.afisha-content {
    flex-grow: 1;
}

.afisha-content h3 {
    margin: 0 0 10px 0;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
}

.afisha-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 500;
    opacity: 0.9;
}

.afisha-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.afisha-content p {
    margin: 0;
    font-size: 15px;
    line-height: 1.4;
    opacity: 0.9;
}

/* --- Блок "В разработке" внизу --- */
.afisha-stub-message {
    margin-top: 30px;
    padding: 15px;
    background: #fdf2ce;
    border-left: 5px solid #f39c12;
    color: #8a6d3b;
    border-radius: 4px;
    font-size: 14px;
    text-align: center;
}

/* --- Адаптивность для мобильных --- */
@media screen and (max-width: 600px) {
    .afisha-card {
        flex-direction: column;
        text-align: center;
        padding: 25px 15px;
    }

    .afisha-date {
        border-right: none;
        border-bottom: 2px solid rgba(255,255,255,0.3);
        margin-right: 0;
        margin-bottom: 15px;
        padding-right: 0;
        padding-bottom: 10px;
        width: 100%;
    }

    .afisha-meta {
        justify-content: center;
        flex-wrap: wrap;
    }
    /* --- Стили для расписания (Тайминг) --- */
.event-schedule {
    background-color: rgba(0, 0, 0, 0.15); /* Темная подложка для читаемости */
    border-radius: 8px;
    padding: 12px 15px;
    margin-top: 15px;
    margin-bottom: 15px;
}

.schedule-row {
    display: flex;
    margin-bottom: 6px;
    font-size: 14px;
    line-height: 1.4;
}

.schedule-row:last-child {
    margin-bottom: 0;
}

.schedule-row .time {
    font-weight: 700; /* Жирное время */
    min-width: 55px;  /* Фиксированная ширина для колонки времени */
    color: rgba(255, 255, 255, 0.9);
}

.schedule-row .action {
    color: #fff;
}

/* --- Стили для блока Организаторы --- */
.event-organizers {
    border-top: 1px solid rgba(255, 255, 255, 0.3); /* Тонкая линия разделитель */
    padding-top: 10px;
    font-size: 13px;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 5px;
}

.event-organizers .org-label {
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.5px;
    opacity: 0.7; /* Чуть бледнее */
    font-weight: 600;
}

.event-organizers .org-list {
    font-weight: 500;
    color: #fff;
}

/* Мобильная адаптация для новых блоков */
@media screen and (max-width: 600px) {
    .schedule-row {
        font-size: 13px; /* Чуть мельче на телефоне */
    }
    
    .schedule-row .time {
        min-width: 45px;
    }

    .event-organizers {
        flex-direction: column; /* Организаторы с новой строки на узких экранах */
        gap: 2px;
    }

}