.highlight-post {
    width: 100%;
    position: relative;
    height: 650px;
    max-height: calc(100vh - 4rem);
    overflow: hidden;
}

.highlight-post img {
    position: absolute;
    top: 0;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translateX(-50%);
    margin-top: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
    margin-left: 0 !important;
}

.highlight-post .highlight-content {
    position: absolute;
    padding: 20px;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    z-index: 10;
    gap: 0;
}

.highlight-post .highlight-content span {
    color: white !important;
    font-size: 24px;
    text-decoration: underline;
    text-decoration-color: var(--wp--preset--color--primary);
    text-decoration-thickness: 2px;
    text-underline-offset: 8px;
}

.highlight-post .highlight-content p {
    color: white !important;
    font-size: 16px !important;
    width: 60%;
    text-align: center;
    margin: 13px 0;
}

.highlight-post .highlight-content button {
    background-color: var(--wp--preset--color--primary);
    color: white !important;
    text-decoration: none;
    text-align: center;
    font-size: 14px;
    padding: 12px 25px;
    text-transform: uppercase;
    transition: color 0.35s;
}

.highlight-post .highlight-content-filter {
    position: absolute;
    height: 100%;
    width: 100%;
    background: rgb(0, 0, 0);
    z-index: 8;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.10) 0%, rgba(0, 0, 0, 0.80) 100%);
}

@media (max-width: 1023px) {
    .highlight-post .highlight-content p {
        width: 100%;
    }

    .highlight-post .highlight-content button {
        width: 100%;
    }
}