/* Portada nueva (Economía con Inma) */
.eci {
	max-width: 1100px;
	margin: 0 auto;
	color: #2b2b2b;
	font-size: 17px;
	line-height: 1.55;
}

.eci * {
	box-sizing: border-box;
}

.eci a {
	text-decoration: none;
	color: inherit;
	box-shadow: none;
	border-bottom: 0;
}

.eci-hero {
	text-align: center;
	padding: 24px 0 28px;
}

.eci-hero h2 {
	font-size: 34px;
	margin: 0 0 10px;
	line-height: 1.2;
}

.eci-hero p {
	margin: 0 auto 22px;
	max-width: 640px;
	color: #5f6b6b;
}

.eci-quick {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
}

.eci .eci-quick a {
	border: 2px solid #0f8a87;
	color: #0f8a87;
	border-radius: 999px;
	padding: 8px 16px;
	font-size: 15px;
	font-weight: 700;
	transition: .15s;
}

.eci .eci-quick a:hover,.eci .eci-quick a:focus {
	background: #0f8a87;
	color: #fff;
}

.eci-level {
	margin: 34px 0;
}

.eci-level h3 {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 22px;
	margin: 0 0 14px;
	padding-bottom: 8px;
	border-bottom: 2px solid #dfe7e7;
}

.eci-level h3 span {
	background: #0f8a87;
	color: #fff;
	font-size: 13px;
	border-radius: 6px;
	padding: 3px 9px;
	letter-spacing: .04em;
}

.eci-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill,minmax(250px,1fr));
	gap: 16px;
}

.eci .eci-card {
	display: flex;
	flex-direction: column;
	border: 1px solid #dfe7e7;
	border-radius: 14px;
	padding: 20px;
	background: #fff;
	transition: .15s;
	height: 100%;
}

.eci .eci-card:hover,.eci .eci-card:focus {
	border-color: #0f8a87;
	box-shadow: 0 6px 18px rgba(15,138,135,.15);
	transform: translateY(-2px);
}

.eci-ico {
	font-size: 30px;
	line-height: 1;
	margin-bottom: 10px;
}

.eci-card strong {
	font-size: 18px;
	line-height: 1.3;
	margin-bottom: 6px;
}

.eci-card small {
	color: #5f6b6b;
	font-size: 15px;
	flex: 1;
}

.eci-card em {
	font-style: normal;
	color: #0f8a87;
	font-weight: 700;
	font-size: 14px;
	margin-top: 12px;
}

.eci-pau {
	background: #e8f6f5;
	border-radius: 16px;
	padding: 24px;
	margin: 34px 0;
}

.eci-pau h3 {
	border: none;
	margin-bottom: 6px;
}

.eci-pau p {
	margin: 0 0 16px;
	color: #5f6b6b;
}

.eci-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.eci .eci-chips a {
	background: #fff;
	border: 1px solid #dfe7e7;
	border-radius: 10px;
	padding: 8px 12px;
	font-size: 15px;
}

.eci .eci-chips a:hover,.eci .eci-chips a:focus {
	border-color: #0f8a87;
	color: #0f8a87;
}

.eci-social {
	text-align: center;
	padding: 30px 0 40px;
	border-top: 2px solid #dfe7e7;
	margin-top: 40px;
}

.eci-social p {
	margin: 0 0 14px;
}

.eci .eci-social a {
	display: inline-block;
	margin: 4px 6px;
	padding: 10px 20px;
	border-radius: 999px;
	color: #fff;
	font-weight: 700;
	font-size: 15px;
}

.eci .eci-yt {
	background: #d62020;
}

.eci .eci-ig {
	background: #b1338f;
}

@media (max-width:600px) {
	.eci {
		font-size: 16px;
	}
	
	.eci-hero h2 {
		font-size: 26px;
	}
	
	.eci-pau {
		padding: 18px;
	}
}

/* Portada: sin carrusel ni título "Página de inicio" */
.home #featured-content {
	display: none;
}

.home .entry-header {
	display: none;
}

/* Páginas de asignatura (Economía con Inma) */
.ecs {
	color: #2b2b2b;
	font-size: 17px;
	line-height: 1.6;
}

.ecs * {
	box-sizing: border-box;
}

.ecs a {
	text-decoration: none;
	box-shadow: none;
	border-bottom: 0;
}

