/* Blog Professional Layout - Clean & Corporate */

/* Hero - Minimal */
.blog-hero {
    background: #fff;
    padding: 60px 0 40px;
    border-bottom: 1px solid #e9e7e1;
}

.blog-hero__inner {
    max-width: 800px;
}

.blog-hero__title {
    font-size: 48px;
    font-weight: 700;
    color: #0a1628;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.blog-hero__subtitle {
    font-size: 18px;
    line-height: 1.7;
    color: #5e5e5e;
    margin-bottom: 0;
}

/* Search & Filter Bar */
.blog-toolbar {
    background: #f8f7f5;
    padding: 32px 0;
    border-bottom: 1px solid #e9e7e1;
}

.blog-toolbar__inner {
    display: flex;
    align-items: center;
    gap: 24px;
}

.blog-search {
    flex: 1;
    max-width: 400px;
    position: relative;
}

.blog-search__icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: #999;
}

.blog-search__input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    background: #fff;
    transition: all 0.2s;
}

.blog-search__input:focus {
    outline: none;
    border-color: #1a3a5c;
    box-shadow: 0 0 0 3px rgba(26,58,92,0.08);
}

.blog-categories {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.category-pill {
    padding: 10px 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 500;
    color: #5e5e5e;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.category-pill:hover {
    border-color: #1a3a5c;
    color: #1a3a5c;
}

.category-pill.active {
    background: #1a3a5c;
    border-color: #1a3a5c;
    color: #fff;
}

.blog-results {
    font-size: 14px;
    color: #999;
    white-space: nowrap;
}

/* Main Layout */
.blog-container {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 60px;
    padding: 60px 0;
}

/* Blog Grid */
.blog-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.post-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 32px;
    padding-bottom: 40px;
    border-bottom: 1px solid #e9e7e1;
    transition: all 0.3s;
}

.post-card:hover {
    padding-left: 12px;
}

.post-card:last-child {
    border-bottom: none;
}

.post-card__thumbnail {
    width: 200px;
    height: 140px;
    background: linear-gradient(135deg, #1a3a5c 0%, #3d6a99 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.post-card__thumbnail svg {
    width: 48px;
    height: 48px;
    color: rgba(255,255,255,0.8);
}

.post-card__content {
    min-width: 0;
}

.post-card__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.post-card__category {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #c5973d;
}

.post-card__date {
    font-size: 13px;
    color: #999;
}

.post-card__title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    color: #0a1628;
    margin-bottom: 12px;
}

.post-card__title a {
    color: inherit;
    transition: color 0.2s;
}

.post-card__title a:hover {
    color: #1a3a5c;
}

.post-card__excerpt {
    font-size: 16px;
    line-height: 1.7;
    color: #5e5e5e;
    margin-bottom: 16px;
}

.post-card__footer {
    display: flex;
    align-items: center;
    gap: 20px;
}

.post-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #1a3a5c;
    text-decoration: none;
    transition: gap 0.3s;
}

.post-card__link:hover {
    gap: 12px;
}

.post-card__link svg {
    width: 16px;
    height: 16px;
}

.post-card__author {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #999;
}

.post-card__author svg {
    width: 16px;
    height: 16px;
}

/* Sidebar */
.blog-sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.sidebar-section {
    margin-bottom: 40px;
}

.sidebar-section:last-child {
    margin-bottom: 0;
}

.sidebar-section__title {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #0a1628;
    margin-bottom: 20px;
}

/* Popular Posts */
.popular-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.popular-item {
    display: flex;
    gap: 16px;
    text-decoration: none;
    transition: all 0.2s;
    padding: 12px;
    margin: -12px;
    border-radius: 8px;
}

.popular-item:hover {
    background: #f8f7f5;
}

.popular-item__icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #1a3a5c 0%, #3d6a99 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.popular-item__icon svg {
    width: 24px;
    height: 24px;
    color: #fff;
}

.popular-item__content {
    min-width: 0;
}

.popular-item__title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    color: #0a1628;
    margin-bottom: 4px;
}

.popular-item__date {
    font-size: 12px;
    color: #999;
}

/* Categories */
.category-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.category-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #f8f7f5;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #5e5e5e;
    text-decoration: none;
    transition: all 0.2s;
}

.category-item:hover {
    background: #1a3a5c;
    color: #fff;
}

.category-item__name {
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-item__name svg {
    width: 16px;
    height: 16px;
}

.category-item__count {
    font-size: 12px;
    color: inherit;
    opacity: 0.6;
}

/* Tags */
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-item {
    padding: 8px 16px;
    background: #f8f7f5;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #5e5e5e;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.tag-item:hover,
.tag-item.active {
    background: #1a3a5c;
    color: #fff;
}

/* CTA Widget */
.sidebar-cta {
    background: linear-gradient(135deg, #1a3a5c 0%, #0d1f35 100%);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    color: #fff;
}

.sidebar-cta__icon {
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.sidebar-cta__icon svg {
    width: 28px;
    height: 28px;
}

.sidebar-cta__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.sidebar-cta__text {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255,255,255,0.8);
    margin-bottom: 20px;
}

.sidebar-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 24px;
    background: #fff;
    color: #1a3a5c;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
}

.sidebar-cta__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.sidebar-cta__btn svg {
    width: 18px;
    height: 18px;
}

/* Load More */
.load-more {
    text-align: center;
    padding: 40px 0 0;
}

.btn-load-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: #fff;
    border: 2px solid #1a3a5c;
    border-radius: 8px;
    color: #1a3a5c;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-load-more:hover {
    background: #1a3a5c;
    color: #fff;
}

.btn-load-more svg {
    width: 18px;
    height: 18px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
}

.empty-state__icon {
    width: 80px;
    height: 80px;
    background: #f8f7f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.empty-state__icon svg {
    width: 40px;
    height: 40px;
    color: #999;
}

.empty-state__title {
    font-size: 20px;
    font-weight: 700;
    color: #0a1628;
    margin-bottom: 8px;
}

.empty-state__text {
    font-size: 16px;
    color: #999;
}

/* Responsive */
@media (max-width: 1100px) {
    .blog-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .blog-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .blog-hero {
        padding: 40px 0 32px;
    }

    .blog-hero__title {
        font-size: 32px;
    }

    .blog-toolbar__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .blog-search {
        max-width: none;
    }

    .blog-categories {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
    }

    .blog-container {
        padding: 40px 0;
    }

    .post-card {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .post-card__thumbnail {
        width: 100%;
        height: 180px;
    }

    .post-card__title {
        font-size: 20px;
    }

    .blog-sidebar {
        grid-template-columns: 1fr;
    }
}
