/* sponsor.css หรือใส่ใน style.css */
.sponsor-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #fff0f5, #ffe4f0);
    min-height: 80vh;
}

.section-title {
    text-align: center;
    color: #ff4d94;
    font-size: 2.8rem;
    margin-bottom: 60px;
    text-shadow: 0 2px 10px rgba(255, 77, 148, 0.2);
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.sponsor-item {
    text-align: center;
    transition: transform 0.3s ease;
}

.sponsor-item:hover {
    transform: translateY(-10px);
}

.sponsor-item img {
    width: 100%;
    max-width: 100px;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1));
    transition: all 0.3s ease;
}

.sponsor-item:hover img {
    transform: scale(1.08);
}

.sponsor-name {
    margin-top: 10px;
    font-weight: 300;
    color: #d63384;
}

/* ══════════════════════════════════════════════
   RESPONSIVE FIX (มือถือ/แท็บเล็ต)
   ══════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 1100px) {

    .section-body {
        padding: 22px;
    }

    .slide {
        height: auto;
        flex-wrap: wrap;
        padding: 10px 0;
    }

    .panel {
        width: 200px !important;
        height: 360px !important;
    }
}

/* Mobile */
@media (max-width: 768px) {

    .section-tab {
        font-size: 22px;
        padding: 8px 22px;
        top: -14px;
    }

    .title-card {
        padding: 12px 30px;
    }

    .title-card h1 {
        font-size: 32px;
    }

    .title-card p {
        font-size: 12px;
        letter-spacing: 3px;
    }

    .artwork-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
    }

    .slide {
        flex-wrap: wrap;
        height: auto;
        gap: 12px;
        padding: 10px 0;
    }

    .panel {
        width: 46% !important;
        height: 280px !important;
    }

    .arrow {
        width: 34px;
        height: 34px;
        font-size: 18px;
    }

    .timer-badge {
        font-size: 11px;
        padding: 3px 10px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {

    .panel {
        width: 100% !important;
        height: 340px !important;
    }

    .arrow-left {
        left: 2px;
    }

    .arrow-right {
        right: 2px;
    }
}