/* ==========================================================================
   Bloque: Selected post (acf/select-post)
   ========================================================================== */
.nintenduo-selected-post {
    position: relative;
    background-color: #F3F4F5;
    border-radius: 8px;
    overflow: hidden;
    padding: 16px 24px 24px;
    margin-bottom: 28px;
}

.nintenduo-selected-post a {
    text-decoration: none;
}

.nintenduo-selected-post::before {
    content: "";
    display: inline-block;
    background: linear-gradient(180deg, #F22 0%, #0082FC 100%);
    width: 8px;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
}

.nintenduo-selected-post > div {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 16px;
}

.nintenduo-selected-post > div h3 {
    margin-block-start: 4px;
    margin-bottom: 8px;
    font-size: 22px;
    line-height: 1.3;
    letter-spacing: 0.015em;
}

.nintenduo-selected-post .img-wrap img {
    height: 164px;
    width: 264px;
    max-width: 264px;
    position: relative;
    z-index: 1;
    border-radius: 8px;
    -o-object-fit: cover;
    object-fit: cover;
}

.nintenduo-selected-post .img-wrap a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.nintenduo-selected-post .nintenduo-selected-post-excerpt {
    color: #6F6F6F;
    display: -webkit-box;
    white-space: normal;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 24px;
    max-height: calc(24px * 3);
    font-size: 18px;
}

.nintenduo-selected-post-content a {
    color: #1A1A1A !important;
}

.nintenduo-selected-post-content a:hover {
    color: #006ED4 !important;
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    .nintenduo-selected-post .nintenduo-selected-post-excerpt {
        display: block !important;
    }
}

@media only screen and (max-width: 1024px) {
    .nintenduo-selected-post .nintenduo-selected-post-excerpt {
        display: none;
    }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1150px) {
    .nintenduo-selected-post > div h3 {
        margin-block-start: 8px;
        margin-bottom: 0;
        font-size: 18px;
    }

    .nintenduo-selected-post .img-wrap img {
        width: 128px;
        max-width: 128px;
        height: 80px;
        border-radius: 8px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .nintenduo-selected-post > div {
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
    }

    .nintenduo-selected-post > div h3 {
        margin-block-start: 0;
        margin-bottom: 0;
        font-size: 16px;
    }

    .nintenduo-selected-post {
        padding: 16px 20px;
    }

    .nintenduo-selected-post .img-wrap img {
        width: 108px;
        max-width: 108px;
        height: 68px;
        border-radius: 4px;
    }
}
