/* White visual identity. No dark surfaces; outlined red category capsules. */
:root {
  --surface: #ffffff;
  --ink: #292326;
  --muted: #70646a;
  --red: #a1263a;
  --red-hover: #7e192c;
  --line: #ecdce0;
  --radius: 22px;
}
html,
body,
.topline,
.site-header,
.hero,
.stats-strip,
.taxonomy-section,
.timeline-teaser,
.memory-banner,
footer,
.record-card,
.record-card.featured-card,
.filters,
.directory-grid > a,
.victims-box,
.source-section li a,
.stat-cards > div,
.chart-panel,
.crime-image,
.admin-body,
.admin-sidebar,
.admin-panel,
.admin-table th,
.login-page,
.login-card,
.seo-code,
.duplicate-box,
.notice,
.notice.success,
.notice.error,
.status-label,
.status-label.draft {
  background: var(--surface);
}
body, .site-header, .hero, .timeline-teaser, footer,
.admin-sidebar, .seo-code, .login-card {
  color: var(--ink);
}

.topline { color: var(--muted); border-top-color: var(--red); border-bottom: 1px solid var(--line); }
.topline a, .brand small, .footer-main .muted,
.footer-main p, .footer-bottom, .admin-identity,
.hero-copy > p, .hero-note > p:not(.note-title),
.timeline-teaser p, .muted { color: var(--muted); }
.site-header, .hero-foot, .hero-note, .hero-note > a,
.stats-strip, .stats-grid a, .card-bottom, .taxonomy-section,
.province-list > a, .footer-bottom, .detail-meta, .record-sidebar,
.sidebar-note, .source-section, .admin-top, .admin-table td {
  border-color: var(--line);
}
.site-header nav a, .footer-links a { color: #59464f; }
.site-header nav a.active,
footer .brand strong,
.admin-sidebar .brand strong,
.hero-note .note-title,
.hero-note > a,
.hero h1 em,
.timeline-teaser .eyebrow,
.hero .eyebrow,
.hero-foot,
.menu-toggle,
.note-id { color: var(--red); }
.site-header nav a.active:after, .short-line, .status-dot { background: var(--red); border-radius: 999px; }
.brand-mark i { border-radius: 999px; }
.language { border: 1px solid var(--red); color: var(--red); border-radius: 999px; }
.hero-search { background: #fff; border: 1px solid var(--red); border-radius: 999px; padding: 6px; }
.hero-search input { background: #fff; }
.hero-search > span { color: var(--red); }
.hero-search button, .button { border-radius: 999px; background: var(--red); border-color: var(--red); color: #fff; }

.button.secondary, .button.outline, .timeline-teaser .button,
.admin-sidebar button { border: 1px solid var(--red); border-radius: 999px; background: #fff; color: var(--red); }

.search-hints { color: var(--muted); }
.search-hints a { color: var(--red); border-color: var(--line); }
.archive-symbol i { border-color: var(--red); border-radius: 28px; opacity: .3; }
.archive-symbol span { color: var(--red); text-shadow: 0 0 18px #fff; }
.stats-grid strong { color: var(--red); }
.stats-grid span { color: var(--muted); }
.record-card, .record-card.featured-card, .directory-grid > a,
.timeline-teaser, .memory-banner, .filters, .victims-box,
.stat-cards > div, .chart-panel, .admin-panel, .login-card,
.duplicate-box, .notice, .seo-code, .crime-image, .image-gallery img {
  border-radius: var(--radius);
}
.record-card, .directory-grid > a, .memory-banner,
.filters, .stat-cards > div, .chart-panel, .admin-panel,
.login-card, .duplicate-box {
  border: 1px solid var(--line);
}
.record-card.featured-card { border: 1px solid #cf8693; }

.timeline-teaser { border: 1px solid #cf8693; }
.year-line { border-color: #dbaab4; }
.year-line a, .timeline-teaser .button { color: var(--red); }
.year-line a:before { background: var(--red); }
input, textarea, select, .filters input, .filters select {
  border-radius: 15px;
  background: #fff;
  border-color: #dcc9d0;
  color: var(--ink);
}
input[type=checkbox] { border-radius: 5px; accent-color: var(--red); }
.pagination a { border-radius: 999px; border-color: var(--line); }
.pagination a.current { background: var(--red); border-color: var(--red); color: #fff; }
.source-section li a { border-radius: 999px; border-color: var(--line); }
.status-label, .status-label.draft { border: 1px solid var(--line); border-radius: 999px; }
.notice.success { border-color: #5d8466; }
.notice.error { border-color: var(--red); }
/* Category labels, record tags and the home category index. */
.pill, .tag-list a, .category-grid > a,
.directory-grid.category-directory > a {
  border: 1px solid var(--red);
  border-radius: 999px;
  background: #fff;
  color: var(--red);
}
.pill { padding: 4px 12px; }
.tag-list a { padding: 7px 16px; font-size: 11px; }
.category-grid, .directory-grid.category-directory {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  border: 0;
  align-items: center;
}
.category-grid > a, .directory-grid.category-directory > a {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 52px;
  max-width: 100%;
  padding: 10px 22px;
}
.category-grid h3, .directory-grid.category-directory h2 {
  order: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.75;
}
.category-count, .category-directory .record-no {
  order: 1;
  float: none;
  padding-inline-start: 12px;
  border-inline-start: 1px solid #e3b7c0;
  color: var(--red);
  font: 12px ArchiveArabic, Tahoma, sans-serif;
  letter-spacing: 0;
}
.category-grid > a > span:last-child,
.directory-grid.category-directory > a > span:last-child { display: none; }

/* The private editorial area uses the same white identity. */
.admin-sidebar { border-inline-end: 1px solid var(--line); }
.admin-sidebar nav a { border: 1px solid transparent; border-radius: 999px; color: #59464f; }
.admin-sidebar nav a.active {
  background: #fff; color: var(--red); border-color: var(--red);
}
.source-row button { background: #fff; color: var(--red); border: 1px solid var(--line); border-radius: 999px; }
.table-wrap { border-radius: var(--radius); }
.admin-table th { color: var(--red); border-bottom: 1px solid var(--line); }
.admin-table th:first-child { border-start-start-radius: 14px; }
.admin-table th:last-child { border-start-end-radius: 14px; }
.login-card { border-color: #cf8693; }
@media(max-width:850px) {
  .site-header nav.open { background: #fff; border: 1px solid var(--line); border-radius: 0 0 22px 22px; box-shadow: 0 12px 24px #a1263a08; }
}
@media(max-width:600px) {
  .category-grid, .directory-grid.category-directory { gap: 10px; }
  .category-grid > a, .directory-grid.category-directory > a { padding: 9px 15px; gap: 10px; min-height: 46px; }
  .category-grid h3, .directory-grid.category-directory h2 { font-size: 14px; }
  .category-count, .category-directory .record-no { padding-inline-start: 9px; font-size: 11px; }
  .hero-search { border-radius: 26px; }
  .hero-search input { border-radius: 20px; }
  .admin-nav-toggle { color: var(--red); }
  .source-row { border-radius: 16px; }
}

/* Editorial identity: white paper, restrained red, unaltered supplied emblem. */
@font-face { font-family: ThmanyahLocal; src: local("ThmanyahSans-Regular"), local("Thmanyah Sans Regular"), local("thmanyah Sans Regular"), local("Thmanyah Sans"); font-weight: 400; font-display: swap; }
@font-face { font-family: ThmanyahLocal; src: local("ThmanyahSans-Bold"), local("Thmanyah Sans Bold"), local("thmanyah Sans Bold"); font-weight: 700; font-display: swap; }
@font-face { font-family: ThmanyahDisplayLocal; src: local("ThmanyahSerifDisplay-Bold"), local("Thmanyah Serif Display Bold"), local("thmanyah Serif Display Bold"); font-weight: 700; font-display: swap; }
:root { --ink: #292525; --muted: #746e6d; --red: #991f25; --red-hover: #991f25; --line: #e9e3e2; --radius: 26px; }
body, body[dir="ltr"], html[lang="en"] body { font-family: var(--font-body); background: #fff; }
h1, h2, h3 { letter-spacing: 0; }
h1 { font-family: var(--font-heading); }
html { scroll-behavior: auto; }
*, *::before, *::after { animation: none !important; }
a, button, input, select, textarea, .record-card { transition: none; }
a:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.brand:hover, .button:hover, .category-grid > a:hover, .category-directory > a:hover,
.language:hover, .card-arrow:hover, .pagination a:hover { text-decoration: none; }
.brand { gap: 13px; }
.brand-logo { display: block; width: 56px; height: 56px; flex: 0 0 56px; object-fit: contain; transform: none !important; filter: none !important; opacity: 1; border: 0; box-shadow: none; border-radius: 0; }
.brand strong { font-size: 22px; font-weight: 750; color: var(--ink); }
.brand small { font-size: 10px; margin-top: 3px; letter-spacing: 0; }
.header-inner { min-height: 110px; height: auto; padding-block: 22px; gap: 24px; }
.site-header nav { min-height: 48px; gap: 24px; }
.site-header nav a { padding-block: 9px; }
.site-header nav a.active:after { bottom: 0; inset-inline: 22%; }
.language { min-height: 38px; display: inline-flex; align-items: center; padding: 5px 16px; }
.topline { border-top-width: 2px; }
.hero-grid { grid-template-columns: minmax(0,1fr) 300px; gap: 110px; padding-top: 64px; padding-bottom: 60px; align-items: center; }
.hero .eyebrow { color: var(--red); font-size: 11px; margin-bottom: 22px; letter-spacing: 0; }
.hero h1 { font-size: clamp(48px,4.9vw,70px); line-height: 1.65; font-weight: 750; letter-spacing: 0; }
.hero h1 em { color: var(--red); }
.hero-copy > p { font-size: 15px; line-height: 2.2; max-width: 675px; color: #686161; margin-top: 19px; }
.hero-search { margin-top: 29px; border-color: #ccb8ba; box-shadow: 0 5px 22px #27232304; border-radius: 999px; }
.hero-search button { padding: 14px 22px; border-radius: 999px; }
.hero-note { border: 1px solid var(--line); border-radius: 155px 155px 30px 30px; padding: 35px 25px 24px; text-align: center; align-items: center; background: #fff; }
.hero-note .note-id { order: 1; font-size: 9px; letter-spacing: 2px; color: #8a7777; margin-bottom: 16px; }
.archive-emblem { order: 0; margin: 0 0 20px; }
.archive-emblem img { display: block; width: 174px; height: 174px; object-fit: contain; transform: none; filter: none; box-shadow: none; }
.hero-note .note-title { order: 2; font-size: 18px; font-weight: 650; color: var(--ink); }
.hero-note > p:not(.note-title) { order: 3; font-size: 11px; line-height: 2.2; margin-top: 10px; }
.hero-note > a { order: 4; align-self: stretch; margin-top: 22px; padding-top: 15px; font-size: 10px; }
.hero-foot { color: var(--muted); padding-block: 16px; }
.stats-grid { padding-block: 32px; }
.stats-grid strong { font-family: var(--font-body); font-size: 42px; font-weight: 400; letter-spacing: -1px; line-height: 1.4; }
.stats-grid span { font-size: 10px; margin-top: 9px; }
.content-section { padding-top: 56px; }
.section-heading h2 { font-size: 26px; align-items: center; }
.section-number { display: inline-flex; width: 34px; height: 34px; flex: 0 0 34px; align-items: center; justify-content: center; border: 1px solid #dcc8ca; border-radius: 50%; font-size: 10px; margin-inline-end: 15px; padding: 0; color: var(--red); }
.section-intro { margin-top: 15px; }
.section-intro p, .small-label, .section-heading > a { color: var(--muted); }
.record-card, .record-card.featured-card { border: 1px solid var(--line); border-radius: 26px; padding: 25px; background: #fff; box-shadow: 0 5px 24px #29252503; transform: none; }
.record-card.featured-card { border-color: #dcc9cb; }
.record-card h3 { font-size: 20px; line-height: 1.85; margin-top: 20px; margin-bottom: 13px; color: var(--ink); }
.record-card p { color: var(--muted); line-height: 2.1; }
.card-bottom { padding-top: 20px; margin-top: 23px; border-color: var(--line); color: #817474; }
.card-arrow { width: 34px; height: 34px; flex: 0 0 34px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #ddc4c7; border-radius: 50%; color: var(--red); }
.record-no { color: #9a8686; }
.pill { font-size: 10px; padding: 3px 12px; font-weight: 500; }
.category-grid > a, .directory-grid.category-directory > a { min-height: 50px; padding: 10px 22px; gap: 13px; }
.category-count, .category-directory .record-no { font-family: var(--font-body); }
.taxonomy-section { padding-block: 44px 48px; border-color: var(--line); }
.geography-section { padding-block: 54px; }
.gov-list li { border-color: var(--line); }
.gov-list a { border-radius: 16px; }
.timeline-teaser { border-color: #dcc9cb; padding: 32px; border-radius: 32px; }
.timeline-teaser h2 { font-size: 29px; color: var(--ink); }
.timeline-teaser p { color: var(--muted); }
.timeline-teaser .eyebrow { color: var(--red); }
.year-line { border-color: #dfcfd0; }
.contribute-strip { background: #fff; border-block: 1px solid var(--line); border-radius: 28px; }
footer { background: #fff; border-top: 1px solid var(--line); border-start-start-radius: 36px; border-start-end-radius: 36px; }
.footer-main { padding-block: 42px; gap: 45px; }
footer .brand strong { color: var(--ink); font-size: 24px; }
footer .brand-logo { width: 58px; height: 58px; flex-basis: 58px; }
.footer-main p { margin-top: 18px; color: var(--muted); }
.footer-bottom { color: var(--muted); }
.page-heading h1 { font-size: 43px; line-height: 1.8; }
.breadcrumb, .breadcrumb a { color: #847b7a; }
.lead, .article-body p, .victims-box p, dd, .prose, .prose p { color: #5e5857; }
.detail-meta, dt, .victim-stats span { color: var(--muted); }
.victims-box { border: 1px solid var(--line); border-inline-start: 1px solid var(--line); background: #fff; border-radius: 26px; }
.record-sidebar { border: 1px solid var(--line); border-radius: 26px; padding: 24px; background: #fff; }
.record-sidebar .sidebar-note { margin-top: 25px; }
.article-body h2, .prose h2 { color: var(--ink); }
.source-list a { border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; background: #fff; }
:where(blockquote, pre, fieldset, .notice, .empty, .import-preview, .source-row, .admin-summary, .status-label) { border-radius: 20px; }
figure img { border-radius: 24px; }
.chart-bar, .chart-bar > span, .chart-row > div, .chart-row > div > i { border-radius: 999px; }
.admin-sidebar .brand { white-space: normal; }
.admin-sidebar .brand-logo { width: 43px; height: 43px; flex-basis: 43px; }
.admin-sidebar .brand strong { font-size: 16px; line-height: 1.8; }
.login-card .brand-logo { width: 50px; height: 50px; flex-basis: 50px; }
/* A navigable, long-form privacy document, not a block of small-print. */
.privacy-page { max-width: 1232px; }
.privacy-page > .prose { max-width: none; }
.privacy-intro { max-width: 850px; font-size: 17px; line-height: 2.2; margin-bottom: 30px; }
.privacy-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 25px; color: var(--muted); font-size: 11px; }
.privacy-meta span { border: 1px solid var(--line); border-radius: 999px; padding: 5px 14px; }
.privacy-summary { border: 1px solid #dac7c9; border-radius: 28px; padding: 24px 30px; margin-block: 25px 40px; background: #fff; }
.privacy-summary h2 { margin-top: 0; font-size: 22px; }
.privacy-summary ul { margin-bottom: 0; padding-inline-start: 21px; }
.privacy-layout { display: grid; grid-template-columns: 250px minmax(0,1fr); gap: 55px; align-items: start; }
.privacy-toc { position: sticky; top: 24px; border: 1px solid var(--line); border-radius: 26px; padding: 24px 20px; }
.privacy-toc h2 { font-size: 17px; margin: 0 0 16px; }
.privacy-toc ol { margin: 0; padding-inline-start: 21px; font-size: 11px; line-height: 2; }
.privacy-toc li { margin-bottom: 9px; color: var(--muted); }
.privacy-toc a { color: #695b5c; border: 0; }
.privacy-article { min-width: 0; counter-reset: policy; }
.privacy-article section { padding-block: 3px 25px; margin-bottom: 25px; border-bottom: 1px solid var(--line); scroll-margin-top: 30px; }
.privacy-article h2 { display: flex; align-items: baseline; gap: 13px; margin-top: 0; font-size: 23px; line-height: 1.85; }
.privacy-article h2::before { counter-increment: policy; content: counter(policy, decimal-leading-zero); color: var(--red); font: 12px Arial, sans-serif; flex: 0 0 20px; }
.privacy-article h3 { font-size: 17px; margin-top: 21px; margin-bottom: 12px; }
.privacy-article p, .privacy-article li { font-size: 14px; line-height: 2.25; }
.privacy-article ul { padding-inline-start: 22px; }
.privacy-article li { margin-bottom: 12px; }
.privacy-article a { color: var(--red); }
.privacy-contact { padding: 25px; border: 1px solid #dac7c9; border-radius: 24px; margin-top: 25px; }
.privacy-contact .button { margin-top: 16px; color: #fff; }
@media(min-width:1200px) { html[lang="en"] .hero h1 { font-size: 60px; line-height: 1.5; } }
@media(max-width:1190px) {
 .header-inner { gap: 18px; }.brand strong { font-size: 19px; }.site-header nav { gap: 17px; font-size: 11px; }
 .hero-grid { grid-template-columns: minmax(0,1fr) 265px; gap: 45px; }
 .hero h1 { font-size: 49px; }.hero-copy > p { font-size: 13px; }
 .hero-note { padding-inline: 19px; }.hero-note .note-title { font-size: 16px; }
 .privacy-layout { grid-template-columns: 220px minmax(0,1fr); gap: 35px; }
}
@media(max-width:1000px) {
 .header-inner { flex-wrap: wrap; }.site-header nav { order: 3; justify-content: center; width: 100%; }
 .header-inner .language { margin-inline-start: auto; }.site-header nav a.active:after { inset-inline: 15%; }
 .hero-grid { gap: 28px; grid-template-columns: minmax(0,1fr) 245px; }
 .archive-emblem img { width: 148px; height: 148px; }.hero h1 { font-size: 44px; }
 .hero-search button { padding-inline: 14px; font-size: 11px; }
 .privacy-layout { grid-template-columns: 1fr; gap: 28px; }.privacy-toc { position: static; }
 .privacy-toc ol { columns: 2; column-gap: 35px; }.privacy-toc li { break-inside: avoid; }
}
@media(max-width:850px) {
 .header-inner { flex-wrap: nowrap; min-height: 95px; padding-block: 17px; }
 .site-header nav.open { top: 100%; inset-inline: 16px; width: auto; margin: 0; padding: 16px 24px; border-radius: 24px; background: #fff; box-shadow: 0 10px 24px #29252509; z-index: 20; }
 .site-header { position: relative; }.site-header nav.open a { min-height: 40px; width: 100%; }
 .header-inner .language { margin-inline-start: 0; }
 .hero-grid { padding-top: 36px; padding-bottom: 35px; grid-template-columns: minmax(0,1fr) 210px; gap: 28px; }
 .hero h1 { font-size: 37px; }.hero-copy > p { font-size: 12px; }.hero-note { display: flex; padding-inline: 14px; }
 .hero-note .note-title { font-size: 14px; }.archive-emblem img { width: 130px; height: 130px; }
 .hero-search { border-radius: 24px; }.hero-search button { padding: 12px 13px; font-size: 10px; }
 .record-card, .record-card.featured-card { padding: 22px; }
 .brand-logo { width: 48px; height: 48px; flex-basis: 48px; }
 .section-heading h2 { font-size: 22px; }
}
@media(max-width:600px) {
 .header-inner { gap: 10px; min-height: 91px; padding-block: 17px; }.brand { gap: 9px; }.brand strong { font-size: 16px; }.brand small { font-size: 8px; }
 .brand-logo { width: 42px; height: 42px; flex-basis: 42px; }.language { min-height: 32px; padding: 3px 9px; font-size: 9px; }.language span { display: none; }
 .menu-toggle { font-size: 19px; }.topline .wrap { height: 30px; }.topline { font-size: 8px; }
 .hero-grid { display: block; padding-top: 33px; padding-bottom: 30px; }.hero-note { display: none; }
 .hero .eyebrow { font-size: 9px; margin-bottom: 18px; }.hero h1 { font-size: clamp(36px,9.4vw,49px); line-height: 1.6; letter-spacing: 0; }
 .hero-copy > p { font-size: 12px; line-height: 2.2; margin-top: 20px; }
 .hero-search { margin-top: 22px; border-radius: 999px; gap: 5px; }.hero-search button { font-size: 9px; padding: 12px 13px; }.hero-search input { font-size: 10px; }
 .hero-search > span { font-size: 24px; margin-inline-start: 7px; }.hero-search button span { display: none; }
 .search-hints { font-size: 9px; gap: 10px; margin-top: 14px; }.hero-foot { font-size: 8px; }
 .stats-grid { padding-block: 22px; row-gap: 22px; }.stats-grid strong { font-size: 30px; }.stats-grid span { font-size: 9px; margin-top: 5px; }
 .content-section { padding-top: 36px; }.section-heading h2 { font-size: 21px; }.section-number { width: 27px; height: 27px; flex-basis: 27px; font-size: 9px; margin-inline-end: 10px; }
 .section-heading > a { font-size: 10px; }.section-intro p { font-size: 10px; }.record-card h3 { font-size: 19px; }.record-card, .record-card.featured-card { border-radius: 24px; }
 .category-grid > a, .directory-grid.category-directory > a { padding: 9px 15px; min-height: 46px; gap: 10px; }
 .taxonomy-section { padding-block: 34px; }.timeline-teaser { padding: 25px; }.timeline-teaser h2 { font-size: 27px; }
 footer .brand strong { font-size: 21px; }footer .brand-logo { width: 49px; height: 49px; flex-basis: 49px; }.footer-main { gap: 25px; padding-block: 30px; }
 .page-heading h1 { font-size: 32px; }.article-body p { font-size: 14px; }.record-sidebar { padding: 21px; }
 .privacy-intro { font-size: 14px; }.privacy-summary { padding: 23px; margin-bottom: 28px; }.privacy-summary h2 { font-size: 20px; }.privacy-summary li { font-size: 12px; }
 .privacy-toc { padding: 22px; }.privacy-toc ol { columns: 1; }.privacy-toc li { font-size: 12px; }.privacy-article h2 { font-size: 21px; gap: 9px; }.privacy-article p, .privacy-article li { font-size: 13px; }
 .privacy-article section { margin-bottom: 22px; padding-bottom: 22px; }.privacy-meta { font-size: 9px; gap: 8px; }.privacy-contact { padding: 21px; }
 html[lang="en"] .brand strong { font-size: 13px; }html[lang="en"] .brand small { font-size: 7px; }html[lang="en"] .brand-logo { width: 36px; height: 36px; flex-basis: 36px; }
 html[lang="en"] .hero h1 { font-size: clamp(31px,8.3vw,45px); }
}
@media(max-width:360px) {
 .header-inner { gap: 7px; }.brand { gap: 7px; }.brand strong { font-size: 14px; }.brand small { font-size: 7px; }.brand-logo { width: 36px; height: 36px; flex-basis: 36px; }.language { padding-inline: 7px; }
 .hero h1 { font-size: 35px; }.hero-search button { padding-inline: 10px; font-size: 8px; }.hero-search input { font-size: 9px; }
 .section-heading h2 { font-size: 18px; }.section-number { margin-inline-end: 8px; }
 html[lang="en"] .brand strong { font-size: 12px; }html[lang="en"] .brand-logo { width: 30px; height: 30px; flex-basis: 30px; }
}
@media(prefers-reduced-motion:reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
@media print { .privacy-layout { display: block; }.privacy-toc { display: none; }.privacy-article section { break-inside: auto; }.privacy-contact .button { display: none; } }

.prose li, .privacy-summary li { color: #5e5857; }

:root { --font-body: ThmanyahLocal, ArchiveArabic, Tahoma, Arial, sans-serif; --font-heading: ThmanyahDisplayLocal, ThmanyahLocal, ArchiveArabic, Tahoma, sans-serif; }
h1, h2, h3 { font-family: var(--font-heading); }
.victims-box { border: 1px solid var(--line); border-inline-start: 1px solid var(--line); }
.sidebar-note p { margin-top: 0; }
.about-page .prose { max-width: 900px; }
.about-lead { font-size: 20px !important; line-height: 2.15 !important; color: var(--ink) !important; }
.about-purpose { padding: 26px 30px; margin-block: 30px; border: 1px solid var(--line); border-radius: 26px; background: #fff; }
.about-purpose strong { display: block; color: var(--red); font-size: 21px; margin-bottom: 12px; }
.about-purpose p:last-child { margin-bottom: 0; }
.about-page .prose h2 { margin-top: 40px; }
.about-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.about-links a { border: 1px solid var(--red); border-radius: 999px; color: var(--red); background: #fff; padding: 7px 17px; font-size: 12px; }
@media(max-width:600px) { .about-lead { font-size: 16px !important; }.about-purpose { padding: 22px; }.about-purpose strong { font-size: 19px; }.about-links a { font-size: 11px; } }

/* Keep new collection and contact surfaces in the archive's white/red identity. */
.collections-home,
.collection-card,
.testimony-card,
.release-card,
.gallery-card,
.collection-empty,
.contact-form-wrap,
.release-slides-panel,
.release-media-row,
.release-carousel,
.release-pdf-visual,
.carousel-controls button,
.video-link-card {
  background: #fff;
  border-color: var(--line);
  border-radius: var(--radius);
}
.collection-shortcut .collection-icon,
.empty-mark,
.alias-badge,
.type-pill,
.carousel-controls button {
  border-color: var(--red);
  color: var(--red);
}
.collection-shortcut .text-link,
.testimony-card-top .eyebrow,
.video-link-card {
  color: var(--red);
}
.collection-shortcut:hover,
.collection-shortcut:focus-visible,
.release-card:hover,
.gallery-card:hover {
  border-color: var(--red);
}
.contact-form-bottom .button,
.collection-empty .button {
  border-radius: 999px;
}

/* Search and filter fields stay calm on focus: no focus stroke; a soft fill remains visible. */
.hero-search input:focus,
.hero-search input:focus-visible,
.filters input:focus,
.filters input:focus-visible,
.filters select:focus,
.filters select:focus-visible {
  outline: none;
  box-shadow: none;
  background-color: #fff8f8;
}

/* Four public indicators; the dedicated statistics page uses two columns. */
.stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.statistics-page .stat-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home-collections-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* External materials are outgoing links only; no remote embeds or copied media. */
.external-materials-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px;
}
.external-material-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.external-material-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 11px;
}
.external-material-kind {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 3px 12px;
  border: 1px solid var(--red);
  border-radius: 999px;
  color: var(--red);
  font-size: 10px;
}
.external-material-card h2 {
  margin: 0 0 9px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.8;
}
.external-material-source {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}
.external-material-source strong { color: var(--ink); }
.external-material-domain {
  color: var(--muted);
  unicode-bidi: isolate;
  font-family: var(--font-body), sans-serif;
  font-size: 11px;
}
.external-material-summary {
  margin: 17px 0 21px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.95;
}
.external-material-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  margin-top: auto;
  padding: 9px 16px;
  border: 1px solid var(--red);
  border-radius: 999px;
  color: var(--red);
  font-size: 12px;
  text-decoration: none;
}
.external-material-link:hover {
  background: #fff7f8;
  text-decoration: none;
}
.statistics-method-note {
  max-width: 940px;
  margin-top: 22px;
  line-height: 1.95;
}

@media (max-width: 900px) {
  .home-collections-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .external-materials-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
  .stats-grid a:nth-child(2n) { border-inline-end: 0; }
  .stats-grid a:nth-child(3) { border: 0; border-inline-end: 1px solid var(--line); }
  .stats-grid a:nth-child(4) { grid-column: auto; flex-direction: column; gap: 3px; padding: 0; border: 0; }
  .stat-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .statistics-page .stat-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-collections-grid { grid-template-columns: 1fr; }
  .external-material-card { padding: 19px; }
}
@media (max-width: 400px) {
  .stat-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Home-page order: collection content, then a spacious timeline, then taxonomy and geography. */
.latest-view-all-bottom {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
}
.latest-view-all-bottom .button {
  min-height: 42px;
  padding-inline: 22px;
  gap: 10px;
}
.latest-testimony-card {
  display: flex;
  min-width: 0;
  min-height: 220px;
  flex-direction: column;
  padding: 24px;
}
.latest-testimony-top {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 14px;
}
.latest-testimony-top .collection-icon {
  flex: 0 0 42px;
  margin: 0;
}
.latest-testimony-top .eyebrow {
  color: var(--red);
  font-size: 9px;
  line-height: 1.7;
}
.latest-testimony-identity {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.latest-testimony-identity h3,
.latest-testimony-empty {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.65;
}
.latest-testimony-card .testimony-location {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}
.latest-testimony-title {
  margin: 10px 0 0;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.8;
}
.latest-testimony-excerpt {
  display: -webkit-box;
  overflow: hidden;
  margin: 12px 0 16px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.9;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}
.latest-testimony-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 16px;
  margin-top: auto;
}
.latest-testimony-actions .text-link {
  gap: 6px;
  font-size: 10px;
}
.latest-testimony-card > .text-link {
  margin-top: auto;
}
.timeline-home-section {
  padding-block: 38px 18px;
}
.timeline-teaser-home {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, .85fr);
  align-items: center;
  gap: 30px 54px;
  margin: 0;
  border-inline-start: 3px solid var(--red);
  background: #fff;
  color: var(--ink);
}
.timeline-home-copy .eyebrow,
.timeline-home-years > .eyebrow {
  color: var(--red);
}
.timeline-home-copy h2 {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 14px 0 0;
  color: var(--ink);
  font-size: 29px;
  line-height: 1.65;
}
.timeline-home-copy h2 .section-number {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.timeline-home-copy p {
  max-width: 450px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.95;
}
.timeline-home-copy .button {
  margin-top: 20px;
}
.timeline-home-years {
  min-width: 0;
  padding-inline-start: 25px;
  border-inline-start: 1px solid var(--line);
}
.timeline-home-years .year-line {
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 17px;
  padding-top: 14px;
  border-color: var(--line);
}
.timeline-home-years .year-line a {
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--red);
  font-size: 12px;
}
.timeline-home-years .year-line a:before {
  display: none;
}
.geography-section {
  display: block;
}
.geography-section > div {
  max-width: 900px;
}
.geography-section .province-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 34px;
}

@media (max-width: 850px) {
  .timeline-teaser-home {
    grid-template-columns: 1fr;
    gap: 23px;
  }
  .timeline-home-years {
    padding: 18px 0 0;
    border-top: 1px solid var(--line);
    border-inline-start: 0;
  }
  .geography-section {
    display: block;
  }
}
@media (max-width: 600px) {
  .latest-view-all-bottom {
    justify-content: center;
  }
  .latest-view-all-bottom .button {
    width: 100%;
  }
  .timeline-home-section {
    padding-block: 26px 8px;
  }
  .timeline-teaser-home {
    padding: 24px;
  }
  .timeline-home-copy h2 {
    font-size: 24px;
  }
  .geography-section .province-list {
    grid-template-columns: 1fr;
  }
}

/* Release categories are pill buttons; the existing year selector stays separate. */
.release-type-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 18px 0 26px;
}
.release-type-button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 6px 16px;
  border: 1px solid var(--red);
  border-radius: 999px;
  background: #fff;
  color: var(--red);
  font-family: inherit;
  font-size: 11px;
  line-height: 1.5;
  cursor: pointer;
}
.release-type-button:hover,
.release-type-button:focus-visible {
  outline: none;
  box-shadow: none;
  background: #fff7f8;
  color: var(--red-hover);
  text-decoration: none;
}
.release-type-button.active,
.release-type-button.active:hover,
.release-type-button.active:focus-visible {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}
.featured-release-home-section {
  padding-block: 18px 7px;
}
.featured-release-home-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px 24px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-inline-start: 3px solid var(--red);
  border-radius: 20px;
  background: #fff;
}
.featured-release-home-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  grid-column: 1;
}
.featured-release-home-meta .eyebrow {
  color: var(--red);
  font-size: 9px;
}
.featured-release-home-card h2 {
  grid-column: 1;
  margin: 0;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.7;
}
.featured-release-home-card p {
  grid-column: 1;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.85;
}
.featured-release-home-card > .text-link {
  grid-column: 2;
  grid-row: 1 / 4;
  align-self: center;
  padding: 8px 14px;
  border: 1px solid var(--red);
  border-radius: 999px;
  color: var(--red);
  white-space: nowrap;
}
.featured-release-home-card > .text-link:hover,
.featured-release-home-card > .text-link:focus-visible {
  outline: none;
  box-shadow: none;
  background: #fff7f8;
  text-decoration: none;
}
@media (max-width: 600px) {
  .featured-release-home-card {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 17px;
  }
  .featured-release-home-card > .text-link {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
    margin-top: 5px;
  }
}

/* Home hero links now lead to the archive's primary sections. */
.home-section-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 17px;
}
.home-section-link {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #59464f;
  font-size: 10px;
  text-decoration: none;
}
.home-section-link:hover,
.home-section-link:focus-visible {
  outline: none;
  box-shadow: none;
  border-color: #d8b8bf;
  background: #fff8f8;
  color: var(--red);
  text-decoration: none;
}

/* The selected-publication card follows the statistics without a type badge or red side stripe. */
.featured-release-home-card {
  border-inline-start: 1px solid var(--line);
}
.featured-release-home-card h2 {
  grid-column: 1;
}
.featured-release-title-link {
  color: var(--ink);
  text-decoration: none;
}
.featured-release-title-link:hover,
.featured-release-title-link:focus-visible {
  outline: none;
  box-shadow: none;
  color: var(--red);
  text-decoration: none;
}
.featured-release-home-card > .featured-release-open {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  white-space: nowrap;
}
@media (max-width: 600px) {
  .featured-release-home-card > .featured-release-open {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
  }
}

/* Timeline teaser: neutral border and a horizontal line with years below each dot. */
.timeline-teaser-home {
  border: 1px solid var(--line);
  border-inline-start: 1px solid var(--line);
}
.timeline-home-copy h2 {
  gap: 15px;
}
.timeline-home-title {
  word-spacing: .12em;
}
.timeline-home-years {
  padding-inline-start: 25px;
  border-inline-start: 1px solid var(--line);
}
.home-timeline-line {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  min-height: 60px;
  padding: 2px 8px 0;
}
.home-timeline-line::before {
  position: absolute;
  top: 8px;
  inset-inline: 21px;
  height: 1px;
  background: #d9cdd0;
  content: "";
}
.home-timeline-point {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 42px;
  flex: 1 1 0;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  text-decoration: none;
}
.home-timeline-dot {
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 1px #d8c5c8;
}
.home-timeline-year {
  color: var(--ink);
  font-size: 12px;
  line-height: 1.5;
}
.home-timeline-point:hover,
.home-timeline-point:focus-visible {
  outline: none;
  box-shadow: none;
  text-decoration: none;
}
.home-timeline-point:hover .home-timeline-year,
.home-timeline-point:focus-visible .home-timeline-year {
  color: var(--red);
}
@media (max-width: 850px) {
  .timeline-home-years {
    padding: 18px 0 0;
    border-top: 1px solid var(--line);
    border-inline-start: 0;
  }
}

/* Publication detail pages and download controls. */
.release-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 100%;
}
.release-card-cover-link {
  display: block;
  margin: 0 0 17px;
  border-radius: 16px;
  overflow: hidden;
}
.release-card-cover-link:hover,
.release-card-cover-link:focus-visible {
  outline: none;
  box-shadow: none;
}
.release-card-cover-link .release-cover {
  display: block;
  width: 100%;
  max-height: 250px;
  margin: 0;
  object-fit: cover;
}
.release-card h2 {
  margin: 0 0 8px;
  line-height: 1.75;
}
.release-title-link {
  color: var(--ink);
  text-decoration: none;
}
.release-title-link:hover,
.release-title-link:focus-visible {
  outline: none;
  box-shadow: none;
  color: var(--red);
  text-decoration: none;
}
.release-card-pdf {
  min-height: 130px;
  margin: 0 0 17px;
  text-decoration: none;
}
.release-card-pdf:hover,
.release-card-pdf:focus-visible {
  outline: none;
  box-shadow: none;
  border-color: var(--red);
}
.release-card .release-summary {
  flex: 1 0 auto;
}
.release-card .release-action {
  align-self: flex-start;
  margin-top: 8px;
}
.release-detail-page {
  max-width: 1040px;
}
.release-detail {
  max-width: 920px;
  margin-inline: auto;
  padding: clamp(21px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
}
.release-detail-heading {
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.release-detail-heading .release-card-meta {
  justify-content: flex-start;
  margin-bottom: 10px;
}
.release-detail-heading h1 {
  margin: 0;
  font-size: clamp(27px, 4vw, 42px);
  line-height: 1.7;
}
.release-detail-heading .release-summary {
  max-width: 780px;
  margin: 12px 0 0;
}
.release-detail-media {
  display: grid;
  gap: 14px;
}
.release-detail-carousel {
  margin-top: 0;
}
.release-download-actions,
.release-slide-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px 14px;
  margin-top: 16px;
}
.release-download-actions .help {
  margin: 0;
}
.release-slide-actions {
  justify-content: center;
  margin: 10px 0 13px;
}
.release-slide-actions .button,
.release-download-actions .button {
  min-height: 38px;
}
.release-detail-cover {
  display: block;
  width: 100%;
  max-height: 480px;
  margin: 0 0 18px;
  border-radius: 18px;
  object-fit: contain;
  background: #faf8f7;
}
.release-detail .release-pdf-visual {
  min-height: 180px;
  margin: 18px 0;
}
.release-detail-video {
  display: block;
  width: 100%;
  max-height: 620px;
  border-radius: 18px;
  background: #181818;
}
.release-detail-footer {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.release-detail-footer .text-link {
  color: var(--red);
}
@media (max-width: 600px) {
  .home-section-links {
    gap: 7px;
  }
  .home-section-link {
    min-height: 32px;
    padding-inline: 9px;
    font-size: 9px;
  }
  .featured-release-home-card {
    border-inline-start: 1px solid var(--line);
  }
  .timeline-teaser-home {
    border-inline-start: 1px solid var(--line);
  }
  .release-detail {
    padding: 19px;
  }
}


/* Pinterest-style image gallery and vertically stacked publication slides. */
.gallery-page .gallery-grid {
  display: block;
  column-count: 4;
  column-gap: 16px;
  margin-block: 18px 40px;
}
.gallery-page .gallery-card {
  display: inline-block;
  width: 100%;
  margin: 0 0 16px;
  padding: 0;
  break-inside: avoid;
  vertical-align: top;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.gallery-page .gallery-card:hover {
  border-color: transparent;
}
.gallery-page .gallery-image-link {
  display: block;
  overflow: hidden;
  border-radius: 14px;
  background: #f7f5f4;
}
.gallery-page .gallery-image-link img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
}
.gallery-page .gallery-image-link:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}
.release-stacked-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
}
.release-stacked-slide {
  display: grid;
  min-width: 0;
  gap: 10px;
  margin: 0;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.release-stacked-slide:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.release-stacked-slide > img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 18px;
  background: #faf8f7;
}
.release-stacked-slide figcaption {
  padding: 3px 2px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}
@media (max-width: 1000px) {
  .gallery-page .gallery-grid {
    column-count: 3;
  }
}
@media (max-width: 680px) {
  .gallery-page .gallery-grid {
    column-count: 2;
    column-gap: 10px;
  }
  .gallery-page .gallery-card {
    margin-bottom: 10px;
  }
  .gallery-page .gallery-image-link {
    border-radius: 10px;
  }
  .release-stacked-gallery {
    gap: 20px;
  }
  .release-stacked-slide > img {
    border-radius: 12px;
  }
}

/* Dashboard-authored report pages: simple article flow, never a detail-card grid. */
.release-report-page > .report-detail {
  width: min(100%, 960px);
  margin-inline: auto;
}
.release-report-page .report-detail h1 {
  margin-block: 24px 14px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.release-report-page .report-image-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  margin-block: 28px 36px;
}
.release-report-page .report-image-list figure {
  margin: 0;
}
.release-report-page .report-image-list img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 780px;
  object-fit: contain;
  background: #fff;
}
.release-report-page .report-image-list figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}
.release-report-page .report-body {
  padding-block: 14px 24px;
}
.release-report-page .report-body p {
  max-width: 80ch;
  margin: 0 0 19px;
  line-height: 2.35;
  overflow-wrap: anywhere;
}
.release-report-page .report-source-list {
  display: block;
  margin-top: 18px;
  padding-inline-start: 23px;
}
.release-report-page .report-source-list li {
  margin-block: 9px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}
.release-report-page .report-source-list a {
  border: 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.admin-form [data-release-report-panel][hidden],
.admin-form [data-release-media-panel][hidden] {
  display: none !important;
}
@media(max-width:680px) {
  .release-report-page .report-body p { font-size: 14px; }
}

/* Fast, consistent navigation and list controls for the four collection sections. */
.admin-collection-switcher {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: -8px 0 22px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}
.admin-collection-switcher a {
  display: flex;
  min-width: 0;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--ink);
  font-size: 12px;
  text-align: center;
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.admin-collection-switcher a:hover,
.admin-collection-switcher a:focus-visible {
  border-color: var(--line);
  background: #fffafa;
  color: var(--red);
}
.admin-collection-switcher a.active {
  border-color: #e6c4c8;
  background: #fff6f7;
  color: var(--red);
  font-weight: 700;
}
.admin-list-panel { min-width: 0; }
.admin-list-heading h2 { margin: 0; }
.admin-list-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 10px;
}
.admin-list-summary span {
  display: inline-flex;
  min-height: 31px;
  align-items: center;
  gap: 7px;
  padding: 4px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 10px;
}
.admin-list-summary strong { color: var(--ink); font-size: 12px; }
.admin-list-toolbar {
  display: grid;
  grid-template-columns: minmax(190px, 1.5fr) minmax(125px, .75fr) minmax(125px, .75fr) auto auto;
  align-items: end;
  gap: 10px;
  margin: 10px 0 16px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fcf9f9;
}
.admin-list-toolbar > label {
  display: grid;
  min-width: 0;
  gap: 5px;
  color: var(--muted);
  font-size: 10px;
}
.admin-list-toolbar input,
.admin-list-toolbar select {
  width: 100%;
  min-width: 0;
  min-height: 41px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 12px;
}
.admin-list-toolbar input:focus-visible,
.admin-list-toolbar select:focus-visible {
  outline: 2px solid #c4828b;
  outline-offset: 2px;
}
.admin-list-count {
  align-self: end;
  padding: 0 4px 12px;
  color: var(--muted);
  font-size: 10px;
  white-space: nowrap;
}
.admin-list-count strong { color: var(--ink); }
.admin-list-clear { min-height: 41px; padding-inline: 13px; font-size: 10px; white-space: nowrap; }
.admin-list-clear:disabled { opacity: .5; cursor: not-allowed; }
.admin-form-section {
  margin: 3px 0 -4px;
  padding: 9px 0 3px;
  border-bottom: 1px solid var(--line);
  color: var(--red);
  font-size: 14px;
}
.admin-unsaved-indicator {
  margin-inline-end: auto;
  color: #8e3b47;
  font-size: 10px;
  font-weight: 700;
}
.admin-unsaved-indicator[hidden],
[data-gallery-editor] [hidden],
tr[data-admin-list-row][hidden],
tr[data-admin-filter-empty][hidden] { display: none !important; }
tr[data-admin-filter-empty] td { color: var(--muted); text-align: center; }
@media (max-width: 1000px) {
  .admin-list-toolbar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-list-toolbar .admin-filter-query { grid-column: 1 / -1; }
  .admin-list-count { align-self: center; padding: 0 4px; }
  .admin-list-clear { justify-self: end; }
}
@media (max-width: 600px) {
  .admin-collection-switcher {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin: -3px 0 18px;
    padding: 6px;
    border-radius: 16px;
  }
  .admin-collection-switcher a { min-height: 40px; padding: 7px 9px; font-size: 11px; }
  .admin-list-summary { gap: 6px; }
  .admin-list-summary span { min-height: 29px; padding-inline: 10px; }
  .admin-list-toolbar { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 10px; }
  .admin-list-toolbar .admin-filter-query { grid-column: 1 / -1; }
  .admin-list-toolbar input,
  .admin-list-toolbar select { min-height: 39px; }
  .admin-list-count { grid-column: 1; }
  .admin-list-clear { grid-column: 2; justify-self: stretch; }
  .admin-unsaved-indicator { flex-basis: 100%; }
}

/* About page summaries for the archive's specialist collections. */
.about-collection-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 22px 0 38px;
}
.about-collection-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: clamp(18px, 2.6vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.about-collection-card:hover {
  border-color: var(--red);
  box-shadow: 0 9px 24px rgba(86, 30, 40, .06);
}
.about-collection-card h3 {
  margin: 0 0 9px;
  font-size: 17px;
  line-height: 1.6;
}
.about-collection-card h3 a {
  color: var(--ink);
  text-decoration: none;
}
.about-collection-card h3 a:hover,
.about-collection-card h3 a:focus-visible {
  color: var(--red);
}
.about-collection-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 2;
}
@media (max-width: 600px) {
  .about-collection-grid {
    grid-template-columns: 1fr;
    gap: 11px;
    margin-block: 18px 30px;
  }
  .about-collection-card { padding: 19px; }
}

/* Compact testimony cards follow crime records; the title link's overlay covers the full card. */
.testimonies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  align-items: stretch;
  gap: 12px;
  max-width: none;
  margin-inline: auto;
}
.testimony-card {
  min-width: 0;
  min-height: 0;
  padding: 16px 18px 14px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.testimony-card:hover {
  border-color: var(--red);
  box-shadow: 0 8px 22px #29252508;
  transform: translateY(-1px);
}
.testimony-card:focus-within {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}
.testimony-card-top {
  justify-content: flex-start;
  min-height: 0;
  margin-bottom: 5px;
}
.testimony-card h3 {
  margin: 0 0 5px;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 650;
}
.testimony-card h3 a {
  color: var(--ink);
  text-decoration: none;
}
.testimony-card h3 a:hover { color: var(--red); }
.testimony-card .testimony-card-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.testimony-card .testimony-heading {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
  font-weight: 600;
}
.testimony-card .testimony-location {
  margin: 0 0 4px;
  font-size: 10px;
  line-height: 1.65;
  color: var(--muted);
}
.testimony-card .translation-note {
  margin: 0 0 5px;
  font-size: 10px;
  line-height: 1.65;
}
.testimony-card .testimony-excerpt {
  display: -webkit-box;
  overflow: hidden;
  margin: 2px 0 8px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.8;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.testimony-card-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  color: var(--red);
  font-size: 10px;
}
.testimony-card-read {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
}
.testimony-detail-page .testimony-detail {
  max-width: 920px;
  margin-inline: auto;
}
.testimony-detail-header {
  padding: 20px 0 18px;
  border-bottom: 1px solid #dedfd5;
}
.testimony-detail-header > .alias-badge {
  margin-bottom: 10px;
}
.testimony-detail-header h1 {
  margin: 0 0 12px;
}
.testimony-detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  color: #777e6c;
  font-size: 12px;
}
.testimony-detail-name {
  color: #4f5748;
  font-weight: 650;
}
.testimony-detail-location span {
  color: #a1263a;
}
.testimony-detail-body {
  color: #353037;
  font-size: 16px;
  line-height: 2.15;
  overflow-wrap: anywhere;
}
.testimony-detail-footer {
  border-top: 1px solid #dedfd5;
  padding-top: 16px;
  margin-top: 18px;
}
.report-body > p + p {
  margin-top: 1.2em;
}
@media (max-width: 680px) {
  .testimony-detail-page h1 { font-size: 29px; }
}

