.ailtp-live-update {
    position: relative;
    margin: 0 0 18px;
    padding-left: 32px;
}

.ailtp-live-update::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 0;
    bottom: -18px;
    width: 2px;
    background: #d1d5db;
}

.ailtp-live-update:last-child {
    margin-bottom: 56px;
}

.ailtp-live-update:last-child::before {
    bottom: 34px;
}

.ailtp-live-update-marker {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-weight: 700;
}

.ailtp-live-update-dot {
    position: absolute;
    left: -32px;
    top: 1px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid #c81e1e;
    box-sizing: content-box;
    z-index: 2;
}

.ailtp-live-update-time {
    color: #c81e1e;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 700;
    padding: 4px 0 6px;
}

.ailtp-live-update-card {
    position: relative;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 16px;
    padding: 20px 22px;
    box-shadow: 0 1px 0 rgba(17, 24, 39, 0.03);
}

.ailtp-live-update:first-child .ailtp-live-update-card {
    border-color: #c81e1e;
    box-shadow: 0 1px 0 rgba(17, 24, 39, 0.03), 0 0 0 1px rgba(200, 30, 30, 0.05);
}

.ailtp-live-update-card::before {
    content: "";
    position: absolute;
    top: 18px;
    left: -18px;
    width: 18px;
    height: 1px;
    background: #d1d5db;
}

.ailtp-live-update:first-child .ailtp-live-update-card::before {
    background: #c81e1e;
}

.ailtp-live-update-card h3 {
    margin: 0 0 12px;
    line-height: 1.18;
    font-weight: 800;
}

.ailtp-live-update-card p,
.ailtp-live-update-card li {
    line-height: 1.6;
}

.ailtp-live-update-card ul,
.ailtp-live-update-card ol {
    margin: 0 0 0 22px;
}

.ailtp-live-update-card > *:last-child {
    margin-bottom: 0;
}

@media (min-width: 1024px) {
    .ailtp-live-update-card h3 {
        font-size: 1.5rem;
    }

    .ailtp-live-update-card p,
    .ailtp-live-update-card li {
        font-size: 1rem;
    }
}

@media (max-width: 1023px) {
    .ailtp-live-update-toggle {
        margin-left: 0;
        font-size: 15px;
    }

    .ailtp-live-update {
        padding-left: 0;
    }

    .ailtp-live-update::before {
        display: none;
    }

    .ailtp-live-update-dot {
        display: none;
    }

    .ailtp-live-update-marker {
        margin-bottom: 8px;
    }

    .ailtp-live-update-time {
        padding-left: 0;
        font-size: 15px;
    }

    .ailtp-live-update-card {
        margin-left: 0;
    }

    .ailtp-live-update-card::before {
        left: -12px;
        top: 22px;
        width: 12px;
        height: 1px;
        background: #d1d5db;
    }

    .ailtp-live-update:first-child .ailtp-live-update-card::before {
        background: #c81e1e;
    }

    .ailtp-live-update-card h3 {
        font-size: calc(1.75rem + 2px);
    }

    .ailtp-live-update-card p,
    .ailtp-live-update-card li {
        font-size: calc(1.05rem + 2px);
    }
}


.ailtp-live-update-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0 34px 32px;
    padding: 8px 14px;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    background: #fff;
    color: #374151;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
}

.ailtp-live-update-toggle:hover {
    border-color: #9ca3af;
    color: #111827;
}

.ailtp-live-update-toggle[aria-expanded="true"] {
    border-color: #c81e1e;
    color: #c81e1e;
}



.ailtp-live-strip-wrap {
    position: relative;
    margin: 0 0 18px;
    padding: 0 0 2px;
}

