.article-hero {
    position: relative;
    height: 420px;
    overflow: hidden;
    border-bottom: 4px solid var(--brand-brown);
}

.article-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform 5s ease;
}

.article-hero:hover img {
    transform: scale(1.1);
}

.article-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.85));
    display: flex;
    align-items: flex-end;
    padding: 40px;
    color: #fff;
    animation: fadeInUp 1s ease-out;
}

.article-overlay h1 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
}

.article-overlay p {
    margin-top: 8px;
    font-size: 1.05rem;
    opacity: 0.9;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    font-size: 0.9rem;
    color: #666;
}

.author-pic {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-gold);
}

.article-content {
    margin-top: 28px;
}

.article-content p {
    line-height: 1.85;
    margin-bottom: 1.3rem;
    color: #444;
    font-size: 1.05rem;
}

.article-content p:first-letter {
    float: left;
    font-size: 3rem;
    line-height: 1;
    margin-right: 8px;
    font-weight: 700;
    color: var(--brand-brown);
}

.article-content blockquote {
    border-left: 5px solid var(--accent-gold);
    padding-left: 18px;
    font-style: italic;
    color: #444;
    margin: 2rem 0;
    background: #fffaf0;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.share-box {
    margin: 40px 0;
    padding: 18px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 12px;
}

.share-box a {
    font-size: 1.5rem;
    color: var(--brand-brown);
    transition: transform 0.3s ease, color 0.3s ease;
}

.share-box a:hover {
    color: var(--accent-gold);
    transform: translateY(-3px);
}

.gallery img {
    width: 100%;
    height: auto;
    object-fit: cover;   
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.related-news {
    margin-top: 60px;
}

.related-news h4 {
    margin-bottom: 24px;
    font-weight: 600;
    color: var(--brand-brown);
    border-bottom: 2px solid #eee;
    padding-bottom: 6px;
}

.related-card {
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
}

.related-card img {
    border-radius: 10px 10px 0 0;
    height: 180px;
    object-fit: cover;
}

.related-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.back-link {
    display: inline-block;
    margin-top: 36px;
    text-decoration: none;
    font-weight: 600;
    color: var(--brand-brown);
    transition: transform 0.3s ease, color 0.3s ease;
}

.back-link:hover {
    color: var(--accent-gold);
    transform: translateX(-5px);
}