/* Estilos compartidos de los artículos del Centro de ayuda */

.article-hero {
    background: var(--grad-ink, linear-gradient(160deg, #0B1020 0%, #131B36 55%, #1A1030 100%));
    color: white;
    padding: 7rem 0 4rem 0;
}

.article-hero .article-tag {
    display: inline-block;
    background: var(--primary);
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    margin-bottom: 1.25rem;
}

.article-hero h1 {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
    max-width: 820px;
}

.article-hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 680px;
}

.article-body {
    background: var(--background, #fff);
    padding: 4rem 0;
}

.article-container {
    max-width: 780px;
}

.article-body h2 {
    font-size: 1.7rem;
    color: var(--secondary, #1B2A4A);
    margin: 2.5rem 0 1rem 0;
}

.article-body h3 {
    font-size: 1.25rem;
    color: var(--secondary, #1B2A4A);
    margin: 2rem 0 0.75rem 0;
}

.article-body p,
.article-body li {
    color: var(--text, #101828);
    line-height: 1.75;
    margin-bottom: 1rem;
}

.article-body ul,
.article-body ol {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.article-body a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.article-body a:hover {
    text-decoration: underline;
}

.table-wrap {
    overflow-x: auto;
    margin: 1.5rem 0 2rem 0;
}

.article-body table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.article-body th {
    background: var(--surface, #F6F7FB);
    color: var(--secondary, #1B2A4A);
    text-align: left;
    padding: 0.85rem 1rem;
    border-bottom: 2px solid var(--border, #E7EAF2);
    white-space: nowrap;
}

.article-body td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--border, #E7EAF2);
    color: var(--text-light, #5D6B82);
    vertical-align: top;
}

.article-note {
    background: var(--primary-soft, #EAF1FA);
    border-left: 4px solid var(--primary);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
}

.article-note p {
    margin-bottom: 0;
}

.stars {
    color: var(--primary);
    letter-spacing: 0.1em;
    white-space: nowrap;
}

.related-articles {
    background: var(--surface, #F6F7FB);
    padding: 4rem 0;
}

.related-articles h2 {
    text-align: center;
    color: var(--secondary, #1B2A4A);
    margin-bottom: 2.5rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.related-card {
    display: block;
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.related-card h3 {
    color: var(--secondary, #1B2A4A);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.related-card span {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .article-hero {
        padding: 6rem 0 3rem 0;
    }

    .article-hero h1 {
        font-size: 1.9rem;
    }

    .article-body h2 {
        font-size: 1.4rem;
    }
}
