/*
Theme Name: Parar y Mirar
Theme URI: https://pararymirar.com
Author: Gustavo Yepes
Description: Tema a la medida para Parar y Mirar: espacio de autoconocimiento y contemplación. Incluye CPT de Talleres, Recursos y Frases.
Version: 0.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: pararymirar
*/

:root {
	--pym-arena: #f6efe4;
	--pym-arena-oscuro: #ebe0cd;
	--pym-turquesa: #2f8f8b;
	--pym-turquesa-oscuro: #216b68;
	--pym-dorado: #c19a4b;
	--pym-texto: #2b2a28;
	--pym-texto-suave: #6b665e;
	--pym-borde: #ddd0b9;
	--pym-serif: 'Lora', Georgia, 'Times New Roman', serif;
	--pym-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--pym-ancho: 1100px;
	--pym-ancho-texto: 68ch;
	--pym-radio: 14px;
}

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

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--pym-arena);
	color: var(--pym-texto);
	font-family: var(--pym-sans);
	font-size: 1.0625rem;
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
}

img, video, iframe { max-width: 100%; height: auto; }

a { color: var(--pym-turquesa-oscuro); text-underline-offset: 3px; }
a:hover, a:focus { color: var(--pym-dorado); }

h1, h2, h3, h4 {
	font-family: var(--pym-serif);
	font-weight: 500;
	line-height: 1.25;
	color: var(--pym-texto);
	margin: 0 0 .6em;
}
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1.2em; }

.pym-contenedor { width: min(100% - 2.5rem, var(--pym-ancho)); margin-inline: auto; }
.pym-texto { max-width: var(--pym-ancho-texto); }
.pym-seccion { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.pym-seccion--alt { background: var(--pym-arena-oscuro); }
.pym-seccion__titulo { text-align: center; margin-bottom: 2.5rem; }
.pym-seccion__titulo::after {
	content: ''; display: block; width: 48px; height: 2px;
	background: var(--pym-dorado); margin: 1rem auto 0;
}

.screen-reader-text {
	position: absolute; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link:focus {
	position: fixed; top: .5rem; left: .5rem; z-index: 100; clip: auto;
	width: auto; height: auto; background: #fff; padding: .6rem 1rem;
}

/* Botones */
.pym-boton {
	display: inline-block; padding: .8rem 1.6rem; border-radius: 999px;
	background: var(--pym-turquesa); color: #fff; text-decoration: none;
	font-weight: 500; border: 0; cursor: pointer; transition: background .2s;
}
.pym-boton:hover, .pym-boton:focus { background: var(--pym-turquesa-oscuro); color: #fff; }
.pym-boton--suave { background: transparent; color: var(--pym-turquesa-oscuro); border: 1px solid var(--pym-turquesa); }
.pym-boton--suave:hover { background: var(--pym-turquesa); color: #fff; }

/* Listas de enlaces del pie (el menú principal vive en componentes.css) */
.pym-menu { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; margin: 0; padding: 0; }
.pym-menu a { text-decoration: none; color: var(--pym-texto); font-size: .95rem; padding: .3rem 0; border-bottom: 2px solid transparent; }
.pym-menu a:hover, .pym-menu .current-menu-item > a { border-bottom-color: var(--pym-dorado); color: var(--pym-texto); }

/* Pie */
.pym-pie { background: var(--pym-texto); color: var(--pym-arena); padding: 3.5rem 0 2rem; margin-top: 0; }
.pym-pie a { color: var(--pym-arena); }
.pym-pie a:hover { color: var(--pym-dorado); }
.pym-pie__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; }
.pym-pie h3 { color: var(--pym-dorado); font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; }
.pym-pie ul { list-style: none; padding: 0; margin: 0; }
.pym-pie__cierre { font-family: var(--pym-serif); font-style: italic; text-align: center; margin: 2.5rem 0 1rem; color: var(--pym-arena-oscuro); }
.pym-pie__copy { text-align: center; font-size: .85rem; opacity: .7; }

/* Contenido genérico */
.pym-entrada { padding: 3rem 0; }
.pym-entrada__meta { color: var(--pym-texto-suave); font-size: .9rem; }
