/*
Theme Name: Travelzona
Author: Digital Footprint
Description: Egyedi hírblog theme travelzona.hu-hoz, Amko design alapján.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: travelzona
*/

/* ============================================================
   CSS Custom Properties
   ============================================================ */
:root {
  --bg:      #fbf7ef;
  --primary: #74acc3;
  --body:    #333333;
  --title:   #000000;
  --white:   #ffffff;
  --black:   #000000;
  --muted:   #999999;
  --border:  rgba(0,0,0,0.1);
  --border-light: rgba(255,255,255,0.2);

  --desktop-space: 150px;
  --tablet-space:  100px;
  --mobile-space:   60px;

  --radius: 4px;
  --container-max: 1336px;
}

/* ============================================================
   Reset & Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

body, h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd {
  margin: 0;
  padding: 0;
}

body {
  color: var(--body);
  background-color: var(--white);
  font-family: Manrope, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 160%;
}

img { max-width: 100%; display: block; }

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; padding: 0; margin: 0; }

h1, h2, h3, h4, h5, h6 {
  color: var(--title);
  font-family: 'Inter Tight', sans-serif;
  margin-top: 0;
  margin-bottom: 10px;
  font-weight: 700;
  line-height: 130%;
}
h2 { font-size: 36px; }
h3 { font-size: 24px; }
h4 { font-size: 22px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; }

button { cursor: pointer; border: none; background: none; }

/* ============================================================
   Container
   ============================================================ */
.tzn-container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ============================================================
   HEADER / NAVBAR
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--white);
}

/* Navbar felső */
.navbar-top {
  border-bottom: 1px solid var(--border);
}

.navbar-top-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  padding-bottom: 15px;
  position: relative;
}

.navbar-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Hamburger */
.hamburger-btn {
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.hamburger-btn span {
  display: block;
  background-color: var(--black);
  border-radius: var(--radius);
  width: 30px;
  height: 1.5px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Divider */
.nav-divider {
  background-color: var(--border);
  width: 1px;
  height: 24px;
}

/* Search */
.nav-search-form {
  display: flex;
  align-items: center;
  margin-bottom: 0;
}

.nav-search-input {
  border: none;
  outline: none;
  background: none;
  font-family: Manrope, sans-serif;
  font-size: 14px;
  color: var(--body);
  width: 160px;
  padding: 0;
}

.nav-search-input::placeholder { color: var(--muted); }

.nav-search-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 0 0 6px;
  color: var(--body);
  font-size: 14px;
  transition: color 0.2s ease;
}
.nav-search-btn:hover { color: var(--primary); }

/* Logo (center absolute) */
.navbar-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.navbar-logo a {
  display: flex;
  align-items: center;
}

.navbar-logo img {
  height: 36px;
  width: auto;
}

.navbar-logo-text {
  font-family: 'Inter Tight', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.5px;
}

.navbar-right {
  display: flex;
  align-items: center;
}

/* Navbar alsó — kategória-linkek */
.navbar-bottom {
  border-bottom: 1px solid var(--border);
}

.navbar-bottom-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  padding-top: 15px;
  padding-bottom: 15px;
  flex-wrap: wrap;
}

.nav-cat-link {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: var(--body);
  text-decoration: none;
  overflow: hidden;
  display: inline-block;
}

.nav-cat-link .link-text {
  display: block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-cat-link .link-hover-text {
  position: absolute;
  top: 100%;
  left: 0;
  display: block;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}
.nav-cat-link:hover .link-text { transform: translateY(-100%); opacity: 0; }
.nav-cat-link:hover .link-hover-text { transform: translateY(-100%); opacity: 1; }

/* Mobile menu overlay */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0,0,0,0.5);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  height: 100%;
  background-color: var(--white);
  z-index: 201;
  transform: translateX(-100%);
  transition: transform 0.35s ease;
  display: flex;
  flex-direction: column;
  padding: 24px;
  overflow-y: auto;
}

