/* Namaz.info — Hadis Külliyatı */
.hd h2 { font-size: 1.2rem; margin: 1.6rem 0 .8rem; }
.hd-hero { background: linear-gradient(135deg, var(--_p) 0%, #0b453d 100%); color: #fff; border-radius: calc(var(--_r) + 4px); padding: 1.1rem 1.3rem; margin-bottom: 1rem; }
.hd-hero__eyebrow { margin: 0; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--_a); font-weight: 700; }
.hd-hero__txt { margin: .25rem 0 0; font-size: .95rem; }
.hd-hero__txt strong { font-size: 1.4rem; color: var(--_a); }
.hd-crumbs { font-size: .85rem; color: var(--_m); margin-bottom: .75rem; }
.hd-crumbs a { color: var(--_p); text-decoration: none; }
.hd-progress { background: var(--_s2); border-radius: 12px; padding: .7rem .9rem; }

.hd-form { background: var(--_s); border: 1px solid var(--_b); border-radius: var(--_r); padding: 1rem; margin-bottom: 1.25rem; }
.hd-search { display: flex; gap: .5rem; }
.hd-search input { flex: 1; min-width: 0; font: inherit; font-size: 1rem; padding: .75rem 1rem; border-radius: 99px; border: 1px solid var(--_b); background: var(--_bg); color: var(--_t); }
.hd-search input:focus { outline: 0; border-color: var(--_p); box-shadow: 0 0 0 3px color-mix(in srgb, var(--_p) 18%, transparent); }
.hd-filters { margin-top: .9rem; display: grid; gap: .8rem; }
.hd-f { border: 0; margin: 0; padding: 0; min-width: 0; }
.hd-f legend, .hd-selects label > span { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--_m); margin-bottom: .35rem; padding: 0; }
.hd-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.hd-chip { cursor: pointer; }
.hd-chip input { position: absolute; opacity: 0; pointer-events: none; }
.hd-chip span { display: inline-flex; gap: .35rem; align-items: baseline; padding: .4rem .8rem; border-radius: 99px; background: var(--_s2); border: 1px solid transparent; font-size: .88rem; font-weight: 600; color: var(--_t); transition: .15s; }
.hd-chip small { font-weight: 400; color: var(--_m); font-size: .72rem; }
.hd-chip input:checked + span { background: var(--_p); color: #fff; }
.hd-chip input:checked + span small { color: rgba(255, 255, 255, .8); }
.hd-chip input:focus-visible + span { outline: 2px solid var(--_a); outline-offset: 2px; }
.hd-selects { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: .6rem .8rem; }
.hd-selects select { width: 100%; font: inherit; font-size: .92rem; padding: .55rem .7rem; border-radius: 10px; border: 1px solid var(--_b); background: var(--_bg); color: var(--_t); }
.hd-bar-row { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; justify-content: space-between; border-top: 1px dashed var(--_b); padding-top: .7rem; }
.hd-langs { display: flex; flex-wrap: wrap; gap: .3rem .9rem; align-items: center; font-size: .88rem; }
.hd-langs > span { color: var(--_m); font-size: .8rem; }
.hd-langs label { display: inline-flex; gap: .3rem; align-items: center; cursor: pointer; }
.hd-single > .hd-langs { margin-bottom: .8rem; }
.hd-reset { font-size: .85rem; color: var(--_m); }

.hd-konular { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .45rem; }
.hd-konular a { display: flex; justify-content: space-between; gap: .5rem; align-items: center; padding: .6rem .8rem; border-radius: 12px; background: var(--_s); border: 1px solid var(--_b); text-decoration: none; color: var(--_t); font-size: .9rem; font-weight: 600; }
.hd-konular a:hover { border-color: var(--_p); color: var(--_p); }
.hd-konular small { color: var(--_m); font-weight: 400; font-size: .75rem; }
.hd-kitaplar { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .6rem; }
.hd-kitap-card { display: flex; flex-direction: column; gap: .2rem; padding: .9rem 1rem; border-radius: 14px; background: var(--_s); border: 1px solid var(--_b); border-left: 4px solid var(--hk, var(--_p)); text-decoration: none; color: var(--_t); }
.hd-kitap-card:hover { box-shadow: 0 10px 24px -18px rgba(0, 0, 0, .5); }
.hd-kitap-card span { font-size: .82rem; color: var(--_m); }
.hd-kitap-card small { font-size: .78rem; color: var(--_p); }
.is-filtering .hd-daily, .is-filtering .hd-browse, .is-filtering .hd-all-title { display: none; }

/* Kitap renkleri */
.hd-kitap--bukhari { --hk: #0e5a4f; } .hd-kitap--muslim { --hk: #2f6f9f; } .hd-kitap--abudawud { --hk: #8a5a1c; }
.hd-kitap--tirmidhi { --hk: #6b4a9c; } .hd-kitap--nasai { --hk: #a13d4e; } .hd-kitap--ibnmajah { --hk: #4f6b2a; }

.hd-count { font-size: .88rem; color: var(--_m); margin: 0 0 .7rem; }
.hd-results.is-loading { opacity: .5; pointer-events: none; transition: opacity .15s; }
.hd-list { display: grid; gap: .8rem; }
.hd-empty { padding: 1.2rem; text-align: center; background: var(--_s2); border-radius: 12px; color: var(--_m); }
.hd-card { background: var(--_s); border: 1px solid var(--_b); border-radius: var(--_r); padding: 1rem 1.1rem; }
.hd-card__head { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; margin-bottom: .6rem; }
.hd-kitap { font-size: .75rem; font-weight: 700; padding: .2rem .6rem; border-radius: 99px; color: #fff; background: var(--hk, var(--_p)); text-decoration: none; }
.hd-kitap:hover { color: #fff; filter: brightness(1.1); }
.hd-no { font-size: .8rem; font-weight: 700; color: var(--_t); text-decoration: none; }
.hd-derece { margin-left: auto; font-size: .72rem; font-weight: 700; padding: .18rem .55rem; border-radius: 6px; cursor: help; }
.hd-derece--sahih { background: #dff2e9; color: #0b5a3c; }
.hd-derece--hasen { background: #e3eefb; color: #1f4e86; }
.hd-derece--zayif { background: #fbeedd; color: #8a4b08; }
.hd-derece--mevzu { background: #fbe1e1; color: #9b1c1c; }
.hd-ar { font-family: var(--_ar); font-size: 1.35rem; line-height: 2.1; margin: 0 0 .7rem; color: var(--_t); text-align: right; }
.hd-tr { font-size: 1.02rem; line-height: 1.75; margin: 0 0 .6rem; }
.hd-en { font-size: .92rem; line-height: 1.65; color: var(--_m); margin: 0 0 .6rem; font-style: italic; border-left: 3px solid var(--_b); padding-left: .7rem; }
.hd-note { font-size: .78rem; color: var(--_m); margin: 0 0 .5rem; }
.hd-hide-ar .hd-ar, .hd-hide-tr .hd-tr, .hd-hide-en .hd-en { display: none; }
.hd-card:not(.hd-card--full) .hd-ar, .hd-card:not(.hd-card--full) .hd-tr, .hd-card:not(.hd-card--full) .hd-en { display: -webkit-box; -webkit-line-clamp: 8; -webkit-box-orient: vertical; overflow: hidden; }
.hd-hide-ar .hd-card .hd-ar, .hd-hide-tr .hd-card .hd-tr, .hd-hide-en .hd-card .hd-en { display: none !important; }
.hd-card__foot { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; justify-content: space-between; border-top: 1px solid var(--_b); padding-top: .6rem; margin-top: .3rem; }
.hd-tags { display: flex; flex-wrap: wrap; gap: .3rem .7rem; font-size: .8rem; }
.hd-tags a { color: var(--_m); text-decoration: none; }
.hd-tags a:hover { color: var(--_p); text-decoration: underline; }
.hd-tags .hd-tag-konu { color: var(--_p); font-weight: 600; }
.hd-acts { display: flex; gap: .3rem; }
.hd-act { font: inherit; font-size: .78rem; padding: .3rem .7rem; border-radius: 99px; border: 1px solid var(--_b); background: transparent; color: var(--_p); cursor: pointer; text-decoration: none; }
.hd-act:hover { background: var(--_s2); }
.hd-grades { margin-top: .9rem; background: var(--_s2); border-radius: 12px; padding: .8rem 1rem; font-size: .88rem; }
.hd-grades h3 { font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--_m); margin: 0 0 .4rem; }
.hd-grades ul { list-style: none; margin: 0 !important; padding: 0 !important; display: grid; gap: .25rem; }
.hd-grades li { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px dashed var(--_b); padding: .2rem 0; margin: 0; }
.hd-grades--sahihayn { margin-bottom: 0; }
.hd-card--full .hd-ar { font-size: 1.6rem; }
.hd-card--full .hd-tr { font-size: 1.1rem; }
.hd-ref { font-size: .85rem; color: var(--_m); margin: .8rem 0; }
.hd-prevnext { display: flex; justify-content: space-between; gap: 1rem; margin: 1rem 0; }
.hd-prevnext a { padding: .5rem .9rem; border-radius: 99px; background: var(--_s2); text-decoration: none; color: var(--_p); font-weight: 600; font-size: .9rem; }
.hd-prevnext a[rel=next] { margin-left: auto; }

.hd-pager { display: flex; flex-wrap: wrap; gap: .35rem; justify-content: center; margin: 1.3rem 0; }
.hd-pager a, .hd-pager span { min-width: 2.3rem; text-align: center; padding: .45rem .7rem; border-radius: 10px; background: var(--_s); border: 1px solid var(--_b); text-decoration: none; color: var(--_t); font-size: .9rem; }
.hd-pager .is-current { background: var(--_p); border-color: var(--_p); color: #fff; font-weight: 700; }
.hd-pager .hd-gap { border: 0; background: transparent; }

.hd-kitap-intro { background: var(--_s); border: 1px solid var(--_b); border-left: 5px solid var(--hk, var(--_p)); border-radius: var(--_r); padding: 1rem 1.1rem; }
.hd-kitap-intro p { margin: 0 0 .7rem; }
.hd .hd-bolumler { list-style: none; margin: 0 !important; padding: 0 !important; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .45rem; }
.hd-bolumler li { margin: 0; }
.hd-bolumler a { display: grid; grid-template-columns: auto 1fr; gap: .1rem .6rem; align-items: center; padding: .6rem .8rem; border-radius: 12px; background: var(--_s); border: 1px solid var(--_b); text-decoration: none; color: var(--_t); }
.hd-bolumler a:hover { border-color: var(--_p); }
.hd-bno { grid-row: span 2; width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: 8px; background: var(--_s2); color: var(--_p); font-weight: 700; font-size: .8rem; }
.hd-bad { font-weight: 600; font-size: .92rem; }
.hd-bolumler small { color: var(--_m); font-size: .75rem; }
.hd-bar { margin-top: .5rem; height: 8px; border-radius: 99px; overflow: hidden; background: var(--_s2); }
.hd-bar span { display: block; height: 100%; background: var(--_p); }

@media (max-width: 560px) {
	.hd-card { padding: .85rem .9rem; }
	.hd-ar { font-size: 1.2rem; }
	.hd-card--full .hd-ar { font-size: 1.35rem; line-height: 2; }
	.hd-search .ni-btn { padding-inline: .9rem; }
	.hd-derece { margin-left: 0; }
}
@media print {
	.hd-form, .hd-acts, .hd-pager, .hd-prevnext, .hd-langs { display: none !important; }
}

.hd-act.tts-card { display: inline-flex; align-items: center; gap: .25rem; }
.hd-act.tts-card svg { width: 14px; height: 14px; }
.hd-act.tts-card.is-active { background: var(--_p); color: #fff; border-color: var(--_p); }
.hd-listen { margin: 0 0 .6rem; }
