.blog-heading-section {
    padding: 108px 20px 48px;
}

.blog-heading-wrapper {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    max-width: 750px;
}

.blog-heading-overline-title {
    font-weight: 400;
    font-size: 16px;
    line-height: 1.2;
    text-align: center;
    letter-spacing: -0.02em;
    color: #F07A48;
}

.blog-heading-title {
    font-weight: 500;
    font-size: clamp(3rem, 2rem + 3.3333vw, 5rem);
    line-height: 1.2;
    text-align: center;
    letter-spacing: -0.02em;
    color: #0E1115;
}

.blog-heading-text {
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;
    text-align: center;
    letter-spacing: -0.01em;
    color: rgba(14, 17, 21, 0.8);
}

.blog-search-wrapper {
    margin-top: 32px;
}

.site-search {
    position: relative;
    max-width: 730px;
    margin: 0 auto;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 0 0 1px rgba(14, 17, 21, .08), inset 0 1px 0 rgba(255, 255, 255, .6);
    padding: 12px 12px 12px 24px;

}

.search-input {
    width: 100%;
    height: 40px;
    border: 0;
    outline: 0;
    font-size: 18px;
    color: #000;
    background: transparent;
    padding-right: 64px;
}

.search-input::placeholder {
    color: rgba(0, 0, 0, 0.4)
}

.search-submit {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 8px;
    background: #F07A48;
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: opacity .2s ease;
}

.search-submit:hover {
    opacity: .9
}

.search-submit:focus-visible {
    outline: 2px solid #111;
    outline-offset: 2px
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.popular-blog-posts {
    padding: 16px 0 52px;
}

.popular-blog-posts-title {
    font-size: 28px;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 16px;
}

.popular-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start
}

.pf-thumb {
    display: block;
    max-height: 386px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 16px;
}

.popular-featured .pf-thumb img {
    width: 100%;
    height: auto;
    display: block;
}

.pf-meta,
.pl-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #A8B3BF;
    margin: 0 0 8px 0;
}

.pf-title {
    font-size: 32px;
    line-height: 1.1;
    margin: 0 0 8px 0;
}

.pf-title a {
    font-size: 24px;
    line-height: 1.1;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: #000;
    text-decoration: none;
}

.pf-excerpt {
    margin: .5rem 0 1rem
}

.pf-tags,
.pl-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px
}

.pf-tag,
.pl-tag {
    font-size: 14px;
    padding: 4px 6px;
    border-radius: 4px;
    background-color: rgba(168, 179, 191, 0.13);
}

.popular-list {
    display: grid;
    gap: 24px
}

.pl-item {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 24px;
    align-items: start
}

.pl-thumb {
    width: 168px;
    height: 168px;
    border-radius: 12px;
    overflow: hidden;
}

.pl-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pl-title {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.2;
    margin: 0 0 8px 0;
}

.pl-title a {
    color: #000;
    text-decoration: none;
}

.pl-body {
    padding-top: 18px;
}

.pl-excerpt {
    font-size: 16px;
    margin-bottom: 12px;
}

@media (max-width: 1440px) {
    .popular-blog-posts {
        padding: 16px 20px 52px;
    }
}

@media (max-width: 900px) {
    .popular-grid {
        grid-template-columns: 1fr
    }

    .popular-list {
        grid-template-columns: 1fr
    }

    .pl-item {
        grid-template-columns: 1fr
    }

    .popular-blog-posts {
        padding: 16px 20px 52px;
    }

    .pl-thumb {
        width: 100%;
        height: 240px;
    }

    .pl-body {
        padding-top: 0;
    }
}

.all-posts {
    padding: 55px 20px;
}

.all-posts-title {
    font-size: 28px;
    line-height: 1.4286;
    font-weight: 500;
    margin: 0 0 19px
}

.all-posts .post-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 0 40px
}

.all-posts .chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 4px;
    background: rgba(0, 0, 0, .06);
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
    color: #000;
}

.all-posts .chip.is-active {
    background: #F07A48;
    color: #fff
}

.all-posts .posts-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px
}

@media (max-width:1100px) {
    .all-posts .posts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media (max-width:640px) {
    .all-posts .posts-grid {
        grid-template-columns: 1fr
    }
}

.all-posts .post-card {
    display: flex;
    flex-direction: column;
}

.all-posts .post-thumb {
    display: block;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 320px;
    margin-bottom: 24px;
}

.all-posts .post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.all-posts .post-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 400;
    color: #A8B3BF;
    margin-bottom: 12px;
}

.all-posts .post-title {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.25;
    margin: 0 0 8px 0;
}

.all-posts .post-title a {
    text-decoration: none;
    color: #000
}

.all-posts .post-excerpt {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 12px;
}

.all-posts .post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.all-posts .post-tag {
    font-size: 14px;
    font-weight: 400;
    padding: 4px 6px;
    border-radius: 4px;
    color: #223F61;
    background-color: rgba(168, 179, 191, 0.13);
    text-decoration: none
}

.all-posts .pagination {
    display: flex;
    justify-content: center;
    margin: 0
}

.all-posts .pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #000;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: 4px;
    text-decoration: none;
    font-size: 17px;
}

.all-posts .pagination .nav-links {
    display: flex;
    gap: 8px;
    margin-top: 80px;
}

.all-posts .pagination .page-numbers.prev {
    opacity: .4;
}

.all-posts .pagination .page-numbers.prev,
.all-posts .pagination .page-numbers.next {
    background-color: #A8B3BF;
    color: #fff;
    font-size: 24px;
}

.all-posts .pagination .page-numbers.current {
    border-color: #F07A48;
    color: #F07A48;
}

@media (max-width:768px) {
    .all-posts .post-thumb {
        height: 240px;
    }
}

.blog-banner {
    padding: 0 20px 72px;
}

.blog-banner-inner {
    padding: 72px;
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
    background-color: #223F61;
    background-image: url('../../assets/img/blog-banner.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.blog-banner-heading {
    /* max-width: 550px; */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.blog-banner-title {
    font-size: clamp(1.5rem, -0.25rem + 5.8333vw, 5rem);
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
}

.blog-banner-text {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.4;
    text-align: center;
}

.blog-banner-button {
    display: flex;
    gap: 6px;
    padding: 12px 24px 12px 16px;
    border-radius: 8px;
    background-color: #fff;
    color: #0E1115;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
    width: fit-content;
}

.blog-banner-button svg {
    width: 24px;
    height: 24px;
}

.blog-banner-button:hover {
    background-color: #F07A48;
    color: #fff;
}

@media (max-width:768px) {
    .blog-banner-inner {
        padding: 72px 20px;
    }
}