.blog-page {
    background: #f7fafa;
    font-family: 'Nunito', sans-serif;
}

.blog-nav {
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.blog-nav .nav-link.active {
    color: #1eaca2 !important;
    font-weight: 700;
}

.blog-main {
    min-height: calc(100vh - 200px);
    padding-top: 100px;
    padding-bottom: 60px;
}

.blog-hero {
    background: linear-gradient(135deg, #1eaca2 0%, #157a73 100%);
    color: #fff;
    padding: 48px 0 56px;
    margin-bottom: 40px;
}

.blog-hero h1 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.blog-hero p {
    font-size: 1.1rem;
    opacity: 0.92;
    max-width: 640px;
    margin: 0 auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
}

.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(30, 172, 162, 0.15);
}

.blog-card__image {
    height: 180px;
    background-size: cover;
    background-position: center;
    background-color: #e8f5f3;
}

.blog-card__body {
    padding: 22px 24px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card__category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #1eaca2;
    margin-bottom: 8px;
}

.blog-card__title {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 10px;
}

.blog-card__title a {
    color: #1a2e2c;
    text-decoration: none;
}

.blog-card__title a:hover {
    color: #1eaca2;
}

.blog-card__summary {
    color: #5a6b69;
    font-size: 0.95rem;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 16px;
}

.blog-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #889694;
    border-top: 1px solid #eef2f1;
    padding-top: 14px;
}

.blog-card__author a {
    color: #1eaca2;
    font-weight: 600;
    text-decoration: none;
}

.blog-card__author a:hover {
    text-decoration: underline;
}

/* Detail page */
.blog-article {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    max-width: 820px;
    margin: 0 auto;
}

.blog-article__cover {
    height: 280px;
    background-size: cover;
    background-position: center;
    background-color: #e8f5f3;
}

.blog-article__content {
    padding: 36px 40px 44px;
}

.blog-article__category {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #1eaca2;
    margin-bottom: 10px;
}

.blog-article__title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.3;
    color: #1a2e2c;
    margin-bottom: 16px;
}

.blog-article__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    font-size: 0.9rem;
    color: #6b7c7a;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid #eef2f1;
}

.blog-article__author-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #1a2e2c;
}

.blog-article__author-link:hover {
    color: #1eaca2;
}

.blog-article__author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #1eaca2;
}

.blog-article__body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #3a4a48;
}

.blog-article__body h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a2e2c;
    margin: 28px 0 12px;
}

.blog-article__body ul {
    padding-left: 1.4rem;
    margin-bottom: 16px;
}

.blog-article__body li {
    margin-bottom: 6px;
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #eef2f1;
}

.blog-tag {
    background: #e8f5f3;
    color: #157a73;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
}

.blog-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #1eaca2;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 24px;
}

.blog-back-link:hover {
    text-decoration: underline;
    color: #157a73;
}

/* Author page */
.author-profile {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
    padding: 40px;
    margin-bottom: 40px;
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.author-profile__avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #1eaca2;
    flex-shrink: 0;
}

.author-profile__name {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1a2e2c;
    margin-bottom: 4px;
}

.author-profile__specialty {
    color: #1eaca2;
    font-weight: 600;
    margin-bottom: 8px;
}

.author-profile__location {
    color: #6b7c7a;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.author-profile__bio {
    color: #3a4a48;
    line-height: 1.7;
    margin-bottom: 16px;
}

.author-profile__expertise {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.author-section-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a2e2c;
    margin-bottom: 24px;
}

.blog-footer {
    background: #1a2e2c;
    padding: 32px 0;
    margin-top: 0;
}

.blog-footer .footer--copy {
    color: rgba(255, 255, 255, 0.7);
}

.blog-footer .footer--copy a {
    color: #1eaca2;
}

@media (max-width: 768px) {
    .blog-main {
        padding-top: 80px;
    }

    .blog-hero h1 {
        font-size: 1.8rem;
    }

    .author-profile {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 28px 20px;
    }

    .author-profile__expertise {
        justify-content: center;
    }

    .blog-article__content {
        padding: 24px 20px 32px;
    }

    .blog-article__title {
        font-size: 1.5rem;
    }
}
