/*
Theme Name:  Jogameditacio
Author:      Digital Footprint
Description: Egyedi blog theme — Soluna Yoga Studio referencia alapján
Version:     1.0.0
License:     GPL v2 or later
Text Domain: jogameditacio
*/

/* ══════════════════════════════════════════════
   :root — változók
   ══════════════════════════════════════════════ */
:root {
  --bg:          #f5f4f0;
  --dark:        #1a1a1a;
  --primary:     #304E51;
  --primary-dark: #223a3d;
  --bg-alt:      #e8eae4;
  --card:        #ffffff;
  --border:      #dcdacd;
  --muted:       #5c5c5a;
  --radius-card: 2rem;
  --radius-img:  1.5rem;
}

/* ══════════════════════════════════════════════
   Reset + alap
   ══════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ══════════════════════════════════════════════
   Container
   ══════════════════════════════════════════════ */
.jm-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ══════════════════════════════════════════════
   Gombok
   ══════════════════════════════════════════════ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #D19167;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  padding: 14px 32px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  align-self: flex-start;
  border: none;
}
.btn-primary:hover { background: #b87a52; }
.btn-primary .btn-arrow { transition: transform 0.2s; }
.btn-primary:hover .btn-arrow { transform: translateX(4px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--dark);
  color: var(--dark);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 24px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover { background: var(--dark); color: #fff; }

/* ══════════════════════════════════════════════
   Kategória badge
   ══════════════════════════════════════════════ */
.jm-cat-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: rgba(48,78,81,0.1);
  padding: 4px 12px;
  border-radius: 999px;
  transition: background 0.2s;
}
.jm-cat-badge:hover { background: rgba(48,78,81,0.2); }

.jm-label {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
}

/* Section fejléc */
.jm-section-head { margin-bottom: 48px; }
.jm-section-head h2 {
  font-size: 36px;
  font-weight: 500;
  color: var(--dark);
}
.jm-section-head p {
  margin-top: 12px;
  font-size: 16px;
  color: var(--muted);
  max-width: 520px;
}

/* ══════════════════════════════════════════════
   Navigáció
   ══════════════════════════════════════════════ */
.jm-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 244, 240, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.jm-nav--scrolled { border-bottom-color: var(--border); }

.jm-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.jm-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.jm-logo-img { height: 32px; width: auto; }
.jm-logo-text {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--dark);
}

.jm-nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.jm-nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}
.jm-nav-links a:hover { color: var(--primary); }

/* Hamburger */
.jm-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  background: none;
  border: none;
}
.jm-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.jm-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.jm-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.jm-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.jm-mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 0 40px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding-bottom 0.35s ease;
}
.jm-mobile-nav.is-open {
  max-height: 500px;
  padding-bottom: 24px;
}
.jm-mobile-nav a {
  display: block;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--dark);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.jm-mobile-nav a:hover { color: var(--primary); }

/* ══════════════════════════════════════════════
   1. HERO
   ══════════════════════════════════════════════ */
.jm-hero {
  padding: 80px 0 100px;
  overflow: hidden;
}
.jm-hero-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 60px;
  align-items: center;
}
.jm-hero-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.jm-hero-label {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
}
.jm-hero-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}
.jm-hero-title {
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--dark);
}
.jm-hero-excerpt {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 420px;
  border-left: 2px solid var(--border);
  padding-left: 20px;
}

/* Hero jobb — körkörös kép */
.jm-hero-right { position: relative; }
.jm-hero-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
}
.jm-hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* Forgó stamp badge */
.jm-hero-badge {
  position: absolute;
  top: -8px;
  left: -8px;
  width: 130px;
  height: 130px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: jm-spin 12s linear infinite;
}
@keyframes jm-spin { to { transform: rotate(360deg); } }
.jm-hero-badge svg { width: 130px; height: 130px; }
.jm-hero-badge svg text {
  fill: rgba(255,255,255,0.9);
  font-size: 10px;
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 3px;
}

