/* ==========================================================================
   СТИЛИ ДЛЯ ПОДВАЛА ПОРТАЛА ОТиДО v2 (В стиле Шапки ОТиДО v4)
   ========================================================================== */

.app-footer {
    background-color: #2c3e50; /* Темный благородный фон в цвет элементов шапки */
    color: #ffffff;
    font-family: 'Segoe UI', Arial, sans-serif;
    padding: 40px 20px 20px 20px;
    margin-top: 50px;
    border-top: 3px solid #e67e22; /* Оранжевая акцентная линия сверху, как в гео-капсуле */
}

/* Сетка карты сайта */
.footer-sitemap-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 40px auto;
}

/* Колонки */
.f-col-sitemap h4 {
    color: #e67e22; /* Оранжевые заголовки */
    font-size: 16px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.f-col-sitemap ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.f-col-sitemap ul li {
    margin-bottom: 10px;
}

/* Ссылки и кнопки в подвале */
.f-col-sitemap a, 
.f-post-link-footer {
    color: #ecf0f1;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
}

.f-col-sitemap a:hover, 
.f-post-link-footer:hover {
    color: #e67e22; /* Подсветка оранжевым при наведении */
}

/* Заблокированные ссылки */
.footer-locked-link {
    font-size: 14px;
    color: #95a5a6;
    font-weight: 500;
    cursor: not-allowed;
    position: relative;
}
.footer-locked-link::after {
    content: " (скоро)";
    font-size: 11px;
    color: #7f8c8d;
}

/* Брендинг */
.footer-brand-title {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}

.footer-brand-copy {
    font-size: 12px;
    color: #b2bec3;
    line-height: 1.5;
    display: block;
}

.footer-link-secondary {
    color: #bdc3c7 !important;
}

/* Логотип в подвале */
.footer-logo {
    width: 60px !important;
    height: auto !important;
    max-width: 60px !important;
    max-height: 60px !important;
    margin-top: 10px;
    opacity: 0.7;
    display: block;
}

/* Нижня строка подвала */
.footer-container {
    border-top: 1px solid #34495e;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 13px;
    color: #b2bec3;
}

.footer-center {
    font-style: italic;
}

/* Капсула региона в подвале, похожая на капсулу в шапке */
.footer-right {
    background: #34495e;
    padding: 6px 14px;
    border-radius: 20px;
    color: #b2bec3;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #2c3e50;
}

.footer-status-val {
    color: #ffffff;
    font-weight: bold;
    border-bottom: 1px dashed #e67e22;
}

/* Адаптивность для мобилок */
@media screen and (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}