.ailtp-live-strip {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 0 14px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.ailtp-live-strip::-webkit-scrollbar {
    display: none;
}

.ailtp-live-strip-item {
    flex: 0 0 286px;
    min-width: 286px;
    display: flex;
    align-items: stretch;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 14px;
    background: #fff;
    color: #111827;
    text-decoration: none;
    scroll-snap-align: start;
    box-shadow: 0 1px 0 rgba(17, 24, 39, 0.03);
    transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease, color .18s ease;
}

.ailtp-live-strip-item.is-current {
    background: #fff5f5;
    border-color: #c81e1e;
    border-radius: 0;
    box-shadow: 0 1px 0 rgba(17, 24, 39, 0.03), 0 0 0 1px rgba(200, 30, 30, 0.04);
}

.ailtp-live-strip-line {
    flex: 0 0 2px;
    border-radius: 999px;
    background: #c81e1e;
    align-self: stretch;
}

.ailtp-live-strip-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ailtp-live-strip-time {
    color: #6b7280;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
}

.ailtp-live-strip-title {
    color: #111827;
    font-size: 18px;
    line-height: 1.22;
    font-weight: 800;
    overflow: visible;
    word-break: break-word;
    white-space: normal;
}

.ailtp-live-strip-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 38px;
    height: 38px;
    margin-top: -25px;
    border: 1px solid rgba(17,24,39,0.12);
    border-radius: 999px;
    background: rgba(255,255,255,0.96);
    color: #111827;
    box-shadow: 0 6px 18px rgba(17,24,39,0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0s ease, transform .12s ease, background-color .12s ease, color .12s ease, border-color .12s ease;
    transform: translateY(-50%);
}

.ailtp-live-strip-arrow span {
    font-size: 24px;
    line-height: 1;
    margin-top: -2px;
}

.ailtp-live-strip-arrow.is-prev { left: -8px; }
.ailtp-live-strip-arrow.is-next { right: -8px; }

@media (hover: hover) and (pointer: fine) {
    .ailtp-live-strip-wrap:hover .ailtp-live-strip-arrow,
    .ailtp-live-strip-wrap:focus-within .ailtp-live-strip-arrow {
        opacity: 1;
        pointer-events: auto;
    }

    .ailtp-live-strip-item:hover {
        border-color: #c81e1e;
        background: #fff8f8;
    }

    .ailtp-live-strip-item:hover .ailtp-live-strip-title {
        color: #b91c1c;
    }

    .ailtp-live-strip-arrow:hover {
        border-color: #c81e1e;
        color: #b91c1c;
        background: #fff7f7;
    }
}

@media (max-width: 767px) {
    .ailtp-live-strip {
        gap: 8px;
        padding-bottom: 12px;
    }

    .ailtp-live-strip-item {
        flex-basis: 58vw;
        min-width: 58vw;
        gap: 10px;
        padding: 10px 12px;
    }

    .ailtp-live-strip-item:active,
    .ailtp-live-strip-item:focus-visible {
        border-color: #c81e1e;
        background: #fff8f8;
        outline: none;
    }

    .ailtp-live-strip-item:active .ailtp-live-strip-title,
    .ailtp-live-strip-item:focus-visible .ailtp-live-strip-title {
        color: #b91c1c;
    }

    .ailtp-live-strip-title {
        font-size: 18px;
        line-height: 1.2;
    }

    .ailtp-live-strip-arrow {
        display: none;
    }
}
.ailtp-live-update-map {
    margin-top: 12px;
    border: 1px solid #d1d5db;
    overflow: hidden;
    background: #fff;
}
.ailtp-live-update-map iframe {
    display: block;
    width: 100%;
    height: 220px;
    border: 0;
}
.ailtp-live-update-map-caption {
    padding: 8px 10px;
    font-size: 12px;
    color: #6b7280;
    border-top: 1px solid #e5e7eb;
}


/* Live update media fit */
.ailtp-live-update-card {
    overflow: hidden;
}
.ailtp-live-update-image {
    margin: 12px auto 0;
    max-width: 100%;
    text-align: center;
    overflow: hidden;
}
.ailtp-live-update-image img {
    display: block;
    max-width: 100%;
    width: auto;
    height: auto;
    margin: 0 auto;
}
.ailtp-live-update-map iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    border: 0;
}
