/* Page banner - light green title */
.blog-page-banner {
    background: linear-gradient(135deg, #286241 0%, #2d7349 50%, #286241 100%);
    padding: 56px 24px;
    text-align: center;
}

.blog-page-banner h1 {
    color: #C1FF72;
    font-size: clamp(28px, 4.5vw, 44px);
    letter-spacing: 0.04em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    margin: 0;
}

/* Coming-soon placeholder body */
.blog-coming-soon-section {
    background: #fff;
    padding: 96px 24px 120px;
}

.blog-coming-soon-inner {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.blog-coming-soon-inner h2 {
    margin: 0 0 16px;
    font-family: noto-sans-bold, sans-serif;
    font-size: clamp(26px, 4vw, 36px);
    color: #1b1b1b;
}

.blog-coming-soon-inner p {
    margin: 0 0 28px;
    font-size: clamp(16px, 2.2vw, 18px);
    line-height: 1.6;
    color: #444;
}

.blog-coming-soon-inner a {
    color: #286241;
    text-decoration: none;
    font-family: noto-sans-bold, sans-serif;
}

.blog-coming-soon-inner a:hover {
    text-decoration: underline;
}

.blog-coming-soon-inner .section-btn {
    text-decoration: none;
}

/* Main content - two columns */
.blog-content-section {
    background: linear-gradient(180deg, #f8f9fa 0%, #fff 120px);
    padding: 56px 24px 72px;
}

.blog-content-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 48px;
    align-items: start;
}

.blog-posts-column {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Blog post cards */
.blog-post-card {
    display: flex;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    min-height: 220px;
    box-shadow: 0 2px 12px rgba(40, 98, 65, 0.08);
    border: 1px solid rgba(40, 98, 65, 0.08);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.blog-post-card:hover {
    box-shadow: 0 12px 32px rgba(40, 98, 65, 0.15);
    transform: translateY(-2px);
}

.blog-post-image {
    flex: 0 0 42%;
    min-width: 0;
    overflow: hidden;
}

.blog-post-image img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.blog-post-card:hover .blog-post-image img {
    transform: scale(1.04);
}

.blog-post-body {
    flex: 1;
    padding: 28px 28px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.blog-post-title {
    margin: 0 0 12px;
    font-size: clamp(19px, 2vw, 24px);
    font-weight: 700;
    color: #1a3d2a;
    font-family: noto-sans-bold, sans-serif;
    line-height: 1.3;
    letter-spacing: 0.01em;
}

.blog-post-intro {
    margin: 0 0 20px;
    font-size: 15px;
    color: #4a5568;
    line-height: 1.6;
    flex: 1;
}

.blog-read-more-btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #C1FF72;
    color: #286241;
    font-family: noto-sans-bold, sans-serif;
    font-size: 13px;
    letter-spacing: 0.06em;
    text-decoration: none;
    border: none;
    border-radius: 6px;
    align-self: flex-start;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.blog-read-more-btn:hover {
    background-color: #286241;
    color: #fff;
    box-shadow: 0 4px 12px rgba(40, 98, 65, 0.3);
}

/* Sidebar */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.blog-sidebar-block {
    background: #fff;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 2px 12px rgba(40, 98, 65, 0.08);
    border: 1px solid rgba(40, 98, 65, 0.08);
}

.blog-sidebar-title {
    margin: 0 0 18px;
    font-size: 20px;
    font-weight: 700;
    color: #286241;
    font-family: noto-sans-bold;
    text-transform: uppercase;
}

.blog-sidebar-subtitle {
    margin: 0 0 18px;
    font-size: 13px;
    color: #64748b;
}

.blog-recent-posts-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.blog-recent-posts-list li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e8ecf0;
}

.blog-recent-posts-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.blog-recent-posts-list a {
    color: #334155;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.blog-recent-posts-list a:hover {
    color: #286241;
}

.blog-subscribe-form,
.blog-consultation-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.blog-subscribe-form .blog-form-submit,
.blog-consultation-form .blog-form-submit {
    margin-top: 4px;
}

.blog-form-input {
    padding: 12px 16px;
    border: 1px solid #d1d9e0;
    border-radius: 6px;
    font-size: 14px;
    font-family: noto-sans, sans-serif;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.blog-form-input:focus {
    outline: none;
    border-color: #286241;
    box-shadow: 0 0 0 3px rgba(40, 98, 65, 0.12);
}

.blog-form-input::placeholder {
    color: #94a3b8;
}

select.blog-form-input {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23286141' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.blog-form-submit {
    padding: 12px 20px;
    background-color: #286241;
    color: #fff;
    font-family: noto-sans-bold, sans-serif;
    font-size: 14px;
    letter-spacing: 0.04em;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.blog-form-submit:hover {
    background-color: #1e4d32;
    box-shadow: 0 4px 12px rgba(40, 98, 65, 0.25);
}

/* Follow us on social media */
.blog-social-section {
    background: linear-gradient(135deg, #286241 0%, #1e4d32 100%);
    padding: 56px 24px;
    text-align: center;
}

.blog-social-heading {
    margin: 0 0 28px;
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 700;
    color: #C1FF72;
    font-family: noto-sans-bold, sans-serif;
    letter-spacing: 0.04em;
}

.blog-social-icons {
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
}

.blog-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    color: #fff;
    font-size: 24px;
    text-decoration: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.blog-social-link:hover {
    color: #286241;
    background: #C1FF72;
    transform: scale(1.08);
}

/* ========== Blog detail page ========== */
.blog-detail-hero {
    background-color: #286241;
    padding: 40px 24px 36px;
    text-align: center;
}

.blog-detail-hero h1 {
    margin: 0 0 16px;
    font-size: clamp(22px, 3.5vw, 32px);
    font-weight: 700;
    color: #fff;
    font-family: noto-sans-bold, sans-serif;
    line-height: 1.3;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.blog-detail-breadcrumb {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    font-family: noto-sans, sans-serif;
}

.blog-detail-breadcrumb a {
    color: #C1FF72;
    text-decoration: none;
}

.blog-detail-breadcrumb a:hover {
    text-decoration: underline;
}

.blog-detail-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 24px 60px;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 48px;
    align-items: start;
}

.blog-detail-content {
    min-width: 0;
}

.blog-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    margin-bottom: 24px;
    font-size: 14px;
    color: #555;
}

.blog-detail-meta a,
.blog-detail-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-detail-meta-cat {
    color: #286241;
    text-decoration: none;
    font-family: noto-sans-semibold, sans-serif;
}

.blog-detail-meta-cat:hover {
    text-decoration: underline;
}

.blog-detail-meta-cat i,
.blog-detail-meta-date i,
.blog-detail-meta-author i {
    opacity: 0.8;
}

.blog-detail-featured {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 32px;
    background: #e8e8e8;
}

.blog-detail-featured img {
    width: 100%;
    height: auto;
    display: block;
    vertical-align: middle;
}

.blog-article {
    font-size: 17px;
    line-height: 1.65;
    color: #333;
}

.blog-article p {
    margin: 0 0 20px;
}

.blog-article p:last-child {
    margin-bottom: 0;
}

.blog-article h2 {
    font-size: clamp(20px, 2.5vw, 24px);
    font-weight: 700;
    color: #286241;
    font-family: noto-sans-bold, sans-serif;
    margin: 32px 0 16px;
}

.blog-article h2:first-child {
    margin-top: 0;
}

.blog-article a {
    color: #286241;
    text-decoration: underline;
}

.blog-article a:hover {
    color: #359F49;
}

.blog-highlight {
    background: linear-gradient(transparent 60%, #C1FF72 60%);
    font-family: noto-sans-bold, sans-serif;
}

.blog-post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid #e0e0e0;
}

.blog-post-nav-prev,
.blog-post-nav-next {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background-color: #e8e8e8;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    border-radius: 6px;
    transition: background-color 0.2s, color 0.2s;
}

.blog-post-nav-prev:hover,
.blog-post-nav-next:hover {
    background-color: #286241;
    color: #fff;
}

.blog-post-nav-next {
    text-align: right;
    justify-content: flex-end;
}

/* Detail page sidebar - recent posts with thumbnails */
.blog-detail-main .blog-sidebar {
    position: sticky;
    top: 24px;
    background-color: #e8e8e8;
    border-radius: 8px;
    padding: 24px;
}

.blog-detail-main .blog-sidebar-title {
    margin-bottom: 20px;
}

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

.blog-related-item {
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.blog-related-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.blog-related-thumb {
    flex: 0 0 80px;
    width: 80px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    background: #e8e8e8;
}

.blog-related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-related-body {
    flex: 1;
    min-width: 0;
}

.blog-related-body a {
    display: block;
    font-size: 14px;
    font-family: noto-sans-semibold, sans-serif;
    color: #286241;
    text-decoration: none;
    line-height: 1.4;
    margin-bottom: 4px;
}

.blog-related-body a:hover {
    text-decoration: underline;
}

.blog-related-date {
    font-size: 12px;
    color: #666;
}

/* Responsive */
@media (max-width: 900px) {
    .blog-content-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .blog-detail-main {
        grid-template-columns: 1fr;
        padding: 32px 16px 48px;
    }

    .blog-detail-main .blog-sidebar {
        position: static;
    }

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

    .blog-post-nav-next {
        text-align: left;
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .blog-post-card {
        flex-direction: column;
        min-height: 0;
    }

    .blog-post-card:hover {
        transform: none;
    }

    .blog-post-image {
        flex: 0 0 auto;
        height: 200px;
    }

    .blog-post-image img {
        min-height: 200px;
    }

    .blog-content-section {
        padding: 36px 16px 56px;
    }

    .blog-posts-column {
        gap: 24px;
    }

    .blog-page-banner {
        padding: 40px 20px;
    }

    .blog-detail-hero {
        padding: 28px 16px 24px;
    }

    .blog-detail-meta {
        gap: 12px 20px;
        font-size: 13px;
    }

    .blog-article {
        font-size: 16px;
    }

    .blog-related-item {
        flex-direction: column;
        gap: 10px;
    }

    .blog-related-thumb {
        flex: 0 0 auto;
        width: 100%;
        height: 160px;
    }
}

/* Legacy hero/breadcrumb (kept for compatibility) */
.blogs-hero {
    background-color: #286241;
    padding: 56px 24px 48px;
    text-align: center;
    min-height: 320px;
    font-family: noto-sans-bold, sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.blogs-hero-title {
    margin: 0 0 12px;
    font-size: 70px;
    font-weight: 700;
    color: #fff;
    font-family: noto-sans-bold;
    letter-spacing: -0.02em;
}

.blogs-breadcrumb {
    font-size: 14px;
    color: #fff;
    font-family: noto-sans, sans-serif;
}

.blogs-breadcrumb a {
    color: #fff;
    text-decoration: none;
}

.blogs-breadcrumb a:hover {
    color: #C1FF72;
    text-decoration: underline;
}

.blogs-breadcrumb-sep {
    margin: 0 6px;
}