/*
Theme Name: CTM GeneratePress Child
Theme URI: https://cursoteoriamusical.com/
Description: Tema hijo de GeneratePress para la academia. La plantilla de lección solo afecta a las páginas que la usan.
Author: Curso de Teoría Musical
Template: generatepress
Version: 0.6.0
Requires at least: 6.5
Tested up to: 6.9
Requires PHP: 7.4
Text Domain: ctm-generatepress-child
*/

body.home,
body.page-template-lesson {
	background: #d5e3ea;
}

body.home .site-header,
body.page-template-lesson .site-header {
	background: linear-gradient(165deg, #18384c 0%, #122a3a 58%, #0e2230 100%);
	color: #f7fbfc;
}

body.home .site-header .inside-header,
body.page-template-lesson .site-header .inside-header {
	position: relative;
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.45rem 0.75rem;
	width: min(1200px, 100%);
	max-width: 1200px;
	margin-right: auto;
	margin-left: auto;
	padding: 0.7rem 1.25rem;
	background: transparent;
}

body.page-template-lesson .ctm-lesson-home {
	flex: 0 0 auto;
	display: inline-block;
	padding: 0.4rem 0.8rem;
	border: 1px solid #9fd3e0;
	border-radius: 999px;
	color: #ffffff;
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;
}

body.page-template-lesson .ctm-lesson-home:hover,
body.page-template-lesson .ctm-lesson-home:focus {
	background: rgba(255, 255, 255, 0.12);
	color: #ffffff;
}

body.home .site-branding,
body.page-template-lesson .site-branding {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

body.home .site-branding:focus-within,
body.page-template-lesson .site-branding:focus-within {
	position: fixed;
	top: 0.6rem;
	left: 0.6rem;
	z-index: 1000;
	width: auto;
	height: auto;
	margin: 0;
	overflow: visible;
	clip: auto;
	white-space: normal;
	background: #ffffff;
	color: #122a3a;
	border-radius: 8px;
	padding: 0.35rem 0.7rem;
}

body.home .site-header .main-navigation,
body.home .site-header .main-navigation .inside-navigation,
body.home .mobile-menu-control-wrapper,
body.page-template-lesson .site-header .main-navigation,
body.page-template-lesson .site-header .main-navigation .inside-navigation,
body.page-template-lesson .mobile-menu-control-wrapper {
	background: transparent;
}

body.home #site-navigation,
body.page-template-lesson #site-navigation {
	flex: 1 1 auto;
	min-width: 0;
	background: transparent;
}

body.home .mobile-menu-control-wrapper,
body.page-template-lesson .mobile-menu-control-wrapper {
	flex: 0 0 auto;
	margin-left: auto;
}

body.home .site-header .main-navigation .menu-toggle,
body.home .site-header .main-navigation .main-nav ul li a,
body.page-template-lesson .site-header .main-navigation .menu-toggle,
body.page-template-lesson .site-header .main-navigation .main-nav ul li a {
	color: #e7f2f6;
}

body.home .mobile-menu-control-wrapper .menu-toggle,
body.page-template-lesson .mobile-menu-control-wrapper .menu-toggle {
	min-height: 44px;
	min-width: 44px;
	height: auto;
	padding: 0.45rem 0.8rem;
	line-height: 1.2;
	border: 1px solid #9fd3e0;
	border-radius: 8px;
	background: transparent;
	color: #ffffff;
	flex-grow: 0;
}

body.home .site-header .main-navigation .main-nav ul li a:hover,
body.home .site-header .main-navigation .main-nav ul li a:focus,
body.home .mobile-menu-control-wrapper .menu-toggle:hover,
body.home .mobile-menu-control-wrapper .menu-toggle:focus,
body.page-template-lesson .site-header .main-navigation .main-nav ul li a:hover,
body.page-template-lesson .site-header .main-navigation .main-nav ul li a:focus,
body.page-template-lesson .mobile-menu-control-wrapper .menu-toggle:hover,
body.page-template-lesson .mobile-menu-control-wrapper .menu-toggle:focus {
	background: rgba(255, 255, 255, 0.12);
	color: #ffffff;
}

body.home #site-navigation.toggled,
body.page-template-lesson #site-navigation.toggled {
	background: #122a3a;
	border-radius: 12px;
}

