/* ===================================================
   TIN TỨC CHI TIẾT — Premium Article Styles
   Tập đoàn Thủy Long
   =================================================== */

/* ===== ARTICLE HERO ===== */
.article-hero {
    position: relative;
    padding: clamp(140px, 15vw, 180px) 5% clamp(60px, 8vw, 90px);
    background: linear-gradient(155deg, #081a32 0%, #0e2a4e 40%, #1a4a82 100%);
    overflow: hidden;
    text-align: center;
}
.article-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.article-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(180deg, transparent, var(--white));
}
.ah-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    pointer-events: none;
}
.ah-glow-1 { top: -200px; right: -100px; background: var(--gold); }
.ah-glow-2 { bottom: -200px; left: -100px; background: #1a5fb5; }

.ah-content {
    position: relative;
    z-index: 5;
    max-width: 900px;
    margin: 0 auto;
}
.ah-cat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 18px;
    border-radius:0;
    background: rgba(176, 140, 32, 0.2);
    border: 1px solid rgba(176, 140, 32, 0.4);
    font-family: var(--ff-h);
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold-l);
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
}
.ah-title {
    font-family: var(--ff-h);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 24px;
}
.ah-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--fs-sm);
    flex-wrap: wrap;
}
.ah-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}
.ah-meta-item svg {
    width: 16px;
    height: 16px;
    color: var(--gold-l);
}
.ah-author {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 600;
}
.ah-author img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    object-fit: cover;
}

/* ===== MAIN ARTICLE LAYOUT ===== */
.article-wrap {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: clamp(40px, 6vw, 80px);
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 5% clamp(60px, 8vw, 100px);
    position: relative;
    z-index: 10;
}

/* ===== ARTICLE CONTENT ===== */
.article-main {
    background: var(--white);
    border-radius:0;
    padding: clamp(30px, 5vw, 50px);
    box-shadow: var(--sh-l);
    margin-top: -60px;
    border: 1px solid var(--brd);
}
.article-lead {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    line-height: 1.8;
    color: var(--txt-b);
    font-weight: 500;
    margin-bottom: 40px;
}
.article-lead::first-letter {
    float: left;
    font-family: var(--ff-h);
    font-size: 4.5rem;
    line-height: 0.8;
    padding-right: 12px;
    color: var(--gold);
    font-weight: 800;
}

.article-body {
    font-family: var(--ff-b);
    color: var(--txt-m);
    line-height: 1.9;
    font-size: 1.1rem;
}
.article-body h2 {
    font-family: var(--ff-h);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--txt);
    margin: 40px 0 20px;
}
.article-body h3 {
    font-family: var(--ff-h);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--txt-b);
    margin: 30px 0 16px;
}
.article-body p {
    margin-bottom: 24px;
}
.article-body img {
    width: 100%;
    height: auto;
    border-radius:0;
    margin: 32px 0 12px;
}
.article-body figcaption {
    text-align: center;
    font-size: 0.9rem;
    color: var(--txt-l);
    font-style: italic;
    margin-bottom: 32px;
}
.article-body blockquote {
    border-left: 4px solid var(--gold);
    background: var(--cream2);
    padding: 24px 32px;
    margin: 40px 0;
    border-radius:0;
    font-style: italic;
    font-size: 1.2rem;
    color: var(--txt-b);
    position: relative;
}
.article-body blockquote::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 4rem;
    font-family: var(--ff-h);
    color: var(--gold-bg);
    line-height: 1;
    z-index: 0;
}
.article-body blockquote p {
    position: relative;
    z-index: 1;
    margin-bottom: 0;
}
.article-body ul {
    margin-bottom: 24px;
    padding-left: 24px;
}
.article-body ul li {
    margin-bottom: 12px;
    position: relative;
    list-style-type: none;
}
.article-body ul li::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 10px;
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
}

/* Share & Tags */
.article-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--brd);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.article-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.a-tag {
    padding: 6px 14px;
    background: var(--bg);
    border: 1px solid var(--brd);
    border-radius:0;
    font-size: 0.85rem;
    color: var(--txt-m);
    transition: all 0.3s;
}
.a-tag:hover {
    background: var(--gold-bg);
    color: var(--gold-d);
    border-color: var(--gold-brd);
}
.article-share {
    display: flex;
    align-items: center;
    gap: 12px;
}
.share-lbl {
    font-family: var(--ff-h);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.share-btn {
    width: 40px;
    height: 40px;
    border-radius:0;
    background: var(--bg);
    border: 1px solid var(--brd);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--txt-m);
    transition: all 0.3s;
    cursor: pointer;
}
.share-btn svg { width: 18px; height: 18px; }
.share-btn:hover {
    background: var(--gold);
    color: #fff;
    border-color: var(--gold);
    transform: translateY(-2px);
}

/* ===== SIDEBAR ===== */
.article-side {
    padding-top: 30px;
}
.side-widget {
    background: var(--white);
    border: 1px solid var(--brd);
    border-radius:0;
    padding: 24px;
    margin-bottom: 30px;
}
.side-title {
    font-family: var(--ff-h);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gold-bg);
    position: relative;
}
.side-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gold);
}

.related-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.rel-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    group-hover: var(--gold);
}
.rel-item:hover .rel-title {
    color: var(--gold);
}
.rel-img {
    width: 90px;
    height: 70px;
    border-radius:0;
    object-fit: cover;
    flex-shrink: 0;
}
.rel-info {
    flex: 1;
}
.rel-title {
    font-family: var(--ff-h);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--txt);
    line-height: 1.4;
    margin-bottom: 6px;
    transition: color 0.3s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.rel-date {
    font-size: 0.8rem;
    color: var(--txt-l);
}

.author-widget {
    text-align: center;
}
.aw-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold-bg);
    color: var(--gold);
    font-family: var(--ff-h);
    font-size: 1.5rem;
    font-weight: 700;
    border: 2px solid var(--gold-brd);
}
.aw-name {
    font-family: var(--ff-h);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}
.aw-role {
    font-size: 0.85rem;
    color: var(--txt-l);
    margin-bottom: 12px;
}
.aw-desc {
    font-size: 0.95rem;
    color: var(--txt-m);
    line-height: 1.6;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .article-wrap {
        grid-template-columns: 1fr;
        padding-top: 40px;
    }
    .article-main {
        margin-top: -80px;
    }
}
@media (max-width: 768px) {
    .ah-title {
        font-size: 2rem;
    }
    .article-main {
        padding: 24px;
    }
    .article-lead {
        font-size: 1.1rem;
    }
    .article-lead::first-letter {
        font-size: 3.5rem;
    }
    .article-body {
        font-size: 1rem;
    }
    .article-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Fix gap above nav when scrolling in news detail pages (breadcrumb scrolls away) */
.nav.has-breadcrumb.scrolled {
    top: 0;
}

/* Hide dates as requested */
.rel-date { display: none !important; }
.ah-meta-item:first-of-type { display: none !important; }