.mobile-menu-overlay.is-open .mobile-menu-panel {
  transform: translateX(0);
}

.mobile-menu-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.mobile-menu-logo {
  font-family: 'Inter Tight', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--black);
}

.mobile-close-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 22px;
  color: var(--body);
  line-height: 1;
  transition: color 0.2s;
}
.mobile-close-btn:hover { color: var(--primary); }

.mobile-menu-search {
  margin-bottom: 24px;
}

.mobile-search-form {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 12px;
}

.mobile-search-input {
  border: none;
  outline: none;
  font-family: Manrope, sans-serif;
  font-size: 14px;
  color: var(--body);
  width: 100%;
  background: none;
}

.mobile-cat-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-cat-link {
  font-size: 16px;
  font-weight: 500;
  color: var(--body);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s ease;
}

.mobile-cat-link:hover { color: var(--primary); }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  margin-bottom: var(--desktop-space);
  padding-top: 60px;
}

/* Hero top: featured (72%) + right sidebar (28%) */
.hero-top {
  display: flex;
  gap: 30px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 31px;
}

.hero-featured {
  width: 100%;
  max-width: 72%;
}

.hero-right-col {
  width: 100%;
  max-width: 28%;
}

/* Hero featured main card */
.hf-link {
  display: block;
  text-decoration: none;
}

.hf-img-wrap {
  background-color: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
}

.card-img--520 {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.hf-link:hover .card-img--520 { transform: scale(1.02); }

.hf-data { margin-top: 12px; }

.hf-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 130%;
  -webkit-line-clamp: 3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hf-excerpt {
  font-size: 14px;
  line-height: 160%;
  color: var(--body);
  margin-bottom: 8px;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Hero right column cards */
.hero-news-list {
  display: grid;
  grid-template-columns: 1fr;
  grid-row-gap: 40px;
}

.hero-news-link {
  display: block;
  text-decoration: none;
}

.hero-news-img-wrap {
  background-color: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
}

.card-img--224 {
  width: 100%;
  height: 224px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.hero-news-link:hover .card-img--224 { transform: scale(1.02); }

.hero-news-data { margin-top: 12px; }

.hero-news-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
  -webkit-line-clamp: 3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 130%;
}

/* Hero bottom: 4 thumbnail cards */
.hero-bottom { margin-top: 30px; }

.hero-blog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 24px;
}

.hero-blog-link {
  display: flex;
  text-decoration: none;
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--bg);
  transition: box-shadow 0.3s ease;
}
.hero-blog-link:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); }

.hero-blog-thumb {
  background-color: var(--bg);
  min-width: 120px;
  max-width: 120px;
  min-height: 120px;
  max-height: 120px;
  overflow: hidden;
  flex-shrink: 0;
}

.card-img--120sq {
  width: 120px;
  height: 120px;
  object-fit: cover;
  display: block;
}

.hero-blog-data {
  background-color: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px;
  width: 100%;
}

.hero-blog-title {
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 0;
  max-height: 3em;
  overflow: hidden;
  line-height: 150%;
  font-family: Manrope, sans-serif;
  color: var(--body);
}

/* News info (category + date) */
.news-info {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 500;
  line-height: 140%;
  color: var(--body);
}

.news-info.white { color: var(--white); }

.news-info-cat a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s;
}
.news-info-cat a:hover { opacity: 0.75; }

.news-divider {
  background-color: rgba(0,0,0,0.3);
  width: 14px;
  height: 1px;
  flex-shrink: 0;
}
.news-divider.white { background-color: rgba(255,255,255,0.4); }

.blog-info-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 500;
  line-height: 140%;
  color: var(--muted);
}

/* ============================================================
   EDITORS PICK SECTION
   ============================================================ */
.editors-pick-section {
  margin-bottom: var(--desktop-space);
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 25px;
  color: var(--title);
  font-family: 'Inter Tight', sans-serif;
}

.editors-pick-wrap {
  display: flex;
  gap: 20px;
}

.ep-left { width: 100%; max-width: 32%; }
.ep-right { width: 100%; max-width: 68%; }

