.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.blog-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.card-image {
    width: 100%;
    height: auto;
    position: relative;
    overflow: hidden;
}

.card-image img {
    width: 100%;
}

.card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px;
}

.card-title {
    font-size: 16px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 12px;
    line-height: 1.5em;
}

.card-description {
    font-size: 12px;
    color: #000000;
    line-height: 1.5em;
    margin-bottom: 15px;
}

.card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 12px;
    color: #000000;
}

.meta-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.read-more-btn {
    display: inline-block;
    background: #000;
    color: white;
    padding: 10px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.3s ease;
    margin-top: auto;
    text-align: center;
}

.read-more-btn:hover {
    background: #000000;
    color: #3b7a53;
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;

    }

    .card-content {
        padding: 10px;
    }

    .card-title {
        font-size: 14px;
        margin-bottom: 8px;
        margin-top: 0px;
    }

    .card-description {
        font-size: 11px;
        margin-bottom: 8px;
    }

    .card-meta {
        margin-bottom: 8px;
        font-size: 11px;
    }

    .meta-left {
        gap: 10px;
    }

    .read-more-btn {
        padding: 5px 30px;
        border-radius: 15px;
        font-size: 12px;
    }
}


.main-content {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
    margin-bottom: 40px;
}

.article-content {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.article-header {
    margin-bottom: 30px;
}

.article-title {
    font-size: 34px;
    color: #000000;
    margin-bottom: 15px;
    line-height: 1.5em;
    font-weight: 700;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #000000;
    font-size: 14px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.featured-image {
    width: 100%;
    height: auto;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
}

.article-body {
    color: #000000;
    font-size: 14px;
    line-height: 1.5em;
}

.article-body p {
    margin-bottom: 20px;
}

.article-body h2 {
    font-size: 24px;
    color: #000000;
    margin: 30px 0 15px;
}

.article-body h3 {
    font-size: 20px;
    color: #000000;
    margin: 25px 0 12px;
}

.article-body a {
    color: #3b7a53;
}

/* Sidebar */
.main-content .sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.widget-title {
    font-size: 18px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3b7a53;
}

.related-post {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

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

.related-thumb {
    width: 30%;
    height: auto;
    border-radius: 6px;
    flex-shrink: 0;
}

.related-info h4 {
    font-size: 14px;
    color: #000000;
    margin-bottom: 8px;
    line-height: 1.5em
}

.related-info a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s;
}

.related-info a:hover {
    color: #3b7a53;
}

.related-meta {
    font-size: 12px;
    color: #000000;
}

/* Comments Section */
.blog-comments {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.blog-comments .submit {
    width: 100%;
    padding: 15px;
    background: #3b7a53;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    line-height: 1.5em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.blog-comments .submit:hover {
    background: white;
    color: #3b7a53;
    transform: scale(1.05);
    box-shadow: 0 5px 20px #3b7a53;
}

.blog-comments a {
    color: #3b7a53;
}

/* Responsive */
@media (max-width: 1024px) {
    .main-content {
        grid-template-columns: 1fr;
    }

    .article-content {
        padding: 25px;
    }

    .article-title {
        font-size: 26px;
    }

}

@media (max-width: 768px) {
    .article-content {
        padding: 20px;
    }

    .article-title {
        font-size: 24px;
        margin-bottom: 10px;
        margin-top: 0;
    }

    .article-meta {
        font-size: 12px;
        gap: 15px;
    }

    .article-body {
        font-size: 12px;
    }

    .main-content {
        margin-bottom: 30px;
    }

    .article-header,
    .featured-image {
        margin-bottom: 20px;
    }

    .article-body p {
        margin-bottom: 8px;
    }

    .article-body h2 {
        font-size: 22px;
        margin: 0 0 10px;
    }

    .article-body h3 {
        font-size: 18px;
        margin: 0 0 8px;
    }

    .main-content .sidebar {
        padding: 20px;
    }

    .widget-title {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .related-post {
        margin-bottom: 10px;
        padding-bottom: 10px;
    }

    .related-info h4 {
        font-size: 12px;
    }

    .related-meta {
        font-size: 11px;
    }

    .blog-comments {
        padding: 20px;
        border-radius: 8px;
    }

    .blog-comments h2 {
        font-size: 24px;
        margin-bottom: 8px;
    }

    .blog-comments article {
        padding: 20px;
    }

    .blog-comments a,
    .blog-comments span,
    .blog-comments p {
        font-size: 12px;
    }

    .blog-comments .submit {
        font-size: 14px;
        padding: 10px 15px;
    }
}

.service-main {
    display: flex;
    gap: 30px;
    flex-direction: row !important;
}

.sidebar {
    flex: 0 0 280px;
    background: white;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: fit-content;
}

.menu {
    list-style: none;
}

.service-main .menu-item {
    padding: 15px 10px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    transition: all 0.3s ease;
    border-bottom: 1px solid #3a3a3a;
}

.menu-item:hover {
    background: #f0f0f0;
}

a.active li {
    background: #e8f5e9;
    color: #3b7a53;
}

.content {
    flex: 1;
}

@media (max-width: 1024px) {
    .service-main {
        flex-direction: column !important;
    }
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .sidebar {
        flex: none;
        padding: 15px;
    }

    .service-main .menu-item {
        padding: 10px;
        font-size: 14px;
    }
}

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

.pagination a,
.pagination span {
    padding: 8px 12px;
    background: #f3f3f3;
    color: #333;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.3s;
}

.pagination a:hover {
    background: #3b7a53;
    color: white;
}

.pagination .current {
    background: #3b7a53;
    color: white;
    font-weight: bold;
}