/* Language Ayat page aligned with the English Ayat reading-card design. */
@font-face{
  font-family:'Noto Nastaliq Urdu';
  font-style:normal;
  font-weight:400 700;
  font-display:swap;
  src:url('/fonts/NotoNastaliqUrdu-arabic.woff2') format('woff2');
  unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC;
}
.qe-nav,.qe-nav-inner,.qe-tools{direction:ltr}
.qe-lang-ayat-page{
  padding:38px 0 60px!important;
  background:linear-gradient(rgba(250,248,242,.94),rgba(250,248,242,.94)),url('/images/bg-1.jpg') center top/cover fixed;
}
.qe-lang-ayat-page .blog-area{width:100%!important;max-width:none!important;padding:0 20px!important}
.qe-lang-ayat-page .blog{display:none!important}
.qe-lang-ayat-page #mySidebar{display:none!important}
.qe-lang-ayat-page .facebook-social{display:flex;justify-content:center;margin:0 0 28px}
.qe-lang-ayat-page .facebook-social .fb-share-button{
  min-width:100px;padding:10px 22px;border:1px solid #9dc8bf;border-radius:999px;background:#fff;color:#00665b;text-align:center;box-shadow:0 4px 13px rgba(27,63,56,.08)
}
.qe-lang-ayat-page .qe-ayat-reading-card{
  width:min(1125px,calc(100% - 20px))!important;
  max-width:1125px!important;
  margin:0 auto!important;
  padding:28px 48px 46px!important;
  border:1px solid #ddd3c1!important;
  border-radius:25px!important;
  background:rgba(255,255,255,.92)!important;
  box-shadow:0 18px 45px rgba(42,54,49,.1)!important;
  overflow:hidden;
}
.qe-lang-ayat-page .qe-ayat-breadcrumb{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px;color:#67736f;font-size:13px;direction:ltr}
.qe-lang-ayat-page .qe-ayat-back{display:inline-flex;align-items:center;justify-content:center;min-width:92px;height:43px;padding:0 18px;border:1px solid #b9cbc6;border-radius:22px;background:#fff;color:#00584e!important;font-weight:600;text-decoration:none!important}
.qe-lang-ayat-page .qe-ayat-trail a{color:#56706a!important;text-decoration:none!important}
.qe-lang-ayat-page .qe-ayat-intro{
  display:grid!important;
  grid-template-columns:minmax(0,1fr);
  grid-template-areas:'title' 'arabic' 'translations';
  gap:28px;
  align-items:center;
  margin:0!important;
  padding:0 0 32px!important;
  border-bottom:1px solid #e0d7c8!important;
  direction:ltr;
}
.qe-lang-ayat-page .qe-ayat-title{grid-area:title;width:100%!important;padding:0!important}
.qe-lang-ayat-page .qe-ayat-title h1{position:relative;margin:0!important;padding:0 0 31px!important;color:#063f38!important;font-family:'Libre Franklin',sans-serif!important;font-size:29px!important;font-weight:700!important;line-height:1.45!important;text-align:center!important}
.qe-lang-ayat-page .qe-ayat-title h1:after{content:'✦';position:absolute;left:50%;bottom:0;width:230px;height:20px;transform:translateX(-50%);border-left:86px solid #caa75d;border-right:86px solid #caa75d;color:#caa75d;font-size:14px;line-height:1px;text-align:center}
.qe-lang-ayat-page .qe-ayat-arabic{grid-area:arabic;width:100%!important;padding:10px 0!important;text-align:right!important;direction:rtl}
.qe-lang-ayat-page .qe-ayat-arabic h2{position:relative;margin:0!important;padding:0 82px 0 0!important;color:#075d54!important;font-size:37px!important;line-height:1.9!important}
.qe-lang-ayat-page .qe-ayat-number{position:absolute;top:50%;right:0;display:grid;width:58px;height:58px;place-items:center;transform:translateY(-50%);border:2px solid #c7a558;border-radius:50%;background:#fbfaf6;color:#8f6e2c;font-family:'Libre Franklin',sans-serif;font-size:17px;font-weight:700}
.qe-lang-ayat-page .qe-ayat-arabic p{margin:18px 0 0!important;color:#286a62!important;font-family:'Libre Franklin',sans-serif!important;font-size:17px!important;line-height:1.6!important;direction:ltr;text-align:right}
.qe-lang-ayat-page .qe-ayat-translations{grid-area:translations;width:100%!important;padding:0!important}
.qe-lang-ayat-page .qe-ayat-translations h4{margin:0!important;padding:19px 0!important;color:#263632!important;font-size:19px!important;line-height:2!important;border:0!important}
.qe-lang-ayat-page .qe-ayat-translations>h4>div{padding:0!important;text-align:right!important;direction:rtl}
.qe-lang-ayat-page .qe-ayat-translations .tarzamah{display:inline-block;margin-bottom:8px;color:#00675b;font-size:15px}
.qe-lang-ayat-page .qe-tafsir-section{width:100%!important;margin:0!important;padding:34px 0 0!important}
.qe-lang-ayat-page .qe-tafsir-section>.row{margin:0!important}
.qe-lang-ayat-page .qe-tafsir-section .commentry-box h3{margin:0 0 25px!important;color:#063f38!important;font-size:24px!important;font-weight:700!important;line-height:1.5!important;text-align:center}
.qe-lang-ayat-page .qe-tafsir-section .commentry-box h3{width:100%!important;max-width:none!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
.qe-lang-ayat-page .qe-tafsir-section .tab-container{
  margin:0!important;
  padding:28px 32px!important;
  border:1px solid #e1d6c3!important;
  border-top:5px solid #00675b!important;
  border-radius:15px!important;
  background:#fff!important;
  box-shadow:0 8px 20px rgba(48,57,53,.08)!important;
  color:#273431!important;
  font-size:18px!important;
  line-height:2.05!important;
}
.qe-lang-ayat-page .qe-tafsir-section .tab-container>h4{margin:0 0 22px!important;padding:12px 16px!important;border-radius:9px;background:linear-gradient(145deg,#007166,#004b43);color:#fff!important;font-size:20px!important;text-align:center!important}
.qe-lang-ayat-page .qe-tafsir-section .tab-container h3{color:#075d54!important;font-size:21px!important;line-height:1.8!important}
.qe-lang-ayat-page .qe-tafsir-section .tab-container p{color:#273431!important;font-size:18px!important;line-height:2.05!important}
.qe-lang-ayat-page .qe-tafsir-section .tab-container img{max-width:100%;height:auto}
.qe-lang-ayat-page .qe-verse-pager{
  width:min(1125px,calc(100% - 40px));margin:28px auto 0;padding:24px 28px;border:1px solid #ddd3c1;border-radius:20px;background:rgba(255,255,255,.94);box-shadow:0 14px 35px rgba(42,54,49,.09);direction:ltr
}
.qe-lang-ayat-page .qe-verse-pager__heading{display:flex;align-items:center;justify-content:center;gap:14px;margin-bottom:20px;color:#074f47;text-align:center}
.qe-lang-ayat-page .qe-verse-pager__heading>div{display:flex;align-items:baseline;gap:9px;direction:rtl}
.qe-lang-ayat-page .qe-verse-pager__heading strong{font-size:20px}
.qe-lang-ayat-page .qe-verse-pager__heading span:not(.qe-verse-pager__ornament){color:#6d7a76;font-size:13px}
.qe-lang-ayat-page .qe-verse-pager__ornament{width:48px;height:1px;background:linear-gradient(90deg,transparent,#20a773)}
.qe-lang-ayat-page .qe-verse-pager__ornament:last-child{transform:scaleX(-1)}
.qe-lang-ayat-page .qe-verse-pager__pages{display:flex;align-items:center;justify-content:center;gap:8px;min-height:42px}
.qe-lang-ayat-page .qe-verse-pager__page,.qe-lang-ayat-page .qe-verse-pager__ellipsis{display:grid;width:40px;height:40px;place-items:center;border-radius:9px;font-family:'Libre Franklin',sans-serif;font-size:14px}
.qe-lang-ayat-page .qe-verse-pager__page{border:1px solid #dbe6e2;background:#fff;color:#08745f!important;text-decoration:none!important;box-shadow:0 3px 9px rgba(31,67,59,.08);transition:.2s ease}
.qe-lang-ayat-page .qe-verse-pager__page:hover{border-color:#0b956f;transform:translateY(-1px)}
.qe-lang-ayat-page .qe-verse-pager__page.is-active{border-color:#078a62;background:linear-gradient(145deg,#0aa06f,#057a58);color:#fff!important;box-shadow:0 5px 12px rgba(5,126,88,.25)}
.qe-lang-ayat-page .qe-verse-pager__ellipsis{color:#7b8985;font-weight:700}
.qe-lang-ayat-page .qe-verse-pager__actions{display:flex;justify-content:space-between;gap:15px;margin-top:22px;padding-top:19px;border-top:1px solid #e9e3d8}
.qe-lang-ayat-page .qe-verse-pager__action{display:inline-flex;min-width:132px;height:43px;align-items:center;justify-content:center;gap:9px;border:1px solid #dbe4e1;border-radius:9px;background:#f7f9f8;color:#536a64!important;font-size:14px;text-decoration:none!important}
.qe-lang-ayat-page .qe-verse-pager__action--next{border-color:#078a62;background:linear-gradient(145deg,#0aa06f,#057a58);color:#fff!important}
.qe-lang-ayat-page .qe-verse-pager__action.is-disabled{opacity:.45;pointer-events:none}
.qe-lang-ayat-page .qe-verse-jump{display:grid;grid-template-columns:auto minmax(220px,390px) auto;align-items:center;justify-content:center;gap:12px;margin-top:18px;padding-top:18px;border-top:1px solid #e9e3d8;direction:ltr}
.qe-lang-ayat-page .qe-verse-jump label{margin:0;color:#075d54;font-size:14px;font-weight:700;white-space:nowrap;direction:rtl}
.qe-lang-ayat-page .qe-verse-jump__control{position:relative;min-width:0}
.qe-lang-ayat-page .qe-verse-jump input{width:100%;height:44px;padding:0 39px;border:1px solid #cfddd8;border-radius:10px;outline:0;background:#fff;color:#24423c;font-family:'Libre Franklin',sans-serif;font-size:14px;text-align:left;box-shadow:0 3px 9px rgba(31,67,59,.06)}
.qe-lang-ayat-page .qe-verse-jump input:focus{border-color:#0a936b;box-shadow:0 0 0 3px rgba(10,147,107,.12)}
.qe-lang-ayat-page .qe-verse-jump__search{position:absolute;left:13px;top:50%;z-index:1;transform:translateY(-50%);font-size:13px;pointer-events:none}
.qe-lang-ayat-page .qe-verse-jump__chevron{position:absolute;right:13px;top:50%;z-index:1;transform:translateY(-50%);color:#08745f;font-size:14px;pointer-events:none}
.qe-lang-ayat-page .qe-verse-jump button{height:44px;padding:0 22px;border:0;border-radius:10px;background:linear-gradient(145deg,#0aa06f,#057a58);color:#fff;font-size:14px;font-weight:700;cursor:pointer;box-shadow:0 5px 12px rgba(5,126,88,.2)}

html[lang="ur"] .qe-lang-ayat-page .qe-ayat-title h1,
html[lang="ur"] .qe-lang-ayat-page .qe-ayat-translations,
html[lang="ur"] .qe-lang-ayat-page .qe-ayat-translations h4,
html[lang="ur"] .qe-lang-ayat-page .qe-ayat-translations h4 div,
html[lang="ur"] .qe-lang-ayat-page .qe-tafsir-section .commentry-box h3,
html[lang="ur"] .qe-lang-ayat-page .qe-tafsir-section .tab-container,
html[lang="ur"] .qe-lang-ayat-page .qe-tafsir-section .tab-container h3,
html[lang="ur"] .qe-lang-ayat-page .qe-tafsir-section .tab-container h4,
html[lang="ur"] .qe-lang-ayat-page .qe-tafsir-section .tab-container p,
html[lang="ur"] .qe-lang-ayat-page .qe-verse-pager__heading,
html[lang="ur"] .qe-lang-ayat-page .qe-verse-pager__action,
html[lang="ur"] .qe-lang-ayat-page .qe-verse-jump label,
html[lang="ur"] .qe-lang-ayat-page .qe-verse-jump input,
html[lang="ur"] .qe-lang-ayat-page .qe-verse-jump button{
  font-family:'Noto Nastaliq Urdu','Segoe UI',serif!important;
}
html[lang="ur"] .qe-lang-ayat-page .qe-ayat-title h1{line-height:2!important}
html[lang="ur"] .qe-lang-ayat-page .qe-ayat-translations h4,
html[lang="ur"] .qe-lang-ayat-page .qe-tafsir-section .tab-container,
html[lang="ur"] .qe-lang-ayat-page .qe-tafsir-section .tab-container p{line-height:2.5!important}
html[lang="ur"] .qe-lang-ayat-page .qe-tafsir-section .commentry-box h3,
html[lang="ur"] .qe-lang-ayat-page .qe-tafsir-section .tab-container>h4{line-height:2!important}

@media(max-width:900px){
  .qe-lang-ayat-page{padding:18px 0 38px!important}
  .qe-lang-ayat-page .blog-area{padding:0 8px!important}
  .qe-lang-ayat-page .qe-ayat-reading-card{width:100%!important;padding:22px 24px 34px!important;border-radius:19px!important}
  .qe-lang-ayat-page .qe-ayat-intro{grid-template-columns:1fr;grid-template-areas:'title' 'arabic' 'translations';gap:18px}
  .qe-lang-ayat-page .qe-ayat-trail{display:none}
  .qe-lang-ayat-page .qe-ayat-arabic h2{padding-right:70px!important;font-size:32px!important}
  .qe-lang-ayat-page .qe-tafsir-section .tab-container{padding:22px!important}
}
@media(max-width:560px){
  .qe-lang-ayat-page .qe-ayat-reading-card{padding:18px 14px 28px!important;border-radius:16px!important}
  .qe-lang-ayat-page .qe-ayat-title h1{font-size:22px!important;padding-bottom:27px!important}
  .qe-lang-ayat-page .qe-ayat-title h1:after{width:160px;border-left-width:58px;border-right-width:58px}
  .qe-lang-ayat-page .qe-ayat-arabic h2{padding:74px 0 0!important;font-size:30px!important;text-align:right!important}
  .qe-lang-ayat-page .qe-ayat-number{top:0;right:50%;transform:translate(50%,0);width:52px;height:52px}
  .qe-lang-ayat-page .qe-ayat-translations h4{font-size:17px!important;line-height:1.9!important}
  .qe-lang-ayat-page .qe-tafsir-section .commentry-box h3{font-size:20px!important}
  .qe-lang-ayat-page .qe-tafsir-section .tab-container{padding:17px 15px!important;font-size:17px!important;line-height:1.95!important}
  .qe-lang-ayat-page .qe-tafsir-section .tab-container p{font-size:17px!important;line-height:1.95!important}
  .qe-lang-ayat-page .qe-verse-pager{width:calc(100% - 16px);margin-top:18px;padding:18px 10px;border-radius:15px}
  .qe-lang-ayat-page .qe-verse-pager__heading{gap:9px;margin-bottom:16px}
  .qe-lang-ayat-page .qe-verse-pager__heading>div{display:block}
  .qe-lang-ayat-page .qe-verse-pager__heading strong{display:block;font-size:18px}
  .qe-lang-ayat-page .qe-verse-pager__heading span:not(.qe-verse-pager__ornament){display:block;margin-top:2px}
  .qe-lang-ayat-page .qe-verse-pager__ornament{width:30px}
  .qe-lang-ayat-page .qe-verse-pager__pages{gap:5px}
  .qe-lang-ayat-page .qe-verse-pager__page,.qe-lang-ayat-page .qe-verse-pager__ellipsis{width:34px;height:36px;font-size:13px}
  .qe-lang-ayat-page .qe-verse-pager__actions{gap:10px;margin-top:17px;padding-top:16px}
  .qe-lang-ayat-page .qe-verse-pager__action{min-width:0;flex:1;height:41px;padding:0 8px;font-size:13px}
  .qe-lang-ayat-page .qe-verse-jump{grid-template-columns:1fr auto;gap:9px;margin-top:16px;padding-top:16px}
  .qe-lang-ayat-page .qe-verse-jump label{grid-column:1/-1;text-align:center}
  .qe-lang-ayat-page .qe-verse-jump input{height:42px;padding-right:36px;font-size:13px}
  .qe-lang-ayat-page .qe-verse-jump button{height:42px;padding:0 17px;font-size:13px}
}
