/* Block: Post Header */

.block-post-header.image-stacked {
    position: relative;
    isolation: isolate;
    color: white;
}

.block-post-header.image-stacked::after {
    content: '';
    display: block;
    position: absolute;
    inset: 0;
    background-image: linear-gradient(90deg, var(--c-gradient-tertiary));
    z-index: -1;
}

.block-post-header.image-stacked .content-wrapper {
    padding-block: calc(3.125rem + var(--header-height, 0px)) 5rem
}

.block-post-header .header {
    display: flex;
    align-items: center;
    gap: 1.875rem;
}

.block-post-header .header .back-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--font-13-12);
    font-weight: 600;
    color: rgb(from var(--c-secondary) r g b / .5);
    text-decoration: none;
}

.block-post-header.image-stacked .header .back-btn {
    color: rgb(255 255 255 / .5);
}

.block-post-header .header:not(:last-child) {
    margin-bottom: 2.5rem;
}

.block-post-header .title:not(:last-child) {
    margin-bottom: 5rem;
}

.block-post-header.image-stacked .title {
    color: white;
    max-width: 52.125rem;
    margin-bottom: 0;
}

.block-post-header.image-default .image {
    width: 100%;
    height: auto;
    max-height: 28.125rem;
    object-fit: cover;
    clip-path: polygon(100% 0%, 100% calc(100% - 120px), calc(100% - 70px) 100%, 0% 100%, 0% 120px, 70px 0%);
}

.block-post-header.image-stacked .image {
    position: absolute;
    top: 0;
    left: 20%;
    object-fit: cover;
    z-index: -1;
    width: 80%;
    height: 100%;
}

@media screen and (width <= 620px) {
    .block-post-header .header {
        gap: 1.25rem;
    }
    .block-post-header .header:not(:last-child) {
        margin-bottom: 1.5rem;
    }
    .block-post-header .title:not(:last-child) {
        margin-bottom: 2.5rem;
    }
    .block-post-header.image-default .image {
        aspect-ratio: 1.85;
        clip-path: polygon(100% 0%, 100% calc(100% - 50px), calc(100% - 30px) 100%, 0% 100%, 0% 50px, 30px 0%);
    }
}