/* ===========================================
   IDEZETEK – TÉMA OLDAL (idezetek-tema.css)
   Cél: csíkos / kártyás lista + szűrők + lapozó
   + LIKE gomb (❤️) nagyobb desktopon
   =========================================== */

/* --- Layout wrap (ne legyen túl széles) --- */
.idezet-wrap{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 0.75rem;
}

/* --- SEO blokkok (felül + alul) --- */
.seo-block{
  max-width: 1100px;
  margin: 0.9rem auto 0;
  padding: 0 0.75rem;
  line-height: 1.7;
  color: #333;
  font-size: 0.98rem;
}

/* Ha van <p>, akkor is justify; ha nincs, akkor is */
.seo-block,
.seo-block p{
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

/* Alul ugyanígy */
.tema-seo-bottom-text{
  max-width: 1100px;
  margin: 1.25rem auto 0;
  padding: 0 0.75rem;
  line-height: 1.7;
  color: #333;
  font-size: 0.98rem;
}
.tema-seo-bottom-text,
.tema-seo-bottom-text p{
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

/* --- (opcionális) banner képkivágás finomítás --- */
.tema-topkep{
  max-width: 1200px;
  margin: 0 auto 1.2rem;
  overflow: hidden;
  border-radius: 10px;
  height: 200px;
}
.tema-topkep img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* ===========================================
   Szűrők (Legújabb / Legrégebbi)
   =========================================== */
.szuro-container{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 0.75rem auto 0.9rem;
}

.szuro-container a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.38rem 0.8rem;
  border-radius: 999px;
  border: 1px solid #ddd;
  background: #fff;
  font-size: 0.95rem;
  text-decoration: none;
  color: #555;
  transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}

.szuro-container a:hover{
  background: #f6f6f6;
  border-color: #cfcfcf;
  color: #333;
}

.szuro-container a.active{
  background: #444;
  border-color: #444;
  color: #fff;
}

/* ===========================================
   Idézet lista – csíkos / kártyás
   =========================================== */
.idezet-list{
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0.5rem auto 0;
}

/* Egy sor */
.idezet-row{
  border: 1px solid #e8e8e8;
  border-radius: 14px;
  background: #fff;
  padding: 14px 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* kis vizuális “csík” bal oldalt */
.idezet-row{
  position: relative;
}
.idezet-row:before{
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 4px;
  border-radius: 999px;
  background: #e9e9e9;
}

/* felső sor: idézet + szerző */
.idezet-top{
  display: block;
  line-height: 1.55;
  padding-left: 10px; /* hely a bal csíknak */
}

/* az idézet link */
.idezet-title{
  display: inline;
  font-weight: 700;
  text-decoration: none;
  color: #222;
  border-bottom: 1px solid transparent; /* finom hover */
  transition: border-color 0.12s ease, color 0.12s ease;
}

/* idezet szöveg: justify (fontos: inline elemen nem működik, ezért span block) */
.idezet-title .quote-text{
  display: block;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  font-weight: 600; /* ne legyen “túl vastag” hosszúnál */
}

/* visszafogott hover: csak enyhe aláhúzás */
.idezet-title:hover{
  color: #111;
  border-bottom-color: rgba(0,0,0,0.22);
}

/* ha a main.css nagyon agresszív a:hover-t ad:
   ez lejjebb felülírja (visszafogja) */
.idezet-row a:hover{
  text-decoration: none !important;
}

/* szerző rész */
.idezet-author{
  display: inline-block;
  margin-top: 6px;
  margin-left: 0;
  white-space: normal;
  color: #555;
  font-size: 0.95rem;
}

/* szerző link finom */
.idezet-author a{
  text-decoration: none;
  color: #444;
  border-bottom: 1px solid rgba(0,0,0,0.18);
  transition: border-color 0.12s ease, color 0.12s ease;
}

.idezet-author a:hover{
  color: #222;
  border-bottom-color: rgba(0,0,0,0.35);
}

/* meta sorok */
.idezet-meta{
  margin-top: 10px;
  padding-left: 10px; /* csík miatt */
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  color: #666;
  font-size: 0.92rem;
  border-top: 1px dashed #eee;
  padding-top: 10px;
}

.idezet-meta .m{
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.idezet-meta .ico{
  line-height: 1;
  opacity: 0.9;
}

/* ===========================================
   LIKE – TELJESEN „CSUPASZ” (se kör, se kocka)
   =========================================== */

.idezet-meta .like-btn{
  all: unset;              /* 🔥 minden korábbi CSS törlése */
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  color: #666;
  font-size: 0.92rem;
  line-height: 1;
}

/* ikon */
.idezet-meta .like-btn .ico{
  font-size: 1rem;
  line-height: 1;
}

/* szám */
.idezet-meta .like-btn .like-count{
  font-size: 0.92rem;
  font-weight: 600;
}

/* hover */
.idezet-meta .like-btn:hover{
  color: #b30000;
}

/* már lájkolt */
.idezet-meta .like-btn.liked{
  color: #b30000;
}

/* letiltva */
.idezet-meta .like-btn[disabled]{
  opacity: 0.6;
  cursor: default;
}




/* ===========================================
   Téma chip (kattintható téma)
   =========================================== */
.tema-chip{
  text-decoration: none;
  border-bottom: 1px dotted rgba(0,0,0,0.25);
  color: inherit;
  transition: border-color 0.12s ease, color 0.12s ease;
}
.tema-chip:hover{
  color: #222;
  border-bottom-color: rgba(0,0,0,0.45);
}

/* ===========================================
   Lapozó – gombos, egységes
   (a te HTML: <nav class="lapozas"><div class="pagination">...)
   =========================================== */
.lapozas{
  margin: 1.6rem 0 1rem;
  text-align: center;
}

.lapozas .pagination{
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.2rem 0;
}

/* gombok */
.lapozas .page{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.38rem 0.8rem;
  border-radius: 999px;
  border: 1px solid #d7def0;
  background: #f6f8ff;
  color: #1f4d7b;
  font-size: 0.92rem;
  line-height: 1.2;
  text-decoration: none;
  min-width: 2.2rem;
  box-sizing: border-box;
  transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}

.lapozas a.page:hover{
  background: #e6eeff;
  border-color: #b8c9f2;
  color: #163a60;
}

.lapozas .page.current{
  background: #1f6feb;
  border-color: #1f6feb;
  color: #fff;
  font-weight: 700;
}

.lapozas .page.prev,
.lapozas .page.next{
  padding-inline: 0.95rem;
}

.lapozas .page.disabled{
  background: #f2f2f2;
  border-color: #e0e0e0;
  color: #9a9a9a;
  cursor: default;
}

.lapozas .page.ellipsis{
  border: none;
  background: transparent;
  color: #7a8aa5;
  min-width: auto;
  padding: 0 0.35rem;
}

/* ===========================================
   Mobil finomhangolás
   =========================================== */
@media (max-width: 600px){
  .idezet-row{
    padding: 12px 12px;
    border-radius: 12px;
  }
  .idezet-row:before{
    top: 9px;
    bottom: 9px;
  }
  .idezet-meta{
    gap: 8px 12px;
    font-size: 0.9rem;
  }
  .lapozas .page{
    font-size: 0.86rem;
    padding: 0.32rem 0.65rem;
  }
  .lapozas .page.prev,
  .lapozas .page.next{
    padding-inline: 0.75rem;
  }
}

/* ===========================================
   Extra: ha a .post .title h1 globálisan túl erős
   (nálad van uppercase + letter-spacing)
   itt finomíthatod az idézet témáknál.
   Töröld, ha nem kell.
   =========================================== */
/*
.post .title h1{
  text-transform: none;
  letter-spacing: 0.06em;
}
*/


/* ===== TĂ©maoldal fĹ‘cĂ­msor ===== */

.post .title h1 {
  font-size: 1.9rem;      /* vagy amit szĂ©pnek lĂˇtsz: 2rem, 2.1rem... */
  letter-spacing: 0.12em; /* ha tetszik ez a "szĂ©thĂşzott" hatĂˇs */
  text-transform: uppercase;
}

@media (max-width: 600px) {
  .post .title h1 {
    font-size: 1.5rem;  /* kb. 24px */
    line-height: 1.25;
    margin-top: 0.75rem;
  }
}