/* Shared infographic styles — load before each page’s local <style> block. */
/* Common color palette */
:root {
  --blue: #003c71;
  --blue-dark: #002a4f;
  --blue-light: #e5ebf1;

  --gray: #d7d2cb;
  --gray-light: #f7f6f5;

  --green: #287a3d;
  --green-dark: #205f30;
  --green-light: #eaf5e9;

  --maroon: #861f41;
  --maroon-dark: #5e162e;
  --maroon-light: #f3e8ec;

  --orange: #c64600;
  --orange-light: #faede6;

  --purple: #642667;

  --red: #a6192e;
  --red-light: #fae9ec;

  --smoke: #e5e1e6;
  --smoke-dark: #737173;
  --smoke-darker: #171617;
  --smoke-light: #f7f6f7;

  --teal: #508590;
  --teal-dark: #385d65;
  --teal-light: #edf3f4;

  --turq: #2cd5c4;
  --turq-dark: #002a4f;
  --turq-light: #e9fbf9;

  --text: #1f1f1f;
  --white: #ffffff;
  --black: #000000;

  --yellow: #f7ea48;
  --yellow-dark: #635e1d;
  --yellow-light: #fefdec;

  /* Background pattern images */
  --pattern-geometric-corner: url("https://tracigardner.github.io/TechComm/-images/backgrounds/Geometric-Corner-Pattern.png");
  --pattern-hokie-stone: url("https://tracigardner.github.io/TechComm/-images/backgrounds/RS200052_20240916_Hokie_Stone_LH_0008_web-450wx300h.jpg");
  --pattern-polka-dot: url("https://tracigardner.github.io/TechComm/-images/backgrounds/polka-dot.png");
  --pattern-roadmap: url("https://tracigardner.github.io/TechComm/-images/backgrounds/roadmap.png");
  --pattern-sources: url("https://tracigardner.github.io/TechComm/-images/backgrounds/research-sources-pattern.png");
  --pattern-teal-blueprint: url("https://tracigardner.github.io/TechComm/-images/backgrounds/Teal-Blueprint.png");
  --pattern-visuals: url("https://tracigardner.github.io/TechComm/-images/backgrounds/visuals-pattern.png");

  /* Typography */
  --font-body: Verdana, Geneva, Tahoma, sans-serif;
}

/* Used frequently */
.skipline li,
.skipline ul li,
.skipline ol li,
.skipline dl,
.skipline dd {
  margin-bottom: 12px;
}
.null li,
.null ul li,
.null ol li,
.null dl,
.null dd {
  margin-top: 0px !important;
  margin-bottom: 0px !important;
}

/* Repeated rules with matching declarations across infographic files */
* {
  box-sizing: border-box;
}

.pagewidth {
  background: #fff;
  border: 5px solid var(--maroon);
  border-radius: 14px 14px 0 0;
  padding: 28px;
}

.process-step:nth-child(3):not(.five-second-step) {
  background: var(--maroon-light);
  border-color: var(--maroon);
}

/* Default font for all infographics */
body {
  font-family: var(--font-body);
}

/* Red Light, Green Light dashboard components (scoped to this infographic family) */
.rlgl-dashboard .page {
  padding: 30px;
  background-color: var(--white);
}

.rlgl-dashboard .hero {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 26px;
}

.rlgl-dashboard .traffic-light {
  width: 82px;
  margin: 0 auto;
  padding: 12px;
  border-radius: 18px;
  background-color: #26383c;
  box-shadow: 5px 5px 0 var(--gray);
}

.rlgl-dashboard .signal {
  width: 50px;
  height: 50px;
  margin: 0 auto 10px auto;
  border-radius: 50%;
  background-color: var(--yellow);
}

.rlgl-dashboard .signal:last-child {
  margin-bottom: 0;
}

.rlgl-dashboard .signal.red {
  background-color: var(--red);
}

.rlgl-dashboard .signal.green {
  background-color: var(--green);
}

.rlgl-dashboard .hero-copy h1 {
  margin: 0;
  color: var(--red);
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1;
}

.rlgl-dashboard .hero-copy h2 {
  margin: 7px 0 10px 0;
  color: var(--green);
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  line-height: 1.1;
}

.rlgl-dashboard .hero-copy p {
  max-width: 800px;
  margin: 0;
  font-size: 1.05rem;
}

.rlgl-dashboard .red-word {
  color: var(--red);
  font-weight: bold;
}

.rlgl-dashboard .green-word {
  color: var(--green);
  font-weight: bold;
}

.rlgl-dashboard .dashboard-heading {
  margin: 0 0 14px 0;
  color: var(--text);
  font-size: 1.4rem;
}

.rlgl-dashboard .dashboard {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.rlgl-dashboard .dashboard-card {
  overflow: hidden;
  border: 2px solid var(--dark-gray);
  border-radius: 13px;
  background-color: var(--white);
}

.rlgl-dashboard .card-question {
  padding: 16px 18px;
  border-bottom: 2px solid var(--gray);
  background-color: var(--white);
}

.rlgl-dashboard .card-question p {
  margin: 0;
  font-size: 0.92rem;
}

.rlgl-dashboard .signal-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.rlgl-dashboard .red-check,
.rlgl-dashboard .green-check {
  padding: 14px 16px;
}

.rlgl-dashboard .red-check {
  border-right: 1px solid var(--gray);
  border-top: 6px solid var(--red);
  background-color: var(--red-light);
}

.rlgl-dashboard .green-check {
  border-top: 6px solid var(--green);
  background-color: var(--green-light);
}

.rlgl-dashboard .signal-label {
  display: block;
  margin-bottom: 7px;
  font-size: 1rem;
  font-weight: bold;
}

.rlgl-dashboard .red-check .signal-label {
  color: var(--red);
}

.rlgl-dashboard .green-check .signal-label {
  color: var(--green);
}

.rlgl-dashboard .red-check p,
.rlgl-dashboard .green-check p {
  margin: 0;
  font-size: 0.84rem;
}

.rlgl-dashboard .basics {
  margin-top: 24px;
  border: 3px dashed var(--dark-gray);
  border-radius: 13px;
  padding: 12px;
}

.rlgl-dashboard .basics-header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  margin-bottom: 15px;
  background-color: var(--white);
  border-bottom: 6px solid var(--red);
  width: 100%;
}

.rlgl-dashboard .basics h2 {
  margin: 0 0 3px 0;
  color: var(--red);
  font-size: 1.3rem;
}

.rlgl-dashboard .basics-header p {
  margin: 0;
  font-size: 0.9rem;
}

.rlgl-dashboard .basics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px 16px;
}

.rlgl-dashboard .basic-item {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 7px;
  align-items: start;
  font-size: 0.84rem;
}

.rlgl-dashboard .checkbox {
  width: 17px;
  height: 17px;
  margin-top: 1px;
  border: 2px solid var(--dark-gray);
  border-radius: 2px;
  background-color: var(--white);
}

.rlgl-dashboard .updated {
  margin: 0;
  padding: 8px 10px;
  background-color: var(--dark-gray);
  color: var(--white);
  font-size: 0.88rem;
  font-weight: bold;
  text-align: right;
}

.rlgl-dashboard .credit {
  margin-top: 10px;
  font-size: 0.78rem;
}
