/*--------------------------------------------
# Site-wide additions

The page header used by the templates WordPress renders itself
(template-parts/page-hero.php), long-form content (blog posts, and pages
whose content is wrapped in an "ed-prose" group block, e.g. the legal
pages) and the footer. The header mirrors the computed styles of the
Elementor pages' header sections (section padding + 10px column padding,
kit typography = Roboto).
-----------------------------------------*/

/* Page header: same as the About / Courses / Contact header sections */
.ed-page-hero {
	padding: 80px 50px;
	background-image: linear-gradient(135deg, #543ee8 0%, #2f1f8f 100%);
	text-align: center;
	font-family: "Roboto", sans-serif;
}
.ed-page-hero .container {
	padding: 0;
}
.ed-page-hero__title {
	margin: 0 0 20px;
	font-size: 42px;
	font-weight: 800;
	line-height: 1;
	color: #fff;
}
.ed-page-hero__title:last-child {
	margin-bottom: 0;
}
.ed-page-hero__text {
	margin: 0;
	font-size: 18px;
	line-height: 24px;
	color: #f0eefd;
}
.ed-page-hero__text a {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 3px;
}
@media only screen and (max-width: 767px) {
	/* long post titles wrap on phones */
	.ed-page-hero__title {
		line-height: 1.2;
	}
}

/* The tagline under the site name wraps on phones and doubles the header height */
@media only screen and (max-width: 767px) {
	.site-description {
		display: none;
	}
}

/* Long-form content */
.eduna-online-course-blog-single > .container {
	max-width: 840px;
}
.ed-prose {
	max-width: 800px;
	margin: 0 auto;
}
.ed-prose,
.eduna-online-course-blog-single .blog-body {
	font-size: 17px;
	line-height: 1.75;
	color: var(--eduna-online-course-text);
}
.ed-prose h2,
.eduna-online-course-blog-single .blog-body h2 {
	margin: 40px 0 14px;
	font-family: "Roboto", sans-serif;
	font-size: 26px;
	font-weight: 800;
	line-height: 1.3;
	color: var(--eduna-online-course-heading);
}
.ed-prose h3,
.eduna-online-course-blog-single .blog-body h3 {
	margin: 28px 0 10px;
	font-family: "Roboto", sans-serif;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--eduna-online-course-heading);
}
.ed-prose > :first-child,
.ed-prose h2:first-child {
	margin-top: 0;
}
.ed-prose p,
.eduna-online-course-blog-single .blog-body p {
	margin: 0 0 18px;
	font-size: inherit; /* theme-default.css sets every <p> to 15px */
	line-height: inherit;
}
.ed-prose ul,
.ed-prose ol,
.eduna-online-course-blog-single .blog-body ul,
.eduna-online-course-blog-single .blog-body ol {
	margin: 0 0 18px;
	padding-left: 22px;
}
.ed-prose li,
.eduna-online-course-blog-single .blog-body li {
	margin-bottom: 8px;
}
.ed-prose a,
.eduna-online-course-blog-single .blog-body a {
	color: var(--eduna-online-course-primary);
}
.ed-prose strong,
.eduna-online-course-blog-single .blog-body strong {
	color: var(--eduna-online-course-heading);
}
.ed-note {
	margin: 30px 0 0;
	padding: 18px 22px;
	border-left: 4px solid var(--eduna-online-course-primary);
	border-radius: 6px;
	background: var(--eduna-online-course-bg);
	font-size: 15px;
	line-height: 1.6;
}
.ed-note p:last-child {
	margin-bottom: 0;
}

/* Contact form consent checkbox: the theme styles every input like a text field */
.wpcf7-acceptance .wpcf7-list-item {
	margin: 0 0 20px;
}
.wpcf7-acceptance label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 15px;
	line-height: 1.6;
	cursor: pointer;
}
.wpcf7-acceptance input[type="checkbox"] {
	flex: none;
	width: 18px;
	min-width: 0; /* style.css gives .wpcf7-form inputs min-width: 100% */
	height: 18px;
	line-height: normal;
	margin: 3px 0 0;
	padding: 0;
	accent-color: var(--eduna-online-course-primary);
}
.wpcf7-acceptance a {
	color: var(--eduna-online-course-primary);
	text-decoration: underline;
}

/* Footer */
.eduna-online-course-footer__top {
	padding: 60px 0 40px;
}
.eduna-online-course-footer__top .widget {
	margin-bottom: 30px;
}
.eduna-online-course-footer__top .widget-title {
	margin-bottom: 18px;
	font-size: 17px;
}
.eduna-online-course-footer__top .widget ul li {
	margin-bottom: 10px;
	padding: 0;
	border: 0;
}
.eduna-online-course-footer__top .widget ul li a,
.eduna-online-course-footer__top .widget p,
.eduna-online-course-footer__top .widget p a {
	color: var(--eduna-online-course-text);
	font-size: 15px;
	text-decoration: none;
}
.eduna-online-course-footer__top .widget ul li a:hover,
.eduna-online-course-footer__top .widget p a:hover {
	color: var(--eduna-online-course-primary);
}
.ed-footer-brand {
	margin-bottom: 12px;
	font-size: 22px;
	font-weight: 800;
	color: var(--eduna-online-course-heading);
}
.eduna-online-course-footer__disclaimer {
	max-width: 860px;
	margin: 6px auto 0;
	font-size: 13px;
	line-height: 1.6;
	color: var(--eduna-online-course-text);
}
