/*******************************/
/* GENERAL                     */
/*******************************/
html,
body {
	height: 100%;
}

html { font-size: 16px; }
body {
	font-family: 'Biennale-Regular', sans-serif;
	font-size: 1.1rem;
	color: #0e0e0e;
	background-color: #fff;
	height: 100%;
	margin: 0;

	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-smooth: antialiased;
	text-rendering: optimizeLegibility;
}

a, button, .button {
	transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
	-webkit-transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
	-moz-transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
	-o-transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}
a {
	outline: none;
	color: #2762f8;
}
a:focus, a:hover { color: #2762f8; }

hr {
	border: 0;
	height: 1px;
	background-color: #002e66;
	margin: 50px 0;
}
hr.light {
	background-color: #dddd;
}


/*******************************/
/* STRUCTURE                   */
/*******************************/

/*
@media ( max-width: 599px ) { .grid-container { padding: 60px 20px; } }
@media ( min-width: 600px ) { .grid-container { padding: 100px 20px; } }
.grid-container.first { padding-top: 130px; }
*/

#pattern {
	background-image: url('../img/pattern.png');
	background-size: 120%;
	background-position: center;
	background-repeat: no-repeat;
}


.dark { background-color: #001C46; }
.light { background-color: #F2F5FA; }


/*******************************/
/* TYPOGRAPHY                  */
/*******************************/
.text-dark  { color: #0e0e0e; }
.text-light { color: #eeeeee; }
.text-blue  { color: #2762f8; }

p {
	font-size: 1.10rem;
	color: #0e0e0e;
}

.lead {
	font-family: 'Biennale-Regular', sans-serif;
	font-size: 1.3rem;
	line-height: 1.5;
	margin-bottom: 30px;
}
.lead.text-light { font-family: 'Biennale-Regular', sans-serif; }

.subs {
	font-family: 'Biennale-Regular', sans-serif;
	font-size: 0.8rem;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Biennale-Regular', sans-serif;
	--letter-spacing: -2px;
	font-weight: normal;
	color: #001C46;
	line-height: 1.1;
	margin-bottom: 30px;
}
h1 { font-size: 2.8rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.2rem; }
h6 { font-size: 1.1rem; }

h1.text-light,
h2.text-light,
h3.text-light,
h4.text-light,
h5.text-light,
h6.text-light { --font-family: 'Biennale-Regular', sans-serif; }

h1.huge {
	letter-spacing: -4px;
	line-height: 1;
}

@media ( min-width: 600px ) {
	h1 { font-size: 3rem; }
	h2 { font-size: 2.8rem; }
}
@media ( min-width: 768px ) {
	h1 { font-size: 3.6rem; }
	h2 { font-size: 3rem; }
	h3 { font-size: 1.8rem; }
}
@media ( min-width: 1024px ) {
	h1 { font-size: 4rem; }
	h2 { font-size: 3.2rem; }
	h3 { font-size: 2.8rem; letter-spacing: -2px; }
}
@media ( min-width: 1280px ) {
	h1 {
		font-size: 6rem;
		letter-spacing: -4px;
		line-height: 1;
	}

	h1.podcast { font-size: 4rem !important; }

	h2 { font-size: 4.2rem; }
	h3 { font-size: 2.8rem; letter-spacing: -2px;}
	h4 { font-size: 2rem; }
}


/*******************************/
/* BUTTONS                     */
/*******************************/
.button, button {
	font-family: 'Biennale-Regular', sans-serif;
	font-size: 0.95rem;

	text-rendering: geometricPrecision;
	background-color: #2762f8;
	border: 0px transparent;
	color: #fff;

	border-radius: 100px;
	padding: 15px 50px;
}
.button:hover, .button:focus,
button:hover, button:focus { background-color: #214bb7; }
@media ( min-width: 480px ) {
	.button, button { width: auto; }
}
.button.huge  {
	font-size: 1rem;
	margin-top: 20px;
	padding: 25px 55px;
}


/*******************************/
/* REVEAL                      */
/*******************************/
.reveal {
	border-radius: 15px;
	padding: 50px 20px;
}
.reveal .close-button {
	padding: 20px;
	background-color: transparent;
}
@media (max-width: 639px) {
	.reveal { border-radius: 0; }
}

.reveal-overlay {
	background-color: rgba(0, 0, 0, 0.75);
}

#join-newsletter.reveal h3 { font-size: 2rem; }
@media (max-width: 1023px) { #join-newsletter.reveal h3 { font-size: 2rem; } }


/*******************************/
/* FOOTER                      */
/*******************************/
.footer {
	border-top: 1px solid #dbdbdb;
	padding-top: 20px;
	padding-bottom: 20px;
}
.footer .grid-container { padding: 0 20px; }
.footer p {
	font-size: 0.9rem;
	margin: 0;
}
.footer img {
	width: 40px;
	padding: 0 10px;
	margin-bottom: 10px;
}
@media (min-width: 640px) { 
	.footer a.legal-link { margin-right: 20px; }
	.footer img {
		width: 20px;
		padding: 0;
		margin: 0;
		margin-left: 10px;
	}
}


/*******************************/
/* APP STYLES BEGIN HERE       */
/*******************************/
:root {
	--course-ui-top-offset: 0px;
	--tf-accent: #481c6d;
	--tf-accent-hover: #351451;
	--tf-accent-soft: rgba(72, 28, 109, 0.08);
	--tf-accent-link: #481c6d;
}

/* evita que el contenido fuerce el ancho de las columnas en flex */
.tf-sidebar,
.tf-player {
	min-width: 0;
	min-height: 0;
}

/* altura visible del layout (si tu header ocupa espacio real, ajustá esta variable) */
.tf-course {
	height: calc(100dvh - var(--course-ui-top-offset, 0px));
	max-height: calc(100dvh - var(--course-ui-top-offset, 0px));
	overflow: hidden;
}

.tf-course-row {
	height: 100%;
	max-height: 100%;
	min-height: 0;
	overflow: hidden;
}

/* panel izquierdo: no scrollea el aside, scrollea el wrapper interno */
.tf-sidebar {
	height: 100%;
	max-height: 100%;
	overflow: hidden;
	display: flex;
}

.tf-player {
	display: flex;
	flex-direction: column;
	height: 100%;
	max-height: 100%;
	padding-right: 2rem;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

.tf-sidebar-panel {
	display: flex;
	flex-direction: column;
	height: 100%;
	max-height: 100%;
	width: 100%;
	overflow: hidden;
}

.tf-sidebar-brand {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex: 0 0 auto;
	min-width: 0;
	padding: 18px 10px;
	font-family: "Biennale-Semibold", sans-serif;
	color: #3f4652;
	border-bottom: 1px #dedede solid;
}
.tf-sidebar-logo {
	width: 180px;
	max-width: 100%;
	height: auto;
	min-width: 0;
}

.tf-sidebar-logo-light,
.tf-mobile-logo-light {
	mix-blend-mode: multiply;
}

.tf-sidebar-logo-dark,
.tf-mobile-logo-dark {
	filter: invert(1);
	mix-blend-mode: screen;
}

.tf-sidebar-logo-dark {
	display: none;
}

body.is-dark-mode .tf-sidebar-logo-light {
	display: none;
}

body.is-dark-mode .tf-sidebar-logo-dark {
	display: block;
}

.tf-theme-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background-color: transparent;
	cursor: pointer;
}

.tf-theme-toggle:hover,
.tf-theme-toggle:focus {
	background-color: rgba(72, 28, 109, 0.08);
}

.tf-theme-toggle-icon {
	width: 22px;
	height: 22px;
}

.tf-theme-toggle-icon-sun {
	display: none;
}

.tf-account-menu {
	position: relative;
	display: inline-flex;
	flex: 0 0 auto;
}

.tf-account-trigger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	min-height: 42px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background-color: transparent;
	color: #231f20;
	cursor: pointer;
}

.tf-account-trigger svg {
	width: 32px;
	height: 32px;
	overflow: visible;
}

.tf-account-avatar-ring {
	fill: none;
	stroke: currentColor;
	stroke-width: 4;
}

.tf-account-avatar-head,
.tf-account-avatar-body {
	fill: currentColor;
	stroke: none;
}

.tf-account-trigger:hover,
.tf-account-trigger:focus,
.tf-account-trigger[aria-expanded="true"] {
	background-color: rgba(72, 28, 109, 0.08);
	color: #231f20;
}

.tf-account-dropdown.dropdown-pane {
	z-index: 40;
	width: min(240px, calc(100vw - 2rem));
	padding: 8px;
	border: 1px solid #e0dde3;
	border-radius: 14px;
	background-color: #fff;
	box-shadow: 0 16px 38px rgba(20, 15, 25, 0.16);
}

.tf-account-nav {
	display: flex;
	flex-direction: column;
}

.tf-account-nav-item {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	width: 100%;
	min-height: 42px;
	margin: 0;
	padding: 11px 12px;
	border: 0;
	border-radius: 9px;
	background-color: transparent;
	color: #25242a;
	font-family: "Biennale-Regular", sans-serif;
	font-size: 0.95rem;
	line-height: 1.25;
	text-align: left;
	cursor: pointer;
}

.tf-account-item-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
}

.tf-account-item-icon svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.tf-account-nav-item:hover,
.tf-account-nav-item:focus {
	background-color: rgba(72, 28, 109, 0.08);
	color: var(--tf-accent);
}

.tf-account-logout {
	margin-top: 5px;
	border-top: 1px solid #ece9ee;
	border-radius: 0 0 9px 9px;
}

.tf-account-mode-dark,
.tf-account-mode-light {
	align-items: center;
	gap: 0.7rem;
	width: 100%;
}

.tf-account-mode-dark {
	display: flex;
}

.tf-account-mode-light {
	display: none;
}

body.is-dark-mode .tf-account-mode-dark {
	display: none;
}

body.is-dark-mode .tf-account-mode-light {
	display: flex;
}

.tf-sidebar-close-button {
	display: none;
}

.tf-sidebar-close-button {
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background-color: transparent;
	color: #3f4652;
	cursor: pointer;
}

.tf-sidebar-close-button svg {
	width: 24px;
	height: 24px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
}

.tf-sidebar-close-button:hover,
.tf-sidebar-close-button:focus {
	background-color: rgba(72, 28, 109, 0.08);
	color: #481c6d;
}

body.is-dark-mode .tf-theme-toggle-icon-moon {
	display: none;
}

body.is-dark-mode .tf-theme-toggle-icon-sun {
	display: block;
}

.tf-sidebar-product-nav {
	display: flex;
	flex-direction: column;
	gap: 1px;
	flex: 0 0 auto;
	padding: 8px 0;
	border-bottom: 1px #dedede solid;
}

.tf-sidebar-product-link {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	min-height: 40px;
	padding: 2px 10px;
	border-radius: 10px;
	color: #3f4652;
	line-height: 1;
}

.tf-sidebar-product-link:hover,
.tf-sidebar-product-link:focus,
.tf-sidebar-product-link.is-active {
	background-color: rgba(72, 28, 109, 0.08);
	color: #481c6d;
}

.tf-sidebar-product-link.is-active {
	font-family: "Biennale-Semibold", sans-serif;
}

/* SIDEBAR PRODUCT ICONS - SIZE AND WEIGHT */
.tf-sidebar-product-icon {
	--icon-size: 24px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 32px;
	width: 32px;
	height: 30px;
}

.tf-sidebar-product-icon svg {
	width: var(--icon-size);
	height: var(--icon-size);
	fill: none;
	stroke: currentColor;
	stroke-width: 1.75;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.tf-sidebar-product-icon-curso {
	--icon-size: 18px;
}

.tf-sidebar-product-icon svg.tf-icon-curso {
	fill: currentColor;
	stroke: currentColor;
	stroke-width: 0;
}

.tf-sidebar-scroll {
	flex: 1 1 auto;
	min-height: 0;
	height: 100%;
	max-height: 100%;
	margin-right: -20px;
	padding-right: 20px;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

.tf-index-toggle,
.tf-index-overlay {
	display: none;
}

.tf-mobile-logo {
	display: none;
}

.tf-topbar-actions {
	display: none;
}

@media print, screen and (min-width: 64em) {
	.tf-course-row {
		flex-wrap: nowrap;
	}
}

@media screen and (max-width: 63.9375em) {
	.tf-course {
		overflow: hidden;
	}

	.tf-course-row {
		position: relative;
		display: block;
		margin-right: 0;
		margin-left: 0;
	}

	.tf-course-row.grid-margin-x > .tf-sidebar,
	.tf-course-row.grid-margin-x > .tf-player {
		width: 100%;
		margin-right: 0;
		margin-left: 0;
	}

	.tf-sidebar {
		position: fixed;
		z-index: 30;
		top: var(--course-ui-top-offset, 0px);
		bottom: 0;
		left: 0;
		width: 100%;
		height: auto;
		max-height: none;
		margin-right: 0;
		margin-left: 0;
		transform: translateX(-101%);
		transition: transform 0.25s ease-in-out;
	}

	.tf-course.is-index-open .tf-sidebar {
		transform: translateX(0);
	}

	.tf-player {
		width: 100%;
		flex: 0 0 100%;
		max-width: 100%;
		height: 100%;
		min-height: calc(100vh - var(--course-ui-top-offset, 0px));
		min-height: calc(100svh - var(--course-ui-top-offset, 0px));
		min-height: calc(100dvh - var(--course-ui-top-offset, 0px));
		max-height: 100%;
		margin-right: 0;
		margin-left: 0;
		padding-right: 1rem;
		padding-left: 1rem;
	}

	.tf-product-nav {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
		position: relative;
		align-items: center;
		align-content: center;
		height: 58px;
		min-height: 58px;
		margin-right: -1rem;
		margin-left: -1rem;
		padding-right: clamp(1.25rem, 4vw, 2rem);
		padding-left: clamp(1.25rem, 4vw, 2rem);
		background-color: #f9f8f9;
		box-shadow: inset 0 -12px 10px -12px rgba(0, 0, 0, 0.05);
	}

	.tf-sidebar-close-button {
		display: inline-flex;
	}

	.tf-index-toggle {
		display: inline-flex;
		grid-column: 1;
		align-items: center;
		justify-content: center;
		justify-self: start;
		gap: 0.45rem;
		padding: 0;
		border: 0;
		border-radius: 0;
		background-color: transparent;
		color: #3f4652;
		font-family: "Biennale-Semibold", sans-serif;
		font-size: 1.1rem;
		line-height: 1;
	}

	.tf-index-toggle-icon {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 24px;
		height: 24px;
	}

	.tf-index-toggle-icon svg {
		width: 24px;
		height: 24px;
		fill: none;
		stroke: currentColor;
		stroke-width: 1.75;
		stroke-linecap: round;
		stroke-linejoin: round;
	}

	.tf-index-toggle:hover,
	.tf-index-toggle:focus {
		background-color: transparent;
		color: #0e0e0e;
	}

	.tf-mobile-logo {
		display: block;
		grid-column: 2;
		align-self: center;
		width: clamp(150px, 28vw, 180px);
		max-width: 100%;
	}

	.tf-mobile-logo img {
		width: 100%;
		height: auto;
	}

	.tf-mobile-logo-dark {
		display: none;
	}

	.tf-topbar-actions {
		display: inline-flex;
		grid-column: 3;
		align-items: center;
		align-self: center;
		justify-self: end;
	}

	.tf-topbar-actions .tf-account-trigger {
		width: 38px;
		height: 38px;
		min-height: 38px;
	}

	.tf-player-actions {
		display: none;
	}

	.tf-index-overlay {
		position: fixed;
		z-index: 20;
		inset: 0;
		width: 100%;
		height: 100%;
		padding: 0;
		border: 0;
		background-color: rgba(0, 0, 0, 0.28);
	}

	.tf-course.is-index-open .tf-index-overlay {
		display: block;
	}

}

/* panel visual */
.apple-panel {
	background-color: #fbfbfb;
	box-shadow: inset -12px 0 10px -12px rgba(0, 0, 0, 0.05);
	padding: 0 20px;
}

.accordion-title {
	padding: 15px 30px 15px 20px ;
	border: 0;
	border-top: 1px #dedede solid;
	font-family: "Biennale-Semibold";
	font-size: 1.2rem;
	line-height: 1;
	color: #000;
}
.tf-sidebar .accordion > .accordion-item:first-child > .accordion-title {
	border-top: 0;
}

.accordion-title::before {
	top: 50%;
	right: 1rem;
	width: 0.7rem;
	height: 0.7rem;
	margin-top: -0.35rem;
	border-top: 2px solid #9aa3b2;
	border-right: 2px solid #9aa3b2;
	content: "";
	transform: rotate(45deg);
	transform-origin: center;
}

.accordion-item.is-active > .accordion-title::before {
	border-color: #d7deec;
	content: "";
	transform: rotate(-45deg);
}

.accordion-item.is-active > .accordion-title,
.accordion-item.is-active > .accordion-title:hover,
.accordion-item.is-active > .accordion-title:focus {
	background-color: #481c6d;
	color: #fff !important;
	border-radius: 10px;
	margin-bottom: 10px;
}

.accordion-content {
	padding: 0 1rem;
	border: 0;
	border-bottom: 0;
	background-color: transparent;
	color: #0a0a0a;
}

.accordion-content ul.video-list {
	list-style: none;
	margin: 0;
	padding: 0;
	background-color: transparent;
}

.tf-course-sections {
	margin: 0;
	padding: 0;
	background-color: transparent;
}

.tf-course-section-title {
	margin: 0 0 10px;
	padding: 15px 20px;
	border: 0;
	border-radius: 10px;
	background-color: #481c6d;
	font-family: "Biennale-Semibold", sans-serif;
	font-size: 1.2rem;
	line-height: 1;
	color: #fff;
}

.tf-course-section-content {
	padding: 0 1rem;
	color: #0a0a0a;
}

.tf-course-section-content ul.video-list {
	list-style: none;
	margin: 0;
	padding: 0;
	background-color: transparent;
}

ul.video-list li {
	padding: 8px 0;
	line-height: 1;
}

ul.video-list li:last-child {
	margin-bottom: 20px;
}

.tf-video-link {
	display: inline-flex;
	align-items: flex-start;
	gap: 0.45rem;
	color: #3f4652;
	line-height: 1.1;
}

.tf-video-link-text {
	display: flex;
	flex-direction: column;
	gap: 0.18rem;
	min-width: 0;
}

.tf-video-title {
	display: block;
}

.tf-video-resource-link {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	margin: 0.7rem 0 0;
	padding: 0.68rem 1rem;
	font-family: "Biennale-Semibold", sans-serif;
	font-size: 0.95rem;
	line-height: 1.15;
	color: #fff;
	background-color: var(--tf-accent);
	border: 1px solid var(--tf-accent);
	border-radius: 999px;
	box-shadow: none;
	text-decoration: none;
}

.tf-video-resource-link:hover,
.tf-video-resource-link:focus-visible {
	color: #fff;
	background-color: var(--tf-accent-hover);
	border-color: var(--tf-accent-hover);
}

.tf-video-resource-link:focus-visible {
	outline: 3px solid rgba(72, 28, 109, 0.3);
	outline-offset: 3px;
}

.tf-video-resource-icon {
	flex: 0 0 1.15rem;
	width: 1.15rem;
	height: 1.15rem;
}

.tf-video-link::before {
	flex: 0 0 1.15rem;
	width: 1.15rem;
	min-width: 1.15rem;
	max-width: 1.15rem;
	height: 0.85rem;
	min-height: 0.85rem;
	max-height: 0.85rem;
	margin-top: 0.1em;
	border-radius: 4px;
	background-color: #b8bdc5;
	background-image: url("data:image/svg+xml,%3Csvg width='9' height='10' viewBox='0 0 9 10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 5L1 9V1L8 5Z' fill='white'/%3E%3C/svg%3E");
	background-position: 55% 50%;
	background-repeat: no-repeat;
	background-size: 0.5rem 0.56rem;
	content: "";
	transition: background-color 0.3s ease-in-out;
}

.tf-video-link:hover,
.tf-video-link:focus,
.tf-video-link.is-active {
	font-family: "Biennale-Semibold", sans-serif;
	color: #2762f8;
}

.tf-video-link:hover::before,
.tf-video-link:focus::before,
.tf-video-link.is-active::before {
	background-color: #2762f8;
}

.accordion-title:focus,
.accordion-title:hover {
	background-color: transparent;
	color: #000 !important;
}

:last-child>.accordion-content:last-child {
	border-bottom: 0;
}
.accordion-item:last-child>:last-child {
	border-radius: 0;
}
:last-child:not(.is-active)>.accordion-title {
	border-bottom: 0;
	border-radius: 0;
}


/*******************************/
/* BUNNY                       */
/*******************************/
.bunny {
	position: relative;
	flex: 0 0 auto;
	margin-top: 20px;
}

.tf-bunny-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: clamp(1.5rem, 5vw, 4rem);
	margin-bottom: 24px;
}

.tf-bunny-title-block {
	flex: 1 1 auto;
	min-width: 0;
	max-width: calc(100% - 7rem);
}

.tf-bunny-title-block h1,
.tf-bunny-title-block h3 {
	margin-bottom: 0;
	overflow-wrap: anywhere;
}

.tf-bunny-title-block h1 {
	font-size: clamp(2rem, 3vw, 3.25rem);
	line-height: 1.05;
	letter-spacing: -0.025em;
}

.tf-bunny-actions {
	display: inline-flex;
	align-items: flex-start;
	justify-content: flex-end;
	gap: 0.45rem;
	flex: 0 0 auto;
	padding-top: 0.15rem;
}

.tf-player-actions {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 5;
}

@media screen and (max-width: 63.9375em) {
	.tf-player-actions {
		display: none;
	}
}

p.chapter {
	font-family: 'Biennale-Bold', sans-serif;
	margin-bottom: 0;
}

.tf-video-frame {
	position: relative;
	width: 100%;
	aspect-ratio: var(--tf-video-aspect, 16 / 9);
	margin-inline: auto;
}

.tf-video-frame.is-portrait {
	max-width: min(100%, 32rem);
}

.tf-video-frame iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
	border-radius: 10px;
}

.tf-video-unavailable {
	display: grid;
	min-height: 18rem;
	place-items: center;
	padding: 2rem;
	border: 1px solid #d9d9df;
	border-radius: 10px;
	background: #f7f6f8;
	color: #414550;
	text-align: center;
}

.tf-video-unavailable p {
	margin: 0;
}

.is-dark-mode .tf-video-unavailable {
	border-color: #383a42;
	background: #1b1c22;
	color: #f4f4f6;
}

.tf-course-copyright {
	margin: auto 0 0;
	padding: 32px 0 20px;
	color: #6f7480;
	font-family: "Biennale-Regular", sans-serif;
	font-size: 0.9rem;
	text-align: center;
}

.tf-library-nav {
	display: flex;
	gap: 10px;
	padding: 14px 0;
}

.tf-library-link {
	font-family: "Biennale-Semibold", sans-serif;
}

.tf-library-link.is-active {
	color: #000;
}

.tf-product-nav {
	display: none;
	align-items: center;
	gap: 0.75rem;
	flex-wrap: wrap;
	padding: 14px 0;
}

.tf-course-message {
	padding: 24px 0;
}

.tf-empty-chapter {
	margin: 0;
	padding: 8px 0;
	color: #555;
}

.tf-course-library {
	min-height: 100dvh;
	padding-top: 64px;
	padding-bottom: 64px;
}

.tf-library-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 32px;
	margin-bottom: 48px;
}

.tf-library-header h1 {
	margin: 0 0 12px;
	font-family: "Biennale-Semibold", sans-serif;
	font-size: clamp(2.8rem, 7vw, 5.4rem);
	letter-spacing: -0.04em;
}

.tf-library-header p,
.tf-library-empty p {
	margin: 0;
	color: #5e6470;
}

.tf-library-eyebrow,
.tf-course-card-type {
	margin: 0 0 10px !important;
	font-family: "Biennale-Semibold", sans-serif;
	font-size: 0.78rem !important;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--tf-accent) !important;
}

.tf-library-header > .tf-account-menu {
	margin-top: 4px;
}

.tf-library-empty {
	max-width: 680px;
	padding: 40px;
	border: 1px solid #e4e2e5;
	border-radius: 22px;
	background: #f9f8f9;
}

.tf-library-empty h2 {
	margin-bottom: 12px;
	font-family: "Biennale-Semibold", sans-serif;
	font-size: 1.8rem;
}

.tf-course-cards .cell {
	margin-bottom: 28px;
}

.tf-course-card {
	height: 100%;
	overflow: hidden;
	border: 1px solid #e4e2e5;
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 14px 38px rgba(35, 21, 49, 0.08);
}

.tf-course-card-art {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 210px;
	background: linear-gradient(145deg, #f0e6f8, #dce8ff);
	color: var(--tf-accent);
}

.tf-course-card-art svg {
	width: 92px;
	height: 92px;
}

.tf-course-card-content {
	padding: 28px;
}

.tf-course-card h2 {
	min-height: 2.4em;
	margin: 0 0 28px;
	font-family: "Biennale-Semibold", sans-serif;
	font-size: 1.75rem;
}

.tf-course-card-button.button {
	margin: 0;
	background: var(--tf-accent);
}

.tf-course-card-button.button:hover,
.tf-course-card-button.button:focus {
	background: var(--tf-accent-hover);
}

.tf-course-back-link {
	display: block;
	padding: 18px 10px;
	font-family: "Biennale-Semibold", sans-serif;
	color: var(--tf-accent-link);
	border-bottom: 1px solid #dedede;
}

@media screen and (max-width: 39.9375em) {
	.tf-course-library {
		padding-top: 32px;
		padding-bottom: 32px;
	}

	.tf-library-header {
		align-items: flex-end;
		margin-bottom: 32px;
	}

	.tf-library-header > div {
		min-width: 0;
	}

	.tf-library-header > div > p:last-child {
		display: none;
	}

	.tf-library-empty {
		padding: 28px 24px;
	}
}

/* FIX: que la sombra no se recorte y que no aparezca fondo blanco */
.tf-sidebar-panel.apple-panel{
	overflow:hidden;
	background-color:#f9f8f9;
}

.tf-sidebar-scroll{
	background-color:transparent;
}

.tf-sidebar-panel.apple-panel .accordion{
	background-color:transparent;
}

/*******************************/
/* DARK MODE                   */
/*******************************/
body.is-dark-mode {
	--tf-accent: #9b63ff;
	--tf-accent-hover: #b98cff;
	--tf-accent-soft: rgba(155, 99, 255, 0.18);
	--tf-accent-link: #caa8ff;
	background-color: #101114;
	color: #e8e8ec;
}

body.is-dark-mode .tf-course,
body.is-dark-mode .tf-player,
body.is-dark-mode .tf-course-library {
	background-color: #101114;
}

body.is-dark-mode .tf-library-header h1,
body.is-dark-mode .tf-library-empty h2,
body.is-dark-mode .tf-course-card h2 {
	color: #f2f2f5;
}

body.is-dark-mode .tf-library-header p,
body.is-dark-mode .tf-library-empty p {
	color: #a8abb4;
}

body.is-dark-mode .tf-library-empty,
body.is-dark-mode .tf-course-card {
	border-color: #2d2d34;
	background: #19191e;
}

body.is-dark-mode .tf-course-card-art {
	background: linear-gradient(145deg, #2d1c3f, #1d2c49);
}

body.is-dark-mode .tf-course-back-link {
	border-bottom-color: #2d2d34;
}

body.is-dark-mode .tf-sidebar-panel.apple-panel {
	background-color: #19191e;
	box-shadow: inset -12px 0 10px -12px rgba(0, 0, 0, 0.45);
}

body.is-dark-mode .tf-product-nav {
	background-color: #17171b;
	box-shadow: inset 0 -12px 10px -12px rgba(0, 0, 0, 0.45);
}

body.is-dark-mode .tf-sidebar-brand {
	border-bottom-color: #2d2d34;
	color: #e8e8ec;
}

body.is-dark-mode .accordion-title {
	border-top-color: #2d2d34;
	color: #f2f2f5;
}

body.is-dark-mode .accordion-title:focus,
body.is-dark-mode .accordion-title:hover {
	color: #f2f2f5 !important;
}

body.is-dark-mode .accordion-content {
	color: #d9d9df;
}

body.is-dark-mode .tf-course-section-content {
	color: #d9d9df;
}

body.is-dark-mode .tf-video-link {
	color: #c7c9d1;
}

body.is-dark-mode .tf-video-link::before {
	background-color: #5e6470;
}

body.is-dark-mode .tf-video-link:hover,
body.is-dark-mode .tf-video-link:focus,
body.is-dark-mode .tf-video-link.is-active {
	color: #8facff;
}

body.is-dark-mode .tf-video-link:hover::before,
body.is-dark-mode .tf-video-link:focus::before,
body.is-dark-mode .tf-video-link.is-active::before {
	background-color: #8facff;
}

body.is-dark-mode .tf-player h1,
body.is-dark-mode .tf-player h3,
body.is-dark-mode p.chapter {
	color: #f2f2f5;
}

body.is-dark-mode .tf-course-copyright {
	color: #a8abb4;
}

body.is-dark-mode .tf-sidebar-product-nav {
	border-bottom-color: #2d2d34;
}

body.is-dark-mode .tf-sidebar-product-link {
	color: #d9dbe2;
}

body.is-dark-mode .tf-sidebar-product-link:hover,
body.is-dark-mode .tf-sidebar-product-link:focus,
body.is-dark-mode .tf-sidebar-product-link.is-active {
	background-color: rgba(255, 255, 255, 0.08);
	color: #fff;
}

body.is-dark-mode .tf-sidebar-close-button {
	color: #e8e8ec;
}

body.is-dark-mode .tf-sidebar-close-button:hover,
body.is-dark-mode .tf-sidebar-close-button:focus {
	background-color: rgba(255, 255, 255, 0.08);
	color: #fff;
}

body.is-dark-mode .tf-theme-toggle:hover,
body.is-dark-mode .tf-theme-toggle:focus {
	background-color: rgba(255, 255, 255, 0.08);
}

body.is-dark-mode .tf-account-trigger {
	color: #fff;
}

body.is-dark-mode .tf-account-trigger:hover,
body.is-dark-mode .tf-account-trigger:focus,
body.is-dark-mode .tf-account-trigger[aria-expanded="true"] {
	background-color: rgba(255, 255, 255, 0.08);
	color: #fff;
}

body.is-dark-mode .tf-account-dropdown.dropdown-pane {
	border-color: #35353d;
	background-color: #1b1b20;
	box-shadow: 0 16px 38px rgba(0, 0, 0, 0.45);
}

body.is-dark-mode .tf-account-nav-item {
	color: #e8e8ec;
}

body.is-dark-mode .tf-account-nav-item:hover,
body.is-dark-mode .tf-account-nav-item:focus {
	background-color: rgba(255, 255, 255, 0.08);
	color: #fff;
}

body.is-dark-mode .tf-account-logout {
	border-top-color: #35353d;
}

body.is-dark-mode .tf-index-toggle {
	color: #e8e8ec;
}

body.is-dark-mode .tf-index-toggle:hover,
body.is-dark-mode .tf-index-toggle:focus {
	color: #fff;
}

body.is-dark-mode .tf-mobile-logo-light {
	display: none;
}

body.is-dark-mode .tf-mobile-logo-dark {
	display: block;
}

@media screen and (max-width: 63.9375em) {
	.tf-product-nav {
		display: grid;
		padding-right: 20px;
		padding-left: 20px;
	}

}


/*******************************/
/* LOGIN STYLES                */
/*******************************/
.tf-auth-page {
	min-height: 100dvh;
	padding: 48px 0;
	background-color: #f9f8f9;
}

.tf-auth-logo {
	margin-bottom: 28px;
	text-align: center;
}

.tf-auth-logo img {
	width: 260px;
	max-width: 82%;
	height: auto;
	mix-blend-mode: multiply;
}

.tf-auth-card {
	--tf-auth-card-padding: 32px;
	padding: var(--tf-auth-card-padding);
	border-radius: 10px;
	background-color: #fff;
	box-shadow: 0 12px 30px rgba(20, 20, 20, 0.06);
	overflow: hidden;
}

.tf-auth-admin-ribbon {
	margin: calc(var(--tf-auth-card-padding) * -1) calc(var(--tf-auth-card-padding) * -1) 28px;
	padding: 12px var(--tf-auth-card-padding);
	background-color: #e7e7e7;
	font-family: "Biennale-Semibold", sans-serif;
	font-size: 1.2rem;
	letter-spacing: 10px;
	text-align: center;
	color: #5e6470;
}

.tf-auth-card h1 {
	margin-bottom: 24px;
	font-family: "Biennale-Semibold", sans-serif;
	font-size: 1.65rem;
	letter-spacing: 0;
	color: #001c46;
}

.tf-auth-form label {
	margin-bottom: 8px;
	font-family: "Biennale-Semibold", sans-serif;
	font-size: 0.95rem;
	color: #3f4652;
}

.tf-auth-form input[type="email"],
.tf-auth-form input[type="password"] {
	height: 48px;
	margin-bottom: 18px;
	border: 1px solid #dedede;
	border-radius: 10px;
	box-shadow: none;
	font-family: "Biennale-Regular", sans-serif;
	font-size: 1rem;
	color: #0e0e0e;
}

.tf-auth-form input[type="email"]:focus,
.tf-auth-form input[type="password"]:focus {
	border-color: #481c6d;
	box-shadow: 0 0 0 3px rgba(72, 28, 109, 0.12);
}

.tf-auth-form input[readonly] {
	background-color: #f3f2f3;
	color: #5e6470;
	cursor: default;
}

.tf-auth-check {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	margin: 4px 0 22px;
	font-family: "Biennale-Regular", sans-serif;
	color: #3f4652;
}

.tf-auth-check input {
	margin: 0;
}

.tf-auth-submit,
.tf-auth-submit:hover,
.tf-auth-submit:focus {
	width: 100%;
	background-color: #481c6d;
	font-family: "Biennale-Semibold", sans-serif;
	color: #fff;
}

.tf-auth-submit:hover,
.tf-auth-submit:focus {
	background-color: #351451;
}

.tf-auth-links {
	margin: 22px 0 0;
	text-align: center;
}

.tf-auth-links a {
	font-family: "Biennale-Semibold", sans-serif;
	color: #481c6d;
}

.tf-auth-intro {
	margin-bottom: 22px;
	color: #3f4652;
}

.tf-auth-notice {
	margin-bottom: 20px;
	padding: 14px 16px;
	border-radius: 10px;
	font-family: "Biennale-Regular", sans-serif;
}

.tf-auth-notice p {
	margin: 0;
	font-size: 0.95rem;
	color: inherit;
}

.tf-auth-notice p + p {
	margin-top: 8px;
}

.tf-auth-notice-success {
	background-color: #eef8f1;
	color: #226332;
}

.tf-auth-notice-error {
	background-color: #fff0f0;
	color: #8a2424;
}

@media screen and (max-width: 39.9375em) {
	.tf-auth-page {
		padding: 32px 0;
	}

	.tf-auth-card {
		--tf-auth-card-padding: 24px;
	}

	.tf-auth-card h1 {
		font-size: 1.4rem;
	}
}
