/* Alap stílusok */

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

body {
    margin: 0;
    font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #1f2933;
    background: #f5f7fa;
    line-height: 1.6;

    /* hely a fix topbar-nak (kb. 60–70px magas) */
    padding-top: 64px;
}


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

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

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

/* Navigáció + header */

.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}


.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}


/* FELSŐ SOR ELRENDEZÉS – NEM STICKY ITT! */
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1.5rem;
}



.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: inherit;
}

.logo:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
    border-radius: 12px;
}

.logo-img {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.logo-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-mark {
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.logo-sub {
    font-size: 0.75rem;
    color: #6b7280;
}



.main-nav ul {
    list-style: none;
    display: flex;
    gap: 1.25rem;
    margin: 0;
    padding: 0;
}

.main-nav a {
    font-size: 0.95rem;
    padding: 0.4rem 0;
    border-bottom: 2px solid transparent;
    color: #374151;
    font-weight: 500;
}

.main-nav a:hover {
    border-bottom-color: #0ea5e9;
}

.main-nav a.active {
    border-bottom-color: #0284c7;
    color: #0284c7;
}

/* Mobil menü gomb */

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
}

/* Hero */

.hero {
    /* Alap ESZLE dátum-átmenet; partner eseménynél inline style felülírhatja */
    background: linear-gradient(
        135deg,
        var(--event-date-c1, #9CE3C2) 15%,
        var(--event-date-c2, #BDE6FF) 50%,
        var(--event-date-c3, #4F8DF9) 85%
    );
    /* A főoldali hero háttér több helyen nagyon világos, ezért a szöveg
       legyen fekete és kapjon finom fehér „glow” árnyékot. */
    color: #111827;
    padding: 22px 0 30px;
}


/* === Olvashatóság: fekete szöveg finom FEHÉR árnyékkal (kérés szerint) === */
.text-outline-white{
  color:#111827 !important;
  text-shadow: 0 2px 16px rgba(255,255,255,.70), 0 1px 3px rgba(255,255,255,.90);
}



/* === Olvashatóság: fehér szöveg finom árnyékkal (szebb, mint a körvonal) === */
.text-outline-black{
  color:#fff !important;
  text-shadow: 0 2px 16px rgba(0,0,0,.50), 0 1px 3px rgba(0,0,0,.35);
}

/* Főoldali hero: fekete szöveg fehér árnyékkal (jobb kontraszt a világos részeken) */
.hero h1,
.hero-text p,
.hero-highlight .hero-stat-number,
.hero-highlight .hero-stat-label,
.hero-highlight .hero-note{
  color: #111827;
  text-shadow: 0 2px 16px rgba(255,255,255,.70), 0 1px 3px rgba(255,255,255,.90);
}


.hero h1 {
    margin-bottom: 18px;    /* ha eddig 28–32px volt */
}


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

.hero-text {
    flex: 1 1 0;
    min-width: 0;
}

.hero-text p {
    max-width: 540px;
    font-size: 0.95rem;
}

.hero-actions {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
}

/* Fő zöld kártya */
.hero-highlight {
    position: relative;
    flex: 0 0 450px;
    max-width: 350px;
    padding: 20px 22px;
    border-radius: 20px;
    background: linear-gradient(
        135deg,
		#4F8DF9 15%,
        #BDE6FF 50%,
        #9CE3C2 85%
    );
    /* kártyában is fekete szöveg + fehér árnyék */
    color: #111827;
    overflow: visible;
}

.hero-stat {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hero-stat-number {
    font-size: 3.2rem;
    font-weight: 700;
}

.hero-stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

/* Szöveg a kártyán belül – kevésbé szellős, hogy ne nyúljon olyan magasra */
.hero-note {
    font-size: 0.95rem;
    line-height: 1.45;
    margin-top: 18px;
}

/* Közösségi ikonok a hero kártya mellett */
.hero-social{
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-self: flex-start;
    margin-top: 10px; /* vizuálisan a kártya tetejéhez igazítva */
}

.hero-social-link{
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255,255,255,0.85);
    border: 1px solid rgba(17,24,39,0.10);
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
    color: #111827;
    text-decoration: none;
    transition: transform 0.12s ease, background 0.12s ease;
}

.hero-social-link i{
    font-size: 1.2rem;
}

.hero-social-link:hover{
    transform: translateY(-2px);
    background: rgba(255,255,255,0.95);
}

@media (max-width: 900px) {
    .hero-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-highlight {
        flex: 0 0 auto;
        width: 100%;        /* mobilon újra teljes szélesség */
        max-width: none;
    }

    /* mobilon a két ikon inkább egymás mellé kerüljön */
    .hero-social{
        flex-direction: row;
        justify-content: flex-end;
        align-self: flex-end;
        margin-top: 12px;
    }
}

/* Gombok */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.25rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.btn.primary {
    background: #0ea5e9;
    color: #f9fafb;
    border-color: #0ea5e9;
}

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

.btn.secondary {
    background: #f9fafb;
    color: #0369a1;
    border-color: rgba(255, 255, 255, 0.7);
}

.btn.secondary:hover {
    background: #e0f2fe;
}

/* Szekciók */

.site-main {
    padding: 2rem 0 3rem;
}

.section {
    margin-bottom: 2.5rem;
}

.section-alt {
    background: #ffffff;
    border-radius: 1.25rem;
    padding: 1.75rem 1.75rem 1.5rem;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
}

.section-title {
    font-size: 1.4rem;
    margin: 0 0 0.5rem;   /* ne legyen felső margin, így a két cím tényleg egy vonalban indul */
}


.section-intro {
    margin-bottom: 1.25rem;
    color: #4b5563;
    font-size: 0.95rem;
}

/* Grid-ek */

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem;
}

/* Kártyák */

.card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 1.25rem 1.35rem;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
    border: 1px solid #e5e7eb;
}

.card h3 {
    font-size: 1rem;
    margin-top: 0;
    margin-bottom: 0.6rem;
}

.card p {
    font-size: 0.9rem;
    color: #4b5563;
}

.card h3 i {
    margin-right: 0.4rem;
    color: #0ea5e9;
}

/* Hírkártya */

.card-news {
    position: relative;
}

.card-news .badge {
    position: absolute;
    top: 0.9rem;
    right: 1rem;
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    background: #22c55e1a;
    color: #15803d;
}

.card-meta {
    font-size: 0.8rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

/* Esemény lista */

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

.events-list-page {
    margin-top: 1rem;
}

.event-item {
    display: flex;
    gap: 1rem;
    align-items: stretch;
    background: #ffffff;
    border-radius: 1rem;
    padding: 0.9rem 1.1rem;
    border: 1px solid #e5e7eb;
}

.event-date {
    width: 64px;
    min-width: 64px;
    border-radius: 0.8rem;
    background: linear-gradient(
        135deg,
        var(--event-date-c1, #9CE3C2) 15%,
        var(--event-date-c2, #BDE6FF) 50%,
        var(--event-date-c3, #4F8DF9) 85%
    );
color: #f9fafb;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}




.event-day {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
}

.event-month {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.event-logo{
    margin-left:auto;
    display:flex;
    align-items:center;
    justify-content:center;
    padding-left:0.75rem;
}
.event-logo img{
    max-height:44px;
    max-width:120px;
    object-fit:contain;
    opacity:0.95;
}

.event-content h3 {
    margin: 0 0 0.2rem;
    font-size: 1rem;
}

.event-meta {
    font-size: 0.8rem;
    color: #6b7280;
}

/* CTA blokk */

.section-cta {
    margin-top: 1rem;
}

.cta-inner {
    text-align: center;
    background: linear-gradient(
        135deg,
        var(--event-date-c1, #9CE3C2) 15%,
        var(--event-date-c2, #BDE6FF) 50%,
        var(--event-date-c3, #4F8DF9) 85%
    );
border-radius: 1.5rem;
    padding: 2rem 1.5rem;
    color: #f9fafb;
}


.cta-inner h2 {
    margin: 0 0 0.7rem;
}

.cta-inner p {
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

/* CTA szöveg olvashatóság */
.cta-inner h2,
.cta-inner p{
  text-shadow: 0 2px 16px rgba(0,0,0,.50), 0 1px 3px rgba(0,0,0,.35);
}

/* Info panel */

.info-panel {
    margin-top: 2rem;
    padding: 1.5rem 1.4rem;
    border-radius: 1rem;
    background: #ecfeff;
    border: 1px solid #bae6fd;
}

/* Lista ikonokkal */

.icon-list {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0 0;
}

.icon-list li {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: #374151;
    margin-bottom: 0.25rem;
}

.icon-list i {
    color: #22c55e;
}

/* Kapcsolat oldal */

.contact-form {
    background: #ffffff;
    padding: 1.35rem 1.3rem;
    border-radius: 1rem;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
    border: 1px solid #e5e7eb;
}

.form-group {
    margin-bottom: 0.9rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.5rem 0.6rem;
    border-radius: 0.6rem;
    border: 1px solid #d1d5db;
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #0ea5e9;
    box-shadow: 0 0 0 1px #bae6fd;
}

.small-note {
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 0.6rem;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.contact-list i {
    color: #0ea5e9;
}

.map-placeholder {
    margin-top: 0.75rem;
    padding: 1.1rem;
    border-radius: 0.8rem;
    background: #e5e7eb;
    font-size: 0.85rem;
    color: #4b5563;
}

/* Kapcsolat űrlap eredmény oldal */

.contact-result-body {
    background: #f5f7fa;
}

.contact-result {
    max-width: 480px;
    margin: 3rem auto;
    background: #ffffff;
    padding: 1.75rem 1.6rem;
    border-radius: 1.25rem;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.contact-result h1 {
    margin-top: 0;
    margin-bottom: 0.7rem;
    font-size: 1.4rem;
}

.contact-result ul {
    padding-left: 1.2rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

/* Lábléc */

.site-footer {
    background: #0f172a;
    color: #e5e7eb;
    padding-top: 1.75rem;
    margin-top: 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2.2fr 1.2fr 1.4fr;
    gap: 1.5rem;
    font-size: 0.85rem;
}

.footer-logo {
    margin-bottom: 0.6rem;
}

.footer-logo img {
    max-width: 120px;
    height: auto;
    display: block;
}


.site-footer h3,
.site-footer h4 {
    margin-top: 0;
    margin-bottom: 0.6rem;
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer a {
    color: #e5e7eb;
    opacity: 0.9;
}

.site-footer a:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid #1f2937;
    margin-top: 1.4rem;
    padding: 0.7rem 0;
    font-size: 0.8rem;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-meta {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* Egyéb */

.section-header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.link-more {
    font-size: 0.85rem;
    color: #0369a1;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

/* Reszponzív töréspontok */

@media (max-width: 900px) {
    .hero-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-grid {
        grid-template-columns: 1.4fr 1fr;
    }

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

@media (max-width: 720px) {
    .nav-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 56px;
        left: 0;
        right: 0;
        background: #ffffff;
        border-bottom: 1px solid #e5e7eb;
        display: none;
    }

    .main-nav.open {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        padding: 0.6rem 1.5rem 0.8rem;
    }

    .hero {
        padding-top: 1.6rem;
    }

    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom-inner {
        flex-direction: column;
        gap: 0.4rem;
        align-items: flex-start;
    }

    .event-item {
        flex-direction: row;
    }
}
/* === ESZLE – Friss hírek blokk + kártyák (bp18 stílus) === */

.section-news {
    padding-top: 40px;
    padding-bottom: 40px;
}

.home-news {
    background: #ffffff;
    border-radius: 40px;
    padding: 32px 32px 36px;
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.08);
}

.home-news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.home-news-header .section-title {
    margin: 0;
}

.section-link {
    font-size: 14px;
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

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

/* Kártyarács – 3 oszlop desktopon, 1 oszlop mobilon */
.home-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

/* Egyes hírkártyák */
.news-card {
    background: #ffffff;
    border-radius: 28px;
    padding: 24px 24px 22px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06);
}

.news-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 600;
}

.news-card .news-meta {
    margin: 0 0 10px;
    font-size: 14px;
    color: #64748b;
}

.news-card p {
    margin: 0;
}

@media (max-width: 768px) {
    .home-news {
        padding: 24px 20px 26px;
        border-radius: 32px;
    }

    .home-news-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-news-grid {
        grid-template-columns: 1fr;
    }
}


/* === Kapcsolat oldal – Elérhetőségeink kártya + térkép === */

.contact-info-card {
    padding: 18px 20px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

/* jobb oldali oszlop – kártyák egymás alatt */
.contact-side-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;   /* távolság az Elérhetőségeink és a Térkép kártya között */
}

.contact-info-item {
    display: flex;
    align-items: center;   /* ikon és szöveg egy sorban */
    gap: 14px;
    margin-bottom: 12px;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-info-icon {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: #e0ecff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon i {
    font-size: 18px;
    color: #2563eb;       /* kék ikonszín */
}

.contact-info-body {
    flex: 1;
    min-width: 0;
}

.contact-info-label {
    font-size: 13px;
    font-weight: 600;
    color: #4b5563;
    margin-bottom: 2px;
}

.contact-info-text {
    font-size: 14px;
    color: #111827;
}

.contact-info-text a {
    color: inherit;
    text-decoration: none;
}

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

/* Térkép kártya */

.contact-map-card {
    padding: 14px 16px;
    border-radius: 14px;
    background: #f3f4f6;
    font-size: 14px;
    color: #4b5563;
    border: 1px dashed #d1d5db;
}

.contact-map-placeholder {
    margin: 0;      /* ne tolódjon el extra margóval */
}
/* Kapcsolat űrlap – siker popup */
.contact-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.35); /* sötét, áttetsző háttér */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.contact-modal-overlay.is-hidden {
    display: none;
}

.contact-modal {
    background: #ffffff;
    padding: 2.5rem 2.75rem;
    border-radius: 1.5rem;
    max-width: 480px;
    width: 90%;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.2);
    position: relative;
    text-align: left;
}

.contact-modal h2 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.contact-modal p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-modal-close {
    position: absolute;
    top: 0.9rem;
    right: 1rem;
    border: none;
    background: transparent;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    color: #64748b;
}

.contact-modal-close:hover {
    color: #0f172a;
}
/* Rólunk oldal – kicsit szorosabb sorköz a szövegekhez */
.section p {
    line-height: 1.5;
    margin-top: 0;
    margin-bottom: 0.6rem;
}
/* Partnerek oldal – partner logók */
.partner-logos {
    margin-top: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
}

.partner-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.3rem 0.5rem;
    border-radius: 0.75rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
}

.partner-logo-img {
    max-height: 40px;
    width: auto;
    display: block;
}

/* ==== Cookie banner (süti popup) ==== */

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    opacity: 0;
    pointer-events: none;

    max-width: 520px;
    width: calc(100% - 32px);
    z-index: 9999;

    transition: opacity 0.25s ease, transform 0.25s ease;
}

.cookie-banner--visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.cookie-banner-inner {
    background: #ffffff;
    border-radius: 20px;
    padding: 16px 18px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.22);
    border: 1px solid #e5e7eb;
    font-size: 14px;
}

.cookie-banner-inner h3 {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 600;
}

.cookie-banner-inner p {
    margin: 0 0 10px;
    color: #4b5563;
    line-height: 1.5;
}

.cookie-banner-inner a {
    color: #2563eb;
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.btn-cookie {
    font-size: 13px;
    padding: 6px 14px;
}
/* Friss hírek borítókép */
.news-cover {
    margin-bottom: 18px;
    border-radius: 24px;
    overflow: hidden;
}
.news-cover img {
    display: block;
    width: 100%;
    height: auto;
}

/* Hírkártyák: kattintható legyen az egész */
.card-news {
    cursor: pointer;
    position: relative;
}
.card-news-more {
    margin-top: 12px;
    font-size: 14px;
    font-weight: 500;
    color: #2563eb;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Hír részletek modal */
.news-modal-overlay {
    position: fixed;
    inset: 0;
    padding: 16px;
    background: rgba(15, 23, 42, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 900;
}
.news-modal {
    width: 100%;
    max-width: 720px;
    max-height: 90vh;
    background: #ffffff;
    border-radius: 24px;
    padding: 24px 24px 20px;
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.22);
    overflow-y: auto;
}
.news-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}
.news-modal-close:hover {
    background: #f3f4f6;
}
.news-modal h3 {
    margin-top: 0;
    margin-bottom: 6px;
}
.news-modal-short {
    margin-top: 12px;
    margin-bottom: 8px;
    font-weight: 500;
}
.news-modal-long {
    margin-top: 4px;
    font-size: 15px;
    line-height: 1.6;
}
body.has-modal-open {
    overflow: hidden;
}
/* A hírek popup overlay, ha hidden, akkor TÉNYLEG tűnjön el */
.news-modal-overlay[hidden] {
    display: none !important;
}

/* (Ha még nincs) alap kinézet a popupnak */
.news-modal-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.35);
    z-index: 9999;
}

.news-modal {
    background: #ffffff;
    border-radius: 32px;
    padding: 32px 40px;
    max-width: 900px;
    width: min(90%, 900px);
    position: relative;
}

.news-modal-close {
    position: absolute;
    right: 16px;
    top: 16px;
    border: none;
    background: transparent;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}
/* Friss hírek kártyák – háttérképpel */
.card-news {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Ha van háttérkép */
.card-news-has-bg {
    position: relative;
    color: #ffffff;
}

/* Erősebb sötét overlay, hogy a szöveg mindig olvasható legyen */
.card-news-has-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    /* erős, de szép átmenet */
    background: linear-gradient(
        135deg,
        rgba(15, 23, 42, 0.85) 0%,
        rgba(15, 23, 42, 0.65) 45%,
        rgba(15, 23, 42, 0.35) 100%
    );
    pointer-events: none;
}

/* A tartalom mindig az overlay fölött legyen */
.card-news-has-bg > * {
    position: relative;
    z-index: 1;
}

/* Szöveg olvashatóság javítása */
.card-news-has-bg h3,
.card-news-has-bg p,
.card-news-has-bg .card-meta {
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

/* "Új" badge, hogy ne vesszen el a sötétben */
.card-news-has-bg .badge {
    background: rgba(255, 255, 255, 0.92);
    color: #111827;
}
/* ====== Esemény részletes oldal ====== */

.event-detail-section {
    max-width: 880px;
    margin: 0 auto 64px;
}

.event-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    padding: 6px 12px;
    margin-bottom: 20px;
    border-radius: 999px;
    background: rgba(79, 70, 229, 0.06);
    color: #4f46e5;
    text-decoration: none;
    border: 1px solid rgba(129, 140, 248, 0.35);
    font-weight: 500;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.12);
}

.event-back-link:hover {
    background: rgba(79, 70, 229, 0.10);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
}


.event-detail-header {
    margin-bottom: 32px;
    margin-top: 4px;
}



.event-detail-date {
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-detail-date-inner {
    width: 76px;
    height: 100px;
    border-radius: 28px;
    background: linear-gradient(180deg, #a5f3fc 0%, #60a5fa 100%);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.22);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #f9fafb;
    text-transform: uppercase;
}


.event-detail-day {
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
}

.event-detail-month {
    font-size: 13px;
    letter-spacing: 0.12em;
    margin-top: 4px;
}

.event-detail-main {
    padding-top: 4px;
}

.event-detail-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .18em;
    color: #a1a1aa;
    margin: 2px 0 4px;
}


.event-detail-title {
    font-size: 30px;
    margin: 0 0 8px;
}

.event-detail-meta {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 14px;
}

.event-detail-lead {
    font-size: 16px;
    color: #111827;
    max-width: 60rem;
}

/* Tartalom + infókártyák */

.event-detail-body {
    margin-top: 12px;
}

.event-detail-body h2 {
    font-size: 20px;
    margin-bottom: 8px;
}

.event-detail-body p {
    line-height: 1.6;
}

.event-detail-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 28px;
}

.event-detail-fact-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 16px 18px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(148, 163, 184, 0.18);
}

.event-detail-fact-card h3 {
    font-size: 15px;
    margin: 0 0 6px;
}

.event-detail-fact-main {
    font-weight: 600;
    margin: 0 0 4px;
}

.event-detail-fact-sub {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
}

/* Mobil nézet */
@media (max-width: 768px) {
    .event-detail-header {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .event-detail-date {
        justify-content: flex-start;
    }

    .event-detail-title {
        font-size: 24px;
    }

    .event-detail-facts {
        grid-template-columns: 1fr;
    }
}

.event-detail-title-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 6px;
}

.event-detail-date-inner {
    width: 70px;
    height: 90px;
    border-radius: 26px;
    background: linear-gradient(180deg, #a5f3fc 0%, #60a5fa 100%);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.22);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #f9fafb;
    text-transform: uppercase;
    flex-shrink: 0;
}

.event-detail-title-main {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.event-detail-title {
    font-size: 32px;
    line-height: 1.2;
    margin: 0;
}

.event-detail-meta {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

.event-detail-subtitle {
    font-size: 14px;
    color: #4b5563;
    margin: 2px 0 0;
}
/* ===== Esemény részletei oldal – alsó tartalom ===== */

.section--event-detail {
    padding-top: 24px;
}

.event-detail-body {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.event-detail-section h2 {
    font-size: 22px;
    margin: 0 0 10px;
}

.event-detail-section p {
    margin: 0 0 6px;
    line-height: 1.6;
}

/* Mikor? / Hol? dobozok rácsban */

.event-detail-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 16px;
}

.event-detail-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 18px 22px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

.event-detail-card h3 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 650;
}

/* Mobilon egymás alatt legyen a két kártya */

@media (max-width: 768px) {
    .event-detail-info-grid {
        grid-template-columns: 1fr;
    }
}
/* ===== Galéria oldal ===== */

.gallery-grid {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.gallery-item {
    border-radius: 20px;
    overflow: hidden;
    background: #f9fafb;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
}

.gallery-thumb {
    width: 100%;
    padding-top: 70%; /* 16:9 közeli arány */
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transition: transform 0.18s ease, filter 0.18s ease;
}

.gallery-item:hover .gallery-thumb {
    transform: scale(1.03);
    filter: brightness(1.05);
}
/* ===== Galéria oldal ===== */

.gallery-grid {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.gallery-item {
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
    cursor: zoom-in;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.gallery-thumb {
    width: 100%;
    padding-top: 70%; /* kb. 16:9 */
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transition: transform 0.18s ease, filter 0.18s ease;
}

.gallery-item:hover .gallery-thumb {
    transform: scale(1.03);
    filter: brightness(1.05);
}

/* ----- Lightbox ----- */

.gallery-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.75);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    padding: 20px;
}

.gallery-lightbox.is-open {
    display: flex;
}

.gallery-lightbox-inner {
    max-width: 1000px;
    width: 100%;
    max-height: 100%;
    background: #0f172a;
    border-radius: 24px;
    padding: 16px 18px 18px;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.9);
    color: #e5e7eb;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gallery-lightbox-close {
    align-self: flex-end;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    background: rgba(15, 23, 42, 0.9);
    color: #e5e7eb;
    font-size: 18px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.gallery-lightbox-main {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gallery-lightbox-image-wrapper {
    flex: 1;
    border-radius: 18px;
    overflow: hidden;
    background: #020617;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-lightbox-image {
    max-width: 100%;
    max-height: 60vh;
    display: block;
}

.gallery-lightbox-nav {
    border: none;
    background: rgba(15, 23, 42, 0.85);
    color: #e5e7eb;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.gallery-lightbox-meta {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.gallery-lightbox-title {
    font-weight: 600;
    font-size: 15px;
}

.gallery-lightbox-desc {
    font-size: 13px;
    color: #cbd5f5;
}

.gallery-lightbox-counter {
    font-size: 12px;
    color: #9ca3af;
}

@media (max-width: 768px) {
    .gallery-lightbox-inner {
        padding: 12px 12px 14px;
    }
    .gallery-lightbox-main {
        gap: 4px;
    }
    .gallery-lightbox-nav {
        width: 30px;
        height: 30px;
    }
}
/* ==== Galéria oldal – rács + lightbox ==== */

.gallery-grid {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.gallery-card {
    border: none;
    padding: 0;
    margin: 0;
    text-align: left;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
}

.gallery-card-image {
    width: 100%;
    padding-top: 65%; /* arányos téglalap */
    background-position: center;
    background-size: cover;
}

.gallery-card-body {
    padding: 14px 18px 16px;
}

.gallery-card-category {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6b7280;
    margin-bottom: 4px;
}

.gallery-card-title {
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
}

/* Lightbox overlay */

.gallery-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.78);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease;
    z-index: 999;
}

.gallery-lightbox.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.gallery-lightbox-inner {
    position: relative;
    max-width: 880px;
    width: 94%;
    max-height: 90vh;
    background: #020617;
    border-radius: 24px;
    padding: 16px 20px 18px;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.5);
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.gallery-lightbox img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 18px;
    margin: 8px 0 10px;
    background: #020617;
}

.gallery-lightbox-caption {
    display: flex;
    flex-direction: column;
    gap: 2px;
    color: #e5e7eb;
}

.gallery-lightbox-title {
    font-size: 15px;
    font-weight: 600;
}

.gallery-lightbox-category {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.7;
}

/* Gombok */

.gallery-lightbox-close,
.gallery-lightbox-nav {
    position: absolute;
    border: none;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.8);
    color: #f9fafb;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.15s ease, transform 0.15s ease;
}

.gallery-lightbox-close {
    top: 10px;
    right: 12px;
}

.gallery-lightbox-nav {
    top: 50%;
    transform: translateY(-50%);
}

.gallery-lightbox-prev {
    left: 8px;
}

.gallery-lightbox-next {
    right: 8px;
}

.gallery-lightbox-close:hover,
.gallery-lightbox-nav:hover {
    background: rgba(30, 64, 175, 0.95);
    transform: translateY(-50%) scale(1.03);
}

/* body scroll tiltása lightboxnál */
.no-scroll {
    overflow: hidden;
}
.gallery-preview {
    margin-top: 8px;
    width: 260px;
    height: 150px;
    border-radius: 20px;
    background-color: #e5e7eb;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.25);
}
/* ===== Galéria (grid + lightbox) ===== */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.gallery-item {
    border: 0;
    padding: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
    font: inherit;
}

.gallery-thumb {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
    background: #e5e7eb;
}

.gallery-thumb img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

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

.gallery-caption {
    margin-top: 10px;
}

.gallery-category {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6b7280;
    margin-bottom: 2px;
}

.gallery-title {
    font-weight: 600;
    font-size: 15px;
}

/* Overlay / lightbox */

.gallery-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.75);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    z-index: 999;
}

.gallery-overlay.is-visible {
    display: flex;
}

.gallery-overlay-inner {
    position: relative;
    width: 100%;
    max-width: 1024px;
    max-height: 90vh;
    background: #020617;
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.65);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.gallery-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid #64748b;
    background: #0f172a;
    color: #e5e7eb;
    font-size: 20px;
    cursor: pointer;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid #64748b;
    background: #0f172a;
    color: #e5e7eb;
    font-size: 20px;
    cursor: pointer;
}

.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }

.gallery-figure {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.gallery-figure img {
    width: 100%;
    max-height: 60vh;
    object-fit: contain;
    border-radius: 16px;
    background: #020617;
}

.gallery-overlay-category {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #93c5fd;
}

.gallery-overlay h2 {
    margin: 4px 0;
    font-size: 20px;
    color: #e5e7eb;
}

.gallery-overlay p {
    margin: 0;
    font-size: 14px;
    color: #cbd5f5;
}

@media (min-width: 768px) {
    .gallery-overlay-inner {
        flex-direction: column;
    }
}
/* ==== Galéria – album nézet + lightbox ==== */

.gallery-album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.gallery-album-card {
    border: 0;
    padding: 0;
    margin: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.gallery-album-inner {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.gallery-album-inner:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.24);
}

.gallery-album-image {
    width: 100%;
    padding-top: 68%; /* képarány */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #e5e7eb;
}

.gallery-album-content {
    padding: 14px 18px 16px;
}

.gallery-album-title {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 2px;
}

.gallery-album-meta {
    font-size: 13px;
    color: #6b7280;
}

/* Lightbox / modál */

.gallery-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 900;
}

.gallery-modal.is-open {
    display: flex;
}

.gallery-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
}

.gallery-modal-dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 880px;
    margin: 16px;
    background: #ffffff;
    border-radius: 24px;
    padding: 16px 16px 20px;
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.6);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gallery-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 0;
    background: #f3f4f6;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
}

.gallery-close:hover {
    background: #e5e7eb;
}

.gallery-modal-title {
    font-weight: 600;
    margin: 4px 36px 4px 4px;
    font-size: 16px;
}

.gallery-modal-image-wrapper {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: #020617;
}

.gallery-modal-image-wrapper img {
    display: block;
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    background: #020617;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 0;
    background: rgba(15, 23, 42, 0.9);
    color: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.gallery-nav:hover {
    background: rgba(15, 23, 42, 1);
}

.gallery-nav-prev {
    left: 10px;
}

.gallery-nav-next {
    right: 10px;
}

.gallery-modal-caption {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-size: 14px;
    color: #4b5563;
}

.gallery-modal-counter {
    white-space: nowrap;
    font-size: 13px;
    color: #6b7280;
}

@media (max-width: 640px) {
    .gallery-modal-dialog {
        margin: 8px;
        padding: 12px 12px 16px;
        border-radius: 18px;
    }

    .gallery-modal-image-wrapper img {
        max-height: 60vh;
    }

    .gallery-nav {
        width: 30px;
        height: 30px;
    }

    .gallery-modal-caption {
        flex-direction: column;
        align-items: flex-start;
    }
}
/* =========================
   FŐOLDALI SLIDER – ESZLE
   ========================= */

.eszle-home-slider {
    margin-top: 40px;
    background: transparent;
    border-radius: 32px;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.eszle-home-slider-track {
    position: relative;
}

/* Alapból MINDEN slide legyen elrejtve… */
.eszle-home-slider-slide {
    display: none;
}

/* …és csak az is-active látszódjon */
.eszle-home-slider-slide.is-active {
    display: block;
}

/* Kártya és kép elrendezése */
.eszle-home-slider-card {
    display: flex;
    justify-content: center;
    align-items: center;
}

.eszle-home-slider-layout {
    display: flex;
    justify-content: center;
    align-items: center;
}

.eszle-home-slider-image-wrapper {
    width: 100%;
    height: 520px;
}


.eszle-home-slider-image-wrapper img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    display: block;
}


/* Nyilak */
.eszle-home-slider-nav {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    border: none;
    background: #111827;
    color: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    margin: 0 16px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.5);
}

.eszle-home-slider-nav:hover {
    background: #1e293b;
}

/* Pontok (indikátorok) */
.eszle-home-slider-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.55);
    backdrop-filter: blur(6px);
}


.eszle-home-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: none;
    background: rgba(17,24,39,0.35);
    cursor: pointer;
}


