@charset "UTF-8";
/* CSS Document – Groninger page */

/* Intro + side-note: szöveg balra, megjegyzés jobbra */
.body .intro-with-sidenote {
	display: flex;
	flex-wrap: wrap;
	gap: 25px;
	margin-bottom: 20px;
}
.body .intro-with-sidenote .intro-main {
	flex: 1;
	min-width: 0;
}
.body .intro-with-sidenote .side-note {
	flex: 0 0 280px;
	padding: 15px 20px;
	background-color: #f5f5f5;
	border-left: 3px solid var(--brand_blue);
	font-size: 1.3rem;
	line-height: 1.5;
	align-self: start;
}
.body .side-note p {
	margin: 0;
}

@media screen and (max-width: 859px) {
	.body .intro-with-sidenote .side-note {
		flex: 1 1 100%;
	}
}

/* Groninger oldal – főoldal slider komponens, egyedi pozícióval */
#groninger-hero-slider {
	width: 100vw;
	margin-left: calc(-50vw + 50%);
	margin-right: calc(-50vw + 50%);
	margin-top: 30px;
	margin-bottom: 20px;
	overflow: visible;
}

#groninger-hero-slider #slider.main {
	min-height: auto;
	aspect-ratio: 16 / 9;
	padding-bottom: 60px;
}

#groninger-hero-slider #slider.main .slider-wrapper {
	top: 0;
	height: calc(100% - 60px);
	overflow: visible;
}

#groninger-hero-slider #slider.main ul li figcaption {
	display: none;
}

#groninger-hero-slider #slider.main ul li .contents {
	display: block;
	justify-content: center;
}

#groninger-hero-slider #slider.main ul li figure {
	width: 100%;
	height: 100%;
	min-height: 200px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

#groninger-hero-slider #slider.main .navigator {
	position: absolute;
	left: 50%;
	bottom: -25px;
	top: auto;
	transform: translateX(-50%);
	margin-top: 0;
}

/* Divisions grid – 2x2 */
.body .divisions-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: repeat(2, auto);
	gap: 20px;
	margin: 20px 0 0 0;
}

.body .divisions-grid-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.body .divisions-grid-item figure {
	width: 100%;
	aspect-ratio: 4 / 3;
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	margin: 0 0 10px 0;
}

.body .divisions-grid-item em {
	font-size: 1.4rem;
	line-height: 1.4;
	font-weight: 600;
}

@media screen and (min-width: 0px) and (max-width: 859px) {
	.body .divisions-grid {
		grid-template-columns: 1fr;
		gap: 15px;
	}
}

/* Pharma lista – grid figure + figcaption */
.body .pharma-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	margin: 40px 0 0 0;
}

.body .pharma-grid .pharma-grid-item {
	display: grid;
	flex-direction: column;
	align-items: center;
	text-align: center;
	margin: 0;
	grid-area:1 auto 1;
}

.body .pharma-grid .pharma-grid-item figure {
	margin: 0 0 10px 0;
}

.body .pharma-grid .pharma-grid-img {
	display: block;
	aspect-ratio: 4 / 3;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	flex-shrink: 0;
}

.body .pharma-grid .pharma-grid-icon {
	display: block;
	width: 100%;
	height: 80px;
	flex-shrink: 0;
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}

.body .pharma-grid .pharma-grid-item figcaption {
	font-size: 1.4rem;
	line-height: 1.4;
	font-weight: 400;
	padding: 4px 0 0 0;
	flex: 1;
	text-align: center;
	text-wrap: balance;
	display:grid;
}
.body .pharma-grid .pharma-grid-item figcaption > a {
	display:flex;
	width:auto;
	margin:15px auto 0 auto;
	text-decoration:none;
	background-color:#1973ae;
	color: #fff;
	padding: 10px;
	border-radius:5px;
}
.body .pharma-grid .pharma-grid-item figcaption > a i {}
html[lang="hu"] .body .pharma-grid .pharma-grid-item figcaption > a em:before { content:"További információ"; }
html[lang="en"] .body .pharma-grid .pharma-grid-item figcaption > a em:before { content:"More informations"; }


@media screen and (min-width: 860px) {
	.body .pharma-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

@media screen and (min-width: 0px) and (max-width: 859px) {
	.body .pharma-grid {
		grid-template-columns: 1fr;
		gap: 15px;
	}
}

/* Multi-columns: fix szélességű kép, 4/3 arány */
.body .multi-columns .mc-item.image {
	flex: 0 0 400px;
	aspect-ratio: 5 / 1;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	max-height: 250px;
	border-radius: 5px;
}
.body .multi-columns .mc-item.copies {
	flex: 1 1 auto;
}

@media screen and (max-width: 859px) {
	.body .multi-columns .mc-item.image {
		width: 100%;
		max-width: 100%;
		max-height: none;
		flex: 0 0 100%;
	}
}
