/* ============================================
   FEMECE — "Organic Warmth" Design System
   Inspired by sunshine through flower petals
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* ── Design Tokens ── */
:root {
    /* Palette — warm blue meets golden sunlight */
    --blue-deep: #1a3a6b;
    --blue-rich: #2150a0;
    --blue-primary: #3068c8;
    --blue-bright: #4b8cf5;
    --blue-sky: #7ab4ff;
    --blue-pale: #d4e5ff;
    --blue-wash: #edf4ff;

    --gold-deep: #b8860b;
    --gold: #daa520;
    --gold-bright: #f0c040;
    --gold-light: #fde68a;
    --gold-pale: #fef9e7;

    --green-soft: #4ade80;
    --rose-soft: #fb7185;

    --cream: #fdfaf5;
    --cream-dark: #f5f0e8;
    --warm-white: #fffefa;

    --ink: #1a2332;
    --ink-light: #3d4f63;
    --ink-muted: #6b7f96;
    --ink-faint: #9cadc0;
    --ink-ghost: #c4d0dd;

    /* Semantic */
    --primary: var(--blue-primary);
    --primary-hover: var(--blue-rich);
    --accent: var(--gold-bright);
    --accent-hover: var(--gold);
    --bg: var(--cream);
    --bg-card: var(--warm-white);
    --text: var(--ink);
    --text-sub: var(--ink-light);
    --text-muted: var(--ink-muted);
    --border: rgba(26,35,50,0.08);
    --border-strong: rgba(26,35,50,0.14);

    /* Type */
    --font-display: 'DM Serif Display', Georgia, serif;
    --font-body: 'Outfit', system-ui, sans-serif;

    /* Motion */
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --duration: 0.35s;

    /* Radius — organic, rounded */
    --r-sm: 8px;
    --r: 14px;
    --r-lg: 20px;
    --r-xl: 28px;
    --r-2xl: 40px;
    --r-full: 9999px;

    /* Shadows — warm, not grey */
    --sh-sm: 0 1px 3px rgba(26,58,107,0.06);
    --sh: 0 2px 8px rgba(26,58,107,0.06), 0 8px 24px rgba(26,58,107,0.04);
    --sh-md: 0 4px 12px rgba(26,58,107,0.08), 0 12px 32px rgba(26,58,107,0.05);
    --sh-lg: 0 8px 24px rgba(26,58,107,0.1), 0 20px 48px rgba(26,58,107,0.06);
    --sh-glow-blue: 0 4px 20px rgba(48,104,200,0.25);
    --sh-glow-gold: 0 4px 20px rgba(240,192,64,0.3);

    --max-w: 1180px;
}

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

html {
    font-size: 17px;
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    min-height: 100vh;
    /* Subtle warm grain texture */
    background-image: url("data:image/svg+xml,%3Csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.02'/%3E%3C/svg%3E");
}

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

.site-main {
    flex: 1;
}

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

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--duration) var(--ease);
}
a:hover { color: var(--primary-hover); }

/* ── Typography ── */
h1,h2,h3,h4 {
    font-family: var(--font-display);
    color: var(--blue-deep);
    line-height: 1.25;
    font-weight: 400; /* DM Serif Display is already bold-looking at 400 */
    letter-spacing: -0.01em;
}

h1 { font-size: 2.4rem; margin-bottom: 1rem; }
h2 { font-size: 1.8rem; margin-bottom: 0.8rem; }
h3 { font-size: 1.35rem; margin-bottom: 0.6rem; }
h4 { font-size: 1.1rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; }
strong { font-weight: 700; }
ul,ol { padding-left: 1.5em; margin-bottom: 1rem; }
li { margin-bottom: 0.35rem; }

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================
   HEADER — frosted, floating pill
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0.6rem 1rem;
    background: rgba(253,250,245,0.82);
    backdrop-filter: blur(16px) saturate(1.6);
    -webkit-backdrop-filter: blur(16px) saturate(1.6);
    border-bottom: 1px solid var(--border);
    transition: box-shadow var(--duration) var(--ease);
}

.site-header:hover {
    box-shadow: var(--sh);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.35rem 0.5rem;
    max-width: var(--max-w);
    margin: 0 auto;
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    transition: transform 0.4s var(--ease-bounce);
}
.site-logo:hover { transform: scale(1.04) rotate(-1deg); }

