/* OTPOR platform v1.3 — layout and editorial rhythm.
   Fixes old platform.css hero-aside selector that wrongly turns info rows into
   two columns, adds usable margins to every reading page, and fits tablets. */
:root {
  --op-content-max: 1440px;
  --op-readable-max: 760px;
}
body.op-body {
  font-size: 16px;
  line-height: 1.65;
  overflow-wrap: break-word;
}
.op-body .op-wrap { width: min(calc(100% - 96px), var(--op-content-max)); margin-inline: auto; }
.op-body h1, .op-body h2, .op-body h3 { text-wrap: balance; overflow-wrap: normal; }
.op-body p { line-height: 1.7; }
.op-body .op-button, .op-body button { font-size: 14px; }
.op-body .op-button { padding-inline: 24px; white-space: normal; text-align: center; }
.op-header .op-nav { gap: 20px; }
.op-header .op-links { gap: clamp(14px, 2.1vw, 35px); }
.op-header .op-report-link { white-space: nowrap; }
/* Home hero */
.op-body .op-home-hero {
  padding: clamp(52px, 5vw, 82px) 0 36px;
  background: linear-gradient(94deg,rgba(243,242,237,.99) 0%,rgba(243,242,237,.96) 38%,rgba(243,242,237,.76) 71%,rgba(243,242,237,.34) 100%),url('../assets/home-hero.jpg') center/cover no-repeat;
}
.op-body .op-hero-grid {
  grid-template-columns: minmax(0,1.34fr) minmax(360px,.78fr);
  gap: clamp(32px,4.2vw,76px);
  align-items:center;
  padding: 34px 0 42px;
}
.op-body .op-hero-grid > * { min-width:0; }
.op-body .op-home-hero h1 {
  max-width: 980px;
  font-size: clamp(46px, 4.35vw, 74px);
  line-height: 1.055;
  letter-spacing: -.045em;
  font-weight: 810;
  text-wrap: pretty;
}
.op-body .op-home-hero h1 em { display: inline; font: inherit; }
.op-body .op-hero-intro > p {max-width:740px; font-size:clamp(17px,1.35vw,20px);line-height:1.65;margin:25px 0 30px;}
.op-body .op-hero-actions { gap:12px; }
/* The earlier rule .op-hero-aside a {display:flex;max-width:265px;margin-top:29px}
   accidentally applies to EVERY navigation item. Reset it here. */
