@charset "utf-8";
/* News/Blog Article Styles */

/* Hero específico para noticias */
.news-hero .hero-background {
    background-image: url('../imagenes/patagonia.jpg');
    filter: brightness(0.65) contrast(1.7);
}

/* Article Section */
.article-section {
    background: #f8f9fa;
    padding: 4rem 0;
}

.news-article {
    background: #fff;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
    margin-bottom: 3rem;
}

/* Breadcrumb */
.breadcrumb {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e8eef2;
}

.breadcrumb a {
    color: #506999;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #506999;
    text-decoration: underline;
}

.breadcrumb .separator {
    margin: 0 0.5rem;
    color: #ccc;
}

.breadcrumb .current {
    color: #999;
}

/* Article Header */
.article-header {
    text-align: center;
    margin-bottom: 3rem;
}

.article-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #506999;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.95rem;
}

.meta-item i {
    color: #506999;
    font-size: 1rem;
}

.article-tags {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.tag {
    background: linear-gradient(135deg, #6980b2, #506999);
    color: #fff;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Featured Image */
.article-image {
    margin: 3rem 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
}

.article-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.article-image:hover img {
    transform: scale(1.05);
}

.article-image figcaption {
    background: #f8f9fa;
    padding: 1rem;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    font-style: italic;
}

/* Article Content */
.article-content {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #444;
    max-width: 800px;
    margin: 0 auto;
}

.lead-paragraph {
    font-size: 1.15rem;
    font-weight: 500;
    color: #506999;
    line-height: 1.8;
    margin-bottom: 2rem;
    padding-left: 1.5rem;
    border-left: 4px solid #506999;
}

.article-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #506999;
    margin: 2.5rem 0 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e8eef2;
}

.article-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #506999;
    margin: 2rem 0 1rem;
}

.article-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #666;
    margin: 1.5rem 0 1rem;
}

.article-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.article-content ul,
.article-content ol {
    margin: 1.5rem 0 1.5rem 2rem;
}

.article-content li {
    margin-bottom: 0.75rem;
    padding-left: 0.5rem;
}

.article-content ul li {
    list-style: none;
    position: relative;
}

.article-content ul li::before {
    content: "▸";
    position: absolute;
    left: -1.5rem;
    color: #506999;
    font-weight: bold;
}

.article-content ol li {
    padding-left: 0.5rem;
}

.article-content strong {
    color: #506999;
    font-weight: 700;
}

/* Blockquote */
.article-quote {
    background: linear-gradient(135deg, rgba(105, 128, 178, 0.08), rgba(80, 105, 153, 0.05));
    border-left: 5px solid #506999;
    padding: 2rem;
    margin: 2.5rem 0;
    border-radius: 0 15px 15px 0;
    position: relative;
}

.article-quote::before {
    content: """;
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 5rem;
    color: rgba(80, 105, 153, 0.15);
    font-family: Georgia, serif;
    line-height: 1;
}

.article-quote p {
    font-size: 1.25rem;
    font-style: italic;
    color: #506999;
    margin: 0 0 1rem 0;
    position: relative;
    z-index: 1;
}

.article-quote cite {
    display: block;
    text-align: right;
    font-size: 1rem;
    color: #666;
    font-style: normal;
    font-weight: 600;
}

/* Info Box */
.info-box {
    background: linear-gradient(135deg, #f0f4f8, #e8eef2);
    border: 2px solid #506999;
    border-radius: 15px;
    padding: 2rem;
    margin: 2.5rem 0;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.info-box-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6980b2, #506999);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-box-icon i {
    font-size: 1.5rem;
    color: #fff;
}

.info-box-content h4 {
    color: #506999;
    font-size: 1.3rem;
    margin: 0 0 0.75rem 0;
}

.info-box-content p {
    color: #555;
    margin: 0;
    font-size: 1rem;
    line-height: 1.7;
}

/* Article Footer */
.article-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #e8eef2;
}

.share-section {
    text-align: center;
    margin-bottom: 2rem;
}

.share-section h4 {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1rem;
    font-weight: 600;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.share-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.share-btn.facebook { background: #1877f2; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.linkedin { background: #0a66c2; }
.share-btn.whatsapp { background: #25d366; }
.share-btn.email { background: #666; }

.back-link {
    text-align: center;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #6980b2, #506999);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-back:hover {
    transform: translateX(-5px);
    box-shadow: 0 5px 20px rgba(80, 105, 153, 0.3);
}

/* Related Articles */
.related-articles {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
}

.related-title {
    font-size: 2rem;
    font-weight: 700;
    color: #506999;
    margin-bottom: 2rem;
    text-align: center;
}

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

.related-card {
    background: #f8f9fa;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.related-card:hover {
    transform: translateY(-5px);
    border-color: #506999;
    box-shadow: 0 10px 30px rgba(80, 105, 153, 0.15);
}

.related-image {
    height: 180px;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.related-card:hover .related-image img {
    transform: scale(1.1);
}

.related-content {
    padding: 1.5rem;
}

.related-date {
    display: block;
    font-size: 0.85rem;
    color: #506999;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.related-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #506999;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.related-link {
    color: #506999;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.related-link:hover {
    color: #506999;
    gap: 0.75rem;
}

/* Responsive */
@media (max-width: 968px) {
    .news-article {
        padding: 2rem;
    }

    .article-title {
        font-size: 2.2rem;
    }

    .article-meta {
        gap: 1rem;
    }

    .article-content {
        font-size: 1.05rem;
    }

    .lead-paragraph {
        font-size: 1.2rem;
    }

    .article-content h2 {
        font-size: 1.7rem;
    }

    .article-content h3 {
        font-size: 1.3rem;
    }

    .info-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .news-article {
        padding: 1.5rem;
    }

    .article-title {
        font-size: 1.8rem;
    }

    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

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

    .lead-paragraph {
        font-size: 1.1rem;
        padding-left: 1rem;
    }

    .article-content h2 {
        font-size: 1.5rem;
        margin: 2rem 0 1rem;
    }

    .article-content h3 {
        font-size: 1.2rem;
    }

    .article-quote p {
        font-size: 1.1rem;
    }

    .article-content ul,
    .article-content ol {
        margin-left: 1.5rem;
    }

    .info-box {
        padding: 1.5rem;
    }

    .info-box-icon {
        width: 50px;
        height: 50px;
    }

    .related-articles {
        padding: 1.5rem;
    }

    .related-title {
        font-size: 1.5rem;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }
}