body.page-template-lesson .ctm-language-switcher ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

body.page-template-lesson .ctm-language-switcher a,
body.page-template-lesson .ctm-language-switcher span {
	color: #e7f2f6;
	font-size: 0.8rem;
}

body.home .site-content,
body.home .content-area,
body.home .site-main,
body.home .inside-article,
body.page-template-lesson .site-content,
body.page-template-lesson .content-area,
body.page-template-lesson .site-main,
body.page-template-lesson .inside-article {
	background: transparent;
}

body.home .site-content,
body.page-template-lesson .site-content {
	background: linear-gradient(180deg, #c9dbe3 0%, #d7e5eb 42%, #e4eef2 100%);
}

body.home .inside-article,
body.page-template-lesson .inside-article {
	box-sizing: border-box;
	width: min(1200px, 100%);
	max-width: 1200px;
	margin-right: auto;
	margin-left: auto;
	padding-right: 1.25rem;
	padding-left: 1.25rem;
	color: #122a3a;
}

body.home .entry-header,
body.page-template-lesson .entry-header {
	box-sizing: border-box;
	width: 100%;
	max-width: 1200px;
	margin-right: auto;
	margin-left: auto;
	background: linear-gradient(165deg, #18384c 0%, #122a3a 58%, #0e2230 100%);
	color: #f7fbfc;
	padding: 1.15rem 1.3rem 1.45rem;
	border-radius: 18px;
	margin-bottom: 1.5rem;
	box-shadow: 0 16px 36px rgba(18, 42, 58, 0.18);
}

body.page-template-lesson .ctm-lesson-breadcrumbs {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.4;
}

body.page-template-lesson .ctm-lesson-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

body.page-template-lesson .ctm-lesson-breadcrumbs a {
	color: #e7f2f6;
}

body.page-template-lesson .ctm-lesson-breadcrumbs li[aria-current="page"] {
	color: #ffffff;
}

body.page-template-lesson .ctm-lesson-kicker {
	margin: 0.9rem 0 0;
	color: #9fd3e0;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.4;
	text-transform: uppercase;
}

body.home .entry-header .entry-title,
body.page-template-lesson .entry-header .entry-title {
	margin: 0.35rem 0 0;
	color: #ffffff;
	font-size: clamp(1.85rem, 4vw, 2.45rem);
	line-height: 1.2;
}

body.home .entry-content,
body.page-template-lesson .entry-content {
	font-size: 1.125rem;
	line-height: 1.7;
}

body.home .entry-content > .ctm-card-row,
body.home .entry-content > .ctm-section,
body.page-template-lesson .entry-content > .ctm-card-row,
body.page-template-lesson .entry-content > .ctm-section,
body.page-template-lesson .inside-article > .ctm-level-index,
body.page-template-lesson .inside-article > .ctm-lesson-pager,
body.page-template-lesson .inside-article > .ctm-lesson-assessment,
body.page-template-lesson .inside-article > .ctm-lesson-resources {
	box-sizing: border-box;
	width: min(1100px, 100%);
	max-width: 1100px;
	margin-right: auto;
	margin-left: auto;
}

body.home .entry-content > .ctm-lead,
body.home .ctm-section:not(:has(.ctm-score, .ctm-note)) > .wp-block-group__inner-container > :is(h2, p),
body.page-template-lesson .entry-content > .ctm-lead,
body.page-template-lesson .ctm-section:not(:has(.ctm-score, .ctm-note)) > .wp-block-group__inner-container > :is(h2, p) {
	box-sizing: border-box;
	width: min(800px, 100%);
	max-width: 800px;
	margin-right: auto;
	margin-left: auto;
}

body.home .ctm-lead,
body.page-template-lesson .ctm-lead {
	margin-top: 0;
	margin-bottom: 1.35rem;
	color: #122a3a;
	font-size: 1.2rem;
	line-height: 1.6;
}

body.page-template-lesson .ctm-card-row {
	margin-bottom: 1.25rem;
}

body.home .ctm-section,
body.page-template-lesson .ctm-card,
body.page-template-lesson .ctm-section,
body.page-template-lesson .ctm-lesson-pager {
	background: #fbfcfd;
	border: 1px solid #c5d5de;
	border-radius: 16px;
	box-shadow: 0 10px 26px rgba(18, 42, 58, 0.08);
}

body.home .entry-content > .ctm-section:nth-child(even),
body.page-template-lesson .entry-content > .ctm-section:nth-child(even) {
	background: #e7f1f5;
}

body.page-template-lesson .ctm-card {
	height: 100%;
	padding: 1rem 1.1rem 0.35rem;
	border-top: 4px solid #256d82;
}

body.home .ctm-section,
body.page-template-lesson .ctm-section {
	margin-bottom: 1.15rem;
	padding: 1.15rem 1.2rem 0.45rem;
}

body.home .entry-content h2,
body.page-template-lesson .entry-content h2 {
	margin-top: 0;
	margin-bottom: 0.7rem;
	color: #122a3a;
	font-size: 1.45rem;
	font-weight: 700;
	letter-spacing: -0.015em;
	line-height: 1.25;
}

body.home .entry-content p,
body.home .entry-content ul,
body.home .entry-content ol,
body.page-template-lesson .entry-content p,
body.page-template-lesson .entry-content ul,
body.page-template-lesson .entry-content ol {
	margin-bottom: 1rem;
}

body.page-template-lesson .ctm-score {
	box-sizing: border-box;
	width: 100%;
	max-width: 1100px;
	margin-right: auto;
	margin-bottom: 0.8rem;
	margin-left: auto;
	padding: 0.75rem;
	background: #f5f7f8;
	border-radius: 10px;
}

body.home .entry-content img,
body.home .entry-content svg,
body.home .entry-content figure,
body.home .entry-content audio,
body.page-template-lesson .entry-content img,
body.page-template-lesson .entry-content svg,
body.page-template-lesson .entry-content figure,
body.page-template-lesson .entry-content audio {
	max-width: 100%;
	height: auto;
}

body.page-template-lesson .ctm-note {
	padding: 0.8rem 1rem;
	background: #f5f7f8;
	border-left: 4px solid #256d82;
	border-radius: 8px;
	color: #122a3a;
}

body.page-template-lesson .ctm-lesson-pager {
	margin-top: 0.4rem;
	padding: 1rem 1.15rem;
}

body.page-template-lesson .ctm-lesson-pager ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
	justify-content: space-between;
	margin: 0;
	padding: 0;
	list-style: none;
}

body.page-template-lesson .ctm-lesson-pager a {
	display: inline-block;
	padding: 0.7rem 0.9rem;
	border-radius: 12px;
	background: #ffffff;
	border: 1px solid #c5d5de;
	color: #122a3a;
	text-decoration: none;
	font-weight: 700;
}

body.page-template-lesson .ctm-level-index {
	margin-top: 0;
	margin-bottom: 1.25rem;
}

body.page-template-lesson .ctm-level-index details {
	background: #fbfcfd;
	border: 1px solid #c5d5de;
	border-radius: 16px;
	box-shadow: 0 10px 26px rgba(18, 42, 58, 0.08);
}

body.page-template-lesson .ctm-level-index summary {
	display: flex;
	align-items: center;
	box-sizing: border-box;
	min-height: 44px;
	padding: 0.75rem 1.1rem;
	color: #122a3a;
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.4;
	cursor: pointer;
	overflow-wrap: anywhere;
}

body.page-template-lesson .ctm-level-index ol {
	margin: 0;
	padding: 0 1.1rem 0.85rem 2.2rem;
}

body.page-template-lesson .ctm-level-index li {
	margin: 0;
	padding: 0;
}

body.page-template-lesson .ctm-level-index a {
	display: inline-block;
	box-sizing: border-box;
	max-width: 100%;
	min-height: 44px;
	padding: 0.55rem 0;
	color: #18384c;
	font-weight: 400;
	line-height: 1.4;
	overflow-wrap: anywhere;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

body.page-template-lesson .ctm-level-index a[aria-current="page"] {
	color: #122a3a;
	font-weight: 700;
	text-decoration-thickness: 2px;
}

body.page-template-lesson .ctm-level-index summary:focus-visible,
body.page-template-lesson .ctm-level-index a:focus-visible {
	outline: 3px solid #122a3a;
	outline-offset: 3px;
	box-shadow: 0 0 0 6px #f6d96a;
}

body.page-template-lesson a:focus-visible,
body.page-template-lesson button:focus-visible {
	outline: 3px solid #ffffff;
	outline-offset: 2px;
	box-shadow: 0 0 0 5px #256d82;
}

body.home .site-header a:focus-visible,
body.home .site-header button:focus-visible {
	outline: 3px solid #ffffff;
	outline-offset: 2px;
	box-shadow: 0 0 0 5px #256d82;
}

body.home .inside-article a:focus-visible,
body.home .inside-article button:focus-visible {
	outline: 3px solid #122a3a;
	outline-offset: 3px;
	box-shadow: 0 0 0 6px #f6d96a;
}

body.home .entry-content a,
body.home .entry-content li {
	overflow-wrap: anywhere;
}

@media (min-width: 769px) {
	body.home #site-navigation .main-nav > ul,
	body.page-template-lesson #site-navigation .main-nav > ul {
		display: flex;
		flex-wrap: nowrap;
		justify-content: flex-end;
		align-items: center;
		gap: 0.15rem;
	}

	body.home #site-navigation .main-nav > ul > li > a,
	body.page-template-lesson #site-navigation .main-nav > ul > li > a {
		padding: 0.22rem 0.58rem;
		border-radius: 999px;
		background: rgba(255, 255, 255, 0.1);
		color: #e7f2f6;
		font-size: 0.8rem;
		line-height: 1.4;
		white-space: nowrap;
		text-decoration: none;
	}
}

