/* Blog — frissített kártyák és olvashatóság (2026) */

body.page-blog-lux .blog-hero-grid h1,
body.page-blog-post-lux .blog-hero-grid h1 {
  text-transform: none;
  letter-spacing: -0.025em;
  font-weight: 900;
}

body.page-blog-lux .blog-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

body.page-blog-lux .blog-hero-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(247, 251, 255, 0.82);
}

/* Kiemelt cikk — magazine overlay */
.blog-featured-v2 {
  position: relative;
  overflow: hidden;
  display: grid;
  min-height: min(420px, 72vw);
  border-radius: 1.35rem;
  margin-bottom: 1.75rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 22px 60px rgba(1, 13, 31, 0.14);
}

.blog-featured-v2__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.45s ease;
}

.blog-featured-v2:hover .blog-featured-v2__media {
  transform: scale(1.03);
}

.blog-featured-v2__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(2, 8, 19, 0.15) 0%,
    rgba(2, 8, 19, 0.55) 45%,
    rgba(2, 8, 19, 0.92) 100%
  );
}

.blog-featured-v2__body {
  position: relative;
  z-index: 1;
  align-self: end;
  padding: clamp(1.25rem, 4vw, 2.25rem);
  max-width: 42rem;
  color: #fff;
}

.blog-featured-v2__tag {
  display: inline-flex;
  margin-bottom: 0.75rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: rgba(8, 119, 255, 0.85);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-featured-v2__title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.blog-featured-v2__title a {
  color: inherit;
  text-decoration: none;
}

.blog-featured-v2__title a:hover {
  color: #93c5fd;
}

.blog-featured-v2__excerpt {
  margin: 0 0 1rem;
  color: rgba(247, 251, 255, 0.82);
  font-size: 0.95rem;
  line-height: 1.55;
  font-weight: 550;
}

.blog-featured-v2 .blog-meta-chip {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.14);
  color: rgba(247, 251, 255, 0.9);
}

.blog-featured-v2 .read-link {
  color: #93c5fd;
}

/* Meta chip sor */
.blog-meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
}

.blog-meta-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(248, 250, 252, 0.9);
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.blog-meta-chip--tag {
  color: #0b63d8;
  border-color: rgba(8, 119, 255, 0.22);
  background: rgba(8, 119, 255, 0.08);
}

/* Grid kártyák v2 */
.posts-grid--v2 {
  gap: 1.25rem;
}

.post-card-v2 {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1.15rem;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: 0 14px 40px rgba(1, 13, 31, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.post-card-v2:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 52px rgba(1, 13, 31, 0.12);
}

.post-card-v2__media-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.post-card-v2__media {
  display: block;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}

.post-card-v2:hover .post-card-v2__media {
  transform: scale(1.05);
}

.post-card-v2__tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(2, 8, 19, 0.72);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.post-card-v2__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.15rem 1.15rem 1.25rem;
}

.post-card-v2__title {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #172033;
}

.post-card-v2__title a {
  color: inherit;
  text-decoration: none;
}