.op-body .op-info-card {
  display:block;
  width:100%;
  max-width:none;
  padding:clamp(26px,2.8vw,40px);
  border-radius:38px;
}
.op-body .op-info-card .op-info-head {padding:0 0 19px; margin-bottom:0;}
.op-body .op-info-card > a.op-info-row {
  display:block;
  width:100%;
  max-width:none;
  min-width:0;
  margin:0;
  padding:18px 0;
  border-top:0;
  border-bottom:1px solid var(--op-line);
  text-decoration:none;
  font-size:inherit;
  line-height:1.55;
}
.op-body .op-info-card > a.op-info-row:last-child {border-bottom:0;padding-bottom:0;}
.op-body .op-info-card .op-info-row strong {
  display:block;width:100%;font-size:16px;line-height:1.4;font-weight:790;
  margin:0 0 5px;letter-spacing:-.018em;
}
.op-body .op-info-card .op-info-row small {
  display:block; width:100%; max-width:none; font-size:14px;
  line-height:1.55; margin:0; color:var(--op-muted);
}
.op-body .op-hero-bottom {padding-top:18px;line-height:1.5;gap:18px;}
/* Landing cards and supporting content */
.op-body .op-directions {gap:20px;padding-top:32px;}
.op-body .op-direction {padding:32px; border-radius:30px; min-height:325px;}
.op-body .op-direction h2 {line-height:1.12;font-size:clamp(28px,2.7vw,39px);}
.op-body .op-direction p {font-size:15px;line-height:1.65;max-width:33ch;}
.op-body .op-direction-top {font-size:11px;line-height:1.4;letter-spacing:.09em;}
.op-body .op-direction-bottom {font-size:13px;line-height:1.45;}
.op-body .op-section {padding-top:clamp(50px,5.5vw,86px);padding-bottom:clamp(40px,4.5vw,66px);}
.op-body .op-section-heading h2 {line-height:1.14;}
.op-body .op-news-card {gap:14px; padding:16px 16px 24px;}
.op-body .op-news-card h3 {line-height:1.25;}
.op-body .op-news-card p {font-size:15px;line-height:1.65;}
.op-body .op-news-meta {font-size:12px;line-height:1.5;}
.op-body .op-contribute {padding:clamp(28px,3.8vw,48px);gap:30px;}
.op-body .op-contribute p {font-size:15px;max-width:640px;}
.op-body .op-method {gap:clamp(22px,2.4vw,44px);}
.op-body .op-method h2 {font-size:clamp(28px,2.8vw,40px);}
.op-body .op-method p {font-size:14px;max-width:28ch;}
.op-body .op-footer {font-size:14px;}
.op-body .op-footer-grid > p {line-height:1.65;}
/* News, reports, article header and text columns */
.op-body .op-page-hero {
  margin-top:28px;
  margin-bottom:20px;
  padding:clamp(32px,4vw,56px);
  border-radius:34px;
  background:linear-gradient(95deg,rgba(243,242,237,.98),rgba(243,242,237,.93) 58%,rgba(243,242,237,.65) 100%),url('../assets/home-hero.jpg') 75% 40%/cover no-repeat;
}
.op-body .op-page-hero h1 {font-size:clamp(39px,4.5vw,66px);line-height:1.1;max-width:100%;margin:14px 0;}
.op-body .op-page-hero .op-breadcrumb {padding-bottom:25px;}
.op-body .op-page-hero .op-section-heading {display:grid;grid-template-columns:minmax(0,1fr) minmax(205px,.32fr);align-items:end;gap:clamp(24px,3.6vw,55px);}
.op-body .op-page-hero .op-section-heading > * {min-width:0;}
.op-body .op-page-hero .op-section-heading p {font-size:16px;line-height:1.65;color:#50524d;max-width:290px;margin:0 0 8px;}
.op-body .op-lead {max-width:var(--op-readable-max);font-size:18px;line-height:1.65;}
.op-body .op-news-section {padding-top:0;padding-bottom:55px;}
.op-body .op-filters {gap:14px;margin-bottom:26px;}
.op-body .op-filters input,.op-body .op-filters select {font-size:15px;}
.op-body .op-list-caption {font-size:12px;line-height:1.55;gap:18px;}
.op-body .op-article {max-width:1140px;}
.op-body .op-article h1 {font-size:clamp(38px,4.3vw,62px);line-height:1.12;}
.op-body .op-article-lead {max-width:var(--op-readable-max);font-size:19px;line-height:1.65;}
.op-body .op-prose {font-size:17px;line-height:1.83;max-width:var(--op-readable-max);}
.op-body .op-prose h2 {font-size:clamp(24px,2.6vw,35px);line-height:1.24;}
.op-body .op-prose p {margin-bottom:1.15em;}
/* Reporting form */
.op-body .op-report-layout {gap:clamp(30px,5vw,72px);grid-template-columns:minmax(0,1.45fr) minmax(290px,.95fr);align-items:start;}
.op-body .op-report-layout > * {min-width:0;}
.op-body .op-form-card {padding:clamp(24px,3.3vw,46px);}
.op-body .op-form-heading h2 {font-size:clamp(26px,2.4vw,34px);line-height:1.2;}
.op-body .op-field {min-width:0;}
.op-body .op-field > span {font-size:14px;line-height:1.5;}
.op-body .op-field small {font-size:13px;line-height:1.6;}
.op-body .op-form-card input:not([type="checkbox"]):not([type="hidden"]),.op-body .op-form-card select,.op-body .op-form-card textarea {width:100%;max-width:100%;font-size:15px;line-height:1.6;}
.op-body .op-form-card .op-consent input[type="checkbox"] {width:18px;height:18px;min-width:18px;padding:0;margin:3px 0 0;flex:0 0 18px;}
.op-body .op-form-card .op-consent span {flex:1;min-width:0;font-size:13px;line-height:1.6;}
.op-body .op-report-aside {padding-top:24px;max-width:550px;}
.op-body .op-report-aside h2 {font-size:clamp(30px,3vw,43px);line-height:1.17;}
.op-body .op-report-aside ol {margin-top:28px;}
.op-body .op-report-aside li,.op-body .op-report-aside li p {font-size:14px;line-height:1.7;}
.op-body .op-report-tip {font-size:14px;line-height:1.6;background:#fff0e4;border-left-color:var(--op-orange);color:#5a4539;}
/* Map dashboard — keep height and event logic unchanged */
.ma-body .ma-layout {gap:14px;padding:14px;}
.ma-body .ma-feed,.ma-body .ma-analytics,.ma-body .ma-timeline {min-width:0;}
.ma-body .ma-event {padding:15px;}
.ma-body .ma-event h3 {line-height:1.4;}
.ma-body .ma-analytic-block {padding:clamp(13px,1.7vw,23px);}
.ma-body .ma-panel-title {padding-inline:18px;}
.ma-body .ma-panel-title h1,.ma-body .ma-panel-title h2 {font-size:15px;line-height:1.4;letter-spacing:0;}
.ma-body .ma-legend {max-width:min(320px,calc(100% - 30px));}
/* Editor dashboard — readable labels and consistent spacing */
.admin-body .ad-main {min-width:0;padding:clamp(20px,2.6vw,40px);}
.admin-body .ad-top {gap:24px;}
.admin-body .ad-top h1 {font-size:clamp(34px,3.5vw,53px);line-height:1.1;}
.admin-body .ad-panel {padding:clamp(22px,2.5vw,36px);}
.admin-body .ad-panel-heading h2 {font-size:clamp(27px,3vw,38px);line-height:1.15;}
.admin-body .ad-stats button {min-width:0;}
.admin-body .ad-sidebar nav button,.admin-body .ad-sidebar nav a {font-size:14px;line-height:1.35;}
.admin-body .ad-footnote {font-size:12px;line-height:1.6;}
@media (max-width:1190px) {
 .op-body .op-wrap {width:calc(100% - 64px);}
 .op-body .op-hero-grid {grid-template-columns:minmax(0,1.12fr) minmax(330px,.88fr);gap:34px;}
 .op-body .op-home-hero h1 {font-size:clamp(44px,4.6vw,64px);}
 .op-body .op-contribute {grid-template-columns:64px minmax(0,1fr) auto;gap:22px;}
 .op-body .op-directions {gap:14px;}
 .op-body .op-direction {padding:26px;}
}
@media (max-width:980px) {
 .op-body .op-wrap {width:calc(100% - 48px);}
 .op-body .op-home-hero {padding:45px 0 25px;}
 .op-body .op-hero-grid {grid-template-columns:minmax(0,1fr);gap:26px;padding:24px 0 30px;}
 .op-body .op-home-hero h1 {max-width:800px;font-size:clamp(42px,6.4vw,64px);}
 .op-body .op-info-card {display:block;width:100%;max-width:800px;padding:29px;}
 .op-body .op-info-card .op-info-row {width:100%;max-width:none;}
 .op-body .op-hero-intro > p {max-width:680px;}
 .op-body .op-page-hero .op-section-heading {grid-template-columns:minmax(0,1fr) minmax(180px,.4fr);}
 .op-body .op-directions {grid-template-columns:repeat(2,minmax(0,1fr));}
 .op-body .op-direction {min-height:280px;}
 .op-body .op-contribute {grid-template-columns:minmax(0,1fr) auto;}
 .op-body .op-contribute-icon {display:none;}
 .op-body .op-report-layout {grid-template-columns:minmax(0,1fr);gap:16px;}
 .op-body .op-report-aside {max-width:none;padding:32px 6px;}
 .op-body .op-report-aside h2 {max-width:620px;}
}
@media (max-width:680px) {
 body.op-body {font-size:15px;}
 .op-body .op-wrap {width:calc(100% - 32px);}
 .op-body .op-home-hero {padding:36px 0 20px;}
 .op-body .op-home-hero h1 {font-size:clamp(36px,9.4vw,52px);line-height:1.09;letter-spacing:-.047em;}
 .op-body .op-hero-intro > p {font-size:16px;line-height:1.65;margin:20px 0 25px;}
 .op-body .op-hero-actions {display:grid;grid-template-columns:minmax(0,1fr);gap:10px;max-width:100%;}
 .op-body .op-hero-actions .op-button {width:100%;min-height:50px;}
 .op-body .op-info-card {border-radius:27px;padding:24px;}
 .op-body .op-info-card .op-info-row strong {font-size:16px;}
 .op-body .op-info-card .op-info-row small {font-size:14px;}
 .op-body .op-hero-bottom {flex-wrap:wrap;}
 .op-body .op-directions {grid-template-columns:minmax(0,1fr);gap:15px;}
 .op-body .op-direction {min-height:0;padding:25px;}
 .op-body .op-direction h2 {font-size:31px;}
 .op-body .op-direction p {font-size:15px;}
 .op-body .op-section {padding-top:54px;padding-bottom:46px;}
 .op-body .op-section-heading {align-items:start;gap:12px;flex-wrap:wrap;}
 .op-body .op-section-heading h2 {font-size:31px;}
 .op-body .op-section-heading .op-text-link {font-size:13px;}
 .op-body .op-contribute {display:block;padding:28px 23px;}
 .op-body .op-contribute h2 {font-size:31px;}
 .op-body .op-contribute p {font-size:15px;}
 .op-body .op-method {grid-template-columns:minmax(0,1fr);gap:24px;}
 .op-body .op-page-hero {margin-top:16px;margin-bottom:18px;padding:26px 22px;}
 .op-body .op-page-hero .op-breadcrumb {padding-bottom:20px;}
 .op-body .op-page-hero .op-section-heading {display:block;}
 .op-body .op-page-hero h1 {font-size:clamp(35px,9.2vw,48px);line-height:1.12;}
 .op-body .op-page-hero .op-section-heading p {max-width:100%;margin-top:18px;font-size:15px;}
 .op-body .op-filters {gap:10px;}
 .op-body .op-list-caption {font-size:12px;}
 .op-body .op-report-layout {gap:10px;}
 .op-body .op-form-card {padding:24px 20px;}
 .op-body .op-form-heading h2 {font-size:26px;}
 .op-body .op-report-aside {padding:25px 8px;}
 .op-body .op-report-aside h2 {font-size:31px;}
 .op-body .op-article h1 {font-size:clamp(33px,8.8vw,43px);}
 .op-body .op-prose {font-size:16px;}
 .ma-body .ma-layout {padding:10px;gap:10px;}
 .admin-body .ad-main {padding:20px 16px;}
 .admin-body .ad-top h1 {font-size:32px;}
}
@media (max-width:390px) {
 .op-header .op-nav {gap:8px;}
 .op-header .op-brand {gap:7px;}
 .op-header .op-brand img {width:34px;height:34px;}
 .op-header .op-brand b {font-size:21px;}
 .op-header .op-brand b span {font-size:5px;letter-spacing:.07em;}
 .op-header .op-report-link {font-size:10px;gap:5px;padding:7px 9px;min-height:36px;}
 .op-header .op-report-link svg {display:none;}
 .op-header .op-menu {padding:5px;}
 .op-body .op-page-hero h1 {font-size:34px;}
}

/* A proper search icon with clear placeholder spacing */
.op-body .op-search > svg.op-search-icon {position:absolute;left:17px;top:50%;transform:translateY(-50%);width:20px;height:20px;stroke:var(--op-muted);fill:none;stroke-width:1.8;pointer-events:none;}
.op-body .op-search input {padding-left:49px;}
/* Keep analytics headings compact; general hero headline styles must not
   bleed into the dense map dashboard. */
.ma-body .ma-block-title h3,
.ma-body[data-panel="analytics"] .ma-block-title h3 {
  font-size:15px;
  font-weight:780;
  line-height:1.35;
  letter-spacing:-.025em;
  text-transform:none;
  margin:0;
}
.ma-body .ma-timeline h2 {
  font-size:18px;
  letter-spacing:-.02em;
  font-weight:780;
  line-height:1.25;
  text-transform:none;
  margin:0;
}
.ma-body .ma-timeline h2 svg {width:20px;height:20px;}
.ma-body .ma-analytics .ma-analytic-block {min-width:0;}
.ma-body .ma-block-title > span,
.ma-body .ma-block-title > button {font-size:11px;line-height:1.45;}
.ma-body .ma-event h3 {font-size:13px;line-height:1.35;letter-spacing:-.01em;}
.admin-body .ad-sidebar nav button.is-active,
.admin-body .ad-sidebar nav a.is-active {
  background:var(--op-orange);
  color:#fff;
}
.admin-body .ad-sidebar nav button.is-active span,
.admin-body .ad-sidebar nav a.is-active span {color:#fff;}
.op-body .op-page-hero h1 {letter-spacing:-.04em;}
