.medical-news { padding: 44px 0 64px; background: #fff; }
.medical-news * { letter-spacing: 0; }
.news-heading { padding: 0 0 28px; border-bottom: 3px solid #21856f; }
.news-heading h1 { margin: 0 0 12px; font-size: 40px; line-height: 1.2; color: #0f3f66; }
.news-heading p { margin: 0; color: #607080; font-size: 17px; line-height: 1.7; text-wrap: pretty; }
.news-filters { display: grid; grid-template-columns: minmax(220px, 1.5fr) minmax(180px, 1fr) minmax(140px, .7fr) auto; gap: 16px; align-items: end; padding: 24px 0; border-bottom: 1px solid #d9e6ec; }
.news-filters > div { min-width: 0; }
.news-filters label { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 600; color: #395368; }
.news-filters input, .news-filters select { display: block; width: 100%; min-width: 0; height: 46px; padding: 0 12px; font: inherit; font-size: 16px; color: #294557; background: #fff; border: 1px solid #c8dbe5; border-radius: 6px; }
.news-search-field { position: relative; }
.news-search-field input { padding-right: 50px; }
.news-search-field button { display: grid; place-items: center; position: absolute; right: 1px; top: 1px; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: #1f6f9f; cursor: pointer; border-radius: 5px; }
.news-apply { display: inline-flex; justify-content: center; align-items: center; gap: 8px; height: 46px; padding: 0 16px; border: 1px solid #1f6f9f; border-radius: 6px; background: #1f6f9f; color: white; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.news-apply:hover { background: #175b83; }
.news-results-bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding: 22px 0; font-size: 14px; color: #607080; }
.news-results-bar p { margin: 0; overflow-wrap: anywhere; }
.news-results-bar a { display: inline-flex; align-items: center; min-height: 44px; color: #187a70; text-decoration: underline; text-underline-offset: 4px; }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
.news-card { min-width: 0; border-bottom: 1px solid #d9e6ec; padding-bottom: 20px; }
.news-card-link { display: flex; flex-direction: column; height: 100%; color: inherit; }
.news-media { aspect-ratio: 16 / 9; display: grid; place-items: center; overflow: hidden; border-radius: 6px; background: #f2f7f9; }
.news-media img { display: block; width: 100%; height: 100%; object-fit: contain; }
.news-media > .dashicons { width: 48px; height: 48px; font-size: 48px; color: #7898a8; }
.news-card-body { display: flex; flex: 1; flex-direction: column; padding: 16px 0 0; }
.news-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 10px; font-size: 14px; line-height: 1.6; }
.news-meta > span { color: #187a70; font-weight: 600; }
.news-meta time { color: #596b78; white-space: nowrap; }
.news-card h2 { margin: 0 0 12px; font-size: 20px; line-height: 1.5; color: #0f3f66; text-wrap: pretty; overflow-wrap: anywhere; }
.news-card p { margin: 0 0 16px; font-size: 14px; line-height: 1.7; color: #607080; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-read { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: auto; min-height: 44px; font-size: 14px; font-weight: 600; color: #187a70; }
.news-card-link:hover h2 { color: #187a70; }
.news-grid-latest .news-card-featured { grid-column: span 2; grid-row: span 2; }
.news-card-featured h2 { font-size: 28px; line-height: 1.4; }
.news-card-featured p { font-size: 16px; -webkit-line-clamp: 4; }
.news-grid-latest .news-card:nth-child(2) .news-media,
.news-grid-latest .news-card:nth-child(3) .news-media { aspect-ratio: 2.6 / 1; }
.news-grid-latest .news-card:nth-child(2) p,
.news-grid-latest .news-card:nth-child(3) p { display: none; }
.news-grid-latest .news-card:nth-child(2) h2,
.news-grid-latest .news-card:nth-child(3) h2 { font-size: 18px; }
.news-pagination { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.news-pagination .page-numbers { display: inline-flex; justify-content: center; align-items: center; min-width: 44px; min-height: 44px; padding: 8px 12px; border: 1px solid #d9e6ec; border-radius: 6px; font-size: 14px; }
.news-pagination .current { background: #1f6f9f; color: white; border-color: #1f6f9f; }
.news-pagination a:hover { background: #edf6f7; }
.news-pagination .dots { border: 0; }
.news-empty { text-align: center; padding: 64px 16px; }
.news-empty > .dashicons { width: 40px; height: 40px; font-size: 40px; color: #7d9aa8; }
.news-empty h2 { margin: 18px 0 12px; font-size: 24px; color: #0f3f66; }
.news-empty p { color: #607080; }
.news-empty a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: #187a70; text-decoration: underline; }
.medical-news :is(input,select,button,a):focus-visible { outline: 3px solid #1f6f9f; outline-offset: 3px; }
@media (max-width: 940px) {
  .news-filters { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-grid-latest .news-card-featured { grid-column: span 2; grid-row: auto; }
  .news-grid-latest .news-card:nth-child(2) .news-media,
  .news-grid-latest .news-card:nth-child(3) .news-media { aspect-ratio: 16 / 9; }
  .news-grid-latest .news-card:nth-child(2) p,
  .news-grid-latest .news-card:nth-child(3) p { display: -webkit-box; }
}
@media (max-width: 600px) {
  .medical-news { padding-top: 28px; }
  .news-heading h1 { font-size: 32px; }
  .news-heading p { font-size: 15px; }
  .news-filters { gap: 14px 12px; }
  .news-search { grid-column: 1 / -1; }
  .news-apply { grid-column: 1 / -1; }
  .news-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .news-grid-latest .news-card-featured { grid-column: 1; }
  .news-card-featured h2 { font-size: 23px; }
  .news-card h2 { font-size: 20px; }
  .news-card-featured p { font-size: 14px; }
  .news-pagination { gap: 6px; }
}
@media (max-width: 480px) {
  .news-filters { grid-template-columns: minmax(0,1fr); }
  .news-card p, .news-card-featured p { font-size: 15px; }
}
