/* ==========================================================================
   Timeline del formato del torneo ([rsc_formato_torneo])
   ========================================================================== */

.rsc-format-timeline {
            --rsc-format-rail-width: 38px;
            --rsc-format-node-size: 15px;
            width: min(100%, 520px);
            margin: 0 auto;
        }

        .rsc-format-timeline__list {
            position: relative;
            display: grid;
            gap: 14px;
            margin: 0;
            padding: 0;
            list-style: none;
        }

        .rsc-format-timeline__list::before {
            content: "";
            position: absolute;
            top: 52px;
            bottom: 40px;
            left: calc(var(--rsc-format-rail-width) / 2);
            width: 2px;
            background: rgba(230, 184, 74, .5); /* "Game On": linea oro */
            transform: translateX(-50%);
        }

        .rsc-format-timeline__item {
            position: relative;
            display: grid;
            grid-template-columns: var(--rsc-format-rail-width) minmax(0, 1fr);
            align-items: center;
        }

        .rsc-format-timeline__node {
            z-index: 1;
            justify-self: center;
            width: var(--rsc-format-node-size);
            height: var(--rsc-format-node-size);
            background: #E6B84A;
            border-radius: 50%;
        }

        .rsc-format-timeline__card {
            margin: 0;
            padding: 13px 14px;
            /* pannello "Game On" con angolo tagliato */
            border: 1px solid rgba(230, 184, 74, .28);
            background: linear-gradient(180deg, rgba(255, 244, 230, .07), rgba(255, 244, 230, .03));
            clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
            color: #EBD3D6;
            font-size: var(--rsc-fs-testo-l);
            line-height: var(--rsc-lh-testo);
        }

        .rsc-format-timeline__card strong {
            font-weight: 700;
            color: #FFD978;
        }

        @media (max-width: 600px) {
            .rsc-format-timeline {
                --rsc-format-rail-width: 30px;
                --rsc-format-node-size: 14px;
            }

            .rsc-format-timeline__list::before {
                top: 52px;
                bottom: 40px;
            }

            .rsc-format-timeline__card {
                padding: 11px 12px;
                font-size: 15px;
                line-height: 1.45;
            }
        }
