.pkp_brand_footer {
    display: none;
}

.footer-btm {
    display: none;
}

.container .site-footer-content {
    display: none;
}

.pkp_structure_footer_wrapper {
    background-color: #1E6292;
}


/* Для родительского контейнера футера в OJS */
.pkp_footer_content {
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden; /* Обрезает всё, что выходит за границы */
}

.jbpe-footer-block {
    background-color: #1E6292;
    color: #ffffff;
    padding: 8px 20px !important;
    margin: 0 !important;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-around;
    align-items: stretch; /* Растягивает секции по высоте родителя */
    /* max-width: 1200px; */
    /* margin: 0 auto;  Center the block */
    gap: 10px;
     /* Убираем всё, что может добавить высоту */
    line-height: 1.2;
}


/* ===== ССЫЛКИ: БЕЛЫЕ! ===== */
.jbpe-footer-block a,
.jbpe-footer-block a:link,
.jbpe-footer-block  a:visited {
    color: #ffffff !important;
    text-decoration: none;
    font-size: 13px;
}

.jbpe-footer-block a:hover {
    color: #e0e0e0 !important;
    text-decoration: underline;
}


.jbpe-footer-block .footer-section {
    flex: 1 1 0;
    padding: 4px 8px !important; /* Минимальные внутренние отступы */
    margin: 0 !important;
    /*
    min-width: 0px;     
    padding: 0 10px;
    */
}

.jbpe-footer-block .footer-section h3 {
    font-size: 1em;
    /* margin-bottom: 10px; */
    margin: 0 0 4px 0 !important; /* Убираем лишние отступы */
    padding: 0 0 4px 0 !important;
    color: #ffffff;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    /* padding-bottom: 6px; */
    font-weight: 600;
    line-height: 1.2
}

.jbpe-footer-block .footer-section ul {
    list-style: none;
    padding: 0 !important;
    margin: 0 !important;

.jbpe-footer-block .footer-section ul li {
    /*  margin-bottom: 4px !important;  */
    margin: 0 !important;
    padding: 0 !important; 
    line-height: 1.3; 
}

/* ===== ССЫЛКИ: БЕЛЫЕ! ===== */
.jbpe-footer-block .footer-section a,
.jbpe-footer-block .footer-section a:link,
.jbpe-footer-block .footer-section a:visited {
    color: #ffffff !important;
    text-decoration: none;
    font-size: 13px;
}

.jbpe-footer-block .footer-section a:hover {
    color: #e0e0e0 !important;
    text-decoration: underline;
}



.jbpe-footer-block .footer-section ul li a {
    color: #ffffff !important;
    text-decoration: none;
    font-size: 13px;
}

.jbpe-footer-block  .footer-section ul li a:hover {
    color: #e0e0e0 !important;
    text-decoration: underline;
}

/*
.jbpe-footer-block  .footer-section a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 12px; 
    transition: color 0.2s ease;
    display: inline-block;
    padding: 1px 0; 

}

.jbpe-footer-block  .footer-section a:hover {
    color: #ffffff;
    text-decoration: underline;
}
*/



/* Optional: Remove extra margin from the last item */
.jbpe-footer-block .footer-section ul li:last-child {
    margin-bottom: 0 !important;
}

/* ===== RESPONSIVE: Stack on mobile ===== */
@media (max-width: 768px) {
    .jbpe-footer-block {
        flex-wrap: wrap;
        padding: 8px 15px !important;
    }
    .jbpe-footer-block .footer-section {
        flex: 1 1 100%;
        min-width: 100%;
        /* margin-bottom: 15px; */
    }
}