.site-logo img, .logo-image {
    height: 48px;
    width: auto;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.12));
}

.site-logo-text, .logo-text {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--blue-deep);
    line-height: 1.2;
    display: flex;
    flex-direction: column;
}

.site-logo-name {
    font-weight: 400;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
    color: var(--blue-deep);
}

.site-logo-sub {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--gold-deep);
}

/* ============================================
   NAVIGATION — soft pill buttons
   ============================================ */
.nav-toggle-checkbox { display: none; }
.main-nav { display: block; }

.nav-list {
    display: flex;
    list-style: none;
    gap: 0.2rem;
    align-items: center;
    padding: 0; margin: 0;
    background: var(--blue-wash);
    border-radius: var(--r-full);
    padding: 0.25rem;
}

.nav-item { list-style: none; }

.nav-link {
    display: block;
    padding: 0.45rem 0.9rem;
    color: var(--ink-light);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--r-full);
    transition: all 0.25s var(--ease);
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--primary);
    background: rgba(255,255,255,0.8);
}

.nav-link.active {
    color: white;
    background: var(--primary);
    box-shadow: var(--sh-glow-blue);
}

/* Dropdown */
.nav-item--has-dropdown { position: relative; }

.nav-item--has-dropdown .nav-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding-top: 4px; /* vizuális rés, de hover-elérhető */
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-lg);
    min-width: 210px;
    padding: 0.45rem;
    z-index: 200;
    list-style: none;
    animation: ddIn 0.25s var(--ease);
}

@keyframes ddIn {
    from { opacity: 0; transform: translateX(-50%) translateY(-6px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.nav-item--has-dropdown:hover .nav-dropdown { display: block; }

.nav-dropdown-item { list-style: none; }

.nav-dropdown-link {
    display: block;
    padding: 0.5rem 0.85rem;
    color: var(--ink-light);
    font-size: 0.84rem;
    font-weight: 600;
    border-radius: var(--r-sm);
    transition: all 0.2s var(--ease);
}

.nav-dropdown-link:hover {
    background: var(--blue-wash);
    color: var(--primary);
}

/* Hamburger */
.nav-hamburger {
    display: none;
    cursor: pointer;
    padding: 0.6rem;
    flex-direction: column;
    gap: 5px;
    z-index: 110;
    border: none;
    background: var(--blue-wash);
    border-radius: var(--r);
}

.hamburger-bar {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--ink-light);
    border-radius: var(--r-full);
    transition: all 0.3s var(--ease);
}

.nav-toggle-checkbox:checked ~ .nav-hamburger .hamburger-bar:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle-checkbox:checked ~ .nav-hamburger .hamburger-bar:nth-child(2) { opacity: 0; }
.nav-toggle-checkbox:checked ~ .nav-hamburger .hamburger-bar:nth-child(3) { transform: rotate(-45deg) translate(6px,-6px); }

/* ============================================
   HERO — dramatic, warm, alive
   ============================================ */
.hero-banner {
    background:
        radial-gradient(ellipse at 30% 100%, rgba(240,192,64,0.12) 0%, transparent 55%),
        radial-gradient(ellipse at 75% 0%, rgba(122,180,255,0.15) 0%, transparent 50%),
        linear-gradient(165deg, var(--blue-deep) 0%, var(--blue-rich) 35%, var(--blue-primary) 65%, var(--blue-bright) 100%);
    color: white;
    padding: 4.5rem 0 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Floating organic blobs */
.hero-banner::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -60px;
    width: 320px;
    height: 320px;
    border-radius: 42% 58% 64% 36% / 47% 42% 58% 53%;
    background: rgba(240,192,64,0.08);
    animation: blobFloat 12s ease-in-out infinite alternate;
    pointer-events: none;
}

.hero-banner::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -40px;
    width: 280px;
    height: 280px;
    border-radius: 58% 42% 36% 64% / 53% 58% 42% 47%;
    background: rgba(255,255,255,0.04);
    animation: blobFloat 10s ease-in-out 2s infinite alternate-reverse;
    pointer-events: none;
}

@keyframes blobFloat {
    0%   { transform: translate(0,0) rotate(0deg) scale(1); }
    100% { transform: translate(30px,-20px) rotate(15deg) scale(1.08); }
}

.hero-content { position: relative; z-index: 1; }

.hero-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    display: block;
    background: white;
    padding: 4px;
    box-shadow:
        0 0 0 3px rgba(255,255,255,0.3),
        0 8px 32px rgba(0,0,0,0.2),
        0 0 60px rgba(240,192,64,0.15);
    animation: logoEnter 1s var(--ease-bounce) both;
}

