/* Daily panchang page: the facts grid, the city links and the tables. Loaded only on that page. */
.pt-body { max-width: 1120px; margin: 0 auto; padding: 8px max(16px, 4vw) 8px; }
.pt-sec { margin: 0 0 28px; }
.pt-sec h2 { margin: 26px 0 10px; font-size: clamp(24px, 3vw, 30px); letter-spacing: -.3px; }
.pt-sec p { max-width: 70ch; }
.pt-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; margin: 0 0 12px; }
.pt-facts-3 { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.pt-facts > div { padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.pt-facts dt { font-size: 12.5px; color: var(--muted); line-height: 1.3; }
.pt-facts dd { margin: 2px 0 0; font-size: 18px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.pt-note { display: block; margin-top: 2px; font-size: 13.5px; font-weight: 500; color: var(--muted); }
.pt-box { padding: 12px 14px; border: 1px solid var(--ux-tint-ex-b); border-radius: 12px; background: var(--ux-tint-ex); }
.pt-cities { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pt-city { display: flex; align-items: center; min-height: 48px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); text-decoration: none; font-size: 17px; font-weight: 600; overflow-wrap: anywhere; }
.pt-city:hover { border-color: var(--saffron); }
.pt-city:focus-visible, .pt-sec a:focus-visible { outline: 3px solid #4a4690; outline-offset: 2px; }
.pt-city[aria-current="true"] { background: var(--ux-primary); border-color: var(--ux-primary); color: #fff8e8; }
.pt-now { font-weight: 600; }
@media (min-width: 420px) { .pt-cities { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 720px) { .pt-cities { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.pt-tbl { margin: 8px 0 14px; }
.pt-table, .pt-plain { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid #cfc9e6; border-radius: 12px; overflow: hidden; font-size: 15px; }
.pt-table caption, .pt-plain caption { text-align: left; padding: 0 0 6px; font-size: 13px; color: var(--muted); }
.pt-table th, .pt-table td, .pt-plain th, .pt-plain td { padding: 10px 12px; text-align: left; vertical-align: top; border-top: 1px solid #e6e1f2; line-height: 1.4; }
.pt-table thead th, .pt-plain thead th { border-top: 0; background: var(--ux-tint-ex); font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--ux-primary-2); }
.pt-table tbody th, .pt-plain tbody th { font-weight: 600; }
@media (max-width: 640px) {
  .pt-facts, .pt-facts-3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .pt-table, .pt-table tbody, .pt-table tr, .pt-table th, .pt-table td { display: block; width: 100%; }
  .pt-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .pt-table caption { display: block; }
  .pt-table tr { padding: 8px 0; border-top: 1px solid #cfc9e6; }
  .pt-table tbody tr:first-child { border-top: 0; }
  .pt-table th, .pt-table td { border: 0; padding: 3px 12px; }
  .pt-table td::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: var(--ux-primary-2); }
}
