@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700&display=swap");

.blog-list {
    max-width: 1140px;
    padding-top: 28px;
    padding-bottom: 48px;
}

.blog-filter-label {
    margin-bottom: 18px;
}

.blog-grid-item {
    margin-bottom: 30px;
}

.blog-card {
    height: 100%;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.blog-card-cover-link {
    display: block;
}

.blog-card-cover {
    display: block;
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.blog-card-body {
    padding: 16px 18px 18px;
}

.blog-card-title {
    margin: 0 0 10px;
    font-family: "Montserrat", "Roboto", Arial, sans-serif !important;
    font-size: 16px !important;
    line-height: 1.3;
}

.blog-card-title a {
    font-family: inherit;
    font-size: inherit;
    color: #111;
    text-decoration: none;
}

.blog-card-title a:hover {
    color: #e76135;
}

.blog-card-excerpt {
    margin-bottom: 10px;
    color: #444;
    line-height: 1.6;
}

.blog-card-date {
    margin: 0;
    color: #888;
    font-size: 13px;
}

.blog-empty-state {
    padding: 32px 24px;
    background: #fff;
    border: 1px dashed #d7d7d7;
    border-radius: 10px;
    color: #666;
}

.blog-pagination-wrap {
    margin-top: 8px;
    text-align: center;
}

.blog-pagination > li > a,
.blog-pagination > li > span {
    border-radius: 8px !important;
    margin: 0 3px;
    border-color: #ddd;
    color: #444;
}

.blog-pagination > .active > a,
.blog-pagination > .active > span,
.blog-pagination > .active > a:hover,
.blog-pagination > .active > span:hover {
    background: #e76135;
    border-color: #e76135;
}

.blog-article {
    max-width: 1130px;
    padding-top: 28px;
    padding-bottom: 56px;
}

.blog-article-inner {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 22px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.blog-article-top-links {
    margin-bottom: 16px;
    color: #777;
    font-size: 14px;
}

.blog-article-top-links a {
    color: #555;
}

.blog-article-top-links a:hover {
    color: #e76135;
}

.blog-links-sep {
    margin: 0 8px;
    color: #aaa;
}

.blog-article-cover {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 16px;
}

.blog-article-hero {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 10px;
}

.blog-article-hero-media {
    flex: 0 0 312px;
    max-width: 312px;
}

.blog-article-hero-media .blog-article-cover {
    width: 100%;
    height: 216px;
    object-fit: cover;
    margin-bottom: 0;
}

.blog-article-hero-content {
    min-width: 0;
    flex: 1;
}

.blog-article h1.blog-article-title {
    margin: 0 0 10px;
    font-family: "Montserrat", "Roboto", Arial, sans-serif;
    font-size: 24px !important;
    line-height: 1.25;
    color: #111;
}

.blog-article-date {
    margin: 0 0 14px;
    color: #888;
    font-size: 13px;
}

.blog-article-cats {
    margin: 0 0 18px;
}

.blog-cat-chip {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f4f4f4;
    border: 1px solid #e5e5e5;
    color: #444;
    text-decoration: none;
    font-size: 12px;
    margin-right: 6px;
    margin-bottom: 6px;
}

.blog-cat-chip:hover {
    background: #fff2ec;
    border-color: #ffd6c4;
    color: #d55121;
}

.blog-body {
    margin-top: 14px;
    line-height: 1.7;
    color: #1d1d1d;
    font-size: 17px;
}

.blog-body h2,
.blog-body h3,
.blog-body h4 {
    margin-top: 1.2em;
    margin-bottom: 0.6em;
    color: #111;
}

.blog-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

@media (max-width: 767px) {
    .blog-card-cover {
        height: 200px;
    }

    .blog-card-title {
        font-size: 16px !important;
    }

    .blog-article-inner {
        padding: 16px;
    }

    .blog-article-hero {
        display: block;
        margin-bottom: 8px;
    }

    .blog-article-hero-media {
        max-width: none;
        margin-bottom: 12px;
    }

    .blog-article-hero-media .blog-article-cover {
        height: auto;
    }

    .blog-article h1.blog-article-title {
        font-size: 24px !important;
    }

    .blog-body {
        font-size: 16px;
    }
}
