/* Haber listesi + detay — hızlı LCP, kırpma yok (object-fit), sabit oran kutular */

/* İç sayfalar (haberler, kurumsal, hizmetler, …): ortak üst şerit + arka plan — _LayoutSiteHome + body.yh-subpage */

/* Alt sayfalar: Kurumsal ile aynı üst görünüm — mavi tonlu geçiş + yapışkan şeffaf şerit */
body.yh-subpage.yh-site-home--subpage #main-content {
  padding-top: 0;
}

body.yh-subpage.yh-site-home--subpage {
  font-family: "Noto Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: linear-gradient(
    180deg,
    rgba(39, 93, 200, 0.22) 0%,
    rgba(39, 93, 200, 0.12) 14%,
    rgba(255, 255, 255, 0.98) 46%,
    rgba(244, 246, 249, 0.96) 100%
  ) !important;
  color: #111827;
}

body.yh-subpage .yh-scroll-header {
  display: none !important;
}

/* Alt sayfa üst şerit: beyaz zemin, siyah menü; logo/menü altında ekstra “kat” yok */
body.yh-subpage .yh-site-header.position-absolute {
  position: sticky !important;
  top: 0;
  z-index: 900;
  background: transparent !important;
  box-shadow: none !important;
  /* Ana sayfa ile aynı menü ölçüleri (body Noto mirası logoyu kaydırıyordu) */
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif !important;
}

body.yh-subpage .yh-site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(15, 46, 87, 0.06) !important;
}

/* Alt sayfa: logo + menü bloğunu yukarı çek (ana sayfa stilleri değişmez) */
@media (min-width: 992px) {
  body.yh-subpage .yh-header-inner {
    padding-top: clamp(0.2rem, 0.65vw, 0.55rem) !important;
  }

  body.yh-subpage .yh-site-header .yh-top-util {
    padding-top: clamp(0.35rem, 0.95vw, 0.62rem) !important;
    padding-bottom: clamp(0.2rem, 0.65vw, 0.45rem) !important;
  }

  body.yh-subpage .yh-site-header .yh-mid-wrap {
    margin-top: clamp(-24px, -2.1vw, -16px) !important;
  }

  body.yh-subpage .yh-site-header .yh-mid {
    min-height: clamp(5rem, 9vw, 6.35rem) !important;
    padding: 0.42rem 0 0.55rem !important;
  }
}

body.yh-subpage .yh-site-header .yh-mob-top {
  padding-top: clamp(0.2rem, 1vw, 0.42rem) !important;
  padding-bottom: clamp(0.2rem, 1vw, 0.42rem) !important;
}

body.yh-subpage .yh-mid__link {
  color: #111 !important;
  text-shadow: none !important;
}

body.yh-subpage .yh-mid__link:hover {
  color: #000 !important;
  background: rgba(0, 0, 0, 0.06) !important;
}

body.yh-subpage .yh-header-logo__disc {
  border: 1px solid #e5e7eb !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08) !important;
}

body.yh-subpage .yh-pill {
  color: #111 !important;
  border-color: rgba(0, 0, 0, 0.28) !important;
  text-shadow: none !important;
}

body.yh-subpage .yh-pill:hover {
  color: #111 !important;
  border-color: rgba(0, 0, 0, 0.35) !important;
  background: rgba(0, 0, 0, 0.05) !important;
}

body.yh-subpage .yh-call-line.text-white {
  color: #111 !important;
  text-shadow: none !important;
}

body.yh-subpage .yh-top-util .text-white {
  color: #374151 !important;
}

body.yh-subpage .yh-mob-burger {
  color: #111 !important;
  border: 1px solid rgba(0, 0, 0, 0.22) !important;
  background: #f9fafb !important;
}

body.yh-subpage .yh-call-line__label {
  color: #374151 !important;
}

body.yh-subpage .yh-call-line__num {
  color: #111 !important;
}

body.yh-subpage .yh-pill-socials a {
  color: #374151 !important;
  filter: none !important;
}

body.yh-subpage .yh-subpage-compact-logo__disc {
  display: inline-flex;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  background: #fff;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
}

body.yh-subpage .yh-subpage-compact-logo__disc img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Meclis kararları — büyük kartlar, ferah aralık */
.meclis-kararlari-page {
  max-width: 920px;
}

.meclis-kararlari-page .meclis-kart-grid {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.meclis-kararlari-page .meclis-kart {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem 1.35rem;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 6px 22px rgba(15, 23, 42, 0.06);
}

@media (min-width: 576px) {
  .meclis-kararlari-page .meclis-kart {
    padding: 1.65rem 1.5rem;
  }
}

.meclis-kararlari-page .meclis-kart__title {
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  font-weight: 700;
  color: #0f172a;
  text-decoration: none;
  line-height: 1.35;
}

.meclis-kararlari-page .meclis-kart__title:hover {
  color: #0f5aa4;
}

.meclis-kararlari-page .meclis-kart__meta {
  font-size: 0.9rem;
  color: #64748b;
}

.meclis-kararlari-page .meclis-kart__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.25rem;
}

.haberler-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 16px 64px;
}

