/* Yemen article updates: inherits the site's typography and light/dark palette. */
.yemen-updates{width:min(100%,var(--article-width));margin-inline:auto;margin-block:3.5rem 2.5rem;padding-block-start:1.75rem;border-block-start:3px solid var(--accent);color:var(--text);font-family:inherit;scroll-margin-block-start:6rem}
.yemen-updates *{box-sizing:border-box}
.yemen-updates [hidden]{display:none!important}
.yemen-updates__header{padding-inline:2px;margin-block-end:1.5rem}
.yemen-updates__header h2{margin:0 0 .4rem;font-size:clamp(1.6rem,3vw,2.05rem);line-height:1.2;letter-spacing:-.025em;color:var(--text)}
.yemen-updates__subtitle{margin:0;color:var(--muted-strong);font-size:1rem;line-height:1.55}
.yemen-updates__updated{margin:.75rem 0 0;color:var(--muted);font-size:.78rem;line-height:1.6}
.yemen-updates__updated time{font-weight:600;color:var(--muted-strong)}
.yemen-updates__updated bdi{white-space:nowrap;margin-inline-start:.25rem}
.yemen-updates__toolbar{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;position:relative;padding:.75rem 1rem 1rem;background:var(--panel-2);border:1px solid var(--line);border-radius:var(--radius-card) var(--radius-card) 0 0}
.yemen-updates__position{color:var(--muted-strong);font-size:.8rem;line-height:1.4;font-variant-numeric:tabular-nums;flex:1 1 9rem}
.yemen-updates__actions{display:flex;align-items:center;gap:.4rem;flex-wrap:wrap}
.yemen-updates__actions button{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:.5rem .65rem;border:1px solid var(--line-strong);border-radius:var(--radius-control);background:var(--panel);color:var(--text);font:inherit;font-size:1rem;font-weight:600;cursor:pointer;transition:background-color 120ms,color 120ms,border-color 120ms}
.yemen-updates__actions button:hover:not(:disabled){background:var(--accent-soft);border-color:var(--accent);color:var(--accent)}
.yemen-updates__actions button:disabled{opacity:.42;cursor:default}
.yemen-updates__actions .yemen-updates__expand{font-size:.8rem;padding-inline:.85rem}
.yemen-updates__actions button:focus-visible,.yemen-updates a:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.yemen-updates__toolbar progress{position:absolute;inset-inline:0;bottom:0;width:100%;height:3px;appearance:none;-webkit-appearance:none;border:0;background:var(--line);color:var(--accent)}
.yemen-updates__toolbar progress::-webkit-progress-bar{background:var(--line)}
.yemen-updates__toolbar progress::-webkit-progress-value{background:var(--accent)}
.yemen-updates__toolbar progress::-moz-progress-bar{background:var(--accent)}
.yemen-updates__instructions{margin:.65rem 0;color:var(--muted);font-size:.75rem;line-height:1.65}
.yemen-updates__viewport{max-height:700px;max-block-size:700px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:auto;scrollbar-color:var(--line-strong) var(--panel-2);scrollbar-width:thin;scrollbar-gutter:stable;position:relative;border:1px solid var(--line);border-radius:var(--radius-card);background:var(--panel)}
.yemen-updates__viewport:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.yemen-updates__list{margin:0!important;padding:0!important;list-style:none!important}
.yemen-updates__item{margin:0!important;padding:0!important;list-style:none!important}
.yemen-updates__item+.yemen-updates__item{border-block-start:1px solid var(--line)}
.yemen-updates__card{display:grid;grid-template-columns:94px minmax(0,1fr);gap:1.25rem;padding:1.75rem 1.5rem;scroll-margin-block-start:6rem}
.yemen-updates__rail{display:flex;flex-direction:column;align-items:flex-start;gap:.65rem;padding-block-start:.15rem;color:var(--muted)}
.yemen-updates__number{font-family:var(--font-mono);font-size:1.75rem;line-height:1;color:var(--accent);font-weight:500;letter-spacing:-.07em}
.yemen-updates__rail time{font-size:.69rem;line-height:1.7;font-variant-numeric:tabular-nums}
.yemen-updates__rail time span,.yemen-updates__rail time bdi{display:block}
.yemen-updates__rail time bdi{white-space:nowrap}
.yemen-updates__content{min-width:0}
.yemen-updates__content h3{margin:0 0 1rem;color:var(--text);font-size:1.22rem;line-height:1.4;letter-spacing:-.015em;text-wrap:pretty}
.yemen-updates__content h3 a{color:inherit;text-decoration:none}
.yemen-updates__content h3 a:hover{text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.yemen-updates__media{margin:0 0 1rem;background:var(--media-bg);border:1px solid var(--line);border-radius:var(--radius-media);overflow:hidden}
.yemen-updates__media img,.yemen-updates__media video{display:block;width:100%;height:auto;max-height:440px;object-fit:contain;margin:0;border:0;border-radius:0;background:var(--media-bg)}
.yemen-updates__media video{aspect-ratio:16/9;color:var(--text)}
.yemen-updates__media-error{padding:.8rem 1rem;font-size:.8rem;line-height:1.6;color:var(--muted-strong)}
.yemen-updates__media-error a{color:var(--accent);text-underline-offset:3px}
.yemen-updates__text{color:var(--article-text);font-size:.94rem;line-height:1.8;overflow-wrap:anywhere}
.yemen-updates__text p{margin:0 0 .85rem}
.yemen-updates__text p:last-child{margin-block-end:0}
.yemen-updates__note{margin-block:1rem;padding:.05rem 0 .05rem .8rem;padding-inline-start:.8rem;padding-inline-end:0;border-inline-start:2px solid var(--line-strong);color:var(--muted-strong);font-size:.79rem;line-height:1.75;overflow-wrap:anywhere}
.yemen-updates__note p{margin:0 0 .5rem}
.yemen-updates__note p:last-child{margin-block-end:0}
.yemen-updates__links{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem 1.4rem;margin-block-start:1.1rem}
.yemen-updates__links a{display:inline-flex;align-items:center;gap:.4rem;min-height:32px;color:var(--accent);font-size:.78rem;line-height:1.5;font-weight:600;text-decoration:none}
.yemen-updates__links a:hover{text-decoration:underline;text-underline-offset:3px}
.yemen-updates__links a span{font-family:var(--font-ui);font-size:1rem}
.yemen-updates__end{margin:0;padding:1rem 1.5rem;border-block-start:1px solid var(--line);text-align:center;color:var(--muted);font-size:.75rem;line-height:1.5}
.yemen-updates__snapshot-note{margin:.75rem 0 0;color:var(--muted);font-size:.73rem;line-height:1.65}
.yemen-updates__sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.yemen-updates[data-expanded="true"] .yemen-updates__viewport{max-height:none;max-block-size:none;overflow:visible;scrollbar-gutter:auto}
@media(max-width:640px){
  .yemen-updates{margin-block-start:2.5rem;padding-block-start:1.4rem}
  .yemen-updates__toolbar{padding:.6rem .7rem .8rem;gap:.5rem}
  .yemen-updates__position{flex-basis:100%;font-size:.74rem}
  .yemen-updates__actions{width:100%}
  .yemen-updates__actions .yemen-updates__expand{margin-inline-start:auto;font-size:.76rem}
  .yemen-updates__card{grid-template-columns:minmax(0,1fr);gap:.9rem;padding:1.2rem 1rem 1.4rem}
  .yemen-updates__rail{flex-direction:row;align-items:center;justify-content:space-between;gap:1rem;padding:0}
  .yemen-updates__number{font-size:1.3rem}
  .yemen-updates__rail time{display:flex;gap:.5rem;flex-wrap:wrap;justify-content:flex-end;font-size:.65rem}
  .yemen-updates__content h3{font-size:1.13rem;margin-block-end:.9rem}
  .yemen-updates__text{font-size:.9rem}
  .yemen-updates__links{gap:.5rem 1rem}
  .yemen-updates__media img,.yemen-updates__media video{max-height:380px}
}
@media(prefers-reduced-motion:reduce){.yemen-updates *{scroll-behavior:auto!important;transition:none!important}}
@media print{
  .yemen-updates{border-block-start:2px solid #333;color:#111;break-before:auto}
  .yemen-updates__toolbar,.yemen-updates__instructions,.yemen-updates__end{display:none!important}
  .yemen-updates__viewport{max-height:none!important;max-block-size:none!important;height:auto!important;overflow:visible!important;border:0;background:none;scrollbar-gutter:auto}
  .yemen-updates__card{break-inside:avoid;page-break-inside:avoid;padding-inline:0}
  .yemen-updates__content,.yemen-updates__text,.yemen-updates__note,.yemen-updates__rail,.yemen-updates__header *{color:#111!important}
  .yemen-updates__media{max-width:450px}
  .yemen-updates__links a{color:#111}
}
