/*
Theme Name: Course
Author: Automattic
Author URI: https://automattic.com/
Description: Course is a flexible and modern education theme for anyone wanting to share their knowledge. The theme is built with integration with Sensei LMS and is ideal for Sensei users that are creating or selling courses. Style variations with multiple font and color combinations help you craft the perfect look and feel to show off courses and content. The theme can be used without Sensei too.
Version: 1.3.11
Requires at least: 6.3
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: course
Tags: block-patterns, eLearning, education, full-site-editing, lms, online courses, sensei, teach, translation-ready, style-variations
*/

/*
 * Font smoothing
 */
 body {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
	text-transform: revert;
}

a {
	text-decoration-thickness: .0625em !important;
	text-underline-offset: .15em
}

/*
 * Header
 */
header {
	background-color: transparent;
}

header .navigation-wrapper {
	min-height: 116px;
}

.wp-site-blocks header ~ main {
	margin-block-start: 0;
}

/*
* Outline Buttons
*/
.wp-block-button.is-style-outline > .wp-block-button__link:not(.has-background):active {
	background-color: var(--wp--preset--color--secondary);
	border-color: var(--wp--preset--color--button-border-active);
}

.wp-block-button.is-style-outline > .wp-block-button__link:not(.has-background):hover {
	background-color: var(--wp--preset--color--primary);
	border-color: var(--wp--preset--color--button-border-hover);
	color: var(--wp--preset--color--secondary);
}

.wp-block-button.is-style-outline > .wp-block-button__link,
.wp-block-button .wp-block-button__link.is-style-outline {
	background-color: transparent;
	border-color: currentcolor;
	border-width: 1px;
	color: currentcolor;
	text-decoration: none;
}

/*
 * Search Results
 */
.search .wp-block-post-template .wp-block-post {
	margin: 0;
}

/* Newsletter */
.course-newsletter-gap {
	height: clamp(0rem, -3.975rem + 8.134vw, calc(114px - var(--wp--style--block-gap) * 2));
}

.course-newsletter-sign-up {
	font-family: var(--wp--preset--font-family--system);
	font-size: var(--wp--preset--font-size--x-small);
	letter-spacing: 0.02em;
	line-height: 100%;
	text-decoration: underline;
}

@media screen and (min-width: 782px) {
	.course-newsletter-sidebar {
		position: sticky;
		top: 120px;
	}
}

/* Footer */
footer .wp-block-column a,
footer .wp-block-column p,
footer .wp-block-column h3 {
	white-space: nowrap;
}

@media screen and (max-width: 480px) {
	footer .wp-block-columns.course-footer-links-vertical-space {
		margin-bottom: 44px;
	}

	footer .wp-block-column, footer .wp-block-group.is-layout-flex {
		flex-direction: column;
		align-items: baseline;
		gap: 10px;
	}
}

footer.wp-block-template-part {
	margin-block-start: 0;
}

.footer-title a:hover {
	text-decoration: none;
}

@media screen and (max-width: 700px) {
	.footer-title {
		font-size: 86px;
		padding-left: 20px;
		padding-right: 20px;
	}
}

/*
 * "Wide Width, No Title" Page Template
 */
body.page-template-page-wide-width .wp-block-post-content .wp-block-group,
body.page-template-page-wide-width footer .wp-block-group {
	margin-block-end: 0;
}
