/*
 Theme Name: Hogyan Csinálják Modern
 Theme URI: https://hogycsinaljak.hu
 Author: Zsolt + ChatGPT
 Description: Egyedi, kartyas, modern sablon a hogycsinaljak.hu oldalhoz.
 Version: 1.0.0
 Text Domain: hogycsinaljak
*/

/* ============================
   RESET / ALAPOK – betű, háttér, konténer
   ============================ */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #0f172a;
    background-color: #f3f4f6;
    line-height: 1.5;
}

/* Linkek */

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

a:hover {
    text-decoration: underline;
}

/* Layout konténer + fő tartalom */

.site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main {
    flex: 1;
}

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* ============================
   HEADER / NAV – felső sáv, logó, menü
   ============================ */

.site-header {
    background-color: #0f172a;
    color: #e5e7eb;
    padding: 1rem 0 1.5rem 0;
}

/* belső header wrapper, logóval + menüvel + CTA + auth */

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

/* Hide the mobile menu toggle by default (only show via media query on small screens) */
.mobile-menu-toggle {
    display: none;
}

/* Branding: logo + szöveg, kattintható link */

.site-branding-link,
.site-branding-link:link,
.site-branding-link:visited,
.site-branding-link:hover,
.site-branding-link:active {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none !important;
    color: inherit !important;
    white-space: nowrap;
}