.ep-list {
  display: grid;
  grid-template-columns: 1fr;
  grid-row-gap: 20px;
}

/* Editors pick card (overlay) */
.ep-card {
  display: block;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  background-color: var(--bg);
}

.card-img--290 {
  width: 100%;
  height: 290px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.ep-card:hover .card-img--290 { transform: scale(1.03); }

.ep-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0.75));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 25px;
}

.ep-title {
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 0;
  -webkit-line-clamp: 3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 48px;
}

/* Editors pick right (big card) */
.ep-featured-card {
  display: block;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  background-color: var(--bg);
  height: 100%;
}

.card-img--600 {
  width: 100%;
  height: 600px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.ep-featured-card:hover .card-img--600 { transform: scale(1.02); }

.ep-featured-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(0,0,0,0) 40%, rgba(0,0,0,0.75));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 40px;
}

.ep-featured-title {
  color: var(--white);
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 0;
  line-height: 140%;
  -webkit-line-clamp: 3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 80px;
}

/* ============================================================
   LATEST NEWS SECTION
   ============================================================ */
.latest-news-section {
  margin-bottom: var(--desktop-space);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 25px;
}

.section-heading .section-title { margin-bottom: 0; }

/* Feature news (2 cards) */
.feature-news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.feature-news-card {
  display: block;
  text-decoration: none;
}

.feature-news-img-wrap {
  background-color: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
}

.card-img--400 {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.feature-news-card:hover .card-img--400 { transform: scale(1.02); }

.feature-news-data { margin-top: 16px; }

.news-cat-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary);
  margin-bottom: 8px;
}
.news-cat-badge a { color: inherit; text-decoration: none; }

.feature-news-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 130%;
  margin-bottom: 0;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: 2.6em;
}

/* Latest news (4 smaller cards) */
.latest-news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 24px;
}

.ln-card {
  display: block;
  text-decoration: none;
}

.ln-img-wrap {
  background-color: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
}

.card-img--306 {
  width: 100%;
  height: 306px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.ln-card:hover .card-img--306 { transform: scale(1.02); }

.ln-data { margin-top: 16px; }

.ln-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 130%;
  margin-bottom: 0;
  -webkit-line-clamp: 3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: 3.9em;
}

/* ============================================================
   KIEMELT KATEGÓRIA SECTION
   ============================================================ */
.kat-section {
  margin-bottom: var(--desktop-space);
  background-color: var(--bg);
  padding-top: 80px;
  padding-bottom: 80px;
}

.kat-wrap {
  display: flex;
  gap: 25px;
}

.kat-left {
  display: flex;
  flex-direction: column;
  gap: 25px;
  width: 100%;
  max-width: 25%;
}

.kat-center { width: 100%; max-width: 50%; }

.kat-right {
  display: flex;
  flex-direction: column;
  gap: 25px;
  width: 100%;
  max-width: 25%;
}

/* Text-only list items (no image) */
.kat-text-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.kat-text-link {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--border);
}
.kat-text-link:last-child { border-bottom: none; padding-bottom: 0; }

.kat-text-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  max-height: 3em;
  overflow: hidden;
  -webkit-line-clamp: 3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  line-height: 130%;
  color: var(--title);
  transition: color 0.2s;
}
.kat-text-link:hover .kat-text-title { color: var(--primary); }

/* Kat cards with image (240px) */
.kat-card {
  display: block;
  text-decoration: none;
}

.kat-img-wrap {
  background-color: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
}

.card-img--240 {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.kat-card:hover .card-img--240 { transform: scale(1.02); }

.kat-card-data { margin-top: 12px; }

.kat-card-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 130%;
  margin-bottom: 0;
  -webkit-line-clamp: 3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: 3.9em;
  color: var(--title);
  transition: color 0.2s;
}
.kat-card:hover .kat-card-title { color: var(--primary); }

/* Kat center feature card */
.kat-featured-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  gap: 16px;
}