.post-card-v2__title a:hover {
  color: var(--blue, #0877ff);
}

.post-card-v2__excerpt {
  margin: 0 0 0.85rem;
  flex: 1;
  color: var(--muted, #64748b);
  font-size: 0.88rem;
  line-height: 1.5;
  font-weight: 550;
}

/* Oldal sáv — címkék */
.blog-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.blog-tag-cloud a {
  display: inline-flex;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: #f8fafc;
  color: #475569;
  font-size: 0.72rem;
  font-weight: 750;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.blog-tag-cloud a:hover {
  background: rgba(8, 119, 255, 0.1);
  color: #0b63d8;
  border-color: rgba(8, 119, 255, 0.25);
}

/* Kapcsolódó cikkek */
.blog-related {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.blog-related__title {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #172033;
}

.blog-related__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.blog-related-card {
  display: flex;
  flex-direction: column;
  border-radius: 0.85rem;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #f8fafc;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.blog-related-card:hover {
  background: #fff;
  border-color: rgba(8, 119, 255, 0.25);
}

.blog-related-card__img {
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
}

.blog-related-card__body {
  padding: 0.85rem 0.95rem 1rem;
}

.blog-related-card__body strong {
  display: block;
  font-size: 0.88rem;
  line-height: 1.35;
  color: #172033;
}

.blog-related-card__body small {
  display: block;
  margin-top: 0.35rem;
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 700;
}

/* Cikk — meta sáv a borító felett */
.blog-post-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.75rem;
}

/* Főoldal teaser */
.home-blog-card__tag {
  display: inline-flex;
  width: fit-content;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(8, 119, 255, 0.1);
  color: #0b63d8;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.home-blog-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 750;
  color: #64748b;
}

/* Szélesebb blog layout — asztali margó; mobilon edge-to-edge */
body.page-blog-lux,
body.page-blog-post-lux {
  --blog-gutter: clamp(0.5rem, 2.2vw, 1.25rem);
  --blog-edge-pad: max(14px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
}

body.page-blog-lux .container,
body.page-blog-post-lux .container {
  width: min(
    1130px,
    calc(100% - var(--blog-gutter) * 2 - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px))
  );
}

@media (max-width: 900px) {
  body.page-blog-lux,
  body.page-blog-post-lux {
    --blog-gutter: clamp(0.35rem, 1.6vw, 0.65rem);
  }

  .blog-featured-v2 {
    min-height: min(340px, 78vw);
  }

  .blog-related__grid {
    grid-template-columns: 1fr;
  }

  .posts-grid.posts-grid--v2 {
    grid-template-columns: 1fr;
  }
}

/* Mobil: képek és kártyák a képernyő széléig (mint a külső szekciók) */
@media (max-width: 767px) {
  body.page-blog-lux,
  body.page-blog-post-lux {
    --blog-gutter: 0px;
  }

  body.page-blog-lux .blog-section .container,
  body.page-blog-post-lux .blog-section--post .container {
    width: 100%;
    max-width: 100%;
  }

  body.page-blog-lux .blog-hero .container,
  body.page-blog-post-lux .blog-hero .container,
  body.page-blog-lux .blue-strip .container,
  body.page-blog-post-lux .blue-strip .container {
    width: 100%;
    max-width: 100%;
    padding-inline: var(--blog-edge-pad);
  }

  body.page-blog-lux .blog-hero-grid,
  body.page-blog-post-lux .blog-hero-grid {
    min-height: auto;
    padding: 2.35rem 0 3.75rem;
    gap: 1.15rem;
  }

  body.page-blog-lux .blog-hero-grid h1 {
    font-size: clamp(1.55rem, 6.8vw, 2.05rem);
    line-height: 1.12;
    margin-bottom: 0.65rem;
  }

  body.page-blog-post-lux .blog-hero-grid h1 {
    font-size: clamp(1.4rem, 6.2vw, 1.85rem);
    line-height: 1.18;
  }

  body.page-blog-lux .blog-hero .hero-lead {
    font-size: 0.94rem;
    margin-bottom: 1.1rem;
  }

  body.page-blog-lux .blog-hero .hero-card {
    width: 100%;
    justify-self: stretch;
    padding: 1.1rem var(--blog-edge-pad);
    border-radius: 0.85rem;
  }

  body.page-blog-lux .blog-hero-stats {
    margin-bottom: 0.75rem;
  }

  body.page-blog-lux .blog-hero-stat {
    font-size: 0.64rem;
    padding: 0.3rem 0.6rem;
  }

  body.page-blog-lux .blog-section {
    margin-top: -1.65rem;
    padding-bottom: 2.75rem;
  }

  body.page-blog-post-lux .blog-section {
    margin-top: -1.35rem;
  }

  body.page-blog-post-lux .blog-post-container {
    max-width: none;
    padding: 0;
  }

  body.page-blog-lux .blog-layout {
    gap: 0.65rem;
  }

  body.page-blog-lux .sidebar {
    display: grid;
    gap: 0.65rem;
  }

  body.page-blog-lux .blog-search-banner {
    margin-bottom: 0.65rem;
    padding: 0.85rem var(--blog-edge-pad);
    border-radius: 0;
    border-left: none;
    border-right: none;
  }

  body.page-blog-lux .search-box input {
    min-height: 48px;
    font-size: 16px;
  }

  body.page-blog-lux .search-box button {
    min-width: 48px;
    min-height: 48px;
  }

  .posts-grid.posts-grid--v2 {
    gap: 0.65rem;
  }

  .blog-featured-v2,
  .post-card-v2,
  body.page-blog-lux .side-panel {
    border-radius: 0;
    border-left: none;
    border-right: none;
    box-shadow: 0 10px 32px rgba(1, 13, 31, 0.07);
  }

  .blog-featured-v2 {
    min-height: min(300px, 72vw);
    margin-bottom: 0.65rem;
  }

  .blog-featured-v2__body {
    padding: 1rem var(--blog-edge-pad) 1.15rem;
    max-width: none;
  }

  .blog-featured-v2__title {
    font-size: clamp(1.15rem, 5.2vw, 1.45rem);
  }

  .blog-featured-v2__excerpt {
    font-size: 0.88rem;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .post-card-v2__body,
  body.page-blog-lux .side-content {
    padding: 0.95rem var(--blog-edge-pad) 1.05rem;
  }

  .post-card-v2__tag {
    top: 0.65rem;
    left: var(--blog-edge-pad);
    font-size: 0.58rem;
  }

  .post-card-v2__title {
    font-size: 1rem;
  }

  .post-card-v2__excerpt {
    font-size: 0.84rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .post-card-v2 .read-link,
  .blog-featured-v2 .read-link {
    min-height: 44px;
    align-items: center;
  }

  body.page-blog-post-lux .blog-post-sheet {
    border-radius: 0;
    border-left: none;
    border-right: none;
    box-shadow: none;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  }

  body.page-blog-post-lux .blog-post-sheet > .post-body,
  body.page-blog-post-lux .blog-post-sheet > .blog-share,
  body.page-blog-post-lux .blog-post-back,
  body.page-blog-post-lux .blog-post-sheet > .blog-related {
    padding-inline: var(--blog-edge-pad);
  }

  body.page-blog-post-lux .blog-post-cover {
    max-height: min(46vh, 320px);
    border-radius: 0;
  }

  .blog-related {
    margin-top: 1.75rem;
    padding-top: 1.35rem;
  }

  .blog-related__grid {
    gap: 0.65rem;
  }

  .blog-related-card {
    border-radius: 0;
    border-left: none;
    border-right: none;
  }

  .blog-related-card__body {
    padding-inline: var(--blog-edge-pad);
  }

  .blog-related-card__body strong {
    font-size: 0.92rem;
  }

  body.page-blog-lux .blue-strip .cta-row {
    gap: 1rem;
  }
}

@media (hover: none) {
  .post-card-v2:hover,
  .blog-featured-v2:hover .blog-featured-v2__media {
    transform: none;
  }
}
