/* Quran passages inside pages, surah cards and child-page cards (loaded only where used). */
.sq-passage { display: flex; flex-direction: column; gap: 18px; line-height: normal; }
.sq-passage .sq-reader-controls { border: 1px solid var(--sq-line); border-radius: 18px; background: #fff; }
.sq-passage .sq-reader-controls .sq-container { max-width: none; padding-inline: 16px; }
.sq-passage .sq-reader-controls-inner { padding-block: 12px; }
.sq-passage .sq-ayahs { flex: none; }
.sq-passage-surah { margin: 10px 0 0 !important; font-family: var(--sq-serif); font-size: 26px; font-weight: 700; }
.sq-passage-surah a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; color: var(--sq-teal); text-decoration: none; }
.sq-passage-surah .sq-ar { font-size: 26px; color: var(--sq-gold-dark); }
.sq-passage-surah a:hover > span:first-child { text-decoration: underline; text-underline-offset: 4px; }
.sq-passage .sq-reader-credit { font-size: 13px; }
.sq-passage-more a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--sq-gold-dark); }
.sq-passage-more a::after { content: "→"; }

.sq-sc { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(270px, 100%), 1fr)); gap: 16px; margin: 0; padding: 0 !important; list-style: none; }
.sq-sc-card a { display: flex; flex-direction: column; gap: 8px; height: 100%; box-sizing: border-box; padding: 20px 22px; border-radius: 20px; border: 1px solid var(--sq-line); background: #fff; color: inherit; text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease; }
.sq-sc-card a:hover, .sq-sc-card a:focus-visible { border-color: var(--sq-gold); box-shadow: 0 18px 36px -24px rgba(6, 42, 43, .45); }
.sq-sc-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.sq-sc-ar { font-size: 30px; line-height: 1.5; color: var(--sq-gold-dark); }
.sq-sc-name { font-family: var(--sq-serif); font-size: 25px; font-weight: 700; line-height: 1.2; color: var(--sq-teal); }
.sq-sc-meta { font-size: 13.5px; font-weight: 600; color: var(--sq-muted); }
.sq-sc-text { font-size: 15px; line-height: 1.6; color: #2E3F3E; }
