/* Подвал сайта (footer.php). Подключается на всех страницах. */
/* Подвал v6: скруглённая карточка на белом фоне; слева белая панель бренда с контактами, справа Разделы и Журнал. Логотип как в шапке */
.a-foot { background: #fff; color: rgba(30,58,95,.7); padding-top: 1rem; }
.a-foot__card { display: grid; gap: 1.5rem; background: #eef3f9; border: 1px solid #dde5ef; border-radius: 2rem; padding: 1rem; }
@media (min-width: 1024px) { .a-foot__card { grid-template-columns: 24rem 1fr; padding: 1.25rem; gap: 2.5rem; } }

.a-foot__panel { background: #fff; border: 1px solid #dde5ef; border-radius: 1.5rem; padding: 1.75rem; display: flex; flex-direction: column; }
.a-foot__brand { display: inline-flex; align-items: center; gap: .6rem; color: #1E3A5F; text-decoration: none; margin-bottom: .9rem; }
.a-foot__name { font-size: 1.5rem; font-weight: 800; letter-spacing: -.01em; }
.a-foot__about { font-size: .875rem; line-height: 1.6; margin-bottom: 1.5rem; }
.a-foot__about b { color: #1E3A5F; font-weight: 600; }
.a-foot__phone { display: block; font-size: 1.5rem; font-weight: 800; color: #1E3A5F; text-decoration: none; line-height: 1.15; }
.a-foot__phone:hover { text-decoration: underline; text-underline-offset: 4px; }
.a-foot__mail { display: inline-block; font-size: .9375rem; color: rgba(30,58,95,.75); text-decoration: none; margin: .35rem 0 1.25rem; }
.a-foot__mail:hover { color: #1E3A5F; text-decoration: underline; }
.a-foot__social { display: flex; gap: .5rem; margin-bottom: 1.5rem; }
.a-foot__social a { width: 2.75rem; height: 2.75rem; border-radius: .85rem; background: #eef3f9; color: #1E3A5F; display: flex; align-items: center; justify-content: center; text-decoration: none; transition: all .15s; }
.a-foot__social a:hover { background: #1E3A5F; color: #fff; }
.a-foot__max { width: 1rem; height: 1rem; }
.a-foot__addr { margin-top: auto; display: flex; gap: .55rem; padding-top: 1.1rem; border-top: 1px solid #eef1f5; font-size: .8125rem; line-height: 1.5; }
.a-foot__addr i { color: rgba(30,58,95,.4); margin-top: .2rem; }

.a-foot__side { display: grid; gap: 2rem; padding: .75rem .5rem 1rem; }
@media (min-width: 768px) { .a-foot__side { grid-template-columns: .7fr 1.3fr; } }
@media (min-width: 1024px) { .a-foot__side { padding: 1.25rem 1.25rem 1.25rem 0; gap: 3rem; } }
.a-foot__title { display: flex; align-items: center; justify-content: space-between; gap: .75rem; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(30,58,95,.45); margin-bottom: 1.1rem; }
.a-foot__title a { font-size: .8125rem; letter-spacing: 0; text-transform: none; font-weight: 600; color: #1E3A5F; text-decoration: none; }
.a-foot__title a:hover { text-decoration: underline; }
.a-foot__nav { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem; }
.a-foot__nav a { display: flex; align-items: center; justify-content: space-between; padding: .6rem .8rem; border-radius: .75rem; font-size: 1rem; font-weight: 600; color: #1E3A5F; text-decoration: none; transition: background .15s; }
.a-foot__nav a::after { content: "→"; color: rgba(30,58,95,.3); transition: transform .15s, color .15s; }
.a-foot__nav a:hover { background: #fff; }
.a-foot__nav a:hover::after { color: #1E3A5F; transform: translateX(3px); }

.a-foot__posts { display: grid; gap: .6rem; }
.a-foot__post { display: grid; grid-template-columns: 5rem 1fr; gap: .9rem; align-items: center; padding: .5rem; border-radius: 1rem; text-decoration: none; transition: background .15s; }
.a-foot__post:hover { background: #fff; }
.a-foot__post img { width: 5rem; height: 3.75rem; object-fit: cover; border-radius: .7rem; display: block; background: #dde5ef; }
.a-foot__meta { display: flex; align-items: center; gap: .5rem; margin-bottom: .25rem; font-size: .6875rem; color: rgba(30,58,95,.45); }
.a-foot__cat { font-weight: 700; color: #1E3A5F; background: #fff; padding: .1rem .5rem; border-radius: 999px; }
.a-foot__post-t { font-size: .875rem; font-weight: 700; color: #1E3A5F; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.a-foot__bottom { display: flex; flex-direction: column; gap: .75rem; padding: 1.25rem .5rem 1.75rem; font-size: .8125rem; color: rgba(30,58,95,.55); }
@media (min-width: 900px) { .a-foot__bottom { flex-direction: row; justify-content: space-between; align-items: center; } }
.a-foot__legal { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.5rem; }
.a-foot__bottom a { color: rgba(30,58,95,.7); text-decoration: none; }
.a-foot__bottom a:hover { color: #1E3A5F; text-decoration: underline; }
