/* Blog Article Template Styles */

/* Article Hero Section */
.article-hero {
    position: relative;
    background-image: url('../assets/images/hero-blog-article.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 180px 0 80px;
    min-height: 550px;
    border-bottom-left-radius: 70px;
    border-bottom-right-radius: 70px;
    box-shadow: 0 4px 26px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: flex-end;
}

.article-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.5) 100%);
    border-bottom-left-radius: 70px;
    border-bottom-right-radius: 70px;
}

.article-hero .container {
    position: relative;
    z-index: 1;
}

.article-hero-content {
    max-width: 740px;
}

.article-hero-content h1 {
    font-size: 3rem;
    font-weight: 500;
    color: #ffffff;
    line-height: 0.85;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Article Content Section */
.article-content {
    padding: 60px 0 80px;
    background: #f4f4f4;
}

.article-intro {
    font-size: 1rem;
    color: #000000;
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 862px;
    margin-left: auto;
    margin-right: auto;
}

.article-body {
    max-width: 862px;
    margin: 0 auto;
}

.article-body p {
    font-size: 1rem;
    color: #000000;
    line-height: 1.7;
    margin-bottom: 24px;
}

.article-body p:last-child {
    margin-bottom: 0;
}

.article-body strong {
    font-weight: 600;
}

/* More Entries Section */
.more-entries {
    padding: 80px 0;
    background: #f4f4f4;
}

.more-entries h2 {
    font-size: 2.25rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 40px;
    line-height: 0.85;
}

.entries-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.entry-card {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.entry-card:hover {
    transform: translateY(-5px);
}

.entry-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 292 / 207;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 12px;
    background: var(--bg-gray);
}

.entry-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.entry-card-meta {
    position: absolute;
    bottom: 12px;
    left: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.meta-date,
.meta-item,
.meta-category {
    font-size: 0.6875rem;
    color: #ffffff;
    line-height: 1;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 3px;
}

.meta-item i {
    font-size: 0.625rem;
}

.meta-category {
    background: rgba(255, 255, 255, 0.2);
    padding: 3px 8px;
    border-radius: 10px;
}

.entry-card-title {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--primary-color);
    line-height: 0.85;
}

/* Newsletter Article Section */
.newsletter-article {
    padding: 80px 0 100px;
    background: #f4f4f4;
    text-align: center;
}

.newsletter-article h2 {
    font-size: 3rem;
    font-weight: 500;
    color: var(--primary-color);
    max-width: 740px;
    margin: 0 auto 50px;
    line-height: 0.85;
}

.newsletter-form-article {
    display: flex;
    gap: 20px;
    max-width: 640px;
    margin: 0 auto 30px;
    justify-content: center;
}

.newsletter-form-article input {
    flex: 1;
    max-width: 461px;
    padding: 10px 24px;
    border: none;
    border-radius: 40px;
    font-size: 1.25rem;
    font-weight: 300;
    color: #686868;
    background: #d9d9d9;
    transition: 0.3s;
}

.newsletter-form-article input::placeholder {
    color: #686868;
}

.newsletter-form-article input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(8, 77, 67, 0.1);
}

.btn-subscribe-article {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 40px;
    font-size: 1.25rem;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s;
    white-space: nowrap;
}

.btn-subscribe-article:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(8, 77, 67, 0.3);
}

.newsletter-disclaimer-article {
    font-size: 0.75rem;
    color: #000000;
    max-width: 720px;
    margin: 0 auto 40px;
    line-height: 0.85;
    text-align: center;
}

.social-icons-article {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    max-width: 900px;
    margin: 0 auto;
}

.social-icons-article a {
    width: 24px;
    height: 24px;
    background: transparent;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    font-size: 1rem;
}

.social-icons-article a:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

/* Article body extended elements */
.article-body h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 32px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.article-body ul,
.article-body ol {
    padding-left: 1.4rem;
    margin-bottom: 24px;
}

.article-body li {
    font-size: 1rem;
    color: #000000;
    line-height: 1.7;
    margin-bottom: 6px;
}

.article-body a {
    color: var(--primary-color);
    text-decoration: underline;
    word-break: break-all;
}

.article-body a:hover {
    color: var(--accent-color);
}

.article-sources {
    margin-top: 48px;
    padding-top: 28px;
    border-top: 1px solid #d0d0d0;
}

.article-sources h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 14px;
}

.article-sources ul {
    list-style: none;
    padding-left: 0;
}

.article-sources li {
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.entry-card-title a {
    color: inherit;
    text-decoration: none;
}

.entry-card-title a:hover {
    color: var(--accent-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .entries-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .entry-card:last-child {
        grid-column: 1 / -1;
        max-width: 50%;
        margin: 0 auto;
    }
}

@media (max-width: 968px) {
    .article-hero {
        border-bottom-left-radius: 40px;
        border-bottom-right-radius: 40px;
        min-height: 450px;
        padding: 140px 0 60px;
    }

    .article-hero-overlay {
        border-bottom-left-radius: 40px;
        border-bottom-right-radius: 40px;
    }

    .article-hero-content h1 {
        font-size: 2.5rem;
    }

    .more-entries h2,
    .newsletter-article h2 {
        font-size: 2rem;
    }

    .newsletter-form-article {
        flex-direction: column;
        max-width: 400px;
    }

    .newsletter-form-article input,
    .btn-subscribe-article {
        width: 100%;
        max-width: none;
    }

    .social-icons-article {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .entries-cards {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .entry-card:last-child {
        max-width: 100%;
    }

    .entry-card-image {
        aspect-ratio: 16 / 10;
    }
}

@media (max-width: 576px) {
    .article-hero {
        padding: 120px 0 40px;
        min-height: 400px;
    }

    .article-hero-content h1 {
        font-size: 2rem;
    }

    .article-content {
        padding: 40px 0 60px;
    }

    .article-intro,
    .article-body p {
        font-size: 0.95rem;
    }

    .more-entries,
    .newsletter-article {
        padding: 60px 0;
    }

    .more-entries h2 {
        font-size: 1.75rem;
    }

    .entry-card-title {
        font-size: 1.25rem;
    }

    .newsletter-article h2 {
        font-size: 1.75rem;
        line-height: 1;
    }

    .newsletter-form-article input,
    .btn-subscribe-article {
        font-size: 1rem;
        padding: 12px 20px;
    }
}
