.blog-hero {
    background: linear-gradient(135deg, #2d5a27 0%, #1e3a8a 100%);
    color: #ffffff;
    padding: 2rem 0;
    margin-bottom: 2rem;
    border-radius: 0 0 1.5rem 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.blog-hero h1 {
    font-weight: 700;
    font-size: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.blog-hero p {
    font-size: 1rem;
    opacity: 0.95;
    color: #ffffff !important;
}

.blog-card {
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    border-radius: 1rem;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

.blog-card-img {
    height: 250px;
    object-fit: cover;
    width: 100%;
    border-radius: 1rem 1rem 0 0;
}

.blog-card-body {
    padding: 1.25rem;
}

.blog-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.blog-card-title a {
    color: #1a1a2e;
    text-decoration: none;
    transition: color 0.2s;
}

.blog-card-title a:hover {
    color: #2d5a27;
}

.blog-card-resumen {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-meta {
    font-size: 0.8rem;
    color: #adb5bd;
}

.blog-card-meta .badge {
    font-size: 0.7rem;
    font-weight: 500;
    background: linear-gradient(135deg, #2d5a27 0%, #1e3a8a 100%) !important;
}

.blog-article-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #495057;
}

.blog-article-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #1a1a2e;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #2d5a27;
    display: inline-block;
}

.blog-article-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #343a40;
}

.blog-article-content p {
    margin-bottom: 1.25rem;
}

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

.blog-article-content li {
    margin-bottom: 0.5rem;
}

.blog-article-content blockquote {
    border-left: 4px solid #2d5a27;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background-color: #f8f9fa;
    border-radius: 0 0.5rem 0.5rem 0;
    font-style: italic;
}

.blog-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 1rem 0;
}

.blog-article-content a {
    color: #2d5a27;
    text-decoration: underline;
    text-decoration-color: rgba(45, 90, 39, 0.3);
    text-underline-offset: 2px;
    transition: text-decoration-color 0.2s;
}

.blog-article-content a:hover {
    text-decoration-color: #2d5a27;
}

.blog-cta-box {
    background: linear-gradient(135deg, rgba(45, 90, 39, 0.08) 0%, rgba(30, 58, 138, 0.08) 100%);
    border: 1px solid rgba(45, 90, 39, 0.2);
}

.blog-cta-box .btn-primary {
    background: linear-gradient(135deg, #2d5a27 0%, #1e3a8a 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(45, 90, 39, 0.3);
    transition: all 0.3s ease;
}

.blog-cta-box .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 90, 39, 0.4);
    background: linear-gradient(135deg, #366b2f 0%, #2542a0 100%);
}

.blog-badge {
    background: linear-gradient(135deg, #2d5a27 0%, #1e3a8a 100%) !important;
    color: #ffffff !important;
    font-size: 0.7rem;
    font-weight: 500;
}

.blog-spinner {
    color: #2d5a27 !important;
}

.blog-pagination .page-link {
    margin: 0 0.25rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background-color: white;
    border: 2px solid #dee2e6;
    color: #2d5a27;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.blog-pagination .page-link:hover {
    background-color: #2d5a27;
    color: white;
    transform: translateY(-2px);
    border-color: #2d5a27;
}

.blog-pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #2d5a27 0%, #1e3a8a 100%);
    color: white;
    border-color: transparent;
}

.blog-pagination .page-item.disabled .page-link {
    opacity: 0.5;
    cursor: not-allowed;
}

.blog-article-image img {
    max-height: 630px;
    object-fit: cover;
    border-radius: 1rem;
}

.blog-meta {
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .blog-hero {
        padding: 1.5rem 0;
    }

    .blog-hero h1 {
        font-size: 1.5rem;
    }

    .blog-card-img {
        height: 160px;
    }

    .blog-article-content {
        font-size: 1rem;
    }
}
