/*
Theme Name:  Wamp
Author:      Digital Footprint
Description: Egyedi WordPress blog theme – wamp.hu
Version:     1.0.0
License:     Proprietary
Text Domain: wamp
*/

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

html { scroll-behavior: smooth; }

body {
  font-family: Barlow, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.556em;
  color: var(--text);
  background-color: var(--bg);
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: Barlow, sans-serif;
  font-weight: 600;
  color: var(--heading);
  line-height: 1.1em;
  margin: 0;
}

h1 { font-size: 48px; }
h2 { font-size: 36px; }
h3 { font-size: 24px; }
h4 { font-size: 20px; }

/* ===========================================
   CSS Variables
   =========================================== */
:root {
  --bg:        #02050b;
  --bg-card:   #0d1017;
  --bg-alt:    #111520;
  --heading:   #ffffff;
  --text:      #f3f3f3;
  --muted:     #6d6d6d;
  --accent:    #D7DF22;
  --border:    #1e2233;
  --container: 1250px;
  --radius:    4px;
  --radius-btn: 6px;
  --mobile-img: 300px;
}

/* ===========================================
   Layout
   =========================================== */
.bio-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.bio-container--wide {
  max-width: 1155px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===========================================
   Badge
   =========================================== */
.cat-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  width: fit-content;
  background-color: var(--accent);
  color: #02050b;
  border-radius: var(--radius);
  padding: 5px 12px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background-color 0.2s ease;
}
a.cat-badge:hover { background-color: #b8c41c; }

/* ===========================================
   Button
   =========================================== */
.wamp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent);
  color: #02050b;
  border: 1px solid var(--accent);
  border-radius: var(--radius-btn);
  padding: 12px 22px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.333em;
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
  align-self: flex-start;
}
.wamp-btn:hover {
  background-color: #ffffff;
  border-color: #ffffff;
  color: var(--bg);
  transform: scale(0.97);
}

.wamp-btn--outline {
  background-color: transparent;
  color: #ffffff;
  border-color: rgba(255,255,255,0.3);
}
.wamp-btn--outline:hover {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #02050b;
}

/* ===========================================
   Header / Navigation
   =========================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(2, 5, 11, 0.95);
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.site-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.site-logo img { height: 36px; width: auto; }
.site-logo .logo-text {
  font-size: 22px;
  font-weight: 600;
  color: var(--heading);
  letter-spacing: -0.01em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}

.site-nav a {
  display: inline-block;
  padding: 6px 14px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius);
  transition: color 0.2s ease, background-color 0.2s ease;
}
.site-nav a:hover { color: var(--accent); background-color: rgba(215,223,34,0.08); }

.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 4px;
  border-radius: var(--radius);
  transition: background-color 0.2s ease;
}
.hamburger-btn:hover { background-color: rgba(255,255,255,0.06); }
.hamburger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--heading);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Mobile nav */
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(2, 5, 11, 0.98);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s;
}
.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateY(0);
}
.mobile-nav a {
  font-size: 24px;
  font-weight: 600;
  color: var(--heading);
  padding: 10px 24px;
  border-radius: var(--radius);
  transition: color 0.2s ease;
}
.mobile-nav a:hover { color: var(--accent); }
.mobile-nav-close {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 28px;
  background: none;
  border: none;
  color: var(--heading);
  cursor: pointer;
  padding: 8px;
  transition: color 0.2s ease;
}
.mobile-nav-close:hover { color: var(--accent); }

/* ===========================================
   Hero Section — v2 contained card stílus
   border-radius: 4px, bg-image abszolút, szöveg alul
   =========================================== */
.hero-section {
  padding-bottom: 40px;
}

.hero-card {
  display: block;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  padding: 315px 40px 95px;
  min-height: 500px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.6s ease;
}
.hero-card:hover .hero-bg { transform: scale(1.02); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2,5,11,0.92) 0%, rgba(2,5,11,0.4) 55%, rgba(2,5,11,0.15) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  max-width: 680px;
}

.hero-title {
  font-size: clamp(32px, 5vw, 72px);
  font-weight: 600;
  color: #ffffff;
  line-height: 1em;
  text-transform: uppercase;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  overflow: hidden;
}

.hero-excerpt {
  font-size: 18px;
  color: rgba(243,243,243,0.85);
  line-height: 1.5em;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  overflow: hidden;
  max-width: 560px;
}

