:root {
    --main-blue: #002147;
    --main-yellow: #fcd116;
}

.news-title-text {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--main-blue);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.news-menu-full {
    gap: 12px;
}

.news-all-link {
    color: var(--main-blue);
    font-weight: 600;
    font-size: 1.01rem;
    text-decoration: none;
}

.news-menu-item {
    font-size: 1.01rem;
    color: var(--main-blue);
    font-weight: 600;
    cursor: pointer;
    padding: 4px 13px;
    border: none;
    background: none;
    position: relative;
}

.news-menu-item.news-menu-active {
    font-weight: 700;
}

.news-menu-item.news-menu-active::after {
    content: '';
    display: block;
    height: 3px;
    width: 100%;
    background: var(--main-blue);
    border-radius: 3px;
    position: absolute;
    left: 0;
    bottom: -1px;
}

.news-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 14px #00214718;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: box-shadow .18s;
}

.news-card:hover {
    box-shadow: 0 4px 32px #00214729;
}

.news-img-wrap {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.news-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-content {
    padding: 14px 18px 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.news-title {
    font-size: 1.13em;
    font-weight: 700;
    margin-bottom: 2px;
    color: #11213d;
}

.news-category {
    font-size: 0.98em;
    color: var(--main-yellow);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.news-date {
    font-size: 0.97em;
    color: #546484;
    font-weight: 500;
}


/* ========================= */
/*  Mobil düzenlemeler (≤767px) */
/* ========================= */
@media (max-width: 767px) {

  /* Menü satırı yatay taşmayı önle */
  .news-menu-full {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 0 8px;
  }
  .news-menu-full::-webkit-scrollbar {
    height: 6px;
  }
  .news-menu-full::-webkit-scrollbar-thumb {
    background: rgba(0,33,71,0.2);
    border-radius: 3px;
  }

  .news-menu-item {
    font-size: 0.95rem;
    padding: 6px 10px;
    white-space: nowrap;
  }

  .news-all-link {
    font-size: 0.95rem;
  }

  .news-title-text {
    font-size: 1rem;
  }

  /* Kartlar tek sütun */
  .news-cards-list {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .news-card {
    height: auto;
  }

  .news-content {
    padding: 12px !important;
    gap: 4px !important;
  }

  .news-title {
    font-size: 1.05rem;
  }

  .news-category {
    font-size: 0.9rem;
  }

  .news-date {
    font-size: 0.85rem;
  }

  .news-img-wrap {
    aspect-ratio: auto;
    height: auto;
  }
  .news-img {
    height: auto;
  }

}
