.blog-index-page {
    padding: 28px 0 70px;
}

.blog-shell {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.blog-hero {
    background: radial-gradient(circle at top, #db2777, #be185d);
    color: white;
    border-radius: 28px;
    padding: 38px 34px;
    box-shadow: 0 20px 50px rgba(190, 24, 93, 0.18);
    position: relative;
    overflow: hidden;
}

.blog-hero::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    background: rgba(255,255,255,0.08);
    filter: blur(120px);
    top: -220px;
    right: -80px;
    pointer-events: none;
}

.blog-hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    gap: 25px;
    align-items: center;
    flex-wrap: wrap;
}

.blog-kicker {
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    opacity: 0.9;
    margin: 0 0 8px;
    font-size: 0.85rem;
}

.blog-hero h1 {
    color: white;
    margin: 0 0 10px;
    font-size: 2.8rem;
    line-height: 1.1;
}

.blog-subtitle {
    margin: 0;
    opacity: 0.95;
    font-size: 1.05rem;
    max-width: 760px;
    line-height: 1.7;
}

.blog-hero-card {
    min-width: 240px;
    max-width: 280px;
    background: rgba(255,255,255,0.16);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(12px);
    padding: 20px 22px;
    border-radius: 22px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.12);
}

.blog-hero-label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 8px;
}

.blog-hero-card strong {
    display: block;
    font-size: 1.45rem;
    color: white;
    margin-bottom: 8px;
}

.blog-hero-card p {
    margin: 0;
    color: rgba(255,255,255,0.94);
    line-height: 1.6;
}

.blog-search-panel {
    margin-top: 24px;
}

.blog-search-card {
    background: white;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.07);
}

.blog-search-label {
    display: block;
    font-weight: 700;
    color: #374151;
    margin-bottom: 12px;
    font-size: 0.98rem;
}

.blog-search-container {
    position: relative;
}

.blog-search-container i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
}

.blog-search-container input {
    width: 100%;
    padding: 16px 18px 16px 48px;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    background: #fff;
    font-size: 1rem;
    color: #111827;
    box-shadow: 0 6px 18px rgba(0,0,0,0.04);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.blog-search-container input:focus {
    outline: none;
    border-color: #db2777;
    box-shadow: 0 0 0 4px rgba(219, 39, 119, 0.12);
}

.suggestions {
    display: none;
    margin-top: 12px;
    background: #fff;
    border: 1px solid #edf2f7;
    border-radius: 18px;
    box-shadow: 0 18px 36px rgba(0,0,0,0.08);
    overflow: hidden;
}

.suggestion-item {
    width: 100%;
    text-align: left;
    border: none;
    background: white;
    padding: 14px 16px;
    cursor: pointer;
    color: #374151;
    font-weight: 700;
    transition: background 0.22s ease, color 0.22s ease;
}

.suggestion-item:hover {
    background: #fdf2f8;
    color: #be185d;
}

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

.blog-sidebar {
    position: sticky;
    top: 110px;
}

.sidebar-card {
    background: white;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.07);
}

.sidebar-card h2 {
    margin: 0 0 18px;
    color: #111827;
    font-size: 1.3rem;
}

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

.category-list li {
    margin: 0 0 12px;
}

.category-list li:last-child {
    margin-bottom: 0;
}

.category-btn {
    width: 100%;
    text-align: left;
    border: 1px solid #e5e7eb;
    background: #f8fafc;
    color: #4b5563;
    font-weight: 700;
    padding: 13px 16px;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 0.96rem;
}

.category-btn:hover,
.category-btn.active {
    background: linear-gradient(135deg, #be185d, #db2777);
    color: white;
    border-color: transparent;
    box-shadow: 0 12px 25px rgba(190, 24, 93, 0.18);
}

.category-divider {
    border: 0;
    height: 1px;
    background: #eef2f7;
    margin: 14px 6px 18px;
}

.blog-main {
    min-width: 0;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.post-item {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 42px rgba(0,0,0,0.06);
    border: 1px solid #edf2f7;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.post-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(0,0,0,0.10);
}

.post-image-link {
    display: block;
    background: #f8fafc;
    overflow: hidden;
}

.post-image {
    width: 100%;
    height: auto;
    display: block;
}

.post-content {
    padding: 22px;
}

.post-category {
    display: inline-block;
    margin-bottom: 12px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #fce7f3;
    color: #be185d;
    font-weight: 800;
    font-size: 0.82rem;
}

.post-content h3 {
    margin: 0 0 10px;
    font-size: 1.2rem;
    line-height: 1.45;
}

.post-content h3 a {
    text-decoration: none;
    color: #111827;
}

.post-content h3 a:hover {
    color: #be185d;
}

.post-excerpt {
    margin: 0 0 14px;
    color: #6b7280;
    line-height: 1.75;
}

.post-meta {
    margin: 0 0 16px;
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.6;
}

.post-author {
    font-weight: 700;
    color: #111827;
}

.read-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 11px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, #be185d, #db2777);
    color: white;
    font-weight: 800;
    box-shadow: 0 12px 24px rgba(190, 24, 93, 0.18);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.read-more:hover {
    transform: translateY(-2px);
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 30px;
}

.page-btn {
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 999px;
    background: #f8fafc;
    color: #4b5563;
    font-weight: 700;
    border: 1px solid #e5e7eb;
    transition: all 0.25s ease;
}

.page-btn:hover,
.page-btn.active {
    background: linear-gradient(135deg, #be185d, #db2777);
    color: white;
    border-color: transparent;
    box-shadow: 0 12px 25px rgba(190, 24, 93, 0.18);
}

.blog-no-results {
    background: white;
    border-radius: 26px;
    padding: 50px 24px;
    text-align: center;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.07);
}

.no-results-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: #fdf2f8;
    color: #be185d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
}

.blog-no-results h2 {
    margin: 0 0 10px;
    color: #111827;
}

.blog-no-results p {
    margin: 0;
    color: #6b7280;
    line-height: 1.7;
}

.blog-no-results a {
    color: #be185d;
    font-weight: 700;
    text-decoration: none;
}

.blog-no-results a:hover {
    text-decoration: underline;
}

.hidden {
    display: none !important;
}

@media (max-width: 1024px) {
    .blog-layout {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        position: static;
        top: auto;
    }

    .category-list {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 12px;
    }

    .category-list li {
        margin: 0;
    }

    .category-divider {
        display: none;
    }
}

@media (max-width: 768px) {
    .blog-shell {
        padding: 0 14px;
    }

    .blog-index-page {
        padding: 20px 0 50px;
    }

    .blog-hero {
        padding: 28px 22px;
        border-radius: 22px;
    }

    .blog-hero h1 {
        font-size: 2.2rem;
    }

    .blog-search-card,
    .sidebar-card {
        padding: 20px;
        border-radius: 20px;
    }

    .post-content {
        padding: 18px;
    }

    .post-image {
        height: auto;
    }
}

@media (max-width: 480px) {
    .blog-hero h1 {
        font-size: 1.9rem;
    }

    .blog-subtitle {
        font-size: 1rem;
    }

    .blog-search-container input {
        padding: 15px 16px 15px 46px;
    }

    .category-list {
        grid-template-columns: 1fr;
    }

    .post-grid {
        grid-template-columns: 1fr;
    }
}