.site-logo-circle {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 2px solid #38bdf8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

/* Cím + tagline wrapper (header.php-hez igazítva) */
.site-title-wrap {
    display: flex;
    flex-direction: column;
}

.site-title-wrap .site-title {
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.site-title-wrap .site-tagline {
    font-size: 0.8rem;
    color: #9ca3af;
    font-weight: 400;
}

/* Jobb oldal: navigáció + CTA + fiók */

.header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1 1 auto;
}

/* Fő menü + cta + auth egy sorban, jól tagolva */

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.primary-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.primary-menu > li {
    margin: 0;
    padding: 0;
}

/* menüpontok mint "chip" */

.primary-menu > li > a {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #e5e7eb;
    text-decoration: none;
    background: transparent;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.primary-menu > li > a:hover {
    background: rgba(148, 163, 184, 0.18);
    border-color: rgba(148, 163, 184, 0.45);
    color: #f9fafb;
}

/* aktív menüpont */

.primary-menu > li.current-menu-item > a,
.primary-menu > li.current_page_item > a {
    background: #f97316;
    color: #111827;
    border-color: #f97316;
}

/* CTA-k és fiók gombok csoportosítása */

.site-nav-cta-group,
.site-nav-auth {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Fejlec jobb oldala – régi header-actions (most nem kötelező, de maradhat) */

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-search-icon {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid #1f2937;
    background-color: #020617;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

/* Gombok – általános */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.1rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.1s ease, box-shadow 0.1s ease, background-color 0.15s ease;
}

.btn-primary {
    background-color: #f97316;
    color: #111827;
    box-shadow: 0 8px 16px rgba(248, 113, 22, 0.35);
}

.btn-primary:hover {
    background-color: #ea580c;
    transform: translateY(-1px);
}

/* Szekunder gomb – prompt másolás stb. */
.btn-secondary {
    background-color: #e5e7eb;
    color: #111827;
    border: 1px solid #d1d5db;
}

.btn-secondary:hover {
    background-color: #d1d5db;
    transform: translateY(-1px);
}

.btn-outline {
    background-color: transparent;
    color: #e5e7eb;
    border: 1px solid rgba(148, 163, 184, 0.5);
}

.btn-outline:hover {
    background-color: rgba(15, 23, 42, 0.7);
}

/* cikket kérek / prompt / auth gombok pozíció */

.header-cta {
    margin-left: 0.5rem;
    white-space: nowrap;
}

/* ============================
   HERO – főoldali nagy blokk
   ============================ */

.hero {
    background-color: #0f172a;
    color: #e5e7eb;
    padding: 1.5rem 0 2.25rem 0;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 2.25rem;
    align-items: stretch;
}

.hero-left-title {
    font-size: 2.3rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
}

.hero-left-subtitle {
    font-size: 1rem;
    color: #cbd5f5;
    max-width: 30rem;
    margin-bottom: 1.5rem;
}

.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-cta-row .btn {
    font-size: 0.95rem;
}

/* Hero – jobb oldali kiemelt cikk kártya */

.hero-right-card {
    background-color: #f9fafb;
    color: #0f172a;
    border-radius: 1.5rem;
    padding: 1.5rem 1.5rem 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hero-pill-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    background-color: #e0f2fe;
    color: #0369a1;
    font-size: 0.75rem;
    font-weight: 600;
}

.hero-meta {
    font-size: 0.75rem;
    color: #6b7280;
}

.hero-post-title {
    font-size: 1.15rem;
    font-weight: 700;
}

.hero-post-excerpt {
    font-size: 0.9rem;
    color: #4b5563;
}

.hero-footer-row {
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.hero-footer-row .btn {
    font-size: 0.9rem;
}

.hero-footer-row .arrow {
    font-size: 1.4rem;
    color: #9ca3af;
}

/* ============================
   SZŰRŐ SÁV – kategória / rendezés
   ============================ */

.filter-bar {
    margin-top: 1.75rem;
    margin-bottom: 1.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6b7280;
}

/* ============================
   KATEGÓRIA DROPDOWN – főoldali select
   ============================ */

.filter-select {
    position: relative;
    max-width: 260px;
}

.filter-select select {
    width: 100%;
    padding: 6px 10px;
    border-radius: 0.5rem;
    border: 1px solid #d1d5db;
    font-size: 0.9rem;
    background-color: #ffffff;
    appearance: none;
}

/* Hover */
.filter-select select:hover {
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.18);
}

/* Fókusz (kijelölve) */
.filter-select select:focus {
    border-color: #ea580c;
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.25);
    outline: none;
}

/* Kis nyíl a jobb oldalon */
.filter-select::after {
    content: "▾";
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.75rem;
    color: #6b7280;
    pointer-events: none;
}

/* Lenyíló lista opciók */
.filter-select select option {
    padding: 6px 10px;
}

/* ============================
   FŐOLDALI KÁRTYARÁCS – cikklista
   ============================ */

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.post-card {
    background-color: #ffffff;
    border-radius: 1.3rem;
    padding: 1.25rem 1.2rem 1.1rem 1.2rem;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

/* kártyánként thumbnail */

.post-card-thumb {
    margin-bottom: 0.6rem;
    border-radius: 1rem;
    overflow: hidden;
}

.post-card-thumb img {
    display: block;
    width: 100%;
    height: auto;
}

.post-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.post-card-category {
    display: inline-flex;
    padding: 0.18rem 0.6rem;
    border-radius: 999px;
    background-color: #e0f2fe;
    color: #0369a1;
    font-size: 0.72rem;
    font-weight: 600;
}

.post-card-date {
    font-size: 0.7rem;
    color: #9ca3af;
}

.post-card-title {
    font-size: 1rem;
    font-weight: 700;
}

.post-card-excerpt {
    font-size: 0.85rem;
    color: #4b5563;
}

.post-card-footer {
    margin-top: 0.4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.post-card-link {
    font-size: 0.82rem;
    font-weight: 600;
    color: #0f172a;
}

.post-card-arrow {
    font-size: 1.2rem;
    color: #9ca3af;
}

/* ============================
   SINGLE / PAGE TARTALOM – cikkoldalak
   ============================ */

.single .container {
    max-width: 1300px;
    padding-left: 1.25rem;
    padding-right: 0;
}

.single-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 2.4rem;
    align-items: start;
}

.single-sidebar {
    position: relative;
}

.related-module {
    background: #0f172a;
    color: #e5e7eb;
    border-radius: 1.25rem;
    padding: 1.35rem 1.25rem 1.2rem;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.related-header {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 1rem;
}

.related-kicker {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    background: rgba(249, 115, 22, 0.12);
    color: #fb923c;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.related-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

.related-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.related-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    overflow: hidden;
    display: flex;
    gap: 0.75rem;
}

.related-thumb {
    display: block;
    width: 120px;
    min-width: 120px;
    height: 90px;
    overflow: hidden;
    background: #020617;
}

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

.related-thumb-placeholder {
    width: 100%;
    height: 100%;
    background-image: linear-gradient(135deg, #1f2937, #0f172a);
}

.related-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 0.7rem 0.7rem 0.75rem 0;
}

.related-pill {
    display: inline-flex;
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.15);
    color: #cbd5e1;
    font-size: 0.72rem;
    font-weight: 600;
}

.related-card-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
}

.related-card-title a {
    color: #f9fafb;
    text-decoration: none;
}

.related-card-title a:hover {
    text-decoration: underline;
}

.related-meta {
    font-size: 0.82rem;
    color: #94a3b8;
}

.related-excerpt {
    font-size: 0.88rem;
    color: #cbd5f5;
    margin: 0;
}

.related-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 600;
    color: #f97316;
    text-decoration: none;
}

.related-link:hover {
    text-decoration: underline;
}

.related-empty {
    font-size: 0.9rem;
    color: #cbd5f5;
    margin: 0;
}

.content-area {
    padding: 2.5rem 0;
}

.article-header {
    margin-bottom: 1.25rem;
}

.article-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.article-meta {
    font-size: 0.85rem;
    color: #6b7280;
}

.article-content {
    font-size: 1rem;
    color: #111827;
    line-height: 1.7;
}

.article-content p {
    margin: 0 0 1rem 0;
}

.article-content h2,
.article-content h3 {
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.article-content ul,
.article-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

/* Single post kiemelt kép – WP-Optimize override */

.single-featured-image {
    margin-bottom: 1.5rem;
    border-radius: 1.5rem;
    overflow: hidden;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.single-featured-image img {
    display: block;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
}

/* ============================
   FOOTER – lábléc
   ============================ */

.site-footer {
    background-color: #020617;
    color: #9ca3af;
    padding: 1.5rem 0;
    font-size: 0.85rem;
}

.site-footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

/* ============================
   PAGINATION – lapozó
   ============================ */

.pagination-nav {
    margin: 2rem 0 3rem;
}

.pagination-nav ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.35rem;
}

.pagination-nav li {
    margin: 0;
    padding: 0;
}

.pagination-nav li a,
.pagination-nav li span {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background-color: #ffffff;
    font-size: 0.85rem;
    color: #111827;
}

.pagination-nav li .current {
    background-color: #0f172a;
    color: #f9fafb;
    border-color: #0f172a;
}

/* ============================
   KATEGÓRIA-ÁTTEKINTŐ OLDAL – shortcode grid
   ============================ */

.hc-categories-wrapper {
    max-width: 1120px;
    margin: 0 auto;
    padding: 2rem 1.5rem 3rem;
}

.hc-categories-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.hc-categories-intro {
    font-size: 0.95rem;
    color: #8291a8;
    margin-bottom: 2rem;
}

.hc-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.hc-category-card {
    background: #0f1729;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    flex-direction: column;
}

.hc-category-image-link {
    display: block;
}

.hc-category-image {
    width: 100%;
    padding-top: 56.25%;
    background-size: cover;
    background-position: center;
    background-color: #111827;
}

/* ha nincs kép */

.hc-category-card.no-thumb .hc-category-image {
    background-image: linear-gradient(135deg, #111827, #1f2937);
}

.hc-category-content {
    padding: 1.25rem 1.25rem 1.5rem;
}

.hc-category-name {
    font-size: 1.1rem;
    margin: 0 0 0.5rem;
}

.hc-category-name a {
    color: #f9fafb;
    text-decoration: none;
}

.hc-category-name a:hover {
    text-decoration: underline;
}

.hc-category-description {
    font-size: 0.9rem;
    color: #cbd5f5;
    margin-bottom: 0.75rem;
}

.hc-category-count {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-bottom: 0.75rem;
}

.hc-category-top-posts {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(148, 163, 184, 0.4);
}

.hc-category-top-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #facc15;
    margin-bottom: 0.4rem;
}

.hc-category-top-posts ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hc-category-top-posts li {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.hc-category-top-posts a {
    color: #e5e7eb;
    text-decoration: none;
}

.hc-category-top-posts a:hover {
    text-decoration: underline;
}

/* ============================
   KATEGÓRIA OLDALAK – category.php
   ============================ */

.category-page {
    padding-bottom: 3rem;
}

/* Hero a kategória oldalon */

.category-hero {
    padding: 2.75rem 0 3.25rem;
    background: radial-gradient(circle at top left, #111827, #020617);
}

.category-hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
}

.category-hero-text {
    max-width: 560px;
}

.category-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.9rem;
    border-radius: 999px;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.6);
    color: #e5e7eb;
    margin-bottom: 0.75rem;
}

.category-title {
    font-size: 2.1rem;
    margin: 0 0 0.6rem;
}

.category-tagline {
    font-size: 0.95rem;
    color: #cbd5f5;
    margin: 0 0 0.75rem;
}

.category-description {
    font-size: 0.9rem;
    color: #9ca3af;
    margin: 0;
}

/* hero jobb oldali buborék + ikon */

.category-hero-visual {
    position: relative;
    width: 260px;
    height: 200px;
}

.category-hero-blob {
    position: absolute;
    inset: 0;
    border-radius: 2rem;
    background:
        radial-gradient(circle at 20% 0%, rgba(248, 250, 252, 0.08), transparent 55%),
        radial-gradient(circle at 90% 90%, rgba(248, 250, 252, 0.08), transparent 55%);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.category-hero-icon {
    position: absolute;
    inset: 18% 22%;
    border-radius: 1.5rem;
    background: rgba(15, 23, 42, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

/* default ikon, ha nincs téma */

.category-hero-icon::before {
    content: "❓";
}

/* Kategória cikkek rácsa */

.category-posts-wrapper {
    padding: 2.5rem 0 3.25rem;
}

.category-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.category-post-card {
    background: #0f172a;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(15, 23, 42, 0.9);
    display: flex;
    flex-direction: column;
}

.category-post-thumb {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #020617;
}

.category-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.category-post-thumb-placeholder {
    width: 100%;
    height: 100%;
    background-image: linear-gradient(135deg, #111827, #1f2937);
}

.category-post-content {
    padding: 1.1rem 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.category-post-meta {
    font-size: 0.78rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.category-post-title {
    font-size: 1.05rem;
    margin: 0;
}

.category-post-title a {
    color: #f9fafb;
    text-decoration: none;
}

.category-post-title a:hover {
    text-decoration: underline;
}

.category-post-excerpt {
    font-size: 0.9rem;
    color: #cbd5f5;
    margin-top: 0.15rem;
}

.category-post-more {
    margin-top: 0.35rem;
    align-self: flex-start;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    text-decoration: none;
    background: #f97316;
    color: #111827;
    box-shadow: 0 12px 30px rgba(248, 115, 22, 0.4);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.category-post-more:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 40px rgba(248, 115, 22, 0.55);
    background: #fb923c;
}

/* Kategória oldali pagination */

.category-pagination {
    margin-top: 2.5rem;
    text-align: center;
}

.category-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.2rem;
    height: 2.2rem;
    margin: 0 0.35rem;
    padding: 0 0.65rem;
    border-radius: 999px;
    font-size: 0.9rem;
    text-decoration: none;
    color: #e5e7eb;
    background: #020617;
    border: 1px solid #1f2937;
    transition: all 0.2s ease;
}

.category-pagination .page-numbers.current {
    background: #f97316;
    color: #111827;
    border-color: #f97316;
    font-weight: 600;
}

.category-pagination .page-numbers.next,
.category-pagination .page-numbers.prev {
    padding: 0.45rem 1.1rem;
    margin-left: 0.6rem;
    margin-right: 0.6rem;
    font-weight: 500;
    background: #0f172a;
}

.category-pagination .page-numbers:hover {
    background: #111827;
    color: #f9fafb;
}

/* ============================
   KATEGÓRIA TÉMÁK – hero színek + ikonok
   ============================ */

/* career / munkakeresés */

.category-theme-career .category-hero {
    background: radial-gradient(circle at top left, #1d4ed8, #020617);
}

.category-theme-career .category-hero-icon::before {
    content: "💼";
}

/* online ügyintézés */

.category-theme-online .category-hero {
    background: radial-gradient(circle at top left, #0ea5e9, #020617);
}

.category-theme-online .category-hero-icon::before {
    content: "🌐";
}

/* életmód / egészség */

.category-theme-health .category-hero {
    background: radial-gradient(circle at top left, #16a34a, #020617);
}

.category-theme-health .category-hero-icon::before {
    content: "💚";
}

/* pénzügyek / adóbevallás */

.category-theme-finance .category-hero {
    background: radial-gradient(circle at top left, #22c55e, #022c22);
}

.category-theme-finance .category-hero-icon::before {
    content: "💰";
}

/* főzés */

.category-theme-cooking .category-hero {
    background: radial-gradient(circle at top left, #fb923c, #7c2d12);
}

.category-theme-cooking .category-hero-icon::before {
    content: "🍳";
}

/* tech / elektronika */

.category-theme-tech .category-hero {
    background: radial-gradient(circle at top left, #2563eb, #0f172a);
}

.category-theme-tech .category-hero-icon::before {
    content: "💻";
}

/* diy / barkácsolás */

.category-theme-diy .category-hero {
    background: radial-gradient(circle at top left, #f97316, #7c2d12);
}

.category-theme-diy .category-hero-icon::before {
    content: "🛠️";
}

/* kert / növény */

.category-theme-garden .category-hero {
    background: radial-gradient(circle at top left, #22c55e, #14532d);
}

.category-theme-garden .category-hero-icon::before {
    content: "🌿";
}

/* otthoni munka */

.category-theme-remote .category-hero {
    background: radial-gradient(circle at top left, #8b5cf6, #1e1b4b);
}

.category-theme-remote .category-hero-icon::before {
    content: "🏠";
}

/* szépség / divat */

.category-theme-beauty .category-hero {
    background: radial-gradient(circle at top left, #ec4899, #4c1d95);
}

.category-theme-beauty .category-hero-icon::before {
    content: "💄";
}

/* utazás */

.category-theme-travel .category-hero {
    background: radial-gradient(circle at top left, #06b6d4, #1e293b);
}

.category-theme-travel .category-hero-icon::before {
    content: "✈️";
}

/* default fallback */

.category-theme-default .category-hero {
    background: radial-gradient(circle at top left, #4f46e5, #020617);
}

.category-theme-default .category-hero-icon::before {
    content: "✨";
}

/* ============================
   ÁLTALÁNOS MODALOK – request / prompt / GDPR alap
   ============================ */

.ramodal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(3px);
    z-index: 9999;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem 1rem;
    overflow-y: auto;
}

/* Modal doboz alap – fehér kártya */

.ramodal-content {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 1.25rem;
    max-width: 600px;
    width: 100%;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.25);
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
}

.ramodal-close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Request article form */

#request-article-form input,
#request-article-form textarea {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.6rem;
    margin-bottom: 1rem;
}

#ra-submit {
    width: 100%;
    margin-top: 0.5rem;
}

/* ============================
   CUSTOM KATEGÓRIA DROPDOWN – hero alatti saját select
   ============================ */

.custom-select-wrapper {
    position: relative;
    max-width: 260px;
    font-size: 15px;
}

.custom-select-trigger {
    padding: 1px 3px 1px 14px;
    border-radius: 0;
    border: 1px solid #f97316;
    background: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    font-weight: 500;
}

.custom-select-trigger::after {
    content: "▾";
    font-size: 2.75rem;
    color: #f97316;
    margin-left: 2px;
    line-height: 1;
}

/* Lenyíló lista – alapból rejtve */

.custom-options {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 4px;
    padding: 4px 0;
    list-style: none;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.14);
    max-height: 260px;
    overflow-y: auto;
    z-index: 30;
}

/* Ha nyitva van */
.custom-select-wrapper.open .custom-options {
    display: block;
}

/* Sorok a listában */

.custom-options li {
    padding: 8px 12px;
    cursor: pointer;
    font-size: 14px;
}

/* Hover */

.custom-options li:hover {
    background: #fee2d5;
}

/* Kiválasztott sor – narancssárga */

.custom-options li.selected {
    background: #f97316;
    color: #ffffff;
}

/* GDPR sor – checkbox + szöveg a request űrlapon */

.gdpr-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

#request-article-form input[type="checkbox"] {
    width: auto;
    height: 16px;
    margin: 0;
    cursor: pointer;
}

.gdpr-row label {
    margin: 0;
    line-height: 1.3;
    white-space: normal;
}

/* ============================
   PROMPT HELPER MODAL – AI prompt generátor
   ============================ */

#prompt-helper-modal .ramodal-content {
    max-width: 700px;
}

/* Prompt helper form mezők */

#prompt-helper-form label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #111827;
}

#prompt-helper-form textarea,
#prompt-helper-form select {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.6rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    background-color: #ffffff;
}

#prompt-helper-form textarea {
    min-height: 110px;
    resize: vertical;
}

#prompt-helper-form select {
    cursor: pointer;
}

/* Hover / focus */

#prompt-helper-form textarea:hover,
#prompt-helper-form select:hover {
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12);
}

#prompt-helper-form textarea:focus,
#prompt-helper-form select:focus {
    outline: none;
    border-color: #ea580c;
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.18);
}

#ph-submit {
    width: 100%;
    margin-top: 0.5rem;
}

/* Prompt eredmény blokk */

#ph-result {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

/* Kimeneti prompt textarea */

#ph-output {
    width: 100%;
    border-radius: 0.6rem;
    border: 1px solid #cbd5e1;
    padding: 0.75rem 0.85rem;
    background-color: #020617;
    color: #e5e7eb;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Másolás gomb és üzenet */

#ph-copy-btn {
    margin-top: 0.5rem;
    width: 100%;
}

#ph-copy-msg {
    font-size: 0.85rem;
    color: #16a34a;
    margin-top: 0.25rem;
}

