 /* --- ALAP BEÁLLÍTÁSOK (Variables & Reset) --- */
 :root {
    --primary-orange: #ff6b35;
    --text-dark: #1a1a1a;
    --text-gray: #666;
    --bg-light: #f9f9f9;
    --white: #ffffff;
    --transition-speed: 0.3s;
}

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


html {
    font-size: 16px;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    color: var(--text-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed);
}

ul, ol {
    padding-left: 2rem;
}

p {
    margin-top: 1rem;
    margin-bottom: 0.8rem;
    color: #444;
}

pre {
    width: 100%;
    font-family: monospace;
    font-size: 0.8rem;
    background-color: black;
    color: white;
    padding: 1rem;
    border-radius: 0.5rem;
}

/* --- HEADER --- */
.site-header {
    background: var(--white);
    padding: 1.5rem 5%;
    align-items: center;
    position: sticky;
    top: 0;
    display: flex;
    justify-content: space-between;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}



.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
}

.logo span {
    color: var(--primary-orange);
}

nav > ul   {
    padding-left: 0;
    display: flex;
    gap: 2rem;
    list-style: none;
}

nav > ul > li {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-gray);
}

footer .nav-link {
    font-size: 0.6rem;
}

.nav-link:hover {
    color: var(--primary-orange);
}

/* Hamburger Menu Icon (Hidden on Desktop) */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    width: 100%;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: all 0.3s;
}

/* --- HERO SECTION --- */
.hero {
    text-align: center;
    padding: 4rem 1rem;
    background-color: var(--bg-light);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.hero h1 span {
    color: var(--primary-orange);
}

.hero p {
    color: var(--text-gray);
    font-size: 1rem;
}

/* --- NEWS GRID --- */
.news-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem 4rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* --- ARTICLE CARD --- */
.article-card {
    display: flex;
    background: var(--white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    overflow: hidden; /* Lekerekítés miatt */
    min-height: 400px;
}

/* Kép konténer a zoom effekthez */
.article-image-wrapper {
    flex: 0 0 50%;
    overflow: hidden; /* Ez akadályozza meg, hogy a doboz mérete nőjön */
    position: relative;
}

.article-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease; /* Finom zoom animáció */
    display: block;
}

/* HOVER EFFECT: Csak a kép zoomol */
.article-card:hover .article-image {
    transform: scale(1.1);
}

.article-content {
    flex: 0 0 50%;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.article-single {
    flex: 0 0 100%;
    padding: 3rem;
    display: block;
    overflow-wrap: anywhere;
    word-break: break-word;
}


/* DESKTOP ELRENDEZÉS: Cikk-cakk minta */
/* Minden páratlan (1., 3.) elemnél: Kép balra, Szöveg jobbra (default) */
/* Minden páros (2., 4.) elemnél: Szöveg balra, Kép jobbra */
.article-card:nth-child(even) {
    flex-direction: row-reverse;
}

/* Typography inside cards */
.meta-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--primary-orange);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.meta-date {
    font-size: 0.8rem;
    color: #999;
    margin-left: 10px;
}

.article-title {
    font-size: 2rem;
    margin-top: 0.6rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.article-excerpt {
    color: var(--text-gray);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.read-more {
    font-size: 0.9rem;
    font-weight: 700;
    color: #4a90e2; /* Kék szín a linknek a képen */
    display: inline-flex;
    align-items: center;
}

.read-more::after {
    content: '›';
    font-size: 1.2rem;
    margin-left: 5px;
    transition: transform 0.2s;
}

.read-more:hover::after {
    transform: translateX(5px);
}

/* --- FOOTER --- */
.site-footer {
    background: var(--white);
    padding: 2rem 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1px solid #eee;
    font-size: 0.8rem;
    color: var(--text-gray);
}

.footer-nav {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

/* --- MOBIL RESPONSIVE --- */
@media (max-width: 768px) {
    
    /* Mobil Navigáció */
    .hamburger {
        display: flex;
        z-index: 101;
    }

    nav > ul   {
        position: fixed;
        top: 0;
        right: -100%; /* Elrejtve jobbra */
        width: 70%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: right 0.3s ease-in-out;
        z-index: 100;
    }

    nav > ul.active, nav.active {
        right: 0;
    }
  

    .hero h1 {
        font-size: 2rem;
    }

    /* Mobil Kártya Elrendezés */
    .article-card {
        flex-direction: column !important; /* Felülbírálja a row-reverse-t */
        min-height: auto;
    }

    .article-image-wrapper {
        height: 250px; /* Fix magasság a képnek mobilon */
        flex: none;
    }

    .article-content {
        padding: 1.5rem;
    }

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

    .site-footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

input,
textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 1rem;
    color: white;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: #c084fc;
}

textarea {
    resize: none;
    min-height: 150px;
}

button, 
input[type="button"], 
input[type="submit"], 
input[type="reset"] {
    width: 100%;
    padding: 1rem 2rem;
    background: #ff6b35;
    border: none;
    border-radius: 2rem;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover {
    box-shadow: 0 20px 40px rgba(168, 85, 247, 0.5);
}


.wp-block-heading {
    margin: 3rem 0 1rem 0;
}