/* BLOCK: Featured Post */

.block-featured-post {
    background-image: linear-gradient(180deg, rgb(from var(--c-secondary) r g b / 0.4) 0%, transparent 100%);
    background-size: 100% 500px;
    background-repeat: no-repeat;
}

.block-featured-post .content-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
}

.block-featured-post:first-child .content-wrapper {
    padding-top: var(--header-height, 3.125rem);
}

.block-featured-post .text-wrapper {
    flex-basis: 43%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.block-featured-post .post__head {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 1.25rem;
    font-size: var(--font-12-9);
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 1.875rem;
}

.block-featured-post .post__tag {
    padding: 0.5625rem 0.8125rem;
    background-color: rgb(from currentColor r g b / 0.07);
    border: 1px solid rgb(from currentColor r g b / 0.3);
    border-radius: 58px;
}

.block-featured-post .post__meta {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.9375rem;
}

.block-featured-post .post__category {
    font-weight: 600;
}

.block-featured-post .post__title {
    margin-bottom: 2.5rem;
}

.block-featured-post .post__description {
    margin-bottom: 3.125rem;
    font-size: var(--font-18-15);
}

.block-featured-post .post__link {
    margin-top: auto;
}

.block-featured-post .image-wrapper {
    flex-basis: 50%;
    /* align-self: center; */
}

.block-featured-post .image-wrapper-inner {
    width: 100%;
    height: 100%;
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.block-featured-post .post__image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 1.5rem;
    box-shadow: 0px 3.49px 43.59px 0px #070F3033;
}

@media screen and (width <= 920px) {
    .block-featured-post .content-wrapper {
        flex-direction: column;
        gap: 2.5rem;
    }
    .block-featured-post .text-wrapper {
        align-items: center;
        text-align: center;
    }
    .block-featured-post .post__head {
        flex-direction: column;
        gap: 1.875rem;
        align-items: center;
        margin-bottom: 1.5rem;
    }
    .block-featured-post .post__title {
        margin-bottom: 1.5rem;
    }
    .block-featured-post .post__description {
        margin-bottom: 2.5rem;
    }
    .block-featured-post .post__link {
        width: 15.875rem;
        max-width: 100%;
    }
    .block-featured-post .post__image {
        border-radius: 0.75rem;
    }
}