/* Voice input wrapper / microphone gomb */

.voice-input-wrapper {
    position: relative;
}

.voice-input-wrapper textarea {
    width: 100%;
    padding-right: 3rem;
}

.voice-mic-btn {
    position: absolute;
    right: 0.75rem;
    bottom: 0.75rem;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: none;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
}

.voice-mic-btn:hover {
    background: #d1d5db;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.2);
}

.voice-mic-btn.recording {
    background: #ef4444;
    color: #ffffff;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.35);
}

/* ============================
   AUTH OLDALAK – bejelentkezés / regisztráció
   ============================ */

.auth-page {
    position: relative;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    padding: 3rem 0;
    background: #0f172a;
    overflow: hidden;
}

/* háttér gradiens az auth oldalakon */

.auth-bg-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(96, 165, 250, 0.25), transparent 55%),
        radial-gradient(circle at bottom right, rgba(248, 113, 22, 0.18), transparent 55%);
    opacity: 0.9;
    pointer-events: none;
}

.auth-bg-gradient--register {
    background:
        radial-gradient(circle at top left, rgba(52, 211, 153, 0.25), transparent 55%),
        radial-gradient(circle at bottom right, rgba(249, 115, 22, 0.22), transparent 55%);
}

.auth-container {
    position: relative;
    z-index: 2;
}

