.blog-hub-container {
    padding: 52px 0;
}

.hub-section {
    margin-bottom: 67px;
}

.hub-section__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 19px;
}

.hub-section__header--title {
    margin: 0;
    color: var(--color-9);
}

.hub-section__header--title a {
    color: inherit;
}

.btn-see-all {
    position: relative;
    right: -3px;
    padding: 5px;
    font-weight: 600;
}

.grid-get-started,
.grid-2-cols,
.grid-4-cols {
    display: grid;
    grid-template-columns: 1fr;
}

.grid-get-started,
.grid-4-cols {
    gap: 20px;
}

.grid-2-cols {
    gap: 15px;
}

.grid-get-started .post-card-overlay {
    grid-column: span 1;
    grid-row: span 1;
}

.grid-get-started .post-card-overlay:nth-child(6n - 5) .post-card-overlay__arrow {
    color: #fa335c;
}
.grid-get-started .post-card-overlay:nth-child(6n - 4) .post-card-overlay__arrow {
    color: #8bb53e;
}
.grid-get-started .post-card-overlay:nth-child(6n - 3) .post-card-overlay__arrow {
    color: #5e2b7e;
}
.grid-get-started .post-card-overlay:nth-child(6n - 2) .post-card-overlay__arrow {
    color: #ff7400;
}
.grid-get-started .post-card-overlay:nth-child(6n - 1) .post-card-overlay__arrow {
    color: #26b9b3;
}
.grid-get-started .post-card-overlay:nth-child(6n) .post-card-overlay__arrow {
    color: #1f932d;
}

.post-card-horizontal {
    display: flex;
    gap: 20px;
    align-items: center;
    background: transparent;
}

.post-card-horizontal__thumb {
    flex: 0 0 200px;
    height: 160px;
    border-radius: 16px;
    overflow: hidden;
}

.post-card-horizontal__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.post-card-overlay {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    min-height: 195px;
}

.post-card-overlay__link {
    display: block;
    width: 100%;
    height: 100%;
    color: #fff;
    text-decoration: none;
}

.post-card-overlay__bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.post-card-overlay__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 49.36%, #000000 92.72%);
}

.post-card-overlay__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.post-card-overlay:hover .post-card-overlay__bg img {
    transform: scale(1.3);
}

.post-card-overlay__arrow {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    width: 32px;
    height: 32px;
    background: #fff;
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.post-card-overlay__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px 50px 15px 15px;
    z-index: 2;
}

.post-card-overlay__title {
    margin: 0;
    font: 600 16px var(--font-body);
    line-height: 1.4;
    color: #fff;
}

.post-card-overlay-guide {
    position: relative;
    min-height: 260px;
    border-radius: 16px;
    background: #f5f5f5;
    overflow: hidden;
}

.post-card-overlay-guide__link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: #ffffff;
}

.post-card-overlay-guide__bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.post-card-overlay-guide__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.post-card-overlay-guide__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.post-card-overlay-guide:hover .post-card-overlay-guide__bg img {
    transform: scale(1.3);
}

.post-card-overlay-guide__arrow {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fa335c;
    background: #ffffff;
    border-radius: 50%;
    transition: transform 0.3s ease;
    z-index: 2;
}

.post-card-overlay-guide__badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .2);
    background: #ffffff26;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    z-index: 2;
}

@media screen and (min-width: 750px) {
    .hub-section {
        margin-bottom: 100px;
    }

    .grid-4-cols {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px 20px;
    }

    .grid-2-cols {
        gap: 20px;
        grid-template-columns: 1fr;
    }

    .grid-get-started {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 1fr);
    }

    .grid-get-started .post-card-overlay:nth-child(1) {
        grid-area: 1 / 1 / 3 / 2;
        min-height: 410px;
        border-radius: 24px;
    }
    .grid-get-started .post-card-overlay:nth-child(2) {
        grid-area: 1 / 2 / 2 / 3;
    }
    .grid-get-started .post-card-overlay:nth-child(3) {
        grid-area: 2 / 2 / 3 / 3;
    }
    .grid-get-started .post-card-overlay:nth-child(4) {
        grid-area: 3 / 1 / 4 / 3;
    }
    .grid-get-started .post-card-overlay:nth-child(5) {
        grid-area: 4 / 1 / 5 / 2;
    }
    .grid-get-started .post-card-overlay:nth-child(6) {
        grid-area: 4 / 2 / 5 / 3;
    }

    .post-card-overlay-guide {
        min-height: 378px;
    }

    .section-garden-care .hub-section__header {
        margin-bottom: 40px;
    }
}
@media screen and (min-width: 990px) {
    .banner-search-form {
        display: none;
    }

    .grid-4-cols {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }

    .grid-2-cols {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-get-started {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, 1fr);
    }

    .grid-get-started .post-card-overlay:nth-child(1) {
        grid-area: 1 / 1 / 3 / 2;
    }

    .grid-get-started .post-card-overlay:nth-child(2) {
        grid-area: 1 / 2 / 2 / 3;
    }

    .grid-get-started .post-card-overlay:nth-child(3) {
        grid-area: 1 / 3 / 2 / 5;
    }

    .grid-get-started .post-card-overlay:nth-child(4) {
        grid-area: 2 / 2 / 3 / 3;
    }

    .grid-get-started .post-card-overlay:nth-child(5) {
        grid-area: 2 / 3 / 3 / 4;
    }

    .grid-get-started .post-card-overlay:nth-child(6) {
        grid-area: 2 / 4 / 3 / 5;
    }
}
@media screen and (max-width: 989px) {
    .grid-2-cols .post-card:nth-child(3) ~ .post-card {
        display: none;
    }
    .btn-see-all {
        top: -4px;
    }
}