.carousel {
    display: flex;
    align-items: center;
    height: 28px;
}

    .carousel h2 {
        font-size: 15px;
        background: #ffc61e;
        color: #fff;
        padding: 0 14px 0 8px; /* 右側要預留 14px 當箭頭寬度 */
        height: 100%;
        line-height: 28px;
        margin: 0 20px 0 0;
        position: relative;
        clip-path: polygon( 0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100% );
    }

/* 移除 h2:after 規則（不再需要） */

ul.marquee {
    display: block;
    position: relative;
    overflow: hidden;
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
    height: 100%;
    line-height: 28px;
    font-size: 1.125rem;
}

    ul.marquee li {
        position: absolute;
        top: -999em;
        left: 0;
        display: block;
        white-space: nowrap;
        padding: 3px 5px;
        font-size: 1.125rem;
    }

        ul.marquee li a span {
            font-weight: 700;
            color: red;
        }
