/*
Theme Name: Palabra Secreta
Theme URI: https://palabrasecreta.com
Description: Tema hijo de GeneratePress para Palabra Secreta.
Author: Palabra Secreta
Template: generatepress
Version: 0.1.0
Text Domain: palabra-secreta-theme
*/

:root {
	--pst-text: #181a1f;
	--pst-muted: #626974;
	--pst-border: #e4e0d8;
	--pst-bg: #fbfaf7;
	--pst-accent: #1f6f8b;
}

body {
	background: var(--pst-bg);
	color: var(--pst-text);
}

body .site-content {
	display: block;
}

.pst-app-header {
	align-items: center;
	background: rgba(251, 250, 247, .96);
	border-bottom: 1px solid var(--pst-border);
	display: grid;
	grid-template-columns: 44px 1fr 88px;
	min-height: 54px;
	padding: 0 14px;
	position: sticky;
	top: 0;
	z-index: 50;
}

.pst-app-title {
	font-size: 1.05rem;
	font-weight: 850;
	letter-spacing: 0;
	line-height: 1;
	text-align: center;
	text-transform: uppercase;
}

.pst-icon-button {
	align-items: center;
	appearance: none;
	background: transparent;
	border: 0;
	border-radius: 6px;
	color: var(--pst-text);
	cursor: pointer;
	display: inline-flex;
	height: 40px;
	justify-content: center;
	padding: 0;
	width: 40px;
}

.pst-icon-button:hover,
.pst-icon-button:focus-visible {
	background: #ebe7df;
	outline: none;
}

.pst-header-actions {
	display: flex;
	gap: 4px;
	justify-content: flex-end;
}

.pst-drawer {
	background: #fff;
	border-right: 1px solid var(--pst-border);
	bottom: 0;
	box-shadow: 18px 0 40px rgba(24, 26, 31, .12);
	left: 0;
	max-width: 280px;
	padding: 16px;
	position: fixed;
	top: 0;
	transform: translateX(-105%);
	transition: transform .18s ease;
	width: 82vw;
	z-index: 100;
}

.pst-drawer[aria-hidden="false"] {
	transform: translateX(0);
}

.pst-drawer-brand {
	align-items: center;
	display: flex;
	font-weight: 850;
	gap: 10px;
	margin-bottom: 24px;
}

.pst-brand-mark {
	align-items: center;
	background: #2f8f4e;
	border-radius: 8px;
	color: #fff;
	display: inline-flex;
	font-weight: 900;
	height: 34px;
	justify-content: center;
	width: 34px;
}

.pst-drawer nav {
	display: grid;
	gap: 4px;
}

.pst-drawer a {
	border-radius: 6px;
	color: var(--pst-text);
	font-weight: 700;
	padding: 10px 8px;
	text-decoration: none;
}

.pst-drawer a:hover,
.pst-drawer a:focus-visible {
	background: #f0ece4;
	color: var(--pst-text);
	outline: none;
}

.pst-drawer-backdrop {
	background: rgba(24, 26, 31, .24);
	bottom: 0;
	left: 0;
	opacity: 0;
	pointer-events: none;
	position: fixed;
	right: 0;
	top: 0;
	transition: opacity .18s ease;
	z-index: 90;
}

.pst-drawer-backdrop[data-open="true"] {
	opacity: 1;
	pointer-events: auto;
}

.site-header,
.site-footer,
.main-navigation,
.sidebar {
	display: none;
}

.container.grid-container,
.site-main,
.inside-article,
.entry-content {
	margin: 0;
	max-width: none;
	padding: 0;
	width: 100%;
}

.entry-header {
	display: none;
}

@media (max-width: 520px) {
	.pst-app-header {
		grid-template-columns: 44px 1fr 80px;
		padding: 0 8px;
	}

	.pst-app-title {
		font-size: .98rem;
	}
}