@media (min-width: 769px) and (max-width: 1100px) {
	body.home #site-navigation .main-nav > ul > li > a,
	body.page-template-lesson #site-navigation .main-nav > ul > li > a {
		padding: 0.2rem 0.4rem;
		font-size: 0.74rem;
	}
}

@media (min-width: 1201px) {
	body.home.separate-containers .inside-article,
	body.page-template-lesson.separate-containers .inside-article {
		padding-right: 0;
		padding-left: 0;
	}
}

@media (max-width: 768px) {
	body.home .site-header .inside-header,
	body.page-template-lesson .site-header .inside-header {
		align-items: flex-start;
		padding: 0.65rem 0.85rem;
	}

	body.home .mobile-menu-control-wrapper,
	body.page-template-lesson .ctm-lesson-home,
	body.page-template-lesson .mobile-menu-control-wrapper {
		align-self: center;
	}

	body.home #site-navigation,
	body.page-template-lesson #site-navigation {
		flex: 1 1 100%;
		width: 100%;
	}

	body.home.has-inline-mobile-toggle #site-navigation:not(.toggled),
	body.page-template-lesson.has-inline-mobile-toggle #site-navigation:not(.toggled) {
		flex: 0 0 0;
		width: 0;
		height: 0;
		min-height: 0;
		margin: 0;
		padding: 0;
		overflow: hidden;
		border: 0;
	}

	body.home.has-inline-mobile-toggle #site-navigation.toggled,
	body.page-template-lesson.has-inline-mobile-toggle #site-navigation.toggled {
		flex: 1 1 100%;
		width: 100%;
		height: auto;
		overflow: visible;
		margin-top: 0.35rem;
	}

	body.home .inside-article,
	body.page-template-lesson .inside-article {
		padding-right: 0.85rem;
		padding-left: 0.85rem;
	}

	body.home .entry-header,
	body.page-template-lesson .entry-header {
		padding: 1rem 0.95rem 1.2rem;
		border-radius: 14px;
	}

	body.home #site-navigation.toggled .main-nav ul li a,
	body.page-template-lesson #site-navigation.toggled .main-nav ul li a {
		padding: 0.75rem 1rem;
		min-height: 44px;
	}

	body.page-template-lesson .ctm-card {
		margin-bottom: 0.85rem;
	}
}

