/* ========== BLOG STYLES — Gestión Cervecera ========== */

.blog-article {
    max-width: 780px;
    margin: 0 auto;
    padding: 40px 20px 80px;
    background: #ffffff;
}

.blog-hero {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #e5e7eb;
}

.blog-hero h1 {
    font-size: 32px;
    line-height: 1.3;
    color: #111827;
    margin-bottom: 12px;
}

.blog-meta {
    font-size: 14px;
    color: #6b7280;
}

.blog-content {
    color: #374151;
    font-size: 17px;
    line-height: 1.8;
}

.blog-content h2 {
    font-size: 24px;
    color: #111827;
    margin-top: 44px;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #1D82DC;
}

.blog-content h3 {
    font-size: 20px;
    color: #1f2937;
    margin-top: 32px;
    margin-bottom: 12px;
}

.blog-content p {
    margin-bottom: 18px;
}

.blog-content ul,
.blog-content ol {
    margin-bottom: 18px;
    padding-left: 24px;
}

.blog-content li {
    margin-bottom: 8px;
}

.blog-content a {
    color: #1D82DC;
    text-decoration: none;
    text-decoration-skip-ink: auto;
}

.blog-content a:hover {
    text-decoration: underline;
}

.blog-content strong {
    color: #111827;
    font-weight: 600;
}

.blog-intro {
    font-size: 19px;
    color: #4b5563;
    line-height: 1.75;
    margin-bottom: 30px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e5e7eb;
}

/* CTA block */
.blog-cta {
    background: linear-gradient(135deg, #0d1117 0%, #1a2a3f 100%);
    border: 1px solid #1D82DC;
    border-radius: 8px;
    padding: 36px 30px;
    margin: 50px 0 40px;
    text-align: center;
}

.blog-cta h3 {
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 12px;
}

.blog-cta p {
    color: #93c5fd;
    margin-bottom: 20px;
}

.btn-cta {
    display: inline-block;
    background: #1D82DC;
    color: #ffffff !important;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none !important;
    margin: 5px;
    border: none;
    transition: background 0.2s;
}

.btn-cta:hover {
    background: #1670c0;
    border-bottom: none !important;
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: #1D82DC !important;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none !important;
    border: 1px solid #1D82DC;
    margin: 5px;
    transition: background 0.2s;
}

.btn-secondary:hover {
    background: rgba(29, 130, 220, 0.1);
    border-bottom: 1px solid #1D82DC !important;
}

/* Related articles */
.blog-related {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #e5e7eb;
}

.blog-related h3 {
    color: #111827;
    margin-bottom: 16px;
    font-size: 20px;
}

.blog-related ul {
    list-style: none;
    padding: 0;
}

.blog-related li {
    margin-bottom: 10px;
}

.blog-related a {
    color: #1D82DC;
    text-decoration: none;
    font-size: 16px;
}

.blog-related a:hover {
    text-decoration: underline;
}

/* ========== BLOG INDEX (listado) ========== */

.blog-index {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px 80px;
    background: #ffffff;
}

.blog-index h1 {
    color: #111827;
    font-size: 28px;
    margin-bottom: 10px;
}

.blog-index-intro {
    color: #6b7280;
    font-size: 16px;
    margin-bottom: 40px;
}

.blog-card {
    display: block;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 20px;
    text-decoration: none !important;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.blog-card:hover {
    border-color: #1D82DC;
    box-shadow: 0 4px 12px rgba(29,130,220,0.10);
}

.blog-card h2 {
    color: #111827;
    font-size: 20px;
    margin-bottom: 8px;
    border-bottom: none !important;
    margin-top: 0;
    padding-bottom: 0 !important;
}

.blog-card p {
    color: #4b5563;
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 8px;
}

.blog-card-meta {
    color: #9ca3af;
    font-size: 13px;
}

/* ========== BLOG NAVIGATION BAR ========== */

.blog-topnav {
    background: #0d1117;
    border-bottom: 1px solid #1a2433;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 999;
}

.blog-topnav-logo img {
    height: 34px;
    width: auto;
}

.blog-topnav-links {
    display: flex;
    gap: 24px;
    align-items: center;
}

.blog-topnav-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.blog-topnav-links a:hover {
    color: #ffffff;
}

.blog-topnav-links .blog-topnav-cta {
    background: #1D82DC;
    color: #ffffff !important;
    padding: 8px 18px;
    border-radius: 5px;
    font-weight: 600;
}

.blog-topnav-links .blog-topnav-cta:hover {
    background: #1670c0;
}

/* ========== BLOG FOOTER ========== */

.blog-footer {
    background: #0d1117;
    border-top: 1px solid #1a2433;
    padding: 48px 24px;
    text-align: center;
}

.blog-footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    font-size: 14px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.blog-footer-links a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}

.blog-footer-links a:hover {
    color: #ccc;
}

.blog-footer-links .blog-footer-cta {
    color: #1D82DC !important;
    font-weight: 600;
}

/* ========== RESPONSIVE ========== */

@media (max-width: 600px) {
    .blog-topnav-links a:not(.blog-topnav-cta) {
        display: none;
    }

    .blog-hero h1 {
        font-size: 24px;
    }

    .blog-content h2 {
        font-size: 20px;
    }
}
