.blog-page {
    background: #f4f7f8;
    color: #1b2836;
}

.blog-hero {
    background: #16342f url('../img/cloud-server-banner-1.webp') center/cover no-repeat;
    color: #fff;
    padding: 72px 0 48px;
}

.blog-wrap {
    box-sizing: content-box;
    width: auto;
    max-width: 1320px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.blog-wrap::before,
.blog-wrap::after {
    content: none;
    display: none;
}

.blog-eyebrow {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 13px;
}

.blog-hero h1 {
    margin: 10px 0 8px;
    color: #fff;
    font-size: 46px;
    line-height: 1.1;
}

.blog-hero p {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
}

.blog-index,
.blog-article {
    padding: 28px 0 64px;
}

.blog-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

.blog-filter {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    background: #fff;
    color: #1b2836;
    text-decoration: none;
    font-weight: 700;
    border: 1px solid #d7e0e4;
}

.blog-filter.is-active {
    background: #1a4a38;
    color: #fff;
    border-color: #1a4a38;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.blog-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(22, 40, 36, 0.06);
    display: flex;
    flex-direction: column;
}

.blog-card-media,
.blog-article-cover {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #dfe8ea;
}

.blog-card-media img,
.blog-article-cover img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    display: block;
}

.blog-card-category {
    position: absolute;
    left: 12px;
    bottom: 12px;
    background: #1a4a38;
    color: #fff;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.blog-hero--post {
    background: linear-gradient(135deg, #1a2332 0%, #243044 100%);
    padding: 60px 0 40px;
}

.blog-hero--post h1 {
    max-width: 920px;
    margin: 0 0 12px;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.25;
}

.blog-hero-category {
    display: inline-block;
    margin: 0 0 12px;
    color: #be7b2e;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
}

.blog-hero--post .blog-breadcrumb,
.blog-hero--post .blog-breadcrumb a,
.blog-hero--post .blog-breadcrumb-current {
    color: #c5cdd8;
}

.blog-hero--post .blog-breadcrumb {
    margin-bottom: 20px;
    font-size: 13px;
}

.blog-breadcrumb-current {
    color: #c5cdd8;
}

.blog-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    color: #c5cdd8;
    font-size: 14px;
}

.blog-hero-meta i {
    margin-right: 6px;
}

.blog-hero-tags,
.blog-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.blog-hero-tags {
    margin-top: 16px;
}

.blog-tag {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    background: #f4f6f8;
    border: 1px solid #dde3ea;
    color: #1a2332;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.blog-tag--hero {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
}

.blog-card-body {
    padding: 16px 16px 18px;
}

.blog-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: #5d6d78;
    font-size: 13px;
    margin-bottom: 8px;
}

.blog-hero .blog-card-meta {
    color: rgba(255, 255, 255, 0.85);
}

.blog-card-title {
    margin: 0 0 8px;
    font-size: 20px;
    line-height: 1.3;
}

.blog-card-title a {
    color: #1b2836;
    text-decoration: none;
}

.blog-card-excerpt {
    margin: 0;
    color: #3d4d5c;
    font-size: 15px;
    line-height: 1.5;
}

.blog-breadcrumb {
    margin-bottom: 12px;
    font-size: 14px;
}

.blog-breadcrumb a {
    color: #fff;
}

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

.blog-article-main,
.blog-sidebar,
.blog-content {
    min-width: 0;
    max-width: 100%;
}

.blog-article {
    background: #f4f6f8;
}

.blog-article-main {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(26, 35, 50, 0.06);
}

.blog-article-cover {
    margin: 0;
}

.blog-content {
    padding: 36px 40px 8px;
    font-size: 17px;
    line-height: 1.7;
    color: #2d3748;
}

.blog-content h2,
.blog-content h3 {
    margin: 28px 0 10px;
    line-height: 1.25;
}

.blog-content p,
.blog-content ul {
    margin: 0 0 14px;
}

.blog-content a {
    color: #1a4a38;
    font-weight: 700;
}

.blog-content img {
    max-width: 100%;
    height: auto;
}

.blog-article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin: 8px 40px 0;
    padding: 20px 0;
    border-top: 1px solid #dde3ea;
}

.blog-article-tags-label {
    font-weight: 700;
    color: #1a2332;
}

.blog-faq {
    padding: 8px 40px 12px;
}

.blog-faq h2 {
    margin: 0 0 6px;
    font-size: 22px;
}

.blog-faq-intro {
    margin: 0 0 16px;
    color: #5d6d78;
}

.blog-faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.blog-faq-item {
    background: #fafbfc;
    border: 1px solid #dde3ea;
    border-radius: 10px;
}

.blog-faq-item summary {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    cursor: pointer;
    list-style: none;
}

.blog-faq-item summary::-webkit-details-marker {
    display: none;
}

.blog-faq-num {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #1a2332;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 28px;
    text-align: center;
}

.blog-faq-question {
    color: #9a6324;
    font-size: 15px;
    font-weight: 600;
}

.blog-faq-answer {
    padding: 0 16px 14px 56px;
    color: #2d3748;
}

.blog-faq-answer p {
    margin: 0;
}

.blog-back {
    margin: 0;
    padding: 8px 40px 28px;
}

.blog-back a {
    color: #1a4a38;
    font-weight: 700;
}

.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.blog-sidebar-widget {
    background: #fff;
    border: 1px solid #dde3ea;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 16px rgba(26, 35, 50, 0.04);
}

.blog-sidebar-title {
    margin: 0 0 14px;
    color: #1a2332;
    font-size: 15px;
    font-weight: 700;
}

.blog-sidebar-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.blog-sidebar-card {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 10px;
    margin-bottom: 12px;
    color: #1a2332;
    text-decoration: none;
}

.blog-sidebar-list li:last-child .blog-sidebar-card {
    margin-bottom: 0;
}

.blog-sidebar-thumb {
    width: 72px;
    height: 52px;
    object-fit: cover;
    border-radius: 8px;
}

.blog-sidebar-card-title {
    display: block;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}

.blog-sidebar-card-meta,
.blog-sidebar-date {
    display: block;
    margin-top: 4px;
    color: #5d6d78;
    font-size: 12px;
}

.blog-sidebar-list--plain li {
    margin-bottom: 12px;
}

.blog-sidebar-list--plain li:last-child {
    margin-bottom: 0;
}

.blog-sidebar-link {
    color: #1a2332;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.35;
    text-decoration: none;
}

.blog-sidebar-cta p {
    margin: 0 0 14px;
    color: #3d4d5c;
    line-height: 1.5;
}

.blog-sidebar-cta-link {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 8px;
    background: #1a4a38;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.blog-side-card {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 10px;
    background: #fff;
    border-radius: 12px;
    padding: 8px;
    margin-bottom: 10px;
    text-decoration: none;
    color: #1b2836;
}

.blog-side-card img {
    width: 88px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
}

.blog-side-card strong {
    display: block;
    font-size: 14px;
    line-height: 1.35;
}

.blog-side-card time {
    color: #5d6d78;
    font-size: 12px;
}

@media (max-width: 980px) {
    .blog-grid,
    .blog-article-layout {
        grid-template-columns: 1fr;
    }
    .blog-hero h1,
    .blog-hero--post h1 {
        font-size: 28px;
    }
    .blog-content,
    .blog-faq,
    .blog-article-tags,
    .blog-back {
        padding-left: 20px;
        padding-right: 20px;
    }
    .blog-article-tags,
    .blog-back {
        margin-left: 0;
        margin-right: 0;
    }
}