/* belső auth kártya */

.auth-card {
    background: #f9fafb;
    border-radius: 1.75rem;
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.55);
    padding: 2.25rem 2.25rem;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 2.25rem;
}

.auth-card-left {
    padding-right: 1rem;
}

.auth-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.9rem;
    border-radius: 999px;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.auth-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.6rem;
    color: #0f172a;
}

.auth-subtitle {
    font-size: 0.95rem;
    color: #4b5563;
    margin-bottom: 1rem;
    max-width: 30rem;
}

.auth-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
    color: #374151;
}

.auth-benefits li + li {
    margin-top: 0.25rem;
}

/* jobb oldali form kártya */

.auth-card-right {
    background: #ffffff;
    border-radius: 1.3rem;
    padding: 1.75rem 1.75rem 1.6rem;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.auth-form-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.auth-form label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #4b5563;
    margin-top: 0.4rem;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"] {
    width: 100%;
    padding: 0.65rem 0.75rem;
    border-radius: 0.7rem;
    border: 1px solid #d1d5db;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
    background-color: #f9fafb;
}

.auth-form input:focus {
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.18);
    background-color: #ffffff;
}

.auth-row-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.4rem;
    margin-bottom: 0.3rem;
    gap: 1rem;
}

.auth-checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: #4b5563;
}

