.template-awards {
    padding: var(--iphtech-section-y) 20px;
    background: var(--iphtech-surface);
    overflow: hidden;
}

.template-awards__header {
    margin: 0 auto 48px;
    text-align: center;
}

.template-awards__title {
    font-size: 40px;
    font-weight: 800;
    color: var(--iphtech-ink);
    margin: 0 0 16px;
    letter-spacing: -0.5px;
}

.template-awards__subtitle {
    font-size: 16px;
    line-height: 1.6;
    color: var(--iphtech-ink-3);
    margin: 0;
}

.template-awards__grid {
    position: relative;
    display: flex;
    gap: 20px;
    width: max-content;
    min-width: 100%;
    animation: template-awards-scroll 28s linear infinite;
    will-change: transform;
    padding: 10px 0;
}

.template-awards .template-awards__grid:hover {
    animation-play-state: paused;
}

@keyframes template-awards-scroll {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(-50%, 0, 0);
    }
}

.template-awards__card {
    flex: 0 0 auto;
    width: 200px;
    background: var(--iphtech-surface);
    border-radius: var(--iphtech-radius-sm);
    box-shadow: var(--iphtech-shadow-sm);
    padding: 12px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition:
        transform var(--iphtech-duration) var(--iphtech-ease),
        box-shadow var(--iphtech-duration) var(--iphtech-ease),
        border-color var(--iphtech-duration) var(--iphtech-ease);
}

.template-awards__card:hover {
    transform: translateY(-6px);
    box-shadow: var(--iphtech-shadow-md);
    border-color: var(--iphtech-brand-border);
}

.template-awards__card--gradient {
    background:
        linear-gradient(135deg,
            var(--iphtech-brand-tint) 0%,
            var(--iphtech-surface) 100%);
    border: 1px solid var(--iphtech-brand-border);
}

.template-awards__badge {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: 800;
    color: var(--iphtech-brand);
}

.template-awards__badge img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.template-awards__name {
    font-size: 15px;
    font-weight: 700;
    color: var(--iphtech-ink);
    padding: 0px;
}

.template-awards__desc {
    font-size: 12.5px;
    color: var(--iphtech-ink-3);
    margin: 0;
}

@media (max-width: 640px) {
    .template-awards__title {
        font-size: 28px;
    }

    .template-awards__card {
        width: 180px;
        padding: 18px 14px;
    }
}