.eszle-home-slider-dot.is-active {
    background: rgba(17,24,39,0.85);
    width: 22px;
}


/* === Főoldali slider – méret finomhangolás === */

/* A teljes slider kártya ne legyen akkora óriás :) */
.eszle-home-slider {
    max-width: 1100px;
    margin: 40px auto 0;
}

/* Belül a kép legyen kisebb a kártyán belül */
.eszle-home-slider-image-wrapper img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    display: block;
}


/* Magasság-limit, hogy ne nyúljon túl magasra */
.eszle-home-slider-image-wrapper {
    width: 100%;
    height: 520px;
    overflow: hidden;
}

/* Önkéntes jelentkezés blokk – legyen akkora, mint a Kapcsolat űrlap oszlopa */
.volunteer-section {
    margin-top: 64px;              /* távolság a fenti résztől */
    padding-top: 32px;
    border-top: 1px solid #e5e7eb;

    width: 100%;
    max-width: 520px;              /* kb. ugyanakkora, mint a bal oszlop */
    margin-left: 0;
    margin-right: auto;            /* balra igazított, nem középre */
}

/* Kisebb kijelzőn továbbra is teljes szélesség */
@media (max-width: 768px) {
    .volunteer-section {
        max-width: 100%;
        margin-top: 40px;
    }
}
/* Kapcsolat oldal – két kártya egymás mellett */
.contact-page .contact-two-column {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 40px;
}

