/*
Theme Name: Munkacsalad
Theme URI:
Author: Digital Footprint
Description: Blog theme – Helder design + Greenspiration block structure
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: munkacsalad
*/

/* =============================================
   CSS Custom Properties
   ============================================= */
:root {
  --bg:        #edebe7;
  --white:     #ffffff;
  --primary:   #11394D;
  --secondary: #0d1724;
  --border:    #d8d4c5;
  --body:      #333333;
  --title:     #000000;
  --muted:     #888888;
}

/* =============================================
   Reset & Base
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Rethink Sans', sans-serif;
  background: var(--bg);
  color: var(--body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* =============================================
   Container
   ============================================= */
.mc-container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =============================================
   Card Image Base
   ============================================= */
.card-img {
  overflow: hidden;
  background: var(--border);
  display: block;
  position: relative;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s cubic-bezier(.16,1,.3,1);
}
a:hover .card-img img { transform: scale(1.04); }
.card-img--400 { height: 400px; }
.card-img--300 { height: 300px; }
.card-img--220 { height: 220px; }
.card-img--160 { height: 160px; }
.card-img--120 { height: 120px; }

/* =============================================
   Post Badge
   ============================================= */
.post-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 400;
  color: var(--primary);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 5px 15px;
  background: transparent;
  transition: background .2s, color .2s;
}
a:hover .post-badge {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* White variant (used on dark overlays) */
.post-badge--white {
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}

/* Solid blue badge (overlay grid + ezie) */
.post-badge--blue {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* =============================================
   Section Heading
   ============================================= */
.section-heading {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

/* =============================================
   HEADER
   ============================================= */
.site-header {
  background: var(--primary);
  border-bottom: 1px solid rgba(255,255,255,.1);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 64px;
  max-width: 1336px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Logo */
.site-logo { flex-shrink: 0; display: flex; align-items: center; }
.site-logo__img { height: 36px; width: auto; }
.site-logo__text {
  font-size: 20px;
  font-weight: 400;
  color: var(--white);
}

/* Desktop nav */
.center-nav { display: flex; align-items: center; gap: 4px; }
.center-nav .nav-link {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,.8);
  padding: 6px 14px;
  border-radius: 50px;
  transition: background .2s, color .2s;
}
.center-nav .nav-link:hover,
.center-nav .nav-link[aria-current="page"] {
  background: rgba(255,255,255,.12);
  color: var(--white);
}

/* Mobile button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50px;
  cursor: pointer;
  padding: 0;
  transition: border-color .2s;
}
.mobile-menu-btn:hover { border-color: rgba(255,255,255,.7); }
.mobile-menu-btn span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--white);
  transition: transform .3s, opacity .3s;
}

/* Mobile nav panel */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 16px;
  border-top: 1px solid rgba(255,255,255,.1);
  background: var(--primary);
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
}
.mobile-nav.is-open {
  display: flex;
  max-height: 500px;
}
.mobile-nav .nav-link {
  font-size: 15px;
  color: rgba(255,255,255,.8);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  transition: color .2s;
}
.mobile-nav .nav-link:last-child { border-bottom: none; }
.mobile-nav .nav-link:hover { color: var(--white); }

/* =============================================
   HERO SLIDER — Block 1 (2-col: szöveg bal / kép jobb)
   ============================================= */
.hero-slider {
  background: var(--primary);
}
.hero-slides { position: relative; }

.hero-slide {
  position: absolute;
  top: 0; left: 0; width: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity .6s ease;
  display: grid;
  grid-template-columns: 55% 45%;
  min-height: 600px;
}
.hero-slide.is-active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
}

/* Bal oldal — szöveg */
.hero-slide__left {
  padding: 80px 48px 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0;
  min-height: 600px;
}
.hero-slide__left-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  flex: 1;
  justify-content: center;
}
.hero-slide__title {
  font-size: 3.6rem;
  font-weight: 400;
  color: var(--white);
  line-height: 1.1;
  display: block;
  transition: opacity .2s;
}
.hero-slide__title:hover { opacity: .8; }
.hero-slide__excerpt {
  font-size: 15px;
  color: rgba(255,255,255,.6);
  line-height: 1.7;
  max-width: 440px;
}
.hero-slide__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 26px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,.35);
  color: var(--white);
  font-size: 14px;
  align-self: flex-start;
  cursor: pointer;
  width: fit-content;
  margin-top: 40px;
  transition: background .25s, border-color .25s;
}
.hero-slide__cta:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.6);
}

