.featured-post-list__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px;
}

/* FEATURED CARD (replica of a post-card-grid card) */
.featured-post-list__featured {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
    text-decoration: none;
    color: inherit;
}

.featured-post-list__featured:hover .featured-post-list__featured-title {
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
}

.featured-post-list__featured-media {
    position: relative;
    aspect-ratio: 1/1;
    min-height: 260px;
}

.featured-post-list__featured-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.featured-post-list__featured:hover .featured-post-list__featured-arrow {
    background-color: var(--wp--preset--color--br-orange-300);
}

.featured-post-list__featured-arrow {
    position: absolute;
    right: -16px;
    bottom: 24px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--wp--preset--color--br-orange-200);
    transition: background-color 0.3s ease;
    color: var(--wp--preset--color--br-blue-900);
}

.featured-post-list__featured-content {
    display: flex;
    flex-direction: column;
    gap: var(--wp--preset--spacing--2xs);
    min-width: 0;
}

.featured-post-list__featured-tags {
    display: flex;
    margin-bottom: 8px;
    overflow-x: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.featured-post-list__featured-tag:first-child {
    padding-left: 0;
}

.featured-post-list__featured-tag:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 60%;
    width: 2px;
    background-color: var(--wp--preset--color--br-orange-900);
}

.featured-post-list__featured-tag {
    padding-right: 16px;
    padding-left: 16px;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--wp--preset--color--br-blue-900);
    position: relative;
    flex-shrink: 0;
}

.featured-post-list__featured-title {
    margin: 0;
    font-size: 2.25rem;
    line-height: 40px;
    font-family: "DM Serif Text", serif;
    letter-spacing: -1.1%;
    color: var(--wp--preset--color--br-blue-900);
    overflow-wrap: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
}

/* ASIDE — list of titles + "se flere" button */
.featured-post-list__aside {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.featured-post-list__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--wp--preset--spacing--ms);
}

.featured-post-list__list-link {
    display: block;
    text-decoration: none;
    font-family: "DM Serif Text", serif;
    font-size: 1.75rem;
    line-height: 30px;
    letter-spacing: -1.1%;
    color: var(--wp--preset--color--br-orange-500);
    overflow-wrap: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    font-weight: 400;
    padding-left: 20px;
    border-left: 2px solid var(--wp--preset--color--br-orange-500);
}

.featured-post-list__list-link:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
}

.featured-post-list__more {
    display: flex;
    justify-content: flex-end;
    margin-top: auto;
}

@media (max-width: 90rem) {
    .featured-post-list__featured-title {
        font-size: 1.375rem;
        line-height: 30px;
    }

    .featured-post-list__featured-media {
        min-height: unset;
    }

    .featured-post-list__list-link {
        font-size: 1.25rem;
        line-height: 28px;
    }
}

@media (max-width: 64rem) {
    .featured-post-list__featured-title {
        font-size: 1.25rem;
        line-height: 28px;
    }

    .featured-post-list__featured-tag {
        font-size: 1rem;
        padding-left: 8px;
        padding-right: 8px;
    }

    .featured-post-list__featured-tags {
        margin-bottom: 4px;
    }

    .featured-post-list__list-link {
        font-size: 1.125rem;
        line-height: 26px;
    }
}

@media (max-width: 48rem) {
    .featured-post-list__inner {
        grid-template-columns: 1fr;
        gap: var(--wp--preset--spacing--ms);
    }

    .featured-post-list__featured {
        gap: var(--wp--preset--spacing--s);
        display: flex;
    }

    .featured-post-list__featured-title {
        font-size: 1.125rem;
        line-height: 28px;
    }

    .featured-post-list__featured-tag {
        font-size: 0.875rem;
    }

    .featured-post-list__list-link {
        font-size: 1.125rem;
    }

    .featured-post-list__featured-arrow {
        right: 0;
        bottom: 0;
    }

    .featured-post-list__featured-media {
        aspect-ratio: 1/1;
        max-width: 120px;
        height: 100%;
        width: 100%;
    }
}