
/* --- Footer: Remove the underline and baseline from under images. --- */
.site-footer a,
.site-footer a:hover,
.site-footer a:focus {
  text-decoration: none !important;
  border-bottom: 0 !important;
}

.site-footer .icon-wrap {
  display: inline-block;
  line-height: 0;
  text-decoration: none;
  border: 0;
}
.site-footer a:hover .icon-wrap {
  text-decoration: none;
}

/* --- The image in the link becomes a block, which means it no longer "inherits" the baseline. --- */
.site-footer a img {
  display: block;
}

/* --- There is a zero baseline for the link, so there is nothing left to underline. --- */
.site-footer a {
  line-height: 0;
}

/* --- Optional: Remove any pseudo-decorative elements that were injected by the theme. --- */
footer.site-footer::before,
footer.site-footer::after,
footer.site-footer a::before,
footer.site-footer a::after,
footer.site-footer *::before,
footer.site-footer *::after {
  content: "" !important;
}

/* Custom footer demarcator */
.site-footer-credits {
  display: block;
  border-top: 1px solid #ccc; /* Linie subțire, gri */
  padding-top: 10px; /* Spațiu între linie și text */
  margin-top: 20px; /* Spațiu față de conținutul anterior */
  font-size: 0.9em; /* Text ușor mai mic pentru subtilitate */
  color: #555; /* Gri închis pentru text */
}

/* Responsivitate: păstrează proporțiile pe ecrane mici */
@media (max-width: 600px) {
  .site-footer-credits {
    font-size: 0.85em;
    padding-top: 8px;
    margin-top: 15px;
  }
}

/* FOOTER RSS – Pachet cod (CSS + HTML)
   Folosește ce variantă preferi. Instrucțiuni rapide:
   1) Adaugă CSS-ul în assets/css/custom.css (la final).
   2) Alege UNA dintre variantele HTML (IMG extern sau SVG inline) și pune-o în _layouts/default.html (în <footer>),
      în locul blocului RSS curent. */

/* ====================================
   [1] CSS – FIX MINIMAL (recomandat)
   ==================================== */
/* Asigură vizibilitatea și spațierea pentru linkul RSS */
.site-footer a[title="RSS Feed"] {
  display: inline-block;     /* permite margin-left din HTML */
  line-height: 1;            /* evită colapsarea verticală */
  vertical-align: middle;    /* aliniere plăcută cu restul elementelor */
}

/* Imaginea RSS: forțează afișarea ca element inline vizibil */
.site-footer a[title="RSS Feed"] img {
  display: inline-block !important;
  width: 20px !important;
  height: 20px !important;
}

/* Păstrează demarcatorul deasupra creditelor */
.site-footer-credits {
  display: block;
  border-top: 1px solid #ccc;
  padding-top: 10px;
  margin-top: 20px;
  font-size: 0.9em;
  color: #555;
}