/* ===========================================
   Update Cards Section — 2-col horizontal
   update-image-v2: max-height: 216px
   =========================================== */
.updates-section {
  padding: 40px 0;
}

.updates-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.update-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.update-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.update-img {
  width: 100%;
  max-height: 245px;
  overflow: hidden;
  flex-shrink: 0;
  background-color: var(--bg-alt);
}
.update-img img {
  width: 100%;
  height: 245px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.update-card:hover .update-img img { transform: scale(1.04); }

.update-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 28px;
  flex: 1;
}

.update-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--heading);
  line-height: 1.3em;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  overflow: hidden;
}

.update-excerpt {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5em;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  overflow: hidden;
}

/* ===========================================
   Game Mode Tabs Section — 3 poszt, tab váltás
   Tab: border-bottom line (active: accent), fullwidth 640px kártya
   =========================================== */
.gamemode-section {
  padding: 40px 0;
}

.gm-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 0;
  border-bottom: 1px solid var(--border);
}

.gm-tab {
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  padding: 0 48px 24px;
  font-size: 18px;
  font-weight: 600;
  font-family: Barlow, sans-serif;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.25s ease, border-bottom-color 0.25s ease;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.gm-tab:hover { color: var(--text); }
.gm-tab.active {
  border-bottom-color: var(--accent);
  color: var(--heading);
}

.gm-panels { margin-top: 0; }

.gm-panel {
  display: none;
}
.gm-panel.active { display: block; }

.gm-card {
  display: block;
  position: relative;
  width: 100%;
  min-height: 640px;
  border-radius: 0 0 var(--radius) var(--radius);
  overflow: hidden;
  text-decoration: none;
}

.gm-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.6s ease;
  background-color: var(--bg-alt);
}
.gm-card:hover .gm-card-bg { transform: scale(1.02); }

.gm-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2,5,11,0.9) 0%, rgba(2,5,11,0.3) 55%, rgba(2,5,11,0.05) 100%);
}

.gm-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 48px 40px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.gm-card-title {
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 600;
  color: #ffffff;
  line-height: 1.1em;
  text-transform: uppercase;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  overflow: hidden;
  min-height: 52px;
}

.gm-card-excerpt {
  font-size: 16px;
  color: rgba(243,243,243,0.8);
  line-height: 1.5em;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  overflow: hidden;
  max-width: 580px;
}

/* ===========================================
   Newsletter CTA Section
   Accent bg fullwidth, centered form
   =========================================== */
.newsletter-section {
  padding: 0;
}