.kat-img-wrap--featured { border-radius: var(--radius); overflow: hidden; }

.card-img--532 {
  width: 100%;
  height: 532px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.kat-featured-card:hover .card-img--532 { transform: scale(1.02); }

.kat-featured-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 130%;
  margin-bottom: 0;
  max-height: 3em;
  overflow: hidden;
  -webkit-line-clamp: 3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  color: var(--title);
  transition: color 0.2s;
}
.kat-featured-card:hover .kat-featured-title { color: var(--primary); }

/* ============================================================
   KIEMELT ÍRÁSOK (dark bg section)
   ============================================================ */
.kiemelt-section {
  margin-bottom: var(--desktop-space);
}

.kiemelt-wrap {
  background-color: #111111;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}

.kiemelt-inner {
  display: flex;
  position: relative;
  z-index: 1;
}

.kiemelt-content {
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 60px;
  width: 34%;
  flex-shrink: 0;
}

.kiemelt-heading {
  color: var(--white);
  font-size: 22px;
  font-weight: 600;
  border-left: 1px solid var(--white);
  padding-left: 20px;
  margin-bottom: 0;
  line-height: 140%;
  font-family: 'Inter Tight', sans-serif;
}

.kiemelt-cards-wrap {
  width: 66%;
  padding: 60px 60px 60px 0;
}

.kiemelt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  height: 100%;
}

.kiemelt-card {
  display: block;
  text-decoration: none;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--bg);
  box-shadow: 0 6px 4px rgba(255,255,255,0.3);
}

.card-img--280 {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.kiemelt-card:hover .card-img--280 { transform: scale(1.03); }

.kiemelt-card-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(0,0,0,0) 40%, rgba(0,0,0,0.75));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}

.kiemelt-card-title {
  color: var(--white);
  font-size: 14px;
  font-weight: 400;
  line-height: 150%;
  margin-bottom: 0;
  max-height: 3em;
  overflow: hidden;
  -webkit-line-clamp: 3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  font-family: Manrope, sans-serif;
  min-height: 42px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background-color: var(--black);
}

.footer-top {
  padding-top: 40px;
  padding-bottom: 100px;
}

.footer-top-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
}

.footer-left {
  width: 100%;
  max-width: 40%;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.footer-logo img { height: 32px; width: auto; }

.footer-logo-text {
  font-family: 'Inter Tight', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
}

.footer-info {
  color: #d9d9d9;
  font-size: 14px;
  line-height: 150%;
}

.footer-right {
  width: 100%;
  max-width: 50%;
}

.footer-legal-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.footer-legal-link {
  color: #d9d9d9;
  font-size: 14px;
  line-height: 150%;
  text-decoration: none;
  transition: color 0.3s;
}
.footer-legal-link:hover { color: var(--white); }

.footer-mid {
  border-top: 1px solid rgba(255,255,255,0.2);
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-top: 25px;
  padding-bottom: 25px;
}

.footer-mid-links {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-mid-link {
  color: #999;
  font-size: 14px;
  line-height: 150%;
  text-decoration: none;
  transition: color 0.3s;
}
.footer-mid-link:hover { color: var(--white); }

.footer-bottom {
  padding-top: 25px;
  padding-bottom: 25px;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  color: #999;
  font-size: 14px;
  line-height: 150%;
}

.footer-copyright { color: #999; }

/* ============================================================
   ARCHIVE.PHP
   ============================================================ */
.archive-header {
  padding-top: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 60px;
}

.archive-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 0;
}

.archive-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px 24px;
  margin-bottom: 60px;
}

.archive-card {
  display: block;
  text-decoration: none;
}

.archive-img-wrap {
  background-color: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
}

.card-img--340 {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.archive-card:hover .card-img--340 { transform: scale(1.02); }

.archive-card-data { margin-top: 16px; }

.archive-card-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 130%;
  margin-bottom: 0;
  -webkit-line-clamp: 3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--title);
  transition: color 0.2s;
}
.archive-card:hover .archive-card-title { color: var(--primary); }
.archive-card-excerpt {
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.5;
}