/* Jobb oldal — kép */
.hero-slide__right {
  padding: 40px 40px 40px 0;
  overflow: hidden;
}
.hero-slide__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

/* Dots */
.hero-dots {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  padding: 20px 60px;
  background: var(--primary);
}
.hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .3s, transform .3s;
}
.hero-dot.is-active {
  background: var(--white);
  transform: scale(1.3);
}

/* =============================================
   AKTUÁLIS — Block 2 (text-only 5-col)
   ============================================= */
.aktualis-section {
  background: var(--white);
  padding: 96px 0 48px;
}
.aktualis-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.aktualis-card:not(:last-child) {
  border-bottom: 1px solid var(--border);
  transition: background .25s, color .25s, border-radius .25s, border-color .25s;
}
/* Hover: border eltűnik */
.aktualis-card:hover { border-bottom-color: transparent; }
.aktualis-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0;
  padding: 24px;
  aspect-ratio: 1;
  background: var(--white);
  overflow: hidden;
  border-radius: 0;
  transition: background .25s, color .25s, border-radius .25s;
}
.aktualis-card:hover {
  background: var(--primary);
  border-radius: 12px;
}
/* Kategória: vonal + uppercase label */
.aktualis-cat {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color .25s;
}
.aktualis-cat::before {
  content: '';
  display: block;
  width: 3px;
  height: 13px;
  background: var(--primary);
  border-radius: 1px;
  flex-shrink: 0;
  transition: background .25s;
}
.aktualis-card:hover .aktualis-cat { color: rgba(255,255,255,.65); }
.aktualis-card:hover .aktualis-cat::before { background: rgba(255,255,255,.65); }

/* Cím: nagy, hangsúlyos */
.aktualis-card__title {
  margin-top: auto;
  padding-top: 16px;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--title);
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .25s;
}
.aktualis-card:hover .aktualis-card__title { color: var(--white); }

/* =============================================
   OVERLAY GRID — Block 3 (4-post 4-col)
   ============================================= */
.overlay-grid-section {
  background: var(--white);
  padding: 48px 0 96px;
}
.overlay-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.overlay-card {
  position: relative;
  overflow: hidden;
  display: block;
  border-radius: 12px;
}
/* Kék hover overlay */
.overlay-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--primary);
  opacity: 0;
  transition: opacity .35s ease;
  z-index: 1;
}
.overlay-card:hover::after { opacity: .55; }
.overlay-card__img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  transition: transform .5s cubic-bezier(.16,1,.3,1);
}
.overlay-card:hover .overlay-card__img { transform: scale(1.04); }
/* Kategória badge — felül bal */
.overlay-card__badge-top {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 3;
}
/* Cím — alul */
.overlay-card__floor {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(13,23,36,.88) 0%, rgba(13,23,36,0) 100%);
  padding: 56px 20px 20px;
  min-height: 140px;
  display: flex;
  align-items: flex-end;
  z-index: 2;
}
.overlay-card__title {
  font-size: 1rem;
  font-weight: 400;
  color: var(--white);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: opacity .2s;
}
.overlay-card:hover .overlay-card__title { opacity: .9; }

/* =============================================
   EZ IS ÉRDEKELHET — Block 4 (3 overlay kártya, első szélesebb)
   Cím a képen alul, kategória a képen felül (kék bg), egységes magasság
   ============================================= */
