/* =========================================================
   Blog page banner
========================================================= */

.inner-page-banner {
    position: relative;
    padding: 105px 0 95px;
    background:
        linear-gradient(
            rgba(7, 47, 104, 0.9),
            rgba(7, 47, 104, 0.9)
        ),
        url("../images/blog/blog-banner.jpg") center/cover no-repeat;
    color: #ffffff;
    text-align: center;
}

.inner-banner-content {
    max-width: 820px;
    margin: 0 auto;
}

.page-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: #d89a2a;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.inner-page-banner h1 {
    margin-bottom: 18px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
}

.inner-page-banner p {
    max-width: 690px;
    margin: 0 auto 24px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.inner-page-banner .breadcrumb-item,
.inner-page-banner .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
}

.inner-page-banner .breadcrumb-item.active {
    color: #ffffff;
}

.inner-page-banner .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6);
}

/* =========================================================
   Blog listing
========================================================= */

.blog-listing-section {
    padding: 95px 0;
    background: #faf7f0;
}

.blog-filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 45px;
}

.blog-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.blog-filter-button {
    padding: 10px 17px;
    border: 1px solid #d9d2c7;
    border-radius: 100px;
    background: #ffffff;
    color: #263143;
    font-size: 0.88rem;
    font-weight: 600;
    transition:
        background-color 0.3s ease,
        border-color 0.3s ease,
        color 0.3s ease;
}

.blog-filter-button:hover,
.blog-filter-button.active {
    border-color: #4f862b;
    background: #4f862b;
    color: #ffffff;
}

.blog-search {
    position: relative;
    flex: 0 0 270px;
}

.blog-search i {
    position: absolute;
    top: 50%;
    left: 17px;
    color: #5b2a7d;
    transform: translateY(-50%);
}

.blog-search input {
    width: 100%;
    height: 47px;
    padding: 10px 16px 10px 44px;
    border: 1px solid #d9d2c7;
    border-radius: 100px;
    background: #ffffff;
    outline: none;
}

.blog-search input:focus {
    border-color: #5b2a7d;
    box-shadow: 0 0 0 4px rgba(91, 42, 125, 0.1);
}

.blog-card {
    height: 100%;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e7e1d7;
    border-radius: 22px;
    box-shadow: 0 12px 35px rgba(7, 47, 104, 0.07);
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.blog-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 50px rgba(7, 47, 104, 0.13);
}

.blog-card-image {
    display: block;
    height: 240px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.65s ease;
}

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

.blog-card-body {
    padding: 25px;
}

.blog-card-body .blog-category {
    margin-bottom: 14px;
}

.blog-card-body h2 {
    margin: 0 0 14px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.42rem;
    line-height: 1.35;
}

.blog-card-body h2 a {
    color: #072f68;
    text-decoration: none;
}

.blog-card-body h2 a:hover {
    color: #4f862b;
}

.blog-card-body p {
    color: #6d7480;
    line-height: 1.7;
}

.blog-empty-state {
    padding: 70px 25px;
    text-align: center;
}

.blog-empty-state i {
    margin-bottom: 20px;
    color: #5b2a7d;
    font-size: 3rem;
}

.blog-empty-state h2 {
    color: #072f68;
    font-family: Georgia, "Times New Roman", serif;
}

.blog-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 55px;
}

.blog-pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    border: 1px solid #d9d2c7;
    border-radius: 50%;
    background: #ffffff;
    color: #072f68;
    font-weight: 700;
    text-decoration: none;
}

.blog-pagination a:hover,
.blog-pagination a.active {
    border-color: #5b2a7d;
    background: #5b2a7d;
    color: #ffffff;
}

.blog-pagination a.disabled {
    opacity: 0.45;
    pointer-events: none;
}

/* =========================================================
   Article details
========================================================= */

.article-header {
    padding: 95px 0 190px;
    background:
        radial-gradient(
            circle at 15% 15%,
            rgba(79, 134, 43, 0.12),
            transparent 30%
        ),
        #faf7f0;
    text-align: center;
}

.article-header-content {
    max-width: 940px;
    margin: 0 auto;
}

.article-header h1 {
    margin: 22px 0;
    color: #072f68;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.45rem, 6vw, 4.8rem);
    line-height: 1.08;
}

.article-introduction {
    max-width: 790px;
    margin: 0 auto 25px;
    color: #5f6876;
    font-size: 1.15rem;
    line-height: 1.8;
}

.article-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 22px;
    color: #6d7480;
}

.article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.article-meta i {
    color: #5b2a7d;
}

.article-featured-image {
    position: relative;
    z-index: 2;
    margin-top: -130px;
}

.article-featured-image img {
    display: block;
    width: 100%;
    max-height: 630px;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: 0 25px 70px rgba(7, 47, 104, 0.18);
}

.article-body-section {
    padding: 85px 0 100px;
}

.article-content {
    color: #3e4652;
    font-size: 1.03rem;
    line-height: 1.9;
}

.article-content h2 {
    margin: 44px 0 17px;
    color: #072f68;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
}

.article-content h3 {
    color: #072f68;
}

.article-lead {
    color: #283444;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.28rem;
    line-height: 1.8;
}

.article-callout {
    display: flex;
    gap: 20px;
    margin: 35px 0;
    padding: 27px;
    border-left: 5px solid #4f862b;
    border-radius: 0 18px 18px 0;
    background: rgba(79, 134, 43, 0.08);
}

