/* Madrasatun Nur category archive presentation */
.mtn-category-archive{--mtn-ink:#17363a;--mtn-teal:#176d68;--mtn-gold:#d6b347;--mtn-paper:#f7f8f6;color:var(--mtn-ink)}
.mtn-category-shell{width:min(1160px,calc(100% - 40px));margin-inline:auto}
.mtn-category-hero{padding:24px 0 64px;background:linear-gradient(125deg,#142e32 0%,#1b4c4d 60%,#176d68 100%);color:#fff}
.mtn-category-breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:0 0 46px;font-size:14px;color:rgba(255,255,255,.82)}
.mtn-category-breadcrumb a{color:#fff;text-decoration:none}
.mtn-category-breadcrumb a:hover,.mtn-category-breadcrumb a:focus{text-decoration:underline;color:#fff}
.mtn-category-breadcrumb-separator{color:var(--mtn-gold)}
.mtn-category-archive .mtn-category-hero .mtn-category-eyebrow{display:inline-block;margin:0 0 10px;padding:6px 10px;border-radius:4px;background:rgba(255,255,255,.09);color:#f1d77c!important;font-size:13px;font-weight:700;letter-spacing:.13em;text-transform:uppercase}
.mtn-category-title{margin:0;color:#fff;font-size:clamp(34px,5vw,54px);line-height:1.12;font-weight:700}
.mtn-category-description{max-width:760px;margin:18px 0 0;color:rgba(255,255,255,.9);font-size:17px;line-height:1.7}
.mtn-category-archive .mtn-category-hero .mtn-category-description,
.mtn-category-archive .mtn-category-hero .mtn-category-description p{color:#f5f7f4!important;opacity:1!important}
.mtn-category-description p:last-child{margin-bottom:0}
.mtn-category-content{padding:52px 0 72px;background:var(--mtn-paper)}
.mtn-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}
.mtn-category-card{overflow:hidden;background:#fff;border:1px solid #e7ebe8;border-radius:12px;box-shadow:0 8px 24px rgba(23,54,58,.07);transition:transform .2s ease,box-shadow .2s ease}
.mtn-category-card:hover{transform:translateY(-4px);box-shadow:0 14px 32px rgba(23,54,58,.12)}
.mtn-category-card-media{position:relative;display:block;aspect-ratio:16/10;overflow:hidden;background:#e7eeeb}
.mtn-category-card-image{display:block;width:100%;height:100%;object-fit:cover;transition:transform .3s ease}
.mtn-category-card:hover .mtn-category-card-image{transform:scale(1.035)}
.mtn-category-card-placeholder{position:absolute;inset:0;display:grid;place-items:center;width:100%;height:100%;overflow:hidden;background:radial-gradient(circle at center,rgba(241,215,124,.12) 0,rgba(241,215,124,0) 35%),linear-gradient(135deg,#173a3d,#176d68);color:#f7e39a;font-family:Georgia,serif;font-size:20px;font-weight:600;letter-spacing:.03em;text-align:center}.mtn-category-card-placeholder::before{position:absolute;content:"";width:112px;height:112px;border:1px solid rgba(241,215,124,.35);border-radius:50%;box-shadow:0 0 0 12px rgba(241,215,124,.06),0 0 0 24px rgba(241,215,124,.035)}
.mtn-category-card-body{padding:22px 23px 24px}
.mtn-category-card-date{display:block;margin-bottom:10px;color:#667572;font-size:13px}
.mtn-category-card-title{margin:0 0 12px;font-size:22px;line-height:1.35}
.mtn-category-card-title a{color:var(--mtn-ink);text-decoration:none}
.mtn-category-card-title a:hover,.mtn-category-card-title a:focus{color:var(--mtn-teal)}
.mtn-category-card-excerpt{margin:0 0 18px;color:#52615e;font-size:15px;line-height:1.65}
.mtn-category-card-link{display:inline-flex;gap:9px;align-items:center;color:var(--mtn-teal);font-size:14px;font-weight:700;text-decoration:none}
.mtn-category-card-link:hover,.mtn-category-card-link:focus{color:#0e514d;text-decoration:underline}
.mtn-category-pagination{margin-top:42px;text-align:center}
.mtn-category-pagination .nav-links{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.mtn-category-pagination .page-numbers{display:inline-flex;min-width:42px;min-height:42px;align-items:center;justify-content:center;padding:8px 13px;border:1px solid #dce5e1;border-radius:6px;background:#fff;color:var(--mtn-ink);text-decoration:none}
.mtn-category-pagination .page-numbers.current,.mtn-category-pagination .page-numbers:hover{border-color:var(--mtn-teal);background:var(--mtn-teal);color:#fff}
.mtn-category-empty{padding:40px 24px;border:1px solid #e2e9e5;border-radius:12px;background:#fff;text-align:center}
.mtn-category-empty h2{margin:0 0 10px;color:var(--mtn-ink)}
.mtn-category-empty p{margin:0;color:#52615e}
/* Category-specific colours, using the existing Madrasatun Nur palette. */
.mtn-category-salah .mtn-category-hero{background:linear-gradient(125deg,#142e32 0%,#174e5d 58%,#176d68 100%)}
.mtn-category-ramadan-fasting .mtn-category-hero{background:linear-gradient(125deg,#123b35 0%,#176d58 58%,#b58c2b 100%)}
.mtn-category-sawm .mtn-category-hero{background:linear-gradient(125deg,#173b32 0%,#347258 60%,#8caa79 100%)}
.mtn-category-zakat .mtn-category-hero{background:linear-gradient(125deg,#3c3322 0%,#6d5a2c 58%,#c39c37 100%)}
.mtn-category-hajj .mtn-category-hero,.mtn-category-hajj-umrah .mtn-category-hero{background:linear-gradient(125deg,#182c2a 0%,#415b4c 58%,#b79745 100%)}
@media(max-width:900px){.mtn-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}}
@media(max-width:600px){.mtn-category-shell{width:min(100% - 30px,1160px)}.mtn-category-hero{padding:20px 0 42px}.mtn-category-breadcrumb{margin-bottom:32px}.mtn-category-description{font-size:16px}.mtn-category-content{padding:34px 0 48px}.mtn-category-grid{grid-template-columns:1fr;gap:18px}.mtn-category-card-body{padding:19px}.mtn-category-card-title{font-size:20px}}
@media(prefers-reduced-motion:reduce){.mtn-category-card,.mtn-category-card-image{transition:none}.mtn-category-card:hover{transform:none}.mtn-category-card:hover .mtn-category-card-image{transform:none}}
