.event-card {
    max-width: 1200px; /* Для широкоформатных мониторов */
    margin: 0 auto;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    font-family: Arial, sans-serif;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.event-card--educational {
    background-color: #e6f2ff;
    border-color: #3399ff;
}

.event-card--educational .event-card__title {
    color: #3399ff;
    border-bottom: 2px solid #3399ff;
}

.event-card--social {
    background-color: #e6ffe6;
    border-color: #33cc33;
}

.event-card--social .event-card__title {
    color: #33cc33;
    border-bottom: 2px solid #33cc33;
}

.event-card--sports {
    background-color: #ffe6e6;
    border-color: #ff3333;
}

.event-card--sports .event-card__title {
    color: #ff3333;
    border-bottom: 2px solid #ff3333;
}

.event-card--creative {
    background-color: #f2e6ff;
    border-color: #9933ff;
}

.event-card--creative .event-card__title {
    color: #9933ff;
    border-bottom: 2px solid #9933ff;
}

.event-card__header {
    border-bottom: none;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.event-card__title {
    font-size: 2em;
    margin: 0;
    text-align: center;
    padding-bottom: 10px;
}

.event-card__section {
    margin-bottom: 20px;
    opacity: 0;
    animation: slideIn 0.5s forwards;
    animation-delay: 0.5s;
}

.event-card__section:nth-child(2) {
    animation-delay: 0.7s;
}

.event-card__section:nth-child(3) {
    animation-delay: 0.9s;
}

.event-card__section:nth-child(4) {
    animation-delay: 1.1s;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

.event-card__section h2 {
    font-size: 1.5em;
    color: #444;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
    margin-bottom: 15px;
}

.info-columns {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.info-column {
    flex: 1;
}

.event-card__info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding: 5px 0;
    border-bottom: 1px dotted #eee;
    transition: transform 0.3s;
}

.event-card__info-item:hover {
    transform: scale(1.02);
}

.event-card__info-label {
    font-weight: bold;
    color: #666;
    flex: 1;
}

.event-card__info-value {
    color: #333;
    flex: 1;
    text-align: right;
}

.organizers-container {
    display: flex;
    gap: 20px;
    align-items: center;
}

.organizers-list {
    flex: 1;
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1199px) {
    .organizers-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .organizers-list {
        grid-template-columns: repeat(1, 1fr);
    }
}

.organizer-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: box-shadow 0.3s;
}

.organizer-item:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.organizer-employee {
    font-weight: bold;
    color: #333;
    flex-grow: 1;
}

.organizer-percent {
    color: #666;
    font-size: 0.9em;
    white-space: nowrap;
    margin-left: auto;
}

.organizers-pie {
    flex: none;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    animation: pieSpin 2s linear infinite;
}

@keyframes pieSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.description-content {
    line-height: 1.6;
    color: #555;
    text-align: justify;
}

.links-list, .files-list {
    list-style: none;
    padding: 0;
}

.links-list li, .files-list li {
    margin-bottom: 10px;
    padding: 5px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.links-list li:hover, .files-list li:hover {
    background-color: #f0f0f0;
}

.links-list a, .files-list a {
    color: #007bff;
    text-decoration: none;
}

.links-list a:hover, .files-list a:hover {
    text-decoration: underline;
}

.event-card__footer {
    text-align: center;
    font-size: 0.8em;
    color: #999;
    margin-top: 20px;
    border-top: 1px solid #eee;
    padding-top: 10px;
}

@media (max-width: 768px) {
    .event-card {
        max-width: 100%;
        padding: 15px;
    }
    
    .info-columns {
        flex-direction: column;
        gap: 0;
    }
    
    .info-column {
        width: 100%;
    }
    
    .event-card__info-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .event-card__info-value {
        text-align: left;
        margin-top: 5px;
    }
    
    .organizer-item {
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }
    
    .event-card__title {
        font-size: 1.8em;
    }
    
    .event-card__section h2 {
        font-size: 1.3em;
    }
    
    .organizers-container {
        flex-direction: column;
    }
    
    .organizers-pie {
        width: 150px;
        height: 150px;
        margin: 20px auto;
    }
}