.article-callout > i {
    flex: 0 0 auto;
    color: #4f862b;
    font-size: 2.1rem;
}

.article-callout h3 {
    margin: 0 0 8px;
    font-size: 1.25rem;
}

.article-callout p {
    margin: 0;
}

.article-check-list {
    display: grid;
    gap: 14px;
    margin: 25px 0;
    padding: 0;
    list-style: none;
}

.article-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.article-check-list i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    margin-top: 3px;
    border-radius: 50%;
    background: rgba(79, 134, 43, 0.12);
    color: #4f862b;
    font-size: 0.78rem;
}

.article-inline-image {
    margin: 42px 0;
}

.article-inline-image img {
    width: 100%;
    border-radius: 22px;
}

.article-inline-image figcaption {
    padding-top: 12px;
    color: #737b86;
    font-size: 0.88rem;
    text-align: center;
}

.article-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 30px 0;
}

.article-feature {
    padding: 24px;
    border: 1px solid #e6e0d6;
    border-radius: 18px;
    background: #faf7f0;
}

.article-feature > i {
    margin-bottom: 15px;
    color: #5b2a7d;
    font-size: 1.8rem;
}

.article-feature h3 {
    margin-bottom: 8px;
    font-size: 1.12rem;
}

.article-feature p {
    margin: 0;
    color: #68717e;
    font-size: 0.94rem;
    line-height: 1.65;
}

.article-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 50px;
    padding: 34px;
    border-radius: 24px;
    background: #072f68;
    color: #ffffff;
}

.article-cta span {
    color: #d89a2a;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.article-cta h2 {
    margin: 8px 0;
    color: #ffffff;
    font-size: 1.65rem;
}

.article-cta p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
}

.article-cta .kindroot-btn {
    flex: 0 0 auto;
}

.article-share {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 35px;
    padding-top: 30px;
    border-top: 1px solid #e6e0d6;
}

.article-share > span {
    color: #072f68;
    font-weight: 700;
}

.article-share-links {
    display: flex;
    gap: 9px;
}

.article-share-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 41px;
    height: 41px;
    border-radius: 50%;
    background: #f0ebf4;
    color: #5b2a7d;
    text-decoration: none;
}

.article-share-links a:hover {
    background: #5b2a7d;
    color: #ffffff;
}

/* Sidebar */
.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
    position: sticky;
    top: 110px;
}

.sidebar-widget {
    padding: 27px;
    border: 1px solid #e7e1d7;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 12px 35px rgba(7, 47, 104, 0.06);
}

.sidebar-widget > h2 {
    margin-bottom: 22px;
    color: #072f68;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.45rem;
}

.category-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.category-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-radius: 10px;
    background: #faf7f0;
    color: #354050;
    text-decoration: none;
}

.category-list a:hover {
    background: #4f862b;
    color: #ffffff;
}

.category-list span {
    font-size: 0.82rem;
}

.sidebar-post-list {
    display: grid;
    gap: 18px;
}

.sidebar-post {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 14px;
}

.sidebar-post img {
    width: 82px;
    height: 75px;
    object-fit: cover;
    border-radius: 11px;
}

.sidebar-post span {
    color: #7a818c;
    font-size: 0.75rem;
}

.sidebar-post h3 {
    margin: 4px 0 0;
    font-size: 0.97rem;
    line-height: 1.4;
}

.sidebar-post h3 a {
    color: #072f68;
    text-decoration: none;
}

.sidebar-post h3 a:hover {
    color: #4f862b;
}

.sidebar-support {
    background:
        linear-gradient(
            rgba(7, 47, 104, 0.94),
            rgba(7, 47, 104, 0.94)
        ),
        url("../images/blog/sidebar-support.jpg") center/cover;
    color: #ffffff;
    text-align: center;
}

.sidebar-support > i {
    margin-bottom: 16px;
    color: #d89a2a;
    font-size: 2.6rem;
}

.sidebar-support > h2 {
    color: #ffffff;
}

.sidebar-support p {
    margin-bottom: 22px;
    color: rgba(255, 255, 255, 0.8);
}

.related-posts-section {
    padding: 90px 0;
    background: #faf7f0;
}

/* Responsive */
@media (max-width: 991.98px) {
    .blog-filter-bar {
        align-items: stretch;
        flex-direction: column;
    }

    .blog-search {
        flex-basis: auto;
        max-width: 420px;
    }

    .article-sidebar {
        position: static;
    }

    .article-cta {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 767.98px) {
    .inner-page-banner {
        padding: 80px 0 70px;
    }

    .blog-listing-section {
        padding: 70px 0;
    }

    .article-header {
        padding: 75px 0 135px;
    }

    .article-featured-image {
        margin-top: -90px;
    }

    .article-featured-image img {
        min-height: 280px;
    }

    .article-body-section {
        padding: 65px 0 75px;
    }

    .article-feature-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .blog-filter-buttons {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .blog-filter-button {
        width: 100%;
    }

    .article-meta {
        align-items: center;
        flex-direction: column;
        gap: 10px;
    }

    .article-callout {
        flex-direction: column;
    }

    .article-cta {
        padding: 27px 22px;
    }

    .article-share {
        align-items: flex-start;
        flex-direction: column;
    }
}