.auth-checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.auth-link-small {
    font-size: 0.85rem;
    color: #f97316;
    text-decoration: none;
}

.auth-link-small:hover {
    text-decoration: underline;
}

.auth-submit {
    width: 100%;
    margin-top: 0.75rem;
    font-size: 0.95rem;
}

.auth-error {
    border-radius: 0.9rem;
    background: #fef2f2;
    border: 1px solid #fecaca;
    padding: 0.7rem 0.9rem;
    font-size: 0.85rem;
    color: #991b1b;
    margin-bottom: 0.2rem;
}

.auth-error p {
    margin: 0;
}

.auth-switch-text {
    margin-top: 0.8rem;
    font-size: 0.85rem;
    color: #6b7280;
    text-align: center;
}

.auth-switch-text a {
    color: #f97316;
    text-decoration: none;
}

.auth-switch-text a:hover {
    text-decoration: underline;
}

.auth-gdpr-note {
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 0.4rem;
}

.auth-gdpr-note a {
    color: #f97316;
    text-decoration: none;
}

.auth-gdpr-note a:hover {
    text-decoration: underline;
}

/* Header gombok finomítás */

.auth-link {
    font-size: 0.85rem;
    padding-inline: 0.9rem;
}

.auth-link--highlight {
    box-shadow: 0 10px 25px rgba(248, 113, 22, 0.55);
}

/* ============================
   ADATKEZELÉSI TÁJÉKOZTATÓ OLDAL
   ============================ */

.privacy-page {
    background: radial-gradient(circle at top left, #0b1120, #020617);
    padding-bottom: 3rem;
}

/* Hero rész – cím + ikon + bullet-ek */

.privacy-hero {
    padding: 2.75rem 0 3rem;
}

.privacy-hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
}

.privacy-hero-text {
    max-width: 560px;
    color: #e5e7eb;
}

.privacy-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.9rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.7);
    color: #e5e7eb;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.privacy-title {
    font-size: 2.1rem;
    font-weight: 800;
    margin: 0 0 0.6rem;
}

.privacy-subtitle {
    font-size: 0.95rem;
    color: #cbd5f5;
    margin: 0 0 0.85rem;
}

