/* ===== Our Awards (หน้า home) =====
   แถบสีเข้มคั่นระหว่างการ์ดสาขา (.wtb-section) กับ Chef's Special
   พื้นสีเดียวกับ .wtb-section ให้ต่อกันเนียน + เส้นทองบาง ๆ ปิดท้ายด้านล่าง
   class ขึ้นต้น wta- กันชนกับ .section-heading / .heading-title ของ component อื่น */

.wta-section {
    position: relative;
    overflow: hidden;
    /* ขอบบน/ล่างเป็นสีเดียวกับ section ข้างเคียง ตรงกลางสว่างขึ้นเป็นน้ำตาลอุ่น + แสงทอง */
    background:
        radial-gradient(60% 75% at 50% 55%, rgba(255, 198, 0, .16), transparent 70%),
        linear-gradient(180deg, #120c08 0%, #3a2817 45%, #3a2817 60%, #120c08 100%);
    padding: clamp(32px, 4vw, 52px) 0 clamp(40px, 5vw, 64px);
}

.wta-section::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: min(900px, 80%);
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, rgba(255, 198, 0, .55), transparent);
}

/* ---------- หัวข้อ + quote ---------- */
.wta-head {
    margin: 0 auto clamp(20px, 3vw, 32px);
    padding: 0 16px;
    text-align: center;
}

.wta-title {
    display: inline-flex;
    align-items: center;
    gap: clamp(10px, 1.5vw, 18px);
    margin: 0;
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(30px, 3.6vw, 46px);
    font-weight: 400;
    letter-spacing: 2px;
    line-height: 1;
    color: #FFC600;
}

.wta-title::before,
.wta-title::after {
    content: '';
    width: clamp(28px, 6vw, 80px);
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 198, 0, .6));
}

.wta-title::after {
    background: linear-gradient(to left, transparent, rgba(255, 198, 0, .6));
}

.wta-quote {
    max-width: 640px;
    margin: 10px auto 0;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(14px, 1.4vw, 18px);
    font-style: italic;
    line-height: 1.6;
    color: rgba(255, 244, 220, .9);
}

/* ---------- ribbon รูปรางวัล ---------- */
.wta-ribbon {
    --gap: clamp(12px, 1.6vw, 20px);
    position: relative;
    overflow: hidden;
    cursor: grab;
    user-select: none;
}

.wta-ribbon:active {
    cursor: grabbing;
}

/* ขอบเฟดเข้ากับพื้นเข้ม */
.wta-ribbon::before,
.wta-ribbon::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 2;
    width: clamp(24px, 6vw, 100px);
    pointer-events: none;
}

.wta-ribbon::before {
    left: 0;
    background: linear-gradient(90deg, #3a2817, rgba(58, 40, 23, 0));
}

.wta-ribbon::after {
    right: 0;
    background: linear-gradient(270deg, #3a2817, rgba(58, 40, 23, 0));
}

.wta-track {
    display: flex;
    gap: var(--gap);
    width: max-content;
    padding: 8px 0 12px;
    will-change: transform;
}

/* รูปรางวัลเป็นสี่เหลี่ยมจัตุรัส → การ์ด 1:1 ไม่ให้รูปโดนตัด */
.wta-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(140px, 13vw, 190px);
    aspect-ratio: 1 / 1;
    margin: 0;
    padding: clamp(8px, 1vw, 12px);
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(255, 198, 0, .5);
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .3);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.wta-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.wta-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
}

@media (hover: hover) {
    .wta-item:hover {
        transform: translateY(-4px);
        border-color: #FFC600;
        box-shadow: 0 14px 30px rgba(0, 0, 0, .4), 0 0 0 3px rgba(255, 198, 0, .2);
    }
}

/* ---------- fade-in ตอน scroll ---------- */
.wta-reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .6s ease, transform .6s ease;
}

.wta-reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* ---------- responsive ---------- */
@media (max-width: 575px) {
    .wta-item {
        width: 120px;
        border-radius: 10px;
    }

    .wta-quote {
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wta-reveal,
    .wta-item {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
