/*
Theme Name: Sensei Blockbase
Theme URI: https://github.com/automattic
Author: Automattic
Author URI: https://automattic.com
Description: An experiment to replicate senseilms.com in Blockbase child theme
Requires at least: 5.8
Tested up to: 5.8
Requires PHP: 5.7
Version: 0.0.1
License: GNU General Public License v2 or later
License URI: https://raw.githubusercontent.com/Automattic/themes/trunk/LICENSE
Template: blockbase
Text Domain: sensei-blockbase
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, rtl-language-support, theme-options, threaded-comments, translation-ready, wide-blocks
*/

/*
 * Global
 */
@font-face {
	font-family: Reforma;
	src: url('assets/fonts/Reforma1918-Blanca.otf') format('opentype');
}

/* Buttons */
.wp-block-buttons .wp-block-button.is-style-outline .wp-block-button__link {
	--wp--custom--button--color--text: var(--wp--preset--color--foreground);
	border-color: var(--wp--custom--button--border--color);
	color: #155E65;
}

.wp-block-buttons .wp-block-button.is-style-outline .wp-block-button__link:not(.has-background):not(.has-text-color):hover,
.wp-block-buttons .wp-block-button .wp-block-button__link:not(.has-background):not(.has-text-color):hover {
	background-color: var(--wp--preset--color--foreground);
	border-color: var(--wp--preset--color--foreground);
	color: var(--wp--preset--color--background);
	transition: var(--wp--custom--transition);
}

/*
 * Navigation
 */
.wp-block-navigation-item:not(.is-cta) .wp-block-navigation-item__content {
	/* border-bottom: 1.5px solid transparent; */
	transition: var(--wp--custom--transition);
}

.wp-block-navigation-item .wp-block-navigation-item__content:hover,
.pricing .pricing-link .wp-block-navigation-item__content,
.blog .blog-link .wp-block-navigation-item__content,
.single-post .blog-link .wp-block-navigation-item__content,
.docs .docs-link .wp-block-navigation-item__content,
.single-documentation .docs-link .wp-block-navigation-item__content,
.my-account .my-account-link .wp-block-navigation-item__content {
	border-bottom-color: currentColor;
}

/* Get Sensei button */
.wp-block-navigation-item.is-cta {
	color: var(--wp--preset--color--sensei-green);
	display: inline-block;
	position: relative;
	text-align: center;
	transition: var(--wp--custom--transition);
}

.is-cta a.wp-block-navigation-item__content {
	border: 1px solid var(--wp--preset--color--sensei-green);
	padding: 0.8em 2em;
}

.is-cta a.wp-block-navigation-item__content:hover {
	color: var(--wp--preset--color--background);
}

.wp-block-navigation-item.is-cta:hover {
	background: var(--wp--preset--color--foreground);
	border-color: var(--wp--preset--color--foreground);
	color: var(--wp--preset--color--background);
}

/*
 * Home Page
 */
.home .intro {
	background: linear-gradient(#fff 85%, var(--wp--preset--color--primary) 85%);
}

@media (min-width: 720px) {
	.home .intro {
		background: linear-gradient(#fff 75%, var(--wp--preset--color--primary) 75%);
	}
}

/* Demo course link */
.is-demo-course.wp-block-button .wp-block-button__link {
	background-color: transparent;
	color: currentColor;
	text-decoration: underline;
}

.testimonial,
.extension {
	margin-top: 30px;
}

.testimonial-description {
	font-family: var(--wp--preset--font-family--reforma-serif);
}

.extensions {
	background: linear-gradient(#fff 20%, var(--wp--preset--color--primary) 20%);
}

/* 2 columns */
@media (min-width: 600px) and (max-width: 781px) {
	.extensions {
		background: linear-gradient(#fff 25%, var(--wp--preset--color--primary) 25%);
	}
}

/* 3 columns */
@media (min-width: 782px) {
	.extensions {
		background: linear-gradient(#fff 45%, var(--wp--preset--color--primary) 45%);
	}

	.testimonial,
	.extension {
		margin-top: 0;
	}
}

/*
 * Pricing Page
 */
.is-style-checkbox li:before {
	background: url('assets/images/checkmark.svg') no-repeat;
	mask-image: none;
	-webkit-mask-image: none;
}

@media(min-width: 600px) {
	.is-style-checkbox li:before {
		top: 6px;
	}
}
