.nsfw:not(:has(.breadcrumbs--wrapper)),
.post:not(:has(.breadcrumbs--wrapper)),
.detras-del-espejo:not(:has(.breadcrumbs--wrapper)) {
    position: relative;
    opacity: 0;
    transform: translateY(4rem);
    padding: .1rem;

    &.animate-in {
        animation: animate-in--post .3s ease-in-out forwards;
    }

    & .post-body {
        display: grid;
        grid-template-rows: auto 1fr auto;
        height: 100%;
        border: 1px solid var(--wp--preset--color--line);
        transition: box-shadow .3s ease;

        &:hover {
            box-shadow: 0 0 0 2px var(--wp--preset--color--button);
        }

        & .post-body__header:not(:has(.wp-post-image, .gallery-wrapper, video)) {
            display: none;
        }

        & .post-body__header {
            overflow: hidden;
            aspect-ratio: 3 / 2;
            position: relative;
            padding: .5rem;
            padding-bottom: 0;

            &>img {
                width: 100%;
                height: calc(100% - .5rem);
                object-fit: cover;
            }

            & .post-video-wrapper {
                position: relative;
                width: 100%;
                height: calc(100% - .5rem);

                & video {
                    position: absolute;
                    top: 0;
                    left: 0;
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                }
            }

            & .gallery-wrapper {
                height: calc(100% - .5rem);
                background-color: var(--wp--preset--color--tertiary);
                box-shadow: inset 0 0 7px var(--wp--preset--color--primary-alpha-50);

                & .gallery-navigation {
                    padding: .5rem;
                }
            }

            & .post-audio-wrapper {
                position: relative;
                overflow: hidden;
                height: 46px;
                background-color: light-dark(var(--wp--preset--color--tertiary), var(--wp--preset--color--tertiary-night));

                & audio {
                    position: absolute;
                    top: 50%;
                    left: 50%;
                    transform: translate(-50%, -50%);
                    width: 100%;

                    &::-webkit-media-controls-panel {
                        background-color: light-dark(var(--wp--preset--color--tertiary), var(--wp--preset--color--tertiary-night));
                    }
                }
            }

            & .post--permalink {
                position: absolute;
                top: 1rem;
                right: 1rem;
                z-index: 1;
                background-color: #ffffff80;
                backdrop-filter: blur(10px);

                &:has(~ .gallery-wrapper) {
                    top: 1.5rem;
                    right: 1.5rem;
                }

                &:hover {
                    background-color: #ffffffc0;
                }

                &:focus-visible {
                    outline: none;
                    background-color: var(--wp--preset--color--focus);
                    color: var(--wp--preset--color--base);
                }
            }

            & .post--tags {
                position: absolute;
                z-index: 1;
                width: calc(100% - 1rem);
                top: 1rem;
                gap: .188rem;
                flex-wrap: nowrap;
                overflow-x: auto;
                scrollbar-gutter: stable;
                padding: .1rem 0;
                padding-left: .5rem;
                padding-right: 1rem;

                &::-webkit-scrollbar {
                    height: .375rem;
                    background: transparent;
                }

                &::-webkit-scrollbar-thumb {
                    background-color: transparent;
                    transition: background-color .3s ease;
                }

                &:has(~ .gallery-wrapper) {
                    z-index: 1;
                    top: 1.4rem;
                    left: 1rem;
                }

                &:has(~ .post-audio-wrapper) {
                    left: .5rem;
                }

                & .post-tag {
                    background-color: #ffffff80;
                    backdrop-filter: blur(10px);

                    &:focus-visible {
                        outline: none;
                        background-color: var(--wp--preset--color--focus);
                        color: var(--wp--preset--color--base);
                    }

                    &.small {
                        font-size: var(--wp--preset--font-size--small);
                    }

                    &:hover {
                        background-color: #ffffffc0;
                    }
                }
            }

            & .location {
                position: absolute;
                bottom: calc(64px + 1rem);
                left: 50%;
                transform: translateX(-50%);
                z-index: 1;
                width: fit-content;
                max-width: calc(100% - 3rem);
                display: -webkit-box;
                overflow: hidden;
                font-size: var(--wp--preset--font-size--small);
                background-color: #ffffff80;
                backdrop-filter: blur(10px);

                & svg {
                    position: relative;
                    top: 2px;
                    width: 13px;
                    height: 13px;
                }
            }
        }

        &:not(:has(.post-body__header)) {
            grid-template-rows: 1fr auto;

            & .post-body__content {
                display: grid;
                grid-template-rows: 1fr auto;
            }
        }

        & .post-body__content {
            display: grid;
            grid-template-rows: auto 1fr auto;
            padding: 0 .5rem;

            &:not(:has(.post--excerpt)) {
                grid-template-rows: 1fr auto;

                &:has(.price) {
                    grid-template-rows: 1fr auto;
                    grid-template-columns: auto 1fr;

                    & .post--permalink {
                        grid-column: 1 / -1;
                    }

                    & .date {
                        grid-column: 1 / 2;
                        grid-row: 2 / 3;
                    }

                    & .price {
                        text-align: right;
                    }
                }
            }

            &:not(:has(.post--excerpt)) {
                grid-template-rows: 1fr auto;
            }

            & .post--permalink {
                transition: color .3s ease;

                &:hover {
                    color: var(--wp--preset--color--button);
                }

                &:focus-visible {
                    outline: none;
                    color: var(--wp--preset--color--focus);
                }

                & .post--title {
                    font-size: var(--wp--preset--font-size--large);
                    padding-top: .5rem;
                }
            }

            & .post--excerpt {
                padding-top: .5rem;
                font-size: var(--wp--preset--font-size--small);
            }

            & .post--date {
                padding: .5rem 0;
                font-size: var(--wp--preset--font-size--small);

                & svg {
                    width: .8rem;
                    height: .8rem;
                }
            }
        }

        & .post-body__footer {
            display: flex;
            align-items: center;
            overflow: hidden;
            height: 3rem;
            position: relative;
            padding-left: .5rem;

            &:has(.post--tags .post-tag, .post--metadata .metadata-list) {
                border-top: .063rem dashed var(--wp--preset--color--accent-6);
            }

            & .post--tags {
                position: absolute;
                width: 100%;
                top: .5rem;
                gap: .188rem;
                flex-wrap: nowrap;
                overflow-x: auto;
                scrollbar-gutter: stable;
                padding: .1rem 0;
                padding-right: 1.5rem;
                mask-image: linear-gradient(to right, black 80%, transparent 100%);

                &::-webkit-scrollbar {
                    height: .375rem;
                    background: transparent;
                }

                &::-webkit-scrollbar-thumb {
                    background-color: transparent;
                    transition: background-color .3s ease;
                }

                & .post-tag {
                    font-size: var(--wp--preset--font-size--small);
                }
            }

            &:hover .post--tags::-webkit-scrollbar-thumb {
                background-color: rgba(0, 0, 0, .3);
            }

            &:has(.container) {
                padding: 0;
                padding-left: .5rem;

                &:hover .post--metadata::-webkit-scrollbar-thumb {
                    background-color: rgba(0, 0, 0, .3);
                }

                & .post--metadata {
                    flex: 1;
                    position: relative;
                    height: 48px;
                    overflow-x: scroll;
                    scrollbar-gutter: stable;
                    mask-image: linear-gradient(to right, black 80%, transparent 100%);

                    &::-webkit-scrollbar {
                        height: .375rem;
                        background: transparent;
                    }

                    &::-webkit-scrollbar-thumb {
                        background-color: transparent;
                        transition: background-color .3s ease;
                    }

                    & ul {
                        padding-left: 0;
                        padding-right: 2rem;
                        list-style: none;
                        display: flex;
                        align-items: center;
                        position: absolute;
                        top: .7rem;
                        left: 0;

                        & li {
                            text-wrap: nowrap;
                            white-space: nowrap;

                            & svg {
                                margin-right: .5rem;
                            }

                            &:not(:last-child) {
                                margin-right: 1rem;
                            }
                        }
                    }
                }

                &:has(.container .btn) {
                    padding-right: .5rem;

                    & .container {
                        position: relative;

                        &::before {
                            position: absolute;
                            content: '';
                            bottom: 0;
                            left: -47px;
                            width: 47px;
                            height: 100%;
                            background: linear-gradient(to left,
                                    light-dark(var(--wp--preset--color--background), var(--wp--preset--color--background-night)) 0%,
                                    transparent 100%);
                            z-index: 1;
                        }

                        .btn {
                            height: 30px;

                            &:not(:last-child) {
                                margin-right: .25rem;
                            }
                        }
                    }

                    &::after {
                        content: none;
                    }
                }
            }
        }
    }
}