/* Kis kör badge jobb alul */
.jm-hero-dot-badge {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 90px;
  height: 90px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px;
}
.jm-hero-dot-badge-text {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--dark);
  line-height: 1.3;
}

/* ══════════════════════════════════════════════
   2. KIEMELT BEJEGYZÉS (split, bg-white)
   ══════════════════════════════════════════════ */
.jm-featured-section {
  background: var(--card);
  padding: 100px 0;
}
.jm-featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.jm-featured-img-link { display: block; border-radius: var(--radius-img); overflow: hidden; }
.jm-featured-img-link img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-img);
  transition: transform 0.4s ease;
}
.jm-featured-img-link:hover img { transform: scale(1.03); }

.jm-featured-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.jm-featured-cat-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.jm-featured-cat-row .accent-bar {
  width: 20px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}
.jm-featured-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--dark);
}
.jm-featured-title a { color: inherit; transition: color 0.2s; }
.jm-featured-title a:hover { color: var(--primary); }
.jm-featured-excerpt {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
}

/* ══════════════════════════════════════════════
   3. KÁRTYASOR (horizontális scroll)
   ══════════════════════════════════════════════ */
.jm-scroll-section { padding: 100px 0; background: var(--bg); }

.jm-scroll-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  gap: 24px;
}
.jm-scroll-btns {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.jm-scroll-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  font-size: 18px;
  color: var(--dark);
}
.jm-scroll-btn:hover { background: var(--card); border-color: var(--dark); }

.jm-scroll-track {
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: x mandatory;
}
.jm-scroll-track::-webkit-scrollbar { display: none; }
.jm-scroll-inner {
  display: flex;
  gap: 24px;
  padding-bottom: 4px;
}

/* Cikk kártya */
.jm-card {
  width: 368px;
  flex-shrink: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: box-shadow 0.25s;
  scroll-snap-align: start;
}
.jm-card:hover { box-shadow: 0 12px 40px rgba(26,26,26,0.10); }

.jm-card-img-wrap {
  position: relative;
  height: 276px;
  overflow: hidden;
  border-radius: var(--radius-img) var(--radius-img) 0 0;
}
.jm-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-img);
  transition: transform 0.4s ease;
}
.jm-card:hover .jm-card-img-wrap img { transform: scale(1.04); }

.jm-card-img-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--dark);
  padding: 4px 12px;
  white-space: nowrap;
}

.jm-card-body { padding: 20px 24px 24px; }
.jm-card-title {
  font-size: 18px;
  font-weight: 500;
  color: var(--dark);
  line-height: 1.35;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.jm-card:hover .jm-card-title { color: var(--primary); }
.jm-card-excerpt {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.jm-card-read {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--primary);
  transition: gap 0.2s;
}
.jm-card:hover .jm-card-read { gap: 10px; }

/* ══════════════════════════════════════════════
   4. LEGÚJABB CIKKEK (lista, bg-white)
   ══════════════════════════════════════════════ */
.jm-latest-section {
  background: var(--card);
  padding: 100px 0;
}
.jm-latest-list { display: flex; flex-direction: column; gap: 0; }
.jm-latest-item a {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
.jm-latest-item:first-child a { border-top: 1px solid var(--border); }
.jm-latest-cat {
  min-width: 140px;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  flex-shrink: 0;
}
.jm-latest-title {
  flex: 1;
  font-size: 17px;
  font-weight: 500;
  color: var(--dark);
  line-height: 1.4;
  transition: color 0.2s;
}
.jm-latest-item a:hover .jm-latest-title { color: var(--primary); }
.jm-latest-arrow {
  font-size: 20px;
  color: var(--border);
  transition: color 0.2s, transform 0.2s;
  flex-shrink: 0;
}
.jm-latest-item a:hover .jm-latest-arrow {
  color: var(--primary);
  transform: translateX(4px);
}
.jm-latest-thumb {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.jm-latest-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition: transform 0.3s;
}
.jm-latest-item a:hover .jm-latest-thumb img { transform: scale(1.08); }

/* ══════════════════════════════════════════════
   5. SZERKESZTŐI AJÁNLÓ (olive, 3-col)
   ══════════════════════════════════════════════ */
.jm-editorial-section {
  background: var(--primary);
  padding: 80px 0;
}
.jm-editorial-section .jm-section-head h2 { color: #fff; }
.jm-editorial-section .jm-section-head p { color: rgba(255,255,255,0.7); }
.jm-editorial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.jm-editorial-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px;
  background: rgba(255,255,255,0.07);
  border-radius: var(--radius-card);
  border: 1px solid rgba(255,255,255,0.12);
  transition: background 0.2s;
}
.jm-editorial-card:hover { background: rgba(255,255,255,0.12); }
.jm-editorial-label {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.6);
}
.jm-editorial-title {
  font-size: 20px;
  font-weight: 500;
  color: #fff;
  line-height: 1.3;
  transition: opacity 0.2s;
}
.jm-editorial-title a { color: inherit; }
.jm-editorial-card:hover .jm-editorial-title { opacity: 0.85; }
.jm-editorial-excerpt {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.jm-editorial-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  font-weight: 500;
  margin-top: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.25);
  padding-bottom: 3px;
  align-self: flex-start;
  transition: border-color 0.2s, gap 0.2s;
}
.jm-editorial-card:hover .jm-editorial-link { border-color: rgba(255,255,255,0.6); gap: 10px; }

