.news-banner.with-overlay {
    position: relative;
    background-image: url("/landing/images/banner-8.webp");
    background-size: cover;
    background-position: 100% 80%;
    background-repeat: no-repeat;
    /* min-height: 400px; */
    z-index: 0;
    overflow: hidden;
}

.news-container {
    display: flex;
    flex-wrap: wrap;
    gap: 6rem;
}

.left-column {
    flex: 1 1 300px;
}

.right-column {
    flex: 2 1 600px;
}

/* .search input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ccc;
    margin-bottom: 1.5rem;
    height: 50px;
} */

.search-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
}

.search-input {
    width: 100%;
    padding: 10px 40px 10px 10px;
    font-size: 16px;
    height: 100%;
    border: none;
    border-bottom: 1px solid #ccc;
    outline: none;
}

.search-input:focus {
    border-bottom: 1px solid #333;
}

.search-icon {
    position: absolute;
    right: 10px;
    top: 35%;
    transform: translateY(-50%);
    pointer-events: none;
}

.section {
    margin-bottom: 2.5rem;
}

.section ul {
    list-style: none;
    padding-left: 0;
    font-size: 14px;
}

.section li {
    margin-bottom: 0.5rem;
}

.recent-post {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.recent-post img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    margin-right: 10px;
}

.recent-post h5.recent-title {
    font-size: 14px;
    font-weight: 400;
    color: #333;
}

.recent-post h5.recent-date {
    font-size: 12px;
    font-weight: 400;
    color: #7f7f7f;
}

.categories ul li a {
    font-size: 14px;
}

.categories ul li a:hover {
    color: #004120;
    font-weight: 500;
}

.post {
    margin-bottom: 3rem;
}

.post img {
    width: 100%;
    height: auto;
}

.post h2 {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    font-size: 24px;
}

.post .meta {
    font-size: 13px;
    color: #777;
    /* margin-bottom: 0.5rem; */
}

.post p {
    font-size: 14px;
    line-height: 1.6;
}

.post .flex-icon {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 10px;
    /* border-top: 1px solid #eee; */
}

.post .footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-bottom: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.read-more {
    display: inline-block;
    margin-top: 1rem;
    color: #004120;
    font-weight: 500;
    text-decoration: none;
}

.read-more:hover {
    color: rgb(76, 175, 80);
}

.icons {
    font-size: 14px;
    color: #777;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tags-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tag {
    padding: 5px 8px;
    border: 1px solid #ccc;
    background-color: #fff;
    color: #333;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s ease-in-out;
}

.tag.active {
    background-color: #004120;
    color: #fff;
    border-color: #004120;
}

.post .footer .tag {
    cursor: pointer;
    background-color: #004120;
    color: #fff;
}

.custom-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    font-family: Arial, sans-serif;
}

.pagination-link {
    color: #444;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 2px;
    transition: color 0.2s ease;
}

.pagination-link:hover {
    color: #004120;
}

.pagination-center {
    color: #444;
    font-size: 12px;
    letter-spacing: 2px;
    text-decoration: none;
    font-weight: 500;
}

.arrow-left,
.arrow-right {
    font-size: 16px;
    margin: 0 5px;
}

.related-posts {
    margin-top: 40px;
}

.related-posts-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
}

.related-post {
    flex: 1 1 30%;
    max-width: 30%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    padding: 8px;
}

.related-post:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.related-post img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 1rem;
}

.post-title {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 5px;
}

.post-meta {
    color: #999;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.section.comments {
    margin-top: 40px;
}

.section.comments h4 span {
    color: #333;
    font-size: 14px;
}

.comment-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.comment-title span {
    color: #888;
    font-size: 1rem;
}

.comment {
    display: flex;
    margin-bottom: 30px;
}

.comment .avatar {
    margin-right: 15px;
    flex-shrink: 0;
}

.comment .avatar img {
    width: 60px;
    height: 60px;
    border-radius: 100%;
    object-fit: cover;
}

.comment .content {
    flex: 1;
}

.comment .author {
    font-weight: 500;
    margin-bottom: 4px;
}

.comment .meta {
    font-size: 0.875rem;
    color: #777;
    margin-bottom: 8px;
}

.comment .reply {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 0.75rem;
    cursor: pointer;
}

.comment .text {
    line-height: 1.5;
    color: #333;
}

.reply-comment {
    margin-top: 20px;
    display: flex;
}

.comment-container {
    background-color: #f9f9f9;
    padding: 40px;
    max-width: 900px;
    margin: 50px auto;
}

.comment-container h4.subtitle {
    margin-bottom: 40px !important;
}

.comment-container h2 {
    font-size: 24px;
    margin-bottom: 30px;
    color: #3d4148;
    text-transform: uppercase;
}

.comment-form .form-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.form-group label {
    margin-bottom: 5px;
    font-size: 14px;
    color: #3d4148;
    text-transform: uppercase;
}

.form-group input,
.form-group textarea {
    border: none;
    border-bottom: 1px solid #999;
    padding: 8px 4px;
    font-size: 16px;
    background-color: transparent;
    color: #333;
    resize: none;
    height: 100%;
    outline: none;
}

.form-group.full-width {
    width: 100%;
}

/* Responsive */


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

    .left-column,
    .right-column {
        flex: 1 1 100%;
    }

    .pagination-center,
    .pagination-link {
        font-size: 10px;
    }

    .comment-container {
        padding: 24px;
    }
}

@media (max-width: 659px) {
  .related-post {
    flex: 1 1 calc(50% - 1rem);
    max-width: calc(50% - 1rem);
  }
}

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

    .reply-comment {
        margin-left: 30px;
        flex-direction: column;
    }

    .comment .avatar {
        margin-bottom: 10px;
    }
}



@media (max-width: 300px) {
    .custom-pagination {
        flex-direction: column;
        gap: 10px;
    }
}
