/*
Theme Name: Tecicam
Theme URI: https://tecicam.com
Author: Seopunk / Jose Luis
Author URI: https://seopunk.es
Description: Tema clásico a medida para Tecicam (distribuidor oficial de software CAD/CAM en España). Réplica píxel a píxel del diseño en Tailwind, con todo el contenido editable desde el panel mediante ACF Pro. Tailwind compilado (assets/css/app.css), menú dinámico, formulario a medida y sistema de bloques componibles (ACF Flexible Content).
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tecicam
*/

/*
 * El estilado visual lo aporta Tailwind (Play CDN) + la configuración inline
 * declarada en functions.php (tecicam_tailwind_config_js). Este archivo solo
 * declara la cabecera del tema y reglas mínimas que Tailwind no cubre.
 */

/* Ocultar scrollbar en carruseles horizontales (testimonios, etc.). */
.hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
.hide-scrollbar::-webkit-scrollbar { display: none; }

/* Tipografía del cuerpo de las entradas del blog (the_content dentro de .post-body).
   Necesario porque el preflight de Tailwind resetea h2/ul/blockquote. */
.post-body { color: #374151; }
.post-body > p { font-size: 1rem; line-height: 1.75; margin-bottom: 1.25rem; }
.post-body h2 { font-size: 1.5rem; line-height: 1.3; font-weight: 700; color: #111827; margin: 2.25rem 0 1rem; }
.post-body h3 { font-size: 1.2rem; line-height: 1.35; font-weight: 700; color: #111827; margin: 1.75rem 0 .75rem; }
.post-body ul { list-style: disc; padding-left: 1.5rem; margin: 0 0 1.25rem; }
.post-body ol { list-style: decimal; padding-left: 1.5rem; margin: 0 0 1.25rem; }
.post-body li { margin-bottom: .5rem; line-height: 1.6; }
.post-body a { color: #84cc16; font-weight: 600; text-decoration: underline; }
.post-body strong { color: #111827; font-weight: 700; }
.post-body blockquote { border-left: 4px solid #84cc16; padding: .25rem 0 .25rem 1.25rem; margin: 1.75rem 0; font-style: italic; color: #4b5563; }
.post-body img { border-radius: 1rem; margin: 1.75rem 0; }

/* Tipografía de las páginas legales (the_content dentro de .legal-content). */
.legal-content { color: #374151; }
.legal-content p { line-height: 1.7; margin-bottom: 1rem; }
.legal-content h2 { font-size: 1.25rem; font-weight: 700; color: #111827; margin: 1.75rem 0 .75rem; }
.legal-content ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.legal-content li { margin-bottom: .4rem; line-height: 1.6; }
.legal-content a { color: #84cc16; font-weight: 600; text-decoration: underline; }
.legal-content strong { color: #111827; font-weight: 700; }
.legal-content .legal-data { margin: 1rem 0 1.5rem; }
.legal-content .legal-data dt { font-weight: 700; color: #111827; }
.legal-content .legal-data dd { margin: 0 0 .75rem; }
.legal-content .cookies-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .875rem; }
.legal-content .cookies-table th, .legal-content .cookies-table td { border: 1px solid #e5e7eb; padding: .6rem .75rem; text-align: left; vertical-align: top; }
.legal-content .cookies-table th { background: #f9fafb; font-weight: 700; color: #111827; }
.legal-content .cookies-table .badge { display: inline-block; padding: .1rem .5rem; border-radius: 9999px; background: #ecfccb; color: #3f6212; font-size: .7rem; font-weight: 700; }