/* Picks kompakt lista az editorial szekció alatt */
.jm-editorial-picks {
  margin-top: 48px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-card);
  padding: 8px 24px;
}
.jm-editorial-picks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.jm-pick-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: opacity 0.2s;
}
.jm-pick-item:hover { opacity: 0.85; }
.jm-pick-item:nth-child(odd) {
  padding-right: 32px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.jm-pick-item:nth-child(even) { padding-left: 32px; }
.jm-pick-item:nth-last-child(-n+2) { border-bottom: none; }
.jm-pick-thumb {
  width: 60px;
  height: 44px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}
.jm-pick-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s;
}
.jm-pick-item:hover .jm-pick-thumb img { transform: scale(1.05); }
.jm-pick-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.jm-pick-cat {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.55);
}
.jm-pick-title {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}
.jm-pick-item:hover .jm-pick-title { color: #fff; }

/* ══════════════════════════════════════════════
   6. CIRCULAR CIKKEK (4-col, bg)
   ══════════════════════════════════════════════ */
.jm-circ-section { padding: 100px 0; background: var(--bg); }
.jm-circ-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.jm-circ-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}
.jm-circ-img-link { display: block; }
.jm-circ-img-wrap {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color 0.3s;
  margin: 0 auto;
}
.jm-circ-img-link:hover .jm-circ-img-wrap { border-color: var(--primary); }
.jm-circ-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  filter: grayscale(1);
  transition: filter 0.35s;
}
.jm-circ-img-link:hover .jm-circ-img-wrap img { filter: grayscale(0); }
.jm-circ-cat {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
}
.jm-circ-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--dark);
  line-height: 1.4;
}
.jm-circ-title a { transition: color 0.2s; }
.jm-circ-title a:hover { color: var(--primary); }

/* ══════════════════════════════════════════════
   7. 3-COL VEGYES KÁRTYÁK (1 sötét + 2 normal)
   ══════════════════════════════════════════════ */
.jm-mix-section {
  background: var(--card);
  padding: 100px 0;
}
.jm-mix-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: end;
}
.jm-mix-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.jm-mix-card:hover { border-color: var(--dark); }

.jm-mix-card--featured {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
  transform: translateY(-16px);
  box-shadow: 0 24px 60px rgba(26,26,26,0.25);
  position: relative;
}
.jm-mix-card--featured:hover { border-color: var(--dark); box-shadow: 0 32px 80px rgba(26,26,26,0.3); }