@keyframes logoEnter {
    from { opacity: 0; transform: scale(0.5) translateY(30px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.hero-banner h1 {
    color: white;
    font-family: var(--font-display);
    font-size: 2.6rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 20px rgba(0,0,0,0.15);
    animation: fadeUp 0.8s var(--ease) 0.2s both;
}

.hero-banner p {
    font-size: 1.1rem;
    font-weight: 400;
    opacity: 0.88;
    max-width: 550px;
    margin: 0 auto 1.8rem;
    animation: fadeUp 0.8s var(--ease) 0.35s both;
}

.hero-banner .btn {
    animation: fadeUp 0.8s var(--ease) 0.5s both;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================
   BUTTONS — rounded, tactile
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1.8rem;
    border-radius: var(--r-full);
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s var(--ease);
    min-height: 48px;
    letter-spacing: 0.01em;
    position: relative;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: var(--sh-glow-blue);
}
.btn-primary:hover {
    background: var(--primary-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(48,104,200,0.35);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--sh-glow-blue);
}

.btn-white {
    background: white;
    color: var(--blue-deep);
    border-color: rgba(255,255,255,0.9);
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
    font-weight: 700;
}
.btn-white:hover {
    background: var(--gold-light);
    border-color: var(--gold-bright);
    color: var(--blue-deep);
    transform: translateY(-2px);
    box-shadow: var(--sh-glow-gold);
}

/* ============================================
   SECTIONS
   ============================================ */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--cream-dark); }

.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}

.section-title::after {
    content: '✿';
    display: block;
    margin-top: 0.4rem;
    font-size: 1.1rem;
    opacity: 0.35;
    line-height: 1;
}

/* ── Intro (Homepage) ── */
.section-intro {
    padding: 3.5rem 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.intro-text {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.intro-text h2 {
    border-left: none;
    padding-left: 0;
    color: var(--blue-deep);
}

.intro-text p {
    font-size: 1.05rem;
    color: var(--text-sub);
}

.intro-text .btn { margin-top: 0.5rem; }

/* ============================================
   NEWS CARDS — modern, editorial
   ============================================ */
.section-news { background: var(--bg); }

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.75rem;
}

.news-card {
    background: var(--bg-card);
    border-radius: var(--r-xl);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all var(--duration) var(--ease);
    position: relative;
}

.news-card {
    cursor: pointer;
    position: relative;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--sh-lg);
    border-color: var(--blue-pale);
}

/* Teljes kártya kattintható — a cím linkje feszíti ki */
.news-card-title a::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
}

.news-card-image {
    overflow: hidden;
}

.news-card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.news-card:hover .news-card-image img {
    transform: scale(1.06);
}

.news-card-body { padding: 1.5rem; }

.news-card-date {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--gold-deep);
    background: var(--gold-pale);
    padding: 0.2rem 0.65rem;
    border-radius: var(--r-full);
    margin-bottom: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.news-card-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.news-card-title a { color: var(--blue-deep); }
.news-card-title a:hover { color: var(--primary); }

.news-card-excerpt {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.section-footer {
    text-align: center;
    margin-top: 2.5rem;
}

/* ============================================
   GENERIC CARDS
   ============================================ */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.card {
    background: var(--bg-card);
    border-radius: var(--r-xl);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all var(--duration) var(--ease);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sh-md);
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--blue-wash);
}

.card-body { padding: 1.3rem; }
.card-date { font-size: 0.72rem; color: var(--text-muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.4rem; }
.card-title { font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 0.5rem; }
.card-title a { color: inherit; }
.card-title a:hover { color: var(--primary); }
.card-excerpt { font-size: 0.9rem; color: var(--text-sub); line-height: 1.6; }
.card-footer { padding: 0.8rem 1.3rem; border-top: 1px solid var(--border); background: var(--cream); }

/* ============================================
   PAGE CONTENT
   ============================================ */
.page-section { padding-top: 2.5rem; }

.page-title {
    font-family: var(--font-display);
    font-size: 2.4rem;
    color: var(--blue-deep);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--gold-bright), var(--gold-light), transparent);
    border-radius: var(--r-full);
    opacity: 0.7;
}

