

/* Start:/bitrix/templates/dn2020/components/bitrix/news.detail/dairyevents2025/style.css?176199028110351*/
/* ============================================
   ДЕТАЛЬНАЯ СТРАНИЦА СОБЫТИЯ
   Сдержанная цветовая гамма
   ============================================ */

.dairy-event-detail {
    padding: 30px 0;
}

/* === БАННЕР === */
.event-banner {
    margin-bottom: 30px;
}

/* === ШАПКА СОБЫТИЯ === */
.event-detail-header {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.event-detail-header.event-past {
    opacity: 0.8;
    background: #fafafa;
}

.event-detail-header.event-today {
    border-left: 4px solid #f59e0b;
    background: linear-gradient(to right, #fef3c7 0%, #fff 10%);
}

.event-detail-header.event-ongoing {
    border-left: 4px solid #10b981;
    background: linear-gradient(to right, #d1fae5 0%, #fff 10%);
}

.event-detail-header.event-soon {
    border-left: 4px solid #3b82f6;
    background: linear-gradient(to right, #dbeafe 0%, #fff 10%);
}

/* === МЕТА ИНФОРМАЦИЯ === */
.event-meta {
    display: flex;
    gap: 25px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.event-date-badge-large {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px 25px;
    text-align: center;
    min-width: 120px;
    flex-shrink: 0;
}

.event-detail-header.event-today .event-date-badge-large {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-color: #f59e0b;
}

.event-detail-header.event-ongoing .event-date-badge-large {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border-color: #10b981;
}

.event-detail-header.event-soon .event-date-badge-large {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-color: #3b82f6;
}

.date-day {
    font-size: 48px;
    font-weight: 700;
    color: #1f2937;
    line-height: 1;
    margin-bottom: 8px;
}

.date-month {
    font-size: 16px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.date-year {
    font-size: 14px;
    color: #9ca3af;
    font-weight: 500;
}

.event-meta-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.event-full-date {
    display: flex;
    align-items: center;
    font-size: 16px;
    color: #4b5563;
    font-weight: 500;
}

/* === БЕЙДЖИ СТАТУСА === */
.event-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-status-badge.event-past {
    background: #f3f4f6;
    color: #6b7280;
}

.event-status-badge.event-today {
    background: #fef3c7;
    color: #92400e;
}

.event-status-badge.event-ongoing {
    background: #d1fae5;
    color: #065f46;
}

.event-status-badge.event-soon {
    background: #dbeafe;
    color: #1e40af;
}

.event-duration-badge {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    color: #6b7280;
    background: #f9fafb;
    padding: 6px 12px;
    border-radius: 6px;
}

/* === ЗАГОЛОВОК === */
.event-detail-title {
    font-size: 32px;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.3;
    margin: 0 0 20px 0;
}

/* === ЛОКАЦИЯ === */
.event-location-info {
    display: flex;
    gap: 12px;
    padding: 15px;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.location-icon {
    flex-shrink: 0;
    color: #6b7280;
    margin-top: 2px;
}

.location-details {
    flex: 1;
}

.location-item {
    margin-bottom: 8px;
}

.location-item:last-child {
    margin-bottom: 0;
}

.location-item strong {
    color: #1f2937;
    font-size: 15px;
}

.location-desc {
    color: #6b7280;
    font-size: 14px;
    margin-top: 4px;
}

/* === КОНТЕНТ === */
.event-content-section,
.event-program-section {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid #e5e7eb;
}

.section-title {
    font-size: 24px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
}

.event-description,
.program-content {
    color: #4b5563;
    font-size: 16px;
    line-height: 1.7;
}

.event-description p,
.program-content p {
    margin-bottom: 15px;
}

.event-description ul,
.program-content ul {
    padding-left: 25px;
    margin-bottom: 15px;
}

.event-description li,
.program-content li {
    margin-bottom: 8px;
}

/* === КНОПКА УЧАСТИЯ === */
.event-cta-section {
    margin-bottom: 30px;
}

.event-cta-section .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
}

/* === ВИДЖЕТЫ БОКОВОЙ ПАНЕЛИ === */
.event-countdown-widget,
.event-calendar-widget,
.event-participation-widget,
.event-external-link {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.widget-title {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 20px 0;
}

/* === ТАЙМЕР ОБРАТНОГО ОТСЧЁТА === */
.countdown-header {
    background: linear-gradient(135deg, #4b5563 0%, #374151 100%);
    margin: -25px -25px 20px -25px;
    padding: 20px 25px;
    border-radius: 8px 8px 0 0;
    color: white;
}

.countdown-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
}

#CDT {
    text-align: center;
}

.countdown-prefix {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.countdown-timer {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.number-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.number-wrapper .caption {
    font-size: 11px;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-weight: 600;
}

.number {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: #fff;
    padding: 12px 8px;
    border-radius: 8px;
    font-size: 24px;
    font-weight: 700;
    min-width: 60px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.number.end {
    font-size: 18px;
    padding: 16px;
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
}

/* === ССЫЛКИ НА КАЛЕНДАРИ === */
.calendar-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.calendar-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px 10px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    text-decoration: none;
    color: #4b5563;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.calendar-link:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
    text-decoration: none;
    color: #1f2937;
}

.calendar-link svg {
    flex-shrink: 0;
}

/* === ВИДЖЕТ УЧАСТИЯ === */
.widget-content {
    color: #4b5563;
    font-size: 14px;
    line-height: 1.6;
}

.widget-content p {
    margin-bottom: 12px;
}

.widget-content ul {
    padding-left: 20px;
}

.widget-content li {
    margin-bottom: 6px;
}

/* === АДАПТИВНОСТЬ === */

@media (max-width: 992px) {
    .event-detail-title {
        font-size: 26px;
    }
    
    .countdown-timer {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }
    
    .number {
        font-size: 20px;
        min-width: 50px;
        padding: 10px 6px;
    }
    
    .number-wrapper .caption {
        font-size: 10px;
    }
}

@media (max-width: 768px) {
    .event-detail-header {
        padding: 20px;
    }
    
    .event-meta {
        flex-direction: column;
        gap: 15px;
    }
    
    .event-date-badge-large {
        width: 100%;
        display: flex;
        justify-content: space-around;
        align-items: center;
        padding: 15px 20px;
    }
    
    .date-day {
        font-size: 36px;
    }
    
    .date-month {
        font-size: 14px;
    }
    
    .event-detail-title {
        font-size: 24px;
    }
    
    .calendar-links-grid {
        grid-template-columns: 1fr;
    }
    
    .countdown-timer {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .event-content-section,
    .event-program-section {
        padding: 20px 15px;
    }
    
    .event-countdown-widget,
    .event-calendar-widget,
    .event-participation-widget {
        padding: 20px 15px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .event-description,
    .program-content {
        font-size: 15px;
    }
}

/* === ПЕЧАТЬ === */
@media print {
    .event-countdown-widget,
    .event-calendar-widget,
    .event-cta-section,
    .event-external-link,
    .event-sidebar-extra {
        display: none;
    }
    
    .countdown-header {
        background: white;
        color: black;
    }
}
/* === ПЛАВАЮЩАЯ КНОПКА === */
.floating-back-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.btn-float {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
    transition: all 0.3s ease;
}

.btn-float:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.5);
    color: white;
    text-decoration: none;
}

@media (max-width: 768px) {
    .floating-back-btn {
        bottom: 20px;
        right: 20px;
    }
    
    .btn-float {
        width: 48px;
        height: 48px;
    }
}
/* End */
/* /bitrix/templates/dn2020/components/bitrix/news.detail/dairyevents2025/style.css?176199028110351 */
