/* ========== 📦 Footer Grid Layout ========== */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
  background-color: #111;
}

/* === Βασικό Footer === */
.site-footer {
  background-color: #111;
  color: #f1f1f1;
  padding: 2rem 1rem;
  font-size: 0.9rem;
}
.site-footer a {
  color: #ddd;
  text-decoration: none;
  transition: color 0.3s ease;
}
.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}
.site-footer p {
  text-align: center;
  margin: 0;
  padding: 1rem 0;
  border-top: 1px solid #333;
  font-size: 0.9rem;
  color: #aaa;
}

/* === Footer Grid Blocks με animation === */
.footer-grid > div {
  background-color: #1b1b1b;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid #333;
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
}
.footer-about-wrapper,
.footer-meta,
.footer-subscribe-form {
  animation-delay: 0.4s;
}

/* === Κοινά για όλα τα sections === */
.footer-meta,
.footer-popular-wrapper,
.footer-sub-stats {
  background-color: rgba(255, 255, 255, 0.02);
  padding: 1rem;
  border-radius: 6px;
}
.footer-grid h2,
.footer-meta h2,
.footer-popular-title,
.footer-about-wrapper h2,
.footer-social-title,
.footer-subscribe-title,
.footer-stats-title {
  background: var(--color-blue-dark);
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  text-align: center;
  padding: 0.4rem;
}

/* ========🔖 Tags και 📂 Κατηγορίες ======= */
.footer-categories-wrapper,
.tag-cloud-wrapper {
  text-align: center;
  background-color: rgba(255, 255, 255, 0.03);
  padding: 1rem;
  border-radius: 4px;
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
  animation-delay: 0.3s;
}
.tag-cloud-wrapper {
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  margin-top: 1.5rem;
}
.tag-cloud-title,
.footer-categories-title {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: #fff;
}
.tag-cloud a,
.footer-category-link {
  display: inline-block;
  margin: 0.15rem;
  padding: 0 0.4rem;
  background-color: var(--color-blue-dark);
  color: #fff;
  border-radius: 4px;
  font-size: 0.8rem !important;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.tag-cloud a:hover,
.footer-category-link:hover {
  background-color: var(--color-red);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transform: translateY(-1px);
  text-decoration: none !important;
}
/* ========== 📰 Δημοφιλή =========== */
.footer-popular-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
  animation-delay: 0.5s;
}
.popular-post {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 0.7rem;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}
.popular-post:hover {
  background-color: rgba(255, 255, 255, 0.1);
}
.popular-post-link {
  display: flex;
  align-items: center;
  text-decoration: none !important;
  color: inherit;
  width: 100%;
}
.popular-thumb {
  flex: 0 0 30%;
  max-width: 30%;
}
.popular-thumb img {
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 3;
  object-fit: cover;
  border-radius: 4px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.popular-thumb img:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.popular-title {
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  line-height: 1.3;
  max-height: 2.6em;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.popular-meta {
  flex: 1;
  padding-left: 0.6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.popular-date {
  font-size: 0.7rem;
  color: #eee;
  margin-top: 0.3rem;
}
/* ==========✍️ Γιατί Ροβεσπιέρος ========== */
.footer-about-wrapper {
  background-color: rgba(255, 255, 255, 0.03); /* εξωτερικό επίπεδο */
  padding: 1.2rem;
  border-radius: 6px;
  border: 1px solid #333;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
  animation-delay: 0.7s;
}
.footer-about-inner {
  background-color: rgba(255, 255, 255, 0.05); /* εσωτερικό φόντο */
  padding: 1rem;
  border-radius: 4px;
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.6;
  text-align: justify;
}

.footer-about-inline-image {
  float: left;
  margin-right: 1rem;
  margin-bottom: 0.3rem;
  width: 100px;
  height: 100px;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.footer-about-inner a {
  color: var(--color-blue-hover);
}
.footer-about-inner a:hover {
  color: var(--color-yellow);
}

/* ========= 🔗 Social Menu =========== */
.footer-social {
  margin-top: 1.2rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-direction: column;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 1rem;
}
.footer-social-title {
  margin: 0 1rem !important;
}
.footer-social .social-icons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-social .social-link {
  color: #ccc;
  font-size: 1.2rem;
  transition: color 0.2s ease;
}
.footer-social .social-link:hover {
  color: var(--color-yellow);
}

/* ========== 📊 Site Counter ========== */
.footer-sub-stats {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
  animation-delay: 0.9s;
}
.footer-sub-inner {
  background-color: rgba(255, 255, 255, 0.05); 
  padding: 1.2rem;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  color: #ccc;
}
/* ====== 🔢 Custom Visitor Counter (με SVG δίπλα) ==== */
.site-counter {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1rem 2rem;
  background-color: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
  width: fit-content;
  margin: -1rem auto;
}

/* SVG wrapper */
.counter-icon-wrapper {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.counter-icon {
  width: 40px;
  height: 70px;
  display: block;
}

/* Δεξιά μπλοκ με Visitors & Today */
.counter-values {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  color: #fff;
}

/* Εσωτερικά blocks */
.site-total,
.site-today {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

/* Αριθμός */
.site-counter .number {
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--color-yellow);
  line-height: 1.2;
}
/* Ετικέτα */
.site-counter .label {
  font-size: 0.85rem;
  color: #ccc;
}

/* ============ 🔎 Search ============= */
.footer-search-wrapper {
  text-align: center;
  margin: 2rem 0.5rem;
  background-color: rgba(255, 255, 255, 0.05);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  padding: 0 1rem 1rem;
}
.footer-search-form {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}
.footer-search-input {
  padding: 0.6rem 1rem;
  font-size: 1rem;
  border-radius: 4px;
  border: 1px solid #555;
  background-color: #fff;
  color: #000;
  width: var(--search-expanded-width);
  height: 1.8rem;
}
.footer-search-input::placeholder {
  color: #777;
}
.footer-search-button {
  background-color: var(--color-blue-dark);
  border: none;
  padding: 0.4rem 0.7rem;
  border-radius: 4px;
  cursor: pointer;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-search-button:hover {
  background-color: var(--color-red);
}
.footer-search-button svg {
  width: 18px;
  height: 18px;
}

/* ========== 📩 Subscribe ========== */
.footer-subscribe-form {
  padding: 1rem;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-subscribe-title {
  background: var(--color-blue-dark);
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  padding: 0.5rem;
}

.footer-subscribe-form .footer-input {
  border: 1px solid #333;

  padding: 0.6rem 1rem;
  font-size: 1rem;
  border-radius: 4px;
  background-color: #fff;
  color: #000;
  width: 260px;
  max-width: 90%;
}

.footer-subscribe-form .footer-button {
  background-color: var(--color-blue-dark);
  border: none;
  padding: 0.6rem;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  margin-top: 1rem;
  transition: background-color 0.3s ease;
}

.footer-subscribe-form .footer-button:hover {
  background-color: var(--color-red);
}

/* ======== Επίλογος =====*/
.footer-attribution {
  text-align: center;
  margin: 0;
  font-size: 0.9rem;
  color: #999;
  border-top: 1px solid #555;
  border-bottom: 1px solid #555;
  padding: 1rem;
}

.footer-attribution .flag-palestine {
   display: inline-block;
   vertical-align: middle;
   width: 2em;
   margin-right: 0.7em;
}

/* ========== 🎞️ Animations ========== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/*========= Others===========*/
.no-js-warning {
  background: #c00;
  color: #fff;
  text-align: center;
  padding: 1rem;
  font-weight: bold;
}