/*
Theme Name: Successeer
Theme URI: https://successeer.com
Author: Successeer
Description: Tema de Successeer.com, marketplace de empresas, proyectos, startups e inversionistas. Compatible con HivePress y WooCommerce.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: successeer
License: GPLv2 or later
*/

:root {
	--sx-ink: #1E2430;
	--sx-muted: #566072;
	--sx-accent: #3C61A6;
	--sx-accent-dark: #2F4D85;
	--sx-tint: #E5EBF6;
	--sx-border: #DEE3EB;
	--sx-bg: #F4F6F9;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--sx-bg); color: var(--sx-ink); font-family: Outfit, system-ui, sans-serif; font-size: 16px; line-height: 1.5; }
a { color: var(--sx-accent); }
a:hover { color: var(--sx-accent-dark); }
img { max-width: 100%; height: auto; }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Páginas internas (HivePress, WooCommerce, reportajes) */
.sx-page { max-width: 1280px; margin: 0 auto; padding: 40px 24px 56px; }
.sx-page__title { margin: 0 0 24px; font-size: 40px; font-weight: 700; letter-spacing: -1.2px; line-height: 1.1; }
.sx-content { background: #FFFFFF; border: 1px solid var(--sx-border); border-radius: 24px; padding: 32px; }
.sx-content > *:first-child { margin-top: 0; }
.sx-article { max-width: 760px; margin: 0 auto; font-size: 18px; line-height: 1.7; }
.sx-article h2 { font-size: 28px; letter-spacing: -0.6px; margin: 36px 0 12px; }
.sx-article h3 { font-size: 22px; margin: 28px 0 10px; }
.sx-meta { color: var(--sx-muted); font-size: 15px; margin-bottom: 20px; }
.sx-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.sx-card { background: #FFFFFF; border: 1px solid var(--sx-border); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; }
.sx-card img { width: 100%; height: 190px; object-fit: cover; display: block; }
.sx-card__body { padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.sx-card__body h3 { margin: 0; font-size: 21px; line-height: 1.3; }
.sx-notice { max-width: 1280px; margin: 16px auto 0; padding: 14px 20px; border-radius: 14px; font-size: 16px; }
.sx-notice--ok { background: #E3F1EA; color: #1F6B47; }
.sx-notice--error { background: #FBE7E5; color: #8A2A1E; }

/* Formularios genéricos de HivePress y WooCommerce con el estilo de la marca */
.sx-content input[type="text"], .sx-content input[type="email"], .sx-content input[type="password"],
.sx-content input[type="tel"], .sx-content input[type="number"], .sx-content input[type="url"],
.sx-content select, .sx-content textarea {
	font: 400 16px Outfit, sans-serif; color: var(--sx-ink); padding: 12px 14px;
	border: 1px solid #C9D1DD; border-radius: 12px; background: #FFFFFF; min-height: 48px; width: 100%;
}
.sx-content button, .sx-content .button, .sx-content input[type="submit"],
.hp-form__button, .woocommerce .button {
	background: var(--sx-accent); color: #FFFFFF; border: 0; border-radius: 999px;
	padding: 0 24px; min-height: 48px; font: 600 16px Outfit, sans-serif; cursor: pointer;
}
.sx-content button:hover, .sx-content .button:hover { background: var(--sx-accent-dark); color: #FFFFFF; }

@media (max-width: 640px) {
	.sx-page__title { font-size: 32px; }
	.sx-content { padding: 20px; }
	h1 { font-size: 42px !important; }
	h2 { font-size: 32px !important; }
}
