.blog-landing-section {
    padding: 55px 0;
    background: #f7f9fc;
}

.blog-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 30px;
    align-items: start;
}

.blog-main {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.blog-list-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #e8edf5;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.06);
}

.blog-list-img {
    display: block;
    height: 100%;
    min-height: 230px;
    overflow: hidden;
    background: #eef3f8;
}

.blog-list-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: 0.4s ease;
}

.blog-list-card:hover .blog-list-img img {
    transform: scale(1.06);
}

.blog-list-content {
    padding: 25px;
}

.blog-date {
    font-size: 14px;
    color: #6d7785;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.blog-date i {
    color: #235892;
}

.blog-list-content h2 {
    font-size: 24px;
    line-height: 1.35;
    margin: 0 0 12px;
    font-weight: 800;
}

.blog-list-content h2 a {
    color: #15243b;
    text-decoration: none;
}

.blog-list-content h2 a:hover {
    color: #235892;
}

.blog-list-content p {
    font-size: 15px;
    line-height: 1.75;
    color: #5f6b7a;
    margin: 0 0 18px;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #235892;
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.read-more-btn:hover {
    background: #173d68;
    color: #ffffff;
    text-decoration: none;
}

.blog-sidebar {
    position: sticky;
    top: 90px;
    align-self: start;
}

.sidebar-box {
    background: #ffffff;
    border: 1px solid #e8edf5;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.06);
    margin-bottom: 22px;
}

.sidebar-box h3 {
    font-size: 20px;
    font-weight: 800;
    color: #15243b;
    margin: 0 0 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e8edf5;
}

.blog-search-form {
    display: flex;
    width: 100%;
    border: 1px solid #dfe7f1;
    border-radius: 999px;
    overflow: hidden;
    background: #f8fbff;
}

.blog-search-form input {
    width: 100%;
    border: 0;
    outline: none;
    padding: 12px 16px;
    font-size: 14px;
    color: #15243b;
    background: transparent;
}

.blog-search-form input::placeholder {
    color: #8b96a6;
}

.blog-search-form button {
    width: 48px;
    border: 0;
    background: #235892;
    color: #ffffff;
    cursor: pointer;
    transition: 0.25s ease;
}

.blog-search-form button:hover {
    background: #173d68;
}

.recent-blog-item.no-image {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 10px;
    padding: 13px 0;
    border-bottom: 1px solid #edf1f5;
    text-decoration: none;
    align-items: flex-start;
}

.recent-blog-item.no-image:last-child {
    border-bottom: 0;
}

.recent-blog-item.no-image i {
    width: 22px;
    height: 22px;
    background: #eef4fb;
    color: #235892;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    margin-top: 2px;
}

.recent-blog-item.no-image span {
    font-size: 14px;
    line-height: 1.45;
    font-weight: 700;
    color: #15243b;
}

.recent-blog-item.no-image:hover span {
    color: #235892;
}

.recent-blog-item.no-image small {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #7a8492;
    margin-top: 5px;
}

@media (max-width: 991px) {
    .blog-sidebar {
        position: static;
    }
}

@media (max-width: 991px) {
    .blog-layout {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        position: static;
    }
}

@media (max-width: 767px) {
    .blog-list-card {
        grid-template-columns: 1fr;
    }

    .blog-list-img {
        min-height: 210px;
    }

    .blog-list-content {
        padding: 20px;
    }

    .blog-list-content h2 {
        font-size: 21px;
    }
}


.blog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 35px;
    flex-wrap: wrap;
}

.pagination-btn {
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #dfe7f1;
    color: #235892;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
}

.pagination-btn:hover,
.pagination-btn.active {
    background: #235892;
    color: #ffffff;
    border-color: #235892;
    text-decoration: none;
}


.blog-details-section {
    padding: 55px 0;
    background: #f7f9fc;
}

.blog-details-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 30px;
    align-items: start;
}

.blog-details-main {
    min-width: 0;
}

.blog-details-card {
    background: #ffffff;
    border: 1px solid #e8edf5;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.06);
}

.blog-details-title {
    font-size: 34px;
    line-height: 1.25;
    font-weight: 800;
    color: #15243b;
    margin: 0 0 15px;
}

.blog-details-meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #6d7785;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 22px;
}

.blog-details-meta i {
    color: #235892;
}

.blog-error-message {
    color: #d32f2f;
    font-weight: 800;
    text-align: center;
    margin: 20px 0;
}

.blog-details-image-wrap {
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    margin: 8px 0 28px;
    background: #eef3f8;
}

