/* ============================================================================
   FOOTER — підвал: 4 колонки, знизу копірайт і лічильник переглядів.
   Перенесено з inline <style> у d1/footer.php.
   Іконки контактів — inline-SVG (.ft2-cts svg), а не Font Awesome <i>.
   ========================================================================== */

.ft2 {
  background: var(--c-footer);
  color: #c3d7e8;
  margin-top: auto;
  font-size: 14px;
}

.ft2-in {
  max-width: var(--w-page);
  margin: 0 auto;
  padding: 40px var(--wrap-pad) 26px;
  display: grid;
  grid-template-columns: minmax(240px, 1.6fr) 1fr 1fr minmax(230px, 1.2fr);
  gap: 32px 34px;
}

.ft2 h4 {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #7fb4d8;
  font-weight: 700;
  margin: 0 0 15px;
}

.ft2-brand img { height: 44px; width: auto; display: block; margin-bottom: 14px; }
.ft2-brand p { font-size: 13.5px; line-height: 1.6; color: #a9c4da; margin: 0; }
.ft2-brand .nas { font-size: 12.5px; color: #7fb4d8; margin-top: 9px; }

.ft2 ul { list-style: none; margin: 0; padding: 0; }
.ft2 ul li { margin-bottom: 9px; }

.ft2 a { color: #c3d7e8; text-decoration: none; transition: color .16s; }
.ft2 a:hover { color: #fff; text-decoration: underline; }

.ft2-cts li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.5;
  margin-bottom: 11px;
}
.ft2-cts li > span { min-width: 0; }
.ft2-cts svg { color: #5b93c0; flex: none; margin-top: 3px; }

.ft2-bottom { border-top: 1px solid rgba(255, 255, 255, .11); }
.ft2-bottom-in {
  max-width: var(--w-page);
  margin: 0 auto;
  padding: 16px var(--wrap-pad);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: #8fb2ce;
  text-align: center;
}
.ft2-copy { line-height: 1.5; }

.ft2-views {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  row-gap: 4px;
  text-align: center;
}
.ft2-views .v { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.ft2-views .lbl { color: #8fb2ce; font-size: 12.5px; margin-left: 5px; }
.ft2-views .dv { width: 1px; height: 14px; background: rgba(255, 255, 255, .16); }

@media (max-width: 1000px) {
  .ft2-in { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 600px) {
  .ft2-in { grid-template-columns: 1fr; padding: 30px var(--wrap-pad-sm) 22px; }
  .ft2-bottom-in { padding: 16px var(--wrap-pad-sm); }
}
