/* Rojhelat News Agency — site-owned editorial design, November 2026.
   Stored as a CMS visitor CSS asset. No dependency on a CMS source directory. */
body.news-agency-site {
  --rna-ink: #19232b;
  --rna-muted: #596670;
  --rna-rule: #dce1e4;
  --rna-yellow: #f5c600;
  --rna-paper: #fff;
  --rna-wash: #f2f4f5;
  --cms-content-width: 1280px;
  --cms-text: var(--rna-ink);
  --cms-muted-text: var(--rna-muted);
  --cms-border: var(--rna-rule);
  --cms-primary: #725900;
  --cms-radius: 3px;
  background: var(--rna-wash);
  color: var(--rna-ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
}
html[dir="rtl"] body.news-agency-site {
  font-family: Tahoma, Arial, sans-serif;
}
.news-agency-site *, .news-agency-site *::before, .news-agency-site *::after { box-sizing: border-box; }
.news-agency-site :is(h1,h2,h3,h4) { color: var(--rna-ink); letter-spacing: -.025em; }
html[dir="rtl"] .news-agency-site :is(h1,h2,h3,h4,a,p,span) { letter-spacing: normal; }
.news-agency-site :is(a,button,input,select,textarea):focus-visible {
  outline: 3px solid #916e00;
  outline-offset: 4px;
}
.news-agency-site a { text-underline-offset: .2em; }
.news-agency-site img { max-width: 100%; }

/* Masthead and navigation retain the original RNA identity. */
.news-agency-site .news-header { border-block-start: 4px solid var(--rna-yellow); box-shadow: none; }
.news-agency-site .news-utility-bar { background: var(--rna-ink); font-size: .75rem; letter-spacing: 0; }
.news-agency-site .news-utility-inner { width: min(1280px, calc(100% - 48px)); min-height: 38px; }
.news-agency-site .newsroom-live-dot { box-shadow: none; width: 5px; height: 5px; }
.news-agency-site .news-utility-bar .language-switcher { border: 0; padding-inline-end: 0; }
.news-agency-site .news-utility-bar :is(.language-switcher,.customer-navigation) ul { display: flex; flex-flow: row wrap; align-items: center; gap: 4px 8px; }
.news-agency-site .language-switcher a { padding: .3rem .45rem; border-radius: 2px; }
.news-agency-site .language-switcher a[aria-current="page"] { background: #ffffff12; }
.news-agency-site .news-masthead {
  width: min(1280px, calc(100% - 48px));
  margin-inline: auto;
  padding: 16px 0;
  min-height: 126px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}
.news-agency-site .news-brand { flex: 0 0 auto; }
.news-agency-site .news-masthead:has(> .news-brand:only-child) { justify-content: center; }
.news-agency-site .brand-logo { width: 178px; height: 106px; max-height: 106px; object-fit: contain; }
.news-agency-site .news-brand-claim { max-width: 420px; padding-inline-start: 22px; border-inline-start: 3px solid var(--rna-yellow); font-size: .9rem; }
.news-agency-site .news-masthead .header-search { width: min(320px, 100%); margin: 0; }
.news-agency-site .news-masthead .header-search input { min-width: 0; background: var(--rna-wash); border: 1px solid var(--rna-rule); }
.news-agency-site .news-navigation-bar { background: #fff; border-block-start: 1px solid var(--rna-rule); border-block-end: 3px solid var(--rna-ink); }
.news-agency-site .main-navigation { width: min(1280px, calc(100% - 32px)); overflow: visible; }
.news-agency-site .main-navigation > ul { min-width: 0; display: flex; flex-flow: row wrap; justify-content: flex-start; gap: 0; }
.news-agency-site .main-navigation a { padding: 13px 15px; min-height: 46px; color: var(--rna-ink); font-size: .85rem; font-weight: 700; letter-spacing: 0; }
.news-agency-site .main-navigation a:hover,
.news-agency-site .main-navigation a[aria-current="page"] { background: var(--rna-yellow); color: var(--rna-ink); }

/* A single shared paper surface, with controlled newsroom density. */
.news-agency-site .site-main {
  width: min(1328px, 100%);
  margin: 24px auto 48px;
  padding: 28px 24px 40px;
  background: var(--rna-paper);
  box-shadow: none;
  border: 1px solid var(--rna-rule);
}
.news-agency-site .portal-home.home-layout { gap: 34px 28px; align-items: start; }
.news-agency-site .home-block { min-width: 0; gap: 16px; }
.news-agency-site .home-block__heading { gap: 10px; padding-block-end: 12px; border-block-end: 2px solid var(--rna-ink); align-items: center; }
.news-agency-site .home-block__heading::before { width: 5px; min-height: 22px; background: var(--rna-yellow); }
.news-agency-site .home-block__heading h2 { font-size: 1.16rem; font-weight: 800; line-height: 1.65; letter-spacing: 0; }
.news-agency-site .home-block__heading a { font-size: .8rem; }
.news-agency-site .rna-edition { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block-end: 20px; border-block-end: 1px solid var(--rna-rule); }
.news-agency-site .rna-edition__brand { display: block; margin-block-end: 6px; color: #785e00; font: 700 .7rem/1.5 Arial, sans-serif; letter-spacing: .13em; text-transform: uppercase; }
.news-agency-site .rna-edition h1 { margin: 0; font-size: clamp(1.25rem, 2vw, 1.65rem); line-height: 1.5; font-weight: 800; }
.news-agency-site .rna-edition p { max-width: 420px; margin: 0; font-size: .82rem; line-height: 1.9; color: var(--rna-muted); }
.news-agency-site .rna-edition p span { display: block; }

/* Story cards use a quiet date/category line instead of competing badges. */
.news-agency-site .portal-card { border: 0; border-block-end: 1px solid var(--rna-rule); border-radius: 0; background: transparent; box-shadow: none; }
.news-agency-site .portal-card-body { padding: 12px 0 18px; gap: 10px; }
.news-agency-site .portal-card h3 { font-size: 1.06rem; line-height: 1.7; font-weight: 700; }
.news-agency-site :is(.portal-card,.home-headline,.post-card) :is(h2,h3) a { color: var(--rna-ink); text-decoration: none; }
.news-agency-site :is(.portal-card,.home-headline,.post-card) :is(h2,h3) a:hover { text-decoration: underline; text-decoration-color: #9a7a00; text-decoration-thickness: 2px; }
.news-agency-site .portal-card p { font-size: .88rem; line-height: 1.9; color: var(--rna-muted); }
.news-agency-site :is(.portal-card-media,.portal-featured-media,.post-card__media) { background: #e8ecee; border-radius: 2px; }
.news-agency-site :is(.portal-card-media,.portal-featured-media,.post-card__media) img { transition: transform .25s ease; }
.news-agency-site .content-meta { gap: 5px 10px; align-items: center; line-height: 1.5; }
.news-agency-site .content-meta__item { padding: 0; min-height: auto; background: transparent; border: 0; font-size: .69rem; line-height: 1.8; color: var(--rna-muted); letter-spacing: 0; }
.news-agency-site .content-meta__item--category { color: #755b00; font-weight: 700; background: transparent; }
.news-agency-site .content-meta__item--type { display: none; }
.news-agency-site .content-meta__item--date { font-family: Arial, sans-serif; }
.news-agency-site .content-meta__item--access { color: #806000; }
.news-agency-site .home-block :is(.content-meta__item--views,.content-meta__item--access) { font-size: .65rem; }
.news-agency-site .read-more { font-size: .78rem; font-weight: 700; color: #6d5500; text-decoration-color: #cab75f; text-decoration-thickness: 1px; }
.news-agency-site .portal-card .read-more { max-width: 100%; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.news-agency-site .home-block .portal-card .read-more { display: none; }

/* Opening lead and compact latest-news column. */
.news-agency-site .home-block--headline-wide .home-headlines { gap: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
.news-agency-site .home-block--headline-wide .home-headline--lead { grid-column: 1 / -1; padding-block-end: 20px; }
.news-agency-site .home-block--headline-wide .home-headline--lead .portal-featured-media { aspect-ratio: 16 / 9; }
.news-agency-site .home-block--headline-wide .home-headline--lead h3 { font-size: clamp(1.4rem, 2.45vw, 2.15rem); line-height: 1.65; letter-spacing: 0; }
.news-agency-site .home-headline__copy { gap: 9px; padding-block-start: 12px; }
.news-agency-site .home-headline__copy p { margin: 0; font-size: .92rem; line-height: 1.85; }
.news-agency-site .home-block--headline-wide .home-headline--supporting { grid-template-columns: 88px minmax(0, 1fr); gap: 12px; padding-block: 15px; }
.news-agency-site .home-block--headline-wide .home-headline--supporting h3 { font-size: .92rem; line-height: 1.7; letter-spacing: 0; }
.news-agency-site .home-headline--supporting .content-meta { display: none; }
.news-agency-site .home-posts--ranked { gap: 0; margin: 0; }
/* Runtime 1.0.0.45 uses the largest block count to bound a shared category
   query. Keep its original Kurdish count so older interviews remain available;
   the latest-news column presents six items at every viewport size. */
.news-agency-site .home-block[data-homeblock-type="Top10"] .home-posts--ranked > li:nth-child(n+7) { display: none; }
.news-agency-site .home-posts--ranked > li { padding-block: 15px; border-block-end: 1px solid var(--rna-rule); gap: 12px; }
.news-agency-site .home-posts--ranked > li::before { font: 400 1.45rem/1.4 Georgia, serif; color: #89929a; text-decoration: none; min-width: 28px; }
.news-agency-site .home-posts--ranked .portal-card { border: 0; }
.news-agency-site .home-posts--ranked .portal-card-body { padding: 0; gap: 7px; }
.news-agency-site .home-posts--ranked .portal-card h3 { font-size: .9rem; line-height: 1.7; }
.news-agency-site .home-posts--ranked .content-meta__item--views,
.news-agency-site .home-posts--ranked .content-meta__item--access { display: none; }
.news-agency-site .home-block--mostview-sidebar .portal-card { display: block; }
.news-agency-site .home-block--mostview-sidebar .portal-card-media { display: none; }
.news-agency-site .home-block--mostview-sidebar .portal-card-body { padding-block: 14px; }
.news-agency-site .home-block--mostview-sidebar .portal-card h3 { font-size: .93rem; line-height: 1.75; }
.news-agency-site .home-block--mostview-sidebar .content-meta__item--access { display: none; }

/* Category desks and the full archive stay dynamic CMS blocks. */
.news-agency-site .home-block--category-cards-4 .home-posts { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.news-agency-site :is(.home-block--category-cards-3,.home-block--posts-cards-3) .home-posts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.news-agency-site .home-block--category-cards-3[data-grid-span="8"] .home-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.news-agency-site .home-block--category-cards-4 .portal-card p { display: none; }
.news-agency-site .home-block--category-cards-4 .portal-card h3 { font-size: 1rem; }
.news-agency-site .home-block--posts-cards-3 .portal-card p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-agency-site .rna-social { display: flex; flex-wrap: wrap; gap: 8px; }
.news-agency-site .rna-social a { padding: 8px 12px; border: 1px solid var(--rna-rule); color: var(--rna-ink); background: #fff; font: 700 .78rem/1.5 Arial, sans-serif; text-decoration: none; }
.news-agency-site .rna-social a:hover { border-color: #9a7a00; background: #fffbea; }
.news-agency-site .home-block--text-card { padding: 22px; border: 1px solid var(--rna-rule); border-block-start: 3px solid var(--rna-yellow); border-radius: 0; box-shadow: none; }

/* Category archives: image-led cards, consistent metadata, complete titles. */
.news-agency-site .category-header { margin-block-end: 30px; padding-block-end: 24px; border-block-end: 3px solid var(--rna-ink); }
.news-agency-site .category-header .article-title { max-width: none; margin: 0; font-size: clamp(2rem, 4vw, 3.1rem); }
.news-agency-site .post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 26px; align-items: start; }
.news-agency-site .post-card { min-width: 0; display: flex; flex-direction: column; gap: 12px; padding: 0 0 22px; border: 0; border-block-end: 1px solid var(--rna-rule); border-radius: 0; box-shadow: none; background: transparent; }
.news-agency-site .post-card__media { margin: 0; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; }
.news-agency-site .post-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.news-agency-site .post-card h2 { margin: 0; font-size: 1.13rem; line-height: 1.75; }
.news-agency-site .post-card p { margin: 0; font-size: .88rem; line-height: 1.9; color: var(--rna-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-agency-site .post-card .read-more { margin-block-start: auto; }
.news-agency-site .pagination { margin-block-start: 32px; gap: 8px; }
.news-agency-site .pagination a { padding: 8px 14px; border: 1px solid var(--rna-rule); background: #fff; color: var(--rna-ink); }

/* Long-form posts and informational pages share an uncluttered reading measure. */
.news-agency-site .site-main > article { max-width: 1000px; margin-inline: auto; padding: 12px clamp(0px, 2vw, 24px) 24px; }
.news-agency-site .site-main > article > .content-meta { padding-block-end: 18px; border-block-end: 1px solid var(--rna-rule); }
.news-agency-site .site-main > article > .article-title { max-width: 24ch; margin: 24px 0 30px; font-size: clamp(1.65rem, 3.4vw, 2.8rem); line-height: 1.65; font-weight: 800; letter-spacing: 0; }
.news-agency-site .article-featured-image { display: block; width: 100%; max-height: 640px; height: auto; margin: 0 0 30px; object-fit: contain; border-radius: 2px; background: var(--rna-wash); }
.news-agency-site .site-main > article :is(.article-content,.article-teaser) { max-width: 76ch; margin-inline: auto; font-size: 1.08rem; line-height: 2.05; overflow-wrap: break-word; }
.news-agency-site .article-content p { margin-block: 0 1.3em; }
.news-agency-site .article-content :is(img,video,iframe,table) { max-width: 100%; }
.news-agency-site .article-content img { height: auto; }
.news-agency-site .article-content blockquote { margin-inline: 0; padding: 20px 24px; border-inline-start: 4px solid var(--rna-yellow); background: #f6f7f8; }
.news-agency-site .legacy-page-content { white-space: pre-line; }
.news-agency-site .site-main > .cms-page { max-width: 880px; padding-block: 20px 48px; }
.news-agency-site .cms-page .article-title { padding-inline-start: 20px; border-inline-start: 5px solid var(--rna-yellow); }
.news-agency-site .post-access-panel { max-width: 76ch; margin: 28px auto; padding: 24px; border: 1px solid var(--rna-rule); border-block-start: 3px solid var(--rna-yellow); border-radius: 2px; background: #f7f8f9; box-shadow: none; }
.news-agency-site .post-access-panel h2 { font-size: 1.15rem; line-height: 1.65; }
.news-agency-site .post-access-panel p { font-size: .94rem; }
.news-agency-site .access-action { border-radius: 2px; }
.news-agency-site .access-action--primary { background: var(--rna-ink); color: #fff; border-color: var(--rna-ink); }
.news-agency-site .post-share { margin-block-start: 32px; padding-block-start: 24px; border-block-start: 1px solid var(--rna-rule); }
.news-agency-site .post-share h2 { font-size: 1rem; }
.news-agency-site .post-share__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.news-agency-site .post-share__actions :is(a,button) { padding: 8px 12px; font-size: .78rem; color: var(--rna-ink); background: #fff; border: 1px solid var(--rna-rule); border-radius: 2px; box-shadow: none; }
.news-agency-site .post-share__actions [hidden] { display: none; }

/* Footer keeps the existing publisher and legal destinations. */
.news-agency-site .site-footer { background: var(--rna-ink); border-block-start: 4px solid var(--rna-yellow); padding: 42px 24px; }
.news-agency-site .site-footer-inner { max-width: 1280px; margin-inline: auto; display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; }
.news-agency-site .footer-brand img { width: 145px; max-height: 100px; object-fit: contain; background: #fff; padding: 6px; border-radius: 2px; }
.news-agency-site .footer-navigation ul { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 12px 22px; }
.news-agency-site .footer-navigation a { font-size: .8rem; line-height: 1.9; text-decoration-color: #ffffff55; }
.news-agency-site .footer-tagline { max-width: 38ch; font-size: .78rem; color: #c5cdd1; }

@media (max-width: 1023px) {
  .news-agency-site .news-brand-claim { display: none; }
  .news-agency-site .site-main { margin-block-start: 18px; }
  .news-agency-site .home-block--category-cards-4 .home-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-agency-site .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-agency-site .main-navigation a { padding-inline: 12px; font-size: .8rem; }
}
@media (max-width: 767px) {
  .news-agency-site .news-utility-inner { width: calc(100% - 32px); gap: 8px; padding-block: 9px; }
  .news-agency-site .newsroom-identity { gap: 9px; font-size: .68rem; }
  .news-agency-site .news-utility-actions { gap: 12px; }
  .news-agency-site .news-masthead { width: calc(100% - 32px); min-height: 114px; padding-block: 12px; flex-wrap: wrap; gap: 12px; }
  .news-agency-site .news-brand { justify-content: flex-start; }
  .news-agency-site .brand-logo { width: 150px; height: 88px; max-height: 88px; }
  .news-agency-site .news-masthead .header-search { width: min(250px, 100%); }
  .news-agency-site .main-navigation { width: calc(100% - 20px); }
  .news-agency-site .main-navigation a { font-size: .77rem; min-height: 44px; padding: 10px 12px; }
  .news-agency-site .site-main { width: 100%; margin-block: 12px 24px; padding: 22px 18px 28px; border-inline: 0; }
  .news-agency-site .portal-home.home-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .news-agency-site .portal-home .home-block { grid-column: 1 / -1; }
  .news-agency-site .rna-edition { align-items: flex-start; flex-direction: column; gap: 10px; }
  .news-agency-site .rna-edition p { font-size: .8rem; }
  .news-agency-site .home-block--headline-wide .home-headline--lead h3 { font-size: 1.55rem; }
  .news-agency-site .home-block--headline-wide .home-headlines { column-gap: 16px; }
  .news-agency-site .home-block--headline-wide .home-headline--supporting { display: block; }
  .news-agency-site .home-block--headline-wide .home-headline--supporting .portal-featured-media { margin-block-end: 10px; }
  .news-agency-site .home-block--category-cards-3[data-grid-span="8"] .home-posts,
  .news-agency-site :is(.home-block--category-cards-3,.home-block--posts-cards-3) .home-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .news-agency-site .portal-card h3 { font-size: 1rem; }
  .news-agency-site .portal-card p { font-size: .85rem; }
  .news-agency-site .site-main > article { padding-inline: 0; }
  .news-agency-site .site-main > article > .article-title { margin-block: 20px; font-size: 1.65rem; }
  .news-agency-site .article-featured-image { margin-block-end: 22px; }
  .news-agency-site .site-main > article :is(.article-content,.article-teaser) { font-size: 1rem; line-height: 2; }
  .news-agency-site .post-access-panel { padding: 18px; }
  .news-agency-site .site-footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 479px) {
  .news-agency-site .post-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .news-agency-site .home-block--category-cards-4 .home-posts,
  .news-agency-site .home-block--category-cards-3[data-grid-span="8"] .home-posts,
  .news-agency-site :is(.home-block--category-cards-3,.home-block--posts-cards-3) .home-posts { grid-template-columns: minmax(0, 1fr); }
  .news-agency-site .post-card h2 { font-size: 1.12rem; }
  .news-agency-site .news-utility-inner { align-items: stretch; }
  .news-agency-site .news-utility-actions { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .news-agency-site *, .news-agency-site *::before, .news-agency-site *::after { transition: none !important; animation: none !important; }
}
@media print {
  .news-agency-site { background: #fff; color: #000; }
  .news-agency-site :is(.news-utility-bar,.news-navigation-bar,.header-search,.post-share,.site-footer) { display: none; }
  .news-agency-site .site-main { width: 100%; margin: 0; padding: 0; border: 0; }
  .news-agency-site .site-main > article { max-width: none; }
  .news-agency-site .article-featured-image { max-height: 300px; }
}
