/* KurdNation edition — articles, archive introductions and footer */
html[lang="kmr"] body.home #td-outer-wrap .kn-home-row .td_module_wrap:not(.td_block_slide *) :is(.td-module-title, .td-excerpt) {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	block-size: 2lh;
	overflow: hidden;
	overflow-wrap: break-word;
	white-space: normal;
}
body:is(.archive,.search) #td-outer-wrap :is(.td-category-header,.td-page-header,.page-header){background:#fff}
body.archive #td-outer-wrap .td-category-header{padding-block:clamp(14px,2vw,24px)}
body:is(.archive,.search) #td-outer-wrap :is(.td-category-header,.td-page-header,.page-header) :is(h1.td-page-title,h1.page-title,h1.archive-title){color:#112b3d;font-size:clamp(24px,2.3vw,32px);line-height:1.5;font-weight:700;margin-block:0 14px;text-align:start;overflow-wrap:anywhere}
body:is(.archive,.search) #td-outer-wrap :is(.td-category-header,.td-page-header,.page-header) h1 span{color:inherit}
body.archive #td-outer-wrap :is(.td-category-description,.td-tag-description,.taxonomy-description,.archive-description,.term-description,.wp-block-term-description){box-sizing:border-box;width:100%;max-width:76ch;margin:0;padding:12px clamp(14px,2.5vw,20px);border:0;border-inline-start:3px solid #f28c28;border-radius:4px;background:#f3f6f8;color:#243e50;text-align:start;font-size:16px;font-weight:400;font-style:normal;line-height:1.95;overflow-wrap:anywhere}
body.archive #td-outer-wrap :is(.td-category-description,.td-tag-description,.taxonomy-description,.archive-description,.term-description,.wp-block-term-description) p{margin:0;color:inherit;font:inherit;text-align:inherit}
body.archive #td-outer-wrap :is(.td-category-description,.td-tag-description,.taxonomy-description,.archive-description,.term-description,.wp-block-term-description) p+p{margin-block-start:.6em}
body.archive #td-outer-wrap :is(.td-category-description,.td-tag-description,.taxonomy-description,.archive-description,.term-description,.wp-block-term-description):is(:empty,:has(>p:only-child:empty),:has(>p:only-child>br:only-child)){display:none}
body.archive #td-outer-wrap .td-category-header h1:last-child{margin-block-end:0}
body.single-post #td-outer-wrap .td-post-content{max-width:70ch;margin-inline:auto;color:#172635}
body.single-post #td-outer-wrap .td-post-content>p{line-height:1.95}
#td-outer-wrap .tdc-footer-wrap>.td-footer-wrapper.td-footer-template-14{background-color:#112b3d;color:#fff;border-block-start:3px solid #f28c28!important;box-sizing:border-box;width:100%!important;max-width:none!important;height:auto!important;min-height:0!important;margin:0 auto!important;padding:0!important}
#td-outer-wrap .tdc-footer-wrap>.td-footer-wrapper.td-footer-template-14>.td-footer-bottom-full{box-sizing:border-box;width:fit-content!important;max-width:100%!important;min-height:0!important;margin:0 auto!important;padding:8px clamp(10px,1.5vw,18px)!important}
#td-outer-wrap .td-footer-template-14 .td-footer-bottom-full>.td-pb-row{display:grid!important;grid-template-columns:auto minmax(0,max-content) minmax(0,max-content);align-items:center;gap:6px clamp(12px,1.8vw,22px);width:auto!important;margin:0!important}
#td-outer-wrap .td-footer-template-14 .td-footer-bottom-full>.td-pb-row::before,#td-outer-wrap .td-footer-template-14 .td-footer-bottom-full>.td-pb-row::after{display:none!important;content:none!important}
#td-outer-wrap .td-footer-template-14 .td-footer-bottom-full>.td-pb-row>div{box-sizing:border-box;float:none!important;width:auto!important;min-width:0;min-height:0;margin:0!important;padding:0!important}
#td-outer-wrap .td-footer-template-14 :is(.footer-logo-wrap,.footer-text-wrap,.footer-social-wrap){margin:0!important;padding:0!important}
#td-outer-wrap .td-footer-template-14 .footer-logo-wrap img{display:block;width:clamp(72px,11vw,160px);max-width:100%!important;height:auto;margin:0}
#td-outer-wrap .td-footer-template-14 .footer-logo-wrap a{display:block;width:fit-content;max-width:100%}
#td-outer-wrap .td-footer-template-14 .footer-text-wrap{max-width:56ch;text-align:start;overflow-wrap:anywhere;color:#fff}
#td-outer-wrap .td-footer-template-14 :is(.footer-text-wrap,.footer-social-wrap) .block-title{margin:0 0 4px!important;padding:0!important;text-align:start;color:#fff}
#td-outer-wrap .td-footer-template-14 :is(.footer-text-wrap,.footer-social-wrap) .block-title>span{display:inline-block;padding:0!important;line-height:1.45;color:inherit}
#td-outer-wrap .td-footer-template-14 .footer-email-wrap{margin:0!important;padding:3px 0 0!important}
#td-outer-wrap .td-footer-template-14 .footer-social-wrap{display:flex;flex-wrap:wrap;align-items:center;gap:3px 4px;max-width:23rem;text-align:start}
#td-outer-wrap .td-footer-template-14 .footer-social-wrap .block-title{flex:0 0 100%;margin:0!important}
#td-outer-wrap .td-footer-template-14 .footer-social-wrap .td-social-icon-wrap{display:inline-flex;margin:0!important}
#td-outer-wrap .td-footer-template-14 .footer-social-wrap .td-icon-font{width:34px;height:34px;line-height:34px}
#td-outer-wrap .td-footer-template-14 .footer-text-wrap a{color:#fff;text-decoration:underline;text-underline-offset:.18em}
#td-outer-wrap .td-footer-template-14 .footer-text-wrap a:is(:hover,:focus-visible){color:#ffba76}
@media(max-width:820px){#td-outer-wrap .td-footer-template-14 .td-footer-bottom-full>.td-pb-row{grid-template-columns:auto minmax(0,1fr);gap:6px 12px}#td-outer-wrap .td-footer-template-14 .td-footer-bottom-full>.td-pb-row>.td-pb-span4{grid-column:1/-1}#td-outer-wrap .td-footer-template-14 .footer-social-wrap{max-width:none}#td-outer-wrap .td-footer-template-14 .footer-logo-wrap img{width:72px}}

.kncs-lang-ar :is(.td-header-wrap .td-header-sp-top-widget,.td-mobile-container .td-menu-socials,.footer-social-wrap) .td-social-icon-wrap:has(>a[href="#"]){display:none!important}
.kncs-lang-ar .footer-social-wrap:not(:has(a[href]:not([href="#"]))){display:none!important}
#td-outer-wrap .td-footer-template-14 .footer-text-wrap a:focus-visible{outline:2px solid #ffba76;outline-offset:3px}
#td-outer-wrap .td-sub-footer-menu .kn-region-unavailable>a{cursor:default}

/* Official biographies and bibliography. Logical properties follow the edition's reading direction. */
:is(.kn-secretary-profile,.kn-leader-profile) {
  --kn-profile-ink: #153448;
  --kn-profile-muted: #435969;
  --kn-profile-line: #d8e1e6;
  --kn-profile-accent: #e78b31;
  color: var(--kn-profile-ink);
  text-align: start;
  margin-inline: auto;
  max-inline-size: 76ch;
  overflow-wrap: anywhere;
}
:is(.kn-secretary-profile,.kn-leader-profile) :is(.kn-profile-intro,.kn-leader-intro) {
  padding: clamp(1rem,2.5vw,1.6rem);
  border-inline-start: 4px solid var(--kn-profile-accent);
  background: #f3f6f7;
  color: var(--kn-profile-ink);
  font-size: clamp(1.05rem,1.8vw,1.18rem);
  line-height: 1.85;
}
:is(.kn-secretary-profile,.kn-leader-profile) :is(.kn-profile-section,.kn-leader-section) {
  margin-block: clamp(1.5rem,3vw,2.3rem);
}
:is(.kn-secretary-profile,.kn-leader-profile) :is(h2,h3) {
  color: var(--kn-profile-ink);
  line-height: 1.45;
  text-align: start;
}
:is(.kn-secretary-profile,.kn-leader-profile) h2 {
  border-block-end: 1px solid var(--kn-profile-line);
  padding-block-end: .45em;
}
:is(.kn-secretary-profile,.kn-leader-profile) h2::after {
  content: "";
  display: block;
  width: 2.5rem;
  height: 3px;
  background: var(--kn-profile-accent);
  margin-block-start: .4em;
  margin-block-end: calc(-.45em - 1px);
}
:is(.kn-secretary-profile,.kn-leader-profile) .kn-leader-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 1.1rem;
  margin-block: 1rem;
}
:is(.kn-secretary-profile,.kn-leader-profile) :is(a,a:visited) {
  color: #07546b;
  text-underline-offset: .17em;
}
:is(.kn-secretary-profile,.kn-leader-profile) :is(a:hover,a:focus-visible) {
  color: #763f15;
  text-decoration: underline;
}
:is(.kn-secretary-profile,.kn-leader-profile) a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
:is(.kn-secretary-profile,.kn-leader-profile) .kn-profile-books {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(100%,17rem),1fr));
  gap: 0 1.35rem;
  padding: 0;
  margin: 1rem 0;
  list-style: none;
}
:is(.kn-secretary-profile,.kn-leader-profile) .kn-profile-book {
  display: flex;
  align-items: center;
  gap: .85rem;
  min-inline-size: 0;
  margin: 0;
  padding: .85rem 0;
  border-block-start: 1px solid var(--kn-profile-line);
  list-style: none;
}
:is(.kn-secretary-profile,.kn-leader-profile) .kn-profile-book :is(figure,p) {margin: 0;}
:is(.kn-secretary-profile,.kn-leader-profile) img.kn-profile-cover {
  display: block;
  flex: none;
  inline-size: clamp(48px,7vw,64px);
  block-size: clamp(68px,10vw,90px);
  object-fit: contain;
  object-position: center;
  margin: 0;
}
:is(.kn-secretary-profile,.kn-leader-profile) .kn-profile-book-info {min-inline-size: 0;line-height: 1.65;}
:is(.kn-secretary-profile,.kn-leader-profile) .kn-profile-book-info small {display: block;color: var(--kn-profile-muted);}
@media (max-width: 550px) {
  :is(.kn-secretary-profile,.kn-leader-profile) .kn-profile-books {grid-template-columns: 1fr;}
}
