/* Reader-first refinements, shared by PHP and Elementor pages. */
:root{--literary-reading-width:72rem}
html{scroll-padding-top:36px}
body{font-size:16px}
a,button,input,select,textarea{-webkit-tap-highlight-color:transparent}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #9a7b1c;outline-offset:4px}
button,input,select{min-height:44px}
input,select,textarea{font-size:16px!important}
#main,#content{overflow-wrap:break-word}
#content>header p{font-size:17px;line-height:1.8}
.literary-live-grid{width:100%!important;max-width:none!important}
.elementor-widget-shortcode{width:100%!important;min-width:0;grid-column:1 / -1}
.elementor-18 .elementor-element-21aafba,.elementor-18 .elementor-element-a2dbbc0,.elementor-18 .elementor-element-6566570{display:flex!important;flex-direction:column!important;width:100%!important}
.elementor-18 .elementor-element-9e10fd3{display:flex!important;flex-direction:column!important;gap:28px!important}
.elementor-18 .elementor-element-1fcbb9d{width:100%!important;max-width:none!important;padding:0!important}
.elementor-18 .elementor-element-58e1a2d,.elementor-18 .elementor-element-c221fd6,.elementor-18 .elementor-element-6dc05a5,.elementor-18 .elementor-element-f1f2824{padding:48px 24px!important}
.elementor-18 .elementor-element-cbe4e1b{max-width:1160px!important;padding:0!important;margin-inline:auto!important}
.elementor-18 .elementor-element-a926c19{padding:40px 28px!important}
.elementor-18 .elementor-element-02b261b{gap:36px!important;align-items:center!important}
.elementor-18 .elementor-element-610105a{gap:12px!important;min-width:0}
.elementor-18 .elementor-element-cc69593{margin:8px 0!important;padding:16px 20px!important}
.elementor-18 .elementor-element-68b17c0{display:none!important}
.elementor-18 .elementor-element-3d12e9d img{height:370px!important;width:280px!important;max-width:100%!important;object-fit:cover!important;border-width:2px!important;box-shadow:0 12px 28px #0003!important}
.elementor-18 .elementor-element-bdfd35c{flex-basis:30%!important;max-width:30%!important}
.elementor-18 .elementor-element-610105a{flex-basis:66%!important;max-width:66%!important}
.elementor-18 .elementor-element-c6804cd{flex-wrap:wrap!important}
.elementor-18 .elementor-element-c6804cd .elementor-heading-title{font-size:12px!important}
.elementor-18 .elementor-element-f17c299 .elementor-heading-title,.elementor-18 .elementor-element-7a329fd .elementor-heading-title{font-size:24px!important;line-height:2.1!important}
.literary-live-card{box-shadow:0 3px 16px #3b081108;transition:border-color .15s}
.literary-live-card:hover{border-color:#9a7b1c}
.literary-live-card h3{font-size:23px!important;line-height:2!important}
.literary-live-card .literary-live-english{font-family:'Plus Jakarta Sans',sans-serif!important;font-size:15px!important;line-height:1.7!important}
.literary-live-card .literary-live-excerpt{font-size:16px!important;line-height:2!important}
.literary-live-card .literary-live-link{font-family:'Plus Jakarta Sans',sans-serif!important;font-size:14px;min-height:44px}
.literary-live-card .literary-live-image{height:260px;padding:16px}
.literary-live-card .literary-live-price{direction:ltr;text-align:start}
@media(max-width:991px){
.elementor-18 .elementor-element-02b261b{flex-direction:column!important;gap:24px!important}
.elementor-18 .elementor-element-610105a,.elementor-18 .elementor-element-bdfd35c{flex:0 1 auto!important;width:100%!important;max-width:100%!important}
.elementor-18 .elementor-element-610105a{order:0!important}
.elementor-18 .elementor-element-bdfd35c{order:1!important}
.elementor-18 .elementor-element-3d12e9d img{height:260px!important;width:210px!important}
}
@media(max-width:600px){
.elementor-18 .elementor-element-a926c19{padding:28px 20px!important}
.elementor-18 .elementor-element-58e1a2d,.elementor-18 .elementor-element-c221fd6,.elementor-18 .elementor-element-6dc05a5,.elementor-18 .elementor-element-f1f2824{padding:32px 20px!important}
.elementor-18 .elementor-element-cc69593{padding:14px!important}
.elementor-18 .elementor-element-f17c299 .elementor-heading-title,.elementor-18 .elementor-element-7a329fd .elementor-heading-title{font-size:19px!important}
.elementor-18 .elementor-element-75d57b0 .elementor-heading-title{font-size:42px!important;line-height:1.8!important}
.literary-live-card .literary-live-image{height:220px}
#search-modal-overlay{padding-top:64px!important}
#search-modal-overlay input{font-size:16px!important}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
.elementor-18 .elementor-element-a926c19{margin-bottom:0!important}
.elementor-18 .elementor-element-e919047{margin-bottom:0!important}
.elementor-18 .elementor-element-3506403{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;width:100%!important}
.elementor-18 .elementor-element-3506403 .elementor-widget-button{width:100%!important;margin:0!important}
.elementor-18 .elementor-element-3506403 .elementor-button{width:100%;min-height:44px;display:flex;align-items:center;justify-content:center;padding:12px 14px!important;font-size:14px!important}
.literary-live-card img.literary-live-image{object-fit:contain!important;object-position:center!important}
@media(max-width:600px){
.elementor-18 .elementor-element-c6804cd{display:none!important}
.elementor-18 .elementor-element-e919047{height:auto!important}
.elementor-18 .elementor-element-75d57b0 .elementor-heading-title{font-size:36px!important}
.elementor-18 .elementor-element-3506403{gap:8px!important}
.elementor-18 .elementor-element-3506403 .elementor-button{padding:12px 8px!important;font-size:13px!important}
}
.literary-book-cover{max-width:360px;margin-inline:auto}
.literary-book-cover img{object-fit:contain!important}
.literary-submit>header h1{font-size:clamp(28px,4vw,42px)!important;line-height:2!important}
.literary-submit>header p{font-size:16px!important;line-height:2!important}
.literary-submit label{display:block;margin-bottom:8px}
@media(max-width:600px){
.literary-book-cover{width:180px;max-height:250px}
.single-product #content>nav{flex-wrap:wrap;font-size:13px;line-height:1.8}
.literary-submit{padding-top:24px!important}
.literary-submit>header{margin-bottom:24px}
.literary-submit>header h1{font-size:28px!important;margin:12px 0!important}
.literary-submit>header>div:first-child{border-radius:8px;font-size:10px}
#content>header h1{font-size:30px!important;line-height:2!important}
}
.literary-submit button{white-space:normal!important;max-width:100%;min-width:0;overflow-wrap:anywhere}
.literary-submit div:has(>#poet-tab-btn-submit){flex-wrap:wrap;gap:8px}
.literary-submit #poet-tab-btn-submit,.literary-submit #poet-tab-btn-list{flex:1 1 200px;padding:12px!important;font-size:15px!important}
.literary-submit form button[type=submit]{width:100%;padding:14px 18px!important;line-height:1.8!important}
/* Override Hello theme's unrelated .sticky post class on the navigation. */
body>header.sticky{position:sticky;top:0}

/* Match the supplied archive reference: quiet gold paper pattern and jewel-tone media bands. */
#poetry,
#articles {
  background-color: #faf7f2 !important;
  background-image: radial-gradient(circle, rgba(197, 155, 39, .24) 1px, transparent 1.2px) !important;
  background-size: 18px 18px !important;
}
#audio {
  border-block: 1px solid #c59b27;
}
/* Reference gallery: four editable Elementor cards, with truthful unavailable-media controls. */
#videos {border:0!important;padding:80px 32px!important;background:#faf7f2!important;}
#videos > .e-con-inner {max-width:1216px!important;width:100%!important;padding:0!important;gap:0!important;}
#videos .elementor-element-cdcacc4 {gap:0!important;padding:0!important;margin:0 0 48px!important;}
#videos .elementor-element-e496328 .elementor-heading-title {color:#3b0811!important;font-size:12px!important;line-height:2!important;}
#videos .elementor-element-12143da .elementor-heading-title {font-size:48px!important;line-height:2.2!important;font-weight:600!important;color:#3b0811!important;}
#videos .elementor-element-142308f .elementor-heading-title {font-size:14px!important;line-height:2!important;color:#78716c!important;font-weight:400!important;}
#videos .reference-video-grid {display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:24px!important;width:100%!important;padding:0!important;direction:rtl;}
#videos .reference-video-card {width:100%!important;min-width:0!important;max-width:none!important;gap:0!important;padding:0!important;background:#fff!important;border:1px solid #e3d8c8;border-radius:12px;overflow:hidden;box-shadow:0 2px 4px #24040926;align-items:stretch!important;}
#videos .reference-video-media {position:relative!important;display:block!important;width:100%!important;aspect-ratio:16/9;padding:0!important;overflow:hidden;background:#140705;}
#videos .reference-video-image, #videos .reference-video-image .elementor-widget-container {width:100%;height:100%;}
#videos .reference-video-image img {display:block;width:100%!important;height:100%!important;object-fit:cover;opacity:.75;filter:brightness(.65);border-radius:0!important;}
#videos .reference-video-overlay {position:absolute!important;inset:0!important;width:100%!important;height:100%!important;}
.reference-video-duration {position:absolute;bottom:8px;left:8px;background:#000c;color:#f5e09a;padding:3px 6px;border-radius:3px;font:10px/1.2 monospace;}
.reference-video-availability {position:absolute;inset:0;}
.reference-video-availability summary {position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:50%;background:#c59b27;color:#240409;cursor:pointer;list-style:none;font:18px/1 sans-serif;}
.reference-video-availability summary::-webkit-details-marker {display:none;}
.reference-video-availability summary:focus-visible {outline:3px solid #fff;outline-offset:4px;}
.reference-video-availability[open] {background:#240409eF;}
.reference-video-availability[open] summary {top:8px;left:8px;transform:none;width:30px;height:30px;}
.reference-video-availability[open] summary span {font-size:0;}
.reference-video-availability[open] summary span::after {content:'×';font-size:22px;}
.reference-video-availability p {margin:40px 16px 8px!important;color:#f5e09a;font-size:13px;line-height:2;text-align:right;}
#videos .reference-video-title {padding:14px 16px 0!important;margin:0!important;flex:1;}
#videos .reference-video-title .elementor-heading-title {font-family:'Noto Nastaliq Urdu',serif!important;font-size:18px!important;line-height:2.2!important;font-weight:600!important;color:#3b0811!important;}
#videos .reference-video-meta {padding:6px 16px 14px!important;margin:0!important;}
#videos .reference-video-meta .elementor-heading-title {font-family:'Noto Nastaliq Urdu',serif!important;font-size:11px!important;line-height:2!important;font-weight:400!important;color:#78716c!important;}
@media(max-width:1024px){#videos .reference-video-grid {grid-template-columns:repeat(2,minmax(0,1fr))!important;}}
@media(max-width:600px){#videos {padding:48px 20px!important;}#videos .reference-video-grid {grid-template-columns:minmax(0,1fr)!important;}#videos .elementor-element-12143da .elementor-heading-title {font-size:34px!important;}#videos .elementor-element-cdcacc4 {margin-bottom:28px!important;}}
#submit-work {
  background: #240409 !important;
  border-block: 2px solid #c59b27;
}
#submit-work .elementor-element-4197f4f .elementor-heading-title {
  color: #c59b27 !important;
}
#submit-work .elementor-element-01491f5 .elementor-heading-title {
  color: #f5e09a !important;
}
#submit-work .elementor-element-de2bdd2 .elementor-heading-title {
  color: #d4bcc1 !important;
}
body > footer a {
  color: #f5e09a !important;
}
body > footer a:hover,
body > footer a:focus-visible {
  color: #ffffff !important;
}
#newsletter-subscribe {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}
#newsletter-subscribe input[type="email"] {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid rgba(245, 224, 154, .5);
  border-radius: 4px;
  background: #1a0307;
  color: #faf7f2;
  text-align: start;
}
#newsletter-subscribe input[type="email"]::placeholder {
  color: #d4bcc1;
  opacity: .85;
}
#newsletter-subscribe button {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #c59b27;
  border-radius: 4px;
  background: #c59b27;
  color: #240409;
  font-family: 'Noto Nastaliq Urdu', serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
#newsletter-subscribe button:hover {
  background: #e5c158;
}
.newsletter-honeypot {
  display: none !important;
}
.newsletter-status {
  margin-top: 8px;
  color: #f5e09a;
  font-size: 13px;
  line-height: 1.8;
}

/* Reference book section: editable Elementor widgets with a real action row. */
#books {--content-width:1216px!important;scroll-margin-top:125px}
#books .elementor-element-ab67c9f {gap:24px!important}
#books .elementor-element-1676431 .elementor-heading-title {font-size:48px!important}
#books .elementor-element-164d0e3 .elementor-heading-title {color:#4a0e17!important}
#books .elementor-element-e07d147 .elementor-heading-title {font-size:14px!important;font-weight:400!important}
#books .elementor-element-9331c40 {gap:16px!important;margin-bottom:24px}
#books .elementor-element-ab67c9f > .e-con {
 display:flex!important;flex-direction:column!important;align-items:stretch!important;
 gap:0!important;padding:0!important;min-height:600px;position:relative;overflow:hidden;
 border-radius:12px!important;box-shadow:0 2px 5px #24040926;
}
#books .elementor-element-ab67c9f > .e-con::before {
 position:absolute;z-index:2;top:10px;left:10px;right:auto!important;bottom:auto!important;
 width:42px!important;height:21px!important;padding:2px 5px;box-sizing:border-box;
 background:#3b0811;border:1px solid #876409;border-radius:4px;color:#f5e09a;
 font:600 10px/15px Arial,sans-serif;text-align:center;
}
#books .elementor-element-846f57c::before {content:'2025'}
#books .elementor-element-68659fa::before {content:'2024'}
#books .elementor-element-15c4a79::before {content:'2014'}
#books .elementor-element-e71b3d3::before {content:'2004'}
#books .elementor-element-d4afae8::before {content:'1994'}
#books .elementor-element-ab67c9f > .e-con > .elementor-widget-image {
 width:100%!important;max-width:none!important;height:296px!important;flex:none;
 padding:20px 16px!important;margin:0!important;background:#240409;
}
#books .elementor-widget-image img {
 display:block!important;width:100%!important;max-width:100%!important;height:254px!important;
 object-fit:cover!important;border-radius:0!important;margin:0!important;position:static;transform:none;
}
#books .reference-book-title {padding:16px 16px 8px!important;margin:0!important}
#books .reference-book-title .elementor-heading-title {font-size:26px!important;font-weight:700!important;line-height:2.1!important;text-align:right}
#books .reference-book-excerpt {padding:0 16px 16px!important;margin:0!important;flex:1}
#books .reference-book-excerpt .elementor-heading-title {font-size:12px!important;line-height:2.1!important;font-weight:400!important;text-align:right;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
#books .reference-book-footer {
 display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;
 flex-wrap:nowrap!important;gap:6px!important;padding:16px 0 20px!important;min-height:78px;
 border-top:1px solid #f1efeb;margin-top:auto!important;width:100%!important;
}
#books .reference-book-footer > .elementor-widget {margin:0!important;width:auto!important;min-width:0}
#books .reference-book-price {flex:1;text-align:right}
#books .reference-book-price::before {content:'ابتدائی قیمت:';display:block;color:#8a817a;font:12px/1.7 'Noto Nastaliq Urdu',serif;text-align:right}
#books .reference-book-price .elementor-heading-title {font:700 16px/1.4 Arial,sans-serif!important;color:#3b0811!important;white-space:nowrap;text-align:right;direction:ltr}
#books .reference-book-price del {font-size:11px}
#books .reference-book-details .elementor-button,
#books .reference-book-buy .elementor-button {
 min-height:40px;white-space:nowrap;border:1px solid #d8d1c7!important;border-radius:5px!important;
 padding:8px 9px!important;font:14px/22px Arial,sans-serif!important;
}
#books .reference-book-details .elementor-button {background:#faf7f2!important;color:#342821!important}
#books .reference-book-buy .elementor-button {background:#65001c!important;border-color:#a50035!important;color:#fff3cf!important;border-radius:5px 0 0 5px!important}
#books .elementor-element-4751488 {margin-top:32px!important}
#books .elementor-element-4751488 .elementor-button {background:transparent!important;border:0!important;border-bottom:1px solid #c59b27!important;border-radius:0!important;color:#3b0811!important;padding:0 0 6px!important;font-family:'Noto Nastaliq Urdu',serif!important;font-size:16px!important}
@media(max-width:767px){
 #books .elementor-element-1676431 .elementor-heading-title {font-size:34px!important}
 #books .elementor-element-ab67c9f > .e-con {min-height:600px}
 #books .reference-book-title .elementor-heading-title {font-size:24px!important}
}