.nsfw:not(:has(.breadcrumbs--wrapper)),
.post:not(:has(.breadcrumbs--wrapper)),
.detras-del-espejo:not(:has(.breadcrumbs--wrapper)),
.property {
    &:has(.post_body) {
        &:is(.format-image, .format-gallery, .format-standard, .format-video, .format-audio, .format-property):has(.post_body) {
            position: relative;
            max-width: 100%;
            overflow: hidden;
            box-shadow: var(--post-shadow);
            padding: 0;
            transition: box-shadow .3s ease;

            &:hover {
                box-shadow: var(--post-shadow-hover);

                & .post_body {
                    & .post__backdrop {
                        opacity: 1;
                    }

                    & .post__header {
                        & .format-post-tag {
                            opacity: 1;
                        }

                        & .button__like {
                            opacity: 1;
                        }
                    }

                    & .post__content {
                        opacity: 1;
                    }

                    & .gallery-wrapper {
                        & .gallery-navigation {
                            & .btn-pagination {
                                opacity: 1 !important;

                                &:hover {
                                    background-color: var(--wp--preset--color--primary);
                                }
                            }
                        }
                    }
                }
            }

            & .post_body {
                position: relative;
                width: 100%;
                height: 100%;
                min-height: 300px;
                overflow: hidden;

                & .post__backdrop {
                    position: absolute;
                    top: 0;
                    left: 0;
                    width: 100%;
                    height: 100%;
                    max-height: 100%;
                    background-color: #ffffff80;
                    backdrop-filter: blur(.5rem);
                    z-index: 1;
                    opacity: 0;
                    transition: opacity .3s ease, max-height .3s ease .3s;
                }

                & .post__overlay {
                    position: absolute;
                    bottom: 0;
                    left: 0;
                    width: 100%;
                    height: 4rem;
                    box-shadow: rgba(0, 0, 0, .15) 0 -2px 0 inset;
                    z-index: 2;
                    transition: transform .3s ease .3s;
                }

                &::before,
                &::after {
                    position: absolute;
                    content: '';
                    top: 0;
                    left: 0;
                    width: 100%;
                    height: 100%;
                    max-height: 100%;
                    border: 2px solid light-dark(hsla(0, 0%, 100%, 0.849), hsla(0, 0%, 100%, 0.849));
                    mask-image: linear-gradient(135deg, light-dark(hsla(0, 0%, 100%, 0.849), hsla(0, 0%, 100%, 0.849)), light-dark(hsla(0, 0%, 100%, 0), hsla(0, 0%, 100%, 0)) 50%);
                    mask-position: 0 0;
                    transition: mask-position .3s ease, max-height .3s ease;
                    z-index: 2;
                    transition: max-height .3s ease .3s;
                }

                &::after {
                    height: calc(100% - 2px);
                    max-height: calc(100% - 2px);
                    mask-image: linear-gradient(135deg, light-dark(hsla(0, 0%, 100%, 0), hsla(0, 0%, 100%, 0)) 76%, light-dark(hsla(0, 0%, 100%, 0.644), hsla(0, 0%, 100%, 0.644)));
                    transition: max-height .3s ease .3s;
                }

                & .post__header {
                    position: absolute;
                    top: 0;
                    left: 0;
                    width: 100%;
                    padding: 1rem;
                    z-index: 4;

                    & .format-post-tag {
                        position: absolute;
                        top: 0px;
                        left: 1rem;
                        padding: .5rem;
                        background-color: var(--wp--preset--color--primary);
                        font-size: calc(var(--wp--preset--font-size--small) - .125rem);
                        font-weight: 600;
                        color: var(--wp--preset--color--contrast);
                        display: flex;
                        align-items: center;
                        gap: .5rem;
                        line-height: 1;
                        box-shadow: var(--post-shadow-hover);
                        opacity: 0;
                        transition: opacity .3s ease;

                        & svg {
                            width: 11px;
                            height: 11px;
                        }
                    }

                    & .button__like {
                        margin-left: auto;
                        display: flex;
                        align-items: center;
                        gap: 0;
                        padding: 0;
                        border-radius: 0;
                        border: none;
                        background-color: transparent;
                        cursor: pointer;
                        transition: all 0.3s ease;
                        font-size: var(--wp--preset--font-size--small);
                        font-weight: 600;
                        color: inherit;
                        width: fit-content;
                        transition: all .3s ease;
                        opacity: 0;
                        transform: translateX(8px);

                        & svg {
                            width: 1rem;
                            height: 1rem;
                            transition: transform 0.3s ease, fill 0.3s ease;
                        }

                        &.liked {
                            opacity: 1;
                            gap: .5rem;
                            transform: translateX(0);

                            & svg {
                                fill: #e63946;
                            }
                        }

                        &.is-loading {
                            opacity: 0.7;
                            pointer-events: none;

                            & svg {
                                animation: pulse 1s infinite;
                            }
                        }

                        & .like-count {
                            min-width: 1ch;
                        }
                    }
                }

                & .post__content {
                    display: grid;
                    gap: 1rem;
                    position: absolute;
                    bottom: 0;
                    left: 0;
                    width: 100%;
                    padding: 1rem;
                    z-index: 3;
                    opacity: 0;
                    transition: opacity .3s ease;

                    & .post--tags {
                        flex-wrap: wrap;
                        gap: .3rem;
                        transition: opacity .3s ease;

                        & .post-tag {
                            font-size: calc(var(--wp--preset--font-size--small) - .125rem);
                            line-height: 1;
                            background-color: #ffffff80;
                            backdrop-filter: blur(.5rem);
                            font-weight: 600;
                            gap: 3px;
                            transition: background-color .3s ease;
                            padding: .3rem;

                            &:hover {
                                background-color: var(--wp--preset--color--primary-alpha-50);
                            }

                            & svg {
                                width: 11px;
                                height: 11px;
                            }
                        }
                    }

                    & .location {
                        display: grid;
                        grid-template-columns: auto 1fr;
                        font-size: calc(var(--wp--preset--font-size--small) - .125rem);
                        line-height: 1.4;
                        gap: .5rem;

                        & p {
                            line-height: 1.4;
                        }

                        & svg {
                            position: relative;
                            transform: translateY(3px);
                            width: 11px;
                            height: 11px;
                        }
                    }

                    & .post--date {
                        font-size: calc(var(--wp--preset--font-size--small) - .125rem);
                        line-height: 1;
                        position: relative;
                        transform: translateY(.7rem);
                        transition: opacity .3s ease;

                        & svg {
                            width: 11px;
                            height: 11px;
                        }
                    }

                    & .post__permalink {
                        transition: color .3s ease;

                        &:hover {
                            color: var(--wp--preset--color--focus);
                        }

                        & .post__title {
                            font-size: var(--wp--preset--font-size--medium);
                            line-height: 1.3;
                        }
                    }

                    & .property__price {
                        font-size: var(--wp--preset--font-size--medium);
                        line-height: 1.3;
                    }

                    & .post--author {
                        display: grid;
                        grid-template-columns: 30px 1fr;
                        grid-template-rows: auto auto;
                        gap: 0 .5rem;
                        height: 30px;

                        & .avatar {
                            width: 30px;
                            height: 30px;
                            border-radius: 50%;
                            corner-shape: round;
                            grid-column: 1 / 2;
                            grid-row: 1 / 3;
                        }

                        & .author-name {
                            line-height: 1;
                            grid-column: 2 / 3;
                            grid-row: 1 / 2;
                            font-size: var(--wp--preset--font-size--small);
                        }

                        & .author-description {
                            line-height: 1;
                            grid-column: 2 / 3;
                            grid-row: 2 / 3;
                            font-size: calc(var(--wp--preset--font-size--small) - .125rem);
                            align-self: end;
                        }
                    }

                    & .property__metadata {
                        display: flex;
                        align-items: center;
                        overflow: hidden;
                        height: 3rem;
                        position: relative;
                        padding-left: .5rem;

                        &:hover .post--tags::-webkit-scrollbar-thumb {
                            background-color: rgba(0, 0, 0, .3);
                        }

                        &:has(.container) {
                            padding: 0;

                            &:hover .post--metadata::-webkit-scrollbar-thumb {
                                background-color: rgba(0, 0, 0, .3);
                            }

                            & .post--metadata {
                                flex: 1;
                                position: relative;
                                height: 48px;
                                overflow-x: scroll;
                                scrollbar-gutter: stable;
                                mask-image: linear-gradient(to right, black 80%, transparent 100%);

                                &::-webkit-scrollbar {
                                    height: .375rem;
                                    background: transparent;
                                }

                                &::-webkit-scrollbar-thumb {
                                    background-color: transparent;
                                    transition: background-color .3s ease;
                                }

                                & ul {
                                    padding-left: 0;
                                    padding-right: 2rem;
                                    list-style: none;
                                    display: flex;
                                    align-items: center;
                                    position: absolute;
                                    top: .7rem;
                                    left: 0;

                                    & li {
                                        text-wrap: nowrap;
                                        white-space: nowrap;
                                        font-size: var(--wp--preset--font-size--small);

                                        & svg {
                                            margin-right: .5rem;
                                            width: 14px;
                                            height: 14px;
                                        }

                                        &:not(:last-child) {
                                            margin-right: 1rem;
                                        }
                                    }
                                }
                            }

                            &:has(.container .btn) {
                                & .container {
                                    height: 3rem;
                                    position: relative;
                                    display: flex;
                                    align-items: start;

                                    &::before {
                                        position: absolute;
                                        content: '';
                                        bottom: 0;
                                        left: -47px;
                                        width: 47px;
                                        height: 100%;
                                        background: linear-gradient(to left,
                                                light-dark(var(--wp--preset--color--background), var(--wp--preset--color--background-night)) 0%,
                                                transparent 100%);
                                        z-index: 1;
                                    }

                                    .btn {
                                        transform: translateY(9px);
                                        height: 26px;
                                        font-size: calc(var(--wp--preset--font-size--small) - .125rem) !important;

                                        &:not(:last-child) {
                                            margin-right: .25rem;
                                        }

                                        & svg {
                                            width: 11px !important;
                                            height: 11px !important;
                                        }
                                    }
                                }

                                &::after {
                                    content: none;
                                }
                            }
                        }
                    }
                }
            }
        }

        &:is(.format-quote, .format-aside) {
            display: grid;
            grid-template-rows: 1fr auto;
            gap: 1.5rem;
            padding: 0;

            & .post_body {
                display: grid;
                grid-template-rows: 1fr auto;
                gap: .5rem;

                & .post--date {
                    font-size: var(--wp--preset--font-size--small);

                    & svg {
                        width: 13px;
                        height: 13px;
                    }
                }
            }
        }

        &:is(.format-audio) {
            display: grid;
            gap: 1rem;
            box-shadow: none !important;
            overflow: visible !important;

            &:has(.post_footer) {
                grid-template-rows: 1fr auto;

                & .post_body {
                    min-height: calc(300px - 56.4px);

                }
            }

            &:hover {
                & .post_body {
                    box-shadow: var(--post-shadow-hover);
                }
            }

            & .post_body {
                box-shadow: var(--post-shadow);
                transition: box-shadow .3s ease;

                & .post__content {
                    display: block;
                    text-align: center;

                    & .post--title {
                        margin-bottom: 1rem;
                        font-size: var(--wp--preset--font-size--medium);
                    }

                    & .post-audio-wrapper {
                        & audio {
                            width: 100%;
                        }
                    }
                }
            }
        }

        &:is(.format-video) {
            &:hover {
                box-shadow: var(--post-shadow-hover);

                & .post_body {
                    &::before {
                        max-height: calc(100% - 80px);
                    }

                    &::after {
                        max-height: calc(100% - 82px);
                    }

                    & .post__backdrop {
                        max-height: calc(100% - 80px);
                    }

                    & .post__overlay {
                        transform: translateY(-80px);
                    }
                }
            }

            & .post_body {
                & .post__content {
                    transform: translateY(-80px);
                }
            }
        }

        &:is(.format-property) {

            &:hover {
                & .post_body {
                    & .post__content {
                        opacity: .75 !important;
                        transform: translate(1rem, -4rem) !important;
                    }
                }

                &:has(.gallery-wrapper) {
                    & .gallery-navigation {
                        opacity: 1;
                        background-color: #ffffff80;
                        backdrop-filter: blur(.5rem);
                    }
                }
            }

            & .post_body {
                & .post__header {
                    & .format-post-tag {
                        opacity: 1 !important;
                    }
                }

                & .post__content {
                    display: grid;
                    grid-template-columns: 1fr auto;
                    gap: 0 !important;
                    opacity: 1 !important;
                    transform: translateY(0) !important;
                    background-color: #ffffff80;
                    backdrop-filter: blur(.5rem);
                    padding: 0 !important;
                    padding-top: 1rem !important;
                    width: calc(100% - 2rem) !important;
                    transform: translate(1rem, -1rem) !important;
                    transition: opacity .3s ease, transform .3s ease !important;

                    & :is(.location, .post__permalink, .property__metadata) {
                        grid-column: 1 / -1;
                        padding: 0 1rem;
                    }

                    & .post__permalink {
                        & .post__title {
                            font-size: var(--wp--preset--font-size--small) !important;
                            line-height: 1.6 !important;
                            margin-bottom: .5rem !important;
                        }
                    }

                    & .location {
                        border-bottom: 1px solid var(--wp--preset--color--contrast-alpha-50);
                        padding-bottom: .5rem;
                    }

                    & .property__metadata {
                        & .post--metadata {
                            & .metadata-list {
                                padding-left: 1rem !important;
                            }
                        }

                        & .container {
                            padding-right: 1rem;
                        }
                    }

                    & .post--date {
                        border-top: 1px solid var(--wp--preset--color--base-alpha-50);
                        padding-top: .5rem;
                        padding-left: 1rem;
                        transform: translateY(0) !important;
                    }

                    & .property__price {
                        border-top: 1px solid var(--wp--preset--color--base-alpha-50);
                        padding-top: .5rem;
                        padding-right: 1rem;
                        font-size: var(--wp--preset--font-size--small) !important;
                    }
                }
            }

            &:has(.gallery-wrapper) {
                & .gallery-navigation {
                    opacity: 0;
                    transition: opacity .3s ease, background-color .3s ease, filter .3s ease !important;
                }
            }
        }

        &>.post_footer {
            z-index: 2;
            display: grid;
            grid-template-columns: 3rem 1fr auto;
            align-items: center;
            background-color: var(--wp--preset--color--base);
            box-shadow: rgba(0, 0, 0, .07) 0 -2px 0 inset, rgba(0, 0, 0, 0.07) 0px 54px 55px, rgba(0, 0, 0, 0.03) 0px -12px 30px, rgba(0, 0, 0, 0.03) 0px 4px 6px, rgba(0, 0, 0, 0.03) 0px 12px 13px, rgba(0, 0, 0, 0.03) 0px -3px 5px;

            & .format-type {
                position: relative;

                & .format-post-tag {
                    padding: .5rem 1rem;
                }
            }

            & .post--tags__wrapper {
                display: flex;
                align-items: center;
                overflow: hidden;
                height: 2.4rem;
                position: relative;

                & .post--tags {
                    position: absolute;
                    width: 100%;
                    top: .3rem;
                    gap: .188rem;
                    flex-wrap: nowrap;
                    overflow-x: auto;
                    scrollbar-gutter: stable;
                    padding: .1rem 0;
                    padding-right: 1.5rem;
                    mask-image: linear-gradient(to right, black 80%, transparent 100%);

                    &::-webkit-scrollbar {
                        height: .375rem;
                        background: transparent;
                    }

                    &::-webkit-scrollbar-thumb {
                        background-color: transparent;
                        transition: background-color .3s ease;
                    }

                    & .post-tag {
                        font-size: calc(var(--wp--preset--font-size--small) - .125rem);

                        & svg {
                            width: 11px;
                            height: 11px;
                        }
                    }
                }

                &:hover .post--tags::-webkit-scrollbar-thumb {
                    background-color: rgba(0, 0, 0, .3);
                }
            }

            & .button__like {
                display: flex;
                align-items: center;
                gap: 0;
                padding: 0 .5rem;
                padding-left: 1.5rem;
                border-radius: 0;
                border: none;
                background-color: transparent;
                cursor: pointer;
                transition: all 0.3s ease;
                font-size: var(--wp--preset--font-size--small);
                font-weight: 600;
                color: inherit;
                width: fit-content;
                transition: all .3s ease;

                & svg {
                    width: 1rem;
                    height: 1rem;
                    transition: transform 0.3s ease, fill 0.3s ease;
                }

                &.liked {
                    color: var(--wp--preset--color--contrast);
                    opacity: 1;
                    gap: .5rem;

                    & svg {
                        fill: #e63946;
                    }
                }

                &.is-loading {
                    opacity: 0.7;
                    pointer-events: none;

                    & svg {
                        animation: pulse 1s infinite;
                    }
                }

                & .like-count {
                    min-width: 1ch;
                }
            }
        }

        & .wp-post-image {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        &:not(:has(.wp-post-image, .gallery-wrapper)) {
            &:has(.post_body) {
                &:is(.format-standard):has(.post_body) {
                    & .post_body {
                        min-height: fit-content;
                        display: grid;

                        & .post__header {
                            position: relative;
                        }

                        & .post__content {
                            position: relative;
                            align-self: end;
                            opacity: 1 !important;
                        }
                    }
                }
            }
        }

        &:has(.gallery-wrapper) {
            & .post_body {
                & .post-overlay {
                    bottom: unset;
                    top: 0;
                }

                & .gallery-wrapper {
                    & .gallery-navigation {
                        width: 100% !important;
                        left: 0 !important;
                        bottom: 0 !important;

                        & .btn-pagination {
                            opacity: 0;
                            background-color: transparent;
                            backdrop-filter: none;
                            transition: opacity .3s ease, background-color .3s ease;

                            &:hover {
                                background-color: #ffffff80 !important;
                            }
                        }
                    }
                }

                & .post__content {
                    transform: translateY(-3rem);
                }
            }
        }

        & .post-video-wrapper video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }
}