/*
Theme Name: GoNPLMS Theme
Description: Child theme de Course para GoNPLMS.
Author: ARMIX
Template: course
Version: 1.0.13
Requires at least: 6.3
Requires PHP: 7.4
Text Domain: gonplms-theme
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/*
 * Agregar debajo las personalizaciones visuales de GoNPLMS.
 */

/* GONP institutional footer. */
.gonplms-footer .wp-block-column :is(a, p, h3) {
	white-space: normal;
	overflow-wrap: anywhere;
}

.gonplms-footer .gonplms-footer__middle p,
.gonplms-footer .gonplms-footer__end p {
	color: var(--wp--preset--color--white) !important;
}

/* GONP institutional header. */
@media (max-width: 781px) {
	.gonplms-header .gonplms-header__admin {
		display: none;
	}
}

/* Course indexes share their leading edge with the page title. */
.wp-block-post-content > .wp-block-sensei-lms-course-list {
	margin-left: 0 !important;
	margin-right: auto !important;
}

.single-course .wp-block-post-content > * {
	margin-left: 0 !important;
	margin-right: auto !important;
}

.single-course .wp-block-post-content > article.module {
	max-width: 100% !important;
	width: 100%;
}

/* Keep long module names compact inside the learning-mode navigation. */
.sensei-lms-course-navigation-module__title {
	font-size: 20px;
	line-height: 1.2;
}

/* Present Sensei's legacy enrolment input as a GONP Primary button. */
.single-course .course-enrolment .course-start {
	appearance: none;
	background-color: var(--wp--preset--color--accent);
	border: 1px solid var(--wp--preset--color--accent);
	border-radius: 50px;
	color: var(--wp--preset--color--white);
	cursor: pointer;
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--button);
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 1;
	padding: 20px 40px;
}

.single-course .course-enrolment .course-start:hover {
	background-color: #0C3A31CC;
}

@media (max-width: 781px) {
	.single-course .course-enrolment .course-start {
		padding: 15px 30px;
	}
}

.single-course .wp-block-post-content > header:first-child {
	display: none;
}