.jm-mix-featured-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
}
.jm-mix-card-cat {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.jm-mix-card--featured .jm-mix-card-cat { color: rgba(255,255,255,0.55); }
.jm-mix-card-title {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--dark);
}
.jm-mix-card--featured .jm-mix-card-title { color: #fff; }
.jm-mix-card-title a { transition: color 0.2s; }
.jm-mix-card:not(.jm-mix-card--featured) .jm-mix-card-title a:hover { color: var(--primary); }
.jm-mix-card--featured .jm-mix-card-title a:hover { color: rgba(255,255,255,0.75); }
.jm-mix-card-excerpt {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.jm-mix-card--featured .jm-mix-card-excerpt { color: rgba(255,255,255,0.65); }
.jm-mix-read {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--primary);
  transition: gap 0.2s;
  align-self: flex-start;
}
.jm-mix-card--featured .jm-mix-read { color: rgba(255,255,255,0.8); }
.jm-mix-card:hover .jm-mix-read { gap: 10px; }

.jm-mix-card-img {
  height: 200px;
  margin: -36px -36px 0;
  overflow: hidden;
  flex-shrink: 0;
}
.jm-mix-card-img a { display: block; height: 100%; }
.jm-mix-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.jm-mix-card:hover .jm-mix-card-img img { transform: scale(1.04); }

/* ══════════════════════════════════════════════
   8. GALLERY (2-col, 60vh)
   ══════════════════════════════════════════════ */
.jm-gallery-section { overflow: hidden; }
.jm-gallery-grid {
  display: flex;
  height: 60vh;
  min-height: 400px;
}
.jm-gallery-item {
  position: relative;
  flex: 1;
  overflow: hidden;
  display: block;
}
.jm-gallery-item + .jm-gallery-item { border-left: 3px solid var(--bg); }
.jm-gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.jm-gallery-item:hover .jm-gallery-img { transform: scale(1.04); }
.jm-gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,26,26,0.75);
  opacity: 0;
  transition: opacity 0.35s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 32px;
  text-align: center;
}
.jm-gallery-item:hover .jm-gallery-overlay { opacity: 1; }
.jm-gallery-cat {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.7);
}
.jm-gallery-title {
  font-size: 22px;
  font-weight: 500;
  color: #fff;
  line-height: 1.3;
}
.jm-gallery-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.4);
  padding: 8px 20px;
  border-radius: 999px;
  margin-top: 8px;
  transition: background 0.2s;
}
.jm-gallery-item:hover .jm-gallery-link { background: rgba(255,255,255,0.15); }

/* ══════════════════════════════════════════════
   Single.php — Layout A (oldalsáv)
   ══════════════════════════════════════════════ */
.single-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 40px 80px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 60px;
  align-items: start;
}
.single-main {}

.single-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
}
.single-breadcrumb a { color: var(--muted); transition: color 0.2s; }
.single-breadcrumb a:hover { color: var(--primary); }
.single-breadcrumb__sep { color: var(--border); }

.single-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }

.single-title {
  font-size: clamp(26px, 3.5vw, 44px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--dark);
  margin-bottom: 32px;
}

.single-featured-image {
  margin-bottom: 40px;
  border-radius: var(--radius-img);
  overflow: hidden;
}
.single-featured-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-img);
  display: block;
}

.single-content {
  font-size: 17px;
  line-height: 1.75;
  color: var(--dark);
}
.single-content p { margin-bottom: 24px; }
.single-content h2 { font-size: 26px; font-weight: 500; margin: 40px 0 16px; }
.single-content h3 { font-size: 22px; font-weight: 500; margin: 32px 0 12px; }
.single-content ul, .single-content ol { margin: 16px 0 24px 24px; }
.single-content li { margin-bottom: 8px; }
.single-content blockquote {
  border-left: 3px solid var(--primary);
  padding: 16px 24px;
  margin: 32px 0;
  background: rgba(48,78,81,0.06);
  border-radius: 0 var(--radius-img) var(--radius-img) 0;
  font-style: italic;
  color: var(--muted);
}
.single-content img {
  border-radius: var(--radius-img);
  margin: 32px 0;
  max-width: 100%;
  height: auto;
}

