/* =========================================================
   BLOG – PUBLIC STYLESHEET
   Design tokens are inherited from services-public.css
   ========================================================= */

/* ── Page shell ─────────────────────────────────────────── */
.blog-page-body {
  background: #f2f5f9;
}

.blog-list-section {
  padding-top: 36px;
  padding-bottom: 52px;
}

/* ── Two-column layout (sidebar + main) ─────────────────── */
.blog-layout {
  display: grid;
  grid-template-columns: minmax(300px, 340px) minmax(0, 1fr);
  gap: clamp(24px, 2.5vw, 36px);
  align-items: start;
}

.blog-main {
  min-width: 0;
}

.blog-sidebar {
  position: sticky;
  top: 88px;
  min-width: 0;
}

/* =========================================================
   SIDEBAR WIDGETS
   ========================================================= */
.blog-widget {
  background: #fff;
  border: 1px solid rgba(15, 40, 64, 0.08);
  border-radius: 18px;
  box-shadow: 0 6px 24px rgba(15, 40, 64, 0.07);
  padding: 22px 24px;
  margin-bottom: 16px;
}

.blog-widget:last-child {
  margin-bottom: 0;
}

.blog-widget h3 {
  margin: 0 0 16px;
  color: var(--navy, #1e3a50);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.15px;
}

/* Search form */
.blog-search-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.blog-search-form input[type="search"] {
  width: 100%;
  box-sizing: border-box;
  border: 1.5px solid #dde7f0;
  border-radius: 12px;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 0.94rem;
  color: var(--navy, #1e3a50);
  background: #f8fbff;
  outline: none;
  transition: border-color 0.2s;
}

.blog-search-form input[type="search"]:focus {
  border-color: var(--brand, #4a8ea6);
  background: #fff;
}

.blog-search-form .tpl-btn {
  background: var(--brand, #4a8ea6);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 12px 18px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.blog-search-form .tpl-btn:hover {
  background: var(--brand-dark, #3a7a94);
}

/* Date / archive list */
.blog-widget-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.blog-widget-list li + li {
  margin-top: 2px;
}

.blog-widget-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  text-decoration: none;
  color: #4a6070;
  font-size: 0.92rem;
  border-radius: 12px;
  padding: 10px 14px;
  transition: background 0.15s, color 0.15s;
}

.blog-widget-list a:hover {
  background: #f0f6fb;
  color: var(--navy, #1e3a50);
}

.blog-widget-list a.is-active {
  background: var(--brand, #4a8ea6);
  color: #fff;
  font-weight: 700;
}

.blog-cat-count {
  flex-shrink: 0;
  font-size: 0.8rem;
  opacity: 0.75;
  font-variant-numeric: tabular-nums;
}

.blog-widget-list a.is-active .blog-cat-count {
  opacity: 0.95;
}

.blog-widget-empty {
  margin: 0;
  color: #8a9db0;
  font-size: 0.9rem;
  font-style: italic;
}

.blog-widget-clear {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 0.88rem;
  color: var(--brand, #4a8ea6);
  text-decoration: none;
  font-weight: 600;
}

.blog-widget-clear:hover {
  text-decoration: underline;
}

/* Tag cloud */
.blog-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  border: 1.5px solid #d8e6f0;
  color: #3e5a70;
  background: #f4f9fc;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.blog-tag span {
  opacity: 0.65;
  font-weight: 400;
}

.blog-tag.is-active,
.blog-tag:hover {
  background: var(--brand, #4a8ea6);
  border-color: var(--brand, #4a8ea6);
  color: #fff;
}

.blog-tag.is-active span,
.blog-tag:hover span {
  opacity: 0.85;
}

/* Sidebar on post page – combined single widget */
.blog-widget--big {
  padding: 24px 24px;
}

.blog-side-section {
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid #ecf1f6;
}

.blog-side-section:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.blog-side-section h3 {
  margin: 0 0 10px;
}

.blog-post-meta--side {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
}

.blog-post-meta--side span {
  background: #eef4fb;
  color: #3e5a70;
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* =========================================================
   NEWS GRID + CARDS  (blog list & related)
   ========================================================= */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.news-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(15, 40, 64, 0.08);
  box-shadow: 0 4px 18px rgba(15, 40, 64, 0.07);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15, 40, 64, 0.13);
}

.news-card-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  flex-shrink: 0;
  background: #dce8f0;
}

.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.news-card:hover .news-card-img img {
  transform: scale(1.04);
}

.news-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 20px 20px;
}

.blog-card-kicker {
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--brand, #4a8ea6);
}

.news-card-title {
  margin: 0 0 8px;
  color: var(--navy, #1e3a50);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}

.blog-card-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 10px;
}

.blog-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #7a90a4;
  font-size: 0.78rem;
  font-weight: 600;
}

.blog-card-meta i {
  font-size: 0.75rem;
}

.news-card-lead {
  margin-top: auto;
}

.news-card-lead__sub {
  margin: 0;
  color: #5a6e80;
  font-size: 0.875rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Kereső-stílusú blog kártya + kép (lista, cikkoldal) */
.blog-result-list {
  display: grid;
  gap: 16px;
}

.blog-list-section .blog-result-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 4px;
}

.blog-result-card.ssr-result-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  height: 100%;
}

.blog-result-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  flex-shrink: 0;
  overflow: hidden;
  background: linear-gradient(145deg, #e8f4f6 0%, #dce8f0 100%);
}

.blog-result-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.blog-result-card:hover .blog-result-card__media img {
  transform: scale(1.05);
}

.blog-result-card__media-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #1f8794;
  font-size: 2rem;
  opacity: 0.45;
}

.blog-result-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px 18px 18px;
}

.blog-result-card .ssr-result-card__title {
  font-size: 16px;
}

.blog-result-card .ssr-result-card__snippet {
  font-size: 12px;
  margin-bottom: 10px;
}

.blog-result-card .ssr-result-card__cta {
  min-height: 28px;
  padding: 5px 10px;
  font-size: 10px;
}

.blog-result-card .blog-card-kicker {
  margin: 0 0 10px;
}

.blog-result-card .ssr-result-card__top {
  margin-bottom: 8px;
}

.blog-result-card .ssr-result-card__snippet {
  flex: 1;
  margin-bottom: 14px;
  -webkit-line-clamp: 3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-result-card .ssr-result-card__meta {
  margin-top: auto;
}

.blog-result-card .ssr-result-tag i {
  margin-right: 4px;
  font-size: 11px;
}

@media (max-width: 1080px) {
  .blog-list-section .blog-result-list,
  .blog-article-related__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .blog-list-section .blog-result-list,
  .blog-article-related__list {
    grid-template-columns: 1fr;
  }
}

/* Empty state */
.blog-empty {
  background: #fff;
  border: 1.5px dashed #c8d8e8;
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
}

.blog-empty h2 {
  margin: 0 0 10px;
  color: var(--navy, #1e3a50);
  font-size: 1.2rem;
  font-weight: 700;
}

.blog-empty p {
  margin: 0;
  color: #6a8090;
  line-height: 1.65;
  font-size: 0.95rem;
}

/* Pagination */
.blog-pagination {
  margin-top: 32px;
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.blog-pagination .tpl-btn--outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid #d0dde8;
  background: #fff;
  color: var(--navy, #1e3a50);
  text-decoration: none;
  font-size: 0.9rem;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.blog-pagination .tpl-btn--outline:hover {
  border-color: var(--brand, #4a8ea6);
  background: var(--brand, #4a8ea6);
  color: #fff;
}

.blog-pagination__meta {
  color: #6a8090;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0 6px;
}

/* =========================================================
   BLOG POST – CIKKOLDAL (szerkesztői / kifinomult)
   ========================================================= */
.blog-post-content {
  padding-top: clamp(22px, 2.8vw, 32px);
  padding-bottom: clamp(40px, 5vw, 64px);
}

.blog-post-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(248px, 280px);
  gap: clamp(20px, 3vw, 36px);
  align-items: start;
}

.blog-post-main {
  min-width: 0;
}

.blog-post-aside .blog-sidebar {
  position: sticky;
  top: 88px;
}

.blog-post-page .pr-hero.blog-hero--post {
  padding-bottom: clamp(36px, 4vw, 44px);
}


/* — Cikk törzs — */
.blog-article {
  margin: 0;
}

.blog-article__sheet {
  background: #fff;
  border: 1px solid #e8eef4;
  border-radius: 14px;
  box-shadow: 0 3px 18px rgba(15, 40, 64, 0.05);
  overflow: hidden;
}

.blog-article__figure {
  margin: 0;
  overflow: hidden;
  background: #e8eef3;
}

.blog-article__figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(40vh, 380px);
  object-fit: cover;
}

.blog-article__body {
  padding: clamp(18px, 2.5vw, 26px) clamp(18px, 2.8vw, 28px) clamp(22px, 2.8vw, 28px);
  font-family: Montserrat, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.68;
  letter-spacing: 0.015em;
  color: #3a4f61;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.blog-article__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.blog-article__tags a {
  display: inline-block;
  padding: 5px 0;
  border-bottom: 1px solid rgba(31, 135, 148, 0.35);
  color: #3a7a94;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}

.blog-article__tags a:hover {
  color: #1f8794;
  border-bottom-color: #1f8794;
}

.blog-article__intro {
  margin: 0 0 1.35em;
}

.blog-article__intro p {
  margin: 0 0 1.25em;
}

.blog-article__intro p:last-child {
  margin-bottom: 0;
}

/* Bevezető ne jelenjen meg idézetként (CMS blockquote stb.) */
.blog-article__intro blockquote {
  margin: 0 0 1.35em;
  padding: 0;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
  font-style: normal;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
}

.blog-article__prose {
  margin: 0;
}

.blog-article__prose > :first-child {
  margin-top: 0;
}

.blog-article__prose p {
  margin: 0 0 1.25em;
}

.blog-article__prose p:last-child {
  margin-bottom: 0;
}

.blog-article__prose h1,
.blog-article__prose h2,
.blog-article__prose h3,
.blog-article__prose h4 {
  font-family: Poppins, system-ui, sans-serif;
  color: #1a3347;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.blog-article__prose h2 {
  margin: 1.75em 0 0.55em;
  font-size: 1.125rem;
  font-weight: 700;
}

.blog-article__prose h3 {
  margin: 1.45em 0 0.45em;
  font-size: 1rem;
  font-weight: 600;
}

.blog-article__prose h4 {
  margin: 1.2em 0 0.35em;
  font-size: 0.875rem;
  font-weight: 600;
}

.blog-article__prose ul,
.blog-article__prose ol {
  margin: 0 0 1.35em;
  padding-left: 1.35em;
  color: #2a3d4d;
}

.blog-article__prose li {
  margin-bottom: 0.45em;
  padding-left: 0.2em;
}

.blog-article__prose li::marker {
  color: #1f8794;
}

.blog-article__prose a {
  color: #1a7a88;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgba(31, 135, 148, 0.4);
  text-underline-offset: 3px;
  transition: color 0.2s, text-decoration-color 0.2s;
}

.blog-article__prose a:hover {
  color: #156672;
  text-decoration-color: #156672;
}

.blog-article__prose strong,
.blog-article__prose b {
  font-weight: 600;
  color: #1a3347;
}

.blog-article__prose em,
.blog-article__prose i:not([class]) {
  font-style: italic;
}

.blog-article__prose blockquote {
  margin: 1.75em 0;
  padding: 0.25em 0 0.25em 1.1em;
  border: none;
  border-left: 3px solid #c5e2e8;
  border-radius: 0;
  background: transparent;
  font-family: inherit;
  font-size: inherit;
  font-style: italic;
  font-weight: inherit;
  line-height: inherit;
  color: #3a5266;
}

.blog-article__prose blockquote p {
  margin-bottom: 0.5em;
}

.blog-article__prose figure {
  margin: 2em 0;
}

.blog-article__prose figure img,
.blog-article__prose img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.blog-article__prose figure img {
  box-shadow: 0 6px 24px rgba(15, 40, 64, 0.08);
}

.blog-article__prose figcaption {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: #7a8f9e;
  text-align: center;
}

.blog-article__prose hr {
  margin: 2.25em 0;
  border: none;
  border-top: 1px solid #e2e9f0;
}

.blog-article__prose table {
  width: 100%;
  margin: 1.5em 0;
  border-collapse: collapse;
  font-size: 15px;
}

.blog-article__prose th,
.blog-article__prose td {
  padding: 10px 14px;
  border: 1px solid #e2e9f0;
  text-align: left;
}

.blog-article__prose th {
  background: #f6f9fb;
  font-weight: 600;
  color: #1a3347;
}

.blog-article__prose code {
  font-size: 0.9em;
  padding: 2px 6px;
  border-radius: 4px;
  background: #f3f7f9;
  color: #1a3347;
}

.blog-article__prose pre {
  margin: 1.5em 0;
  padding: 18px 20px;
  border-radius: 12px;
  background: #1a3347;
  color: #e8f0f4;
  font-size: 14px;
  line-height: 1.65;
  overflow-x: auto;
}

.blog-article__prose pre code {
  padding: 0;
  background: transparent;
  color: inherit;
}

.blog-article__empty {
  margin: 0;
  font-size: 15px;
  font-style: italic;
  color: #8a99a8;
}

/* — Előző / következő — */
.blog-article-pager {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: clamp(28px, 4vw, 40px);
  padding-top: clamp(24px, 3vw, 32px);
  border-top: 1px solid #e2e9f0;
}

.blog-pager-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px 16px;
  min-height: 80px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #e8eef4;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition:
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    transform 0.28s ease;
}

.blog-pager-card--placeholder {
  visibility: hidden;
  pointer-events: none;
  border-color: transparent;
  background: transparent;
}

.blog-pager-card--prev {
  grid-template-columns: auto minmax(0, 1fr) 60px;
}

.blog-pager-card--next {
  grid-template-columns: 60px minmax(0, 1fr) auto;
  text-align: right;
}

.blog-pager-card--next .blog-pager-card__body {
  order: 2;
}

.blog-pager-card--next .blog-pager-card__thumb {
  order: 1;
}

.blog-pager-card--next .blog-pager-card__arrow {
  order: 3;
}

.blog-pager-card:hover {
  border-color: rgba(31, 135, 148, 0.35);
  box-shadow: 0 10px 32px rgba(15, 40, 64, 0.08);
  transform: translateY(-2px);
}

.blog-pager-card__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f4f8fa;
  color: #1f8794;
  font-size: 13px;
  transition: background 0.2s, color 0.2s;
}

.blog-pager-card:hover .blog-pager-card__arrow {
  background: #1f8794;
  color: #fff;
}

.blog-pager-card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.blog-pager-card--next .blog-pager-card__body {
  align-items: flex-end;
}

.blog-pager-card__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8a99a8;
}

.blog-pager-card__title {
  font-family: Poppins, system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  color: #1e3a50;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-pager-card__meta {
  font-size: 12px;
  color: #8a99a8;
}

.blog-pager-card__thumb {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  overflow: hidden;
  background: #eef3f7;
  flex-shrink: 0;
}

.blog-pager-card__thumb--empty {
  background: linear-gradient(145deg, #f0f5f8 0%, #e6edf2 100%);
}

.blog-pager-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.blog-pager-card:hover .blog-pager-card__thumb img {
  transform: scale(1.04);
}

/* — Kapcsolódó (editorial kártyák) — */
.blog-article-related {
  margin-top: clamp(32px, 4vw, 44px);
}

.blog-article-related__hd {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e8eef4;
}

.blog-article-related__eyebrow {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8a99a8;
}

.blog-article-related__title {
  margin: 0;
  font-family: Poppins, system-ui, sans-serif;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #1e3a50;
}

.blog-article-related__list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.blog-editorial-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #ebeff4;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.blog-editorial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(31, 135, 148, 0.25);
  box-shadow: 0 16px 40px rgba(15, 40, 64, 0.09);
}

.blog-editorial-card__media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(160deg, #eef4f8 0%, #e2ebf2 100%);
}

.blog-editorial-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.blog-editorial-card:hover .blog-editorial-card__media img {
  transform: scale(1.03);
}

.blog-editorial-card__ph {
  display: block;
  width: 100%;
  height: 100%;
}

.blog-editorial-card__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 18px 20px;
}

.blog-editorial-card__kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1f8794;
}

.blog-editorial-card__title {
  font-family: Poppins, system-ui, sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.4;
  color: #1e3a50;
}

.blog-editorial-card__meta {
  font-size: 12px;
  color: #8a99a8;
}

.blog-editorial-card__excerpt {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.55;
  color: #6a8090;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-article-footer {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid #e8eef4;
}

.blog-article-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #1f8794;
  text-decoration: none;
  transition: gap 0.2s, color 0.2s;
}

.blog-article-back:hover {
  gap: 14px;
  color: #187684;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .blog-layout {
    grid-template-columns: 1fr;
  }

  .blog-sidebar {
    position: static;
    order: 1;
  }

  .blog-main {
    order: 0;
  }

  .blog-post-layout {
    grid-template-columns: 1fr;
  }

  .blog-post-aside {
    order: 1;
  }

  .blog-post-main {
    order: 0;
  }

  .blog-post-aside .blog-sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  .news-grid {
    grid-template-columns: 1fr;
  }

  .blog-article-pager {
    grid-template-columns: 1fr;
  }

  .blog-pager-card--placeholder {
    display: none;
  }

  .blog-pager-card--next {
    text-align: left;
  }

  .blog-pager-card--next .blog-pager-card__body {
    align-items: flex-start;
  }

  .blog-pager-card--next {
    grid-template-columns: 60px minmax(0, 1fr) auto;
  }
}

