/* Stiluri Topuri 2026 */
.titlu-articol {
    margin-bottom: 0.2em;
}

.subtitlu-articol {
    font-size: 16px;
    font-weight: 400px;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #333;
}

.top-categories-wrapper {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 24px;
}

.top-category-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.top-category-title {
    display: inline-block;
    text-align: center;
    width: 100%;
    padding: 8px 20px;
    border-radius: 50px;
    background: linear-gradient(135deg, #7865A5 0%, #351D67 100%);
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.25px;
    line-height: 1.2;
}

.top-category-title img {
    display: inline;
    width: 32px;
    height: 32px;
    vertical-align: middle;
    margin-right: 0.25em;
}

.top-category-title strong {
    font-style: italic;
    font-weight: normal;
    letter-spacing: normal;
}

/* MOBIL */
@media (max-width: 768px) {
    .top-category-title {
        font-size: 18px;
        line-height: 1;
    }

    .top-category-title img {
        width: 28px;
        height: 28px;
    }
}

.top-card {
    display: grid;
    grid-template-columns: 5fr 4fr auto;
    height: 250px;
    gap: 0;
    background: #fff;
    border: 1px solid #F0EEF5;
    border-radius: 16px;
    position: relative;
    transition: 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.top-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.top-card-link:hover .top-card {
    transform: translateY(-4px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.top-badge {
    position: absolute;
    bottom: 4px;
    left: 4px;
    background: #351D67;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.top-badge .top-number {
    position: relative;
    top: 0.5px;
    font-size: 18px;
    font-family: "Anta", sans-serif;
    font-weight: 800;
    font-style: normal;
    line-height: 1.8;
}

.img-wrapper {
    position: relative;
    height: 250px;
}

.img-wrapper img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 16px 0 0 16px;
    display: block;
}

.top-card-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 16px 20px;
    background: #F0EEF5;
    font-size: 14px;
    line-height: 1.2;
    color: #666;
    /* overflow: hidden; */
}

.top-card-info-title {
    /* background:#351D67; */
    border-top: 1px solid #351D67;
    border-bottom: 4px solid #351D67;
    margin: 0 -20px 0.5em;
    padding: 0.2em 20px;
    font-size: 20px;
    font-style: italic;
    color: #333;
}

.top-highlights-container {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.top-highlights {
    background: #7865A5;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    padding: 4px 16px;
    border-radius: 50px;
    text-transform: uppercase;
    white-space: nowrap;
}

.top-card-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 64px;
    align-items: center;
    width: 160px;
    padding: 16px auto;
}

.trophy-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.top-card-details .trophy-container {
    gap: 0px;
    margin-bottom: 4px;
}

.top-card-details .laur-img {
    width: 24px;
}

.top-card-details .nota-mare {
    font-size: 32px;
    letter-spacing: unset;
    margin-bottom: unset;
}

.top-card-details .stars-outer {
    font-size: 20px;
}

.btn-view-top {
    padding: 9px 16px 8px;
    width: 120px;
    background: #7865A5;
    color: #fff;
    text-decoration: none;
    text-align: center;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s ease;
}

.btn-view-top:hover {
    background: #351D67;
    color: #fff;
}

/* MOBIL */
@media (max-width: 768px) {
    .top-badge {
        top: 4px;
        bottom: unset;
    }

    .top-card {
        height: fit-content;
        display: grid;
        grid-template-areas:
            "img img"
            "info details";
        grid-template-columns: 1fr auto;

    }

    .top-card>.img-wrapper {
        grid-area: img;
    }

    .top-card>.top-card-info {
        grid-area: info;
        gap: 12px;
        border-radius: 0 0 0 16px;
        margin-top: 32px;

    }

    .top-card>.top-card-details {
        grid-area: details;
        width: 140px;
        gap: 32px;
        margin-top: 32px;

    }

    .img-wrapper {
        width: 100%;
        height: 250px;
    }

    .img-wrapper img {
        border-radius: 16px 16px 0 0;
    }

    .top-card-info-title {
        position: absolute;
        display: flex;
        align-items: center;
        top: 234px;
        height: 48px;
        padding: auto 24px;
        margin: 0 -20px;
        border-top: none;
        border-bottom: none;
        border-radius: 16px 16px 0 0;
        width: 100%;
        background: #351D67;
        line-height: 1;
        color: #fff;
        /* white-space: nowrap; */
    }

    .top-highlights {
        white-space: unset;
    }

    .top-card-details .laur-img {
        width: 20px;
    }

    .top-card-details .nota-mare {
        font-size: 28px;
    }

    .top-card-details .stars-outer {
        font-size: 18px;
    }
}

/* TABLETA */
@media (min-width: 769px) and (max-width: 1024px) {
    .top-card-details {
        width: 140px;
        gap: 32px;
    }

    .top-card-details .laur-img {
        width: 20px;
    }

    .top-card-details .nota-mare {
        font-size: 28px;
    }

    .top-card-details .stars-outer {
        font-size: 18px;
    }
}

.top-category-explain {
    display: flex;
    flex-direction: column;
    gap: 0.1em;
    padding: 0.75em 0 0.5em;
    border-top: 1px solid #eee;
    /* border-bottom: 4px solid #7865A5; */
    font-size: 14px;
}

.top-explain-title {
    margin-bottom: 0.4em;
    font-weight: 700;
    text-transform: uppercase;
}