/* banner-dmsp-tron.css
   Fixed layout: Desktop 6 per row, Tablet/Mobile 3 per row.
   Thumbnails fixed size to avoid layout shift.
*/

/* container */
.banner-dmsp-tron-container {
    width: 100%;
    padding: 30px 10px;
    box-sizing: border-box;
    transition: background-color 0.25s ease;
    margin-bottom: 30px;
}

/* title + desc */
.banner-dmsp-tron-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #111;
    text-align: center;
}
.banner-dmsp-tron-description {
    font-size: 14px;
    margin-bottom: 18px;
    color: #555;
    text-align: center;
}

/* grid wrapper */
.banner-dmsp-tron-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 -10px;
}

/* item: desktop 6 columns */
.banner-dmsp-tron-item {
    width: calc(100% / 6);
    padding: 15px 10px;
    box-sizing: border-box;
    text-align: center;
    transition: transform 0.28s cubic-bezier(.2,.8,.2,1);
}

/* anchor */
.banner-dmsp-tron-item a {
    display: block;
    color: inherit;
    text-decoration: none;
}

/* thumbnail */
.banner-dmsp-tron-item img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 50%;
    display: inline-block;
    margin-bottom: 10px;
    transition: transform 0.28s cubic-bezier(.2,.8,.2,1), box-shadow 0.28s;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

/* label */
.banner-dmsp-tron-item span {
    display: block;
    font-size: 14px;
    line-height: 1.4;
    color: #333;
    word-break: break-word;
    max-width: 120px;
    margin: 0 auto;
}

/* desktop hover */
@media (min-width: 769px) {
    .banner-dmsp-tron-item:hover {
        transform: translateY(-8px) scale(1.03);
    }
    .banner-dmsp-tron-item:hover img {
        transform: scale(1.08);
        box-shadow: 0 10px 28px rgba(0,0,0,0.12);
    }
}

/* tablet: 3 columns */
@media (max-width: 992px) {
    .banner-dmsp-tron-item {
        width: calc(100% / 3);
    }
    .banner-dmsp-tron-item img { width: 64px; height: 64px; }
}

/* mobile: 3 columns (same) */
@media (max-width: 768px) {
    .banner-dmsp-tron-item {
        width: calc(100% / 3);
        padding: 12px;
    }
    .banner-dmsp-tron-item img { width: 56px; height: 56px; }
    .banner-dmsp-tron-title { font-size: 18px; }
    .banner-dmsp-tron-description { font-size: 13px; }
}

/* small screens: ensure names wrap nicely */
.banner-dmsp-tron-item span { word-wrap: break-word; white-space: normal; }

/* optional: slight entrance appear when active */
.banner-dmsp-tron-item { opacity: 0; transform-origin: center; }
.banner-dmsp-tron-item.active { opacity: 1; transform: none; transition: opacity .45s ease, transform .45s ease; }