.ecs-crumbs {
	font-size: 14px;
	color: #5f6b6b;
	margin: 0 0 14px;
}

.ecs .ecs-crumbs a {
	color: #0f8a87;
}

.ecs-intro {
	background: #e8f6f5;
	border-radius: 16px;
	padding: 22px 24px;
	margin: 0 0 28px;
}

.ecs-intro p {
	margin: 0 0 14px;
}

.ecs-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ecs-tags span {
	background: #fff;
	border: 1px solid #cfe3e2;
	border-radius: 999px;
	padding: 4px 12px;
	font-size: 14px;
	color: #0f8a87;
	font-weight: 700;
}

.ecs h2.ecs-h {
	font-size: 22px;
	margin: 34px 0 14px;
	padding-bottom: 8px;
	border-bottom: 2px solid #dfe7e7;
}

.ecs-res {
	display: grid;
	grid-template-columns: repeat(auto-fill,minmax(230px,1fr));
	gap: 12px;
}

.ecs .ecs-res a {
	display: flex;
	gap: 12px;
	align-items: center;
	border: 1px solid #dfe7e7;
	border-radius: 12px;
	padding: 14px 16px;
	color: #2b2b2b;
	background: #fff;
	transition: .15s;
}

.ecs .ecs-res a:hover,.ecs .ecs-res a:focus {
	border-color: #0f8a87;
	box-shadow: 0 4px 14px rgba(15,138,135,.15);
}

.ecs-res b {
	display: block;
	font-size: 16px;
	line-height: 1.3;
}

.ecs-res small {
	color: #5f6b6b;
	font-size: 14px;
}

.ecs-res i {
	font-style: normal;
	font-size: 26px;
}

.ecs-index {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ecs .ecs-index a {
	border: 2px solid #0f8a87;
	color: #0f8a87;
	border-radius: 999px;
	padding: 5px 13px;
	font-size: 14px;
	font-weight: 700;
	transition: .15s;
}

.ecs .ecs-index a:hover,.ecs .ecs-index a:focus {
	background: #0f8a87;
	color: #fff;
}

.ecs-block {
	margin: 38px 0 0;
}

.ecs .ecs-block h2 {
	font-size: 15px;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #0f8a87;
	margin: 0 0 4px;
}

.ecs-block > p {
	margin: 0 0 16px;
	font-size: 20px;
	line-height: 1.35;
	font-weight: 700;
}

.ecs-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill,minmax(300px,1fr));
	gap: 18px;
}

.ecs-ud {
	border: 1px solid #dfe7e7;
	border-radius: 14px;
	overflow: hidden;
	background: #fff;
	display: flex;
	flex-direction: column;
}

.ecs .ecs-ud img {
	display: block;
	width: 100%;
	height: 170px;
	object-fit: cover;
	margin: 0;
}

