.blog-hero { 
    background: linear-gradient(135deg, #f59e0b 0%, #b45309 60%, #78350f 100%); 
    padding: 1.5rem 1.5rem 0.75rem; 
    border-radius: 0 0 32px 32px; 
    margin-bottom: 0.5rem; 
    color: #fff; 
}
.blog-hero h1 { 
    font-size: 1.5rem; 
    font-weight: 900; 
    margin-bottom: 0.25rem; 
}
.blog-hero p { 
    opacity: 0.9; 
    font-size: 0.9rem; 
}
.blog-search-bar { 
    display: flex; 
    gap: 0.5rem; 
    margin-top: 1rem; 
}
.blog-search-bar input { 
    flex: 1; 
    padding: 0.75rem 1.25rem; 
    border: none; 
    border-radius: 16px; 
    font-size: 0.95rem; 
    outline: none; 
    background: rgba(255,255,255,0.95); 
}
.blog-search-bar button { 
    padding: 0.75rem 1.25rem; 
    border: none; 
    border-radius: 16px; 
    background: rgba(0,0,0,0.2); 
    color: #fff; 
    font-weight: 700; 
    cursor: pointer; 
}
.cat-pills { 
    display: flex; 
    gap: 0.5rem; 
    overflow-x: auto; 
    padding: 0 1rem 0.75rem; 
    scrollbar-width: none; 
    -ms-overflow-style: none; 
}
.cat-pills::-webkit-scrollbar { 
    display: none; 
}
.cat-pill { 
    white-space: nowrap; 
    padding: 0.5rem 1rem; 
    border-radius: 100px; 
    font-size: 0.85rem; 
    font-weight: 700; 
    border: 1.5px solid #e2e8f0; 
    background: #fff; 
    color: #475569; 
    text-decoration: none; 
    transition: all 0.2s; 
    flex-shrink: 0; 
}
.cat-pill:hover, .cat-pill.active { 
    background: linear-gradient(135deg, #f59e0b, #b45309); 
    color: #fff; 
    border-color: transparent; 
}
.cat-pill i { 
    margin-right: 4px; 
}
.blog-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 1rem; 
    padding: 0; 
    transition: all 0.3s ease; 
}
@media (max-width:768px) { 
    .blog-grid { 
        padding: 0; 
    } 
}
@media (max-width:480px) { 
    .blog-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 0.5rem; 
        padding: 0; 
    } 
}
.blog-grid.list-view { 
    grid-template-columns: 1fr; 
    gap: 0.75rem; 
    width: 100%; 
    display: flex; 
    flex-direction: column; 
}
.blog-grid.list-view .blog-card { 
    display: block; 
    border-left: none; 
    border-right: none; 
    border-radius: 0; 
    width: 100%; 
    border-bottom: 1px solid #f1f5f9; 
}
.blog-grid.list-view .blog-card:last-child { 
    border-bottom: none; 
}
.blog-grid.list-view .blog-card > a { 
    display: flex; 
    flex-direction: row; 
    align-items: flex-start; 
    gap: 1rem; 
    padding: 1rem 0; 
    width: 100%; 
    box-sizing: border-box; 
}
.blog-grid.list-view .blog-card-img { 
    width: 120px; 
    height: 120px; 
    border-radius: 12px; 
    flex-shrink: 0; 
    position: relative; 
}
.blog-grid.list-view .blog-card-body { 
    padding: 0; 
    flex: 1; 
    min-width: 0; 
    display: flex; 
    flex-direction: column; 
    align-self: stretch; 
}
.blog-info-main { 
    display: flex; 
    flex-direction: column; 
    gap: 4px; 
}
.blog-grid.list-view .blog-card-title { 
    font-size: 1rem; 
    -webkit-line-clamp: 2; 
    margin-bottom: 0; 
    font-weight: 700; 
    color: #0f172a; 
    line-height: 1.2; 
}
.blog-grid.list-view .blog-card-meta { 
    font-size: 0.7rem; 
    color: #b45309; 
    font-weight: 800; 
    margin-bottom: 0; 
}
.blog-list-footer { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    width: 100%; 
    margin-top: auto; 
    padding-top: 4px; 
    font-size: 0.7rem; 
    color: #64748b; 
    font-weight: 600; 
}
@media (max-width:480px) {
    .blog-grid.list-view .blog-card-img { 
        width: 100px; 
        height: 100px; 
    }
    .blog-grid.list-view .blog-card-body { 
        width: calc(100% - 112px); 
    }
    .blog-grid.list-view .blog-card-title { 
        font-size: 0.85rem; 
    }
    .blog-list-footer { 
        font-size: 0.65rem; 
    }
}
.blog-card { 
    background: #fff; 
    border-radius: 16px; 
    overflow: hidden; 
    border: 1px solid #f1f5f9; 
    transition: all 0.2s; 
    position: relative; 
    text-decoration: none; 
    color: inherit; 
    display: flex; 
    flex-direction: column; 
}
.blog-card:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.1); 
}
.blog-card > a { 
    display: flex; 
    flex-direction: column; 
    height: 100%; 
    text-decoration: none; 
    color: inherit; 
}
.blog-card-img { 
    width: 100%; 
    aspect-ratio: 16/9; 
    object-fit: cover; 
    background: #f8fafc; 
    flex-shrink: 0; 
}
.blog-card-body { 
    padding: 0.75rem; 
    flex: 1; 
    display: flex; 
    flex-direction: column; 
}
.blog-card-title { 
    font-weight: 700; 
    font-size: 0.9rem; 
    color: #0f172a; 
    display: -webkit-box; 
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical; 
    overflow: hidden; 
    line-height: 1.3; 
    margin-bottom: 0.35rem; 
    word-break: break-word; 
}
.blog-card-desc { 
    font-size: 0.75rem; 
    color: #64748b; 
    line-height: 1.4; 
    margin-bottom: 0.5rem; 
    display: -webkit-box; 
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical; 
    overflow: hidden; 
}
@media (max-width:768px) { 
    .blog-card-desc { 
        display: none; 
    } 
}
.blog-card-meta { 
    font-size: 0.75rem; 
    color: #b45309; 
    margin-top: auto; 
    display: flex; 
    align-items: center; 
    gap: 4px; 
    font-weight: 700; 
}
.blog-card-meta i { 
    color: #f59e0b; 
}
.blog-card .status-badge { 
    position: absolute; 
    top: 8px; 
    left: 8px; 
    padding: 2px 8px; 
    border-radius: 8px; 
    font-size: 0.7rem; 
    font-weight: 800; 
    z-index: 5; 
}
.badge-scope-global { 
    background: #f59e0b; 
    color: #fff; 
}
.badge-scope-city { 
    background: #475569; 
    color: #fff; 
}
.blog-toolbar { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 1rem 0; 
    background: #fff; 
    border-bottom: 1px solid #f1f5f9; 
    position: sticky; 
    top: 0; 
    z-index: 10; 
    margin-bottom: 0; 
    gap: 8px; 
}
.blog-toolbar .sort-select { 
    padding: 0.5rem 1rem; 
    border: 1.5px solid #e2e8f0; 
    border-radius: 12px; 
    font-size: 0.85rem; 
    font-weight: 700; 
    background: #fff; 
    color: #475569; 
    outline: none; 
    cursor: pointer; 
    flex-shrink: 0; 
}
.blog-view-switcher { 
    display: flex; 
    background: #f1f5f9; 
    padding: 4px; 
    border-radius: 10px; 
    gap: 4px; 
    flex-shrink: 0; 
}
.view-btn { 
    border: none; 
    background: transparent; 
    color: #64748b; 
    padding: 6px 10px; 
    border-radius: 8px; 
    cursor: pointer; 
    transition: all 0.2s; 
    font-size: 0.9rem; 
}
.view-btn.active { 
    background: #fff; 
    color: #f59e0b; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.05); 
}
.blog-empty { 
    text-align: center; 
    padding: 3rem 1rem; 
    color: #94a3b8; 
}
.blog-empty i { 
    font-size: 3rem; 
    margin-bottom: 1rem; 
    display: block; 
}
.blog-layout { 
    display: grid; 
    grid-template-columns: 1fr 350px; 
    gap: 2rem; 
    align-items: start; 
    margin-top: 0.5rem; 
}
@media (max-width:1024px) { 
    .blog-layout { 
        grid-template-columns: 1fr; 
    } 
    .blog-sidebar { 
        display: none !important; 
    }
}
@media (max-width:768px) {
    .blog-hero-links { 
        display: none !important; 
    }
}
.blog-main { 
    min-width: 0; 
}
.blog-sidebar { 
    display: flex; 
    flex-direction: column; 
    gap: 1.5rem; 
}
.sidebar-card { 
    background: #fff; 
    border-radius: 20px; 
    border: 1px solid #f1f5f9; 
    padding: 1.5rem; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.02); 
}
.sidebar-card h3 { 
    font-size: 1rem; 
    font-weight: 800; 
    margin-bottom: 1rem; 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    color: #0f172a; 
}
.sidebar-card p { 
    font-size: 0.85rem; 
    color: #64748b; 
    line-height: 1.5; 
    margin-bottom: 0; 
}
.sidebar-mini-card { 
    display: flex; 
    gap: 12px; 
    align-items: center; 
    text-decoration: none; 
    padding: 10px; 
    border-radius: 12px; 
    transition: all 0.2s; 
    border: 1px solid transparent; 
}
.sidebar-mini-card:hover { 
    background: #f8fafc; 
    border-color: #f1f5f9; 
}
.sidebar-mini-card img { 
    width: 50px; 
    height: 50px; 
    border-radius: 8px; 
    object-fit: cover; 
    background: #f8fafc; 
}
.sidebar-mini-card .info { 
    flex: 1; 
    min-width: 0; 
}
.sidebar-mini-card .title { 
    font-size: 0.85rem; 
    font-weight: 700; 
    color: #0f172a; 
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis; 
    display: block; 
}
.sidebar-mini-card .date { 
    font-size: 0.8rem; 
    font-weight: 600; 
    color: #94a3b8; 
    margin-top: 2px; 
}
.pagination-bar { 
    display: flex; 
    justify-content: center; 
    gap: 0.5rem; 
    padding: 1.5rem 1rem; 
    flex-wrap: wrap; 
}
.pagination-bar a, .pagination-bar span { 
    padding: 0.5rem 0.85rem; 
    border-radius: 10px; 
    font-size: 0.85rem; 
    font-weight: 700; 
    text-decoration: none; 
    border: 1.5px solid #e2e8f0; 
    color: #475569; 
    background: #fff; 
    transition: all 0.2s; 
}
.pagination-bar a:hover { 
    background: #f8fafc; 
}
.pagination-bar .active { 
    background: linear-gradient(135deg, #f59e0b, #b45309); 
    color: #fff; 
    border-color: transparent; 
}
.cat-pills .cat-pill { 
    background: rgba(255,255,255,0.1); 
    color: #fff; 
    border: 1px solid rgba(255,255,255,0.2); 
    padding: 6px 12px; 
    border-radius: 50px; 
    text-decoration: none; 
    font-size: 0.85rem; 
    font-weight: 600; 
    transition: all 0.3s ease; 
    display: flex; 
    align-items: center; 
    gap: 6px; 
}
.cat-pills .cat-pill:hover { 
    background: rgba(255,255,255,0.25); 
    transform: translateY(-2px); 
    border-color: rgba(255,255,255,0.4); 
}
.cat-pills .cat-pill.active { 
    background: #fff; 
    color: #b45309; 
    border-color: #fff; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.2); 
}
@media (max-width:768px) {
    .blog-search-bar, .cat-pills { 
        display: none !important; 
    }
    .blog-toolbar { 
        display: none !important; 
    }
    .blog-hero-toolbar { 
        display: block !important; 
    }
    .blog-hero { 
        padding: 1rem 0.5rem 0.75rem; 
        text-align: left; 
        border-radius: 16px; 
        margin-bottom: 0; 
        background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); 
    }
    .blog-hero h1 { 
        font-size: 1.4rem; 
        margin-bottom: 0.25rem; 
        display: flex; 
        flex-direction: row; 
        align-items: center; 
        gap: 8px; 
        font-weight: 800; 
    }
    .blog-hero p { 
        font-size: 0.85rem; 
        margin-bottom: 8px; 
        line-height: 1.3; 
        opacity: 0.9; 
    }
    .blog-hero-body { 
        justify-content: flex-start !important; 
        margin-bottom: 0.5rem !important; 
    }
    .sort-select-mobile {
        padding: 0.35rem 0.5rem;
        border: 1px solid rgba(255,255,255,0.4);
        border-radius: 8px;
        font-size: 0.7rem;
        font-weight: 600;
        background: rgba(255,255,255,0.2);
        color: #fff;
        outline: none;
        cursor: pointer;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 0.4rem center;
        padding-right: 1.5rem;
    }
    .sort-select-mobile option { 
        background: #fff8e1; 
        color: #78350f; 
        font-size: 0.75rem; 
        padding: 0.6rem 0.75rem; 
        border-radius: 8px; 
        margin: 2px 0; 
    }
    .blog-grid { 
        padding: 0; 
        padding-top: 0.25rem; 
    }
    .blog-view-switcher-mobile { 
        display: flex; 
        background: rgba(255,255,255,0.15); 
        padding: 3px; 
        border-radius: 8px; 
        gap: 3px; 
    }
    .view-btn-mobile { 
        border: none; 
        background: transparent; 
        color: rgba(255,255,255,0.7); 
        padding: 5px 8px; 
        border-radius: 6px; 
        cursor: pointer; 
        transition: all 0.2s; 
        font-size: 0.85rem; 
    }
    .view-btn-mobile.active { 
        background: #fff; 
        color: #b45309; 
    }
}

.blog-mobile-search-bar {
    display: none;
}

@media (max-width: 768px) {
    .blog-hero {
        display: none !important;
    }
    .blog-mobile-search-bar {
        display: none !important;
    }
    .container {
        padding-top: var(--global-header-offset, 64px) !important;
    }
    body.search-active .container {
        padding-top: calc(var(--global-header-offset, 64px) + 38px) !important;
    }
}

