/* W6G ACADEMY_SHOWCASE */

.w6g-ac-wrapper {
    max-width: 100%;
    margin: 0 0 24px 0;
    border-style: solid;
    border-radius: 12px;
    padding: 20px;
    box-sizing: border-box;
}

.w6g-ac-header {
    text-align: center;
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 4px 0;
    color: #222;
}

.w6g-ac-subtitle {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin: 0 0 16px 0;
}

.w6g-ac-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.w6g-ac-card {
    display: block;
    text-decoration: none;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-sizing: border-box;
    transition: transform 0.15s ease;
}

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

.w6g-ac-card-img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
}

.w6g-ac-card-title {
    display: block;
    padding: 10px 12px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
}

@media (max-width: 782px) {
    .w6g-ac-wrapper {
        padding: 14px;
    }
    .w6g-ac-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .w6g-ac-grid .w6g-ac-card:nth-child(n+3) {
        display: none;
    }
    .w6g-ac-header {
        font-size: 18px;
    }
}