/* Oldalsáv */
.single-sidebar {
  position: sticky;
  top: 88px;
}
.single-sidebar-title {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.single-related-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.single-related-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.single-related-thumb {
  width: 80px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}
.single-related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s;
}
.single-related-item:hover .single-related-thumb img { transform: scale(1.05); }
.single-related-text { flex: 1; min-width: 0; }
.single-related-cat {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  display: block;
  margin-bottom: 4px;
}
.single-related-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
  line-height: 1.35;
  transition: color 0.2s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.single-related-item:hover .single-related-title { color: var(--primary); }

/* ══════════════════════════════════════════════
   Archive oldal
   ══════════════════════════════════════════════ */
.archive-header {
  background: var(--card);
  padding: 60px 0 50px;
  border-bottom: 1px solid var(--border);
}
.archive-title {
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--dark);
}
.archive-desc {
  margin-top: 10px;
  font-size: 16px;
  color: var(--muted);
}

.archive-wrap { padding: 60px 0 80px; }
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 60px;
}

.archive-card {
  display: block;
  background: var(--card);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: box-shadow 0.25s;
}
.archive-card:hover { box-shadow: 0 10px 40px rgba(26,26,26,0.09); }

.archive-img-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-img);
  background: var(--bg-alt);
}
.archive-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-img);
  transition: transform 0.4s;
}
.archive-card:hover .archive-img-wrap img { transform: scale(1.04); }

.archive-card-body { padding: 18px 20px 22px; }
.archive-card-title {
  font-size: 17px;
  font-weight: 500;
  color: var(--dark);
  line-height: 1.35;
  margin-bottom: 8px;
  transition: color 0.2s;
}
.archive-card:hover .archive-card-title { color: var(--primary); }
.archive-card-excerpt {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ══════════════════════════════════════════════
   Page + 404
   ══════════════════════════════════════════════ */
.page-wrap {
  max-width: 800px;
  margin: 60px auto 80px;
  padding: 0 40px;
}
.page-title {
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}
.entry-content {
  font-size: 16px;
  line-height: 1.75;
  color: var(--dark);
}
.entry-content p { margin-bottom: 20px; }
.entry-content h2 { font-size: 24px; font-weight: 500; margin: 32px 0 12px; }
.entry-content h3 { font-size: 20px; font-weight: 500; margin: 24px 0 10px; }
.entry-content ul, .entry-content ol { margin: 12px 0 20px 24px; }
.entry-content li { margin-bottom: 6px; }
.entry-content img {
  border-radius: var(--radius-img);
  margin: 24px 0;
  max-width: 100%;
  height: auto;
}

.not-found-wrap {
  text-align: center;
  padding: 120px 40px;
}
.not-found-code {
  font-size: 120px;
  font-weight: 300;
  color: var(--border);
  line-height: 1;
  letter-spacing: -0.05em;
}
.not-found-title { font-size: 28px; font-weight: 500; margin: 16px 0 12px; }
.not-found-text { color: var(--muted); margin-bottom: 32px; }

/* ══════════════════════════════════════════════
   Footer
   ══════════════════════════════════════════════ */
.jm-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 80px 0 32px;
}
.jm-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border);
}
.jm-footer-logo { display: block; margin-bottom: 16px; }
.jm-footer-logo img { height: 28px; width: auto; }
.jm-footer-logo-text { font-size: 16px; font-weight: 600; color: var(--dark); }
.jm-footer-tagline { font-size: 14px; color: var(--muted); line-height: 1.6; max-width: 260px; }

.jm-footer-col-title {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--dark);
  margin-bottom: 20px;
}
.jm-footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.jm-footer-links a {
  font-size: 14px;
  color: var(--muted);
  transition: color 0.2s;
}
.jm-footer-links a:hover { color: var(--dark); }

.jm-footer-bottom {
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.jm-footer-copyright { font-size: 13px; color: var(--muted); }

/* Pagination */
.jm-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 60px;
  gap: 16px;
}
.jm-pagination-btn a,
.jm-pagination-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
  background: var(--card);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.jm-pagination-btn a:hover,