.ecs-body {
	padding: 16px 18px 18px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.ecs-num {
	align-self: flex-start;
	background: #0f8a87;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	border-radius: 6px;
	padding: 2px 9px;
	margin-bottom: 8px;
}

.ecs .ecs-ud h3 {
	font-size: 19px;
	line-height: 1.3;
	margin: 0 0 8px;
}

.ecs-ud p {
	margin: 0 0 10px;
	font-size: 15px;
	color: #4a5555;
}

.ecs-ud details {
	margin: 0 0 14px;
	font-size: 15px;
	color: #4a5555;
}

.ecs-ud summary {
	cursor: pointer;
	color: #0f8a87;
	font-weight: 700;
	font-size: 14px;
}

.ecs-ud details p,.ecs-ud details ul {
	margin: 10px 0 0;
}

.ecs-ud details li {
	margin: 2px 0;
}

.ecs .ecs-go {
	margin-top: auto;
	display: block;
	text-align: center;
	background: #0f8a87;
	color: #fff;
	border-radius: 10px;
	padding: 10px;
	font-weight: 700;
	font-size: 15px;
	transition: .15s;
}

.ecs .ecs-go:hover,.ecs .ecs-go:focus {
	background: #0b6f6c;
	color: #fff;
}

.ecs-foot {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	margin: 44px 0 10px;
	padding-top: 24px;
	border-top: 2px solid #dfe7e7;
}

.ecs .ecs-foot a {
	border: 2px solid #0f8a87;
	color: #0f8a87;
	border-radius: 999px;
	padding: 8px 16px;
	font-size: 15px;
	font-weight: 700;
}

.ecs .ecs-foot a.ecs-yt {
	background: #d62020;
	border-color: #d62020;
	color: #fff;
}

.ecs .ecs-foot a.ecs-ig {
	background: #b1338f;
	border-color: #b1338f;
	color: #fff;
}

@media (max-width:600px) {
	.ecs {
		font-size: 16px;
	}
	
	.ecs-intro {
		padding: 18px;
	}
	
	.ecs-grid {
		grid-template-columns: 1fr;
	}
}

/* Asignaturas: botón PDF y notas */
.ecs-btns {
	margin-top: auto;
	display: flex;
	gap: 8px;
}

.ecs-btns .ecs-go {
	flex: 1;
	margin-top: 0;
}

.ecs .ecs-pdf {
	display: flex;
	align-items: center;
	border: 2px solid #0f8a87;
	color: #0f8a87;
	border-radius: 10px;
	padding: 8px 12px;
	font-weight: 700;
	font-size: 15px;
	white-space: nowrap;
}

.ecs .ecs-pdf:hover,.ecs .ecs-pdf:focus {
	background: #e8f6f5;
	color: #0f8a87;
}

.ecs-ud ul {
	padding-left: 20px;
}

.ecs-note {
	border-left: 4px solid #0f8a87;
	background: #f6faf9;
	padding: 12px 16px;
	border-radius: 8px;
	margin: 16px 0;
	font-size: 15px;
}

/* ===== Estilo global de todas las páginas ===== */
.hero .entry-thumbnail img {
	width: 100%;
	height: 260px;
	object-fit: cover;
}

.entry-content img {
	max-width: 100%;
	height: auto;
}

.entry-content .wp-block-image img {
	border-radius: 10px;
}

.entry-content .wp-block-image figcaption {
	font-size: 14px;
	color: #5f6b6b;
	text-align: center;
}

.entry-content .wp-block-image a img {
	transition: .15s;
}

.entry-content .wp-block-image a:hover img {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(0,0,0,.18);
}

.entry-content hr.wp-block-coblocks-dynamic-separator {
	height: 28px !important;
}

.entry-content .wp-block-button__link {
	background-color: #0f8a87 !important;
	color: #fff !important;
	border-radius: 10px !important;
	font-weight: 700;
	box-shadow: none;
}

.entry-content .wp-block-button__link:hover,.entry-content .wp-block-button__link:focus {
	background-color: #0b6f6c !important;
}

.entry-content .wp-block-file {
	background: #f6faf9;
	border: 1px solid #dfe7e7;
	border-radius: 12px;
	padding: 12px 14px;
}

.entry-content .wp-block-file__embed {
	height: 520px !important;
	border-radius: 8px;
	margin-bottom: 10px;
}

.entry-content .wp-block-file .wp-block-file__button {
	background: #0f8a87;
	color: #fff;
	border-radius: 8px;
	padding: 6px 14px;
}

.entry-content iframe {
	max-width: 100%;
}

.entry-content > h2.wp-block-heading {
	border-bottom: 2px solid #dfe7e7;
	padding-bottom: 6px;
}

@media (max-width:781px) {
	.hero .entry-thumbnail img {
		height: 160px;
	}
	
	.entry-content .wp-block-columns:has(.wp-block-image):not(:has(p,ul,ol,h1,h2,h3,h4,.wp-block-buttons,.wp-block-file,iframe,table)) {
		display: grid !important;
		grid-template-columns: 1fr 1fr;
		gap: 12px;
	}
	
	.entry-content .wp-block-columns:has(.wp-block-image):not(:has(p,ul,ol,h1,h2,h3,h4,.wp-block-buttons,.wp-block-file,iframe,table)) > .wp-block-column {
		display: contents;
	}
	
	.entry-content .wp-block-columns:has(.wp-block-image):not(:has(p,ul,ol,h1,h2,h3,h4,.wp-block-buttons,.wp-block-file,iframe,table)) hr {
		display: none;
	}
	
	.entry-content .wp-block-columns:has(.wp-block-image):not(:has(p,ul,ol,h1,h2,h3,h4,.wp-block-buttons,.wp-block-file,iframe,table)) .wp-block-image {
		margin: 0;
	}
}

/* Páginas de unidad */
.ecs-pn {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	flex-wrap: wrap;
	margin: 0 0 20px;
}

.ecs .ecs-pn a {
	border: 1px solid #dfe7e7;
	border-radius: 10px;
	padding: 8px 12px;
	font-size: 14px;
	color: #0f8a87;
	background: #fff;
	max-width: 48%;
	line-height: 1.3;
}

.ecs .ecs-pn a:hover,.ecs .ecs-pn a:focus {
	border-color: #0f8a87;
}

.ecs-secs {
	display: grid;
	grid-template-columns: repeat(auto-fill,minmax(230px,1fr));
	gap: 10px;
}

.ecs .ecs-secs a {
	display: flex;
	gap: 10px;
	align-items: center;
	border: 1px solid #dfe7e7;
	border-left: 5px solid #0f8a87;
	border-radius: 10px;
	padding: 12px 14px;
	background: #fff;
	color: #2b2b2b;
	font-weight: 700;
	font-size: 15px;
	line-height: 1.3;
	transition: .15s;
}

.ecs .ecs-secs a:hover,.ecs .ecs-secs a:focus {
	border-color: #0f8a87;
	box-shadow: 0 4px 14px rgba(15,138,135,.15);
}

.ecs-secs b {
	color: #0f8a87;
	min-width: 38px;
}

.ecs-saber {
	border: 1px solid #dfe7e7;
	border-radius: 12px;
	padding: 12px 16px;
	background: #fbfdfd;
	margin: 0 0 10px;
}

.ecs-saber summary {
	cursor: pointer;
	font-weight: 700;
	color: #0f8a87;
}

.ecs-saber li {
	margin: 8px 0;
	font-size: 15px;
}

.ecs .ecs-kahoot a {
	background: #46178f;
	border-color: #46178f;
	color: #fff;
}

.ecs .ecs-kahoot a:hover,.ecs .ecs-kahoot a:focus {
	background: #2f0f61;
	color: #fff;
}

/* Infografía resumen al final de cada apartado */
.ecs-info {
	margin: 40px 0 12px;
	border: 2px solid #0f8a87;
	border-radius: 16px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 4px 14px rgba(15,138,135,.12);
}

.ecs-info-h {
	background: linear-gradient(135deg,#0f8a87,#16b3a5);
	color: #fff;
	padding: 16px 20px;
}

.ecs-info-h small {
	display: block;
	font-size: 12px;
	letter-spacing: .08em;
	text-transform: uppercase;
	opacity: .9;
	margin-bottom: 2px;
}

.ecs-info-h b {
	display: block;
	font-size: 22px;
	line-height: 1.25;
}

.ecs-info-c {
	padding: 18px 20px 20px;
}

.ecs-info-c p {
	margin: 0;
}

.ecs-info-idea {
	background: #fff7e0;
	border-left: 5px solid #f2b705;
	border-radius: 8px;
	padding: 12px 14px;
	margin: 0 0 16px !important;
	font-size: 16px;
	line-height: 1.55;
}

.ecs-info-steps {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 8px;
	align-items: center;
	justify-content: center;
	margin: 0 0 16px;
}

.ecs-info-steps span {
	background: #0f8a87;
	color: #fff;
	border-radius: 999px;
	padding: 7px 14px;
	font-size: 15px;
	font-weight: 600;
}

.ecs-info-steps em {
	font-style: normal;
	color: #0f8a87;
	font-weight: 700;
	font-size: 20px;
}

.ecs-info-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit,minmax(210px,1fr));
	gap: 12px;
}

