/*
Theme Name: Education Pro Child
Description: Child theme for Education Pro with editable event day and month.
Author: Marek
Template: education-pro
Version: 1.7.6
Text Domain: education-pro-child
*/

/* Keep the desktop logo semicircle compact with a two-line tagline. */
@media screen and (min-width: 1025px) {
	#header .logo {
		padding: 12px 32px 14px;
	}

	#header .logo a {
		line-height: 1.1;
	}

	#header .logo .site-description {
		margin: 3px 0 0;
		font-size: 12px;
		line-height: 15px;
	}
}

/* Normalize basic HTML entered in Testimonial Text. */
#testimonial .description > :first-child {
	margin-top: 0;
}

#testimonial .description > :last-child {
	margin-bottom: 0;
}

#testimonial .description a {
	color: inherit;
	text-decoration: underline;
}

#testimonial .description ul,
#testimonial .description ol {
	margin-bottom: 0;
	padding-left: 22px;
	text-align: left;
}

#testimonial .description li {
	display: list-item;
	color: inherit;
	font-size: inherit;
}

#testimonial .testimonial .title {
	text-transform: none;
}

/* Full-width partner/client logos section. */
#partner-logos {
	box-sizing: border-box;
	width: 100%;
	padding: clamp(32px, 5vw, 64px) clamp(20px, 4vw, 64px);
}

#partner-logos .partner-logos-title {
	margin: 0 0 32px;
	text-align: center;
}

#partner-logos .partner-logos-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	align-items: center;
	gap: clamp(24px, 4vw, 56px);
	width: 100%;
}

#partner-logos .partner-logo-item {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
	min-height: 90px;
}

#partner-logos .partner-logo-item a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 90px;
	transition: opacity 0.2s ease;
}

#partner-logos .partner-logo-item a:hover,
#partner-logos .partner-logo-item a:focus {
	opacity: 0.75;
}

#partner-logos .partner-logo-item img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 90px;
	object-fit: contain;
}

@media screen and (max-width: 575px) {
	#partner-logos .partner-logos-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Study programs: course-style cards without ratings or the bottom meta bar. */
#studijne-odbory .study-programs-head h3 {
	position: relative;
	margin: 0;
	padding: 10px 0;
	color: #2c2c2c;
	font-family: "Roboto Slab", serif;
	font-size: 40px;
	font-weight: 900;
	line-height: 48px;
	text-align: center;
}

#studijne-odbory .study-programs-head h3::before {
	display: block;
	position: relative;
	top: 63px;
	width: 125px;
	height: 1px;
	margin: 0 auto;
	background-color: #c2c2c2;
	content: "";
}

#studijne-odbory .study-programs-head h3::after {
	display: block;
	position: absolute;
	bottom: -7px;
	left: 50%;
	width: 30px;
	height: 3px;
	transform: translateX(-50%);
	background-color: #ffbd0a;
	content: "";
}

#studijne-odbory .owl-stage {
	display: flex;
}

#studijne-odbory .owl-item {
	display: flex;
	height: auto;
}

#studijne-odbory .study-program-card {
	width: 100%;
	overflow: hidden;
	border: 2px solid #eee;
	background: #fff;
}

#studijne-odbory .study-program-image img {
	display: block;
	width: 100% !important;
	height: 220px;
	object-fit: cover;
}

#studijne-odbory .study-program-content {
	padding: 18px;
}

#studijne-odbory .study-program-code {
	margin-bottom: 6px;
	color: #666c6e;
	font-family: "Roboto", sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-align: center;
	text-transform: uppercase;
}

#studijne-odbory .study-program-title {
	margin: 0 0 8px;
	color: #000;
	font-family: "Roboto Slab", serif;
	font-size: 19px;
	font-weight: 900;
	line-height: 1.35;
	text-align: center;
}

#studijne-odbory .study-program-rating {
	margin: 0 0 12px;
	padding: 0;
	color: #e9a501;
	line-height: 1;
	list-style: none;
	text-align: center;
}

#studijne-odbory .study-program-rating li {
	display: inline-block;
	margin: 0 1px;
	padding: 0;
}

#studijne-odbory .study-program-text,
#studijne-odbory .study-program-text * {
	color: var(--study-program-text-color, #666c6e);
	text-align: left;
}

#studijne-odbory .study-program-text {
	font-family: "Roboto", sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	text-align: left;
}

#studijne-odbory .study-program-text > :first-child {
	margin-top: 0;
}

#studijne-odbory .study-program-text > :last-child {
	margin-bottom: 0;
}

#studijne-odbory .study-program-text ul,
#studijne-odbory .study-program-text ol {
	display: inline-block;
	margin-right: auto;
	margin-left: auto;
	text-align: left;
}

@media screen and (max-width: 575px) {
	#studijne-odbory .study-programs-head h3 {
		font-size: 27px;
		line-height: 36px;
	}

	#studijne-odbory .study-programs-head h3::before {
		top: 51px;
	}

	#studijne-odbory .study-program-image img {
		height: 190px;
	}
}
