/* ════════════════════════════════════════════════════════
   blog.aiasz.hu – Frontend Stíluslap v1.0
   Design: AIASZ Tech Blog | 2026
════════════════════════════════════════════════════════ */

/* ── @font-face (helyi WOFF2) ───────────────────────── */
@font-face { font-family:'Bebas Neue'; font-style:normal; font-weight:400; font-display:swap; src:url('/public/assets/fonts/bebas-neue-400.woff2') format('woff2'); }
@font-face { font-family:'Playfair Display'; font-style:normal; font-weight:600; font-display:swap; src:url('/public/assets/fonts/playfair-display-600.woff2') format('woff2'); }
@font-face { font-family:'Playfair Display'; font-style:normal; font-weight:700; font-display:swap; src:url('/public/assets/fonts/playfair-display-700.woff2') format('woff2'); }
@font-face { font-family:'Playfair Display'; font-style:normal; font-weight:800; font-display:swap; src:url('/public/assets/fonts/playfair-display-800.woff2') format('woff2'); }
@font-face { font-family:'Lora'; font-style:normal; font-weight:400; font-display:swap; src:url('/public/assets/fonts/lora-400.woff2') format('woff2'); }
@font-face { font-family:'Lora'; font-style:normal; font-weight:600; font-display:swap; src:url('/public/assets/fonts/lora-600.woff2') format('woff2'); }
@font-face { font-family:'Lora'; font-style:italic; font-weight:400; font-display:swap; src:url('/public/assets/fonts/lora-400-italic.woff2') format('woff2'); }
@font-face { font-family:'Inter'; font-style:normal; font-weight:400; font-display:swap; src:url('/public/assets/fonts/inter-400.woff2') format('woff2'); }
@font-face { font-family:'Inter'; font-style:normal; font-weight:500; font-display:swap; src:url('/public/assets/fonts/inter-500.woff2') format('woff2'); }
@font-face { font-family:'Inter'; font-style:normal; font-weight:600; font-display:swap; src:url('/public/assets/fonts/inter-600.woff2') format('woff2'); }
@font-face { font-family:'Inter'; font-style:normal; font-weight:700; font-display:swap; src:url('/public/assets/fonts/inter-700.woff2') format('woff2'); }

/* ── CSS Variables ──────────────────────────────────── */
:root {
  --navy:         #0f172a;
  --navy-mid:     #1e2d45;
  --blue:         #3b82f6;
  --blue2:        #2563eb;
  --blue-light:   #93c5fd;
  --ink:          #1e293b;
  --muted:        #64748b;
  --border:       #e2e8f0;
  --bg:           #f1f5f9;
  --card:         #ffffff;
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-serif:   'Lora', Georgia, serif;
  --radius:       12px;
  --shadow:       0 2px 12px rgba(15,23,42,.08);
  --hero-accent:  rgb(15 156 223 / 93%);
}

/* ── Reset ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--bg); color: var(--ink); font-size: 16px; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

/* ── Utility ────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ── Topbar ─────────────────────────────────────────── */
.topbar { background: var(--navy); color: #94a3b8; font-size: .78rem; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.05); }
.topbar-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; }
.topbar a { color: #94a3b8; transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar-links { display: flex; gap: 16px; }
.topbar > .topbar-inner > span { display: block; }

/* ── Header ─────────────────────────────────────────── */
header.site-header { background: var(--navy); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 20px rgba(0,0,0,.25),0 1px 0 rgba(59,130,246,.2); border-bottom: 1px solid rgba(59,130,246,.15); overflow: visible; }
.header-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 28px; height: 80px; overflow: visible; }