.jm-pagination-btn:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.jm-pagination-btn--next { margin-left: auto; }

/* ══════════════════════════════════════════════
   Reszponzív — Tablet (max 1024px)
   ══════════════════════════════════════════════ */
@media screen and (max-width: 1024px) {
  .jm-container { padding: 0 28px; }
  .jm-hero-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .jm-circ-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .single-wrap { grid-template-columns: 1fr; }
  .single-sidebar { position: static; margin-top: 60px; }
  .archive-grid { grid-template-columns: repeat(2, 1fr); }
  .jm-mix-card--featured { transform: none; }
}

/* ══════════════════════════════════════════════
   Reszponzív — Mobil (max 767px)
   ══════════════════════════════════════════════ */
@media screen and (max-width: 767px) {
  .jm-container { padding: 0 20px; }

  .jm-nav-links { display: none; }
  .jm-hamburger { display: flex; }
  .jm-mobile-nav { display: flex; }

  .jm-hero { padding: 48px 0 64px; }
  .jm-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .jm-hero-right { max-width: 320px; margin: 0 auto; }

  .jm-featured-section { padding: 64px 0; }
  .jm-featured-grid { grid-template-columns: 1fr; gap: 32px; }

  .jm-scroll-section { padding: 64px 0; }
  .jm-scroll-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .jm-card { width: calc(100vw - 40px); }

  /* Egységes kártya kép-magasság mobilon */
  .jm-card-img-wrap,
  .archive-img-wrap {
    height: 300px;
  }
  .jm-featured-img-link img {
    aspect-ratio: unset;
    height: 300px;
  }

  .jm-editorial-picks { padding: 8px 16px; }
  .jm-editorial-picks-grid { grid-template-columns: 1fr; }
  .jm-pick-item:nth-child(odd) { padding-right: 0; border-right: none; }
  .jm-pick-item:nth-child(even) { padding-left: 0; }
  .jm-pick-item:nth-last-child(1) { border-bottom: none; }
  .jm-pick-item:nth-last-child(2) { border-bottom: 1px solid rgba(255,255,255,0.1); }

  .jm-latest-section { padding: 64px 0; }
  .jm-latest-cat { min-width: 100px; font-size: 10px; }
  .jm-latest-title { font-size: 15px; }

  .jm-editorial-section { padding: 64px 0; }
  .jm-editorial-grid { grid-template-columns: 1fr; gap: 20px; }

  .jm-circ-section { padding: 64px 0; }
  .jm-circ-grid { grid-template-columns: 1fr; gap: 24px; }
  .jm-circ-img-wrap { width: 120px; height: 120px; }

  .jm-mix-section { padding: 64px 0; }
  .jm-mix-grid { grid-template-columns: 1fr; gap: 20px; }
  .jm-mix-card--featured { transform: none; }

  .jm-gallery-grid { flex-direction: column; height: auto; }
  .jm-gallery-item { min-height: 250px; }
  .jm-gallery-item + .jm-gallery-item { border-left: none; border-top: 3px solid var(--bg); }

  .single-wrap { padding: 24px 20px 60px; }
  .single-title { font-size: 26px; }

  .archive-grid { grid-template-columns: 1fr; }
  .archive-wrap { padding: 40px 0 60px; }
  .archive-img-wrap { height: 300px; aspect-ratio: unset; }

  .jm-footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .jm-footer-bottom { flex-direction: column; align-items: flex-start; }

  .page-wrap { padding: 0 20px; margin-top: 40px; }
  .not-found-code { font-size: 80px; }
}

/* ══════════════════════════════════════════════
   GDPR plugin gomb override
   ══════════════════════════════════════════════ */
#cookie-notice-accept-button,
.cn-button,
.cli-plugin-button,
.moove-gdpr-infobar-allow-btn,
.cmplz-btn,
.cc-btn,
.moove-gdpr-modal-allow-all,
.cli-plugin-main-button {
  border-radius: 999px !important;
}
