/* ==========================================================================
   VEKİLPEDİA — ek/gundem.css (gündem ajanı): "Gündemde" vitrin kartının tarihi, ana sayfa "Meclis günlüğü",
   /bugun ve /gun/{tarih} günlük akışı. Düzen ek/*.css'i kendiliğinden yükler; site.css DÜZENLENMEZ.
   Önekler: gv- (gündem vitrini) · ga- (günlük akış). Renkler site.css değişkenlerinden; parti rengi yalnız veri noktasında.
   ========================================================================== */

/* ---------------------------------------------------------------- vitrin kartı: tür çipi + veri tarihi */
.gv-ust { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; }
.gv-tarih { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--soluk); white-space: nowrap; }

/* ---------------------------------------------------------------- tür çipleri (akışa özgü) */
.ga-tur-oylama { background: transparent; color: var(--sicak); box-shadow: inset 0 0 0 1px var(--sicak); }
.ga-tur-parti { background: transparent; color: var(--soluk); box-shadow: inset 0 0 0 1px var(--soluk); }

/* ---------------------------------------------------------------- ana sayfa: Meclis günlüğü */
.ga-ozet-liste { list-style: none; margin: 0; padding: 0; }
.ga-ozet-liste > li { border-top: 1px solid var(--kenar); }
.ga-ozet-satir { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 4px 14px; align-items: baseline; padding: 12px 0; color: var(--metin); }
.ga-ozet-satir:hover { text-decoration: none; }
.ga-ozet-satir:hover .ga-ozet-metin strong { text-decoration: underline; text-underline-offset: 3px; }
.ga-ozet-satir .tur { justify-self: start; }
.ga-ozet-metin { display: flex; flex-direction: column; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
.ga-ozet-metin strong { font-size: 16px; font-weight: 700; color: var(--baslik); }

/* Gün şeridi (ana sayfa ve gün sayfasının yan sütunu): kayıtlı son günler; nokta = Genel Kurul toplandı */
.ga-serit { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.ga-serit a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 76px; padding: 6px 2px;
  background: var(--zemin); border: 1px solid var(--kenar-guclu); color: var(--metin); text-align: center; }
.ga-serit a:hover { border-color: var(--soluk); text-decoration: none; }
.ga-serit .mono { font-size: 10px; letter-spacing: 0.06em; color: var(--soluk); }
.ga-serit strong { font-size: 18px; line-height: 1; font-weight: 700; color: var(--baslik); }
.ga-serit .ga-serit-say { font-family: var(--mono); font-size: 11px; color: var(--yumusak); }
.ga-serit a[aria-current] { background: var(--soguk); border-color: var(--soguk); }
.ga-serit a[aria-current] .mono, .ga-serit a[aria-current] strong, .ga-serit a[aria-current] .ga-serit-say { color: var(--zemin); }
.ga-gk { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--sicak); vertical-align: 1px; margin-left: 3px; }
.ga-serit a[aria-current] .ga-gk { background: var(--zemin); }

/* ---------------------------------------------------------------- gün sayfası: özet ve bildirim */
.ga-cumle { font-size: 18px; line-height: 1.55; color: var(--yumusak); max-width: 860px; }
.ga-cumle strong { color: var(--baslik); }
.ga-bildirim { --renk: var(--sicak); }
.ga-bildirim p + p { margin-top: 6px; }
.ga-bildirim a { color: var(--soguk); text-decoration: underline; text-underline-offset: 3px; }

