/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

/* ===== Sara Tomás · Sexualidad masculina (Webbing, 10/2026) ===== */
:root {
	--st-teal: #1f4e55;
	--st-teal-dark: #143438;
	--st-sand: #f4eee6;
	--st-terra: #c8714f;
	--st-text: #222b2d;
	--st-muted: #5a6466;
	--st-radius: 14px;
}

body {
	color: var(--st-text);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 17px;
	line-height: 1.7;
}
h1, h2, h3, .main-title {
	font-family: Georgia, "Times New Roman", serif;
	color: var(--st-teal-dark);
	font-weight: 400;
	line-height: 1.25;
}
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.3rem; }
a { color: var(--st-teal); }
a:hover { color: var(--st-terra); }

/* Cabecera */
.site-header { border-bottom: 1px solid #e6dfd4; }
.main-title a { color: var(--st-teal-dark); font-size: 1.5rem; }
.site-description { color: var(--st-muted); font-size: .85rem; letter-spacing: .03em; }
.main-navigation .main-nav ul li a { font-size: 15px; letter-spacing: .02em; }
.main-navigation .main-nav ul li.st-menu-cta > a {
	background: var(--st-terra);
	color: #fff !important;
	border-radius: 999px;
	line-height: 2.6em;
	padding: 0 1.4em;
	margin: 0 0 0 .6em;
	align-self: center;
}
.main-navigation .main-nav ul li.st-menu-cta > a:hover { background: var(--st-teal-dark); }

/* Páginas a ancho completo sin márgenes del contenedor */
.full-width-content .site-content { padding: 0; }
.full-width-content .inside-article { padding: 0 !important; }
.full-width-content .entry-content { margin-top: 0; }
.full-width-content .site-main { margin: 0 !important; }
.full-width-content .entry-content > .alignfull { margin-left: 0; margin-right: 0; width: auto; max-width: none; }
html, body { overflow-x: hidden; }

/* Secciones */
.st-section { padding: clamp(3rem, 7vw, 5.5rem) 20px; margin: 0 !important; }
.st-bg-sand { background: var(--st-sand); }
.st-bg-teal { background: var(--st-teal); color: #fff; }
.st-bg-teal h2, .st-bg-teal h3 { color: #fff; }
.st-kicker, .st-kicker-dark {
	text-transform: uppercase;
	letter-spacing: .14em;
	font-size: .8rem;
	font-weight: 600;
	margin-bottom: .6em;
}
.st-kicker-dark { color: var(--st-terra); }

/* Portada */
.st-hero { padding: 0 20px; }
.st-hero .wp-block-cover__inner-container { max-width: 1100px !important; margin: 0 auto !important; width: 100% !important; }
.st-hero h1 { color: #fff; max-width: 680px; margin-bottom: .4em; }
.st-hero .st-kicker { color: #f1d9cd; }
.st-lead { font-size: 1.15rem; max-width: 600px; color: #f3f1ee; }

/* Cabecera de páginas interiores */
.st-page-head {
	background: var(--st-teal);
	color: #fff;
	padding: clamp(3rem, 7vw, 5rem) 20px clamp(2.5rem, 5vw, 3.5rem);
	margin: 0 !important;
}
.st-page-head h1 { color: #fff; margin-bottom: .3em; }
.st-page-head .st-kicker { color: #f1d9cd; }
.st-page-head p { max-width: 680px; }

/* Botones */
.wp-block-button .wp-block-button__link {
	border-radius: 999px;
	padding: .85em 1.9em;
	font-weight: 600;
	font-size: 1rem;
}
.wp-block-button.st-btn .wp-block-button__link { background: var(--st-terra) !important; color: #fff !important; }
.wp-block-button.st-btn .wp-block-button__link:hover { background: var(--st-teal-dark) !important; }
.wp-block-button.st-btn-outline .wp-block-button__link { color: #fff !important; border: 2px solid #fff; background: transparent !important; }
.wp-block-button.st-btn-outline .wp-block-button__link:hover { background: rgba(255,255,255,.12) !important; }
.wp-block-button.st-btn-light .wp-block-button__link { background: #fff !important; color: var(--st-teal-dark) !important; }
.wp-block-button.st-btn-light .wp-block-button__link:hover { background: var(--st-sand) !important; }

/* Imágenes */
.st-img-round img { border-radius: var(--st-radius); width: 100%; height: auto; object-fit: cover; aspect-ratio: 4 / 3; }

/* Tarjetas */
.st-cards { margin-top: 2rem; gap: 1.5rem; }
.st-card {
	background: #fff;
	border-radius: var(--st-radius);
	padding: 2rem;
	box-shadow: 0 2px 18px rgba(20, 52, 56, .07);
	border-top: 4px solid var(--st-terra);
}
.st-card h3 { margin-bottom: .5em; }
.st-card p { margin-bottom: 0; color: var(--st-muted); }

/* Lista con marcas */
.st-checks { list-style: none; padding-left: 0; margin-left: 0; }
.st-checks li { position: relative; padding-left: 1.8em; margin-bottom: .7em; }
.st-checks li::before { content: "✓"; position: absolute; left: 0; color: var(--st-terra); font-weight: 700; }

/* Pasos */
.st-steps { margin-top: 2rem; text-align: center; }
.st-step-num {
	width: 52px; height: 52px; line-height: 52px;
	margin: 0 auto 1rem;
	border-radius: 50%;
	background: var(--st-sand);
	color: var(--st-teal-dark);
	font-family: Georgia, serif;
	font-size: 1.4rem;
}

/* Cita */
.st-quote { border-left: 4px solid var(--st-terra); padding-left: 1.4rem; font-family: Georgia, serif; font-size: 1.35rem; color: var(--st-teal-dark); }

/* Preguntas frecuentes */
.st-faq {
	background: #fff;
	border-radius: 10px;
	padding: 1.1rem 1.4rem;
	margin-bottom: .8rem;
}
.st-faq summary { cursor: pointer; font-weight: 600; color: var(--st-teal-dark); }
.st-faq p { margin: .8em 0 0; }

/* Llamada a la acción */
.st-cta { background: var(--st-sand); }

/* Contacto */
.st-contact-info p { margin-bottom: 1.2em; }
.st-form input[type="text"], .st-form input[type="email"], .st-form input[type="tel"], .st-form textarea {
	width: 100%;
	border: 1px solid #d9d2c7;
	border-radius: 8px;
	padding: .8em 1em;
	background: #fff;
}
.st-form label { display: block; margin-bottom: 1em; }
.st-form input[type="submit"] {
	background: var(--st-terra);
	color: #fff;
	border: 0;
	border-radius: 999px;
	padding: .85em 2.2em;
	font-weight: 600;
	cursor: pointer;
}
.st-form input[type="submit"]:hover { background: var(--st-teal-dark); }

/* Páginas legales */
.st-legal .entry-content { max-width: 860px; margin-left: auto; margin-right: auto; }

/* Pie */
.site-footer .footer-widgets { background: var(--st-teal-dark); color: #e3ecec; }
.site-footer .footer-widgets a { color: #e3ecec; }
.site-footer .footer-widgets .widget-title { color: #fff; font-family: Georgia, serif; font-weight: 400; }
.site-info { background: #0f2729; color: #c3d0d0; }
.site-info a { color: #c3d0d0; }

/* Móvil */
@media (max-width: 781px) {
	.st-hero { min-height: 520px !important; }
	.st-reverse { flex-direction: column-reverse; }
	.st-card { padding: 1.5rem; }
	.st-steps .wp-block-column { margin-bottom: 1.5rem; }
	.main-navigation .main-nav ul li.st-menu-cta > a { margin: .5em 1em; display: inline-block; }
}

/* Banner de cookies (Complianz) con la paleta de la web */
body {
	--cmplz_button_accept_background_color: #1f4e55;
	--cmplz_button_accept_border_color: #1f4e55;
	--cmplz_button_deny_background_color: #f4eee6;
	--cmplz_button_deny_border_color: #f4eee6;
	--cmplz_button_deny_text_color: #143438;
	--cmplz_button_settings_background_color: #f4eee6;
	--cmplz_button_settings_border_color: #f4eee6;
	--cmplz_button_settings_text_color: #143438;
	--cmplz_hyperlink_color: #1f4e55;
	--cmplz_slider_active_color: #1f4e55;
}
