/* Namaz, iftar ve imsakiye sayfaları. Önce mobil, bilgisayarda iki sütun. */
.nv { background: var(--sand); }
.nv-main { max-width: 1180px; margin: 0 auto; padding: 84px 16px 48px; display: grid; gap: 20px; }
.nv-crumbs { font-size: .85rem; color: var(--muted); }
.nv-crumbs a { color: var(--sea); }
.nv h1 { font-size: clamp(1.9rem, 6vw, 3.2rem); color: var(--sea-deep); letter-spacing: -.02em; }
.nv h2 { font-size: clamp(1.3rem, 3.5vw, 1.7rem); color: var(--sea-deep); margin: 8px 0; }
.nv-lead { font-size: 1.12rem; color: var(--ink); max-width: 62ch; }
.nv-note { background: #fff7e8; border-left: 4px solid var(--accent); padding: 12px 14px; border-radius: 10px; }
.nv-source { font-size: .85rem; color: var(--muted); }

/* İftar / sahur büyük göstergesi */
.nv-big { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.nv-big-item { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px 16px; text-align: center; }
.nv-big-item span { display: block; font-size: .85rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.nv-big-item strong { font-family: var(--serif); font-size: clamp(2.4rem, 11vw, 4rem); color: var(--sea-deep); line-height: 1.1; }
.nv-big-iftar { background: var(--sea-deep); border-color: var(--sea-deep); }
.nv-big-iftar span, .nv-big-iftar strong { color: #fff; }
.nv-big-iftar strong { color: var(--accent); }

/* Bugün kartı + geri sayım */
.nv-card { background: linear-gradient(160deg, #0b4f6c, #06283a); color: #fff; border-radius: 22px; padding: 20px 16px; }
.nv-card-date { opacity: .85; font-size: .95rem; }
.nv-next { margin: 10px 0 16px; display: grid; gap: 2px; }
.nv-next-label { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; opacity: .75; }
.nv-next-name { font-family: var(--serif); font-size: 1.6rem; }
.nv-countdown { font-size: clamp(1.8rem, 9vw, 2.6rem); font-weight: 700; font-variant-numeric: tabular-nums; color: var(--accent); }
.nv-times { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.nv-times li { background: rgba(255,255,255,.08); border-radius: 12px; padding: 10px 6px; text-align: center; }
.nv-times li span { display: block; font-size: .78rem; opacity: .8; }
.nv-times li b { font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.nv-times li.is-next { background: var(--accent); color: var(--sea-deep); }
.nv-times li.is-past { opacity: .5; }

/* Bilgi kutuları */
.nv-facts, .nv-tani { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px 16px; }
.nv-facts ul { padding-left: 18px; margin: 8px 0; }
.nv-facts li { margin-bottom: 6px; }
.nv-tani { background: #eef6f9; border-color: #d4e7ef; }
.nv-tani a { color: var(--sea); font-weight: 600; }
.nv-more { display: inline-block; margin-top: 6px; }

/* Tablo: mobilde yatay kaydırılır, tarih sütunu sabit kalır */
.nv-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 16px; border: 1px solid var(--line); background: #fff; }
.nv-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; min-width: 560px; }
.nv-table caption { text-align: left; padding: 12px 14px; font-weight: 600; color: var(--sea-deep); }
.nv-table th, .nv-table td { padding: 10px 8px; text-align: center; border-top: 1px solid var(--line); white-space: nowrap; }
.nv-table thead th { background: var(--sea-deep); color: #fff; font-size: .85rem; position: sticky; top: 0; }
.nv-table th small, .nv-table td small { display: block; font-size: .7rem; font-weight: 400; opacity: .75; }
.nv-table tbody th { text-align: left; position: sticky; left: 0; background: #fff; font-weight: 600; }
.nv-table tbody tr:nth-child(even) td, .nv-table tbody tr:nth-child(even) th { background: #faf7f2; }
.nv-table tr.nv-today td, .nv-table tr.nv-today th { background: #fff1d6 !important; }
.nv-table .nv-hl { font-weight: 700; color: var(--sea); }

/* Gün ızgarası (imsakiyede) ve ay bağlantıları */
.nv-daygrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.nv-daygrid a { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 6px; text-align: center; display: grid; }
.nv-daygrid b { font-family: var(--serif); font-size: 1.3rem; color: var(--sea-deep); }
.nv-daygrid span { font-size: .8rem; color: var(--muted); }
.nv-daygrid em { font-style: normal; font-weight: 700; color: var(--sea); }
.nv-months { display: flex; flex-wrap: wrap; gap: 8px; }
.nv-months a { background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 8px 14px; font-size: .92rem; }
.nv-daynav { display: flex; justify-content: space-between; gap: 8px; }
.nv-daynav a { background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 10px 14px; font-size: .9rem; color: var(--sea); font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }

/* Bilgisayar: geniş ekranda iki sütun, kart yanında tablo */
@media (min-width: 960px) {
  .nv-main { grid-template-columns: minmax(0, 1fr) 360px; padding-top: 110px; column-gap: 32px; }
  .nv-main > * { grid-column: 1; }
  .nv-main > .nv-card, .nv-main > .nv-tani { grid-column: 2; grid-row: span 3; align-self: start; position: sticky; top: 90px; }
  .nv-main > .nv-tani { grid-row: auto; position: static; }
  .nv-times { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .nv-countdown { transition: none; } }
