#attractions-masonry {
	padding: 80px 0;
}
/* 1 Nagy kártya + 3 kis kártya sor elrendezése */
.atr-masonry-row {
	display: flex;
	flex-direction: column;
	gap: 40px;
	margin-bottom: 70px;
	margin-top: 80px;
}
@media (min-width: 900px) {
	.atr-masonry-row {
		flex-direction: row;
		gap: 50px;
	}
}

/* BAL OSZLOP: 1 Nagy kártya */
.atr-large-col {
	flex: 1;
	width: 100%;
	display: flex;
	flex-direction: column;
}
.atr-large-card {
	display: flex;
	flex-direction: column;
	width: 100%;
}
.atr-large-img-wrap {
	width: 100%;
	aspect-ratio: 16/10;
	border-radius: 16px;
	overflow: hidden;
	margin-bottom: 20px;
	box-shadow: 0 4px 15px rgba(0,0,0,0.04);
	cursor: zoom-in;
}
.atr-large-img-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
	display: block;
}
.atr-large-img-wrap:hover img {
	transform: scale(1.03);
}

.atr-large-content {
	display: flex;
	flex-direction: column;
	gap: 12px;
	align-items: flex-start;
}

/* JOBB OSZLOP: 3 Stacked kis kártya egymás alatt */
.atr-small-col {
	flex: 0.85;
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 30px;
	justify-content: flex-start;
}
.atr-small-card {
	display: flex;
	gap: 20px;
	align-items: flex-start;
	width: 100%;
}
.atr-small-img-wrap {
	width: 175px;
	height: 175px;
	border-radius: 12px;
	overflow: hidden;
	flex-shrink: 0;
	box-shadow: 0 2px 10px rgba(0,0,0,0.03);
	cursor: zoom-in;
}
.atr-small-img-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
	display: block;
}
.atr-small-img-wrap:hover img {
	transform: scale(1.05);
}

.atr-small-content {
	display: flex;
	flex-direction: column;
	gap: 6px;
	align-items: flex-start;
	flex-grow: 1;
}

/* Kártya belső szövegei */
.atr-date {
	font-size: 0.85rem;
	font-weight: bold;
	color: #9c8068; /* Aranybarna dátum */
	margin: 0;
}
.atr-title-large {
	font-size: 1.4rem;
	font-weight: 700;
	color: #111;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin: 0;
}
.atr-title-small {
	font-size: 1.05rem;
	font-weight: 700;
	color: #111;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin: 0;
}
.atr-desc-text {
	font-size: 0.92rem;
	color: #555555;
	line-height: 1.55;
	margin: 0;
	text-align: justify;
    hyphens: auto;
}

/* Tovább gomb a kártyákhoz */
.btn-atr-more {
	background: none;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 8px 24px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 15px;
    transition: all 0.25s ease;
}
.btn-atr-more:hover {
	background: var(--primary);
    color: #fff;
}

/* RÉSZLETES TARTALOM MODAL (Tovább gombhoz) */
#attraction-modal {
	display: none;
	position: fixed;
	z-index: 100000;
	top: 0; left: 0; width: 100%; height: 100%;
	background: rgba(0, 0, 0, 0.75);
	align-items: center;
	justify-content: center;
}
.atr-modal-window {
	background: #ffffff;
	width: 90%;
	max-width: 720px;
	max-height: 85vh;
	border-radius: 12px;
	overflow-y: auto;
	position: relative;
	box-shadow: 0 10px 30px rgba(0,0,0,0.25);
	display: flex;
	flex-direction: column;
}
.atr-modal-close {
	position: absolute;
	top: 15px;
	right: 15px;
	font-size: 32px;
	background: rgba(255, 255, 255, 0.9);
	border: none;
	border-radius: 50%;
	width: 40px;
	height: 40px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10;
	box-shadow: 0 2px 8px rgba(0,0,0,0.15);
	transition: color 0.2s;
}
.atr-modal-close:hover {
	color: var(--primary);
}
.atr-modal-header {
	position: relative;
	width: 100%;
	height: 260px;
	flex-shrink: 0;
}
.atr-modal-header img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.atr-modal-header h2 {
	position: absolute;
	bottom: 0; left: 0; right: 0;
	background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
	color: #ffffff;
	padding: 30px 25px 20px 25px;
	margin: 0;
	font-size: 1.8rem;
	font-weight: 700;
}
.atr-modal-body {
	padding: 25px;
	color: #444;
	line-height: 1.65;
	font-size: 0.98rem;
	text-align: left;
}
.atr-modal-body p { margin-bottom: 15px; }
.atr-modal-body ul, .atr-modal-body ol { margin-left: 20px; margin-bottom: 15px; }

/* RÉSZLETES PROGRAM LEÍRÁS POPUP (MODAL) */
#program-modal {
	display: none;
	position: fixed;
	z-index: 100000;
	top: 0; left: 0; width: 100%; height: 100%;
	background: rgba(0, 0, 0, 0.75);
	align-items: center;
	justify-content: center;
}
.prg-modal-window {
	background: #ffffff;
	width: 90%;
	max-width: 700px;
	height: 100%;
    max-height: 90vh;
	border-radius: 12px;
	overflow: hidden;
	position: relative;
	box-shadow: 0 10px 30px rgba(0,0,0,0.2);
	display: flex;
	flex-direction: column;
}
.prg-modal-close {
	position: absolute;
	top: 15px;
	right: 15px;
	font-size: 32px;
	background: rgba(255, 255, 255, 0.9);
	border: none;
	border-radius: 50%;
	width: 40px;
	height: 40px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10;
	box-shadow: 0 2px 8px rgba(0,0,0,0.15);
	transition: color 0.2s;
}
.prg-modal-close:hover {
	color: var(--primary);
}
.prg-modal-header {
	position: relative;
	width: 100%;
	height: 250px;
	flex-shrink: 0;
}
.prg-modal-header img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.prg-modal-header h2 {
	position: absolute;
	bottom: 0; left: 0; right: 0;
	background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
	color: #ffffff;
	padding: 30px 25px 20px 25px;
	margin: 0;
	font-size: 1.8rem;
	font-weight: 700;
}
.prg-modal-body {
	padding: 25px;
	color: #444;
	line-height: 1.6;
	font-size: 0.98rem;
	text-align: left;
	overflow-y: auto;
	flex: 1;
}

.prg-modal-body p { margin-bottom: 15px; }
.prg-modal-body ul, .prg-modal-body ol { margin-left: 20px; margin-bottom: 15px; }

.lightbox-overlay {
	display: none;
	position: fixed;
	z-index: 99999;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.9);
	align-items: center;
	justify-content: center;
}

.lightbox-content {
	position: relative;
	max-width: 90%;
	max-height: 85vh;
	text-align: center;
}

.lightbox-content img {
	max-width: 100%;
	max-height: 75vh;
	border-radius: 4px;
	box-shadow: 0 4px 25px rgba(0,0,0,0.5);
	object-fit: contain;
}

.lightbox-caption {
	color: #fff;
	margin-top: 15px;
	font-size: 1.1rem;
	font-weight: 500;
	letter-spacing: 0.05em;
}

.lightbox-close-btn {
	position: absolute;
	top: -45px;
	right: 0;
	background: none;
	border: none;
	color: #fff;
	font-size: 40px;
	cursor: pointer;
	line-height: 1;
	transition: color 0.2s;
}

.lightbox-close-btn:hover {
	color: var(--primary);
}