
.article-header {
    position: relative;
    padding-bottom: 60px;
}

.article-header::before {
    content: '';
    position: absolute;
    inset: -120px var(--liquid-min-margin) 0 var(--liquid-min-margin);
    border-radius: 0 0 16px 16px;
    background: linear-gradient(133deg, rgba(165, 228, 211, 0.2) 61%, rgb(165, 228, 211) 104%);
    z-index: -1;
}

.article-header-content {
    grid-column: content;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 0 var(--liquid-min-margin);
}


.article-breadcrumb {
    padding: 0 0 40px;
    font-family: 'Poppins', sans-serif;
    font-size: var(--font-size-xs);
    color: #0b2055;
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-breadcrumb a {
    color: #0b2055;
    text-decoration: none;
}

.article-breadcrumb a:hover {
    text-decoration: underline;
}

.article-breadcrumb-separator {
    color: #0b2055;
}

.article-breadcrumb-current {
    color: #0b2055;
}

.article-header-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.article-header-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.article-meta .blog-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px 4px;
    border-radius: 68px;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.15;
    color: #fff;
    background-color: #2c4995;
    white-space: nowrap;
}

.article-meta-date {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #060606;
}

.article-meta-reading-time {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #2d4995;
}

/* Title, excerpt, author */

.article-title {
    font-family: 'Poppins', sans-serif;
    font-size: 36px;
    font-weight: 500;
    line-height: 1.25;
    color: #1d1d1b;
    margin: 0;
}

.article-excerpt {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #1d1d1b;
    margin: 0;
}

.article-author {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #0b2055;
}

.article-author-name {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #0b2055;
}

/* Image card */

.article-image-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    max-height: 300px;
}

.article-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.article-body {
    padding: 60px 0 40px;
}

.article-body-grid {
    grid-column: content;
    display: grid;
    grid-template-columns: 1fr 379px;
    gap: 40px;
    align-items: start;
}

/* Left column */

.article-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.article-content-text h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 26px;
    font-weight: 500;
    color: #0b2055;
    line-height: 1.2;
    margin: 0 0 16px;
}

.article-content-text h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 500;
    color: #0b2055;
    line-height: 1.3;
    margin: 0 0 12px;
}

.article-content-text p {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #1d1d1b;
    margin: 0 0 12px;
}

.article-content-text ul,
.article-content-text ol {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #1d1d1b;
    padding-left: 0;
    margin: 0 0 16px;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.article-content-text ul li,
.article-content-text ol li {
    position: relative;
    padding-left: 28px;
}

.article-content-text ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #158287;
    flex-shrink: 0;
}

.article-content-text ol {
    counter-reset: article-counter;
}

.article-content-text ol li {
    counter-increment: article-counter;
}

.article-content-text ol li::before {
    content: counter(article-counter);
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #158287;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Table */

.article-content-text table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    margin: 0 0 16px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.article-content-text thead tr {
    background: linear-gradient(133deg, #0b2055 0%, #158287 100%);
}

.article-content-text thead th {
    padding: 14px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    color: #fff;
    border: none;
    white-space: nowrap;
}

.article-content-text tbody tr {
    border-bottom: 1px solid #e5e7eb;
    transition: background-color 0.15s ease;
}

.article-content-text tbody tr:last-child {
    border-bottom: none;
}

.article-content-text tbody tr:nth-child(even) {
    background-color: #f5fffe;
}

.article-content-text tbody tr:hover {
    background-color: #ebfaf5;
}

.article-content-text tbody td {
    padding: 12px 20px;
    color: #1d1d1b;
    vertical-align: top;
    line-height: 1.5;
}

.article-content-text tbody td:first-child {
    font-weight: 500;
    color: #0b2055;
}

/* Divider */

.article-divider {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 0;
}

/* Share */

.article-share {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.article-share-title {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #1d1d1b;
    margin: 0;
}

.article-share-links {
    display: flex;
    gap: 12px;
}

.article-share-linkedin {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: opacity 0.2s ease;
}

.article-share-linkedin:hover {
    opacity: 0.85;
}

/* =========================================
   Sidebar
   ========================================= */

.article-sidebar {
    position: sticky;
    top: 20px;
}

.article-popular {
    background: white;
    border: 1px solid #f3f4f6;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.article-popular-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-popular-title {
    font-family: 'Inter Tight', sans-serif;
    font-size: 22px;
    font-weight: 500;
    color: #0b2055;
    margin: 0;
}

.article-popular-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.article-popular-item {
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: inherit;
}

.article-popular-thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background-color: #f3f4f6;
}

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

.article-popular-thumbnail-placeholder {
    width: 100%;
    height: 100%;
    background-color: #f3f4f6;
}

.article-popular-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.article-popular-name {
    font-family: 'Inter Tight', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #060606;
    line-height: 1.3;
    margin: 0;
}

.article-popular-time {
    font-family: 'Inter Tight', sans-serif;
    font-size: 12px;
    color: #686866;
    margin: 0;
}

.article-popular-item:hover .article-popular-name {
    color: #0b2055;
}

@media (max-width: 974px) {
    .article-header-grid {
        grid-template-columns: 1fr;
    }

    .article-header-right {
        display: none;
    }

    .article-title {
        font-size: 28px;
    }

    .article-body-grid {
        grid-template-columns: 1fr;
    }

    .article-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .article-title {
        font-size: 24px;
    }

    .article-content-text h2 {
        font-size: 24px;
    }

    .article-content-text table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        font-size: 14px;
    }

    .article-content-text thead th,
    .article-content-text tbody td {
        padding: 10px 14px;
        white-space: nowrap;
    }
}