.contact-page .contact-column {
    min-width: 0;
}

/* Cím + leírás blokk – azonos magasság, hogy a kártyák teteje egy vonalban legyen */
.contact-page .contact-card-header {
    margin-bottom: 16px;
}

.contact-page .contact-card-intro {
    margin-top: 6px;
    font-size: 15px;
}

@media (min-width: 900px) {
    .contact-page .contact-card-header {
        min-height: 110px;        /* ha hosszabb a szöveg, lehet kicsit növelni */
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }
}

/* Elérhetőségek blokk alul */
.contact-info-section {
    margin-top: 40px;
}

.contact-info-section .section-title--sm {
    margin-bottom: 16px;
}

/* Elérhetőségek + térkép egymás mellett nagyobb kijelzőn */
.contact-info-stack {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.3fr);
    gap: 24px;
}

@media (max-width: 900px) {
    .contact-page .contact-two-column,
    .contact-info-stack {
        grid-template-columns: minmax(0, 1fr);
    }
}
/* ===== Kapcsolat oldal finomhangolás ===== */

/* Cím + leírás blokk: fix magasság, hogy a két űrlap teteje egy vonalban legyen */
@media (min-width: 900px) {
    .contact-page .contact-card-header {
        height: 120px;                 /* ha soknak tűnik, 110-re is veheted */
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }
}
/* Elérhetőségeink kártya – ugyanakkora szélesség, mint egy kontakt oszlop */