.ecs-info-grid>div {
	background: #eef8f7;
	border: 1px solid #d6eeec;
	border-radius: 12px;
	padding: 12px 14px;
}

.ecs-info-grid i {
	display: block;
	font-style: normal;
	font-size: 28px;
	line-height: 1.1;
}

.ecs-info-grid b {
	display: block;
	color: #0b5f5d;
	margin: 6px 0 3px;
	font-size: 16px;
	line-height: 1.3;
}

.ecs-info-grid span {
	display: block;
	font-size: 14.5px;
	line-height: 1.5;
	color: #2f3b3b;
}

.ecs-info-pau {
	margin: 16px 0 0 !important;
	background: #fdeef1;
	border-left: 5px solid #d6455d;
	border-radius: 8px;
	padding: 10px 14px;
	font-size: 15px;
	line-height: 1.55;
}

.ecs-info-q {
	margin-top: 16px;
}

.ecs-info-q>p {
	margin-bottom: 6px !important;
}

.ecs-info-q details {
	border: 1px solid #dfe7e7;
	border-radius: 10px;
	padding: 9px 12px;
	margin: 6px 0;
	background: #fafcfc;
}

.ecs-info-q summary {
	cursor: pointer;
	font-weight: 600;
	color: #1f4f4e;
}

.ecs-info-q details p {
	margin-top: 8px !important;
	color: #2f3b3b;
}