body.yh-subpage .haberler-wrap {
  padding-top: clamp(16px, 2.5vw, 24px);
}

.haberler-wrap--detay {
  padding-top: 0;
}

.haberler-hero-title {
  font-family: Inter, system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 8px;
}

.haberler-hero-lead {
  color: #64748b;
  margin: 0 0 28px;
  max-width: 60ch;
}

.haberler-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}

/* Masaüstü: sabit 3 sütun; tablet 2; mobil 1 */
@media (min-width: 992px) {
  .haberler-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (min-width: 576px) and (max-width: 991.98px) {
  .haberler-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.haber-card {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e8ecf2;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, transform 0.2s;
}

.haber-card:hover {
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.1);
  transform: translateY(-2px);
}

.haber-card__media {
  aspect-ratio: 16 / 10;
  background: #e8ecf2;
  overflow: hidden;
}

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

.duyuru-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background: linear-gradient(180deg, #f8fafc 0%, #e8ecf2 100%);
}

.duyuru-card__media img {
  object-fit: contain;
  background: #fff;
  border-radius: 12px;
}

.haber-card__media-empty {
  width: 100%;
  height: 100%;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  background: linear-gradient(135deg, #eef2f7 0%, #e2e8f0 100%);
  color: #94a3b8;
}

.haber-card__body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.haber-card__date {
  font-size: 0.8rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.haber-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
  color: #0f172a;
}

.haber-card__excerpt {
  font-size: 0.9rem;
  color: #475569;
  margin: 0;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.haberler-pager {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 36px;
}

.haberler-pager a,
.haberler-pager span {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  font-size: 0.9rem;
  text-decoration: none;
  color: #0f172a;
}

.haberler-pager a:hover {
  background: #f1f5f9;
}

.haberler-pager .is-active {
  background: #0f4d73;
  color: #fff;
  border-color: #0f4d73;
}

.haberler-pager__info {
  padding: 8px 14px;
  font-size: 0.9rem;
  color: #475569;
  border: 1px solid transparent;
}

/* Detay */
.haber-detay {
  max-width: 820px;
  margin: 0 auto;
}

.haber-detay__header {
  margin-bottom: 1.25rem;
}

.haber-detay__meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.haber-detay__kind-badge {
  flex: 0 0 auto;
}

.haber-detay__meta {
  font-size: 0.85rem;
  color: #64748b;
  margin: 0 0 0 auto;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #dbe5ef;
  background: #f8fafc;
  font-weight: 600;
  white-space: nowrap;
}

.haber-detay__title {
  font-family: Inter, system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.2;
  margin: 0 0 16px;
}

.haber-detay__cover {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 24px;
  aspect-ratio: 16 / 9;
  background: #e8ecf2;
}

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

.duyuru-detay__cover {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background: linear-gradient(180deg, #f8fafc 0%, #e8ecf2 100%);
}

.duyuru-detay__cover img {
  object-fit: contain;
  background: #fff;
  border-radius: 12px;
}

.haber-detay__excerpt {
  font-size: 1.02rem;
  color: #334155;
  line-height: 1.6;
  margin-bottom: 24px;
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid #dbe5ef;
  border-left: 4px solid #0f4d73;
  background: linear-gradient(180deg, #f8fbff 0%, #f1f5f9 100%);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.haber-detay__content {
  font-size: 1.02rem;
  line-height: 1.75;
  color: #1e293b;
}

.haber-detay__content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.haber-detay__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;
}

@media (max-width: 576px) {
  .haber-detay__meta {
    margin-left: 0;
  }

  .haber-detay__excerpt {
    padding: 16px;
  }
}

.haber-detay__nav a {
  text-decoration: none;
  font-weight: 600;
  color: #0f4d73;
}

.haber-detay__nav a:hover {
  text-decoration: underline;
}

.haber-back-home {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  color: #0f4d73;
  font-weight: 600;
  text-decoration: none;
}

.haber-back-home:hover {
  text-decoration: underline;
}

/* —— Haber galerisi (lightbox: GLightbox) —— */
.haber-gallery {
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid #e2e8f0;
}

.haber-gallery__title {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 1rem;
  color: #0f2e57;
  letter-spacing: -0.02em;
}

.haber-gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 12px;
}

.haber-gallery__cell {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(15, 23, 42, 0.07);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.haber-gallery__cell:focus-visible {
  outline: 3px solid rgba(61, 159, 148, 0.45);
  outline-offset: 2px;
}

.haber-gallery__cell:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
}

.haber-gallery__cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 576px) {
  .haber-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Duyuru / ihale / ilan tür rozeti — açık arka plan üzerinde okunur */
.yh-pub-kind {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  line-height: 1.2;
  border: 1px solid transparent;
}

.yh-pub-kind--ihale {
  background: #14532d;
  color: #ecfdf5;
  border-color: #052e16;
}

.yh-pub-kind--ilan {
  background: #fffbeb;
  color: #92400e;
  border-color: #f59e0b;
}

.yh-pub-kind--duyuru {
  background: #eff6ff;
  color: #1e3a8a;
  border-color: #93c5fd;
}
