/* Efatelep Blog – arculati tokenek (style.css :root) */

.ef-blog__wrap,
.ef-blog .ef-single__wrap { max-width: 1160px; margin: 0 auto; padding: 0 var(--ef-gutter, 24px); }

/* ---- Archív / index ---- */
.ef-blog__header { padding: 32px 0 20px; }
.ef-blog__title { font-family: var(--ef-font-display, inherit); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; color: var(--ef-gray-900, #1a1917); margin: 0; }
.ef-blog__desc { color: var(--ef-gray-500, #7a7972); margin-top: 8px; }
.ef-blog__empty { color: var(--ef-gray-500, #7a7972); padding: 24px 0; }

.ef-post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 360px)); justify-content: start; gap: 20px; }
.ef-post-grid--3 { grid-template-columns: repeat(3, 1fr); }

.ef-post-card { display: flex; flex-direction: column; background: var(--ef-white, #fff); border: 1px solid var(--ef-gray-200, #e5e4e0); border-radius: 12px; overflow: hidden; transition: box-shadow .15s, transform .15s; }
.ef-post-card:hover { box-shadow: var(--ef-shadow-md, 0 4px 16px rgba(0,0,0,.07)); transform: translateY(-2px); }
.ef-post-card__imgwrap { display: block; aspect-ratio: 16 / 10; background: var(--ef-gray-100, #f3f2ef); }
.ef-post-card__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ef-post-card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; }
.ef-post-card__cat { font-size: 11px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: var(--ef-orange, #e8720c); text-decoration: none; }
.ef-post-card__title { font-size: 15px; font-weight: 600; line-height: 1.35; margin: 0; }
.ef-post-card__title a { color: var(--ef-gray-900, #1a1917); text-decoration: none; }
.ef-post-card__title a:hover { color: var(--ef-green, #00B342); }
.ef-post-card__meta { font-size: 12px; color: var(--ef-gray-500, #7a7972); display: flex; gap: 6px; align-items: center; }

.ef-blog__pagination { margin: 32px 0 8px; }
.ef-blog__pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 12px; margin: 0 3px; border: 1px solid var(--ef-gray-200, #e5e4e0); border-radius: 9px; text-decoration: none; color: var(--ef-gray-700, #3a3935); }
.ef-blog__pagination .page-numbers.current { background: var(--ef-green, #00B342); color: #fff; border-color: var(--ef-green, #00B342); }
.ef-blog__pagination .page-numbers:hover:not(.current) { border-color: var(--ef-green, #00B342); }

/* ---- Single ---- */
.ef-single__cover { max-width: 760px; margin: 26px auto 0; aspect-ratio: 3 / 2; border-radius: 14px; overflow: hidden; }
.ef-single__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ef-single__wrap { max-width: 760px; }
.ef-single__header { padding: 28px 0 16px; border-bottom: 1px solid var(--ef-gray-200, #e5e4e0); margin-bottom: 20px; }
.ef-single__cat { font-size: 11px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: var(--ef-orange, #e8720c); text-decoration: none; }
.ef-single__title { font-family: var(--ef-font-display, inherit); font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 700; line-height: 1.2; margin: 8px 0 12px; color: var(--ef-gray-900, #1a1917); }
.ef-single__meta { font-size: 13px; color: var(--ef-gray-500, #7a7972); display: flex; gap: 7px; align-items: center; flex-wrap: wrap; }
.ef-single__content { font-size: 16px; line-height: 1.75; color: var(--ef-gray-700, #3a3935); }
.ef-single__content h2 { font-size: 1.5rem; font-weight: 700; margin: 1.6em 0 .5em; color: var(--ef-gray-900, #1a1917); }
.ef-single__content h3 { font-size: 1.2rem; font-weight: 700; margin: 1.4em 0 .5em; }
.ef-single__content p { margin: 0 0 1.1em; }
.ef-single__content img { max-width: 100%; height: auto; border-radius: 10px; }
.ef-single__content a { color: var(--ef-green, #00B342); }
.ef-single__tags { margin: 22px 0 4px; display: flex; flex-wrap: wrap; gap: 8px; }
.ef-single__tags a { font-size: 12px; color: var(--ef-gray-500, #7a7972); background: var(--ef-gray-100, #f3f2ef); border-radius: 6px; padding: 4px 10px; text-decoration: none; }

.ef-share { display: flex; align-items: center; gap: 10px; margin: 20px 0; flex-wrap: wrap; }
.ef-share__label { font-size: 13px; color: var(--ef-gray-500, #7a7972); }
.ef-share__btn { font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--ef-gray-300, #cccbc6); background: var(--ef-white, #fff); color: var(--ef-gray-700, #3a3935); cursor: pointer; text-decoration: none; }
.ef-share__btn:hover { border-color: var(--ef-green, #00B342); color: var(--ef-green, #00B342); }

.ef-single__cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 28px 0 8px; padding: 20px 22px; background: var(--ef-green-light, #e8f5ee); border-radius: 14px; }
.ef-single__cta-text { display: flex; flex-direction: column; gap: 3px; }
.ef-single__cta-text strong { font-size: 16px; color: var(--ef-gray-900, #1a1917); }
.ef-single__cta-text span { font-size: 13px; color: var(--ef-gray-500, #7a7972); }
.ef-single__cta-btn { flex: 0 0 auto; background: var(--ef-orange, #e8720c); color: #fff; font-weight: 600; font-size: 14px; padding: 11px 20px; border-radius: 999px; text-decoration: none; }
.ef-single__cta-btn:hover { background: var(--ef-orange-hover, #d4660a); }

.ef-related { margin: 40px auto 8px; }
.ef-related__title { font-family: var(--ef-font-display, inherit); font-size: 1.4rem; font-weight: 700; margin: 0 0 16px; }

/* ---- Főoldal szekció ---- */
.ef-latest-posts { }

@media (max-width: 720px) {
  .ef-post-grid, .ef-post-grid--3 { grid-template-columns: 1fr; }
  .ef-single__cta { flex-direction: column; align-items: flex-start; }
}
