body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #002F5E;
    background-image: url("../img/background/noticias.0fc8e20d579a.png");
    min-height: 100vh;
    padding-top: 60px;
}

/* Header */
.blog-header {
    margin-top: 90px;
    text-align: center;
    margin-bottom: 50px;
    animation: fadeInDown 0.8s ease;
}

.blog-header h1 {
    font-size: 3em;
    color: #FF8000;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

/* Blog Layout */

.article-category {
    position: absolute;
    top: 20px;
    left: 20px;
    width: fit-content;
    max-width: calc(100% - 40px);
    background: linear-gradient(135deg, #FF8000 0%, #FF6000 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.author-info:hover {
    transform: translateX(3px);
}

.author-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #FF8000;
}

.author-details {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: #002F5E;
    font-size: 14px;
}

.author-role {
    font-size: 12px;
    color: #333;
}

.article-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
    color: #333;
    font-size: 14px;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .blog-header h1 {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .blog-header {
        margin-bottom: 30px;
    }

    .blog-header h1 {
        font-size: 1.8em;
    }

    .blog-header p {
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .article-info {
        margin-left: 0;
        font-size: 13px;
    }

    .author-info {
        gap: 10px;
    }

    .author-avatar {
        width: 40px;
        height: 40px;
    }

    .author-name {
        font-size: 13px;
    }

    .author-role {
        font-size: 11px;
    }
}

@media (max-width: 1024px) {
    body .blog-header {
        margin-top: 10px;
    }

    .blog-header h1 {
        padding-top: 90px;
    }
}

.blog-page-shell {
    min-height: 100vh;
}

.blog-page-main {
    padding-bottom: 80px;
}

.blog-header p {
    color: white;
    font-size: 1.1em;
    max-width: 720px;
    margin: 0 auto;
}

.blog-header-article {
    text-align: left;
}

.back-link {
    display: inline-block;
    color: white;
    text-decoration: none;
    font-weight: 700;
    margin-bottom: 20px;
}

.back-link:hover {
    text-decoration: underline;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.article-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.article-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.16);
}

.article-card-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.article-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.article-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.article-card-title {
    font-size: 1.6rem;
    color: #002F5E;
    margin-bottom: 12px;
    line-height: 1.3;
}

.article-card-summary {
    color: #555;
    margin-bottom: 24px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-page {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.article-hero {
    position: relative;
    min-height: 320px;
    overflow: hidden;
}

.article-hero-image {
    width: 100%;
    height: auto;
    display: block;
}

.article-page-content {
    padding: 40px;
}

.article-summary-full {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #555;
}

.article-meta-full {
    margin-top: 30px;
    margin-bottom: 30px;
}

.article-richtext {
    color: #333;
    font-size: 1.05rem;
    line-height: 1.8;
}

.article-richtext h2,
.article-richtext h3,
.article-richtext h4 {
    color: #002F5E;
    margin-top: 28px;
    margin-bottom: 14px;
}

.article-richtext p,
.article-richtext ul,
.article-richtext ol {
    margin-bottom: 18px;
}

.article-richtext a {
    color: #FF8000;
}

.empty-state {
    background: white;
    border-radius: 16px;
    padding: 50px 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.empty-state h2 {
    color: #002F5E;
    margin-bottom: 12px;
}

@media (max-width: 768px) {
    .article-hero {
        min-height: 0;
    }

    .article-page-content {
        padding: 24px;
    }

    .article-card-content {
        padding: 20px;
    }

    .article-card-title {
        font-size: 1.4rem;
    }
}