.privacy-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
    color: #e5e7eb;
}

.privacy-highlights li + li {
    margin-top: 0.25rem;
}

/* Hero vizuális oldal – lock ikon buborék */

.privacy-hero-visual {
    position: relative;
    width: 260px;
    height: 200px;
}

.privacy-hero-blob {
    position: absolute;
    inset: 0;
    border-radius: 2rem;
    background:
        radial-gradient(circle at 20% 0%, rgba(56, 189, 248, 0.2), transparent 55%),
        radial-gradient(circle at 80% 100%, rgba(248, 113, 22, 0.28), transparent 55%);
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.8);
}

.privacy-hero-icon {
    position: absolute;
    inset: 18% 22%;
    border-radius: 1.5rem;
    background: rgba(15, 23, 42, 0.96);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

/* Tartalmi kártya – a hosszú jogi szöveg doboza */

.privacy-content-section {
    padding: 0 0 3rem;
}

.privacy-card {
    margin-top: -1.5rem;
    background: #f9fafb;
    border-radius: 1.75rem;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.45);
    padding: 2.25rem 2.25rem 2rem;
}

.privacy-article-header {
    margin-bottom: 1.25rem;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 0.75rem;
}

.privacy-article-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 0 0.25rem;
    color: #0f172a;
}

.privacy-article-meta {
    font-size: 0.85rem;
    color: #6b7280;
}

/* A tényleges szöveg a már meglévő .article-content stílusokat is örökli */

.privacy-article-content {
    margin-top: 0.75rem;
}

/* Kapcsolat doboz az oldal alján */

.privacy-contact-box {
    margin-top: 2rem;
    padding: 1rem 1.25rem;
    border-radius: 1rem;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    font-size: 0.95rem;
    color: #1f2937;
}

.privacy-contact-box h3 {
    margin: 0 0 0.35rem;
    font-size: 1rem;
    font-weight: 700;
}

.privacy-contact-box a {
    color: #f97316;
    text-decoration: none;
}

.privacy-contact-box a:hover {
    text-decoration: underline;
}

/* ============================
   GDPR MODAL
   ============================ */

#gdpr-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(10px);

    --hc-modal-bg: radial-gradient(
        circle at 20% 20%,
        rgba(255, 166, 0, 0.35),
        transparent 55%
    ),
    radial-gradient(
        circle at 80% 80%,
        rgba(0, 150, 255, 0.35),
        transparent 55%
    ),
    url('https://images.unsplash.com/photo-1581092580499-509e3db79c82?auto=format&fit=crop&w=1400&q=80');

    background-image: var(--hc-modal-bg);
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;

    z-index: 99999;
    padding: 2rem 1rem;
    overflow-y: auto;
    justify-content: center;
    align-items: flex-start;
}

#gdpr-modal .ramodal-content {
    width: 100%;
    max-width: 760px;

    background: #f9fafb;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 24px;

    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.5);

    padding: 2.4rem 2.8rem;
    color: #0f172a;
    position: relative;
}

/* Cím – lakat ikonnal */

#gdpr-modal h2 {
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 1.25rem;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

#gdpr-modal h2::before {
    content: "🔒";
    font-size: 1.8rem;
}

/* Tartalmi rész – szöveg, listák */

#gdpr-modal-body {
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 1rem;
    color: #111827;
    line-height: 1.68;
    font-size: 1rem;
}

/* Scrollbar */

#gdpr-modal-body::-webkit-scrollbar {
    width: 8px;
}

#gdpr-modal-body::-webkit-scrollbar-track {
    background: rgba(148, 163, 184, 0.25);
    border-radius: 8px;
}

#gdpr-modal-body::-webkit-scrollbar-thumb {
    background: rgba(15, 23, 42, 0.5);
    border-radius: 8px;
}

#gdpr-modal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(15, 23, 42, 0.7);
}

/* Bezárás ikon */

#gdpr-close {
    cursor: pointer;
    position: absolute;
    top: 1.1rem;
    right: 1.4rem;
    font-size: 1.9rem;
    color: #6b7280;
    opacity: 0.95;
    transition: 0.22s ease;
}

#gdpr-close:hover {
    transform: scale(1.15);
    color: #f97316;
    opacity: 1;
}

/* Linkek a GDPR modalban */

#gdpr-modal-body a {
    color: #f97316;
    text-decoration: none;
    font-weight: 600;
}

#gdpr-modal-body a:hover {
    text-decoration: underline;
}

/* ============================
   RESZPONZÍVITÁS – breakpointok
   ============================ */

