/* ===== COMPETITION METAL SECTION ===== */

.fd.metal.section {
    width: 100%;
    margin: 0 auto;
    border: 2px solid #333;
    border-radius: 8px;
    overflow: hidden;
}

/* Header */
.fd.metal.header {
    background: #6aa84f;
    color: #fff;
    text-align: center;
    font-weight: bold;
    font-style: italic;
    padding: 12px;
    font-size: 20px;
}

/* Container for medals */
.fd.metal.container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 20px;
    background: #f2f2f2;
    gap: 20px;
    flex-wrap: wrap; /* helps mobile */
}

/* Individual medal */
.fd.metal.item {
    flex: 1;
    max-width: 200px;
    text-align: center;
}

/* Medal images */
.fd.metal.img {
    width: 100%;
    max-width: 160px;
    height: auto;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

/* Hover effect (desktop only feel) */
.fd.metal.img:hover {
    transform: scale(1.05);
}

/* ===== SINGLE MEDAL MODE ===== */

.fd.metal.container.single {
    justify-content: center;
}

.fd.metal.container.single .fd.metal.img {
    flex: 0 0 auto;   /* prevents stretching */
    max-width: 200px;
    border-radius: 0;
}

/* ===== MOBILE SCALING ===== */

@media (max-width: 768px) {
    .fd.metal.header {
        font-size: 16px;
        padding: 10px;
    }

    .fd.metal.container {
        flex-direction: column;
        padding: 15px;
    }

    .fd.metal.item {
        max-width: 140px;
    }

    .fd.metal.img {
        max-width: 120px;
    }
}

@media (max-width: 480px) {
    .fd.metal.header {
        font-size: 14px;
    }

    .fd.metal.img {
        max-width: 100px;
    }
}