
.tabs-nav 
{ display: flex;}


.custom-tab {
    width:33.33333%;
    height: 130px;
    background: #0055AC;
    margin-bottom: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.custom-tab p {   
    color: #fff;
    font-size: 36px;
    font-weight: 900;
    margin: 0;
    pointer-events: none;
}

.custom-tab.active {
    background: #FF4A4A;
    transform: scaleX(1.1) translateX(5px);
    
}

.custom-tab.active p
{color:#ffffff !important;}

/* 3. Контентная часть */
.tabs-container {
    position: relative;
    min-height: 500px;
    background: rgba(255,255,255,0.05); /* Легкий фон для видимости границ */
    overflow: hidden;
}

.custom-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    /* Эффект: сжатие в центр */
    transform: scale(0.9);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 1;
}

.custom-content.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 2;
    
}


.event-card { display: flex; margin-bottom: 40px; }
.event-card img { width:90%; height:auto; object-fit: cover; border-radius: 4px; border: 4px solid #93C01C; }
.event-text { padding-left: 15px; }
.event-text  p a { color: #fff !important; text-decoration: none; font-size: 20px; font-weight: bold; display: block; text-align: center; }

.date-badge { 
    background: #006189; color: #93C01C; 
    padding: 3px 10px; border-radius: 4px; 
    font-size: 18px; display: inline-block; margin-top: 5px;
}

.event-main img { width: 90%; height: auto; border-radius: 8px; border: 4px solid #93C01C; }
.event-text-big p a { color: #fff; font-size: 28px; text-decoration: none; font-weight: bold; }

@media (max-width: 1566px) {

.custom-tab p {   
    color: #fff;
    font-size: 28px;
    font-weight: 900;
    margin: 0;
    pointer-events: none;
}    

}

@media screen and (max-width: 768px) {

.tabs-nav
{display:block;}

.custom-tab {
    width:100%;
    height:80px;
    background: #D2D5CB;
    margin-bottom:5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    margin: 5px 0px;
}

.custom-tab p {
    transform: rotate(0deg);
    color: #fff;
    font-size: 26px;
    font-weight: 900;
    margin: 0;
    pointer-events: none;
}

}