/* Latest updates (homepage): builds on index.css (variables, .wrap, .lead) */
.updates { padding: 72px 0 64px; }
.updates__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 28px; }
.updates__head h2 { font-size: 2.2rem; font-weight: 700; }
.updates__head .lead { margin: 6px 0 0; }
.updates__nav { display: flex; gap: 8px; }
.updates__btn { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--navy); background: #fff; color: var(--navy); font-size: 1.1rem; cursor: pointer; }
.updates__btn:hover { background: var(--navy); color: #fff; }
.updates__btn:disabled { opacity: .35; cursor: default; background: #fff; color: var(--navy); }

.updates__view { overflow: hidden; }
.updates__view:focus-visible { outline: 2px solid var(--navy); outline-offset: 4px; }
.updates__track { display: flex; transition: transform .6s ease; touch-action: pan-y; }
.updates__slide { flex: 0 0 100%; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.updates__photo { height: 300px; background: #dde4ee center / cover no-repeat; border-radius: 4px; }
.updates__date { display: inline-block; padding: 3px 14px; border: 1px solid #cbd5e1; border-radius: 999px; font-size: .8rem; font-weight: 500; color: var(--muted); }
.updates__title { font-size: 1.9rem; font-weight: 600; line-height: 1.15; margin: 12px 0 8px; }
.updates__desc { color: var(--muted); line-height: 1.65; max-width: 460px; }

.updates__dots { display: flex; justify-content: center; gap: 10px; margin-top: 28px; }
.updates__dots button { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 1.5px solid var(--navy); background: transparent; cursor: pointer; }
.updates__dots button[aria-current="true"] { background: var(--navy); }
.updates__empty { color: var(--muted); }

@media (max-width: 900px) {
  .updates__slide { gap: 24px; }
  .updates__photo { height: 240px; }
}
@media (max-width: 720px) {
  .updates { padding: 48px 0 40px; }
  .updates__head h2 { font-size: 2rem; }
  .updates__nav { display: none; }
  .updates__slide { grid-template-columns: 1fr; }
  .updates__photo { height: 200px; }
  .updates__title { font-size: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) { .updates__track { transition: none; } }