.page-content {
    max-width: 780px;
    padding: 0 0 3rem;
    line-height: 1.85;
}

.page-content img {
    border-radius: var(--r-xl);
    margin: 1.5rem 0;
    box-shadow: var(--sh);
}

.page-content h2 {
    margin-top: 2.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--gold-light);
    color: var(--blue-deep);
}

.page-content h3 {
    margin-top: 1.8rem;
    color: var(--blue-rich);
}

.page-content li { margin-bottom: 0.5rem; line-height: 1.7; }

/* ============================================
   SUB-NAV — segmented control style
   ============================================ */
.sub-nav { margin-bottom: 2.5rem; }

.sub-nav-list {
    display: inline-flex;
    gap: 0.3rem;
    flex-wrap: wrap;
    list-style: none;
    padding: 0.3rem;
    margin: 0;
    background: var(--cream-dark);
    border-radius: var(--r-full);
    border: 1px solid var(--border);
}

.sub-nav-item { list-style: none; }

.sub-nav-link {
    display: block;
    padding: 0.5rem 1.1rem;
    border-radius: var(--r-full);
    color: var(--ink-muted);
    font-size: 0.86rem;
    font-weight: 700;
    transition: all 0.25s var(--ease);
    white-space: nowrap;
}

.sub-nav-link:hover {
    background: var(--bg-card);
    color: var(--primary);
    box-shadow: var(--sh-sm);
}

.sub-nav-link.active {
    background: var(--primary);
    color: white;
    box-shadow: var(--sh-glow-blue);
}

/* ============================================
   ARTICLE PAGE
   ============================================ */
.article-header {
    margin-bottom: 2rem;
}

.article-back {
    margin-bottom: 1rem;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: color 0.2s;
}

.btn-back:hover {
    color: var(--primary);
}

.article-title {
    font-size: 2.2rem;
    color: var(--blue-deep);
    margin-bottom: 0.5rem;
}

.article-date {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gold-deep);
    background: var(--gold-pale);
    padding: 0.25rem: 0.75rem;
    border-radius: var(--r-full);
}

.article-featured-image {
    margin-bottom: 2rem;
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--sh);
}

.article-featured-image img {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
}

.article-content {
    margin-bottom: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 2rem 2.5rem;
    box-shadow: var(--sh);
    position: relative;
}

.article-content::before {
    content: '';
    position: absolute;
    top: 1.5rem;
    left: 0;
    bottom: 1.5rem;
    width: 4px;
    background: linear-gradient(180deg, var(--gold-bright), var(--blue-primary));
    border-radius: var(--r-full);
}

@media (max-width: 768px) {
    .article-content {
        padding: 1.5rem 1.25rem;
    }
}

/* Gallery */
.article-gallery {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.gallery-title {
    font-family: var(--font-display);
    color: var(--blue-deep);
    margin-bottom: 1.2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

.gallery-item {
    border-radius: var(--r-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: var(--sh-sm);
    transition: all 0.3s var(--ease);
}

.gallery-item:hover {
    box-shadow: var(--sh-md);
    transform: translateY(-3px);
}

.gallery-item a {
    display: block;
    width: 100%;
    height: 100%;
}

.gallery-image,
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--r-lg);
    cursor: pointer;
    transition: transform 0.5s var(--ease);
}

.gallery-item:hover img {
    transform: scale(1.06);
}

/* Horizontal news cards (list view) */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.news-card--horizontal {
    display: grid;
    grid-template-columns: 260px 1fr;
    border-radius: var(--r-xl);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-card);
    transition: all var(--duration) var(--ease);
}

.news-card--horizontal {
    cursor: pointer;
    position: relative;
}

.news-card--horizontal:hover {
    box-shadow: var(--sh-md);
    border-color: var(--blue-pale);
    transform: translateY(-2px);
}

.news-card--horizontal .news-card-image img {
    width: 100%;
    height: 100%;
    min-height: 180px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .news-card--horizontal {
        grid-template-columns: 1fr;
    }
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

/* ============================================
   INFO BOX / SUPPORT
   ============================================ */
.info-box {
    background: var(--gold-pale);
    border-left: 4px solid var(--gold);
    padding: 1.5rem 1.75rem;
    border-radius: 0 var(--r-lg) var(--r-lg) 0;
    margin: 1.5rem 0;
}

.info-box-highlight {
    background:
        radial-gradient(ellipse at 80% 20%, rgba(240,192,64,0.12) 0%, transparent 50%),
        linear-gradient(145deg, var(--blue-deep) 0%, var(--blue-rich) 60%, var(--blue-primary) 100%);
    color: white;
    border-left: none;
    border-radius: var(--r-2xl);
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--sh-lg);
    position: relative;
    overflow: hidden;
}

