.gf-blog,
.gf-blog-categories-standalone {
    box-sizing: border-box;
    width: min(1420px, calc(100% - 24px));
    margin: 24px auto;
    color: #0f172a;
}
.gf-blog *,
.gf-blog-categories-standalone * {
    box-sizing: border-box;
}
.gf-blog-hero {
    padding: clamp(22px, 4vw, 44px);
    border: 1px solid #dbeafe;
    border-radius: 28px;
    background: linear-gradient(135deg, #eef4ff, #fff 52%, #eaf7ff);
    box-shadow: 0 18px 50px rgba(15, 23, 42, .10);
    margin-bottom: 22px;
}
.gf-blog-hero h1 {
    margin: 0;
    font-size: clamp(32px, 5vw, 62px);
    line-height: 1;
    font-weight: 950;
    letter-spacing: -.05em;
    color: #0f172a;
}
.gf-blog-hero p {
    max-width: 850px;
    margin: 12px 0 0;
    color: #64748b;
    font-size: 17px;
    line-height: 1.6;
}
.gf-blog-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 22px;
    align-items: start;
}
.gf-blog-layout.gf-blog-layout-no-sidebar {
    grid-template-columns: minmax(0, 1fr);
}
.gf-blog-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.gf-blog-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .09);
    transition: transform .2s ease, box-shadow .2s ease;
}
.gf-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 42px rgba(15, 23, 42, .14);
}
.gf-blog-card-media {
    display: block;
    overflow: hidden;
    background: #eef2f7;
    aspect-ratio: 16 / 10;
}
.gf-blog-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #eef2f7;
    transition: transform .3s ease;
}
.gf-blog-card:hover img {
    transform: scale(1.035);
}
.gf-blog-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px;
    flex: 1;
}
.gf-blog-meta {
    color: #64748b;
    font-size: 12px;
    font-weight: 850;
}
.gf-blog-card h2 {
    margin: 0;
    font-size: 21px;
    line-height: 1.18;
    color: #111827;
}
.gf-blog-card h2 a {
    color: inherit;
    text-decoration: none;
}
.gf-blog-card p {
    margin: 0;
    color: #475467;
    line-height: 1.55;
}
.gf-blog-more {
    display: inline-flex;
    justify-content: center;
    margin-top: auto;
    padding: 10px 14px;
    border-radius: 999px;
    background: #eaf4ff;
    color: #1d4ed8 !important;
    border: 2px solid #bfdbfe;
    text-decoration: none !important;
    font-weight: 900;
}
.gf-blog-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}
.gf-blog-box {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .08);
}
.gf-blog-box h2,
.gf-blog-box h3 {
    margin: 0;
    padding: 16px;
    background: #f8fafc;
    border-bottom: 1px solid #eef2f7;
    font-size: 20px;
}
.gf-blog-cat-search {
    padding: 12px;
    border-bottom: 1px solid #eef2f7;
}
.gf-blog-cat-search input {
    width: 100%;
    min-height: 42px;
    padding: 8px 11px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    font: inherit;
}
.gf-blog-cat-list {
    max-height: min(70vh, 720px);
    overflow: auto;
}
.gf-blog-cat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 12px 15px;
    border-bottom: 1px solid #f1f5f9;
    color: #111827 !important;
    text-decoration: none !important;
    font-weight: 800;
}
.gf-blog-cat:last-child {
    border-bottom: 0;
}
.gf-blog-cat:hover,
.gf-blog-cat.active {
    background: #edf5ff;
    color: #1d4ed8 !important;
}
.gf-blog-cat strong {
    min-width: 32px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #e2e8f0;
    text-align: center;
    font-size: 12px;
}
.gf-blog-cat.active strong,
.gf-blog-cat:hover strong {
    background: #bfdbfe;
}
.gf-blog-categories-standalone {
    margin-top: 12px;
    margin-bottom: 12px;
}
.gf-blog-categories-standalone .gf-blog-box {
    width: 100%;
}
.gf-blog-categories-standalone .gf-blog-cat-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    max-height: none;
}
.gf-blog-categories-standalone .gf-blog-cat {
    border-right: 1px solid #f1f5f9;
}
.gf-blog-pages {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}
.gf-blog-pages a {
    padding: 9px 13px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #dbe3ef;
    color: #1f2937;
    text-decoration: none;
    font-weight: 850;
}
.gf-blog-pages a.active {
    background: #2f5fd7;
    color: #fff;
}
.gf-blog-empty {
    padding: 24px;
    border-radius: 18px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
    font-weight: 850;
}
.gf-blog-options {
    padding: 16px;
    display: grid;
    gap: 10px;
}
.gf-blog-options a {
    display: inline-flex;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid #93c5fd;
    color: #1d4ed8;
    text-decoration: none;
    font-weight: 850;
}
@media (max-width: 1100px) {
    .gf-blog-layout {
        grid-template-columns: 1fr;
    }
    .gf-blog-side {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    .gf-blog-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 700px) {
    .gf-blog,
    .gf-blog-categories-standalone {
        width: min(100% - 18px, 1420px);
        margin: 10px auto;
    }
    .gf-blog-cards,
    .gf-blog-side {
        grid-template-columns: 1fr;
    }
    .gf-blog-card-media {
        aspect-ratio: 16 / 9;
    }
    .gf-blog-categories-standalone .gf-blog-cat-list {
        grid-template-columns: 1fr;
    }
}