.newsletter-card {
  background-color: var(--accent);
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter-content {
  max-width: 710px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.newsletter-title {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 600;
  color: #02050b;
  line-height: 1.05em;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.newsletter-desc {
  font-size: 17px;
  color: rgba(2,5,11,0.7);
  line-height: 1.6em;
  max-width: 520px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  width: 100%;
  max-width: 480px;
  margin-top: 12px;
}

.newsletter-input {
  flex: 1;
  height: 52px;
  padding: 0 18px;
  font-size: 16px;
  font-family: Barlow, sans-serif;
  color: var(--bg);
  background-color: #ffffff;
  border: none;
  border-radius: var(--radius-btn);
  outline: none;
  transition: box-shadow 0.2s ease;
}
.newsletter-input:focus { box-shadow: 0 0 0 3px rgba(255,255,255,0.4); }
.newsletter-input::placeholder { color: rgba(2,5,11,0.45); }

.newsletter-btn {
  height: 52px;
  padding: 0 28px;
  font-size: 16px;
  font-weight: 600;
  font-family: Barlow, sans-serif;
  color: var(--accent);
  background-color: var(--bg);
  border: none;
  border-radius: var(--radius-btn);
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.2s ease;
}
.newsletter-btn:hover {
  background-color: #ffffff;
  transform: scale(0.97);
}

/* ===========================================
   Adventure Section — felváltva kép bal / kép jobb
   Row 1: 1.2fr/1fr, Row 2: 1fr/1.2fr, gap: 24px sorok közt
   =========================================== */
.adventure-section {
  padding: 80px 0;
}

.adventure-row {
  display: grid;
  gap: 40px;
  align-items: center;
}
.adventure-row + .adventure-row {
  margin-top: 24px;
}

.adventure-row--left  { grid-template-columns: 1.2fr 1fr; }
.adventure-row--right { grid-template-columns: 1fr 1.2fr; }

.adventure-img {
  overflow: hidden;
  border-radius: var(--radius);
  height: 480px;
  background-color: var(--bg-alt);
}
.adventure-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.adventure-row:hover .adventure-img img { transform: scale(1.03); }

.adventure-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px 0;
}

.adventure-title {
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 600;
  color: var(--heading);
  text-transform: uppercase;
  line-height: 1.1em;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  overflow: hidden;
}

.adventure-excerpt {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.6em;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  overflow: hidden;
}

/* ===========================================
   Featured Blog Card — 2-col, kép bal .98fr / szöveg jobb 1fr
   blog-card-featured.post-v2: text padding 74px 46px 74px 0
   =========================================== */
.featured-section {
  padding: 40px 0;
}

.featured-card {
  display: grid;
  grid-template-columns: 0.98fr 1fr;
  gap: 28px;
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  min-height: 480px;
  transition: border-color 0.25s ease;
}
.featured-card:hover { border-color: var(--accent); }

.featured-img {
  overflow: hidden;
  background-color: var(--bg-alt);
  height: 100%;
}
.featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.featured-card:hover .featured-img img { transform: scale(1.03); }

.featured-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 74px 46px 74px 0;
}

.featured-title {
  font-size: 30px;
  font-weight: 600;
  color: var(--heading);
  line-height: 1.2em;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  overflow: hidden;
}

.featured-excerpt {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6em;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  overflow: hidden;
}

/* ===========================================
   News Section — featured + 2 szöveges kártya
   =========================================== */
.news-section {
  padding: 40px 0 80px;
}

.news-text-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 40px;
}

.news-text-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 50px 42px;
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.news-text-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.news-text-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--heading);
  line-height: 1.3em;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  overflow: hidden;
}

.news-browse-row {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}

/* ===========================================
   Section Titles — ghost duplikált háttérszöveg
   =========================================== */
.section-header {
  display: flex;
  align-items: center;
  margin-bottom: 36px;
  position: relative;
  overflow: hidden;
  padding-top: 36px;
  padding-bottom: 36px;
}

.section-header::before {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 700;
  font-family: Barlow, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.06);
  white-space: nowrap;
  line-height: 1;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.section-title {
  font-size: 30px;
  font-weight: 600;
  color: var(--heading);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
}

/* ===========================================
   Post Cards (3-col / 4-col)
   =========================================== */
.posts-3-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.posts-4-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.post-card {
  display: flex;
  flex-direction: column;
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  height: 100%;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.post-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.card-img {
  width: 100%;
  overflow: hidden;
  flex-shrink: 0;
  background-color: var(--bg-alt);
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
  border-radius: 0;
}
.post-card:hover .card-img img { transform: scale(1.04); }

.card-img--300 { height: 300px; }
.card-img--200 { height: 200px; }

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

.card-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--heading);
  line-height: 1.3em;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  overflow: hidden;
}

.card-excerpt {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5em;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  overflow: hidden;
  margin-top: 4px;
}

/* ===========================================
   Latest Section
   =========================================== */
.latest-section {
  padding: 80px 0;
}

/* ===========================================
   Secondary Section
   =========================================== */
.secondary-section {
  padding: 0 0 80px;
  background-color: var(--bg-alt);
  padding: 64px 0;
}

/* ===========================================
   Single Post — Layout B (Szerkesztői hero)
   =========================================== */
