/* W6G HOT_POPULAR v2 */

.w6g-hp-row {
    display: flex;
    gap: 16px;
    width: 100%;
    margin: 0 0 24px 0;
}

.w6g-hp-box {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    height: var(--w6g-hp-box-height, 420px);
    border-radius: 10px;
    overflow: hidden;
    background-color: #111;
}

.w6g-hp-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.w6g-hp-slide {
    position: absolute;
    inset: 0;
    display: block;
    text-decoration: none;
    background-size: cover;
    background-position: center;
    background-color: #222;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease;
}

.w6g-hp-slide.is-active {
    opacity: 1;
    visibility: visible;
}

.w6g-hp-rank {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    border-radius: 6px;
    border-style: solid;
    border-width: 2px;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    z-index: 3;
}

.w6g-hp-meta {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
    max-width: 65%;
    z-index: 3;
}

.w6g-hp-meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
    background-color: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 20px;
}

/* Σκούρο gradient στο κάτω μισό για ευανάγνωστο κείμενο πάνω στη φωτό */
.w6g-hp-gradient {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 65%;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.55) 35%, rgba(0,0,0,0.92) 100%);
    z-index: 1;
    pointer-events: none;
}

.w6g-hp-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 78px;
    padding: 0 18px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.w6g-hp-cat {
    display: inline-block;
    align-self: flex-start;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 2px;
}

.w6g-hp-title {
    color: #fff;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.3;
}

.w6g-hp-excerpt {
    color: rgba(255,255,255,0.75);
    font-size: 13px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.w6g-hp-dots {
    position: absolute;
    bottom: 78px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 3;
}

.w6g-hp-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.4);
    border: none;
    padding: 0;
    cursor: pointer;
}

/* Τεράστιο "κούφιο" (outline) label — γράμμα-γράμμα, χωρίς γέμισμα */
.w6g-hp-giant-label {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 48px;
    font-weight: 900;
    letter-spacing: 6px;
    -webkit-text-stroke-width: 1.5px;
    color: transparent;
    -webkit-text-fill-color: transparent;
    opacity: 0.9;
    z-index: 2;
    pointer-events: none;
    line-height: 1;
}

@media (max-width: 480px) {
    .w6g-hp-row {
        gap: 8px;
    }
    .w6g-hp-box {
        border-width: 1.5px;
    }
    .w6g-hp-rank {
        font-size: 14px;
        padding: 2px 8px;
    }
    .w6g-hp-meta-item {
        font-size: 10px;
        padding: 3px 6px;
    }
    .w6g-hp-cat {
        font-size: 9px;
        padding: 3px 7px;
    }
    .w6g-hp-title {
        font-size: 13px;
        -webkit-line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .w6g-hp-excerpt {
        display: none;
    }
    .w6g-hp-giant-label {
        font-size: 22px;
        letter-spacing: 2px;
        bottom: 4px;
    }
    .w6g-hp-content {
        bottom: 34px;
        padding: 0 10px;
    }
    .w6g-hp-dots {
        bottom: 34px;
        left: 50%;
        transform: translateX(-50%);
    }
}