.info-box-highlight::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    border-radius: 42% 58% 64% 36% / 47% 42% 58% 53%;
    background: rgba(240,192,64,0.1);
    pointer-events: none;
}

.info-box-highlight h2,
.info-box-highlight h3 { color: white; font-size: 1.5rem; }
.info-box-highlight p { opacity: 0.9; }

/* ============================================
   DOCUMENTS
   ============================================ */
.document-list { list-style: none; padding: 0; }

.document-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1rem 1.25rem;
    border-radius: var(--r-lg);
    margin-bottom: 0.5rem;
    border: 1px solid transparent;
    transition: all 0.25s var(--ease);
}

.document-item:hover {
    background: var(--bg-card);
    border-color: var(--border);
    box-shadow: var(--sh);
}

.document-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-rich));
    color: white;
    border-radius: var(--r);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    box-shadow: var(--sh-glow-blue);
}

.document-info { flex: 1; }
.document-title { font-weight: 700; color: var(--text); }
.document-desc { font-size: 0.85rem; color: var(--text-sub); }
.document-date { font-size: 0.75rem; color: var(--text-muted); font-weight: 600; }
.document-download { flex-shrink: 0; }

/* ============================================
   CONTACT
   ============================================ */
.contact-grid,
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3.5rem;
    align-items: start;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    margin-bottom: 1.3rem;
}

.contact-info-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--gold-bright), var(--gold));
    color: var(--blue-deep);
    border-radius: var(--r);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    box-shadow: var(--sh-glow-gold);
}

/* Contact info rows */
.contact-info-box {
    margin-bottom: 2rem;
}

.contact-info-row {
    margin-bottom: 1rem;
}

.contact-info-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ink-muted);
    margin-bottom: 0.25rem;
}

.contact-info-value {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
}

a.contact-info-value:hover {
    color: var(--primary);
}

.contact-phones {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-top: 0.3rem;
}

.contact-phone-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    color: var(--blue-rich);
    letter-spacing: 0.02em;
    transition: all 0.25s var(--ease);
}

.contact-phone-item:hover {
    background: var(--blue-wash);
    border-color: var(--blue-pale);
    color: var(--primary);
    transform: translateY(-1px);
    box-shadow: var(--sh);
}

/* Leader items in contact page */
.contact-leaders {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.contact-leader-item {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.8rem 1rem;
    background: var(--bg-card);
    border-radius: var(--r);
    border: 1px solid var(--border);
}

.contact-leader-name {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--blue-deep);
}

.contact-leader-position {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
}

.contact-leader-phone,
.contact-leader-email {
    font-size: 0.85rem;
    color: var(--text-sub);
}

.section-subtitle {
    font-family: var(--font-display);
    color: var(--blue-deep);
    margin-bottom: 1.2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--r-xl);
    border: 1px solid var(--border);
    box-shadow: var(--sh);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.form-group label {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--ink-light);
}

.form-group input,
.form-group textarea {
    padding: 0.8rem 1rem;
    border: 2px solid var(--border-strong);
    border-radius: var(--r);
    font-size: 1rem;
    font-family: var(--font-body);
    transition: all 0.25s var(--ease);
    min-height: 48px;
    background: var(--cream);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(48,104,200,0.1);
}

.form-group input.error,
.form-group textarea.error {
    border-color: var(--rose-soft);
    box-shadow: 0 0 0 4px rgba(251,113,133,0.1);
}

.form-group textarea { min-height: 150px; resize: vertical; }

/* Contact cards */
.contacts-grid, .contact-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s var(--ease);
}

.contact-card:hover {
    border-color: var(--gold-light);
    box-shadow: var(--sh-md);
    transform: translateY(-3px);
}

.contact-card-name { font-family: var(--font-display); font-weight: 400; margin-bottom: 0.2rem; }
.contact-card-position { color: var(--primary); font-weight: 700; font-size: 0.88rem; margin-bottom: 0.6rem; }
.contact-card-phone, .contact-card-email { font-size: 0.86rem; color: var(--text-sub); margin-bottom: 0.15rem; }
.contact-label { font-weight: 700; color: var(--ink-muted); }

