/* ═══════════════════════════════════════════════════
   TDN MAGAZINE — Article Updates Box  (light theme)
═══════════════════════════════════════════════════ */

/* ── Container ──────────────────────────────────── */
.tdn-updates-box {
    margin-bottom: 32px;
    border: 1.5px solid #e8c840;
    border-left: 4px solid #e51a3e;
    border-radius: 4px;
    background: #fffdf0;
    overflow: hidden;
    font-family: var(--font-body, 'Inter', sans-serif);
}

/* ── Header bar ─────────────────────────────────── */
.tdn-updates-box__header {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #e51a3e;
    color: #fff;
    padding: 9px 16px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.tdn-updates-box__icon {
    display: flex;
    align-items: center;
    opacity: .9;
}
.tdn-updates-box__label { flex: 1; }
.tdn-updates-box__count {
    background: rgba(255,255,255,.22);
    border-radius: 10px;
    padding: 1px 8px;
    font-size: .68rem;
    letter-spacing: .04em;
}

/* ── List ───────────────────────────────────────── */
.tdn-updates-box__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* ── Plain-text item: single line ───────────────── */
.tdn-updates-box__item {
    display: block;
    padding: 11px 18px;
    border-bottom: 1px solid #f0eac8;
    font-size: .9rem;
    line-height: 1.6;
    color: #333;
}
.tdn-updates-box__item:last-child {
    border-bottom: none;
}

.tdn-updates-box__stamp {
    font-style: normal;
    font-size: .76rem;
    font-weight: 700;
    color: #e51a3e;
    letter-spacing: .01em;
    white-space: nowrap;
}
.tdn-updates-box__dash { color: #bbb; }
.tdn-updates-box__text { color: #333; }

/* ── Caption blurb (above embed) ────────────────── */
.tdn-updates-box__caption {
    background: #f0f4ff;
    border-left: 3px solid #6b8cda;
    border-radius: 0 3px 3px 0;
    padding: 9px 14px;
    margin-bottom: 12px;
    font-size: .88rem;
    line-height: 1.6;
    color: #333;
    font-style: italic;
}

/* ── Embed item: timestamp above, embed below ────── */
.tdn-updates-box__item--embed {
    padding: 14px 18px;
}
.tdn-updates-box__item--embed .tdn-updates-box__stamp {
    display: block;
    margin-bottom: 10px;
}
.tdn-updates-box__embed {
    display: flex;
    justify-content: center;
}

/* Ensure Instagram blockquote fills the space correctly */
.tdn-updates-box__embed .instagram-media,
.tdn-updates-box__embed blockquote.instagram-media {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
}

/* Ensure Twitter/X embed is visible */
.tdn-updates-box__embed .twitter-tweet {
    max-width: 100% !important;
}

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 600px) {
    .tdn-updates-box__item { padding: 10px 14px; }
    .tdn-updates-box__item--embed { padding: 12px 14px; }
    .tdn-updates-box__header { padding: 8px 14px; }

    /* Wrap timestamp to its own line on narrow screens */
    .tdn-updates-box__stamp { display: block; margin-bottom: 2px; }
    .tdn-updates-box__dash  { display: none; }
}

/* ═══════════════════════════════════════════════════
   ORIGINAL REPORT DIVIDER
   Appears between the updates box and the article body
═══════════════════════════════════════════════════ */

.tdn-original-divider {
    position: relative;
    margin: 36px 0 32px;
    user-select: none;
}

/* Full-width double-line border */
.tdn-original-divider::before,
.tdn-original-divider::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: #d0d0d0;
    position: absolute;
    left: 0;
}
.tdn-original-divider::before { top: 0; }
.tdn-original-divider::after  { top: 4px; }

/* Label row sits between the two lines */
.tdn-original-divider__inner {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 0 0;
}

.tdn-original-divider__rule {
    flex: 1;
    height: 2px;
    background: #e8e8e8;
}

.tdn-original-divider__label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex-shrink: 0;
    padding: 8px 20px;
    background: #1a1a1a;
    border-radius: 3px;
    font-family: var(--font-ui, 'Inter', sans-serif);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #fff;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
}

.tdn-original-divider__label svg {
    opacity: .7;
}