.contact-info-section .contact-info-stack {
    max-width: 520px;      /* ugyanakkora, mint a felső oszlopok kb. */
    margin-left: 0;
    margin-right: auto;    /* balra igazítva, nem középen */
    display: block;        /* ne legyen rács, most csak egy kártyánk van */
}


/* === Főoldali slider – tiszta fotó nézet (nincs fekete háttér) === */
@media (max-width: 768px) {
    .eszle-home-slider-image-wrapper,
    .eszle-home-slider-image-wrapper img {
        height: 320px;
    }
}

/* =========================
   ESZLE – Slider finomítás
   Kisebb méret + pöttyök a képen kívül
   ========================= */
.eszle-home-slider{
  max-width: 880px;
}

/* Kép magasság: kisebb, egységes */
.eszle-home-slider-image-wrapper,
.eszle-home-slider-image-wrapper img{
  height: 380px;
}

/* Pöttyök: ne fedjék a képet, legyenek alatta */
.eszle-home-slider-dots{
  position: static;
  left: auto;
  bottom: auto;
  transform: none;
  margin: 14px auto 18px;
  justify-content: center;
}

/* Reszponzív magasság */
@media (max-width: 992px){
  .eszle-home-slider{ max-width: 760px; }
  .eszle-home-slider-image-wrapper,
  .eszle-home-slider-image-wrapper img{ height: 300px; }
}
@media (max-width: 576px){
  .eszle-home-slider{ max-width: 100%; }
  .eszle-home-slider-image-wrapper,
  .eszle-home-slider-image-wrapper img{ height: 210px; }
  .eszle-home-slider-dots{ margin: 10px auto 14px; }
}



/* -------------------------------------------------------------
   ÚJ: Szöveg igazítás (adminból): ta-left|ta-center|ta-right|ta-justify
------------------------------------------------------------- */
.ta-left { text-align: left; }
.ta-center { text-align: center; }
.ta-right { text-align: right; }
.ta-justify { text-align: justify; hyphens: auto; }

/* Hero gombok igazítása a szöveg igazításával */
.hero-text.ta-center .hero-actions { justify-content: center; }
.hero-text.ta-right  .hero-actions { justify-content: flex-end; }
/* ta-justify esetén marad a default (balra) */