/* ============================================
   LEADER CARDS
   ============================================ */
.leader-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
}

.leader-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-2xl);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s var(--ease);
}

.leader-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sh-md);
    border-color: var(--gold-light);
}

.leader-avatar {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-bright), var(--gold));
    color: var(--blue-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 1rem;
    box-shadow: var(--sh-glow-gold);
}

.leader-name { font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 0.3rem; }
.leader-position { font-size: 0.86rem; color: var(--primary); font-weight: 700; margin-bottom: 0.7rem; }
.leader-contact { font-size: 0.84rem; color: var(--text-muted); }
.leader-contact a { color: var(--text-muted); }
.leader-contact a:hover { color: var(--primary); }

/* ============================================
   PAGINATION
   ============================================ */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.35rem;
    margin-top: 2.5rem;
}

.pagination a, .pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 48px;
    border: 2px solid var(--border-strong);
    border-radius: var(--r-full);
    font-weight: 700;
    transition: all 0.25s var(--ease);
    color: var(--ink-light);
}

.pagination a:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--blue-wash);
}

.pagination .current {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: var(--sh-glow-blue);
}

/* ============================================
   ALERTS
   ============================================ */
.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--r-lg);
    margin-bottom: 1.5rem;
    font-weight: 600;
    border: 1px solid;
}

.alert-success { background: #f0fdf4; color: #166534; border-color: #bbf7d0; }
.alert-error { background: #fef2f2; color: #b91c1c; border-color: #fecaca; }

/* ============================================
   LIGHTBOX MODAL — lapozható galéria
   ============================================ */
.lightbox-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
}

.lightbox-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: lbFadeIn 0.25s var(--ease);
}

@keyframes lbFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 18, 30, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.lightbox-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 960px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
}

.lightbox-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 0.75rem;
}

.lightbox-counter {
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    font-weight: 700;
    font-family: var(--font-body);
    letter-spacing: 0.05em;
}

.lightbox-close {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    line-height: 1;
}

.lightbox-close:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.1);
}

.lightbox-body {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
}

.lightbox-img-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    max-height: 75vh;
}

.lightbox-img {
    display: block;
    max-width: 100%;
    max-height: 75vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: var(--r-lg);
    box-shadow: 0 16px 64px rgba(0,0,0,0.4);
    transition: opacity 0.15s ease;
}

.lightbox-nav {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.08);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s var(--ease);
}

.lightbox-nav:hover {
    background: rgba(255,255,255,0.18);
    transform: scale(1.1);
}

.lightbox-dots {
    display: flex;
    gap: 0.4rem;
    margin-top: 1rem;
    justify-content: center;
}

.lightbox-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.3);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s;
}

.lightbox-dot.active {
    background: var(--gold-bright);
    border-color: var(--gold-bright);
    transform: scale(1.2);
}

.lightbox-dot:hover {
    border-color: rgba(255,255,255,0.6);
}

@media (max-width: 768px) {
    .lightbox-nav {
        width: 36px;
        height: 36px;
    }
    .lightbox-nav svg {
        width: 18px;
        height: 18px;
    }
    .lightbox-img {
        max-height: 60vh;
    }
}

/* ============================================
   SCROLL TO TOP
   ============================================ */
.scroll-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 52px;
    height: 52px;
    background: var(--gold-bright);
    color: var(--blue-deep);
    border: none;
    border-radius: var(--r-lg);
    font-size: 1.3rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: var(--sh-glow-gold);
    opacity: 0;
    transform: translateY(16px) scale(0.85);
    transition: all 0.4s var(--ease-bounce);
    z-index: 50;
}

.scroll-top-btn.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.scroll-top-btn:hover {
    background: var(--gold);
    transform: translateY(-3px) scale(1.06);
}

/* ============================================
   FOOTER — warm dark with golden accents
   ============================================ */