/* Selected poetry: reference layout, editable verse rows and real controls. */
#poetry {
 background-color:#faf7f2!important;
 background-image:radial-gradient(#4a0e17 .75px,transparent .75px),radial-gradient(#c59b27 .75px,transparent .75px)!important;
 background-size:30px 30px!important;background-position:0 0,15px 15px!important;
 scroll-margin-top:125px;
}
#poetry .elementor-element-55e6788 .elementor-heading-title {font-size:60px!important;line-height:1.9!important}
#poetry .elementor-element-c16c6eb .elementor-heading-title {font-size:14px!important;font-weight:400!important}
#poetry .elementor-element-dbe19ae {gap:12px!important;margin-bottom:32px}
#poetry .elementor-element-ead7caf {width:100%!important;max-width:976px!important;margin-inline:auto!important;gap:32px!important;align-items:stretch}
#poetry .reference-poem-card {
 position:relative;display:flex!important;flex-direction:column!important;align-items:stretch!important;
 padding:32px!important;gap:0!important;min-height:625px;
 background:#fff!important;border:2px solid #e3d8c8!important;border-radius:18px!important;
 box-shadow:0 2px 5px #2404091f;
}
#poetry .reference-poem-title {margin:0!important;padding:0!important;text-align:right!important}
#poetry .reference-poem-title .elementor-heading-title {font-size:30px!important;line-height:2.1!important;font-weight:700!important;text-align:right!important;color:#3b0811!important}
#poetry .reference-poem-meta {margin:0!important;padding:0 0 16px!important;border-bottom:1px solid #e4e1dd}
#poetry .reference-poem-meta .elementor-heading-title {text-align:right!important;font:12px/2.1 'Noto Nastaliq Urdu',serif!important;color:#65001c!important}
#poetry .reference-poem-genre {position:absolute!important;left:32px;top:32px;width:auto!important;max-width:60px;padding:5px 9px!important;border:1px solid #edcf86;border-radius:4px;background:#fffbee}
#poetry .reference-poem-genre .elementor-heading-title {font:12px/2 'Noto Nastaliq Urdu',serif!important;color:#b98d12!important}
#poetry .reference-poem-verses {padding:32px 0 14px!important;margin:0!important;flex:1}
#poetry .reference-poem-verses .elementor-heading-title {display:flex;flex-direction:column;gap:14px;font:24px/2.3 'Noto Nastaliq Urdu',serif!important;color:#3b0811!important;text-align:right!important}
#poetry .reference-verse {display:block;padding:16px 18px;background:#fafafa;border-right:3px solid #c59b27;border-radius:14px;min-height:86px;white-space:normal}
#poetry .reference-poem-actions {display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;gap:8px!important;padding:16px 0 0!important;margin-top:auto!important;border-top:1px solid #e4e1dd}
#poetry .reference-poem-actions > .elementor-widget {width:auto!important;margin:0!important;min-width:0;flex:none}
#poetry .reference-poem-actions > .elementor-widget:last-child {margin-right:auto!important}
#poetry .reference-poem-read .elementor-button {font:13px/1.7 Arial,sans-serif!important;padding:5px 2px!important;color:#3b0811!important;background:#fff!important;border:1px solid #e51651!important;border-radius:2px!important}
#poetry .poetry-listen {font:13px/1.7 Arial,sans-serif;padding:10px 12px;background:#65001c;color:#fff0bd;border:1px solid #a50035;border-radius:7px;cursor:pointer;white-space:nowrap}
#poetry .poetry-copy {font:11px/1.7 Arial,sans-serif;padding:8px 9px;background:#fff;color:#8b8177;border:1px solid #d8d1c7;border-radius:3px;cursor:pointer;white-space:nowrap}
#poetry button:focus-visible,#poetry a:focus-visible {outline:2px solid #c59b27;outline-offset:3px}
.poetry-action-status:empty {display:none}
.poetry-action-status {position:absolute;bottom:4px;left:32px;font-size:11px;color:#3b0811}
@media(max-width:767px){
 #poetry .elementor-element-55e6788 .elementor-heading-title {font-size:38px!important}
 #poetry .elementor-element-ead7caf {grid-template-columns:1fr!important;gap:24px!important}
 #poetry .reference-poem-card {padding:24px!important;min-height:0}
 #poetry .reference-poem-title .elementor-heading-title {font-size:25px!important}
 #poetry .reference-poem-genre {left:24px;top:24px}
 #poetry .reference-poem-verses .elementor-heading-title {font-size:21px!important}
 #poetry .reference-poem-actions {flex-wrap:wrap!important}
}
#poetry .reference-poem-card > .elementor-widget:not(.reference-poem-genre) {width:100%!important;max-width:none!important}
#poetry .elementor-element-55e6788 .elementor-heading-title {font-size:52px!important}
#poetry .reference-poem-meta {padding-top:14px!important}
@media(max-width:767px){#poetry .elementor-element-55e6788 .elementor-heading-title {font-size:38px!important}}

/* Audio reference: four compact playable recordings. */
#audio {background:#240409!important;padding:48px 24px 78px!important;border-top:0!important;border-bottom:4px solid #c59b27!important;scroll-margin-top:110px}
#audio > .e-con-inner {gap:42px!important}
#audio .elementor-element-2395e42 {gap:16px!important;padding:0!important}
#audio .elementor-element-0f0e5c9 .elementor-heading-title {color:#f5e09a!important;font-size:12px!important}
#audio .elementor-element-ba57528 .elementor-heading-title {font:400 52px/1.9 'Noto Nastaliq Urdu',serif!important;color:#fff0bd!important}
#audio .elementor-element-8e7daba .elementor-heading-title {font:400 14px/2.1 'Noto Nastaliq Urdu',serif!important;color:#d4bcc1!important}
#audio .elementor-element-bc654bc {width:100%!important;max-width:976px!important;margin-inline:auto!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px!important}
#audio .reference-audio-card {
 display:grid!important;grid-template-columns:48px minmax(0,1fr) 44px!important;grid-template-rows:auto auto!important;
 column-gap:16px!important;row-gap:0!important;align-items:center!important;padding:20px!important;min-height:112px;
 border:1px solid #78580a!important;border-radius:12px!important;background:#3b0811!important;box-shadow:0 10px 20px #14010433;
}
#audio .reference-audio-title {grid-column:2;grid-row:1;width:100%!important;margin:0!important;align-self:end}
#audio .reference-audio-title .elementor-heading-title {font:400 24px/1.9 'Noto Nastaliq Urdu',serif!important;text-align:right!important;color:#fff0bd!important}
#audio .reference-audio-meta {grid-column:2;grid-row:2;width:100%!important;margin:0!important;align-self:start}
#audio .reference-audio-meta .elementor-heading-title {font:400 11px/2.1 'Noto Nastaliq Urdu',serif!important;color:#d4aeb8!important;text-align:right!important}
#audio .reference-audio-play-widget {grid-column:1;grid-row:1 / 3;width:48px!important;margin:0!important}
#audio .reference-audio-play {display:flex;align-items:center;justify-content:center;width:48px;height:48px;padding:0;border:1px solid #e74571;border-radius:50%;background:#c59b27;color:#240409;font:20px/1 Arial,sans-serif;cursor:pointer}
#audio .reference-audio-play:hover {background:#e2bb46}
#audio .reference-audio-play:focus-visible {outline:2px solid #fff0bd;outline-offset:4px}
#audio .reference-audio-facts {grid-column:3;grid-row:1 / 3;width:44px!important;margin:0!important}
#audio .reference-audio-duration {display:block;color:#ffe599;font:12px/1.7 monospace;text-align:left}
#audio .reference-audio-free {display:inline-block;margin-top:3px;background:#143c32;border:1px solid #24735b;border-radius:4px;color:#a9ead7;padding:3px 10px;font:11px/1.8 Arial,sans-serif}
#audio .reference-audio-source {display:none}
#audio .reference-audio-status {font-size:10px;color:#fff0bd}
@media(max-width:767px){
 #audio {padding:40px 20px 48px!important}
 #audio .elementor-element-ba57528 .elementor-heading-title {font-size:34px!important}
 #audio .elementor-element-bc654bc {grid-template-columns:1fr!important;gap:16px!important}
 #audio .reference-audio-card {padding:16px!important;column-gap:12px!important}
 #audio .reference-audio-title .elementor-heading-title {font-size:21px!important}
}
#audio > .e-con-inner {padding:0!important}
/* Values measured on the original site at the same viewport. */
#poetry .elementor-element-55e6788 .elementor-heading-title {font-size:48px!important;line-height:2.2!important}
#audio {padding:80px 24px!important}
#audio > .e-con-inner {gap:48px!important}
#audio .elementor-element-ba57528 .elementor-heading-title {font-size:48px!important;line-height:2.2!important}
#audio .reference-audio-title .elementor-heading-title {font-size:20px!important;line-height:2.2!important}
#books .reference-book-title .elementor-heading-title {font-size:24px!important;line-height:2.2!important}
@media(max-width:767px){
 #poetry .elementor-element-55e6788 .elementor-heading-title {font-size:38px!important}
 #audio {padding:40px 20px 48px!important}
 #audio .elementor-element-ba57528 .elementor-heading-title {font-size:34px!important}
}

/* Article cards matched to the reference, with native editable Elementor text. */
#articles.reference-articles-section {padding:80px 32px!important;border-top:2px solid #e3d8c8!important;background-color:#faf7f2!important;background-image:radial-gradient(circle,#3b0811 .8px,transparent .9px),radial-gradient(circle,#c59b27 .7px,transparent .8px)!important;background-position:0 0,15px 15px!important;background-size:30px 30px!important;}
#articles > .e-con-inner {max-width:1216px!important;width:100%!important;gap:0!important;padding:0!important;}
#articles .elementor-element-901281e {gap:8px!important;padding:0!important;margin-bottom:48px!important;}
#articles .elementor-element-e95f1b1 .elementor-heading-title {font-size:12px!important;line-height:2!important;color:#5b1323!important;}
#articles .elementor-element-3ff7614 .elementor-heading-title {font-size:48px!important;line-height:2.2!important;font-weight:600!important;color:#3b0811!important;}
#articles .elementor-element-efe2550 .elementor-heading-title {font-size:14px!important;line-height:2!important;font-weight:400!important;color:#57534e!important;}
#articles .reference-articles-grid {display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:32px!important;width:100%!important;padding:0!important;direction:rtl;}
#articles .reference-article-card {width:100%!important;min-width:0;gap:12px!important;padding:24px!important;border:1px solid #e3d8c8!important;border-radius:12px!important;background:#fff!important;box-shadow:0 3px 5px #24040920;align-items:stretch!important;}
#articles .reference-article-meta {display:flex;justify-content:space-between;align-items:center;gap:8px;border-bottom:1px solid #f5f5f4;padding-bottom:8px;color:#5b1323;font-family:Arial,sans-serif;font-size:12px;font-weight:600;line-height:1.5;}
#articles .reference-article-time {font-family:monospace;color:#a8a29e;white-space:nowrap;}
#articles .reference-article-title {margin:0!important;}
#articles .reference-article-title .elementor-heading-title {font-family:'Noto Nastaliq Urdu',serif!important;font-size:24px!important;line-height:2.2!important;font-weight:600!important;color:#3b0811!important;}
#articles .reference-article-excerpt {margin:0!important;flex:1;}
#articles .reference-article-excerpt .elementor-heading-title {font-family:'Noto Nastaliq Urdu',serif!important;font-size:12px!important;line-height:2!important;font-weight:400!important;color:#57534e!important;}
#articles .reference-article-footer {display:flex!important;flex-direction:row!important;justify-content:space-between!important;align-items:center!important;width:100%!important;padding:16px 0 0!important;margin-top:auto!important;gap:12px!important;border-top:1px solid #f5f5f4;}
#articles .reference-article-date {width:auto!important;margin:0!important;}
#articles .reference-article-date .elementor-heading-title {font:12px/1.5 monospace!important;color:#78716c!important;direction:ltr;}
#articles .reference-article-read {width:auto!important;margin:0!important;}
#articles .reference-article-read .elementor-button {font-family:'Noto Nastaliq Urdu',serif!important;font-size:12px!important;line-height:1.8!important;font-weight:600!important;padding:2px 3px!important;border:1px solid #ff1751!important;border-radius:2px!important;background:#fff!important;color:#3b0811!important;box-shadow:none!important;}
#articles .reference-article-read .elementor-button:focus-visible {outline:2px solid #3b0811;outline-offset:4px;}
@media(max-width:1024px){#articles .reference-articles-grid {grid-template-columns:repeat(2,minmax(0,1fr))!important;}}
@media(max-width:767px){#articles.reference-articles-section {padding:48px 20px!important;}#articles .reference-articles-grid {grid-template-columns:minmax(0,1fr)!important;gap:24px!important;}#articles .elementor-element-3ff7614 .elementor-heading-title {font-size:34px!important;}#articles .reference-article-title .elementor-heading-title {font-size:22px!important;}}

/* Submission call to action: reference content, proportions and gradient. */
#submit-work.reference-submit-section {min-height:468px!important;padding:64px 24px!important;border-block:4px solid #c59b27!important;background:linear-gradient(90deg,#240409,#3b0811,#240409)!important;}
#submit-work > .e-con-inner {max-width:896px!important;width:100%!important;padding:0!important;gap:32px!important;align-items:center!important;justify-content:center!important;}
#submit-work .elementor-element-fb77631 {width:100%!important;padding:0!important;gap:24px!important;align-items:center!important;}
#submit-work .elementor-element-4197f4f {margin:0!important;}
#submit-work .elementor-element-4197f4f .elementor-heading-title {font:24px/32px Georgia,serif!important;color:#d4af37!important;}
#submit-work .elementor-element-01491f5 {margin:0!important;}
#submit-work .elementor-element-01491f5 .elementor-heading-title {font-family:'Noto Nastaliq Urdu',serif!important;font-size:48px!important;font-weight:600!important;line-height:2.2!important;color:#fef3c7!important;}
#submit-work .elementor-element-de2bdd2 {max-width:576px!important;margin:0 auto!important;}
#submit-work .elementor-element-de2bdd2 .elementor-heading-title {font-family:'Noto Nastaliq Urdu',serif!important;font-size:14px!important;line-height:2!important;font-weight:400!important;color:#fecdd3cc!important;}
#submit-work .elementor-element-868e1ff {width:auto!important;margin:0!important;}
#submit-work .elementor-element-868e1ff .elementor-button {font-family:'Noto Nastaliq Urdu',serif!important;font-size:14px!important;font-weight:600!important;line-height:2.2!important;padding:12px 32px!important;border:0!important;border-radius:8px!important;background:#c59b27!important;color:#240409!important;box-shadow:0 20px 25px -5px #0002;}
#submit-work .elementor-element-868e1ff .elementor-button:hover {background:#d4af37!important;}
#submit-work .elementor-element-868e1ff .elementor-button:focus-visible {outline:3px solid #fef3c7;outline-offset:4px;}
@media(max-width:767px){#submit-work.reference-submit-section {min-height:0!important;padding:48px 20px!important;}#submit-work .elementor-element-01491f5 .elementor-heading-title {font-size:30px!important;}#submit-work .elementor-element-de2bdd2 .elementor-heading-title {font-size:12px!important;}}

/* Header utility sizing matched to the reference; retain responsive wrapping. */
#literary-topbar {min-height:61px;box-sizing:border-box;}
#literary-topbar #lang-toggle-btn {min-height:44px;padding:8px 10px;font-size:12px;line-height:1.5;}
#literary-topbar #currency-select {min-height:44px;width:114px;min-width:114px;padding-block:8px;padding-inline:12px 28px;font-size:16px;line-height:1.5;}
#header-search-toggle {width:44px!important;height:44px!important;min-width:44px;display:flex;align-items:center;justify-content:center;padding:8px!important;}
#header-cart-toggle {width:40px!important;height:44px!important;min-width:40px;display:flex;align-items:center;justify-content:center;padding:8px!important;}
#literary-topbar #lang-toggle-btn:focus-visible,#literary-topbar #currency-select:focus-visible,#header-search-toggle:focus-visible,#header-cart-toggle:focus-visible {outline:2px solid #c59b27;outline-offset:3px;}
@media(max-width:639px){#literary-topbar {gap:8px;}#literary-topbar #currency-select {min-width:100px;font-size:14px;}#literary-topbar > div:last-child {gap:12px;}#literary-main-header > div {gap:12px;}}

/* Complete reference verse previews and consistent poetry footer controls. */
#poetry .reference-poem-meta {padding-top:8px!important;}
#poetry .reference-poem-verses .elementor-heading-title {line-height:2.2!important;}
#poetry .poetry-listen {min-width:100px;height:40px;padding:8px 12px;font-weight:600;}
#poetry .poetry-copy {min-width:112px;min-height:37px;padding:6px 10px;}
#poetry .reference-poem-read .elementor-button {min-width:117px;font-weight:700!important;line-height:1.4!important;padding:5px 2px!important;}
@media(max-width:767px){#poetry .reference-poem-actions {gap:8px!important;}#poetry .poetry-copy {min-width:100px;}#poetry .reference-poem-read .elementor-button {min-width:110px;}#poetry .poetry-listen {min-width:90px;}}
/* Reading popup: native modal behavior, reference parchment and bilingual verses. */
#poem-reading-dialog {width:672px;max-width:calc(100vw - 32px);max-height:85vh;padding:0;border:2px solid #c59b27;border-radius:18px;color:#3b0811;background-color:#faf7f2;background-image:radial-gradient(circle,#3b0811 .8px,transparent .9px),radial-gradient(circle,#c59b27 .7px,transparent .8px);background-position:0 0,15px 15px;background-size:30px 30px;box-shadow:0 25px 50px #0004;overflow:hidden;}
#poem-reading-dialog::backdrop {background:#000b;}
#poem-reading-dialog .poem-reading-shell {display:flex;flex-direction:column;max-height:calc(85vh - 4px);padding:24px 32px 0;}
.poem-reading-header {position:relative;text-align:center;flex:none;padding-bottom:16px;border-bottom:1px solid #e3d8c8;}
#poem-reading-dialog p,#poem-reading-dialog h2 {margin:0;}
#poem-reading-dialog #poem-reading-meta {font:12px/2 'Noto Nastaliq Urdu',serif;color:#b98d12;padding-bottom:12px;}
#poem-reading-dialog #poem-reading-title {font:700 30px/2.2 'Noto Nastaliq Urdu',serif;color:#3b0811;}
#poem-reading-dialog #poem-reading-english {font:italic 14px/1.6 Georgia,serif;color:#78716c;margin:8px 0 12px;}
#poem-reading-dialog button {cursor:pointer;}
#poem-reading-dialog .poem-reading-x {position:absolute;left:-16px;top:-8px;border:1px solid #ff1751;border-radius:2px;background:#fff9;color:#78716c;font:28px/1.3 Arial,sans-serif;padding:0 5px;}
#poem-reading-play {background:#65001c;color:#fff0bd;border:1px solid #a50035;border-radius:8px;padding:12px 16px;font:600 12px/1.5 Arial,sans-serif;}
#poem-reading-verses {min-height:0;overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:24px;padding:16px 8px 32px;margin-inline:-8px;}
.poem-reading-verse {background:#ffffffb3;border:1px solid #e7e2dc;box-shadow:0 2px 4px #0001;border-radius:12px;padding:16px;text-align:center;flex:none;}
#poem-reading-dialog .poem-reading-urdu {font:400 24px/2.2 'Noto Nastaliq Urdu',serif;color:#3b0811;}
#poem-reading-dialog .poem-reading-translation {font:italic 13px/1.6 Georgia,serif;color:#57534e;margin-top:8px;}
#poem-reading-dialog .poem-reading-roman {font:12px/1.6 Georgia,serif;color:#65001c;margin-top:8px;}
.poem-reading-footer {position:relative;display:flex;justify-content:space-between;align-items:center;gap:16px;flex:none;border-top:1px solid #e3d8c8;padding:16px 0;}
#poem-reading-copy {background:transparent;border:0;border-bottom:1px solid #c59b27;border-radius:0;padding:2px 0;font:13px/2 'Noto Nastaliq Urdu',serif;color:#3b0811;}
.poem-reading-close {background:#65001c;color:#fff0bd;border:1px solid #a50035;border-radius:3px;padding:10px 16px;font:12px/1.5 Arial,sans-serif;}
#poem-reading-copy-status {position:absolute;bottom:0;right:0;font-size:11px;}
#poem-reading-audio-status {display:block;font-size:12px;}
#poem-reading-audio-status:empty {display:none;}
#poem-reading-dialog button:focus-visible {outline:2px solid #c59b27;outline-offset:3px;}
@media(max-width:600px){#poem-reading-dialog .poem-reading-shell {padding:24px 18px 0;}#poem-reading-dialog #poem-reading-title {font-size:25px;}#poem-reading-dialog .poem-reading-urdu {font-size:21px;}#poem-reading-play {font-size:11px;padding:10px;}#poem-reading-dialog .poem-reading-x {left:-8px;}}
#poem-reading-dialog #poem-reading-meta {font:12px/2 monospace;}
#poem-reading-dialog #poem-reading-title {font-size:36px;}
#poem-reading-dialog .poem-reading-verse p {text-align:center!important;}
#poem-reading-dialog #poem-reading-play {min-width:340px;min-height:44px;}
#poem-reading-dialog .poem-reading-close {background:#65001c!important;color:#fff0bd!important;border-color:#a50035!important;}
#poem-reading-verses {scrollbar-width:thin;scrollbar-color:#c59b27 transparent;}
@media(max-width:600px){#poem-reading-dialog #poem-reading-title {font-size:25px;}#poem-reading-dialog #poem-reading-play {min-width:0;width:100%;}}

#sticky-audio-bar #audio-play-btn {flex-shrink:0;}
#sticky-audio-bar #audio-play-icon {width:20px;height:20px;}
#sticky-audio-bar button:focus-visible {outline:2px solid #f5e09a;outline-offset:3px;}
@media(max-width:639px){
 #sticky-audio-bar {flex-wrap:wrap;gap:8px;padding:10px 16px;}
 #sticky-audio-bar > div:first-child {max-width:calc(100% - 44px);min-width:0;}
 #sticky-audio-bar > div:first-child > div {min-width:0;}
 #sticky-audio-bar #player-title {font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:2;}
 #sticky-audio-bar #player-reciter {font-size:10px;}
 #sticky-audio-bar > div:nth-child(2) {display:flex!important;order:3;flex-basis:100%;max-width:none;}
 #sticky-audio-bar > button:last-child {margin-inline-start:auto;}
}
@media(max-width:639px){
 #literary-topbar > div:last-child {flex-wrap:wrap;max-width:100%;}
 #top-audio-indicator {display:none!important;}
}
/* The shared player must belong to the dialog top layer while it is modal. */
#poem-reading-dialog[data-player-visible="true"] {bottom:calc(var(--reading-player-height,78px) + 24px);max-height:min(85vh,calc(100dvh - var(--reading-player-height,78px) - 48px));}
#poem-reading-dialog[data-player-visible="true"] .poem-reading-shell {max-height:min(calc(85vh - 4px),calc(100dvh - var(--reading-player-height,78px) - 52px));}
#poem-reading-dialog #sticky-audio-bar {position:fixed;inset:auto 0 0;width:100%;box-sizing:border-box;direction:rtl;text-align:initial;}
#poem-reading-dialog #sticky-audio-bar button {color:inherit;}
#poem-reading-dialog #sticky-audio-bar #audio-play-btn {color:#240409;}
/* Theme button padding must not squeeze the player's SVG into a dot. */
#sticky-audio-bar #audio-play-btn {padding:0!important;min-width:40px;}
#sticky-audio-bar #audio-play-icon {width:20px!important;min-width:20px;height:20px!important;flex:0 0 20px;padding:0!important;}
/* Source-backed biography and bibliography, aligned with the literary site palette. */
.source-page {max-width:1216px;margin:0 auto;padding:48px 24px 64px;color:#3b0811;}
.source-page h1,.source-page h2,.source-page h3 {font-family:'Noto Nastaliq Urdu',serif;color:#3b0811;line-height:2;}
.source-page h1 {font-size:42px;margin:12px 0 24px;}.source-page h2 {font-size:28px;margin:12px 0 24px;}.source-page h3 {font-size:22px;}
.source-page p,.source-page li {font:16px/2.5 'Noto Nastaliq Urdu',serif;}
.source-page .source-kicker {font:13px/2.4 'Noto Nastaliq Urdu',serif;color:#9b781a;margin:0;}
.source-panel {padding:32px;background:#fff;border:1px solid #e3d8c8;border-radius:16px;margin-bottom:24px;}
.source-profile-hero {display:grid;grid-template-columns:minmax(0,1fr) 256px;align-items:center;gap:48px;padding:40px;background:linear-gradient(90deg,#240409,#3b0811);border:2px solid #c59b27;border-radius:20px;color:#faf7f2;margin-bottom:40px;}
.source-profile-hero h1 {color:#fef3c7;font-size:48px;}.source-profile-hero .source-english {font:20px/1.6 Georgia,serif;color:#d4af37;text-align:right;}
.source-profile-hero img {width:256px;height:320px;object-fit:cover;border:3px solid #c59b27;border-radius:14px;}
.source-profile-hero nav {display:flex;gap:12px;flex-wrap:wrap;margin-top:24px;}.source-profile-hero nav a {padding:12px 16px;border:1px solid #c59b27;border-radius:6px;color:#fef3c7;font:13px/2 'Noto Nastaliq Urdu',serif;}
.source-profile-columns {display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:32px;align-items:start;}.source-profile-columns p {margin-bottom:24px;}
.source-panel ul {padding-inline-start:20px;margin:0;}.source-panel li {margin-bottom:18px;}
.source-honors {background:#240409;color:#faf7f2;}.source-honors h2 {color:#d4af37;}
.source-book-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;}
.source-book-card {display:flex;flex-direction:column;padding:24px;background:#fff;border:1px solid #e3d8c8;border-top:4px solid #c59b27;border-radius:12px;min-width:0;}
.source-book-card h2,.source-book-card h3 {font-size:22px;margin:12px 0 20px;}.source-book-card p {font-size:14px;margin:0 0 24px;}.source-book-card a {color:#3b0811;}
.source-book-number {font:12px/1.5 monospace;color:#9b781a;}.source-book-link {font:13px/2 'Noto Nastaliq Urdu',serif;color:#3b0811;align-self:flex-start;margin-top:auto;border-bottom:1px solid #c59b27;padding:4px 0;}
.source-section-header {text-align:center;max-width:800px;margin:0 auto 40px;}.source-catalogue-note {text-align:center;margin-top:32px;}.source-book-detail {max-width:896px;}.source-book-description {margin-bottom:32px;}
.source-page a:focus-visible {outline:2px solid #c59b27;outline-offset:4px;}
#books .source-home-books {grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:24px!important;}
#books .source-home-book {padding:24px!important;gap:20px!important;background:#fff!important;border:1px solid #e3d8c8!important;border-top:4px solid #c59b27!important;border-radius:12px!important;align-items:stretch!important;}
#books .source-home-book-title .elementor-heading-title {font:600 24px/2.2 'Noto Nastaliq Urdu',serif!important;color:#3b0811!important;}
#books .source-home-book-description {flex:1;}#books .source-home-book-description .elementor-heading-title {font:14px/2.4 'Noto Nastaliq Urdu',serif!important;color:#675d54!important; height:40px;overflow:hidden;}
#books .source-home-book-link .elementor-button {background:#3b0811;color:#fef3c7;font-size:13px;}
@media(max-width:900px){.source-profile-columns {grid-template-columns:1fr;}.source-book-grid,#books .source-home-books {grid-template-columns:repeat(2,minmax(0,1fr))!important;}.source-profile-hero {gap:24px;grid-template-columns:1fr 180px;}.source-profile-hero img {width:180px;height:240px;}}
@media(max-width:600px){.source-page {padding:32px 20px;}.source-profile-hero {grid-template-columns:1fr;padding:24px;}.source-profile-hero img {grid-row:1;width:200px;height:260px;justify-self:center;}.source-page h1,.source-profile-hero h1 {font-size:34px;}.source-page h2 {font-size:25px;}.source-panel {padding:24px;}.source-book-grid,#books .source-home-books {grid-template-columns:1fr!important;}.source-page p,.source-page li {font-size:14px;}}
#books .elementor-element-ab67c9f > .source-home-book {min-height:300px;padding:24px!important;gap:20px!important;}
#books .elementor-element-ab67c9f > .source-home-book::before {display:none!important;}
/* Supplied photographic covers retain their whole frame and original proportions. */
#books .elementor-element-ab67c9f > .source-home-book > .source-home-book-cover {height:320px!important;width:100%!important;padding:12px!important;background:#240409;border-radius:8px;flex:none!important;}
#books .source-home-book-cover .elementor-widget-container,#books .source-home-book-cover a {display:block;width:100%;height:100%;}
#books .elementor-element-ab67c9f > .source-home-book > .source-home-book-cover img {width:100%!important;height:100%!important;max-width:none!important;object-fit:contain!important;padding:0!important;border-radius:0!important;}
.source-cover-missing {height:320px;display:flex;align-items:center;justify-content:center;background:#f3ece1;border:1px dashed #c5b695;border-radius:8px;font:14px/2 'Noto Nastaliq Urdu',serif;color:#786d60;}
.source-cover-link {display:block;background:#240409;border-radius:8px;padding:12px;margin-bottom:20px;}
.source-catalogue-cover {display:block;width:100%!important;height:320px!important;object-fit:contain!important;border-radius:0!important;}
.source-book-card .source-cover-missing {margin-bottom:20px;}
.source-book-gallery {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:32px 0;}
.source-book-gallery figure {margin:0;min-width:0;}.source-book-gallery a {display:block;background:#f3ece1;padding:12px;border-radius:10px;}
.source-detail-cover {width:100%!important;height:420px!important;object-fit:contain!important;display:block;}.source-book-gallery figcaption {text-align:center;font:13px/2.5 'Noto Nastaliq Urdu',serif;padding-top:10px;color:#675d54;}
.source-edition-reference {border-block:1px solid #e3d8c8;margin:32px 0;padding:24px 0;}.source-edition-reference dl>div {display:grid;grid-template-columns:100px 1fr;gap:16px;padding:10px 0;}.source-edition-reference dt {font-weight:600;}.source-edition-reference dd {margin:0;}.source-edition-reference p {font-size:12px;}
.source-related-publications {margin-top:56px;}
@media(max-width:600px){.source-book-gallery {grid-template-columns:1fr;}.source-detail-cover {height:380px!important;}.source-edition-reference dl>div {grid-template-columns:85px 1fr;}}

/* English text must not inherit fixed Urdu type metrics from Elementor cards. */
html[lang="en"] .literary-translated {font-family: Georgia, "Times New Roman", serif !important; line-height: 1.55 !important; letter-spacing: normal !important;}
html[lang="en"] .source-page {text-align: left;}
html[lang="en"] .source-page h1 {font-size: clamp(30px,4vw,54px); line-height: 1.2;}
html[lang="en"] .source-page h2 {font-size: clamp(24px,3vw,36px); line-height: 1.3;}
html[lang="en"] #books .source-home-book .literary-translated {text-align: left !important; font-size: 20px !important;}
html[lang="en"] #books .source-home-book .reference-book-excerpt .literary-translated {font-size:16px !important;}
html[lang="en"] [lang="ur"], html[lang="en"] .reference-verse {font-family:"Noto Nastaliq Urdu",serif !important; direction:rtl;}

html[lang="en"] .literary-translated {direction:ltr !important;}
html[lang="en"] #books .source-home-books {direction:ltr !important;}
html[lang="en"] #books .source-home-book-title .elementor-heading-title {font:600 22px/1.4 Georgia,serif!important;text-align:left!important;}
html[lang="en"] #books .source-home-book-description .elementor-heading-title {font:16px/1.65 Georgia,serif!important;text-align:left!important;}
html[lang="en"] .source-page .source-book-card h2 {font-size:24px;}

/* Purchase controls use actual WooCommerce prices and session/cart handlers. */
.source-purchase {border-top:1px solid #e3d8c8;padding-top:18px;margin-top:auto;display:flex;flex-wrap:wrap;align-items:center;gap:12px;}
.source-purchase .source-price-label {flex-basis:100%;margin:0;font-size:12px;color:#746750;}
.source-purchase .source-price {font:bold 22px/1.5 Georgia,serif;color:#3b0811;}
.source-purchase .source-add-to-cart,.source-purchase button.single_add_to_cart_button {display:inline-block;background:#3b0811;color:#fff3cb;padding:12px 18px;border-radius:6px;text-align:center;text-decoration:none;cursor:pointer;}
.source-purchase [aria-busy="true"] {opacity:.6;pointer-events:none;}
.source-purchase form.cart {display:flex;align-items:center;flex-wrap:wrap;gap:14px;margin:0;}
.source-purchase .quantity input {width:85px;padding:10px;border:1px solid #cbbba5;border-radius:6px;}
.source-store-notice {padding:16px 20px;background:#fff2c8;border:1px solid #c59b27;border-radius:8px;font-size:14px!important;line-height:1.8;}
.woocommerce-cart main,.woocommerce-checkout main {max-width:1216px;margin:auto;padding:32px 20px;}
.woocommerce-cart .woocommerce,.woocommerce-checkout .woocommerce {line-height:1.6;}
html[lang="en"] body.woocommerce-cart #content,html[lang="en"] body.woocommerce-checkout #content {direction:ltr;text-align:left;}
.woocommerce-cart input[type="checkbox"],.woocommerce-checkout input[type="checkbox"],.woocommerce-checkout input[type="radio"] {min-height:0!important;height:20px!important;width:20px!important;padding:0!important;flex-shrink:0;}
.woocommerce .wc-block-components-button:not(.is-link) {background:#3b0811;color:#fff3cb;border:1px solid #3b0811;border-radius:6px;}
.woocommerce .wc-block-components-button:not(.is-link):hover {background:#5b1323;color:#fff3cb;}
body.woocommerce-checkout .wc-block-components-button:not(.is-link),body.woocommerce-cart .wc-block-components-button:not(.is-link) {background:#3b0811;color:#fff3cb;border:1px solid #3b0811;border-radius:6px;}
html[lang="en"] .wc-block-components-text-input label,html[lang="en"] .wc-block-components-country-input label,html[lang="en"] .wc-block-components-state-input label {left:12px!important;right:auto!important;transform-origin:top left!important;text-align:left;}

.contributor-portrait-placeholder {width:200px;height:240px;display:grid;place-items:center;border:1px solid #c59b27;border-radius:12px;color:#c59b27;font-size:70px;background:#240409;}
.contributor-profile .source-panel {margin-top:32px;}
.contributor-work-list {list-style:none;padding:0;margin:0;}
.contributor-work-list li {padding:14px 0;border-bottom:1px solid #e3d8c8;}
.contributor-work-list a {color:#3b0811;text-decoration:underline;text-underline-offset:6px;}
html[lang="en"] .contributor-profile {direction:ltr;text-align:left;}
/* Hello Elementor's alignwide negative margin clips the native cart on phones. */
body.woocommerce-cart .page-content > .wp-block-woocommerce-cart.alignwide {margin-inline:0!important;width:100%;max-width:100%;}

/* Policy and request pages use the archive's readable content width. */
body.literary-policy #content {max-width:1000px;margin:0 auto;padding:40px 20px;}
body.literary-policy .entry-title {font-family:'Noto Nastaliq Urdu',serif;color:#3b0811;font-size:36px;line-height:2;text-align:center;}
.policy-page {padding:24px 0!important;}
.policy-page h2 {margin-top:40px;color:#3b0811;}
.policy-page p {line-height:2.2;}
.literary-request-form {display:grid;gap:12px;max-width:620px;}
.literary-request-form input,.literary-request-form select,.literary-request-form textarea {width:100%;padding:10px 14px;border:1px solid #d5c7b5;border-radius:6px;background:#fff;}
.literary-request-form button {background:#3b0811;color:#fff3cb;border:0;border-radius:6px;padding:13px 20px;cursor:pointer;margin-top:12px;}
.literary-policy-rates {width:100%;border-collapse:collapse;margin:24px 0;}
.literary-policy-rates th,.literary-policy-rates td {padding:12px;border:1px solid #dfd3c3;text-align:start;}
html[lang="en"] body.literary-policy #content {direction:ltr;text-align:left;}
html[lang="en"] body.literary-policy .entry-title {font:600 36px/1.3 Georgia,serif;}
@media(max-width:600px){body.literary-policy #content {padding:28px 16px;}.policy-page .source-panel{padding:20px 16px;}.policy-page h2 {font-size:24px!important;}.literary-request-form {min-width:0;}}

/* One source-backed video, without placeholder event cards. */
#videos .elementor-element-37a7a99{grid-template-columns:minmax(0,1fr)!important;max-width:640px!important;margin-inline:auto!important;width:100%!important}
#videos .elementor-element-7bb27ec{position:relative;aspect-ratio:16/9;overflow:hidden}
#videos .elementor-element-e40313f img{width:100%;aspect-ratio:16/9;object-fit:cover}
#videos .elementor-element-d89e4f7{position:absolute;inset:0;width:100%;height:100%}
#videos .elementor-element-d89e4f7 .elementor-widget-container{height:100%;display:grid;place-items:center}
#videos button.reference-video-play{border-radius:50%;background:#c59b27;color:#260307;width:56px;height:56px;border:0;cursor:pointer}
#videos button.reference-video-play{position:absolute!important;top:50%!important;left:50%!important;right:auto!important;bottom:auto!important;transform:translate(-50%,-50%)!important;display:grid!important;place-items:center!important;padding:0!important;}
/* Verified source excerpts retain a balanced, readable card layout. */
#poetry .reference-poem-card{min-height:440px!important;}
#poetry .reference-poem-verses{min-height:0!important;}
.source-verified-poem .poem-reading-verse{margin:28px 0;padding:24px;background:#faf7f2;border-inline-start:3px solid #c59b27;}
.source-verified-poem .poem-reading-urdu{font-family:'Noto Nastaliq Urdu',serif;font-size:28px;line-height:2.6;color:#3b0811;}
.source-verified-poem details{font-size:16px;line-height:1.9;}
.source-editorial-note{font-size:14px;color:#74665c;}
#poem-reading-source{color:#780524;text-decoration:underline;text-underline-offset:5px;font-size:14px;}
#videos .elementor-element-37a7a99{grid-template-columns:repeat(2,minmax(0,1fr))!important;max-width:976px!important;align-items:stretch!important;}
.source-video-thumb{position:relative;aspect-ratio:16/9;overflow:hidden;}
.source-video-thumb img{width:100%;height:100%;object-fit:cover;}
.source-video-button{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:56px;height:56px;padding:0;border:0;border-radius:50%;background:#c59b27;color:#260307;cursor:pointer;}
.source-video-title .elementor-heading-title{font:600 26px/2.1 'Noto Nastaliq Urdu',serif;color:#3b0811;}
.source-video-credit .elementor-heading-title{font:400 14px/2 'Noto Nastaliq Urdu',serif;color:#74665c;}
html[lang=en] .source-video-title .elementor-heading-title{font:600 24px/1.5 Georgia,serif;}
html[lang=en] .source-video-credit .elementor-heading-title{font:400 14px/1.7 Georgia,serif;}
@media(max-width:700px){#videos .elementor-element-37a7a99{grid-template-columns:minmax(0,1fr)!important;}}

#audio a.reference-audio-free{white-space:nowrap;padding:3px 5px;font-size:10px;}
.source-cover-credit{font:400 12px/1.7 Georgia,serif!important;color:#74665c!important;text-align:center;margin:8px 0!important;}
/* Keep section labels clear of the sticky header after homepage navigation. */
#videos,#articles,#submit-work{scroll-margin-top:110px;}

/* Review fixes: explicit component states prevent Hello/Woo defaults leaking into archive controls. */
#content a:not(.source-add-to-cart):not(.button):not(.wc-block-components-button){color:#3b0811;}
#content button:not(.wc-block-components-button):not(.source-video-button){border-color:#c59b27;}
#content #btn-login-submit{color:#fff3cb!important;background:linear-gradient(90deg,#3b0811,#5b1323)!important;}
#content #btn-register-submit{background:#c59b27!important;color:#240409!important;}
#content #tab-btn-login,#content #tab-btn-register{background:transparent;color:#3b0811;border:1px solid transparent;}
#content #tab-btn-login[aria-pressed="true"],#content #tab-btn-register[aria-pressed="true"]{background:#3b0811;color:#fff3cb;}
.auth-recovery{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;font-size:13px;}
.auth-recovery button{background:transparent;color:#3b0811;border:1px solid #cbbba5;border-radius:6px;padding:6px 12px;}
.auth-recovery a{text-decoration:underline;text-underline-offset:4px;}
body #content .source-purchase button.single_add_to_cart_button{background:#3b0811!important;color:#fff3cb!important;border:1px solid #3b0811;border-radius:6px;padding:12px 18px;}
body #content .source-purchase button.single_add_to_cart_button:hover{background:#5b1323!important;}
#poem-reading-dialog .poem-reading-footer{display:grid;grid-template-columns:1fr auto;gap:12px;background:#faf7f2;}
#poem-reading-dialog #poem-reading-source{grid-column:1/-1;background:#3b0811;color:#fff3cb!important;text-decoration:none;border-radius:6px;padding:12px 16px;text-align:center;font-size:14px;line-height:1.8;}
#poem-reading-dialog #poem-reading-source:hover{background:#5b1323;color:#fff!important;}
#poem-reading-dialog .poem-reading-footer #poem-reading-copy{color:#3b0811;justify-self:start;}
#poem-reading-dialog .poem-reading-footer #poem-reading-copy-status{position:static;grid-column:1/-1;}
#poem-reading-dialog .poem-reading-footer #poem-reading-copy-status:empty{display:none;}
html[lang=en] #poem-reading-english{display:none;}
.catalogue-search{max-width:620px;margin:0 auto 32px;display:grid;gap:8px;}
.catalogue-search input{width:100%;background:white;padding:12px 16px;border:1px solid #cbbba5;border-radius:8px;}
.source-book-card[hidden]{display:none!important;}
.source-catalogue .source-book-card>p:not(.source-cover-credit){display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;}
.source-profile #bibliography .source-book-card .source-cover-link{max-width:180px;margin-inline:auto;width:100%;}
.source-profile #bibliography .source-catalogue-cover{height:220px!important;}
body.woocommerce-cart .wc-block-grid__product-image img,body.woocommerce-cart .wc-block-components-product-image img,body.woocommerce-cart .wc-block-product-template img{object-fit:contain!important;max-height:280px;width:100%;background:#f3ece1;}
.literary-media-card .media-card-action{display:flex;align-items:center;gap:12px;justify-content:space-between;}
.literary-media-card .media-direct-play{background:#c59b27;color:#240409;border:0;border-radius:50%;width:48px;height:48px;padding:0;flex:none;cursor:pointer;}
.literary-media-thumb{display:block;position:relative;aspect-ratio:16/9;background:#240409;}
.literary-media-thumb img{width:100%;height:100%;object-fit:cover;}
.literary-media-thumb span{position:absolute;inset:0;display:grid;place-items:center;color:#f5e09a;font-size:40px;text-shadow:0 2px 6px #000;}
.source-audio-player{margin:24px 0;display:flex;align-items:center;gap:16px;padding:20px;background:#3b0811;color:#fff3cb;border:1px solid #c59b27;border-radius:12px;}
.source-audio-player button{background:#c59b27;color:#240409;border:0;border-radius:6px;padding:12px 20px;}

@media(max-width:600px){
 #literary-topbar{padding:6px 12px;justify-content:center;}
 #literary-topbar>div:first-child{display:none;}
 #literary-topbar>div:last-child{margin-top:0;gap:12px;}
 #literary-topbar #currency-select,#literary-topbar #lang-toggle-btn{min-height:36px;height:36px;font-size:13px!important;}
 .elementor-18 .elementor-element-26c13ca{padding:24px 20px!important;}
 .elementor-18 .elementor-element-5d6bb55{gap:12px!important;}
 .elementor-18 .elementor-element-43f913d{display:none!important;}
 .source-book-detail .source-panel{padding:20px 16px;}
 .source-book-detail h1{font-size:27px;margin-bottom:20px;}
 .source-book-detail .source-purchase{margin:12px 0;gap:10px;}
 .source-book-detail .source-purchase form.cart{gap:10px;}
 .source-book-detail .source-book-gallery{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:16px;}
 .source-book-detail .source-book-gallery figure{flex:0 0 100%;flex-basis:100%;scroll-snap-align:start;}
 .source-book-detail .source-detail-cover{height:320px!important;}
 .source-profile #bibliography .source-book-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px;}
 .source-profile #bibliography .source-book-card{padding:12px;}
 .source-profile #bibliography .source-book-card h3{font-size:17px;}
 .source-profile #bibliography .source-book-card p:not(.source-cover-credit){display:none;}
 .source-profile #bibliography .source-catalogue-cover{height:180px!important;}
}

/* Product overview keeps price and purchase beside the cover, then stacks summary first on phones. */
.source-page.source-book-detail{max-width:1216px;}
.source-book-breadcrumb{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:24px;font-size:14px;}
.source-product-overview{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:48px;align-items:start;}
.source-product-summary{min-width:0;}
.source-book-detail h1{font-size:36px;line-height:2;}
.source-product-author{font:14px/2 'Noto Nastaliq Urdu',serif;text-decoration:underline;text-underline-offset:5px;}
.source-product-summary .source-purchase{margin-top:24px;padding-top:24px;gap:16px;}
.source-product-summary .source-purchase form.cart{flex-basis:100%;}
.source-product-summary .source-store-notice{font-size:13px!important;line-height:2;margin:20px 0;}
.source-product-delivery{font-size:13px!important;line-height:2!important;}
.source-product-covers{min-width:0;}
.source-product-covers figure{margin:0;text-align:center;}
.source-product-front>a{display:block;padding:16px;background:#f3ece1;border-radius:12px;}
.source-product-front .source-detail-cover{height:460px!important;max-width:100%;}
.source-product-covers figcaption{font:12px/1.8 'Noto Nastaliq Urdu',serif;color:#675d54;padding-top:12px;}
.source-back-covers{margin-top:20px;border:1px solid #e3d8c8;border-radius:8px;padding:12px;}
.source-back-covers summary{cursor:pointer;color:#3b0811;font-size:14px;line-height:2;}
.source-back-cover-grid{display:grid;gap:16px;padding-top:16px;}
.source-back-cover{width:100%;max-height:440px;object-fit:contain;}
.source-book-detail .source-book-description{border-top:1px solid #e3d8c8;margin-top:36px;padding-top:24px;}
@media(max-width:700px){
 .source-product-overview{grid-template-columns:1fr;gap:24px;}
 .source-book-detail h1{font-size:26px;line-height:2;}
 .source-book-detail .source-product-front .source-detail-cover{height:350px!important;}
 .source-page.source-book-detail{padding:24px 16px;}
 .source-product-summary .source-purchase{margin-top:16px;padding-top:16px;}
}

body.woocommerce-account #content{max-width:800px;margin-inline:auto;padding:32px 20px;}
body.woocommerce-account #content .woocommerce{padding:24px;border:1px solid #e3d8c8;border-radius:12px;background:#fff;}
body.woocommerce-account #content .button{background:#3b0811;color:#fff3cb;padding:12px 20px;border:1px solid #c59b27;border-radius:6px;}
body.woocommerce-account #content .entry-title{font:600 30px/2 'Noto Nastaliq Urdu',serif;color:#3b0811;}
#books .e-loop-item .source-cover-credit{font:11px/1.6 Georgia,serif!important;margin:8px 0 0!important;}

/* The client-managed loop keeps its six-item query; cover art must never be cropped. */
#books .e-loop-item .elementor-widget-image img{width:100%!important;height:280px!important;object-fit:contain!important;background:#f3ece1;border-radius:6px;}
@media(max-width:600px){#books .e-loop-item .elementor-widget-image img{height:250px!important;}}

/* Supplied full-book PDFs remain clear secondary actions beside the purchase form. */
.source-book-pdf{margin:20px 0;padding:16px;background:#faf7f2;border:1px solid #e3d8c8;border-radius:10px;}
.source-book-pdf h2{font-size:20px!important;line-height:2!important;margin:0 0 8px!important;}
.source-book-pdf .source-pdf-meta{font-size:13px!important;line-height:1.8!important;margin:0 0 12px;color:#675d54;}
.source-pdf-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;}
.source-pdf-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 14px;border:1px solid #3b0811;border-radius:6px;font-size:13px;line-height:1.8;text-decoration:none;}
#content .source-book-pdf a.source-pdf-open{background:#3b0811;color:#fff3cb!important;}
#content .source-book-pdf a.source-pdf-download{background:#fff;color:#3b0811;}
.source-pdf-actions a:focus-visible{outline:3px solid #c59b27;outline-offset:3px;}

/* Keyboard users can bypass the repeated site navigation. */
.literary-skip-link{position:fixed;top:8px;left:8px;z-index:2147483647;transform:translateY(-180%);background:#faf7f2;color:#3b0811!important;border:2px solid #3b0811;border-radius:6px;padding:10px 16px;font:600 16px/1.5 Arial,sans-serif;min-height:44px;}
.literary-skip-link:focus{transform:translateY(0);outline:3px solid #c59b27;outline-offset:2px;}
