/* Kizárólag a főoldali, oszlopba ágyazott galériaajánló stílusai. */
.mivk-home-gallery {
	box-sizing: border-box;
	display: block;
	width: 100%;
	min-width: 0;
	max-width: 100%;
	margin: 0;
	color: #192f4c;
	background: #fffef9;
	border: 1px solid rgba(25, 47, 76, 0.15);
	font-family: inherit;
	text-align: left;
}

.mivk-home-gallery * {
	box-sizing: border-box;
}

.mivk-home-gallery .mivk-home-gallery-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0;
	padding: 12px 16px;
	color: #fff;
	background: #192f4c;
	border-bottom: 3px solid #d1a359;
}

.mivk-home-gallery .mivk-home-gallery-heading h2 {
	margin: 0;
	color: #fff;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 24px;
	font-weight: 400;
	line-height: 1.15;
	overflow-wrap: anywhere;
}

.mivk-home-gallery-heading svg {
	flex: 0 0 24px;
	width: 24px;
	height: 24px;
	fill: none;
	stroke: #d1a359;
	stroke-width: 1.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.mivk-home-gallery-albums {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 14px 14px 0;
}

.mivk-home-gallery-album {
	min-width: 0;
	margin: 0;
	background: #fff;
	border: 1px solid rgba(25, 47, 76, 0.12);
}

.mivk-home-gallery .mivk-home-gallery-card {
	display: grid;
	grid-template-columns: minmax(0, 104px) minmax(0, 1fr);
	min-width: 0;
	color: #192f4c;
	text-decoration: none;
}

.mivk-home-gallery-album.is-featured .mivk-home-gallery-card {
	display: block;
}

.mivk-home-gallery-media {
	position: relative;
	min-width: 0;
	width: 100%;
	min-height: 78px;
	overflow: hidden;
	background: #192f4c;
}

.mivk-home-gallery-album.is-featured .mivk-home-gallery-media {
	min-height: 0;
	max-height: 240px;
	aspect-ratio: 16 / 9;
}

.mivk-home-gallery-media img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	object-fit: cover;
	transition: transform 0.2s ease;
}

.mivk-home-gallery-card:hover .mivk-home-gallery-media img {
	transform: scale(1.025);
}

.mivk-home-gallery-placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px;
	color: #d1a359;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.mivk-home-gallery-copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	min-width: 0;
	padding: 12px;
}

.mivk-home-gallery .mivk-home-gallery-date {
	margin: 0 0 6px;
	color: #68717c;
	font-size: 10px;
	line-height: 1.4;
}

.mivk-home-gallery .mivk-home-gallery-copy h3 {
	margin: 0;
	color: #192f4c;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 17px;
	font-weight: 400;
	line-height: 1.2;
	overflow-wrap: anywhere;
}

.mivk-home-gallery-album.is-featured .mivk-home-gallery-copy {
	padding: 14px;
}

.mivk-home-gallery-album.is-featured .mivk-home-gallery-copy h3 {
	font-size: 22px;
}

.mivk-home-gallery-view {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 10px;
	color: #096081;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.4;
}

.mivk-home-gallery-footer {
	margin: 0;
	padding: 14px;
}

.mivk-home-gallery .mivk-home-gallery-all {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 44px;
	padding: 10px 14px;
	color: #192f4c;
	background: #d1a359;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;
	text-decoration: none;
}

.mivk-home-gallery .mivk-home-gallery-all:hover {
	background: #e1b86e;
}

.mivk-home-gallery a:focus-visible {
	outline: 2px solid #096081;
	outline-offset: 3px;
}

.mivk-home-gallery .mivk-home-gallery-empty {
	margin: 0;
	padding: 20px 16px 4px;
	color: #68717c;
	font-size: 14px;
	line-height: 1.5;
}

@media (prefers-reduced-motion: reduce) {
	.mivk-home-gallery-media img {
		transition: none;
	}

	.mivk-home-gallery-card:hover .mivk-home-gallery-media img {
		transform: none;
	}
}
