/* ============================
   TEMA OFICIAL GHEROSSPEED CMS
   ============================ */

:root {
    --primary-red: #dc2626;
    --primary-gold: #d97706;
    --primary-green: #16a34a;
    --primary-blue: #1e40af;

    --bg-dark: #0f172a;
    --bg-card: #111827;
    --bg-light: #f8fafc;

    --text-dark: #1e293b;
    --text-mid: #475569;
    --text-light: #e5e7eb;
    --text-soft: #94a3b8;

    --border-color: #1f2937;

    --success-color: #16a34a;
    --warning-color: #d97706;
    --error-color: #dc2626;
    --info-color: #1e40af;

    --radius: 18px;
    --shadow: 0 25px 90px rgba(0, 0, 0, .45);
}

/* ====== RESET ====== */

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

body {
    margin: 0;
    background: var(--bg-dark);
    color: var(--text-light);
    font-family: system-ui, -apple-system, "Segoe UI", Arial;
    line-height: 1.6;
}

/* ====== CONTAINERS ====== */

.ghs-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

/* ====== HEADER ====== */

.ghs-header {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1e293b 100%);
    border-bottom: 1px solid #1f2937;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 20;
}

.ghs-header .ghs-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ghs-logo a {
    color: #38bdf8;
    font-weight: 900;
    text-decoration: none;
    font-size: 17px;
}

/* NAV */

.ghs-nav a {
    color: #e5e7eb;
    margin-left: 14px;
    text-decoration: none;
    font-size: 14px;
}

.ghs-nav a:hover {
    color: #f59e0b;
}

/* ====== TITULOS ====== */

.ghs-title {
    font-size: 26px;
    font-weight: 800;
    margin-top: 0;
    color: #f1f5f9;
}

.ghs-subtitle {
    color: var(--text-soft);
    margin-top: -6px;
    margin-bottom: 18px;
}

/* ====== GRID HOME ====== */

.ghs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.ghs-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

.ghs-card-title {
    margin-top: 0;
    margin-bottom: 8px;
    color: #f8fafc;
}

.ghs-meta {
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 10px;
}

.ghs-excerpt {
    color: #e2e8f0;
    font-size: 14px;
    margin-bottom: 12px;
}

/* ====== BUTTON ====== */

.ghs-button {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 14px;
    background: var(--info-color);
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

.ghs-button:hover {
    background: #1e3a8a;
}

/* ====== SINGLE & PAGE ====== */

.ghs-single,
.ghs-page,
.ghs-search,
.ghs-404 {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

/* ====== SEARCH FORM ====== */

.ghs-search-form {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
}

.ghs-search-form input[type="text"] {
    flex: 1;
    border-radius: 14px;
    border: 1px solid #334155;
    padding: 9px 12px;
    font-size: 14px;
    background: #020617;
    color: #e5e7eb;
}

/* ====== FOOTER ====== */

.ghs-footer {
    border-top: 1px solid #1f2937;
    background: #020617;
    text-align: center;
    padding: 15px;
    font-size: 12px;
    color: #9ca3af;
}