/* ============================================================
   BLOG – megosztott stílusok (index + cikkoldalak)
   Épít a css/style.css :root tokenjeire és a .container osztályra.
   ============================================================ */

.blog-hdr {
  background: linear-gradient(135deg, #0e3d24 0%, #1F8A4C 100%);
  padding: 16px 0;
}
.blog-hdr .container {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.blog-hdr-left { display: flex; align-items: center; gap: 12px; }
.blog-back {
  color: #fff; opacity: .9; font-size: 14px;
  display: inline-flex; align-items: center; gap: 6px; text-decoration: none;
}
.blog-back:hover { opacity: 1; }
.blog-back-sep { color: rgba(255,255,255,.35); font-size: 13px; }
.blog-logo { height: 26px; filter: brightness(0) invert(1); opacity: .95; display: block; }
.blog-hdr-cta {
  background: #fff; color: var(--green-dark);
  padding: 9px 16px; border-radius: 50px; font-size: 13px; font-weight: 700;
  text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
  white-space: nowrap;
}
.blog-hdr-cta:hover { background: var(--green-light); }

/* ---------- Blog index (lista) ---------- */
.blog-hero { padding: 3rem 0 2rem; text-align: center; }
.blog-hero h1 { font-size: 32px; margin-bottom: .5rem; color: var(--text); }
.blog-hero p { color: var(--muted); font-size: 16px; max-width: 560px; margin: 0 auto; }

.blog-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px; padding: 1rem 0 4rem;
}
.blog-card {
  background: var(--surface, #fff); border: 1px solid var(--border);
  border-radius: var(--radius-lg, 12px); padding: 24px; text-decoration: none;
  color: inherit; transition: transform .15s, box-shadow .15s; display: flex; flex-direction: column; gap: 10px;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px -10px rgba(0,0,0,.15); }
.blog-card-tag {
  display: inline-flex; align-items: center; gap: 6px; width: fit-content;
  background: var(--green-light); color: var(--green-dark);
  font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 20px;
}
.blog-card h2 { font-size: 19px; color: var(--text); margin: 0; line-height: 1.35; }
.blog-card p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.6; }
.blog-card-more { font-size: 13px; font-weight: 700; color: var(--green); margin-top: auto; }

/* ---------- Cikkoldal ---------- */
.article-wrap { max-width: 760px; margin: 0 auto; padding: 2.5rem 1.5rem 5rem; }
.article-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--green-light); color: var(--green-dark);
  font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 20px; margin-bottom: 1rem;
}
.article-wrap h1 { font-size: 30px; line-height: 1.25; color: var(--text); margin-bottom: .6rem; }
.article-meta { color: var(--muted); font-size: 13px; margin-bottom: 2rem; }
.article-intro { font-size: 17px; line-height: 1.75; color: var(--text); margin-bottom: 2rem; text-align: justify; }

.article-body h2 {
  font-size: 21px; color: var(--green-dark); margin: 2.2rem 0 .8rem;
  padding-top: .4rem; border-top: 1px solid var(--border);
}
.article-body h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.article-body p, .article-body li { font-size: 15.5px; line-height: 1.75; color: var(--text); text-align: justify; }
.article-body ul, .article-body ol { padding-left: 1.3rem; margin: .5rem 0 1.2rem; }
.article-body li { margin-bottom: 6px; }
.article-body strong { color: var(--text); }
.article-body a { color: var(--green); font-weight: 600; }

/* GYIK akkordeon – natív <details>, JS nélkül */
.article-faq-list { margin: 1rem 0 2rem; }
.article-faq {
  border: 1px solid var(--border); border-radius: var(--radius-md, 8px);
  margin-bottom: 10px; overflow: hidden;
}
.article-faq summary {
  cursor: pointer; list-style: none; padding: 14px 44px 14px 18px; position: relative;
  font-weight: 600; font-size: 15px; color: var(--text); background: var(--off-white, #FAFBFA);
}
.article-faq summary::-webkit-details-marker { display: none; }
.article-faq summary::after {
  content: '+'; position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  font-size: 20px; color: var(--green); font-weight: 400;
}
.article-faq[open] summary::after { content: '–'; }
.article-faq[open] summary { border-bottom: 1px solid var(--border); }
.article-faq-a { padding: 14px 18px; font-size: 14.5px; line-height: 1.7; color: var(--text); text-align: justify; }

.article-cta {
  background: var(--green-light); border-radius: var(--radius-lg, 12px);
  padding: 24px; text-align: center; margin: 2.5rem 0;
}
.article-cta p { font-size: 15px; color: var(--green-dark); margin-bottom: 14px; font-weight: 600; }
.article-cta a {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green); color: #fff; padding: 12px 24px; border-radius: 50px;
  font-size: 15px; font-weight: 700; text-decoration: none;
}
.article-cta a:hover { background: var(--green-hover); }

.article-related { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.article-related h3 { font-size: 15px; color: var(--muted); margin-bottom: .8rem; }
.article-related a { display: block; font-size: 15px; font-weight: 600; color: var(--green-dark); margin-bottom: 6px; text-decoration: none; }
.article-related a:hover { text-decoration: underline; }

/* ---------- Lábléc ---------- */
.blog-footer {
  background: var(--green-dark); color: rgba(255,255,255,.75);
  padding: 2rem 0; margin-top: 2rem; font-size: 14px;
}
.blog-footer .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.blog-footer a { color: rgba(255,255,255,.75); text-decoration: none; }
.blog-footer a:hover { color: #fff; }
.blog-footer-links { display: flex; gap: 18px; flex-wrap: wrap; }

@media (max-width: 640px) {
  .blog-hdr-cta span { display: none; }
  .blog-back span { display: none; }
  .article-wrap h1 { font-size: 24px; }
  .blog-hero h1 { font-size: 26px; }
}
