/* Kalam Aflam Design System 1.7.0 — exact typography / centered magazine width / approved footer. */
:root{
 --kads-magazine-font:"IBM Plex Sans Arabic",Tahoma,Arial,sans-serif;
 --kads-magazine-width:1200px;
 --kads-reading-width:900px;
}
/* Unify the actual approved font of the homepage across every public template. */
html body.kads-unified-site{
 font-family:var(--kads-magazine-font)!important;
}
body.kads-unified-site:not(.page-id-18366) :is(
 #content,.cm_post_page_lay_wrap,.cm_post_page_lay_wrap .the_content,
 .cm_post_page_lay_wrap .the_title,.kads-shell,.kads-post-card,
 .kads-page-heading,.kads-page-heading h1,.kads-post-title,.kads-excerpt,
 .kads-post-copy,.kads-post-date,.kads-post-card p,
 .cm_post_page_lay_wrap .ka-info-page,.cm_post_page_lay_wrap .ka-noir-guide,
 .cm_post_page_lay_wrap .the_content > p,
 .cm_post_page_lay_wrap .the_content > h2,
 .cm_post_page_lay_wrap .the_content > h3,
 .cm_post_page_lay_wrap .the_content > h4,
 .cm_post_page_lay_wrap .the_content li,
 .cm_post_page_lay_wrap .the_content blockquote,
 .cm_post_page_lay_wrap .the_content figcaption,
 .cm_post_page_lay_wrap .the_content :is(a,button,label,input,select,textarea),
 .cm_post_page_lay_wrap article.post-detail > .the_content > p,
 .cm_post_page_lay_wrap article.page > .the_content > p
){font-family:var(--kads-magazine-font)!important;}
body.kads-unified-site:not(.page-id-18366) :is(.kads-sidebar,.kads-filter-nav,.kads-filter-nav a,article.post-detail,article.page){font-family:var(--kads-magazine-font)!important;}
/* Homepage's editorial sections are 1200px and centered (40px gutters at 1280px). */
body.kads-unified-site:not(.home) #content > .cm-container{
 width:min(var(--kads-magazine-width),calc(100% - 40px))!important;
 max-width:var(--kads-magazine-width)!important;
 padding-inline:0!important;
 margin-inline:auto!important;
}
body.kads-unified-site:not(.home) #content .inner-page-wrapper,
body.kads-unified-site:not(.home) #content #primary,
body.kads-unified-site:not(.home) #content #main,
body.kads-unified-site:not(.home) #content .cm_post_page_lay_wrap{
 width:100%!important;max-width:100%!important;min-width:0!important;margin-inline:auto!important;
}
body.kads-unified-site:not(.home) .kads-shell{
 width:min(var(--kads-magazine-width),calc(100% - 40px))!important;
 max-width:var(--kads-magazine-width)!important;
 margin-inline:auto!important;
}
/* Narrow the reading COLUMN, not the underlying media embeds or related cards. */
body.kads-unified-site.single-post .cm_post_page_lay_wrap article.post-detail > :is(.the_title,.cm-post-meta){
 width:min(100%,var(--kads-reading-width))!important;
 max-width:var(--kads-reading-width)!important;
 margin-inline:auto!important;
 box-sizing:border-box!important;
}
body.kads-unified-site.single-post .cm_post_page_lay_wrap article.post-detail > .the_content{
 width:100%!important;max-width:100%!important;margin-inline:auto!important;
 text-align:right!important;direction:rtl!important;
 font-family:var(--kads-magazine-font)!important;
}
body.kads-unified-site.single-post .cm_post_page_lay_wrap article.post-detail > .the_content > :is(p,h2,h3,h4,h5,ul,ol,blockquote,table){
 width:min(100%,var(--kads-reading-width))!important;
 max-width:var(--kads-reading-width)!important;
 margin-left:auto!important;margin-right:auto!important;
 box-sizing:border-box!important;
 text-align:right!important;
 font-family:var(--kads-magazine-font)!important;
}
body.kads-unified-site.single-post .cm_post_page_lay_wrap article.post-detail > .the_content > :is(p,li){
 font-family:var(--kads-magazine-font)!important;
 font-size:clamp(17px,1.5vw,19px)!important;
 line-height:1.94!important;
}
body.kads-unified-site.single-post .cm_post_page_lay_wrap article.post-detail > .the_content > :is(h2,h3,h4){
 font-family:var(--kads-magazine-font)!important;
}
body.kads-unified-site.single-post .cm_post_page_lay_wrap article.post-detail > .the_content > :is(.wp-block-image,figure,div.wp-block-image,div.wp-block-video){
 margin-left:auto!important;margin-right:auto!important;
}
/* Pages: keep full-width crafted sections, but put actual reading text in the same center. */
body.kads-unified-site.page:not(.home) .cm_post_page_lay_wrap article.page{
 width:100%!important;max-width:100%!important;margin-inline:auto!important;
}
body.kads-unified-site.page:not(.home) .cm_post_page_lay_wrap article.page > .the_content > :is(p,h2,h3,h4,ul,ol,blockquote){
 width:min(100%,var(--kads-reading-width))!important;
 max-width:var(--kads-reading-width)!important;
 margin-left:auto!important;margin-right:auto!important;
 box-sizing:border-box!important;
 font-family:var(--kads-magazine-font)!important;
}
body.kads-unified-site.page:not(.home) .cm_post_page_lay_wrap article.page > .the_content > p{
 font-size:clamp(17px,1.45vw,19px)!important;
 line-height:1.95!important;
}
body.kads-unified-site.page:not(.home) .cm_post_page_lay_wrap article.page > .the_content > :is(.wp-block-group,.ka-info-page,.ka-noir-guide){
 max-width:var(--kads-magazine-width)!important;margin-inline:auto!important;
}
body.kads-unified-site.page:not(.home) .cm_post_page_lay_wrap .ka-noir-guide{
 max-width:var(--kads-reading-width)!important;margin-inline:auto!important;
 font-family:var(--kads-magazine-font)!important;
}
body.kads-unified-site:not(.page-id-18366) :is(.kads-post-copy,.kads-overline,.kads-excerpt,.kads-page-heading,.kads-no-results,.kads-filter-nav){
 font-family:var(--kads-magazine-font)!important;
}
/* The homepage owns the true approved footer; hide only its obsolete theme footer. */
html body.kads-unified-site footer.footer,
html body.kads-unified-site.home.page-id-18366 footer.footer{
 display:none!important;
}
/* All other URLs render the same genuine APPROVED editorial footer markup. */
html body.kads-unified-site:not(.page-id-18366) footer.kaepp-preview-footer.kads-approved-footer{
 display:block!important;width:100%!important;max-width:none!important;
 margin:clamp(40px,6vw,75px) 0 0!important;padding:0!important;
 border:0!important;box-shadow:none!important;
 background:#111!important;color:#b8b1aa!important;
 direction:rtl!important;text-align:right!important;
 font:400 16px/1.65 var(--kads-magazine-font)!important;
 clear:both!important;box-sizing:border-box!important;
}
body.kads-unified-site:not(.page-id-18366) .kads-approved-footer *,
body.kads-unified-site:not(.page-id-18366) .kads-approved-footer *::before,
body.kads-unified-site:not(.page-id-18366) .kads-approved-footer *::after{box-sizing:border-box;}
body.kads-unified-site:not(.page-id-18366) .kads-approved-footer .kaepp-footer-inner{
 display:grid!important;
 grid-template-columns:minmax(0,1.05fr) minmax(0,.62fr) minmax(0,.62fr) minmax(0,1.12fr)!important;
 gap:clamp(34px,4vw,70px)!important;
 direction:rtl!important;align-items:start!important;
 width:min(1440px,calc(100% - 60px))!important;
 max-width:1440px!important;min-height:345px!important;
 margin-inline:auto!important;padding:72px 0 57px!important;
}
body.kads-unified-site:not(.page-id-18366) .kads-approved-footer .kaepp-col{
 min-width:0!important;padding:0!important;margin:0!important;
 direction:rtl!important;text-align:right!important;
 font-family:var(--kads-magazine-font)!important;
}
body.kads-unified-site:not(.page-id-18366) .kads-approved-footer h2{
 margin:0 0 15px!important;padding:0!important;border:0!important;background:transparent!important;
 color:#e9a78f!important;
 font:700 16px/1.6 var(--kads-magazine-font)!important;
}
body.kads-unified-site:not(.page-id-18366) .kads-approved-footer a{
 text-decoration:none!important;transition:color .15s;
 font-family:var(--kads-magazine-font)!important;
}
body.kads-unified-site:not(.page-id-18366) .kads-approved-footer .kaepp-wordmark{
 display:block!important;width:fit-content!important;
 font:700 clamp(25px,2vw,31px)/1.5 var(--kads-magazine-font)!important;
 color:#fff!important;margin:0 0 15px!important;padding:0!important;
}
body.kads-unified-site:not(.page-id-18366) .kads-approved-footer .kaepp-wordmark span{color:#ab493a!important;}
body.kads-unified-site:not(.page-id-18366) .kads-approved-footer .kaepp-about p{
 color:#b4ada6!important;font:400 15px/1.9 var(--kads-magazine-font)!important;
 max-width:280px!important;margin:0 0 23px!important;padding:0!important;
}
body.kads-unified-site:not(.page-id-18366) .kads-approved-footer :is(.kaepp-categories,.kaepp-site) a{
 display:block!important;width:fit-content!important;max-width:100%!important;
 margin:0 0 12px!important;padding:0!important;color:#ddd6cf!important;
 font:400 16px/1.85 var(--kads-magazine-font)!important;text-align:right!important;
}
body.kads-unified-site:not(.page-id-18366) .kads-approved-footer a:is(:hover,:focus-visible){color:#f1b8a5!important;}
body.kads-unified-site:not(.page-id-18366) .kads-approved-footer a:focus-visible{
 outline:2px solid #eab49b!important;outline-offset:4px!important;
}
body.kads-unified-site:not(.page-id-18366) .kads-approved-footer .kaepp-socials{
 display:flex!important;align-items:center!important;justify-content:flex-start!important;
 gap:10px!important;direction:rtl!important;
}
body.kads-unified-site:not(.page-id-18366) .kads-approved-footer .kaepp-socials a{
 display:grid!important;place-items:center!important;width:50px!important;height:50px!important;
 flex:0 0 50px!important;border:1px solid #383530!important;border-radius:50%!important;
 margin:0!important;padding:0!important;background:transparent!important;color:#bab4ad!important;
}
body.kads-unified-site:not(.page-id-18366) .kads-approved-footer .kaepp-socials a:hover{
 background:#25211f!important;border-color:#a85642!important;
}
body.kads-unified-site:not(.page-id-18366) .kads-approved-footer .kaepp-socials svg{
 width:20px!important;height:20px!important;display:block!important;fill:none!important;
}
body.kads-unified-site:not(.page-id-18366) .kads-approved-footer .kaepp-socials svg path[fill="currentColor"],
body.kads-unified-site:not(.page-id-18366) .kads-approved-footer .kaepp-socials svg circle[fill="currentColor"]{
 fill:currentColor!important;
}
body.kads-unified-site:not(.page-id-18366) .kads-approved-footer .kaepp-newsletter > p{
 color:#b4ada6!important;font:400 15px/1.8 var(--kads-magazine-font)!important;
 margin:0 0 15px!important;padding:0!important;
}
body.kads-unified-site:not(.page-id-18366) .kads-approved-footer .kaepp-newsletter-form{
 width:100%!important;min-width:0!important;margin-top:18px!important;min-height:54px!important;
}
body.kads-unified-site:not(.page-id-18366) .kads-approved-footer .kads-jetpack-form-target{width:100%!important;}
body.kads-unified-site:not(.page-id-18366) .kads-approved-footer .kaepp-newsletter-form form{
 display:flex!important;align-items:center!important;gap:9px!important;flex-flow:row nowrap!important;
 direction:rtl!important;width:100%!important;max-width:100%!important;min-width:0!important;
 margin:0!important;padding:0!important;border:0!important;background:transparent!important;
}
body.kads-unified-site:not(.page-id-18366) .kads-approved-footer :is(#subscribe-text,.widget-title){display:none!important;}
body.kads-unified-site:not(.page-id-18366) .kads-approved-footer #subscribe-email{
 display:block!important;flex:1 1 auto!important;min-width:0!important;margin:0!important;padding:0!important;
}
body.kads-unified-site:not(.page-id-18366) .kads-approved-footer #subscribe-submit{
 display:block!important;flex:0 0 auto!important;margin:0!important;padding:0!important;
}
body.kads-unified-site:not(.page-id-18366) .kads-approved-footer input[type="email"]{
 width:100%!important;height:54px!important;display:block!important;min-width:0!important;
 border:1px solid #71665f!important;border-radius:12px!important;
 background:#211e1d!important;color:#fff!important;
 font:400 15px var(--kads-magazine-font)!important;text-align:right!important;
 padding:0 17px!important;box-shadow:none!important;
}
body.kads-unified-site:not(.page-id-18366) .kads-approved-footer input[type="email"]::placeholder{color:#918984!important;}
body.kads-unified-site:not(.page-id-18366) .kads-approved-footer :is(button[type="submit"],input[type="submit"]){
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 min-width:76px!important;height:54px!important;padding:0 13px!important;margin:0!important;
 background:#b85b39!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
 border:1px solid #b85b39!important;border-radius:12px!important;
 font:700 15px/1.4 var(--kads-magazine-font)!important;cursor:pointer!important;
}
body.kads-unified-site:not(.page-id-18366) .kads-approved-footer :is(button[type="submit"],input[type="submit"]):hover{background:#96361d!important;}
body.kads-unified-site:not(.page-id-18366) .kads-approved-footer .kaepp-footer-bottom{
 display:block!important;width:100%!important;background:#111!important;
 border-top:1px solid #2a2826!important;color:#908981!important;
}
body.kads-unified-site:not(.page-id-18366) .kads-approved-footer .kaepp-bottom-inner{
 display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;
 width:min(1440px,calc(100% - 60px))!important;max-width:1440px!important;
 min-height:62px!important;padding:13px 0!important;margin:0 auto!important;
 direction:rtl!important;text-align:right!important;
}
body.kads-unified-site:not(.page-id-18366) .kads-approved-footer .kaepp-legal{
 display:flex!important;gap:26px!important;direction:rtl!important;flex-wrap:wrap!important;
}
body.kads-unified-site:not(.page-id-18366) .kads-approved-footer .kaepp-legal a{
 color:#d1cbc3!important;font:400 14px/1.8 var(--kads-magazine-font)!important;
}
body.kads-unified-site:not(.page-id-18366) .kads-approved-footer .kaepp-copyright{
 font:400 13px/1.8 var(--kads-magazine-font)!important;color:#908981!important;
}
@media(max-width:960px){
 body.kads-unified-site:not(.page-id-18366) .kads-approved-footer .kaepp-footer-inner{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:36px!important;padding:55px 0!important;
 }
}
@media(max-width:620px){
 body.kads-unified-site:not(.page-id-18366) .kads-approved-footer .kaepp-footer-inner{
  grid-template-columns:minmax(0,1fr)!important;width:calc(100% - 38px)!important;
  gap:29px!important;padding:42px 0 36px!important;
 }
 body.kads-unified-site:not(.page-id-18366) .kads-approved-footer .kaepp-categories{grid-row:2!important;}
 body.kads-unified-site:not(.page-id-18366) .kads-approved-footer .kaepp-newsletter{grid-row:4!important;}
 body.kads-unified-site:not(.page-id-18366) .kads-approved-footer .kaepp-bottom-inner{
  width:calc(100% - 38px)!important;flex-direction:column!important;
  gap:7px!important;align-items:flex-start!important;padding:17px 0!important;
 }
 body.kads-unified-site:not(.page-id-18366) .kads-approved-footer .kaepp-newsletter-form form{gap:8px!important;}
 body.kads-unified-site:not(.page-id-18366) #content > .cm-container,
 body.kads-unified-site:not(.home) .kads-shell{width:calc(100% - 24px)!important;}
 body.kads-unified-site.single-post .cm_post_page_lay_wrap article.post-detail > :is(.the_title,.cm-post-meta),
 body.kads-unified-site.single-post .cm_post_page_lay_wrap article.post-detail > .the_content > :is(p,h2,h3,h4,ul,ol,blockquote){width:100%!important;max-width:100%!important;}
}
@media(prefers-reduced-motion:reduce){
 body.kads-unified-site .kads-approved-footer a{transition:none!important;}
}


/* KALAM_CENTER_SOURCE_REFERENCES_189
   The magazine sets direct paragraphs to text-align:right!important.
   Override ONLY the IMDb / RT reference row and center it within the 900px
   reading column, equally on mobile and desktop. Keep links fully clickable.
*/
html body.kads-unified-site.single-post #content .cm_post_page_lay_wrap article.post-detail > .the_content > p[data-kads-cinema-source-row="1"] {
  display:block!important;
  box-sizing:border-box!important;
  width:min(100%,var(--kads-reading-width,900px))!important;
  max-width:var(--kads-reading-width,900px)!important;
  margin:36px auto 24px!important;
  padding:4px 0!important;
  text-align:center!important;
  direction:ltr!important;
  font-family:var(--kads-magazine-font,"IBM Plex Sans Arabic",Tahoma,sans-serif)!important;
  font-size:clamp(16px,1.6vw,20px)!important;
  line-height:1.9!important;
}
html body.kads-unified-site.single-post #content .cm_post_page_lay_wrap article.post-detail > .the_content > p[data-kads-cinema-source-row="1"] > a {
  direction:ltr!important;
  unicode-bidi:isolate;
  white-space:nowrap;
  display:inline-block;
}
@media(max-width:620px){
  html body.kads-unified-site.single-post #content .cm_post_page_lay_wrap article.post-detail > .the_content > p[data-kads-cinema-source-row="1"]{
    margin:28px auto 20px!important;
    text-align:center!important;
    width:100%!important;
  }
}
/* KALAM_CENTER_SOURCE_REFERENCES_189_END */