.ezie-section {
  background: var(--primary);
  padding: 96px 0;
}
.ezie-section .section-heading {
  color: rgba(255,255,255,.5);
  border-bottom-color: rgba(255,255,255,.15);
}
.ezie-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 12px;
}
.ezie-card {
  display: block;
  overflow: hidden;
  position: relative;
  border-radius: 12px;
}
/* Kék hover overlay */
.ezie-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--primary);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
  z-index: 1;
}
.ezie-card:hover::after { opacity: .45; }
.ezie-card__img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  transition: transform .5s cubic-bezier(.16,1,.3,1);
}
.ezie-card:hover .ezie-card__img { transform: scale(1.04); }
/* Kategória badge — felül, tömör kék háttér */
.ezie-card__badge-top {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 3;
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-size: 11px;
  font-weight: 400;
  border-radius: 50px;
  padding: 4px 13px;
  letter-spacing: .5px;
}
/* Cím — alul, gradient overlay-en */
.ezie-card__floor {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(13,23,36,.88) 0%, rgba(13,23,36,0) 100%);
  padding: 56px 18px 18px;
  min-height: 140px;
  display: flex;
  align-items: flex-end;
  z-index: 2;
}
.ezie-card__title {
  font-size: 1rem;
  font-weight: 400;
  color: var(--white);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: opacity .2s;
}
.ezie-card--first .ezie-card__title { font-size: 1.15rem; }
.ezie-card:hover .ezie-card__title { opacity: .9; }

/* =============================================
   GRID L — Block 5 (1 big + 3 list)
   ============================================= */
.gridl-section {
  padding: 96px 0;
  background: var(--white);
}
.gridl-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: start;
}
.gridl-big {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}
.gridl-big__img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
  transition: transform .5s cubic-bezier(.16,1,.3,1);
}
.gridl-big:hover .gridl-big__img { transform: scale(1.03); }
.gridl-big__floor {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(13,23,36,.85) 0%, rgba(13,23,36,0) 100%);
  padding: 60px 24px 24px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
}
.gridl-big__title {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--white);
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: opacity .2s;
}
.gridl-big:hover .gridl-big__title { opacity: .8; }
.gridl-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
}
.gridl-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  background: var(--white);
  overflow: hidden;
  transition: background .2s;
}
.gridl-item:hover { background: var(--bg); }
.gridl-item__thumb {
  width: 120px;
  height: 120px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  transition: transform .5s cubic-bezier(.16,1,.3,1);
}
.gridl-item:hover .gridl-item__thumb { transform: scale(1.05); }
.gridl-item__body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}
.gridl-item__title {
  font-size: .95rem;
  font-weight: 400;
  color: var(--title);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .2s;
}
.gridl-item:hover .gridl-item__title { color: var(--primary); }

/* =============================================
   MÉG TÖBB TARTALOM — Block 6 (6-post 3-col)
   Fehér bg, kategória a képen (kék solid badge), alatta cím + excerpt
   ============================================= */
.megtobb-section {
  padding: 96px 0;
  background: var(--white);
}
.megtobb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.megtobb-card {
  display: block;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.08);
}
/* Kép wrapper — kategória badge abszolút pozícióhoz */
.megtobb-card__img-wrap {
  position: relative;
  overflow: hidden;
}
.megtobb-card__img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform .5s cubic-bezier(.16,1,.3,1);
}
.megtobb-card:hover .megtobb-card__img { transform: scale(1.04); }
/* Kategória badge — a képen, kék solid bg, fehér szöveg, nem full-width */
.megtobb-card__badge {
  position: absolute;
  top: 12px; left: 12px;
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-size: 11px;
  font-weight: 400;
  border-radius: 50px;
  padding: 4px 13px;
  letter-spacing: .4px;
  white-space: nowrap;
}
/* Body: csak cím + excerpt */
.megtobb-card__body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.megtobb-card__title {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--title);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .2s;
}
.megtobb-card:hover .megtobb-card__title { color: var(--primary); }
.megtobb-card__excerpt {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* =============================================
   PAGINATION
   ============================================= */
.pagination-wrap {
  padding: 32px 0 48px;
  text-align: center;
}
.pagination { display: flex; justify-content: center; gap: 12px; align-items: center; }
.pagination-btn {
  display: inline-block;
  padding: 9px 25px;
  border-radius: 100px;
  border: 1px solid var(--primary);
  color: var(--primary);
  font-size: 14px;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.pagination-btn:hover { background: var(--primary); color: var(--white); }
.pagination-placeholder { display: inline-block; width: 1px; }

/* =============================================
   SINGLE — Layout A (sidebar)
   ============================================= */
body.single { background: var(--white); }

.single-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}
.single-main {}
.single-breadcrumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
  display: flex;
  gap: 6px;
  align-items: center;
}
.single-breadcrumb a { color: var(--primary); transition: opacity .2s; }
.single-breadcrumb a:hover { opacity: .7; }
.single-title {
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--title);
  line-height: 1.2;
  margin-bottom: 20px;
}
.single-hero-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  margin-bottom: 32px;
  display: block;
}
.entry-content {
  font-size: 16px;
  line-height: 1.8;
  color: var(--body);
}
.entry-content p { margin-bottom: 1.25em; }
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  font-weight: 400;
  color: var(--title);
  margin: 1.5em 0 .5em;
  line-height: 1.25;
}
.entry-content h2 { font-size: 1.7rem; }
.entry-content h3 { font-size: 1.35rem; }
.entry-content h4 { font-size: 1.1rem; }
.entry-content ul,
.entry-content ol { padding-left: 1.5em; margin-bottom: 1.25em; list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content blockquote {
  border-left: 3px solid var(--primary);
  padding: 12px 20px;
  margin: 1.5em 0;
  color: var(--muted);
  font-style: italic;
}
.entry-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.5em auto;
  border-radius: 12px;
}