/* Microfase A — cromo de páginas legales ID 3, 7 y 30. No aplica a HOME ni a lecciones. */
body.page-id-3,
body.page-id-7,
body.page-id-30 {
	background: #d5e3ea;
}

body.page-id-3 .site-header,
body.page-id-7 .site-header,
body.page-id-30 .site-header {
	background: linear-gradient(165deg, #18384c 0%, #122a3a 58%, #0e2230 100%);
	color: #f7fbfc;
}

body.page-id-3 .site-header .inside-header,
body.page-id-7 .site-header .inside-header,
body.page-id-30 .site-header .inside-header {
	position: relative;
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.45rem 0.75rem;
	width: min(1200px, 100%);
	max-width: 1200px;
	margin-right: auto;
	margin-left: auto;
	padding: 0.7rem 1.25rem;
	background: transparent;
}

body.page-id-3 .site-branding,
body.page-id-7 .site-branding,
body.page-id-30 .site-branding {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

body.page-id-3 .site-branding:focus-within,
body.page-id-7 .site-branding:focus-within,
body.page-id-30 .site-branding:focus-within {
	position: fixed;
	top: 0.6rem;
	left: 0.6rem;
	z-index: 1000;
	width: auto;
	height: auto;
	margin: 0;
	overflow: visible;
	clip: auto;
	white-space: normal;
	background: #ffffff;
	color: #122a3a;
	border-radius: 8px;
	padding: 0.35rem 0.7rem;
}

body.page-id-3 .site-header .main-navigation,
body.page-id-3 .site-header .main-navigation .inside-navigation,
body.page-id-3 .mobile-menu-control-wrapper,
body.page-id-7 .site-header .main-navigation,
body.page-id-7 .site-header .main-navigation .inside-navigation,
body.page-id-7 .mobile-menu-control-wrapper,
body.page-id-30 .site-header .main-navigation,
body.page-id-30 .site-header .main-navigation .inside-navigation,
body.page-id-30 .mobile-menu-control-wrapper {
	background: transparent;
}

body.page-id-3 #site-navigation,
body.page-id-7 #site-navigation,
body.page-id-30 #site-navigation {
	flex: 1 1 auto;
	min-width: 0;
	background: transparent;
}

body.page-id-3 .mobile-menu-control-wrapper,
body.page-id-7 .mobile-menu-control-wrapper,
body.page-id-30 .mobile-menu-control-wrapper {
	flex: 0 0 auto;
	margin-left: auto;
}

body.page-id-3 .site-header .main-navigation .menu-toggle,
body.page-id-3 .site-header .main-navigation .main-nav ul li a,
body.page-id-7 .site-header .main-navigation .menu-toggle,
body.page-id-7 .site-header .main-navigation .main-nav ul li a,
body.page-id-30 .site-header .main-navigation .menu-toggle,
body.page-id-30 .site-header .main-navigation .main-nav ul li a {
	color: #e7f2f6;
}

body.page-id-3 .mobile-menu-control-wrapper .menu-toggle,
body.page-id-7 .mobile-menu-control-wrapper .menu-toggle,
body.page-id-30 .mobile-menu-control-wrapper .menu-toggle {
	min-height: 44px;
	min-width: 44px;
	height: auto;
	padding: 0.45rem 0.8rem;
	line-height: 1.2;
	border: 1px solid #9fd3e0;
	border-radius: 8px;
	background: transparent;
	color: #ffffff;
	flex-grow: 0;
}

body.page-id-3 .site-header .main-navigation .main-nav ul li a:hover,
body.page-id-3 .site-header .main-navigation .main-nav ul li a:focus,
body.page-id-3 .mobile-menu-control-wrapper .menu-toggle:hover,
body.page-id-3 .mobile-menu-control-wrapper .menu-toggle:focus,
body.page-id-7 .site-header .main-navigation .main-nav ul li a:hover,
body.page-id-7 .site-header .main-navigation .main-nav ul li a:focus,
body.page-id-7 .mobile-menu-control-wrapper .menu-toggle:hover,
body.page-id-7 .mobile-menu-control-wrapper .menu-toggle:focus,
body.page-id-30 .site-header .main-navigation .main-nav ul li a:hover,
body.page-id-30 .site-header .main-navigation .main-nav ul li a:focus,
body.page-id-30 .mobile-menu-control-wrapper .menu-toggle:hover,
body.page-id-30 .mobile-menu-control-wrapper .menu-toggle:focus {
	background: rgba(255, 255, 255, 0.12);
	color: #ffffff;
}

body.page-id-3 #site-navigation.toggled,
body.page-id-7 #site-navigation.toggled,
body.page-id-30 #site-navigation.toggled {
	background: #122a3a;
	border-radius: 12px;
}

