/* VI-NEWS-01: Visa bulletin feed. Intentionally independent from map/chip palette. */
.twj-visa-updates-feed {
    --visa-news-ink: #172435;
    --visa-news-muted: #5b6d81;
    --visa-news-border: #dfe6ef;
    margin: 34px 0 36px;
    padding: 0;
    color: var(--visa-news-ink);
}

.twj-visa-updates-header {
    margin-bottom: 18px;
}

.twj-visa-updates-header h2 {
    margin: 0 0 7px;
    font-size: clamp(21px, 2vw, 25px);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.35;
}

.twj-visa-updates-header p {
    margin: 0;
    color: var(--visa-news-muted);
    font-size: 14px;
    line-height: 1.7;
}

.twj-visa-updates-items {
    display: grid;
    gap: 11px;
}

.twj-visa-updates-more {
    margin-top: 12px;
}

.twj-visa-updates-more > summary {
    padding: 10px 0;
    color: #185a98;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
    cursor: pointer;
}

.twj-visa-updates-more > summary:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.twj-visa-updates-more > summary:focus-visible {
    outline: 2px solid #185a98;
    outline-offset: 3px;
    border-radius: 3px;
}

.twj-visa-updates-more[open] > summary {
    margin-bottom: 10px;
}

.twj-visa-updates-empty {
    margin: 0;
    padding: 12px 0;
    color: var(--visa-news-muted);
    font-size: 14px;
    line-height: 1.65;
}

.twj-visa-updates-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--visa-news-border);
    border-radius: 14px;
    padding: 20px 21px 17px;
    box-shadow: 0 2px 10px rgb(21 36 54 / 3%);
}

.twj-visa-updates-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    font-size: 12px;
    line-height: 1.4;
    color: var(--visa-news-muted);
}

.twj-visa-updates-category {
    padding: 3px 9px;
    border-radius: 999px;
    background: #edf3fa;
    color: #375a79;
    font-size: 12px;
    font-weight: 600;
}

/* JustNews applies article body margins and typography to every h3/p.
   Keep the reusable feed compact and identical on the world page and guides. */
.twj-visa-updates-feed .twj-visa-updates-item h3 {
    margin: 0;
    color: var(--visa-news-ink);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.55;
}

.twj-visa-updates-feed .twj-visa-updates-item p.twj-visa-updates-summary {
    margin: 0;
    font-size: 14px;
    line-height: 1.75;
    color: #435266;
}

.twj-visa-updates-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
    margin: 2px 0 0;
    line-height: 1.5;
}

.twj-visa-updates-source {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #185a98;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    white-space: nowrap;
}

.twj-visa-updates-source:hover,
.twj-visa-updates-source:focus-visible {
    color: #0f4374;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.twj-visa-updates-source:focus-visible {
    outline: 2px solid #185a98;
    outline-offset: 3px;
    border-radius: 3px;
}

@media (max-width: 600px) {
    .twj-visa-updates-feed { margin: 25px 0 30px; }
    .twj-visa-updates-item { padding: 16px; gap: 9px; }
    .twj-visa-updates-header h2 { font-size: 21px; }
    .twj-visa-updates-footer { align-items: flex-start; }
    .twj-visa-updates-source { white-space: normal; }
}