/* Sidebar */
.single-sidebar {
  position: sticky;
  top: 80px;
}
.sidebar-widget {
  background: var(--white);
  padding: 24px;
  margin-bottom: 24px;
}
.sidebar-widget__title {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.sidebar-post {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  transition: opacity .2s;
}
.sidebar-post:first-of-type { padding-top: 0; }
.sidebar-post:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-post:hover { opacity: .7; }
.sidebar-post__img {
  width: 80px; height: 80px;
  object-fit: cover;
  display: block;
}
.sidebar-post__title {
  font-size: 13px;
  font-weight: 400;
  color: var(--title);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Related posts — overlay stílus (mint ezie), kék bg */
.related-section {
  background: var(--primary);
  padding: 64px 0;
  margin-top: 0;
}
.related-section .section-heading {
  color: rgba(255,255,255,.5);
  border-bottom-color: rgba(255,255,255,.15);
  max-width: 1170px;
  margin: 0 auto 24px;
  padding: 0 24px 12px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 24px;
}
.related-card {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}
.related-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--secondary);
  opacity: 0;
  transition: opacity .35s ease;
  z-index: 1;
}
.related-card:hover::after { opacity: .4; }
.related-card__img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transition: transform .5s cubic-bezier(.16,1,.3,1);
}
.related-card:hover .related-card__img { transform: scale(1.04); }
.related-card__badge-top {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 3;
}
.related-card__floor {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(13,23,36,.88) 0%, rgba(13,23,36,0) 100%);
  padding: 56px 18px 18px;
  min-height: 140px;
  display: flex;
  align-items: flex-end;
  z-index: 2;
}
.related-card__title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: opacity .2s;
}
.related-card:hover .related-card__title { opacity: .9; }

/* =============================================
   ARCHIVE
   ============================================= */
.archive-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px;
}
.archive-header {
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.archive-header h1 {
  font-size: 2rem;
  font-weight: 400;
  color: var(--title);
}
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}
.archive-card {
  display: block;
  background: var(--white);
  overflow: hidden;
  border-radius: 12px;
  transition: box-shadow .2s;
}
.archive-card:hover { box-shadow: 0 4px 24px rgba(0,0,0,.08); }
.archive-card__img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform .5s cubic-bezier(.16,1,.3,1);
}
.archive-card:hover .archive-card__img { transform: scale(1.04); }
.archive-card__body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.archive-card__title {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--title);
  line-height: 1.4;
  transition: color .2s;
}
.archive-card:hover .archive-card__title { color: var(--primary); }
.archive-card__excerpt {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* =============================================
   PAGE
   ============================================= */
.page-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}
.page-title {
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--title);
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.page-content {
  font-size: 16px;
  line-height: 1.8;
  color: var(--body);
}
.page-content p { margin-bottom: 1.25em; }
.page-content h2, .page-content h3 {
  font-weight: 400;
  color: var(--title);
  margin: 1.5em 0 .5em;
}
.page-content h2 { font-size: 1.6rem; }
.page-content h3 { font-size: 1.25rem; }

/* =============================================
   404
   ============================================= */