body.page-id-3 .site-content,
body.page-id-3 .content-area,
body.page-id-3 .site-main,
body.page-id-3 .inside-article,
body.page-id-7 .site-content,
body.page-id-7 .content-area,
body.page-id-7 .site-main,
body.page-id-7 .inside-article,
body.page-id-30 .site-content,
body.page-id-30 .content-area,
body.page-id-30 .site-main,
body.page-id-30 .inside-article {
	background: transparent;
}

body.page-id-3 .site-content,
body.page-id-7 .site-content,
body.page-id-30 .site-content {
	background: linear-gradient(180deg, #c9dbe3 0%, #d7e5eb 42%, #e4eef2 100%);
}

body.page-id-3 .inside-article,
body.page-id-7 .inside-article,
body.page-id-30 .inside-article {
	box-sizing: border-box;
	width: min(1200px, 100%);
	max-width: 1200px;
	margin-right: auto;
	margin-left: auto;
	padding-right: 1.25rem;
	padding-left: 1.25rem;
	color: #122a3a;
}

body.page-id-3 .entry-header,
body.page-id-7 .entry-header,
body.page-id-30 .entry-header {
	box-sizing: border-box;
	width: 100%;
	max-width: 1200px;
	margin-right: auto;
	margin-left: auto;
	background: linear-gradient(165deg, #18384c 0%, #122a3a 58%, #0e2230 100%);
	color: #f7fbfc;
	padding: 1.15rem 1.3rem 1.45rem;
	border-radius: 18px;
	margin-bottom: 1.5rem;
	box-shadow: 0 16px 36px rgba(18, 42, 58, 0.18);
}

body.page-id-3 .entry-header .entry-title,
body.page-id-7 .entry-header .entry-title,
body.page-id-30 .entry-header .entry-title {
	margin: 0;
	color: #ffffff;
	font-size: clamp(1.85rem, 4vw, 2.45rem);
	line-height: 1.2;
}

body.page-id-3 .entry-content,
body.page-id-7 .entry-content,
body.page-id-30 .entry-content {
	box-sizing: border-box;
	width: min(800px, 100%);
	max-width: 800px;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 1.5rem;
	padding: 1.25rem 1.35rem 1.15rem;
	background: #fbfcfd;
	border: 1px solid #c5d5de;
	border-radius: 16px;
	box-shadow: 0 10px 26px rgba(18, 42, 58, 0.08);
	color: #122a3a;
	font-size: 1.125rem;
	line-height: 1.7;
	overflow-wrap: anywhere;
}

body.page-id-3 .entry-content h2,
body.page-id-7 .entry-content h2,
body.page-id-30 .entry-content h2 {
	margin-top: 1.15rem;
	margin-bottom: 0.7rem;
	color: #122a3a;
	font-size: 1.45rem;
	font-weight: 700;
	letter-spacing: -0.015em;
	line-height: 1.25;
}

body.page-id-3 .entry-content h2:first-child,
body.page-id-7 .entry-content h2:first-child,
body.page-id-30 .entry-content h2:first-child {
	margin-top: 0;
}

body.page-id-3 .entry-content h3,
body.page-id-7 .entry-content h3,
body.page-id-30 .entry-content h3 {
	margin-top: 1rem;
	margin-bottom: 0.55rem;
	color: #122a3a;
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.3;
}

body.page-id-3 .entry-content p,
body.page-id-3 .entry-content ul,
body.page-id-3 .entry-content ol,
body.page-id-7 .entry-content p,
body.page-id-7 .entry-content ul,
body.page-id-7 .entry-content ol,
body.page-id-30 .entry-content p,
body.page-id-30 .entry-content ul,
body.page-id-30 .entry-content ol {
	margin-bottom: 1rem;
}

/* ID3/ID30: vence Comic Sans, 14pt y justify inline. !important obligatorio frente a style="". */
body.page-id-3 .entry-content p,
body.page-id-3 .entry-content span,
body.page-id-30 .entry-content p,
body.page-id-30 .entry-content span {
	font-family: inherit !important;
	font-size: 1.125rem !important;
	text-align: start !important;
}

body.page-id-3 .entry-content a,
body.page-id-7 .entry-content a,
body.page-id-30 .entry-content a {
	color: #18384c;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

body.page-id-3 .entry-content a:hover,
body.page-id-3 .entry-content a:focus,
body.page-id-7 .entry-content a:hover,
body.page-id-7 .entry-content a:focus,
body.page-id-30 .entry-content a:hover,
body.page-id-30 .entry-content a:focus {
	color: #0e2230;
}

body.page-id-3 .entry-content table,
body.page-id-7 .entry-content table,
body.page-id-30 .entry-content table {
	width: 100%;
	max-width: 100%;
	margin-bottom: 1rem;
	border-collapse: collapse;
}

body.page-id-3 .entry-content th,
body.page-id-3 .entry-content td,
body.page-id-7 .entry-content th,
body.page-id-7 .entry-content td,
body.page-id-30 .entry-content th,
body.page-id-30 .entry-content td {
	padding: 0.5rem 0.6rem;
	border: 1px solid #c5d5de;
	text-align: left;
	vertical-align: top;
}

body.page-id-3 .entry-content img,
body.page-id-3 .entry-content svg,
body.page-id-3 .entry-content figure,
body.page-id-7 .entry-content img,
body.page-id-7 .entry-content svg,
body.page-id-7 .entry-content figure,
body.page-id-30 .entry-content img,
body.page-id-30 .entry-content svg,
body.page-id-30 .entry-content figure {
	max-width: 100%;
	height: auto;
}

body.page-id-3 .site-header a:focus-visible,
body.page-id-3 .site-header button:focus-visible,
body.page-id-7 .site-header a:focus-visible,
body.page-id-7 .site-header button:focus-visible,
body.page-id-30 .site-header a:focus-visible,
body.page-id-30 .site-header button:focus-visible {
	outline: 3px solid #ffffff;
	outline-offset: 2px;
	box-shadow: 0 0 0 5px #256d82;
}

body.page-id-3 .inside-article a:focus-visible,
body.page-id-3 .inside-article button:focus-visible,
body.page-id-7 .inside-article a:focus-visible,
body.page-id-7 .inside-article button:focus-visible,
body.page-id-30 .inside-article a:focus-visible,
body.page-id-30 .inside-article button:focus-visible {
	outline: 3px solid #122a3a;
	outline-offset: 3px;
	box-shadow: 0 0 0 6px #f6d96a;
}

@media (min-width: 769px) {
	body.page-id-3 #site-navigation .main-nav > ul,
	body.page-id-7 #site-navigation .main-nav > ul,
	body.page-id-30 #site-navigation .main-nav > ul {
		display: flex;
		flex-wrap: nowrap;
		justify-content: flex-end;
		align-items: center;
		gap: 0.15rem;
	}

	body.page-id-3 #site-navigation .main-nav > ul > li > a,
	body.page-id-7 #site-navigation .main-nav > ul > li > a,
	body.page-id-30 #site-navigation .main-nav > ul > li > a {
		padding: 0.22rem 0.58rem;
		border-radius: 999px;
		background: rgba(255, 255, 255, 0.1);
		color: #e7f2f6;
		font-size: 0.8rem;
		line-height: 1.4;
		white-space: nowrap;
		text-decoration: none;
	}
}

@media (min-width: 769px) and (max-width: 1100px) {
	body.page-id-3 #site-navigation .main-nav > ul > li > a,
	body.page-id-7 #site-navigation .main-nav > ul > li > a,
	body.page-id-30 #site-navigation .main-nav > ul > li > a {
		padding: 0.2rem 0.4rem;
		font-size: 0.74rem;
	}
}

