.blog-hero,
.article-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 55%, #334155 100%);
    color: #ffffff;
    padding: 48px 0;
}

.blog-hero__inner,
.article-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 32px;
    align-items: center;
}

.blog-eyebrow {
    display: inline-block;
    margin-bottom: 16px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.blog-hero h1,
.article-hero h1 {
    margin: 0 0 16px;
    color: #ffffff;
    font-size: 42px;
    line-height: 1.12;
    font-weight: 700;
}

.blog-hero__intro,
.article-lead {
    font-size: 18px;
    line-height: 1.75;
    color: #e2e8f0;
}

.blog-hero__media img,
.article-hero__media img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.35);
}

.blog-listing,
.article-layout {
    background: #f8fafc;
    padding: 36px 0 64px;
}

.blog-listing__meta {
    margin-bottom: 24px;
    color: #475569;
    font-size: 17px;
    line-height: 1.7;
}

.blog-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 14px 42px rgba(15, 23, 42, 0.07);
}

.blog-card__image {
    display: block;
    background: linear-gradient(135deg, #dbeafe, #eff6ff);
    min-height: 220px;
}

.blog-card__image img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.blog-card__image-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    padding: 24px;
    color: #0f172a;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
}

.blog-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 24px;
}

.blog-card__meta-row,
.article-meta,
.article-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    align-items: center;
    color: #64748b;
    font-size: 14px;
}

.article-breadcrumbs {
    margin-bottom: 18px;
    color: #cbd5e1;
}

.article-breadcrumbs a {
    color: #ffffff;
    text-decoration: none;
}

.blog-card h2 {
    margin: 14px 0 12px;
    font-size: 28px;
    line-height: 1.25;
}

.blog-card h2 a {
    color: #0f172a;
    text-decoration: none;
}

.blog-card p {
    margin: 0 0 18px;
    color: #475569;
    font-size: 16px;
    line-height: 1.75;
}

.blog-card__link {
    margin-top: auto;
    color: #2563eb;
    font-weight: 700;
    text-decoration: none;
}

.blog-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: center;
    margin-top: 36px;
}

.blog-pagination__page,
.blog-pagination__arrow,
.blog-pagination__current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #0f172a;
    text-decoration: none;
    font-weight: 600;
}

.blog-pagination__current {
    border-color: #2563eb;
    background: #2563eb;
    color: #ffffff;
}

.blog-empty-state,
.article-side-card {
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 14px 42px rgba(15, 23, 42, 0.07);
}

.blog-empty-state {
    padding: 32px;
}

.article-layout__container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    align-items: start;
}

.article-content,
.article-side-card {
    padding: 28px;
}

.article-content {
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 14px 42px rgba(15, 23, 42, 0.07);
}

.article-content p,
.article-content li {
    color: #334155;
    font-size: 17px;
    line-height: 1.9;
}

.article-content h2,
.article-content h3 {
    color: #0f172a;
    margin-top: 28px;
    margin-bottom: 14px;
}

.article-faq {
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid #e2e8f0;
}

.article-faq__list {
    display: grid;
    gap: 18px;
}

.article-faq__item {
    padding: 22px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.article-faq__item h3 {
    margin: 0 0 10px;
    font-size: 20px;
}

.article-side-card + .article-side-card {
    margin-top: 20px;
}

.article-side-card h2 {
    margin-top: 0;
    margin-bottom: 12px;
    color: #0f172a;
    font-size: 22px;
}

.article-side-card p {
    margin: 0 0 16px;
    color: #475569;
    line-height: 1.75;
}

.article-side-card__actions {
    display: grid;
    gap: 12px;
}

.article-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
}

.article-button--primary {
    background: #2563eb;
    color: #ffffff;
}

.article-button--secondary {
    background: #eff6ff;
    color: #1d4ed8;
}

@media (max-width: 991px) {
    .blog-hero__inner,
    .article-hero__inner,
    .article-layout__container {
        grid-template-columns: 1fr;
    }

    .blog-card-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .blog-hero,
    .article-hero {
        padding: 32px 0;
    }

    .blog-hero h1,
    .article-hero h1 {
        font-size: 32px;
    }

    .blog-card__body,
    .article-content,
    .article-side-card {
        padding: 22px;
    }
}