.blog-details-image {
    width: 100%;
    height: auto;
    display: block;
}

.blog-details-content {
    font-size: 16px;
    line-height: 1.85;
    color: #4f5f72;
}

.blog-details-content p {
    margin-bottom: 18px;
}

.blog-details-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.blog-written-by {
    margin-top: 25px;
    padding-top: 18px;
    border-top: 1px solid #edf1f5;
    text-align: right;
    color: #15243b;
    font-size: 15px;
}

.blog-comment-box {
    margin-top: 28px;
    background: #ffffff;
    border: 1px solid #e8edf5;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.06);
}

.blog-sidebar {
    position: sticky;
    top: 90px;
    align-self: start;
}

.sidebar-box {
    background: #ffffff;
    border: 1px solid #e8edf5;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.06);
    margin-bottom: 22px;
}

.sidebar-box h3 {
    font-size: 20px;
    font-weight: 800;
    color: #15243b;
    margin: 0 0 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e8edf5;
}

.blog-search-form {
    display: flex;
    width: 100%;
    border: 1px solid #dfe7f1;
    border-radius: 999px;
    overflow: hidden;
    background: #f8fbff;
}

.blog-search-form input {
    width: 100%;
    border: 0;
    outline: none;
    padding: 12px 16px;
    font-size: 14px;
    color: #15243b;
    background: transparent;
}

.blog-search-form button {
    width: 48px;
    border: 0;
    background: #235892;
    color: #ffffff;
    cursor: pointer;
    transition: 0.25s ease;
}

.blog-search-form button:hover {
    background: #173d68;
}

@media (max-width: 991px) {
    .blog-details-layout {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        position: static;
    }
}

@media (max-width: 767px) {
    .blog-details-section {
        padding: 35px 0;
    }

    .blog-details-card {
        padding: 22px;
        border-radius: 16px;
    }

    .blog-details-title {
        font-size: 26px;
    }

    .blog-details-content {
        font-size: 15px;
        line-height: 1.75;
    }

    .blog-written-by {
        text-align: left;
    }

    .blog-comment-box {
        padding: 20px;
    }
}


.blog-details-content ul {
    padding-left: 30px;
    margin: 15px 0 20px;
}

.blog-details-content ul li {
    list-style: disc;
    margin-bottom: 8px;
    color: #000;
    line-height: 1.8;
}

.blog-details-content ol {
    padding-left: 30px;
    margin: 15px 0 20px;
}

.blog-details-content ol li {
    list-style: decimal;
    margin-bottom: 8px;
    color: #000;
    line-height: 1.8;
}

.blog-details-content p {
    color: #000;
}

.sidebar-list-modern {
    width: 100%;
}

.sidebar-box {
    background: #ffffff;
    border: 1px solid #e8edf5;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.06);
    margin-bottom: 22px;
}

.sidebar-box h3 {
    font-size: 20px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    color: #15243b;
    margin: 0 0 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e8edf5;
}

.blog-search-form {
    display: flex;
    width: 100%;
    border: 1px solid #dfe7f1;
    border-radius: 999px;
    overflow: hidden;
    background: #f8fbff;
}

.blog-search-form input[type="text"] {
    width: 100%;
    border: 0;
    outline: none;
    padding: 12px 16px;
    font-size: 14px;
    color: #15243b;
    background: transparent;
}

.blog-search-form input[type="text"]::placeholder {
    color: #8b96a6;
}

.blog-search-form button {
    width: 48px;
    min-width: 48px;
    border: 0;
    background: #235892;
    color: #ffffff;
    cursor: pointer;
    transition: 0.25s ease;
}

.blog-search-form button:hover {
    background: #173d68;
}

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

.recent-blog-list li {
    list-style: none;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #edf1f5;
}

.recent-blog-list li:last-child {
    border-bottom: 0;
}

.recent-blog-list li a {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 10px;
    padding: 13px 0;
    text-decoration: none;
    align-items: flex-start;
}

.recent-blog-list li a i {
    width: 22px;
    height: 22px;
    background: #eef4fb;
    color: #235892;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    margin-top: 2px;
    transition: 0.25s ease;
}

.recent-blog-list li a span {
    font-size: 14px;
    line-height: 1.45;
    font-weight: 700;
    color: #15243b;
    transition: 0.25s ease;
}

.recent-blog-list li a:hover i {
    background: #235892;
    color: #ffffff;
}

.recent-blog-list li a:hover span {
    color: #235892;
}