/*
Theme Name: Chris Soto Coaching
Theme URI: https://chrissotocoaching.com/
Author: Chris Soto Coaching
Author URI: https://chrissotocoaching.com/
Description: Tema clásico personalizado para el entrenador personal Chris Soto. Identidad deportiva en negro, rojo y blanco. Construido con Tailwind CSS vía CDN, sin procesos de compilación ni dependencias de Node.js. Mobile-first, accesible (WCAG) y optimizado para generar contactos por WhatsApp, teléfono, correo y formulario.
Version: 1.0.0
Requires at least: 6.5
Tested up to: 6.5
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: chris-soto-coaching
Tags: custom-colors, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, blog, one-column, two-columns, right-sidebar
*/

/*
 * NOTA SOBRE ESTILOS
 * ------------------------------------------------------------------
 * La mayor parte del diseño se construye con utilidades de Tailwind CSS
 * cargadas por CDN (ver functions.php -> chris_soto_enqueue_assets).
 *
 * Este archivo solo contiene:
 *   1. La cabecera obligatoria del tema (arriba).
 *   2. Las clases que WordPress espera del tema (alignwide, alignfull,
 *      wp-caption, screen-reader-text, etc.).
 *
 * Las correcciones específicas que Tailwind CDN no resuelve viven en
 * assets/css/wordpress-fixes.css. NO se duplica aquí una segunda
 * arquitectura de estilos.
 * ------------------------------------------------------------------
 */

/* Enlace "Saltar al contenido" — accesibilidad */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #e50914;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #ffffff;
	display: block;
	font-size: 0.95rem;
	font-weight: 700;
	height: auto;
	left: 16px;
	line-height: normal;
	padding: 14px 22px;
	text-decoration: none;
	top: 16px;
	width: auto;
	z-index: 100000;
}

/* Alineaciones de bloques de Gutenberg */
.alignwide {
	margin-left: auto;
	margin-right: auto;
	max-width: 1200px;
}

.alignfull {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	max-width: 100vw;
	width: 100vw;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.alignleft {
	float: left;
	margin-right: 1.5rem;
	margin-bottom: 1rem;
}

.alignright {
	float: right;
	margin-left: 1.5rem;
	margin-bottom: 1rem;
}

/* Imágenes con leyenda */
.wp-caption {
	max-width: 100%;
	margin-bottom: 1.5rem;
}

.wp-caption img {
	display: block;
	margin: 0 auto;
}

.wp-caption .wp-caption-text,
.wp-caption-text {
	font-size: 0.85rem;
	font-style: italic;
	text-align: center;
	padding: 0.5rem 0;
	color: #b3b3b3;
}

/* Texto recortado/sticky de Gutenberg */
.sticky {
	display: block;
}

.bypostauthor {
	display: block;
}

.wp-block-quote {
	border-left: 4px solid #e50914;
	padding-left: 1rem;
}

/* Galería nativa */
.gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 0.75rem;
	margin-bottom: 1.5rem;
}

.gallery-caption {
	font-size: 0.8rem;
	color: #b3b3b3;
}
