/* City prayer-time pages and the city list (loaded only where these blocks are used). */
.sq-pc { display: flex; flex-direction: column; gap: 26px; }
.sq-pc > * { margin-block: 0 !important; }
.sq-pc .sq-prayer-card { margin: 0; }
.sq-pc-summary { margin: 0; padding: 16px 20px; border-radius: 16px; background: var(--sq-sand); color: var(--sq-ink); font-size: 16px; line-height: 1.7; }
.sq-pc-heading { margin: 10px 0 0 !important; font-family: var(--sq-serif); font-size: clamp(26px, 3vw, 34px); font-weight: 700; line-height: 1.2; color: var(--sq-teal); }
.sq-pc p { margin: 0; }

.sq-pc-table-wrap { max-width: 100%; overflow-x: auto; border: 1px solid var(--sq-line); border-radius: 18px; background: #fff; -webkit-overflow-scrolling: touch; }
.sq-pc-table-wrap:focus-visible { outline: 2px solid var(--sq-gold); outline-offset: 2px; }
.sq-pc-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 14.5px; line-height: 1.4; font-variant-numeric: tabular-nums; }
.sq-pc-table th, .sq-pc-table td { padding: 10px 12px; text-align: left; white-space: nowrap; border-bottom: 1px solid var(--sq-line); }
.sq-pc-table thead th { position: sticky; top: 0; background: var(--sq-teal); color: #fff; font-weight: 600; font-size: 13px; letter-spacing: .02em; }
.sq-pc-table tbody th { font-weight: 600; color: var(--sq-teal); }
.sq-pc-table tbody tr:nth-child(even) { background: var(--sq-cream); }
.sq-pc-table tbody tr:last-child > * { border-bottom: 0; }
.sq-pc-table tr.is-today { background: var(--sq-gold-light) !important; }
.sq-pc-table tr.is-today > * { font-weight: 700; color: var(--sq-teal-deep); }
.sq-pc-table td.sq-pc-hijri { color: var(--sq-muted); font-size: 13px; }
.sq-pc-table tbody th, .sq-pc-table thead th:first-child { position: sticky; left: 0; z-index: 1; }
.sq-pc-table tbody th { background: inherit; }
.sq-pc-table tbody tr:nth-child(odd) th { background: #fff; }
.sq-pc-table tbody tr:nth-child(even) th { background: var(--sq-cream); }
.sq-pc-table thead th:first-child { z-index: 2; }

.sq-pc-others { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.sq-pc-others a { display: inline-block; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--sq-line); background: #fff; color: var(--sq-teal); font-size: 15px; font-weight: 600; text-decoration: none; }
.sq-pc-others a:hover, .sq-pc-others a:focus-visible { border-color: var(--sq-gold); background: var(--sq-cream); }

.sq-pc-cities > * { margin-block: 0; }
.sq-pc-cities .sq-pc-heading { margin-bottom: 18px !important; }
.sq-pc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.sq-pc-card a { display: flex; flex-direction: column; gap: 8px; height: 100%; box-sizing: border-box; padding: 18px 20px; border-radius: 18px; border: 1px solid var(--sq-line); background: #fff; color: inherit; text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease; }
.sq-pc-card a:hover, .sq-pc-card a:focus-visible { border-color: var(--sq-gold); box-shadow: 0 18px 36px -24px rgba(6, 42, 43, .45); }
.sq-pc-card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.sq-pc-card-name { font-family: var(--sq-serif); font-size: 25px; font-weight: 700; color: var(--sq-teal); line-height: 1.2; }
.sq-pc-card-ur { font-family: var(--sq-urdu); font-size: 16px; line-height: 2; color: var(--sq-gold-dark); }
.sq-pc-card-times { font-size: 14px; color: var(--sq-muted); }

@media (max-width: 600px) {
	.sq-pc-summary { font-size: 15px; padding: 14px 16px; }
	.sq-pc-table { font-size: 13.5px; }
	.sq-pc-table th, .sq-pc-table td { padding: 9px 10px; }
}
