/* Olympus Pie - Direccion "Olympus Oro sobre Negro"
 *
 * El pie cierra todas las paginas, y varias terminan en una banda dorada. Por
 * eso arranca con un filete degradado y un halo muy tenue: hace de transicion
 * entre lo que venga arriba y el negro, sin corte seco.
 */

.odt-p {
	--odt-bg: #101010;
	--odt-bg-warm: #14120e;
	--odt-surface: #191817;
	--odt-ink: #ffffff;
	--odt-muted: #a6a29b;
	--odt-accent: #b59953;
	--odt-support: #e7df9f;
	--odt-line: #2e2b26;

	position: relative;
	font-family: "Barlow", sans-serif;
	color: var(--odt-ink);
	background:
		radial-gradient(80% 60% at 50% 0%, rgba(181, 153, 83, 0.07) 0%, rgba(181, 153, 83, 0) 70%),
		linear-gradient(180deg, var(--odt-bg-warm) 0%, var(--odt-bg) 55%);
	padding: 64px 0 34px;
}

/* Filete de entrada: el dorado aparece y se va, no corta de lado a lado. */
.odt-p::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, rgba(181, 153, 83, 0) 0%, rgba(181, 153, 83, 0.75) 50%, rgba(181, 153, 83, 0) 100%);
}

.odt-p *,
.odt-p *::before,
.odt-p *::after {
	box-sizing: border-box;
}

.odt-p .odt-p__wrap {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Columnas --------------------------------------------------------------- */

.odt-p .odt-p__cols {
	display: grid;
	/* La marca ocupa mas: es la unica columna con logotipo y frase. */
	grid-template-columns: 1.5fr 1.2fr 1.2fr 1fr;
	gap: 44px;
	align-items: start;
}

.odt-p .odt-p__logo {
	display: inline-block;
	margin-bottom: 16px;
}

.odt-p .odt-p__logo-img {
	display: block;
	width: 168px;
	height: auto;
}

.odt-p .odt-p__lema {
	font-size: 15px;
	line-height: 1.6;
	color: var(--odt-muted);
	max-width: 34ch;
	margin: 0 0 20px;
}

.odt-p .odt-p__titulo {
	font-family: "Barlow Condensed", sans-serif;
	font-weight: 700;
	font-size: 17px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--odt-accent);
	margin: 0 0 16px;
	padding-bottom: 10px;
	border-bottom: 1px solid transparent;
	border-image: linear-gradient(90deg, rgba(181, 153, 83, 0.6) 0%, rgba(181, 153, 83, 0.12) 60%, rgba(181, 153, 83, 0) 100%) 1;
}

.odt-p .odt-p__lista {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 9px;
}

.odt-p .odt-p__horario {
	margin: 0;
}

.odt-p .odt-p__horario dt {
	font-family: "Barlow Condensed", sans-serif;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--odt-muted);
	margin: 0 0 3px;
}

.odt-p .odt-p__horario dd {
	font-size: 15px;
	line-height: 1.55;
	color: var(--odt-ink);
	margin: 0 0 14px;
}

.odt-p .odt-p__horario dd:last-child {
	margin-bottom: 0;
}

/* Enlaces ---------------------------------------------------------------- */

.odt-p .odt-p__enlace {
	font-size: 15px;
	line-height: 1.5;
	color: var(--odt-muted);
	text-decoration: none;
	transition: color 0.2s ease;
}

.odt-p .odt-p__enlace:hover,
.odt-p .odt-p__enlace:focus {
	color: var(--odt-support);
}

.odt-p .odt-p__enlace:focus-visible {
	outline: 2px solid var(--odt-support);
	outline-offset: 3px;
	border-radius: 2px;
}

/* Redes ------------------------------------------------------------------ */

.odt-p .odt-p__redes {
	list-style: none;
	display: flex;
	gap: 10px;
	margin: 0;
	padding: 0;
}

.odt-p .odt-p__red {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	color: var(--odt-accent);
	border: 1px solid var(--odt-line);
	border-radius: 999px;
	transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.odt-p .odt-p__red:hover {
	color: #101010;
	background: var(--odt-accent);
	border-color: var(--odt-accent);
}

.odt-p .odt-p__red:focus-visible {
	outline: 2px solid var(--odt-support);
	outline-offset: 3px;
}

.odt-p .odt-p__icono {
	display: block;
}

/* Base ------------------------------------------------------------------- */

.odt-p .odt-p__base {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px 32px;
	margin-top: 48px;
	padding-top: 24px;
	border-top: 1px solid var(--odt-line);
}

.odt-p .odt-p__copy {
	font-size: 14px;
	line-height: 1.5;
	color: var(--odt-muted);
	margin: 0;
}

.odt-p .odt-p__legal {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	margin: 0;
	padding: 0;
}

.odt-p .odt-p__legal .odt-p__enlace {
	font-size: 14px;
}

.odt-p .odt-p__financiado-img {
	display: block;
	width: 300px;
	max-width: 100%;
	height: auto;
}

/* Tableta ---------------------------------------------------------------- */

@media (max-width: 1024px) {
	.odt-p .odt-p__cols {
		grid-template-columns: 1fr 1fr;
		gap: 36px 40px;
	}

	.odt-p .odt-p__base {
		justify-content: flex-start;
	}
}

/* Móvil ------------------------------------------------------------------ */

@media (max-width: 680px) {
	.odt-p {
		padding: 48px 0 28px;
	}

	.odt-p .odt-p__wrap {
		padding: 0 16px;
	}

	.odt-p .odt-p__cols {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.odt-p .odt-p__lema {
		max-width: none;
	}

	.odt-p .odt-p__base {
		flex-direction: column;
		align-items: flex-start;
		gap: 18px;
		margin-top: 36px;
	}

	.odt-p .odt-p__financiado-img {
		width: 260px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.odt-p .odt-p__enlace,
	.odt-p .odt-p__red {
		transition: none;
	}
}

/* Autoria ---------------------------------------------------------------
 *
 * Va en la barra de abajo, con el mismo tamano y color apagado que el aviso
 * de derechos. Es un credito, no un anuncio: tiene que estar para quien lo
 * busca y no distraer a quien no.
 */

.odt-p .odt-p__autoria {
	margin: 0;
	font-size: 13px;
	line-height: 1.6;
	color: var(--odt-muted, #a6a29b);
	opacity: 0.75;
}

.odt-p .odt-p__autor {
	color: inherit;
	text-decoration: none;
	border-bottom: 1px solid rgba(181, 153, 83, 0.45);
	transition: color 0.15s ease, border-color 0.15s ease;
}

/* Al pasar por encima si se enciende: ahi es cuando alguien esta pensando
   en escribir. */
.odt-p .odt-p__autor:hover,
.odt-p .odt-p__autor:focus-visible {
	color: var(--odt-accent, #b59953);
	border-bottom-color: var(--odt-accent, #b59953);
}
