/* Estilos compartidos para todos los artículos del blog */

.blog-article {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Estilos para el índice del blog */
.blog-card a {
    display: block;
    overflow: hidden;
}

.blog-card a img {
    transition: transform 0.6s ease, filter 0.6s ease;
    display: block;
    width: 100%;
}

.blog-card a:hover img {
    transform: scale(1.1);
    filter: brightness(0.9);
}

.blog-card-title {
    transition: color 0.4s ease;
}

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


.breadcrumbs {
    font-family: 'OpenSans-Regular';
    font-size: 0.9em;
    color: #999;
    margin-bottom: 30px;
}

.breadcrumbs a {
    color: #8B4513;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.article-hero {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    margin-bottom: 30px;
}

.article-meta {
    font-family: 'OpenSans-Italic';
    font-size: 0.9em;
    color: #999;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e1aa8c;
}

.article-content {
    font-family: 'OpenSans-Regular';
    line-height: 1.8;
    color: #333;
}

.article-content h2 {
    font-family: 'sackers';
    font-size: 1.6em;
    color: #8B4513;
    margin-top: 40px;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.article-content h3 {
    font-family: 'sackers';
    font-size: 1.2em;
    color: #8B4513;
    margin-top: 30px;
    margin-bottom: 15px;
    letter-spacing: 0.03em;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content ul,
.article-content ol {
    margin-bottom: 20px;
    margin-left: 30px;
}

.article-content li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.article-content strong {
    font-family: 'OpenSans-Bold';
}

.article-content a {
    color: #8B4513;
    text-decoration: underline;
}

.article-content a:hover {
    color: #e1aa8c;
}

.highlight-box {
    background: #fff3e9;
    border-left: 4px solid #e1aa8c;
    padding: 20px 25px;
    margin: 30px 0;
}

.article-cta {
    background: #fff3e9;
    padding: 40px;
    text-align: center;
    margin: 60px 0;
    border-radius: 0;
}

.related-articles {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 2px solid #e1aa8c;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.related-card {
    border: 1px solid #e1aa8c;
    padding: 20px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 3px 15px rgba(225, 170, 140, 0.3);
}

.related-card-title {
    font-family: 'sackers';
    font-size: 1.1em;
    color: #8B4513;
    margin-bottom: 10px;
}

.related-card-excerpt {
    font-family: 'OpenSans-Regular';
    font-size: 0.9em;
    color: #666;
    line-height: 1.5;
}

@media only screen and (max-width: 767px) {
    .related-grid {
        grid-template-columns: 1fr;
    }
}
