/* W6G ANALYSIS_SHOWCASE */

.w6g-as-wrapper {
    max-width: 100%;
    margin: 0 0 24px 0;
}

.w6g-as-header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    margin-bottom: 8px;
}

.w6g-as-header-label {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    white-space: nowrap;
}

.w6g-as-icon {
    flex-shrink: 0;
}

/* Ασύμμετρο grid: πιο πρόσφατο (αριστερά, πλατύτερο/ψηλότερο) + παλιότερο (δεξιά) */
.w6g-as-grid {
    display: grid;
    grid-template-columns: var(--w6g-as-recent-w, 55%) var(--w6g-as-older-w, 45%);
    align-items: stretch;
    gap: 14px;
}

.w6g-as-grid.w6g-as-grid-single {
    grid-template-columns: 1fr;
}

.w6g-as-second-col {
    display: flex;
    flex-direction: column;
}

/* Το label πάει φυσικά πάνω· η κάρτα σπρώχνεται στο κάτω μέρος,
   ώστε να ευθυγραμμίζεται με τη βάση του πιο πρόσφατου άρθρου. */
.w6g-as-second-col .w6g-as-card {
    margin-top: auto;
}

.w6g-as-card {
    position: relative;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 10px;
    box-sizing: border-box;
    transition: transform 0.15s ease;
}

.w6g-as-card:hover {
    transform: translateY(-2px);
}

.w6g-as-card-img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    margin-bottom: 8px;
}

.w6g-as-card-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.w6g-as-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 10px;
    z-index: 2;
    text-transform: uppercase;
}

@media (max-width: 480px) {
    .w6g-as-header-label {
        font-size: 10px;
    }
    .w6g-as-card-title {
        font-size: 13px;
    }
    .w6g-as-grid {
        gap: 8px;
    }
    .w6g-as-card {
        padding: 6px;
    }
}