@media (max-width:600px) {
	.ecs-info-h b {
		font-size: 19px;
	}
	
	.ecs-info-c {
		padding: 14px;
	}
}

/* Buscador de vídeos */
.ecs-hbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 16px;
	margin: 32px 0 12px;
}

.ecs-hbar .ecs-h {
	margin: 0 !important;
	flex: 1 1 auto;
}

a.ecs-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #0f8a87;
	color: #fff !important;
	text-decoration: none !important;
	font-weight: 700;
	border-radius: 999px;
	padding: 10px 18px;
	box-shadow: 0 2px 6px rgba(15,138,135,.25);
}

a.ecs-btn:hover {
	background: #0b6f6c;
}

.ecs-tip {
	background: #fff7e0;
	border-left: 5px solid #f2b705;
	border-radius: 8px;
	padding: 12px 14px;
	margin: 0 0 18px;
}

.ecs-az {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 18px;
}

.ecs-az a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 34px;
	height: 34px;
	border: 2px solid #0f8a87;
	border-radius: 8px;
	font-weight: 700;
	color: #0f8a87 !important;
	text-decoration: none !important;
}

.ecs-az a:hover {
	background: #0f8a87;
	color: #fff !important;
}

.ecs-letter {
	font-size: 26px;
	font-weight: 700;
	color: #0f8a87;
	border-bottom: 2px solid #d6eeec;
	margin: 26px 0 10px;
	padding-bottom: 4px;
}

.ecs-vlist {
	display: grid;
	gap: 10px;
}

.ecs-v {
	display: flex;
	gap: 12px;
	align-items: center;
	border: 1px solid #dfe7e7;
	border-radius: 12px;
	padding: 8px;
	background: #fff;
}

.ecs-v img {
	width: 128px;
	height: 72px;
	object-fit: cover;
	border-radius: 8px;
	flex: none;
	margin: 0 !important;
}

.ecs-v div {
	min-width: 0;
}

.ecs-v b {
	display: block;
	line-height: 1.3;
}

.ecs-v b a {
	color: #1f2a2a !important;
	text-decoration: none !important;
}

.ecs-v small {
	display: block;
	color: #5f6b6b;
	font-size: 13.5px;
	margin-top: 3px;
}

@media (max-width:520px) {
	.ecs-v img {
		width: 96px;
		height: 54px;
	}
}

/* Desplegable de PAU de otras comunidades */
.ecs-more summary {
	display: flex;
	gap: 12px;
	align-items: center;
	border: 1px solid #dfe7e7;
	border-radius: 12px;
	padding: 14px 16px;
	background: #fff;
	color: #2b2b2b;
	cursor: pointer;
	list-style: none;
	transition: .15s;
}

.ecs-more summary::-webkit-details-marker {
	display: none;
}

.ecs-more summary:hover,.ecs-more summary:focus-visible {
	border-color: #0f8a87;
	box-shadow: 0 4px 14px rgba(15,138,135,.15);
}

.ecs-more summary::after {
	content: "▸";
	margin-left: auto;
	color: #0f8a87;
	font-size: 18px;
	transition: transform .15s;
}

.ecs-more[open] {
	grid-column: 1/-1;
}

.ecs-more[open] summary {
	border-color: #0f8a87;
	background: #eef8f7;
}

.ecs-more[open] summary::after {
	transform: rotate(90deg);
}

.ecs-more .ecs-res {
	margin-top: 12px;
}

@media (prefers-reduced-motion:reduce) {
	.ecs-more summary,.ecs-more summary::after {
		transition: none;
	}
}

/* Colores por bloque de la asignatura */
.ecs .ecs-ba h2 {
	color: #2f6fd0;
}

.ecs .ecs-bb h2 {
	color: #8a4fc2;
}