.single-hero {
  position: relative;
  height: 560px;
  overflow: hidden;
  background-color: var(--bg-alt);
}
.single-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.single-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2,5,11,0.80) 0%, rgba(2,5,11,0.25) 100%);
  display: flex;
  align-items: flex-end;
  padding-bottom: 40px;
}
.single-hero-header {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.single-hero-header .post-title {
  font-size: 42px;
  font-weight: 600;
  color: #fff;
  line-height: 1.1em;
}

.single-fallback-header {
  padding: 48px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.single-content-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.entry-content {
  font-size: 18px;
  line-height: 1.7em;
  color: var(--text);
}
.entry-content h2, .entry-content h3, .entry-content h4 {
  margin-top: 36px;
  margin-bottom: 14px;
}
.entry-content p { margin-bottom: 20px; }
.entry-content ul, .entry-content ol { padding-left: 24px; margin-bottom: 20px; }
.entry-content li { margin-bottom: 6px; }
.entry-content a { color: var(--accent); text-decoration: underline; }
.entry-content img {
  border-radius: var(--radius);
  margin: 24px auto;
}

/* Related Posts — Stílus C (accent bg, 2-col) */
.related-section {
  background-color: rgba(215, 223, 34, 0.07);
  border-top: 1px solid rgba(215, 223, 34, 0.2);
  padding: 64px 0;
}
.related-section .section-title {
  margin-bottom: 36px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* ===========================================
   Archive / Category
   =========================================== */
.archive-header {
  padding: 80px 0 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 56px;
}
.archive-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 10px;
}
.archive-title {
  font-size: 42px;
  font-weight: 600;
  color: var(--heading);
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 64px;
}

.archive-card {
  display: flex;
  flex-direction: column;
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.archive-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}
.archive-card .card-img { height: 240px; }
.archive-card .card-body { gap: 10px; }
.archive-excerpt {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5em;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  overflow: hidden;
}

/* ===========================================
   Page (static)
   =========================================== */
.page-header {
  padding: 80px 0 40px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 48px;
}
.page-title {
  font-size: 42px;
  font-weight: 600;
  color: var(--heading);
}
.page-content-wrap {
  max-width: 720px;
  padding: 0 24px 80px;
}

/* ===========================================
   404
   =========================================== */
.error-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}
.error-code {
  font-size: clamp(80px, 15vw, 160px);
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
  opacity: 0.2;
  display: block;
  margin-bottom: -20px;
}
.error-title {
  font-size: 32px;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 16px;
}
.error-text {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 32px;
}

/* ===========================================
   Search Results
   =========================================== */
.search-header {
  padding: 80px 0 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 56px;
}
.search-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 64px;
}

/* ===========================================
   Footer
   =========================================== */
.site-footer {
  background-color: var(--bg-alt);
  border-top: 1px solid var(--border);
}
.footer-top {
  padding: 56px 0 48px;
}
.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-brand {
  flex: 1;
  min-width: 200px;
}
.footer-brand .logo-text {
  font-size: 20px;
  font-weight: 600;
  color: var(--heading);
  display: inline-block;
  margin-bottom: 10px;
}
.footer-brand img { height: 32px; width: auto; margin-bottom: 10px; }
.footer-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6em;
  max-width: 260px;
}

