/* Agency news grid: photo, title, date. No summary strip, no "read more". */

.news-page {
  background: #f3f4f6;
  min-height: 100vh;
  color: #0f172a;
}

.news-page__inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 2rem 1rem 3.5rem;
}

.news-page__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.news-page__title {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0b1b33;
  line-height: 1.15;
}

.news-page__lead {
  margin: 0.65rem 0 0;
  max-width: 42rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #6b7280;
}

.news-page__tools {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.news-page__tools .lang-switch-btn {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #64748b;
  padding: 0.35rem 0.45rem;
}

.news-page__tools .lang-switch-btn.is-active,
.news-page__tools .lang-switch-btn.text-national-gold {
  color: #0b3b66;
}

.news-page__home {
  color: #029ad9;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
}

.news-page__home:hover {
  text-decoration: underline;
}

.news-search {
  position: relative;
  margin: 1.25rem 0 1.75rem;
}

.news-search__icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.1rem;
  height: 1.1rem;
  color: #94a3b8;
  pointer-events: none;
}

.news-search__input {
  width: 100%;
  box-sizing: border-box;
  border: 0;
  border-radius: 0.9rem;
  background: #eef1f5;
  color: #0f172a;
  font-size: 0.95rem;
  padding: 0.95rem 1rem 0.95rem 2.75rem;
  outline: none;
}

.news-search__input::placeholder {
  color: #94a3b8;
}

.news-search__input:focus {
  background: #e8ecf2;
  box-shadow: 0 0 0 2px rgba(2, 154, 217, 0.25);
}

#news-archive {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: stretch;
}

@media (min-width: 640px) {
  #news-archive {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  #news-archive {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

.news-tile {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  border: 0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 10px 28px -18px rgba(15, 23, 42, 0.18);
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.news-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.05), 0 16px 34px -16px rgba(15, 23, 42, 0.22);
}

.news-tile__media {
  flex: 0 0 auto;
  aspect-ratio: 16 / 10;
  height: auto;
  background: #e2e8f0;
  overflow: hidden;
}

.news-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.news-tile__media--empty {
  background: linear-gradient(135deg, #0b3b66, #029ad9);
}

.news-tile__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1rem 1.1rem 1.15rem;
  min-height: 7.5rem;
}

.news-tile__title {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.35;
  color: #0b1b33;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  min-height: 0;
  max-height: none;
}

.news-tile__date {
  margin: auto 0 0;
  font-size: 0.8rem;
  line-height: 1.2;
  color: #9aa3af;
  font-weight: 500;
}

.news-tile__summary,
.news-card .news-tile__summary,
.news-card .news-more {
  display: none !important;
}

/* Home: same card language inside the existing carousel shell */
.news-card.news-tile--home {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  border: 0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 10px 28px -18px rgba(15, 23, 42, 0.18);
}

.news-card.news-tile--home .news-card-media {
  aspect-ratio: 16 / 10;
  height: auto;
  min-height: 0;
}

.news-card.news-tile--home .news-tile__body {
  padding: 1rem 1.1rem 1.15rem;
}

.news-card.news-tile--home .news-tile__title {
  text-transform: uppercase;
  font-weight: 800;
  color: #0b1b33;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  min-height: 0;
  max-height: none;
}

.news-section-head .accent-gradient-bar {
  display: none;
}

.news-section-lead {
  margin: 0.55rem 0 0;
  max-width: 36rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #6b7280;
}

#yangiliklar {
  background: #f3f4f6 !important;
  border-top: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  margin-top: 0;
}

.news-card-media img {
  object-fit: cover !important;
}