.site-footer {
    background:
        radial-gradient(ellipse at 20% 100%, rgba(240,192,64,0.05) 0%, transparent 60%),
        linear-gradient(180deg, var(--blue-deep) 0%, #0f1f3d 100%);
    color: var(--ink-ghost);
    padding: 4rem 0 1.5rem;
    margin-top: auto;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-bright), var(--primary), var(--gold-bright));
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-section h3,
.footer-section h4,
.footer-heading {
    color: white;
    font-family: var(--font-display);
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.footer-section p,
.footer-section a {
    color: var(--ink-ghost);
    font-size: 0.88rem;
    line-height: 1.85;
}
.footer-section a:hover { color: var(--gold-light); }

.footer-info-list { list-style: none; padding: 0; }
.footer-info-item { margin-bottom: 0.5rem; font-size: 0.88rem; }
.footer-info-label { font-weight: 700; color: var(--ink-faint); margin-right: 0.3rem; }

.footer-bank-number {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gold-light);
    font-family: 'Courier New', monospace;
    background: rgba(255,255,255,0.06);
    padding: 0.3rem 0.65rem;
    border-radius: var(--r-sm);
    display: inline-block;
    border: 1px solid rgba(255,255,255,0.08);
}

.footer-social { margin-top: 1.2rem; }

.footer-social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.1rem;
    background: rgba(255,255,255,0.08);
    color: white !important;
    border-radius: var(--r-full);
    font-size: 0.84rem;
    font-weight: 700;
    transition: all 0.25s var(--ease);
    border: 1px solid rgba(255,255,255,0.1);
}

.footer-social-link:hover {
    background: #1877f2;
    transform: translateY(-1px);
    border-color: #1877f2;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.8rem;
    color: var(--ink-muted);
}

/* ============================================
   EMPTY STATE
   ============================================ */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
    background: var(--bg-card);
    border-radius: var(--r-2xl);
    border: 2px dashed var(--border-strong);
}

.empty-state p { font-size: 1rem; margin: 0; }

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb { font-size: 0.84rem; color: var(--text-muted); margin-bottom: 1.5rem; font-weight: 600; }
.breadcrumb a { color: var(--text-sub); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { margin: 0 0.4rem; }

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
    background: linear-gradient(135deg, var(--blue-wash), var(--gold-pale));
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 2rem;
}

.page-header h1 { margin-bottom: 0; color: var(--blue-deep); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    html { font-size: 16px; }
    .container { padding: 0 1.25rem; }
    .header-inner { padding: 0.3rem 0; }

    .nav-hamburger { display: flex; }

    .nav-list {
        background: none;
        border-radius: 0;
        padding: 0;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(253,250,245,0.97);
        backdrop-filter: blur(16px);
        box-shadow: var(--sh-lg);
        border-top: 1px solid var(--border);
        z-index: 100;
    }

    .nav-toggle-checkbox:checked ~ .main-nav { display: block; }

    .nav-list {
        flex-direction: column;
        padding: 0.75rem;
        gap: 0.15rem;
    }

    .nav-link {
        padding: 0.7rem 1rem;
        font-size: 0.92rem;
        width: 100%;
        border-radius: var(--r);
    }

    .nav-item--has-dropdown .nav-dropdown {
        position: static;
        box-shadow: none;
        border: none;
        transform: none;
        padding-left: 0.5rem;
        display: block;
        animation: none;
    }

    .site-logo-text { display: none; }
    .hero-banner { padding: 2.5rem 0 3rem; }
    .hero-banner h1 { font-size: 2rem; }
    .hero-banner p { font-size: 0.95rem; }
    .hero-logo { width: 90px; height: 90px; margin-bottom: 1rem; }

    .contact-grid, .contact-layout { grid-template-columns: 1fr; gap: 2rem; }
    .card-grid, .news-grid { grid-template-columns: 1fr; }
    .section { padding: 3rem 0; }
    .page-content { padding: 0 0 2rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .page-title { font-size: 1.9rem; }

    .sub-nav-list {
        flex-direction: column;
        border-radius: var(--r-lg);
        gap: 0.2rem;
    }
    .sub-nav-link { text-align: center; }
}

@media (max-width: 480px) {
    h1 { font-size: 1.6rem; }
    h2 { font-size: 1.35rem; }
    .hero-banner h1 { font-size: 1.7rem; }
    .document-item { flex-direction: column; align-items: flex-start; gap: 0.6rem; }
}

/* ── Print ── */
@media print {
    .site-header, .site-footer, .nav-hamburger, .scroll-top-btn, .btn { display: none !important; }
    body { font-size: 12pt; color: black; background: white; }
    .page-content { max-width: 100%; }
}