/* ---------------------------------------------------------------- gün sayfası: zaman çizgisi */
.ga { margin-top: 18px; }
.ga-grup { position: relative; margin-left: 6px; padding: 0 0 30px 24px; border-left: 2px solid var(--kenar); scroll-margin-top: 90px; }
.ga-grup:last-child { padding-bottom: 4px; border-left-color: transparent; }
.ga-grup::before { content: ''; position: absolute; left: -8px; top: 3px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--renk, var(--soguk)); box-shadow: 0 0 0 4px var(--kart); }
.ga-grup-bas { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.ga-grup-baslik { font-size: 19px; line-height: 1.3; font-weight: 800; color: var(--baslik); }
.ga-grup-not { margin-top: 6px; font-size: 13px; line-height: 1.5; color: var(--soluk); }
.ga-grup-not a { color: var(--yumusak); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(233, 236, 239, 0.4); }

.ga-liste { list-style: none; margin: 10px 0 0; padding: 0; }
.ga-oge { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 4px 14px; align-items: start; padding: 11px 0; border-top: 1px solid var(--ayrac); }
.ga-no { font-family: var(--mono); font-size: 12px; line-height: 1.6; color: var(--soluk); overflow-wrap: anywhere; }
.ga-govde { min-width: 0; }
.ga-baslik { font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--metin); overflow-wrap: anywhere; }
a.ga-baslik:hover { color: var(--baslik); }
.ga-alt { margin-top: 3px; font-size: 13px; line-height: 1.5; color: var(--soluk); overflow-wrap: anywhere; }
.ga-alt a { color: var(--yumusak); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: rgba(233, 236, 239, 0.4); }
.ga-alt .nokta { margin-right: 4px; vertical-align: 0; }
.ga-kesit { margin-top: 6px; font-family: var(--serif); font-size: 15px; line-height: 1.55; color: var(--okuma); }
.ga-sag { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.ga-oy { margin-top: 8px; max-width: 360px; }
.ga-kisiler { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; }
.ga-kisiler a { color: var(--yumusak); }
.ga-kisiler .nokta { margin-right: 5px; }
.ga-daha { margin-top: 8px; }
.ga-daha > summary { min-height: 40px; font-size: 13px; }
.ga-tumu { display: inline-block; margin-top: 10px; }
.ga-bakanliklar { margin-top: 10px; }

/* Aralık (son 7 / 30 gün) görünümü: günler listesi */
.ga-gunler { list-style: none; margin: 14px 0 0; padding: 0; }
.ga-gunler > li { border-top: 1px solid var(--kenar); }
.ga-gun-satir { display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: 4px 14px; padding: 12px 0; color: var(--metin); }
.ga-gun-satir:hover { text-decoration: none; }
.ga-gun-satir:hover .ga-gun-ad { text-decoration: underline; text-underline-offset: 3px; }
.ga-gun-ad { font-weight: 700; color: var(--baslik); }
.ga-gun-sayi { font-size: 14px; color: var(--soluk); }

/* ---------------------------------------------------------------- dokunmatik: hedefler ≥44px (site.css ile aynı yöntem) */
@media (pointer: coarse) {
  .ga-baslik, .ga-alt a, .ga-kisiler a, .ga-grup-not a, .ga-bildirim a { position: relative; }
  .ga-baslik::before { content: ''; position: absolute; left: -4px; right: -4px; top: 50%; height: 44px; transform: translateY(-50%); }
  .ga-alt a::before, .ga-kisiler a::before, .ga-grup-not a::before, .ga-bildirim a::before {
    content: ''; position: absolute; left: -2px; right: -2px; top: 50%; height: 28px; transform: translateY(-50%); }
  .ga-ozet-satir, .ga-gun-satir { min-height: 44px; }
}

/* ---------------------------------------------------------------- dar ekran */
@media (max-width: 640px) {
  .ga-oge { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .ga-no { order: -1; }
  .ga-sag { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: flex-start; }
  .ga-grup { padding-left: 18px; margin-left: 5px; }
  .ga-grup::before { left: -7px; width: 12px; height: 12px; }
  .ga-grup-baslik { font-size: 17px; }
  .ga-ozet-satir { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .ga-gun-satir { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .ga-cumle { font-size: 16px; }
  .ga-serit { gap: 4px; }
  .ga-serit a { min-height: 68px; }
  .ga-serit strong { font-size: 16px; }
}