/* ── Blog fejléc — magasság/cím: page-hero-pr.css; itt csak toolbar és szűrő ──────── */
.pr-hero.blog-hero .pr-hero__top {
  margin-bottom: var(--page-hero-crumb-gap, 12px);
}

.pr-hero.blog-hero .pr-hero__head.blog-hero__head {
  grid-template-columns: 1fr;
  margin-bottom: 0;
}

.pr-hero.blog-hero .blog-hero__title-oneline {
  display: inline;
  white-space: nowrap;
}

.pr-hero.blog-hero .blog-hero__title-oneline em {
  white-space: nowrap;
}

.blog-hero + .blog-list-section,
.blog-hero + .blog-post-content,
.blog-hero + .tpl-section {
  padding-top: clamp(24px, 3vw, 36px);
}

.blog-hero__eyebrow {
  display: inline-block;
  margin: 0 0 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.blog-hero--post h1 {
  font-size: var(--page-hero-h1-mobile, clamp(28px, 6vw, 40px));
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.blog-hero__toolbar {
  position: relative;
  z-index: 1;
  margin-top: clamp(20px, 2.5vw, 28px);
  padding-top: clamp(16px, 2vw, 22px);
  border-top: 1px solid rgb(255 255 255 / 0.14);
}

.blog-hero__toolbar--post {
  margin-top: clamp(18px, 2.2vw, 24px);
  padding-top: clamp(14px, 1.8vw, 20px);
}

.blog-hero__pill--static {
  cursor: default;
  pointer-events: none;
}

.blog-hero__pill--static:hover {
  background: rgb(255 255 255 / 0.08);
  border-color: rgb(255 255 255 / 0.22);
  color: rgb(255 255 255 / 0.88);
}

.blog-hero__pill--static i {
  margin-right: 6px;
  font-size: 11px;
  opacity: 0.85;
}

.blog-hero__filter {
  display: flex;
  align-items: flex-start;
  gap: 14px 18px;
  padding: 10px 0;
}

.blog-hero__filter + .blog-hero__filter {
  padding-top: 6px;
}

.blog-hero__filter-name {
  flex-shrink: 0;
  min-width: 4.5rem;
  padding-top: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.5);
}

.blog-hero__pills {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-hero__pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 0.22);
  background: rgb(255 255 255 / 0.08);
  color: rgb(255 255 255 / 0.88);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
}

.blog-hero__pill:hover {
  background: rgb(255 255 255 / 0.18);
  border-color: rgb(255 255 255 / 0.38);
  color: #fff;
}

.blog-hero__pill.is-on {
  background: #fff;
  border-color: #fff;
  color: #1e3a50;
  box-shadow: 0 4px 16px rgb(0 0 0 / 0.15);
}

@media (max-width: 900px) {
  .pr-hero.blog-hero .blog-hero__title-oneline {
    white-space: normal;
  }
}

@media (max-width: 720px) {
  .blog-hero__filter {
    flex-direction: column;
    gap: 8px;
  }

  .blog-hero__filter-name {
    padding-top: 0;
  }
}