/* ============================================================
   SINGLE.PHP — Layout B (Szerkesztői hero)
   ============================================================ */
.single-hero-wrap {
  position: relative;
  height: 560px;
  overflow: hidden;
  background-color: var(--bg);
}

.single-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.single-hero-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(0,0,0,0) 30%, rgba(0,0,0,0.72));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 60px;
}

.single-hero-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.single-badge {
  display: inline-block;
  background-color: var(--primary);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: var(--radius);
  text-decoration: none;
}

.single-hero-title {
  color: var(--white);
  font-size: 42px;
  font-weight: 700;
  line-height: 120%;
  margin-bottom: 0;
  max-width: 800px;
}

/* Fallback header (no featured image) */
.single-header-fallback {
  padding-top: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.single-breadcrumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
}
.single-breadcrumb a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.single-breadcrumb a:hover { color: var(--primary); }

.single-fallback-title {
  font-size: 42px;
  font-weight: 700;
  line-height: 120%;
  margin-bottom: 0;
}

/* Single content */
.single-content-wrap {
  padding-top: 60px;
  padding-bottom: 80px;
}

.single-content {
  max-width: 720px;
  margin: 0 auto;
}

.single-content-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.entry-content {
  font-size: 18px;
  line-height: 170%;
  color: var(--body);
}

.entry-content p { margin-bottom: 24px; }
.entry-content h2 { font-size: 28px; margin-top: 40px; margin-bottom: 16px; }
.entry-content h3 { font-size: 22px; margin-top: 32px; margin-bottom: 12px; }
.entry-content ul, .entry-content ol { padding-left: 24px; margin-bottom: 24px; }
.entry-content li { margin-bottom: 8px; }
.entry-content blockquote {
  border-left: 4px solid var(--primary);
  padding: 16px 24px;
  margin: 32px 0;
  background-color: var(--bg);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 20px;
  font-style: italic;
}

/* Cikk-tartalom képek (konzisztens border-radius a kártyákkal) */
.entry-content img {
  border-radius: var(--radius);
  margin-bottom: 24px;
  max-width: 100%;
}

/* Related posts */
.related-section {
  border-top: 1px solid var(--border);
  padding-top: 60px;
  padding-bottom: 80px;
}

.related-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 32px;
}

.related-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}

.related-card {
  display: block;
  text-decoration: none;
}

.related-img-wrap {
  background-color: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
}

.card-img--220 {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.related-card:hover .card-img--220 { transform: scale(1.02); }

.related-card-data { margin-top: 12px; }

.related-card-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 130%;
  margin-bottom: 0;
  -webkit-line-clamp: 3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--title);
  transition: color 0.2s;
}
.related-card:hover .related-card-title { color: var(--primary); }

/* ============================================================
   PAGE.PHP
   ============================================================ */
.page-section {
  padding-top: 60px;
  padding-bottom: 80px;
}

.page-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 32px;
}

.page-content {
  max-width: 800px;
  font-size: 17px;
  line-height: 170%;
}
.page-content p { margin-bottom: 20px; }
.page-content h2 { font-size: 26px; margin-top: 40px; margin-bottom: 12px; }
.page-content h3 { font-size: 20px; margin-top: 32px; margin-bottom: 10px; }
.page-content ul, .page-content ol { padding-left: 24px; margin-bottom: 20px; }
.page-content a { color: var(--primary); text-decoration: underline; }
.page-content img { border-radius: var(--radius); margin-bottom: 20px; }

/* ============================================================
   404.PHP
   ============================================================ */
.error-section {
  padding-top: 120px;
  padding-bottom: 120px;
  text-align: center;
}

.error-code {
  font-size: 120px;
  font-weight: 800;
  color: var(--bg);
  margin-bottom: 0;
  line-height: 1;
  font-family: 'Inter Tight', sans-serif;
  text-shadow: 2px 2px 0 var(--border);
}

.error-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
}

