/* Static azkar pages (generated by scripts/build-seo.mjs) — builds on tasbeeh.css */

a.topbar-btn {
    text-decoration: none;
}

.topbar-btn svg circle {
    fill: none;
}

.doc {
    flex: 1;
    width: min(100%, 720px);
    margin-inline: auto;
    padding-block: 12px 24px;
}

/* Breadcrumbs */
.crumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
    list-style: none;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.crumbs li + li::before {
    content: '‹';
    margin-inline-end: 6px;
    opacity: 0.6;
}

.crumbs a {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.crumbs a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Card content */
.doc-card {
    width: 100%;
    text-align: start;
}

.doc-title {
    font-family: var(--font-quran);
    font-size: clamp(28px, 5vw, 40px);
    line-height: 1.5;
    color: var(--accent-ink);
    text-wrap: balance;
}

.doc-intro {
    margin-top: 6px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
}

.zekr-list {
    margin-top: 18px;
    list-style: none;
}

.zekr-item {
    padding-block: 22px;
    border-top: 1px solid var(--gold-soft);
    scroll-margin-top: 16px;
}

.zekr-item:target {
    margin-inline: -14px;
    padding-inline: 14px;
    border-radius: 16px;
    background: #f6efdf;
}

.zekr-text {
    font-family: var(--font-quran);
    font-size: clamp(20px, 3.6vw, 25px);
    line-height: 2;
    color: var(--ink);
    text-wrap: pretty;
}

.zekr-bless {
    margin-top: 10px;
    padding: 10px 14px;
    border-radius: 14px;
    background: #f3ecdc;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
}

.zekr-bless strong {
    color: var(--gold);
}

.zekr-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 12px;
}

.chip {
    padding: 4px 12px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--accent) 10%, transparent);
    color: var(--accent-ink);
    font-size: 13px;
    font-weight: 700;
}

.zekr-go {
    color: var(--accent-ink);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.zekr-go:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Previous / next category */
.doc-pager {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
}

.doc-pager a {
    display: block;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none;
}

.doc-pager a:hover {
    background: rgba(255, 255, 255, 0.18);
}

.doc-pager small {
    display: block;
    font-size: 12px;
    font-weight: 500;
    opacity: 0.7;
}

.doc-pager .next {
    grid-column: 2;
    text-align: end;
}

/* Category index */
.cat-group {
    margin-top: 22px;
}

.cat-group h2 {
    margin-bottom: 10px;
    color: var(--gold);
    font-size: 15px;
}

.cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
    gap: 8px;
    list-style: none;
}

.cat-grid a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    height: 100%;
    padding: 11px 14px;
    border: 1px solid var(--gold-soft);
    border-radius: 14px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none;
}

.cat-grid a:hover {
    background: #f3ecdc;
}

.cat-grid span {
    flex: none;
    color: var(--muted);
    font-size: 12px;
    font-weight: 500;
}
