@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@700;800&family=Source+Sans+3:ital,wght@0,400;0,600;1,400&display=swap');

:root {
    --primary-blue: #0A3462;
    --primary-orange: #f9a733;
}

.esemenyek-container { font-family: 'Source Sans 3', sans-serif; }

.esemeny-kartya {
    display: flex; width: 100%; border-radius: 10px; overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); margin-bottom: 25px;
    transition: transform 0.3s ease;
}
.esemeny-kartya:hover { transform: translateY(-5px); }

/* Váltakozó színek */
.esemeny-kartya:nth-child(odd) { background-color: var(--primary-blue); }
.esemeny-kartya:nth-child(even) { background-color: var(--primary-orange); }

/* Dátum blokk */
.esemeny-datum {
    flex: 0 0 130px; display: flex; flex-direction: column;
    align-items: center; justify-content: center; color: white;
    padding: 15px; font-family: 'Raleway', sans-serif;
}
.date-numbers { font-size: 2.2em; font-weight: 800; display: flex; gap: 8px; }
.date-numbers span { line-height: 1; }
.nap-neve { font-size: 1.1em; text-transform: uppercase; margin-top: 5px; letter-spacing: 1px; }

/* Tartalom */
.esemeny-tartalom { flex: 1; padding: 25px; background-color: #f2f2f2; color: #333; }
.esemeny-tartalom h3 { 
    font-family: 'Raleway', sans-serif; font-size: 1.7em; 
    margin: 0 0 10px 0; font-weight: 800; text-transform: uppercase;
}
.alcim { font-size: 1.1em; color: #555; margin-bottom: 12px; font-weight: 600; }
.esemeny-leiras {
    font-size: 0.98em;
    line-height: 1.55;
    color: #444;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* Gombok */
.esemeny-kartya-button {
    text-decoration: none !important; font-family: 'Raleway', sans-serif;
    padding: 12px 25px; border-radius: 5px; display: inline-block;
    color: white !important; font-weight: 700; transition: 0.3s;
    border: none; cursor: pointer; margin-right: 10px;
}
.esemeny-kartya:nth-child(odd) .esemeny-kartya-button { background-color: var(--primary-blue); }
.esemeny-kartya:nth-child(even) .esemeny-kartya-button { background-color: var(--primary-orange); }
.esemeny-kartya-button:hover { filter: brightness(1.2); }
.esemeny-kartya-button:disabled { background-color: #999 !important; cursor: not-allowed; }

/* Képek */
.esemeny-cover { flex: 0 0 35%; background-size: cover; background-position: center; }
.esemeny-cover-mobil { display: none; }

.ar-tooltip { border-bottom: 1px dotted #333; cursor: help; }

.esemeny-meta-item {
    cursor: help;
}

.esemeny-meta-helyszin {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: rgba(10, 52, 98, 0.35);
    text-underline-offset: 2px;
}

.esemeny-meta-helyszin:hover {
    color: var(--primary-blue);
}

.esemeny-meta-sep {
    opacity: 0.65;
}

.ehok-helyszin-panel {
    padding-bottom: 1rem;
}

.ehok-helyszin-single .article-body {
    border-radius: 1rem;
}

.ehok-helyszin-single__map {
    margin-top: 2.5rem;
}

.ehok-helyszin-cover {
    background: #fff;
}

.ehok-helyszin-events {
    margin-top: 2.75rem;
    padding-top: 2.25rem;
    border-top: 1px solid rgba(9, 43, 80, 0.08);
}

.ehok-helyszin-events__eyebrow {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ehok-orange, #f9a733);
    margin-bottom: 0.3rem;
}

.ehok-helyszin-meta-card {
    background: #fff;
    border: 1px solid rgba(9, 43, 80, 0.08);
    border-top: 3px solid var(--ehok-orange, #f9a733);
    border-radius: 1rem;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 8px 24px rgba(9, 43, 80, 0.06);
}

.ehok-helyszin-meta-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ehok-blue, #092b50);
    margin-bottom: 0.5rem;
}

.ehok-helyszin-meta-value {
    color: #334155;
    line-height: 1.6;
}

.ehok-helyszin-meta-value a {
    color: var(--ehok-blue, #092b50);
    text-decoration: none;
}

.ehok-helyszin-meta-value a:hover {
    color: var(--ehok-orange, #f9a733);
}

.ehok-helyszin-text {
    background: #fff;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 8px 24px rgba(9, 43, 80, 0.06);
    color: #334155;
    line-height: 1.7;
}

.ehok-helyszin-section-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--ehok-blue, #092b50);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.ehok-helyszin-map-card {
    background: #fff;
}

.ehok-esemeny-single-panel {
    padding-bottom: 1rem;
}

/* --- Single esemény: cinematic hero + egysoros tartalom --- */
.ehok-esemeny-single {
    background: var(--ehok-page-bg, #f8f9fc);
}

.ehok-esemeny-single-hero {
    position: relative;
    min-height: clamp(320px, 52vh, 520px);
    background-color: var(--ehok-blue, #092b50);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.ehok-esemeny-single-hero--fallback {
    background-image: linear-gradient(135deg, #092b50 0%, #345a75 55%, #0a3462 100%);
}

.ehok-esemeny-single-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(9, 43, 80, 0.15) 0%,
        rgba(9, 43, 80, 0.55) 45%,
        rgba(9, 43, 80, 0.92) 100%
    );
    pointer-events: none;
}

.ehok-esemeny-single-hero__content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 2.5rem 0 2.75rem;
}

.ehok-esemeny-single-hero__chip {
    display: inline-block;
    background: var(--ehok-orange, #f9a733);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    margin-bottom: 0.85rem;
}

.ehok-esemeny-single-hero__title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.85rem, 4.5vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    color: #fff;
    margin: 0 0 1rem;
    max-width: 18ch;
}

.ehok-esemeny-single-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1.35rem;
    font-family: 'Poppins', sans-serif;
    font-size: 0.98rem;
    color: rgba(255, 255, 255, 0.92);
}

.ehok-esemeny-single-hero__meta li {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.ehok-esemeny-single-hero__meta i {
    color: var(--ehok-orange, #f9a733);
    width: 1rem;
    text-align: center;
}

.ehok-esemeny-single-hero__meta a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(255, 255, 255, 0.45);
}

.ehok-esemeny-single-hero__meta a:hover {
    color: var(--ehok-orange, #f9a733);
}

.ehok-esemeny-single-hero__calendar {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.ehok-esemeny-single-hero__calendar i {
    color: var(--ehok-orange, #f9a733);
    width: 1rem;
    text-align: center;
}

.ehok-esemeny-single-hero__calendar:hover,
.ehok-esemeny-single-hero__calendar:hover span {
    color: var(--ehok-orange, #f9a733);
}

.ehok-esemeny-single-hero__meta-calendar .ehok-esemeny-single-hero__calendar {
    text-decoration: none;
}

.ehok-esemeny-single-body {
    padding: 2.5rem 0 3.5rem;
}

.ehok-esemeny-single-main {
    max-width: 720px;
    margin: 0 auto;
}

.ehok-esemeny-single-meta-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.ehok-esemeny-single-meta-bar__prices {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
}

.ehok-esemeny-single-price-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: #fff;
    border: 1px solid rgba(9, 43, 80, 0.1);
    border-radius: 999px;
    padding: 0.45rem 0.95rem;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

.ehok-esemeny-single-price-chip__label {
    color: #64748b;
    font-weight: 600;
}

.ehok-esemeny-single-price-chip__value {
    color: var(--ehok-blue, #092b50);
    font-weight: 700;
}

.ehok-esemeny-single-meta-bar__status {
    font-family: 'Poppins', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: 999px;
    padding: 0.45rem 1rem;
    background: rgba(100, 116, 139, 0.12);
    color: #475569;
    border: 1px solid rgba(100, 116, 139, 0.2);
}

.ehok-esemeny-single-section-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 700;
    color: var(--ehok-blue, #092b50);
    margin-bottom: 1rem;
    text-align: center;
}

.ehok-esemeny-single-description {
    margin-bottom: 2.25rem;
}

.ehok-esemeny-single-description__content {
    color: #334155;
    font-size: 1.05rem;
    line-height: 1.75;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
}

.ehok-esemeny-single-description__content p {
    margin: 0 0 1.05em;
}

.ehok-esemeny-single-description__content p:last-child {
    margin-bottom: 0;
}

.ehok-esemeny-single-description__content a {
    color: var(--ehok-blue, #092b50);
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-color: rgba(9, 43, 80, 0.35);
    overflow-wrap: anywhere;
}

.ehok-esemeny-single-description__content a:hover {
    color: var(--ehok-orange, #f9a733);
    text-decoration-color: currentColor;
}

.ehok-esemeny-single-description__content ul,
.ehok-esemeny-single-description__content ol {
    margin: 0 0 1.05em;
    padding-left: 1.25em;
}

.ehok-esemeny-single-description__content li + li {
    margin-top: 0.35em;
}

.ehok-esemeny-single-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding-top: 0.5rem;
}

.ehok-esemeny-single-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
}

.ehok-esemeny-single-actions .ehok-esemeny-single-btn {
    width: auto;
    min-width: min(100%, 220px);
    text-align: center;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: 0.25s ease;
}

.ehok-esemeny-single-actions .btn-ehok-orange {
    background-color: var(--ehok-orange, #f9a733);
    color: #fff !important;
}

.ehok-esemeny-single-actions .btn-ehok-orange:hover {
    background-color: var(--ehok-blue, #092b50);
    color: #fff !important;
}

.ehok-esemeny-single-actions .btn-ehok-outline {
    border: 2px solid var(--ehok-blue, #092b50);
    color: var(--ehok-blue, #092b50) !important;
    background: transparent;
}

.ehok-esemeny-single-actions .btn-ehok-outline:hover {
    background: var(--ehok-blue, #092b50);
    color: #fff !important;
}

.ehok-esemeny-single-btn--disabled {
    background: #94a3b8 !important;
    color: #fff !important;
    cursor: not-allowed;
    opacity: 1;
}

.ehok-esemeny-single-cta__calendar-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-family: 'Poppins', sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--ehok-blue, #092b50);
    text-decoration: none;
    padding: 0.35rem 0;
}

.ehok-esemeny-single-cta__calendar-link i {
    color: var(--ehok-orange, #f9a733);
    font-size: 1.05rem;
}

.ehok-esemeny-single-cta__calendar-link:hover {
    color: var(--ehok-orange, #f9a733);
}

.ehok-esemeny-single-cta__calendar-link:hover i {
    color: var(--ehok-blue, #092b50);
}

.ehok-social-share-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    margin-top: 2rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(9, 43, 80, 0.08);
}

.ehok-social-share-block__label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ehok-blue, #092b50);
}

.ehok-social-share-block .cpts-social-share {
    margin-top: 0;
    border-top: 0;
    padding-top: 0;
}

.ehok-esemeny-single-share .cpts-social-share {
    justify-content: center;
}

.ehok-esemeny-single-related {
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(9, 43, 80, 0.08);
}

.ehok-esemeny-single-related__eyebrow {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ehok-orange, #f9a733);
    margin-bottom: 0.35rem;
}

.ehok-esemeny-single-related__title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.4rem, 2.8vw, 2rem);
    font-weight: 700;
    color: var(--ehok-blue, #092b50);
    text-transform: uppercase;
    margin-top: 0;
}

.ehok-esemeny-facts-card,
.ehok-esemeny-text {
    background: #fff;
    padding: 1.5rem;
}

.ehok-esemeny-facts {
    display: grid;
    gap: 1rem;
}

.ehok-esemeny-fact {
    display: grid;
    grid-template-columns: minmax(120px, 180px) 1fr;
    gap: 1rem;
    align-items: start;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(9, 43, 80, 0.08);
}

.ehok-esemeny-fact:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.ehok-esemeny-fact dt {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ehok-blue, #092b50);
}

.ehok-esemeny-fact dd {
    margin: 0;
    color: #334155;
    line-height: 1.6;
}

.ehok-esemeny-fact dd a {
    color: var(--ehok-blue, #092b50);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.ehok-esemeny-fact dd a:hover {
    color: var(--ehok-orange, #f9a733);
}

.ehok-esemeny-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

@media (max-width: 991.98px) {
    .ehok-esemeny-single-hero__title {
        max-width: none;
    }

    .ehok-esemeny-single-hero__content {
        padding: 2.25rem 1.25rem 2.5rem;
    }

    .ehok-esemeny-single-body {
        padding-top: 1.75rem;
        padding-bottom: 2.75rem;
    }

    .ehok-esemeny-single-body > .container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}

@media (max-width: 767.98px) {
    .ehok-esemeny-single-hero {
        min-height: clamp(300px, 58vh, 480px);
    }

    .ehok-esemeny-single-hero__content {
        padding: 1.75rem 1.25rem 2rem;
    }

    .ehok-esemeny-single-hero__chip {
        margin-bottom: 0.7rem;
    }

    .ehok-esemeny-single-hero__title {
        font-size: clamp(1.55rem, 7vw, 2.1rem);
        margin-bottom: 0.9rem;
        padding-right: 0.25rem;
    }

    .ehok-esemeny-single-hero__meta {
        flex-direction: column;
        gap: 0.65rem;
        padding-right: 0.25rem;
    }

    .ehok-esemeny-single-body {
        padding: 1.5rem 0 2.5rem;
    }

    .ehok-esemeny-single-body > .container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .ehok-esemeny-single-meta-bar {
        margin-bottom: 1.5rem;
        justify-content: flex-start;
    }

    .ehok-esemeny-single-meta-bar__prices {
        justify-content: flex-start;
    }

    .ehok-esemeny-single-description {
        margin-bottom: 1.5rem;
    }

    .ehok-esemeny-single-cta {
        margin-top: 0.5rem;
    }

    .ehok-esemeny-single-actions {
        flex-direction: column;
        width: 100%;
    }

    .ehok-esemeny-single-actions .ehok-esemeny-single-btn {
        width: 100%;
        min-width: 0;
    }

    .ehok-esemeny-single-related {
        margin-top: 2rem;
        padding-top: 0.5rem;
    }

    .ehok-esemeny-single-related .btn-ehok-outline {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 767.98px) {
    .ehok-esemeny-fact {
        grid-template-columns: 1fr;
        gap: 0.35rem;
    }
}

/* MOBIL NÉZET JAVÍTÁSA – egymás alá töréskor kompakt dátumsáv */
@media (max-width: 767.98px) {
    .esemeny-kartya { flex-direction: column; }
    .esemeny-cover { display: none; } /* Oldalsó kép elrejtése */
    .esemeny-cover-mobil { display: none !important; } /* Mobil cover se — a Részletek oldalon úgyis látszik */

    .esemeny-datum { 
        flex: 0 0 auto;
        flex-direction: row;
        align-items: center;
        width: 100%;
        justify-content: flex-start;
        padding: 1rem 2rem;
        gap: 0.75rem;
    }
    .date-numbers { font-size: 1.5em; gap: 0.35rem; }
    .nap-neve { font-size: 1em; margin-top: 0; letter-spacing: 0.05em; }
}

/* --- Esemény kategória lista oldal --- */
.ehok-esemeny-lista-panel {
    padding-bottom: 1rem;
}

.ehok-esemeny-lista-page .ehok-page-hero {
    margin-bottom: 2rem;
}

.ehok-esemeny-lista-events {
    margin-bottom: 2.5rem;
}

.ehok-esemeny-lista-events__eyebrow {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ehok-orange, #f9a733);
    margin-bottom: 0.35rem;
}

.ehok-esemeny-lista-events__title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.4rem, 2.8vw, 2rem);
    font-weight: 700;
    color: var(--ehok-blue, #092b50);
    text-transform: uppercase;
    text-align: left;
    margin-top: 0;
    margin-bottom: 0;
    letter-spacing: 0.04em;
}

.ehok-esemeny-lista-gallery__title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.25rem, 2.4vw, 1.65rem);
    font-weight: 700;
    color: var(--ehok-blue, #092b50);
    margin-bottom: 1.25rem;
    text-align: left;
    margin-top: 0;
    text-transform: none;
    letter-spacing: normal;
}

.ehok-esemeny-lista-gallery {
    margin-top: 1rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(9, 43, 80, 0.08);
}

.ehok-esemeny-lista-gallery__image {
    height: 220px;
    object-fit: cover;
    display: block;
}

@media (max-width: 767.98px) {
    .ehok-esemeny-lista-events .btn-ehok-outline {
        width: 100%;
        text-align: center;
    }
}