@media (min-width: 1201px) {
	body.page-id-3.separate-containers .inside-article,
	body.page-id-7.separate-containers .inside-article,
	body.page-id-30.separate-containers .inside-article {
		padding-right: 0;
		padding-left: 0;
	}
}

@media (max-width: 768px) {
	body.page-id-3 .site-header .inside-header,
	body.page-id-7 .site-header .inside-header,
	body.page-id-30 .site-header .inside-header {
		align-items: flex-start;
		padding: 0.65rem 0.85rem;
	}

	body.page-id-3 .mobile-menu-control-wrapper,
	body.page-id-7 .mobile-menu-control-wrapper,
	body.page-id-30 .mobile-menu-control-wrapper {
		align-self: center;
	}

	body.page-id-3 #site-navigation,
	body.page-id-7 #site-navigation,
	body.page-id-30 #site-navigation {
		flex: 1 1 100%;
		width: 100%;
	}

	body.page-id-3.has-inline-mobile-toggle #site-navigation:not(.toggled),
	body.page-id-7.has-inline-mobile-toggle #site-navigation:not(.toggled),
	body.page-id-30.has-inline-mobile-toggle #site-navigation:not(.toggled) {
		flex: 0 0 0;
		width: 0;
		height: 0;
		min-height: 0;
		margin: 0;
		padding: 0;
		overflow: hidden;
		border: 0;
	}

	body.page-id-3.has-inline-mobile-toggle #site-navigation.toggled,
	body.page-id-7.has-inline-mobile-toggle #site-navigation.toggled,
	body.page-id-30.has-inline-mobile-toggle #site-navigation.toggled {
		flex: 1 1 100%;
		width: 100%;
		height: auto;
		overflow: visible;
		margin-top: 0.35rem;
	}

	body.page-id-3 .inside-article,
	body.page-id-7 .inside-article,
	body.page-id-30 .inside-article {
		padding-right: 0.85rem;
		padding-left: 0.85rem;
	}

	body.page-id-3 .entry-header,
	body.page-id-7 .entry-header,
	body.page-id-30 .entry-header {
		padding: 1rem 0.95rem 1.2rem;
		border-radius: 14px;
	}

	body.page-id-3 .entry-content,
	body.page-id-7 .entry-content,
	body.page-id-30 .entry-content {
		padding: 1rem 0.95rem 0.95rem;
		border-radius: 14px;
	}

	body.page-id-3 #site-navigation.toggled .main-nav ul li a,
	body.page-id-7 #site-navigation.toggled .main-nav ul li a,
	body.page-id-30 #site-navigation.toggled .main-nav ul li a {
		padding: 0.75rem 1rem;
		min-height: 44px;
	}
}

#eu-cookie-bar {
	position: static;
	top: auto;
	right: auto;
	bottom: auto;
	left: auto;
	z-index: auto;
	box-sizing: border-box;
	clear: both;
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 1rem 1.25rem 1.15rem;
	float: none;
	background-color: #2e363f;
	color: #ffffff;
	font-size: 1rem;
	line-height: 1.5;
	text-align: start;
	overflow-wrap: break-word;
}

#eu-cookie-bar a {
	color: #ffffff;
	font-size: 1rem;
	line-height: 1.5;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

button#euCookieAcceptWP {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: fit-content;
	max-width: 100%;
	min-height: 44px;
	margin: 0.85rem 0 0;
	padding: 0.65rem 1.15rem;
	border: 0;
	border-radius: 8px;
	background: #ffffff;
	color: #122a3a;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.3;
	cursor: pointer;
}

#eu-cookie-bar a:focus-visible {
	outline: 3px solid #ffffff;
	outline-offset: 3px;
	box-shadow: 0 0 0 6px #256d82;
}

button#euCookieAcceptWP:focus-visible {
	outline: 3px solid #122a3a;
	outline-offset: 3px;
	box-shadow: 0 0 0 6px #f6d96a;
}
