/* =====================================================
   Esemény Lista – esemeny-lista.css
   Shortcode: [esemeny_lista]
   ===================================================== */

/* ── Hónap csoport ── */
.esemeny-honap-csoport {
	margin-bottom: 48px;
}

.esemeny-honap-cim {
	text-align: center;
	font-size: 1.6rem;
	font-weight: 700;
	font-family: "proxima-nova", Sans-serif;
	margin: 0 0 20px;
	color: #1a1a1a;
	letter-spacing: 0.02em;
}

span.esemeny-item__helyszin-label {
    font-size: 14px;
    font-weight: 600;
}

/* ── Korábbi események gomb ── */
.esemeny-korabbi-wrapper {
	margin-bottom: 48px;
	text-align: center;
}

.esemeny-korabbi-btn {
    display: inline-block;
    font-size: 15px;
    cursor: pointer;
    color: #818181;
    background-color: transparent;
    font-family: "proxima-nova", Sans-serif;
    font-weight: 600;
    padding: 0px;
}

.esemeny-korabbi-btn:hover {
	background: transparent;
    color: #818181;
}

.esemeny-korabbi-tartalom {
	margin-top: 32px;
	text-align: left;
}

/* ── Grid wrapper ── */
.esemeny-lista {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
	padding: 0;
	font-family: "proxima-nova", Sans-serif;
	list-style: none;
}

.esemeny-item {
    display: flex;
    flex-direction: column;
    border-radius: 15px;
    overflow: hidden;
    background: #f8f8f8;
    padding: 15px;
}


.esemeny-item__kep {
    position: relative;
    width: 100%;
    aspect-ratio: 13 / 10;
    overflow: hidden;
    border-radius: 15px;
}



.esemeny-item__kep img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease;
}

.esemeny-item:hover .esemeny-item__kep img {
	transform: scale(1.04);
}

/* ── Tartalom ── */
.esemeny-item__tartalom {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 22px 24px 26px;
	color: #1a1a1a;
	flex: 1;
}

/* ── Aktív esemény kiemelés ── */
.esemeny-item--aktiv {
	background: #e62225;
}

.esemeny-item--aktiv .esemeny-item__datum-nap,
.esemeny-item--aktiv .esemeny-item__datum-honap,
.esemeny-item--aktiv .esemeny-item__datum-elvalaszto,
.esemeny-item--aktiv .esemeny-item__cim,
.esemeny-item--aktiv .esemeny-item__leiras {
	color: #ffffff;
}

.esemeny-item--aktiv .esemeny-item__datum-honap {
	color: rgba(255, 255, 255, 0.85);
}

.esemeny-item--aktiv .esemeny-item__helyszin-elem a {
    color: #e72225;
}

/* ── Dátum (a képre helyezve) ── */
.esemeny-item__datum {
	position: absolute;
	bottom: 12px;
	left: 12px;
	z-index: 2;
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 10px;
}

.esemeny-item__datum-blokk {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
    background-color: #ffffff;
    padding: 5px 0px;
    width: 75px;
    border-radius: 10px;
}

.esemeny-item.esemeny-item--aktiv span.esemeny-item__helyszin-label {
    font-size: 14px;
    font-weight: 600;
    color: white;
}

.esemeny-item__datum-nap {
	font-size: 2.4rem;
	font-weight: 800;
	line-height: 1;
	color: #1a1a1a;
}

.esemeny-item__datum-honap {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #888888;
	margin-top: 2px;
}

.esemeny-item__datum-elvalaszto {
	font-size: 1.4rem;
	color: #bbbbbb;
	align-self: center;
	margin-bottom: 4px;
}

.esemeny-item__idoszak {
    margin:0px;
color: #1a1a1a;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.esemeny-item--aktiv .esemeny-item__idoszak {
    color: #ffffff;
}

.esemeny-item__cim {
    font-size: 23px;
    font-weight: 600;
    line-height: 29px;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.esemeny-item__leiras {
    margin: 0;
    color: #1a1a1a;
    font-size: 15px;
    font-weight: 400;
    line-height: 25px;
}

.esemeny-item__helyszin {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin-top: auto;
    padding-top: 12px;
    flex-wrap: wrap;
    flex-direction: column;
}

.esemeny-item__helyszin-lista {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.esemeny-item__helyszin-elem a {
    color: #1a1a1a;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    background-color: #ffffff;
    padding: 4px 15px;
    border-radius: 30px;
}

.esemeny-item__helyszin-elem a:hover {
	text-decoration: underline;
}

/* ── Üres állapot ── */
.esemeny-lista__ures {
	text-align: center;
	color: #888888;
	padding: 40px 20px;
	grid-column: 1 / -1;
}

/* ── Reszponzív ── */
@media (max-width: 768px) {
	.esemeny-lista {
		grid-template-columns: 1fr;
	}

    .esemeny-honap-cim {
    text-align: center;
    font-size: 25px;
    font-weight: 600;
    line-height: 38px;
    color: #000000;
}

	.esemeny-item__datum-nap {
		font-size: 2rem;
	}

	.esemeny-item__cim {
		font-size: 1.1rem;
	}
}