.footer-links {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 16px;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col ul li a {
  font-size: 15px;
  color: var(--text);
  transition: color 0.2s ease;
}
.footer-col ul li a:hover { color: var(--accent); }

.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid var(--border);
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copyright {
  font-size: 14px;
  color: var(--muted);
}
.footer-legal {
  display: flex;
  align-items: center;
  gap: 24px;
}
.footer-legal a {
  font-size: 14px;
  color: var(--muted);
  transition: color 0.2s ease;
}
.footer-legal a:hover { color: var(--accent); }

/* ===========================================
   Pagination
   =========================================== */
.pagination-wrap {
  padding: 32px 0 64px;
}
.pagination {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--border);
  background-color: var(--bg-card);
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.pagination a:hover { border-color: var(--accent); color: var(--accent); }
.pagination .current { background-color: var(--accent); border-color: var(--accent); color: #02050b; }

/* ===========================================
   Responsive
   =========================================== */
@media (max-width: 1024px) {
  .featured-card { grid-template-columns: 1fr; min-height: auto; }
  .featured-body { padding: 32px; }
  .featured-img { height: 300px; }
  .gm-tab { padding: 0 28px 20px; font-size: 15px; }
  .gm-card { min-height: 480px; }
  .adventure-row--left,
  .adventure-row--right { grid-template-columns: 1fr; gap: 24px; }
  .adventure-img { height: 340px; }
  .adventure-row--right .adventure-img { order: -1; }
}

@media (max-width: 767px) {
  body { font-size: 16px; }

  h1 { font-size: 28px; }
  h2 { font-size: 22px; }
  h3 { font-size: 18px; }

  .hamburger-btn { display: flex; }
  .site-nav { display: none; }

  /* Hero */
  .hero-card {
    padding: 240px 24px 48px;
    min-height: 400px;
  }
  .hero-title { font-size: 28px; }

  /* Update cards */
  .updates-grid { grid-template-columns: 1fr; gap: 20px; }
  .update-img img { height: var(--mobile-img); }

  /* Game mode tabs */
  .gm-tabs {
    gap: 0;
    overflow-x: auto;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .gm-tabs::-webkit-scrollbar { display: none; }
  .gm-tab { padding: 0 20px 16px; font-size: 14px; white-space: nowrap; }
  .gm-card { min-height: 340px; }
  .gm-card-content { padding: 28px 24px; gap: 12px; }
  .gm-card-title { font-size: 22px; }
  .gm-card-excerpt { display: none; }

  /* Featured */
  .featured-card { grid-template-columns: 1fr; min-height: auto; }
  .featured-img { height: var(--mobile-img); }
  .featured-img img { height: 100%; }
  .featured-body { padding: 28px 24px; }
  .featured-title { font-size: 20px; }

  /* Blog grid */
  .blog-grid-2col { grid-template-columns: 1fr; gap: 20px; }
  .blog-card-v2-body { padding: 24px; }

  /* Posts grids */
  .posts-3-grid { grid-template-columns: 1fr; gap: 20px; }
  .posts-4-grid { grid-template-columns: 1fr; gap: 20px; }
  .related-grid { grid-template-columns: 1fr; }
  .archive-grid { grid-template-columns: 1fr; gap: 20px; }
  .search-grid { grid-template-columns: 1fr; gap: 20px; }

  .card-img--300 { height: var(--mobile-img); }
  .card-img--200 { height: var(--mobile-img); }
  .archive-card .card-img { height: var(--mobile-img); }
  .search-card .card-img { height: var(--mobile-img); }

  /* Single */
  .single-hero { height: 320px; }
  .single-hero-header .post-title { font-size: 24px; }
  .single-content-wrap { padding: 32px 20px 60px; }

  /* Footer */
  .footer-inner { flex-direction: column; gap: 32px; }
  .footer-links { flex-direction: column; gap: 24px; }
  .footer-bottom-inner { flex-direction: column; gap: 10px; align-items: flex-start; }

  /* Newsletter */
  .newsletter-card { padding: 80px 0; }
  .newsletter-form { flex-direction: column; align-items: stretch; }
  .newsletter-input, .newsletter-btn { width: 100%; }

  /* Adventure */
  .adventure-section { padding: 48px 0; }
  .adventure-row--left,
  .adventure-row--right { grid-template-columns: 1fr; gap: 20px; }
  .adventure-img { height: var(--mobile-img); }
  .adventure-row--right .adventure-img { order: -1; }
  .adventure-title { font-size: 22px; }

  /* News */
  .news-text-grid { grid-template-columns: 1fr; gap: 20px; }
  .news-text-card { padding: 28px 24px; }

  /* Sections */
  .updates-section { padding: 32px 0; }
  .gamemode-section { padding: 32px 0; }
  .news-section { padding: 32px 0 56px; }
}

/* ===========================================
   GDPR Button Override
   =========================================== */
#cookie-notice-accept-button,
.cn-button,
.cli-plugin-button,
.moove-gdpr-infobar-allow-btn,
.moove-gdpr-btn-wrap .moove-gdpr-infobar-allow-btn,
.cmplz-btn,
.cc-btn {
  border-radius: var(--radius-btn) !important;
}

/* Moove GDPR plugin — gomb szöveg sötét + border-radius */
#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content button.mgbutton {
  color: #02050b !important;
  border-radius: 4px !important;
}
#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder button.mgbutton {
  color: #02050b !important;
  border-radius: 4px !important;
}
#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu li button {
  color: #02050b !important;
  border-radius: 4px !important;
}
#moove_gdpr_cookie_info_bar .moove-gdpr-infobar-close-btn.moovegdpr-arrow-close:after,
#moove_gdpr_cookie_info_bar .moove-gdpr-infobar-close-btn.moovegdpr-arrow-close:before,
.gdpr-icon.moovegdpr-arrow-close:after,
.gdpr-icon.moovegdpr-arrow-close:before,
i.moovegdpr-arrow-close.moovegdpr-arrow-close:after,
i.moovegdpr-arrow-close.moovegdpr-arrow-close:before {
  color: #02050b !important;
}