.error-text {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 32px;
}

.error-home-link {
  display: inline-block;
  background-color: var(--black);
  color: var(--white);
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-decoration: none;
  border: 1px solid var(--black);
}
.error-home-link:hover {
  background-color: transparent;
  color: var(--black);
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination-wrap {
  display: flex;
  justify-content: center;
  margin-top: 60px;
  margin-bottom: 40px;
}

.pagination {
  display: flex;
  gap: 8px;
  align-items: center;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  color: var(--body);
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.pagination a:hover {
  background-color: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.pagination .current {
  background-color: var(--black);
  color: var(--white);
  border-color: var(--black);
}

/* ============================================================
   NO THUMBNAIL PLACEHOLDER
   ============================================================ */
.img-placeholder {
  width: 100%;
  background-color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 12px;
}

/* ============================================================
   RESPONSIVE — Tablet (≤1100px)
   ============================================================ */
@media (max-width: 1100px) {
  h2 { font-size: 30px; }
  h3 { font-size: 22px; }
  h4 { font-size: 20px; }

  .hero-top { flex-direction: column; }
  .hero-featured, .hero-right-col { max-width: 100%; }
  .hero-right-col { display: none; }

  .editors-pick-wrap { flex-direction: column; }
  .ep-left, .ep-right { max-width: 100%; }
  .ep-list { grid-template-columns: 1fr 1fr; }
  .card-img--600 { height: 400px; }

  .latest-news-grid { grid-template-columns: 1fr 1fr; }

  .kat-wrap { flex-direction: column; }
  .kat-left, .kat-center, .kat-right { max-width: 100%; }

  .archive-grid { grid-template-columns: 1fr 1fr; }

  :root { --desktop-space: var(--tablet-space); }
}

/* ============================================================
   RESPONSIVE — Mobile (≤767px)
   ============================================================ */
@media (max-width: 767px) {
  h2 { font-size: 26px; }
  h3 { font-size: 20px; }
  h4 { font-size: 18px; }

  :root { --desktop-space: var(--mobile-space); }

  .navbar-bottom { display: none; }

  .nav-search-input { width: 100px; }

  .hero-section { padding-top: 30px; }
  .hero-featured { max-width: 100%; }
  .hero-right-col { display: none; }

  /* Mobil kép-magasságok: minden kártya-típus egységesen 300px */
  .card-img--520 { height: 300px; }
  .card-img--400 { height: 300px; }
  .card-img--306 { height: 300px; }
  .card-img--290 { height: 300px; }
  .card-img--240 { height: 300px; }
  .card-img--532 { height: 300px; }
  .card-img--280 { height: 300px; }
  .card-img--340 { height: 300px; }
  .card-img--220 { height: 300px; }

  .hero-blog-grid { grid-template-columns: 1fr; }
  .hero-blog-thumb { min-width: 100px; max-width: 100px; min-height: 100px; max-height: 100px; }
  .card-img--120sq { width: 100px; height: 100px; }

  .ep-list { grid-template-columns: 1fr; }

  .feature-news-grid { grid-template-columns: 1fr; }

  .latest-news-grid { grid-template-columns: 1fr; }

  .kat-wrap { flex-direction: column; }
  .kat-left, .kat-center, .kat-right { max-width: 100%; }

  .kiemelt-inner { flex-direction: column; }
  .kiemelt-content { width: 100%; padding: 25px; }
  .kiemelt-cards-wrap { width: 100%; padding: 0 25px 25px; }
  .kiemelt-grid { grid-template-columns: 1fr; }

  .footer-top-inner { flex-direction: column; gap: 32px; }
  .footer-left, .footer-right { max-width: 100%; }
  .footer-mid-links { gap: 16px; }

  .archive-grid { grid-template-columns: 1fr; }

  .single-hero-wrap { height: 320px; }
  .single-hero-overlay { padding: 30px 20px; }
  .single-hero-title { font-size: 26px; }

  .related-grid { grid-template-columns: 1fr; }
}