.ecs .ecs-bc h2 {
	color: #c26f17;
}

.ecs .ecs-bd h2 {
	color: #1f8a5f;
}

.ecs .ecs-be h2 {
	color: #c2414b;
}

.ecs-ba .ecs-num {
	background: #2f6fd0;
}

.ecs-bb .ecs-num {
	background: #8a4fc2;
}

.ecs-bc .ecs-num {
	background: #c26f17;
}

.ecs-bd .ecs-num {
	background: #1f8a5f;
}

.ecs-be .ecs-num {
	background: #c2414b;
}

.ecs-ba .ecs-ud {
	border-top: 4px solid #2f6fd0;
}

.ecs-bb .ecs-ud {
	border-top: 4px solid #8a4fc2;
}

.ecs-bc .ecs-ud {
	border-top: 4px solid #c26f17;
}

.ecs-bd .ecs-ud {
	border-top: 4px solid #1f8a5f;
}

.ecs-be .ecs-ud {
	border-top: 4px solid #c2414b;
}

/* Etiqueta de qué entra en la PAU en cada unidad */
.ecs-pau {
	align-self: flex-start;
	display: inline-block;
	font-size: 12.5px;
	font-weight: 700;
	line-height: 1.3;
	border-radius: 999px;
	padding: 3px 10px;
	margin: 0 0 8px;
}

.ecs-pau-p {
	background: #fdeccf;
	color: #8a4b00;
}

.ecs-pau-t {
	background: #e8f1f1;
	color: #2f5f5e;
}

/* Calendario de la PAU */
.ecs-cal {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	align-items: baseline;
	background: #f4f9f9;
	border: 1px solid #dfe7e7;
	border-left: 4px solid #0f8a87;
	border-radius: 10px;
	padding: 12px 16px;
	margin: 18px 0 0;
	font-size: 15px;
}

.ecs-cal b {
	flex-basis: 100%;
	font-size: 16px;
}

.ecs-cal small {
	flex-basis: 100%;
	color: #5f6b6b;
	font-size: 13px;
}

/* Formulario de problemas */
.ecs-f {
	overflow-x: auto;
	margin: 0 0 8px;
}

.ecs .ecs-f table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
	margin: 0;
}

.ecs .ecs-f th {
	text-align: left;
	background: #0f8a87;
	color: #fff;
	padding: 8px 10px;
	font-size: 13px;
	letter-spacing: .03em;
}

.ecs .ecs-f td {
	border-bottom: 1px solid #dfe7e7;
	padding: 9px 10px;
	vertical-align: top;
}

.ecs .ecs-f tr:nth-child(even) td {
	background: #f7fbfb;
}

.ecs .ecs-f td:first-child {
	width: 22%;
}

.ecs .ecs-f code {
	font-family: inherit;
	font-size: 15px;
	background: #eef5f5;
	color: #123;
	padding: 2px 6px;
	border-radius: 5px;
	white-space: normal;
}

.ecs-f-ud {
	margin: -6px 0 10px;
	color: #5f6b6b;
	font-size: 14px;
}

.ecs-f-note {
	font-size: 14px;
	color: #5f6b6b;
	margin: 0 0 8px;
}

@media print {
	.ecs-pn, .ecs-foot, .ecs-index, .ecs-res, .site-header, .site-footer, #masthead, #colophon, .main-navigation {
		display: none !important;
	}
	
	.ecs .ecs-f th {
		background: #ddd !important;
		color: #000 !important;
	}
}

/* Fracciones en las fórmulas: numerador, raya de fracción y denominador */
.ecs .ecs-fr, .ecs-fr {
	display: inline-flex !important;
	flex-direction: column;
	align-items: center;
	vertical-align: middle;
	text-align: center;
	width: auto !important;
	line-height: 1.25;
	margin: 2px .2em;
}

.ecs .ecs-fr > span, .ecs-fr > span {
	display: block !important;
	width: auto !important;
	margin: 0 !important;
	padding: 0 .3em;
	font-size: inherit !important;
	color: inherit !important;
}

.ecs .ecs-fr > span:first-child, .ecs-fr > span:first-child {
	border-bottom: 1.5px solid currentColor;
	padding-bottom: 2px;
}

.ecs .ecs-fr > span:last-child, .ecs-fr > span:last-child {
	padding-top: 2px;
}