/* Project news and homepage content feed */
.home-news { background: #fff; }
.home-news-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 32px; }
.home-news-head h2 { font-size: clamp(32px, 3.4vw, 42px); line-height: 1.24; letter-spacing: -.03em; color: var(--blue-950); }
.home-news-head p { max-width: 540px; margin-top: 10px; color: var(--muted); font-size: 14px; }
.home-news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.news-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.news-card:hover { transform: translateY(-5px); border-color: #c7dff2; box-shadow: var(--shadow-md); }
.news-card-cover { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(145deg, #0b568f, #07335f); }
.news-card-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s; }
.news-card:hover .news-card-cover img { transform: scale(1.035); }
.news-card-placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.74); font-size: 10px; letter-spacing: .18em; background: radial-gradient(circle at 75% 20%, rgba(115,190,235,.4), transparent 34%), linear-gradient(145deg,#0b5f9e,#062f5c); }
.news-card-body { display: flex; flex: 1; flex-direction: column; padding: 20px 21px 22px; }
.news-meta { display: flex; align-items: center; gap: 9px; margin-bottom: 9px; color: var(--muted-light); font-size: 9.5px; }
.news-meta span:first-child { padding: 3px 8px; border-radius: 999px; background: var(--blue-100); color: var(--blue-700); font-weight: 600; }
.news-card h3 { color: var(--ink); font-size: 18px; line-height: 1.5; margin-bottom: 8px; letter-spacing: -.01em; }
.news-card p { flex: 1; color: var(--muted); font-size: 12px; line-height: 1.8; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.news-card-more { margin-top: 16px; color: var(--blue-700); font-size: 11px; font-weight: 600; }
.home-news-empty { display: none; padding: 32px; border: 1px dashed #cdddea; border-radius: 14px; text-align: center; color: var(--muted); background: var(--blue-50); font-size: 12px; }

.news-page { background: linear-gradient(180deg, #eff8ff, #fff 34%); }
.news-hero { position: relative; overflow: hidden; padding: 86px 0 68px; }
.news-hero::before { content: ""; position: absolute; width: 520px; height: 520px; right: -190px; top: -280px; border: 1px solid rgba(10,77,145,.10); border-radius: 50%; box-shadow: 0 0 0 80px rgba(10,77,145,.02), 0 0 0 160px rgba(10,77,145,.015); }
.news-hero-inner { position: relative; z-index: 2; display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.news-hero-copy { max-width: 780px; }
.news-hero h1 { margin: 10px 0 16px; color: var(--blue-950); font-size: clamp(42px, 5vw, 66px); line-height: 1.15; letter-spacing: -.045em; }
.news-hero p { max-width: 680px; color: var(--ink-soft); font-size: 15px; line-height: 1.9; }
.news-hero-call { flex: none; min-width: 240px; padding: 18px 20px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.news-hero-call span { display: block; color: var(--muted); font-size: 10px; }
.news-hero-call a { display: block; margin-top: 4px; color: var(--blue-900); font-family: var(--font-en); font-size: 25px; font-weight: 700; }

.news-content { padding: 26px 0 105px; }
.news-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 30px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.news-categories { display: flex; gap: 7px; flex-wrap: wrap; }
.news-filter { min-height: 39px; padding: 0 14px; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: var(--muted); font-size: 11.5px; }
.news-filter.is-active { background: var(--blue-700); border-color: var(--blue-700); color: #fff; }
.news-search { position: relative; width: min(300px, 100%); }
.news-search input { width: 100%; height: 39px; padding: 0 36px 0 12px; border: 1px solid var(--line); border-radius: 7px; background: #fff; outline: 0; font-size: 11.5px; }
.news-search svg { position: absolute; right: 12px; top: 11px; width: 16px; height: 16px; fill: none; stroke: var(--muted); stroke-width: 1.8; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-empty { padding: 70px 24px; border: 1px dashed #cbdbe8; border-radius: 16px; text-align: center; background: #fbfdff; color: var(--muted); }
.news-empty strong { display: block; color: var(--blue-900); font-size: 18px; margin-bottom: 7px; }
.news-empty p { font-size: 12px; }

.news-modal { position: fixed; inset: 0; z-index: 1500; display: none; }
.news-modal.is-open { display: block; }
.news-modal-scrim { position: absolute; inset: 0; background: rgba(3,24,45,.76); backdrop-filter: blur(5px); }
.news-dialog { position: relative; z-index: 2; width: min(900px, calc(100% - 40px)); max-height: calc(100vh - 50px); margin: 25px auto; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 35px 100px rgba(0,0,0,.35); }
.news-dialog-scroll { max-height: calc(100vh - 50px); overflow-y: auto; }
.news-dialog-cover { width: 100%; max-height: 430px; aspect-ratio: 16 / 8; object-fit: cover; background: #eaf2f8; }
.news-dialog-placeholder { display: grid; place-items: center; width: 100%; height: 260px; background: linear-gradient(145deg,#0b5f9e,#062f5c); color: rgba(255,255,255,.7); letter-spacing: .18em; font-size: 11px; }
.news-dialog-body { padding: 34px 42px 44px; }
.news-dialog h2 { margin: 9px 0 13px; color: var(--blue-950); font-size: clamp(27px, 4vw, 40px); line-height: 1.35; letter-spacing: -.025em; }
.news-dialog-summary { padding-bottom: 21px; margin-bottom: 24px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 1.85; }
.news-article-text { color: var(--ink-soft); font-size: 14px; line-height: 2; }
.news-article-text p { margin: 0 0 15px; white-space: pre-wrap; }
.news-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 30px; }
.news-gallery a { display: block; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: #eef3f7; }
.news-gallery img { width: 100%; height: 100%; object-fit: cover; }
.news-dialog-cta { margin-top: 34px; padding: 21px 22px; border-radius: 12px; background: var(--blue-50); border: 1px solid #d8e9f7; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.news-dialog-cta strong { color: var(--blue-900); font-size: 14px; }
.news-dialog-cta p { margin-top: 3px; color: var(--muted); font-size: 11px; }
.news-close { position: absolute; top: 14px; right: 14px; z-index: 4; width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(4,30,56,.72); color: #fff; font-size: 25px; line-height: 1; }
.news-dialog-gallery-note { margin-top: 16px; color: var(--muted-light); font-size: 9px; }

@media (max-width: 1024px) {
  .news-grid, .home-news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .news-hero { padding: 58px 0 42px; }
  .news-hero-inner { align-items: start; flex-direction: column; gap: 24px; }
  .news-hero-call { width: 100%; }
  .news-toolbar { align-items: stretch; }
  .news-search { width: 100%; }
  .news-grid, .home-news-grid { grid-template-columns: 1fr; }
  .home-news-head { align-items: start; flex-direction: column; gap: 14px; }
  .news-dialog { width: calc(100% - 20px); max-height: calc(100vh - 20px); margin: 10px auto; border-radius: 13px; }
  .news-dialog-scroll { max-height: calc(100vh - 20px); }
  .news-dialog-body { padding: 26px 20px 32px; }
  .news-dialog-cta { align-items: stretch; flex-direction: column; }
  .news-gallery { grid-template-columns: repeat(2, 1fr); }
}