.notfound-wrap {
  max-width: 600px;
  margin: 0 auto;
  padding: 80px 24px;
  text-align: center;
}
.notfound-code {
  font-size: 8rem;
  font-weight: 400;
  color: var(--border);
  line-height: 1;
  margin-bottom: 16px;
}
.notfound-title {
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--title);
  margin-bottom: 12px;
}
.notfound-text {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 32px;
}
.notfound-btn {
  display: inline-block;
  padding: 9px 25px;
  border-radius: 100px;
  background: var(--primary);
  color: var(--white);
  font-size: 14px;
  cursor: pointer;
  transition: opacity .2s;
}
.notfound-btn:hover { opacity: .8; }

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--primary);
  color: var(--white);
  padding: 48px 0 0;
}
.footer-grid {
  max-width: 1336px;
  margin: 0 auto;
  padding: 0 24px 40px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-logo__img { height: 32px; width: auto; margin-bottom: 16px; }
.footer-logo__text {
  font-size: 18px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 16px;
  display: block;
}
.footer-col__title {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 14px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  font-size: 14px;
  color: rgba(255,255,255,.7);
  transition: color .2s;
}
.footer-nav a:hover { color: var(--white); }
.footer-copyright {
  max-width: 1336px;
  margin: 0 auto;
  padding: 16px 24px;
  font-size: 13px;
  color: rgba(255,255,255,.35);
}

/* =============================================
   MOBILE — 1024px
   ============================================= */
@media (max-width: 1024px) {
  .aktualis-grid { grid-template-columns: repeat(2, 1fr); }
  .overlay-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-slide { grid-template-columns: 1fr 1fr; min-height: 480px; }
  .hero-slide__left { padding: 56px 32px 56px 40px; min-height: 480px; }
  .hero-slide__title { font-size: 2.4rem; }
  .hero-slide__right { padding: 32px 28px 0 0; }
  .overlay-grid { grid-template-columns: repeat(2, 1fr); }
  .gridl-wrap { grid-template-columns: 1fr; }
  .gridl-big__img { height: 380px; }
  .ezie-grid { grid-template-columns: 1fr 1fr; }
  .ezie-card--first .ezie-card__img { height: 340px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .single-wrap { grid-template-columns: 1fr 260px; gap: 32px; }
  .archive-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(3, 1fr); }
}

/* =============================================
   MOBILE — 767px
   ============================================= */
@media (max-width: 767px) {
  /* Nav */
  .center-nav { display: none; }
  .mobile-menu-btn { display: flex; }

  /* Hero: mobilon egymás alatt */
  .hero-slide { grid-template-columns: 1fr; min-height: auto; }
  .hero-slide__left { padding: 48px 24px 32px; min-height: auto; }
  .hero-slide__title { font-size: 1.75rem; }
  .hero-slide__excerpt { display: none; }
  .hero-slide__right { padding: 0 16px 16px; height: 260px; }
  .hero-slide__img { height: 260px; }
  .hero-dots { padding: 16px 24px; }

  /* Aktuális: 1-col */
  .aktualis-grid { grid-template-columns: 1fr; }

  /* Overlay grid: 1-col */
  .overlay-grid { grid-template-columns: 1fr; }
  .overlay-card__img { height: 300px; }

  /* Ez is érdekelhet: 1-col */
  .ezie-grid { grid-template-columns: 1fr; }
  .ezie-card__img { height: 300px; }
  .ezie-card--first .ezie-card__img { height: 300px; }

  /* Grid L: 1-col */
  .gridl-wrap { grid-template-columns: 1fr; }
  .gridl-big__img { height: 300px; }
  .gridl-list { gap: 0; }

  /* Még több: 1-col */
  .megtobb-grid { grid-template-columns: 1fr; }
  .megtobb-card__img { height: 300px; }

  /* Single: 1-col */
  .single-wrap { grid-template-columns: 1fr; gap: 0; }
  .single-sidebar { position: static; }
  .single-title { font-size: 1.6rem; }

  /* Archive: 1-col */
  .archive-grid { grid-template-columns: 1fr; }
  .archive-card__img { height: 300px; }

  /* Related: 1-col */
  .related-grid { grid-template-columns: 1fr; }
  .related-card__img { height: 300px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* =============================================
   GDPR Cookie Compliance gomb override
   ============================================= */
#cookie-notice-accept-button,
.cn-button,
.cli-plugin-button,
.moove-gdpr-infobar-allow-btn,
.cmplz-btn,
.cc-btn,
.moove-gdpr-button-holder button {
  border-radius: 100px !important;
}