@media (max-width: 960px) {
    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .single-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.4rem;
    }

    .single-sidebar {
        order: -1;
    }

    .hero-right-card {
        max-width: 420px;
        margin: 0 auto;
    }

    .site-nav {
        margin-left: auto;
        flex-wrap: wrap;
        justify-content: flex-end;
        row-gap: 0.5rem;
    }

    .primary-menu {
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .posts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .auth-card {
        grid-template-columns: minmax(0, 1fr);
        padding: 1.75rem 1.5rem;
    }

    .auth-card-left {
        padding-right: 0;
    }

    .auth-page {
        padding: 2.5rem 0;
    }

    .privacy-hero-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .privacy-hero-visual {
        width: 220px;
        height: 170px;
        align-self: center;
    }

    .privacy-card {
        margin-top: -1rem;
        padding: 1.8rem 1.5rem 1.8rem;
    }

    #gdpr-modal .ramodal-content {
        padding: 2rem 1.8rem;
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-wrap: wrap;
        row-gap: 0.75rem;
    }

    .site-nav {
        margin-left: auto;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .primary-menu {
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .category-hero-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .category-hero-visual {
        width: 220px;
        height: 170px;
    }

    .category-post-thumb {
        height: 180px;
    }
}

@media (max-width: 640px) {
    .hero-left-title {
        font-size: 1.7rem;
    }

    .hero-left-subtitle {
        font-size: 0.9rem;
    }

    .posts-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .site-header {
        padding-bottom: 1rem;
    }

    .auth-card {
        border-radius: 1.25rem;
        padding: 1.5rem 1.25rem;
    }

    .auth-title {
        font-size: 1.5rem;
    }

    .auth-row-between {
        flex-direction: column;
        align-items: flex-start;
    }

    .auth-page {
        min-height: calc(100vh - 70px);
    }

    .privacy-title {
        font-size: 1.7rem;
    }

    .privacy-card {
        border-radius: 1.25rem;
        padding: 1.5rem 1.25rem 1.5rem;
    }

    #gdpr-modal .ramodal-content {
        border-radius: 1.5rem;
        padding: 1.7rem 1.25rem;
    }

    #gdpr-modal h2 {
        font-size: 1.55rem;
    }
}

/* Mobil header – auth duplázódás elrejtése (alap) */

@media (max-width: 640px) {

    /* Belépés / Regisztráció gombok elrejtése (a menüben továbbra is látszanak) */
    .auth-link {
        display: none;
    }

    .header-inner {
        flex-direction: column;
        align-items: flex-start;
        row-gap: 0.75rem;
    }

    .header-right {
        width: 100%;
    }

    .site-nav {
        width: 100%;
        flex-wrap: wrap;
        justify-content: flex-start;
        row-gap: 0.5rem;
    }

    .primary-menu {
        flex-wrap: wrap;
        justify-content: flex-start;
        row-gap: 0.4rem;
    }

    .site-nav .header-cta {
        margin-left: 0;
        margin-top: 0.25rem;
    }

    .site-nav-cta-group,
    .site-nav-auth {
        display: none;
    }
}

/* Mobile hamburger menu styles – FIXED */

@media (max-width: 640px) {

    .site-header {
        position: relative;
    }

    .mobile-menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border-radius: 10px;
        border: 1px solid rgba(255,255,255,0.06);
        background: rgba(2,6,23,0.6);
        color: #fff;
        cursor: pointer;
        font-size: 22px;

        position: absolute;
        right: 16px;
        left: auto;
        top: 50%;
        transform: translateY(-50%);
        z-index: 11000;
        margin: 0;
    }

    .primary-menu {
        display: none;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .site-header.nav-open .primary-menu {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        position: absolute;
        left: 12px;
        right: 12px;
        top: calc(100% + 8px);
        background: linear-gradient(180deg, rgba(5,8,22,0.98), rgba(3,6,18,0.98));
        border-radius: 14px;
        padding: 14px 14px 12px;
        box-shadow: 0 18px 60px rgba(3,8,16,0.6);
        z-index: 9999;
        gap: 0.45rem;
    }

    .site-header.nav-open .primary-menu > li {
        width: 100%;
    }

    .site-header.nav-open .primary-menu > li > a {
        display: inline-flex;
        align-items: center;
        padding: 0.45rem 0.9rem;
        border-radius: 999px;
        font-size: 0.9rem;
        font-weight: 500;
        border: 1px solid rgba(148, 163, 184, 0.45);
        background: rgba(15, 23, 42, 0.85);
        color: #e5e7eb;
        text-decoration: none;
        width: auto;
    }

    .site-header.nav-open .primary-menu > li > a:hover {
        background: #f97316;
        border-color: #f97316;
        color: #111827;
    }

    .site-header.nav-open .primary-menu > li.current-menu-item > a,
    .site-header.nav-open .primary-menu > li.current_page_item > a {
        background: #f97316;
        color: #111827;
        border-color: #f97316;
    }

    .site-header.nav-open .site-nav-cta-group,
    .site-header.nav-open .site-nav-auth {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        margin-top: 0.75rem;
        gap: 0.4rem;
    }

    .site-header.nav-open .site-nav-cta-group .header-cta,
    .site-header.nav-open .site-nav-auth .auth-link {
        display: inline-flex !important;
        width: 100%;
        justify-content: center;
        margin: 0;
    }
}

/* Kis animáció – maradhat */

.primary-menu,
.site-nav-cta-group,
.site-nav-auth {
    transition: opacity 160ms ease, transform 160ms ease;
}

/* Override: mutassuk meg az auth linkeket is, ha szükséges */

@media (max-width: 640px) {
    .site-header .auth-link,
    .header-right .auth-link,
    .header-inner .auth-link {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
    }
}

/* ============================
   KOMMENTEK – cikk alatti blokk
   ============================ */

.comments-area {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.comments-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: #0f172a;
}

.comment-list {
    list-style: none;
    margin: 0 0 1.5rem 0;
    padding: 0;
}

.comment-list .children {
    list-style: none;
    margin-left: 1.5rem;
    margin-top: 0.75rem;
    padding-left: 1rem;
    border-left: 2px solid #e5e7eb;
}

.comment {
    margin-bottom: 1rem;
}