/* KADS_READING_COLUMN_SYMMETRY_196
 * Some legacy pages still use a one-sided 900px content column after the
 * theme's more specific paragraph rules reset horizontal margins. Keep the
 * text right-aligned, but center its entire reading column geometrically.
 * Limit changes to prose blocks: leave galleries, wide images, video, ads,
 * article components and intentional centered/left-aligned text untouched.
 */
html body.kads-unified-site:not(.home):not(.page-id-18366) #content .cm_post_page_lay_wrap :is(article.page,article.post-detail) > .the_content > :is(p,h2,h3,h4,h5,h6,ul,ol,blockquote):not(.has-text-align-center):not(.has-text-align-left):not([data-kads-cinema-source-row="1"]) {
  box-sizing:border-box!important;
  width:min(100%,var(--kads-reading-width,900px))!important;
  max-width:var(--kads-reading-width,900px)!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
/* Preserve the editorial guide's full-width layout, but use the same
 * symmetrical reader column for text blocks nested in its introductory group.
 */
html body.kads-unified-site.page:not(.home) #content .cm_post_page_lay_wrap article.page .the_content .ka-noir-guide > .wp-block-group__inner-container > :is(p,h2,h3,h4,h5,h6,ul,ol,blockquote):not(.has-text-align-center):not(.has-text-align-left) {
  box-sizing:border-box!important;
  width:min(100%,var(--kads-reading-width,900px))!important;
  max-width:var(--kads-reading-width,900px)!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
/* KADS_READING_COLUMN_SYMMETRY_196_END */
