/* ============================================
   ARTICLE DETAIL PAGE - Corporate Clean
============================================ */

.article-detail-page {
    background: #f8fafc;
}

/* Hero Section */
.article-hero {
    position: relative;
    min-height: 450px;
    display: flex;
    align-items: flex-end;
    padding: 4rem 0;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.4);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 31, 73, 0.95) 0%, rgba(0, 31, 73, 0.5) 50%, rgba(0, 31, 73, 0.3) 100%);
}

.article-hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 800px;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    text-decoration: none;
    margin-bottom: 1.5rem;
    transition: color 0.2s;
}

.back-btn:hover {
    color: #00aeef;
}

.article-category {
    display: inline-block;
    background: #00aeef;
    color: #fff;
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 3px;
    margin-bottom: 1rem;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin: 0 0 1.5rem 0;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.author-details {
    display: flex;
    flex-direction: column;
}

.author-name {
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
}

.author-role {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}

.author-profile-link {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-top: 6px;
    color: #00aeef;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.author-profile-link:hover {
    color: #ffffff;
}

.meta-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

.publish-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.publish-date,
.read-time {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.publish-date i,
.read-time i {
    color: #00aeef;
}

/* Article Content Section */
.article-content-section {
    padding: 4rem 0;
}

.article-body {
    background: #fff;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.article-body p {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #4a5568;
    margin-bottom: 1.5rem;
}

.article-quote {
    position: relative;
    background: linear-gradient(135deg, #001f49 0%, #003366 100%);
    padding: 2rem 2.5rem;
    border-radius: 6px;
    margin: 2rem 0;
}

.article-quote .bi-quote {
    position: absolute;
    top: -15px;
    left: 24px;
    font-size: 3rem;
    color: #00aeef;
    opacity: 0.5;
}

.article-quote p {
    color: #fff;
    font-size: 1.15rem;
    font-style: italic;
    line-height: 1.7;
    margin: 0;
}

/* Article Footer */
.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 2rem 0;
    margin-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.section-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-item {
    display: inline-block;
    padding: 6px 14px;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s;
}

.tag-item:hover {
    background: #001f49;
    color: #fff;
}

.share-buttons {
    display: flex;
    gap: 8px;
}

.share-btn {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    border: none;
    color: #fff;
    font-size: 1rem;
    text-decoration: none;
    transition: transform 0.2s, opacity 0.2s;
    cursor: pointer;
}

.share-btn:hover {
    transform: translateY(-2px);
    color: #fff;
}

.share-btn.copy-link {
    background: #6366f1;
}

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

/* Author Box */
.author-box {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    margin-top: 2rem;
}

.author-box-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.author-box-label {
    font-size: 11px;
    font-weight: 600;
    color: #00aeef;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.author-box-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #001f49;
    margin: 4px 0 8px;
}

.author-box-desc {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

/* Sidebar */
.article-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    margin-bottom: 1.5rem;
}

.widget-title {
    font-size: 1rem;
    font-weight: 700;
    color: #001f49;
    margin: 0 0 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #00aeef;
}

/* Related Articles */
.related-articles {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.related-item {
    display: flex;
    gap: 14px;
    text-decoration: none;
    transition: transform 0.2s;
}

.related-item:hover {
    transform: translateX(4px);
}

.related-image {
    width: 80px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-info h5 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 4px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-info span {
    font-size: 0.75rem;
    color: #94a3b8;
}

/* Popular Articles */
.popular-articles {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.popular-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    text-decoration: none;
    transition: transform 0.2s;
}

.popular-item:hover {
    transform: translateX(4px);
}

.popular-number {
    font-size: 1.65rem;
    font-weight: 900;
    color: #475569;
    line-height: 1;
    min-width: 32px;
}

.popular-item:hover .popular-number {
    color: #00aeef;
}

.popular-info h5 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 4px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.popular-info span {
    font-size: 0.75rem;
    color: #94a3b8;
}

.popular-image {
    width: 80px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.popular-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Sidebar CTA */
.sidebar-cta {
    background: linear-gradient(135deg, #001f49 0%, #003366 100%);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

.sidebar-cta h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
}

.sidebar-cta p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 1.25rem;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #25d366;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s;
}

.cta-btn:hover {
    background: #20ba5a;
    color: #fff;
    transform: translateY(-2px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .article-hero {
        min-height: 380px;
    }

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

    .article-body {
        padding: 2rem;
    }

    .article-sidebar {
        position: static;
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .article-hero {
        min-height: 320px;
        padding: 2rem 0;
    }

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

    .article-meta {
        gap: 1rem;
    }

    .meta-divider {
        display: none;
    }

    .author-avatar {
        width: 40px;
        height: 40px;
    }

    .article-body {
        padding: 1.5rem;
        border-radius: 0;
    }

    .article-body p {
        font-size: 1rem;
    }

    .article-quote {
        padding: 1.5rem;
    }

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

    .article-footer {
        flex-direction: column;
    }

    .author-box {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .author-box-avatar {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 480px) {
    .article-content-section {
        padding: 2rem 0;
    }

    .article-body {
        padding: 1.25rem;
    }

    .publish-info {
        flex-direction: row;
        gap: 12px;
    }

    .sidebar-widget {
        padding: 1.25rem;
    }
}
