/* Homepage news shares the existing brand tokens and bilingual typography. */
.news-section { background: linear-gradient(#f7f5fc80, var(--peach)); }
.news-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.news-heading .section-title { margin: 0; }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.news-card { position: relative; min-width: 0; display: flex; flex-direction: column; padding: 12px; border: 1px solid #e5deef; border-radius: 24px; background: #ffffffb8; box-shadow: var(--shadow), inset 0 1px 0 #fff; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.news-image { overflow: hidden; aspect-ratio: 16 / 10; background: #eee8f5; border-radius: 14px; }
.news-image img { width: 100%; height: 100%; object-fit: cover; }
.news-card__image--tripothon img { object-position: 50% 60%; }
.news-card__image--results { background: #080808; }
.news-card__image--results img { object-fit: contain; }
.news-card__copy { flex: 1; display: flex; flex-direction: column; padding: 24px 14px 12px; }
.news-card__date, .news-detail__date { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.news-card__date { display: block; margin-bottom: 12px; }
.news-detail__date { margin: 0 0 24px; }
.news-card h3 { margin: 0 0 24px; font-size: clamp(20px, 1.7vw, 24px); font-weight: 650; line-height: 1.55; letter-spacing: -.025em; overflow-wrap: anywhere; text-wrap: balance; }
.news-keep { white-space: nowrap; }
.news-card__link { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: auto 0 0; color: var(--purple); font-size: 13px; font-weight: 600; }
.news-card__link > [aria-hidden] { font-size: 19px; transition: transform .3s var(--ease); }
.news-card__trigger { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: inherit; background: transparent; }
.news-card:focus-within { border-color: #b6a0db; }
.news-dialog { width: min(760px, calc(100% - 64px)); max-height: calc(100dvh - 64px); margin: auto; padding: 0; color: var(--ink); background: var(--peach); border: 1px solid #fff; border-radius: 24px; box-shadow: 0 32px 100px #22143b40; overflow: auto; overscroll-behavior: contain; }
.news-dialog::backdrop { background: #211b3ba6; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.news-dialog__shell { padding: 20px 36px 36px; }
.news-dialog__bar { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; padding-block: 6px; background: var(--peach); }
.news-dialog__bar p { margin: 0; color: var(--muted); font-size: 12px; letter-spacing: .04em; }
.news-dialog__close { flex-shrink: 0; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: #fff9; font-size: 25px; line-height: 1; }
.news-dialog__close:hover { background: #e8e1f5; }
.news-detail h2 { margin: 0 0 12px; font-size: clamp(26px, 3vw, 36px); line-height: 1.5; letter-spacing: -.035em; overflow-wrap: anywhere; text-wrap: balance; }
.news-detail__image { display: block; aspect-ratio: auto; border-radius: 16px; cursor: zoom-in; }
.news-detail__image img { height: auto; max-height: 60dvh; object-fit: contain; }
.news-detail__gallery--multiple .news-detail__image { aspect-ratio: 4 / 3; }
.news-detail__gallery--multiple .news-detail__image img { height: 100%; max-height: none; }
.news-gallery__navigation { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; }
.news-gallery__arrow { width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: #fff9; font-size: 19px; }
.news-gallery__arrow:hover { background: #e8e1f5; }
.news-gallery__counter { margin: 0; color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.news-gallery__thumbnails { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.news-gallery__thumbnail { min-width: 0; min-height: 44px; aspect-ratio: 4 / 3; overflow: hidden; padding: 0; border: 2px solid transparent; border-radius: 10px; background: #eee8f5; opacity: .7; }
.news-gallery__thumbnail img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.news-gallery__thumbnail[aria-current="true"] { border-color: var(--purple); opacity: 1; }
.news-gallery__thumbnail:hover { opacity: 1; }
.news-detail__body { min-height: 96px; padding-top: 28px; color: var(--muted); font-size: 16px; line-height: 1.95; overflow-wrap: anywhere; }
.news-detail__body p { margin: 0 0 18px; }
.news-review { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.news-review__heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 22px; }
.news-review h3 { margin: 0; color: var(--ink); font-size: 21px; font-weight: 650; line-height: 1.5; letter-spacing: -.025em; }
.news-review__heading .news-review__note { margin: 0; color: var(--muted); font-size: 12px; }
.news-review__text { margin: 0; padding: 0 0 0 22px; border-left: 2px solid #c8b5e8; }
.news-review__text p:last-child { margin-bottom: 0; }
body.news-open { overflow: hidden; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .news-card:hover { transform: translateY(-4px); border-color: #d0c1e9; box-shadow: 0 16px 40px #45356c12; }
  .news-card:hover .news-card__link > [aria-hidden] { transform: translate(2px, -2px); }
}
@media (max-width: 1100px) {
  .news-grid { gap: 18px; }
  .news-card__copy { padding: 20px 10px 10px; }
}
@media (max-width: 767px) {
  .news-heading { margin-bottom: 28px; gap: 16px; }
  .news-grid { grid-template-columns: 1fr; gap: 22px; }
  .news-card { padding: 10px; border-radius: 22px; }
  .news-card__copy { padding: 20px 12px 12px; }
  .news-card h3 { font-size: 21px; margin-bottom: 20px; }
  .news-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); border-radius: 20px; }
  .news-dialog__shell { padding: 14px 20px 24px; }
  .news-dialog__bar { margin-bottom: 18px; }
  .news-detail h2 { font-size: 26px; }
  .news-detail__body { padding-top: 22px; }
  .news-review { margin-top: 28px; padding-top: 24px; }
  .news-review__text { padding-left: 16px; }
}
@media (prefers-reduced-transparency: reduce) {
  .news-card { background: #fff; }
  .news-dialog::backdrop { backdrop-filter: none; -webkit-backdrop-filter: none; }
}