/* Logo */
.logo-wrap { display: flex; align-items: center; gap: 14px; text-decoration: none; flex-shrink: 0; position: relative; z-index: 110; margin-bottom: -28px; align-self: flex-start; margin-top: 8px; }
.logo-img { height: 100px; width: auto; object-fit: contain; flex-shrink: 0; filter: drop-shadow(0 4px 14px rgba(0,0,0,.6)); }
.logo-text { display: flex; flex-direction: column; line-height: 1; gap: 2px; padding-bottom: 16px; }
.logo-text .logo-main { font-family: 'Bebas Neue', Impact, 'Arial Black', sans-serif; font-size: 2rem; font-weight: 400; color: #fff; letter-spacing: .08em; text-shadow: 0 2px 12px rgba(0,0,0,.5); line-height: 1; margin-top: -6px; }
.logo-text .logo-sub { font-family: var(--font-body); font-size: .77rem; font-weight: 600; color: #94a3b8; letter-spacing: .14em; text-transform: uppercase; margin-top: 3px; }

/* Nav */
.site-nav { display: flex; gap: 2px; flex: 1; list-style: none; }
.site-nav a { font-family: var(--font-body); color: #cbd5e1; font-size: .85rem; font-weight: 500; padding: 6px 13px; border-radius: 8px; transition: background .2s,color .2s; white-space: nowrap; display: block; }
.site-nav a:hover, .site-nav a.active { background: rgba(59,130,246,.15); color: var(--blue-light); }

/* Search */
.header-search { display: flex; align-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 24px; padding: 6px 14px; gap: 8px; transition: background .2s; flex-shrink: 0; }
.header-search:focus-within { background: rgba(255,255,255,.14); }
.header-search input { background: none; border: none; outline: none; color: #fff; font-size: .88rem; width: 180px; }
.header-search input::placeholder { color: #94a3b8; }
.header-search svg { color: #94a3b8; flex-shrink: 0; }
.header-search button { display: none; }

/* Nav toggle (mobile) */
.nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; padding: 6px; line-height: 1; margin-left: auto; }
.nav-close { display: none; position: absolute; top: 20px; right: 20px; background: none; border: none; color: #fff; font-size: 1.8rem; cursor: pointer; line-height: 1; }

/* ── Hero section ───────────────────────────────────── */
.hero { max-width: 1200px; margin: 48px auto 32px; padding: 0 20px; display: grid; grid-template-columns: 2fr 1fr; gap: 24px; }
.hero-main { position: relative; border-radius: var(--radius); overflow: visible; aspect-ratio: 16/9; background: var(--navy-mid); box-shadow: var(--shadow); display: block; text-decoration: none; }
.hero-main-media { position: absolute; inset: 0; overflow: hidden; border-radius: var(--radius); }
.hero-main-media img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transform: scale(1.2); transform-origin: center center; transition: transform 1.2s cubic-bezier(.25,.46,.45,.94); will-change: transform; }
.hero-main-overlay { position: absolute; bottom: 0; left: -40px; right: 0; padding: 0 0 28px 0; display: flex; flex-direction: column; justify-content: flex-end; pointer-events: none; z-index: 5; }
.hero-main-overlay h2 { font-family: var(--font-heading); font-size: 2.15rem; font-weight: 800; line-height: 1.5; margin: 0; letter-spacing: -.02em; display: block; pointer-events: all; }
.hero-main-overlay h2 .hl { color: #fff; background: var(--hero-accent); padding: 6px 24px 6px 44px; border-radius: 0 6px 6px 0; box-decoration-break: clone; -webkit-box-decoration-break: clone; display: inline; }

/* Hero side */
.hero-side { display: flex; flex-direction: column; gap: 10px; align-self: stretch; }
.hero-side-item { position: relative; border-radius: var(--radius); overflow: visible; flex: 1; min-height: 0; background: var(--navy-mid); box-shadow: var(--shadow); display: block; text-decoration: none; }
.hero-side-item .pan-wrap { position: absolute; inset: 0; overflow: hidden; border-radius: var(--radius); }
.hero-side-item .pan-wrap img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transform: scale(1.2); transform-origin: center center; transition: transform 1.2s cubic-bezier(.25,.46,.45,.94); will-change: transform; }
.hero-side-overlay { position: absolute; bottom: 0; left: -20px; right: 0; padding: 0 0 12px 0; display: flex; flex-direction: column; justify-content: flex-end; pointer-events: none; z-index: 5; }
.hero-side-overlay h3 { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; line-height: 1.35; margin: 0; display: block; pointer-events: all; }
.hero-side-overlay h3 .hl { color: #fff; background: var(--hero-accent); padding: 4px 16px 4px 24px; border-radius: 0 5px 5px 0; box-decoration-break: clone; -webkit-box-decoration-break: clone; display: inline; }
.hero-no-img { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: var(--navy-mid); color: #475569; font-size: 3rem; border-radius: var(--radius); }

/* ── Section header ─────────────────────────────────── */
.section-header { max-width: 1200px; margin: 0 auto 20px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; }
.section-header h2 { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 10px; }
.section-header h2::before { content: ''; display: block; width: 4px; height: 22px; background: var(--blue); border-radius: 4px; }
.section-header a { font-size: .83rem; color: var(--blue); font-weight: 600; }
.section-header a:hover { text-decoration: underline; }

/* ── Post grid ──────────────────────────────────────── */
.grid-section { max-width: 1200px; margin: 0 auto 48px; padding: 0 20px; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* Post card */
.post-card { --cat-color: var(--blue); background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .18s,box-shadow .18s; display: flex; flex-direction: column; text-decoration: none; overflow: visible; }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(15,23,42,.12); }
.card-img { position: relative; aspect-ratio: 16/10; overflow: visible; border-radius: var(--radius) var(--radius) 0 0; }
.card-img-clip { position: absolute; inset: 0; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; background: var(--navy-mid); }
.card-img-clip img { width: 100%; height: 100%; object-fit: cover; opacity: .88; transform: scale(1.08); transition: transform .5s cubic-bezier(.25,.46,.45,.94),opacity .3s; }
.post-card:hover .card-img-clip img { transform: scale(1.12); opacity: .78; }
.card-no-img { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: var(--navy-mid); color: #475569; font-size: 2.5rem; border-radius: var(--radius) var(--radius) 0 0; }
.card-img-overlay { position: absolute; bottom: 0; left: -16px; right: 0; padding: 0 0 10px 0; z-index: 5; pointer-events: none; }
.card-img-overlay h3 { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 700; line-height: 1.4; margin: 0; display: block; }
.card-img-overlay h3 .hl { color: #fff; background: var(--cat-color); padding: 3px 14px 3px 20px; border-radius: 0 5px 5px 0; box-decoration-break: clone; -webkit-box-decoration-break: clone; display: inline; }
.card-body { padding: 14px 18px 16px; flex: 1; display: flex; flex-direction: column; border-radius: 0 0 var(--radius) var(--radius); }
.card-excerpt { font-size: .84rem; color: var(--muted); line-height: 1.6; flex: 1; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow-wrap: break-word; word-break: break-word; }
.card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--border); font-size: .78rem; color: var(--muted); }
.card-footer time { font-family: var(--font-heading); font-weight: 700; color: var(--cat-color); font-size: .76rem; letter-spacing: .02em; display: inline-flex; align-items: center; gap: 5px; }
.card-footer time::before { content: ''; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--cat-color); flex-shrink: 0; opacity: .8; }
.card-more { font-weight: 700; color: var(--cat-color); font-style: italic; font-size: .82rem; transition: filter .2s; }
.card-more:hover { filter: brightness(1.2); }
.card-cats { padding: 12px 18px 0; }
.card-cat-chip { display: inline-block; padding: 2px 10px; border-radius: 99px; font-size: .72rem; font-weight: 700; color: #fff; text-decoration: none; letter-spacing: .03em; text-transform: uppercase; opacity: .88; transition: opacity .15s, transform .15s; }
.card-cat-chip:hover { opacity: 1; transform: translateY(-1px); }

/* ── Divider ─────────────────────────────────────────── */
.divider { height: 1px; background: var(--border); max-width: 1200px; margin: 32px auto; }

/* ── Pagination ─────────────────────────────────────── */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 36px; flex-wrap: wrap; }
.pagination a, .pagination .pg-current, .pagination .pg-sep { width: 38px; height: 38px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-size: .9rem; font-weight: 600; }
.pagination a { border: 1.5px solid var(--border); background: var(--card); color: var(--muted); text-decoration: none; transition: all .18s; }
.pagination a:hover { border-color: var(--blue); color: var(--blue); }
.pagination .pg-current { border: 1.5px solid var(--blue); background: var(--blue); color: #fff; }
.pagination .pg-sep { border: none; background: none; color: var(--muted); pointer-events: none; }

/* ── Single post ────────────────────────────────────── */
.single-wrap { max-width: 1200px; margin: 32px auto 60px; padding: 0 20px; display: grid; grid-template-columns: 1fr 320px; gap: 32px; }
.post-hero-wrap { position: relative; overflow: visible; aspect-ratio: 16/7; border-radius: var(--radius); margin-bottom: 20px; background: var(--navy-mid); box-shadow: var(--shadow); }
.post-hero-media { position: absolute; inset: 0; overflow: hidden; border-radius: var(--radius); }
.post-hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.post-hero-overlay { position: absolute; bottom: 0; left: -40px; right: 0; padding: 0 0 28px 0; z-index: 5; pointer-events: none; }
.post-hero-overlay h1 { font-family: var(--font-heading); font-size: 1.7rem; font-weight: 800; line-height: 1.45; margin: 0; letter-spacing: -.02em; display: block; pointer-events: all; }
.post-hero-overlay h1 .hl { color: #fff; background: var(--hero-accent); padding: 6px 24px 6px 44px; border-radius: 0 6px 6px 0; box-decoration-break: clone; -webkit-box-decoration-break: clone; display: inline; }
.post-no-img { border-radius: var(--radius); background: var(--navy); padding: 40px 24px 36px; margin-bottom: 24px; }
.post-no-img h1 { font-family: var(--font-heading); font-size: 1.9rem; font-weight: 800; color: #fff; line-height: 1.3; }
.post-meta-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 10px 0 14px; margin-bottom: 20px; border-bottom: 1px solid var(--border); font-size: .82rem; color: var(--muted); }
.post-meta-bar .sep { color: var(--border); }
.post-tag { padding: 3px 12px; border: 1px solid var(--border); border-radius: 20px; color: var(--muted); font-size: .78rem; transition: all .18s; display: inline-block; }
.post-tag:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.post-content { font-family: var(--font-serif); font-size: .97rem; line-height: 1.8; color: #334155; }
.post-content h2 { font-family: var(--font-heading); font-size: 1.35rem; font-weight: 700; margin: 28px 0 12px; color: var(--ink); }
.post-content h3 { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700; margin: 22px 0 10px; color: var(--ink); }
.post-content h4 { font-family: var(--font-heading); font-size: 1rem; font-weight: 700; margin: 18px 0 8px; color: var(--ink); }
.post-content p { margin-bottom: 16px; }
.post-content img { border-radius: 10px; margin: 20px auto; }
.post-content ul, .post-content ol { padding-left: 22px; margin-bottom: 16px; }
.post-content li { margin-bottom: 6px; }
.post-content blockquote { border-left: 4px solid var(--blue); padding: 12px 20px; background: #eff6ff; border-radius: 0 8px 8px 0; color: #1e3a5f; margin: 20px 0; font-style: italic; }
.post-content a { color: var(--blue); text-decoration: underline; }
.post-content strong { color: var(--ink); }
.post-content table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: .9rem; }
.post-content table th, .post-content table td { padding: 10px 14px; border: 1px solid var(--border); text-align: left; }
.post-content table th { background: var(--bg); font-weight: 700; }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--border); }

/* ── Sidebar ─────────────────────────────────────────── */
.widget { background: var(--card); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); margin-bottom: 24px; }
.widget-title { font-family: var(--font-heading); font-size: .95rem; font-weight: 800; margin-bottom: 16px; color: var(--ink); }
.widget-cat-list { list-style: none; }
.widget-cat-list li { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: .88rem; }
.widget-cat-list li:last-child { border-bottom: none; }
.widget-cat-list a:hover { color: var(--blue); }
.cat-count { background: var(--bg); border-radius: 20px; padding: 2px 10px; font-size: .75rem; color: var(--muted); font-weight: 600; }
.sidebar-cards { display: flex; flex-direction: column; gap: 14px; }
.sidebar-cards .post-card .card-img { aspect-ratio: 16/8; }
.sidebar-cards .post-card .card-body { padding: 10px 14px 12px; }
.sidebar-cards .post-card .card-excerpt { -webkit-line-clamp: 2; font-size: .8rem; }

/* ── Search ─────────────────────────────────────────── */
.search-wrap { max-width: 1200px; margin: 40px auto 60px; padding: 0 20px; }
.search-header { margin-bottom: 28px; }
.search-header h1 { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 700; margin-bottom: 8px; }
.search-header p { color: var(--muted); font-size: .9rem; }
.search-box-wrap { display: flex; gap: 12px; margin-top: 20px; max-width: 560px; }
.search-box-wrap input { flex: 1; padding: 10px 18px; border: 1.5px solid var(--border); border-radius: 24px; font-size: .9rem; outline: none; font-family: var(--font-body); transition: border-color .2s; }
.search-box-wrap input:focus { border-color: var(--blue); }
.search-box-wrap button { padding: 10px 22px; background: var(--blue); color: #fff; border: none; border-radius: 24px; font-size: .9rem; font-weight: 600; cursor: pointer; font-family: var(--font-body); transition: background .2s; }
.search-box-wrap button:hover { background: var(--blue2); }
.search-empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.search-empty .icon { font-size: 3rem; margin-bottom: 12px; }

/* ── Category page ─────────────────────────────────── */
.cat-header { max-width: 1200px; margin: 36px auto 32px; padding: 0 20px; }
.cat-header h1 { font-family: var(--font-heading); font-size: 2rem; font-weight: 800; color: var(--ink); display: flex; align-items: center; gap: 12px; }
.cat-dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0; }
.cat-desc { color: var(--muted); font-size: .9rem; margin-top: 8px; }
.tag-hash { color: var(--blue); font-size: 1.6rem; line-height: 1; }
.post-tag { text-decoration: none; }

/* ── 404 ─────────────────────────────────────────────── */
.error-page { text-align: center; padding: 100px 20px; }
.error-page .error-code { font-family: 'Bebas Neue', Impact, sans-serif; font-size: 9rem; line-height: 1; color: var(--border); letter-spacing: .05em; }
.error-page h2 { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 700; margin: 16px 0 12px; }
.error-page p { color: var(--muted); margin-bottom: 32px; font-size: .95rem; }
.btn-primary { display: inline-flex; align-items: center; gap: 6px; background: var(--blue); color: #fff !important; padding: 12px 28px; border-radius: 24px; font-weight: 600; font-size: .9rem; transition: background .2s,transform .15s; text-decoration: none !important; }
.btn-primary:hover { background: var(--blue2); transform: translateY(-1px); }

/* ── Footer ─────────────────────────────────────────── */
footer.site-footer { background: var(--navy); color: #94a3b8; margin-top: 60px; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 48px 20px 24px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-logo { font-family: 'Bebas Neue', Impact, 'Arial Black', sans-serif; font-size: 2rem; font-weight: 400; color: #fff; margin-bottom: 10px; letter-spacing: .08em; }
.footer-logo span { color: rgba(255,255,255,.45); }
.footer-desc { font-size: .85rem; line-height: 1.7; }
.footer-col h4 { color: #e2e8f0; font-size: .88rem; font-weight: 700; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .05em; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; font-size: .85rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding: 16px 20px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; font-size: .8rem; }

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .single-wrap { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .post-hero-overlay { left: -20px; }
}
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; margin-top: 24px; }
  .hero-side { flex-direction: row; }
  .hero-side-item { min-height: 180px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 900px) {
  .post-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .site-nav { display: none; flex-direction: column; gap: 6px; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--navy); z-index: 200; padding: 72px 20px 20px; overflow-y: auto; }
  .site-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .nav-close { display: block; }
  .header-search input { width: 120px; }
  .post-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-main-overlay { left: -16px; }
  .hero-main-overlay h2 .hl { font-size: 1.4rem; }
  .hero-side { flex-direction: column; }
  .hero-side-item { min-height: 150px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .post-hero-overlay { left: -12px; }
  .post-hero-overlay h1 .hl { font-size: 1.25rem; }
  .topbar > .topbar-inner > span { display: none; }
  .search-box-wrap { flex-direction: column; }
}
@media (max-width: 420px) {
  .logo-img { height: 72px; }
  .logo-text .logo-main { font-size: 1.5rem; }
  .header-inner { gap: 12px; }
}

/* ── Cookie Consent Banner ───────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #1f2937;
  color: #f9fafb;
  box-shadow: 0 -4px 24px rgba(0,0,0,.25);
  animation: slideUp .35s ease;
}
@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.cookie-banner-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: .9rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.cookie-banner-text {
  flex: 1;
  font-size: .875rem;
  line-height: 1.55;
  min-width: 200px;
}
.cookie-banner-actions {
  display: flex;
  gap: .6rem;
  flex-shrink: 0;
  align-items: center;
}
.cookie-more {
  padding: .45rem .85rem;
  border: 1px solid #4b5563;
  border-radius: 6px;
  font-size: .85rem;
  color: #d1d5db;
  text-decoration: none;
  transition: border-color .2s;
}
.cookie-more:hover { border-color: #9ca3af; color: #f9fafb; }
.cookie-accept-btn {
  padding: .45rem 1.1rem;
  background: var(--primary, #1a56db);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .2s;
}
.cookie-accept-btn:hover { opacity: .85; }
@media (max-width: 600px) {
  .cookie-banner-inner { padding: .8rem 1rem; gap: .75rem; }
  .cookie-banner-text  { font-size: .82rem; }
}


