﻿/**
 * Footer — EME Könyvkiadó
 */

/* =========================================
   Footer wrapper
   ========================================= */
.footer {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
}

.footer .container {
  background-color: transparent;
}
.footer a {
  transition: color 0.15s;
}
.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer .block-title {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}
.footer .block-title::after {
  display: none;
}
.footer .block p:last-of-type {
  margin: 0;
}
.footer p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.75);
}

/* =========================================
   Footer Top region (optional banner/intro)
   ========================================= */
.footer-top-container {
  position: relative;
  padding: 1.5rem 0 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.region-footer-top {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

/* =========================================
   Footer 4-column blocks
   ========================================= */
.footer-blocks-container {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  padding: 2rem 0 1.5rem;
  gap: 2rem;
}
.footer-block {
  flex: 1 1 220px;
  display: block;
  align-items: unset;
  justify-content: unset;
}
.footer-block li {
  padding: 4px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.85rem;
}
.footer-block li:last-child {
  border-bottom: none;
}
/* Footer site branding */
.footer .site-name-slogan {
  font-size: 1em;
  padding: 0;
  max-width: none;
}
.footer .site-name {
  font-size: 1.2em;
}
.footer .site-slogan {
  font-size: 0.78rem;
}
.footer .site-name-slogan::after {
  display: none;
}
.region-footer-two {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}
.footer .menu li {
  border-bottom: 2px solid #dbd2bf;
}
.footer .menu li a {
  color: #000;
  font-size: 1rem;
  padding: 4px 0;
}

#block-emekiado-netopia {
  background-color: var(--primary);
  text-align: center;
  padding: 12px;
  border-radius: 18px;
}

/* =========================================
   Footer bottom (copyright row)
   ========================================= */
.footer-bottom {
  padding-bottom: 70px;
  background-image: url("../images/header-bg.jpg");
  background-size: auto 70px;
  background-position: center bottom;
  background-repeat: repeat-x;
}
.footer-bottom-blocks-container {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  padding: 1rem 0;
  gap: 1rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.footer-bottom-block {
  flex: 1 1 auto;
}
.footer-bottom-container {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  padding: 0.75rem 0;
  gap: 1rem;
  font-size: 0.78rem;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom-container p {
  font-size: 0.78rem;
}
.footer-bottom-container p:last-child {
  margin: 0;
}
.footer-bottom-last-menu {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}
.footer-bottom-last-menu li {
  display: inline-block;
  padding: 0;
  border: none;
}
.footer-bottom-last-menu li a {
  padding: 2px 10px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  border-right: 1px solid rgba(255,255,255,0.15);
}
.footer-bottom-last-menu li:last-child a {
  border-right: none;
}
.footer-bottom-last-menu li a:hover {
  color: #fff;
}
