/* ══════════════════════════════════════════════════════════════════════════
   RIGHT OF WAY SECTION STYLES
   ══════════════════════════════════════════════════════════════════════════ */

/* ── RIGHT OF WAY COLOR PALETTE (burgundy) ── */
:root {
  --rw-bg:        #F8F0F1;
  --rw-bg-raised: #F2E4E6;
  --rw-bot-bg:    #3D1F24;
  --rw-accent:    #8B2F39;
  --rw-ink:       #16130F;
  --rw-text:      #16130F;
  --rw-text-dim:  #5C3D42;
  --rw-muted:     #8A6B70;
  --rw-rule:      #E2C8CD;
  --rw-paper-dim: #EDE2E0;
}

.rw-wrap { background: var(--rw-bg); min-height: 100vh; }
.rw-head { 
  padding: 0 48px; 
  border-bottom: 1px solid var(--rw-rule); 
  display: flex;
  flex-direction: column;
}
.rw-meta { 
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center; 
  padding: 12px 0 10px; 
  border-bottom: 1px solid var(--rw-rule); 
  font-family: var(--f-ui); 
  font-size: 10px; 
  color: var(--rw-muted); 
  letter-spacing: 0.08em; 
}
.rw-meta > span:first-child {
  justify-self: start;
}
.rw-meta > span:last-child {
  justify-self: end;
}
.rw-tag-group {
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.rw-tag { 
  background: var(--rw-accent); 
  color: white; 
  padding: 3px 10px; 
  font-size: 9px; 
  letter-spacing: 0.18em; 
  text-transform: uppercase; 
  font-weight: 600; 
}
.rw-vol {
  font-size: 10px;
  color: var(--rw-muted);
}
.rw-logo-area { 
  text-align: center; 
  padding: 24px 0 18px; 
  border-bottom: 1px solid var(--rw-rule);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.rw-logo { 
  font-family: var(--f-masthead); 
  font-size: clamp(52px, 8vw, 88px); 
  font-weight: 700; 
  line-height: 0.92; 
  color: var(--rw-accent); 
  letter-spacing: -0.02em; 
}
.rw-tagline { font-family: var(--f-serif); font-style: italic; font-size: 14px; color: var(--rw-text-dim); margin-top: 10px; }
.rw-nav { 
  display: flex; 
  justify-content: center; 
  gap: 26px; 
  padding: 11px 0; 
  font-family: var(--f-ui); 
  font-size: 11px; 
  letter-spacing: 0.08em; 
  text-transform: uppercase; 
  font-weight: 500; 
  flex-wrap: wrap;
}
.rw-nav a { 
  color: var(--rw-text-dim); 
  text-decoration: none; 
  transition: color 0.18s; 
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}
.rw-nav a:hover { color: var(--rw-accent); }
.rw-ticker { 
  background: var(--rw-accent); 
  padding: 10px 48px; 
  display: flex; 
  align-items: center; 
  gap: 20px; 
  overflow: hidden;
  position: relative;
}
.rw-ticker-txt { 
  font-size: 12px; 
  font-weight: 400; 
  color: rgba(255,255,255,0.92); 
  white-space: nowrap; 
  animation: ticker-scroll 40s linear infinite; 
}
.rw-content { 
  display: grid; 
  grid-template-columns: 240px 1px 1fr 1px 200px; 
  gap: 0; 
  padding: 36px 48px; 
  max-width: 1360px; 
  margin: 0 auto; 
}
.rw-rule { background: var(--rw-rule); }
.rw-sl { padding-right: 30px; }
.rw-sm { padding: 0 36px; }
.rw-sr { padding-left: 28px; }
.rw-sbh { 
  font-family: var(--f-ui); 
  font-size: 10px; 
  letter-spacing: 0.2em; 
  text-transform: uppercase; 
  color: var(--rw-muted); 
  padding-bottom: 10px; 
  border-bottom: 2px solid var(--rw-accent); 
  margin-bottom: 14px; 
  font-weight: 600; 
}
.rw-sb-sec { margin-bottom: 28px; }
.rw-ri { padding: 11px 0; border-bottom: 1px solid var(--rw-rule); cursor: pointer; transition: all 0.18s; text-decoration: none; display: block; }
.rw-ri:hover .rw-ri-t { color: var(--rw-accent); }
.rw-ri-n { font-family: var(--f-serif); font-size: 26px; font-weight: 800; color: var(--rw-rule); line-height: 1; margin-bottom: 3px; }
.rw-ri-t { font-family: var(--f-serif); font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--rw-text-dim); transition: color 0.18s; margin-bottom: 3px; }
.rw-ri-m { font-family: var(--f-ui); font-size: 9px; color: var(--rw-muted); }
.rw-ri-d { font-family: var(--f-body); font-size: 11px; color: var(--rw-text-dim); line-height: 1.5; margin-top: 6px; }
.rw-stat { background: var(--rw-bg-raised); border: 1px solid var(--rw-rule); padding: 18px; margin-bottom: 18px; }
.rw-stat .sn { font-family: var(--f-serif); font-size: 44px; font-weight: 800; color: var(--rw-accent); line-height: 1; }
.rw-stat .sl { font-family: var(--f-ui); font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rw-muted); margin-top: 6px; font-weight: 500; }
.rw-stat .sd { font-size: 12px; color: var(--rw-text-dim); margin-top: 8px; line-height: 1.5; font-weight: 300; }
.rw-kicker { 
  font-family: var(--f-ui); 
  font-size: 10px; 
  letter-spacing: 0.22em; 
  text-transform: uppercase; 
  color: var(--rw-accent); 
  margin-bottom: 10px; 
  display: flex; 
  align-items: center; 
  gap: 10px; 
  font-weight: 600; 
}
.rw-kicker::before { content: ''; width: 20px; height: 2px; background: var(--rw-accent); display: inline-block; }
.rw-feat-h { 
  font-family: var(--f-serif); 
  font-size: clamp(24px, 2.8vw, 40px); 
  font-weight: 700; 
  line-height: 1.1; 
  letter-spacing: -0.02em; 
  margin-bottom: 14px; 
  color: var(--rw-text); 
}
.rw-feat-h em { font-style: italic; color: var(--rw-accent); }
.rw-ameta { 
  font-family: var(--f-ui); 
  font-size: 10px; 
  color: var(--rw-muted); 
  letter-spacing: 0.06em; 
  margin-bottom: 18px; 
  padding-bottom: 18px; 
  border-bottom: 1px solid var(--rw-rule); 
  display: flex; 
  gap: 14px; 
  align-items: center; 
  flex-wrap: wrap; 
}
.rw-ameta .by { color: var(--rw-text-dim); font-weight: 600; }
.rw-body p { font-family: var(--f-body); font-weight: 400; font-size: calc(var(--body-size) - 1px); line-height: 1.78; color: var(--rw-text); margin-bottom: 16px; }
.rw-body p:first-child::first-letter { 
  font-family: var(--f-serif); 
  font-size: 64px; 
  font-weight: 800; 
  float: left; 
  line-height: 0.78; 
  margin: 10px 10px 0 0; 
  color: var(--rw-accent); 
}
.rw-pq { margin: 24px 0; padding: 18px 22px; border-left: 4px solid var(--rw-accent); background: var(--rw-bg-raised); }
.rw-pq p { 
  font-family: var(--f-body) !important;
  font-weight: 700; 
  font-style: italic;
  font-size: 20px !important; 
  line-height: 1.5 !important; 
  color: var(--rw-text-dim) !important; 
  margin: 0 !important; 
}
.rw-sec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 28px 0; }
.rw-sec-c { 
  background: var(--rw-bg-raised); 
  border: 1px solid var(--rw-rule); 
  padding: 20px; 
  text-decoration: none; 
  display: block; 
  transition: all 0.18s; 
}
.rw-sec-c:hover { background: white; box-shadow: 0 2px 8px rgba(139,47,57,0.08); }
.rw-sec-h { font-family: var(--f-serif); font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--rw-text); margin-bottom: 8px; }
.rw-sec-d { font-family: var(--f-body); font-size: 13px; line-height: 1.6; color: var(--rw-text-dim); }
.rw-card { 
  background: var(--rw-bg-raised); 
  border: 1px solid var(--rw-rule); 
  padding: 20px; 
  margin-bottom: 18px; 
  text-decoration: none; 
  display: block; 
  transition: all 0.18s; 
}
.rw-card:hover { background: white; box-shadow: 0 2px 8px rgba(139,47,57,0.08); }
.rw-card-k { font-family: var(--f-ui); font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--rw-accent); margin-bottom: 8px; font-weight: 600; }
.rw-card-t { font-family: var(--f-serif); font-size: 17px; font-weight: 700; line-height: 1.3; color: var(--rw-text); margin-bottom: 10px; }
.rw-card-d { font-family: var(--f-body); font-size: 13px; line-height: 1.6; color: var(--rw-text-dim); margin-bottom: 10px; }
.rw-card-m { font-family: var(--f-ui); font-size: 9px; color: var(--rw-muted); }
.rw-write { background: var(--rw-bg-raised); border: 1px solid var(--rw-rule); padding: 18px; margin-top: 28px; }
.rw-write p { font-size: 12px; line-height: 1.6; color: var(--rw-text-dim); margin-bottom: 12px; }
.rw-btn { 
  background: var(--rw-accent); 
  color: white; 
  padding: 10px 18px; 
  font-family: var(--f-ui); 
  font-size: 10px; 
  letter-spacing: 0.12em; 
  text-transform: uppercase; 
  font-weight: 600; 
  border: none; 
  cursor: pointer; 
  transition: all 0.18s; 
}
.rw-btn:hover { background: #6B2329; }

/* Selection color */
.rw-wrap ::selection {
  background: var(--rw-accent);
  color: white;
}

/* Focus styles */
.rw-wrap *:focus-visible {
  outline-color: var(--rw-accent);
}

/* Platcard styles */
.rw-wrap .platcard-watch { border-left-color: var(--rw-accent); background: var(--rw-bg); }
.rw-wrap .platcard-watch-label { color: var(--rw-accent); }
.rw-wrap .platcard-stat .stat-number { color: var(--rw-accent); }
.rw-wrap .platcard-facts .fact-label { color: var(--rw-accent); }

/* Article styles */
.rw-wrap .article-header {
  background: var(--rw-bg);
  border-color: var(--rw-rule);
}
.rw-wrap .back-link:hover {
  color: var(--rw-accent);
}
.rw-wrap .logo-mini span {
  color: var(--rw-accent);
}
.rw-wrap .article-kicker {
  color: var(--rw-accent);
}
.rw-wrap .article-kicker::before {
  background: var(--rw-accent);
}
.rw-wrap .article-title em {
  color: var(--rw-accent);
}
.rw-wrap .article-meta {
  border-color: var(--rw-rule);
  color: var(--rw-muted);
}
.rw-wrap .article-author {
  color: var(--rw-text-dim);
}
.rw-wrap .article-location {
  background: var(--rw-accent);
  color: white;
}

/* Chart styles */
.rw-wrap .chart-container {
  background: var(--rw-bg-raised);
}
.rw-wrap .chart-title {
  color: var(--rw-accent);
}
.rw-wrap .chart-stat-value {
  color: var(--rw-accent);
}
.rw-wrap .map-container {
  background: var(--rw-bg-raised);
}
.rw-wrap .map-title {
  color: var(--rw-accent);
}

/* Loader color */
.rw-wrap .page-loader-bar {
  background: linear-gradient(90deg, #8B2F39, #AB4F59, #8B2F39);
  box-shadow: 0 0 10px rgba(139, 47, 57, 0.5);
}

/* ── RIGHT OF WAY BOTTOM BAND ── */
.rw-bot { background: var(--rw-bot-bg); padding: 40px 48px; border-top: 2px solid var(--rw-accent); }
.rw-bot-grid { display: grid; grid-template-columns: 1fr 1px 1fr 1px 1fr; gap: 0; max-width: 1360px; margin: 0 auto; }
.rw-bot-rule { background: #4A2A2F; }
.rw-bot-col { padding: 0 36px; }
.rw-bot-col:first-child { padding-left: 0; }
.rw-bot-col:last-child { padding-right: 0; }
.rw-bot-k { font-family: var(--f-ui); font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--rw-accent); margin-bottom: 10px; font-weight: 600; }
.rw-bot-col h3 { font-family: var(--f-serif); font-size: 18px; font-weight: 700; color: var(--rw-bg); margin-bottom: 10px; }
.rw-bot-col p { font-size: 13px; color: #9A7A7F; line-height: 1.6; font-weight: 300; }

/* ── RIGHT OF WAY NEWSLETTER STYLES ── */
.rw-nl { display: flex; margin-top: 14px; border: 1px solid #4A2A2F; }

.rw-nl input { 
  flex: 1; 
  background: transparent; 
  border: none; 
  padding: 9px 12px; 
  color: var(--rw-bg); 
  font-family: var(--f-ui); 
  font-size: 11px; 
  outline: none; 
}

.rw-nl input::placeholder { color: #6A4A4F; }

.rw-nl button { 
  background: var(--rw-accent); 
  border: none; 
  padding: 9px 14px; 
  color: white; 
  font-family: var(--f-ui); 
  font-size: 10px; 
  letter-spacing: 0.1em; 
  text-transform: uppercase; 
  cursor: pointer; 
  font-weight: 600; 
}

.rw-nl button:hover { 
  opacity: 0.85; 
  background: var(--rw-accent);
}

.rw-nl + .nl-success {
  color: #27ae60;
  font-family: var(--f-ui);
  font-size: 12px;
  padding: 10px 0;
  font-weight: 600;
}