.comment-body {
    padding: 0.9rem 1rem;
    border-radius: 0.9rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
}

.comment-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.25rem 0.75rem;
    font-size: 0.8rem;
    color: #6b7280;
    margin-bottom: 0.35rem;
}

.comment-author {
    font-weight: 600;
    color: #0f172a;
}

.comment-metadata a {
    color: #9ca3af;
    text-decoration: none;
}

.comment-metadata a:hover {
    text-decoration: underline;
}

.comment-content {
    font-size: 0.9rem;
    color: #111827;
}

.comment-reply-link {
    display: inline-flex;
    margin-top: 0.3rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: #f97316;
    text-decoration: none;
}

.comment-reply-link:hover {
    text-decoration: underline;
}

.no-comments {
    font-size: 0.9rem;
    color: #6b7280;
}

/* Komment űrlap */

.comment-respond {
    margin-top: 2rem;
    padding: 1.5rem 1.5rem 1.25rem;
    border-radius: 1.2rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
}

.comment-reply-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
}

.comment-respond label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #4b5563;
    margin-bottom: 0.25rem;
}

.comment-respond textarea {
    width: 100%;
    border-radius: 0.75rem;
    border: 1px solid #d1d5db;
    padding: 0.65rem 0.75rem;
    font-size: 0.95rem;
    resize: vertical;
    min-height: 120px;
}

.comment-respond textarea:focus {
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.18);
    outline: none;
    background-color: #ffffff;
}

.comment-respond .form-submit input[type="submit"] {
    margin-top: 0.75rem;
    padding: 0.6rem 1.1rem;
    border-radius: 999px;
    border: none;
    background: #f97316;
    color: #111827;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 0 8px 16px rgba(248, 113, 22, 0.35);
    transition: transform 0.1s ease, box-shadow 0.1s ease, background-color 0.15s ease;
}

.comment-respond .form-submit input[type="submit"]:hover {
    background: #ea580c;
    transform: translateY(-1px);
}

/* Üzenet vendégeknek */

.must-log-in {
    font-size: 0.9rem;
    color: #4b5563;
    margin-top: 1rem;
}

.must-log-in a {
    color: #f97316;
    text-decoration: none;
    font-weight: 600;
}

.must-log-in a:hover {
    text-decoration: underline;
}

.logged-in-as {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 0.75rem;
}

.logged-in-as a {
    color: #f97316;
    text-decoration: none;
}

.logged-in-as a:hover {
    text-decoration: underline;
}

.comment-form-media-file input[type="file"]::-webkit-file-upload-button {
    border: none;
    border-radius: 999px;
    padding: 0.4rem 1rem;
    background-color: #f97316;
    color: #111827;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(248,113,22,0.35);
}

.comment-form-media-file input[type="file"]::-webkit-file-upload-button:hover {
    background-color: #ea580c;
    transform: translateY(-1px);
}

/* ===============================
   Komment képek – bélyegkép
   =============================== */

.comment-media {
    margin-top: 0.75rem;
}

.comment-media-thumb {
    display: block;
    max-width: 220px;
    width: 100%;
    border-radius: 0.75rem;
    cursor: zoom-in;
    transition: transform .15s ease, box-shadow .15s ease;
    box-shadow: 0 6px 20px rgba(0,0,0,0.18);
}

.comment-media-thumb:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 28px rgba(0,0,0,0.28);
}

/* ===============================
   Lightbox (nagy kép megnyitása)
   =============================== */

.hc-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.82);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    padding: 20px;
}

.hc-lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 0.75rem;
    box-shadow: 0 0 40px rgba(0,0,0,0.45);
    cursor: zoom-out;
}
.mk-article {
  max-width: 820px;
  margin: 0 auto 4rem;
  padding: 2.5rem 2rem;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.06);
}

.mk-article-header {
  margin-bottom: 1.5rem;
}

.mk-kicker {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  font-weight: 600;
  color: #0c63d3;
  margin-bottom: .4rem;
}

.mk-article-header h1 {
  font-size: 2.1rem;
  line-height: 1.25;
  margin: 0 0 .6rem;
}

.mk-article-meta {
  font-size: .85rem;
  color: #6b7280;
}

.mk-article-figure {
  margin: 1.5rem 0 2rem;
}

.mk-article-figure img {
  width: 100%;
  border-radius: 18px;
  display: block;
}

.mk-article-figure figcaption {
  font-size: .8rem;
  color: #6b7280;
  margin-top: .4rem;
}

.mk-lead p {
  font-size: 1.05rem;
  font-weight: 500;
}

.mk-highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap: 1.2rem;
  margin: 2rem 0;
}

.mk-highlight-card {
  padding: 1.3rem 1.2rem;
  border-radius: 18px;
  background: #f3f4ff;
  border: 1px solid rgba(12,99,211,0.12);
  font-size: .95rem;
}

.mk-section {
  margin: 2rem 0;
}

.mk-section-title {
  font-size: 1.3rem;
  margin: 0 0 .75rem;
}

.mk-keylist {
  padding-left: 1.2rem;
}

.mk-keylist li {
  margin-bottom: .4rem;
}

.mk-callout {
  margin: 2.5rem 0 1.5rem;
  padding: 1.4rem 1.6rem;
  border-radius: 18px;
  background: #fff7e5;
  border: 1px solid rgba(245,158,11,0.4);
  font-size: .95rem;
}

.mk-note {
  font-size: .8rem;
  color: #6b7280;
}
