.featured-posts-widget {
    height: 432px;
    display: flex;
    flex-direction: row;
    gap: 24px;
    font-family: "Hanken Grotesk";
    font-style: normal;
    line-height: 120%;
}

.featured-posts-widget > * {
    width: calc(50% - 12px);
}

.featured-posts-widget p,
.featured-posts-widget h1,
.featured-posts-widget h2,
.featured-posts-widget h3,
.featured-posts-widget h4,
.featured-posts-widget h5,
.featured-posts-widget h6 {
    margin: 0;
}

.featured-posts-widget .first {
    position: relative;
    height: fit-content;
}

.featured-posts-widget .first .tag {
    position: absolute;
    top: 24px;
    left: 24px;
    z-index: 2;
    padding: 5px 12px;
    border-radius: 27px;
    background-color: var(--Default-White, #FFF);
    color: var(--Default-Black, #000);
    font-family: "Hanken Grotesk";
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
}

.featured-posts-widget a {
    display: flex;
    height: fit-content;
}

.featured-posts-widget .first .featured-image {
    position: relative;
    width: 100%;
    height: 432px;
    overflow: hidden;
    border-radius: 12px;
}

.featured-posts-widget .first .featured-image::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 12px;
    pointer-events: none;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0,0,0,0.00) 0%, rgba(0,0,0,0.50) 100%);
    transition: background 0.3s;
}

.featured-posts-widget .first:hover .featured-image::after {
    background: rgba(0,0,0,0.50);
    transition: background 0.3s;
}

.featured-posts-widget .first .featured-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1);
    transition: 0.3s;
}

.featured-posts-widget .first:hover .featured-image img {
    transform: scale(1.15);
    transition: 0.3s;
}

.featured-posts-widget .first .info-to-move {
    position: absolute;
    bottom: 0;
    width: 90%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-self: anchor-center;
    z-index: 2;
    transform: translateY(16px);
    transition: 0.3s;
}

.featured-posts-widget .first:hover .info-to-move {
    transform: translateY(-16px);
    transition: 0.3s;
}

.featured-posts-widget .first .title {
    font-size: 32px;
    font-weight: 700;
}

.featured-posts-widget .first .author-info {
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: center;
    opacity: 0;
    transition: 0.3s;
}

.featured-posts-widget .first:hover .author-info {
    opacity: 1;
    transition: 0.3s;
}

.featured-posts-widget .first .author-info img {
    width: 32px;
    border-radius: 50%;
}

.featured-posts-widget .first .display-name {
    color: var(--Gray-Gray-700, #DDD);
    font-family: 'Hanken Grotesk';
    font-size: 16px;
    font-weight: 400;
    text-decoration: underline;
    text-underline-offset: 8px;
    text-decoration-color: grey;
    transition: 0.3s;
}

.featured-posts-widget .first .display-name:hover {
    text-decoration-color: var(--Gray-Gray-700, #DDD);
    transition: 0.3s;
}

.featured-posts-widget .others {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.featured-posts-widget .others .post {
    position: relative;
    height: calc((100% - 48px) / 3);
    display: flex;
    flex-direction: row;
    gap: 24px;
    overflow: hidden;
}

.featured-posts-widget .others .post .featured-image {
    height: 100%;
    width: 170px;
    overflow: hidden;
    border-radius: 8px;
}

.featured-posts-widget .others .post .featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1);
    transition: 0.3s;
}

.featured-posts-widget .others .post:hover .featured-image img {
    transform: scale(1.15);
    transition: 0.3s;
}

.featured-posts-widget .others .post .post-info {
    width: calc(100% - 194px);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.featured-posts-widget .others .post .title {
    color: var(--Gray-Gray-700, #DDD);
    font-family: "Hanken Grotesk";
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 128%;
}

.featured-posts-widget .others .post .author-info {
    position: absolute;
    bottom: 0;
    display: flex;
    flex-direction: row;
    gap: 12px;
    width: 100%;
    padding-top: 16px;
    background-color: black;
    opacity: 0;
    transition: 0.3s;
}

.featured-posts-widget .others .post:hover .author-info {
    opacity: 1;
    transition: 0.3s;
}

.featured-posts-widget .others .post .author-info img {
    width: 24px;
    border-radius: 50%;
}

.featured-posts-widget .others .post .author-info .display-name {
    color: var(--Gray-Gray-700, #DDD);
    font-family: 'Hanken Grotesk';
    font-size: 14px;
    font-weight: 400;
    text-decoration: underline;
    text-underline-offset: 8px;
    text-decoration-color: grey;
}

.featured-posts-widget .others .post .author-info:hover .display-name {
    text-decoration-color: var(--Gray-Gray-700, #DDD);
    transition: 0.3s;
}

@media (max-width: 768px) {
    .featured-posts-widget {
        flex-direction: column;
        height: fit-content;
    }
    .featured-posts-widget > * {
        width: 100%;
    }
    .featured-posts-widget .first .tag {
        top: 16px;
        left: 16px;
        font-size: 13px;
        padding: 3px 10px;
    }
    .featured-posts-widget .first .featured-image {
        height: auto;
        aspect-ratio: 1;
    }
    .featured-posts-widget .first .info-to-move {
        gap: 16px;
        transform: translateY(-16px);
    }
    .featured-posts-widget .first .title {
        font-size: 22px;
    }
    .featured-posts-widget .first .author-info{
        opacity: 1;
    }
    .featured-posts-widget .first .author-info img {
        width: 24px;
        height: 24px;
    }
    .featured-posts-widget .first .display-name {
        font-size: 13px;
    }
    .featured-posts-widget .others {
        flex-direction: row;
        gap: 16px;
        overflow-x: auto;
        overflow-y: visible;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .featured-posts-widget .others::-webkit-scrollbar {
        display: none;
    }
    .featured-posts-widget .others .post {
        flex-direction: column;
        gap: 12px;
        flex: 0 0 auto;
        width: 216px;
        height: fit-content;
    }
    .featured-posts-widget .others .post .featured-image {
        width: 100%;
    }
    .featured-posts-widget .others .post .post-info {
        width: 100%;
        gap: 20px;
    }
    .featured-posts-widget .others .post .title {
        font-size: 18px;
    }
    .featured-posts-widget .others .post .author-info {
        position: relative;
        padding: 0;
        opacity: 1;
    }
    .featured-posts-widget .others .post .author-info .display-name{
        font-size: 12px;
    }
}