.news-page {
  min-height: 70vh;
  padding: 54px 0 76px;
  color: #061a3d;
  background:
    radial-gradient(circle at 92% 5%, rgba(16, 92, 255, 0.1), transparent 30%),
    linear-gradient(135deg, #f9fcff 0%, #f2f7ff 58%, #f8fbff 100%);
}
.news-page [hidden] {
  display: none !important;
}
.news-page-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 48px;
  margin-bottom: 26px;
}
.news-page-header .eyebrow {
  margin: 0 0 9px;
  color: #105cff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.news-page-header h1 {
  max-width: 920px;
  margin: 0;
  color: #061a3d;
  font-size: clamp(38px, 4vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}
.news-page-header > div > p:last-child {
  max-width: 900px;
  margin: 12px 0 0;
  color: #61718a;
  font-size: 17px;
  line-height: 1.65;
}
.news-current {
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
  color: #105cff;
  font-size: 14px;
  font-weight: 800;
}
.news-current i {
  display: block;
  width: 2px;
  height: 24px;
  background: #105cff;
}
.news-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}
.news-filters button {
  min-height: 38px;
  padding: 8px 24px;
  border: 1px solid #9dbdff;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #244a85;
  font: 700 13px/1 inherit;
  cursor: pointer;
  transition:
    background 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease;
}
.news-filters button:hover {
  border-color: #105cff;
  color: #105cff;
  transform: translateY(-1px);
}
.news-filters button:focus-visible {
  outline: 3px solid rgba(54, 199, 244, 0.4);
  outline-offset: 2px;
}
.news-filters button.active {
  border-color: #105cff;
  background: #105cff;
  color: #fff;
  box-shadow: 0 8px 22px rgba(16, 92, 255, 0.2);
}
.news-featured {
  display: grid;
  grid-template-columns: 42% 58%;
  min-height: 410px;
  overflow: hidden;
  border: 1px solid rgba(16, 92, 255, 0.14);
  border-radius: 17px;
  background: #061a3d;
  box-shadow: 0 18px 42px rgba(6, 26, 61, 0.13);
}
.news-featured-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 48px 44px;
  color: #fff;
  background: linear-gradient(135deg, #061a3d 0%, #082b61 100%);
}
.news-featured-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: #36c7f4;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.03em;
}
.news-featured-label > span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #36c7f4;
  box-shadow: 0 0 0 4px rgba(54, 199, 244, 0.1);
}
.news-category {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  padding: 6px 14px;
  border-radius: 999px;
  background: #e8f2ff;
  color: #105cff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}
.news-category-dark {
  margin-bottom: 14px;
  background: linear-gradient(135deg, #1d63c7, #174c9a);
  color: #fff;
}
.news-featured h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(27px, 2.2vw, 36px);
  line-height: 1.18;
  letter-spacing: -0.025em;
}
.news-featured-copy > p:not(.news-featured-label),
.news-featured-copy-link > p {
  max-width: 540px;
  margin: 15px 0 0;
  color: #dce7f7;
  font-size: 17px;
  line-height: 1.65;
}
.news-featured-detail-link,
.news-card-detail-link {
  margin-top: auto;
  padding-top: 30px;
  color: #36c7f4;
  font-weight: 800;
  text-decoration: none;
}
.news-featured-detail-link:hover,
.news-card-detail-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.news-card-clickarea,
.news-card-copy-link,
.news-featured-copy-link,
.news-featured-media-link {
  color: inherit;
  text-decoration: none;
}
.news-card-clickarea,
.news-featured-media-link {
  display: block;
}
.news-card-copy-link,
.news-featured-copy-link {
  display: block;
  width: 100%;
}
.news-card-copy-link:hover h3 {
  color: #105cff;
}
.news-featured-copy-link:hover h2 {
  color: #bfeeff;
}
.news-card-clickarea:focus-visible,
.news-card-copy-link:focus-visible,
.news-featured-copy-link:focus-visible,
.news-featured-media-link:focus-visible {
  outline: 3px solid #36c7f4;
  outline-offset: -3px;
}
.news-featured-media {
  position: relative;
  min-width: 0;
  background: #0a2e67;
}
.news-featured-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 410px;
  object-fit: cover;
  object-position: left center;
}
.news-latest {
  padding-top: 28px;
}
.news-latest > h2 {
  margin: 0 0 15px;
  color: #061a3d;
  font-size: 21px;
  line-height: 1.25;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.news-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #cfdded;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(6, 26, 61, 0.055);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.news-card:hover {
  transform: translateY(-4px);
  border-color: #9ebfff;
  box-shadow: 0 15px 34px rgba(6, 26, 61, 0.1);
}
.news-card-media {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #eff5fc;
}
.tubitak-news-logo {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 10px;
  display: block;
  width: 80px;
  height: 31px;
  overflow: hidden;
  border-radius: 4px;
  background-image: url("../images/haberler/tubitak-1501-ai-klinik-karar-destek-onay-logo.webp");
  background-repeat: no-repeat;
  background-position: -10px -12px;
  background-size: 481px 271px;
  box-shadow: 0 2px 6px rgba(0, 16, 48, 0.2);
  pointer-events: none;
}
.news-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  transform-origin: left center;
  transition: transform 0.3s ease;
}
.news-card:hover .news-card-media img {
  transform: scale(1.015);
}
.news-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 17px 18px 20px;
}
.news-card h3 {
  margin: 13px 0 0;
  color: #061a3d;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.015em;
}
.news-card p {
  margin: 9px 0 0;
  color: #687992;
  font-size: 14px;
  line-height: 1.6;
}
.news-card-detail-link {
  padding-top: 22px;
  color: #105cff;
  font-size: 14px;
}
.news-empty {
  margin: 22px 0 0;
  padding: 26px;
  border: 1px dashed #a9c4e8;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  color: #64758d;
  text-align: center;
}
@media (max-width: 1000px) {
  .news-page {
    padding-top: 44px;
  }
  .news-page-header {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .news-current {
    justify-self: start;
  }
  .news-featured {
    grid-template-columns: 45% 55%;
    min-height: 370px;
  }
  .news-featured-copy {
    padding: 36px 30px;
  }
  .news-featured-media img {
    min-height: 370px;
  }
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .news-page {
    padding: 34px 0 54px;
  }
  .news-page-header {
    margin-bottom: 20px;
  }
  .news-page-header h1 {
    font-size: 38px;
    line-height: 1.08;
  }
  .news-page-header > div > p:last-child {
    font-size: 15px;
  }
  .news-current {
    display: none;
  }
  .news-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-right: -20px;
    padding: 0 20px 8px 0;
    scrollbar-width: none;
  }
  .news-filters::-webkit-scrollbar {
    display: none;
  }
  .news-filters button {
    flex: 0 0 auto;
    padding-inline: 18px;
  }
  .news-featured {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .news-featured-copy {
    padding: 30px 24px;
    order: 2;
  }
  .news-featured-media {
    order: 1;
    aspect-ratio: 16/10;
  }
  .news-featured-media img {
    min-height: 0;
    object-fit: cover;
  }
  .news-featured-copy > p:not(.news-featured-label),
  .news-featured-copy-link > p {
    font-size: 15px;
  }
  .news-featured-detail-link {
    padding-top: 25px;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
  .news-card h3 {
    font-size: 19px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .news-page * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
