@charset "utf-8";

/* =========================================================
   Base / Resets
   ========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  /* Your site uses 62.5% scaling for easy rem math (1rem ~= 10px) */
  font-size: 62.5%;
}

body {
  font: 1.0rem Arial, Helvetica, Verdana, sans-serif; /* root 10px × 1.0 = 10px base; you scale with em on p/li */
  color: #000000;
  background-color: #e6e4f1;
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
}

a img {
  border: none;
}

/* =========================================================
   Design Tokens (matches your palette + ISI accent colors)
   ========================================================= */
:root {
  --brand-purple: #660460;
  --brand-teal: #2CA5B6;
  --brand-deepblue: #03284b;

  --isi-blue: rgb(24, 98, 175);      /* headings in ISI */
  --isi-orange: rgb(246, 143, 30);   /* CTA/link accent in ISI */

  --container-border: #650B5E;

  --isi-bg: #fff;
  --isi-text: #000;
  --isi-maxw: 960px;
}

/* =========================================================
   Layout
   ========================================================= */
.container {
  min-width: 100%;
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
  border-bottom: none;
  /* border-bottom: 5px solid var(--container-border); */
}

/* Optional narrow margins wrapper you use elsewhere */
@media (min-width: 701px) {
  .margin-width { margin: 0 20px; }
}
@media (max-width: 700px) {
  .margin-width { margin: 0 20px; }
}

/* =========================================================
   Typography
   ========================================================= */
sup {
  top: -.3em; /* keep your global sup offset */
  position: relative;
}

p { font-size: 1.5em; }            /* 1.5 × 10px = 15px, matches your file */
li { font-size: 1.5em; }
ul p { margin-left: 40px; font-size: 2em; }

h1 {
  font-size: 20.1px;
  font-weight: bold;
  margin: 0 0 1rem;
}

h2 {
  color: var(--brand-purple);
  font-weight: bold;
  font-size: 1.4em;
  margin: 1rem 0;
}

.pink { color: var(--brand-purple); }

p.font-141 { font-size: 14.1px; }
p.font-121 { font-size: 12.1px; }
p.font-111 { font-size: 11.1px; }
p.font-10  { font-size: 10px; }
p.margin-40 { margin-left: 40px; }

/* =========================================================
   Links
   ========================================================= */
a:link,
a:visited {
  color: var(--brand-teal);
  text-decoration: underline;
}
a:hover,
a:active {
  color: var(--brand-purple);
}

/* =========================================================
   Utility / Layout helpers
   ========================================================= */
.col-md-3.no-gutter { padding-left: 0; padding-right: 0; }

.margin-150 { margin-top: 150px; }
@media only screen and (max-width: 767px) {
  .margin-150 { margin-top: 0px; }
}
.margin-150 p { color: #000; }

/* =========================================================
   Boxes / Components
   ========================================================= */
.bordered-box {
  border: 4px solid #000;
  padding: 10px;
  margin: 10px 0;
}
.bordered-box p { font-size: 12.1px; text-align: left; }
.bordered-box p:last-of-type { margin-bottom: 0; }
.bordered-box ul { padding-left: 0; margin-bottom: 0; }
.bordered-box ul li {
  margin-left: 25px;
  font-size: 11px;
  line-height: 1.3em;
}

/* Footer */
footer p { font-size: 12px; }
footer li {
  font-size: .8em; /* or whatever exact size you want (10px with your 62.5% root) */
  font-weight: normal;
  line-height: 1.4;
}

/* =========================================================
   Forms
   ========================================================= */
form {
  background: #D1F0F4;
  padding: 20px 20px 0;
  color: #595959;
  border-radius: 10px;
}
form p,
.margin-150 form p {
  font-size: 2em;
  color: #595959;
}
form h3 {
  font-size: 1.4em;
  font-weight: bold;
}
form label { font-size: 2em; }

.required label::after {
  content: "*";
  color: #aa0000;
}
.red-text { color: #aa0000; }

.invalid-feedback {
  font-size: 14px !important;
}

/* =========================================================
   ISI – Full Page Section (new scaffold-compatible styling)
   ========================================================= */
/* Screen-reader only helper for legal marks and accessibility text */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 1px 1px);
  white-space: nowrap; border: 0;
}

.isi-section {
  background: var(--isi-bg);
  color: var(--isi-text);
  line-height: 1.6;
  padding: 40px 20px;      /* replaces inline styles from your current ISI block */
}
.isi-wrapper {
  max-width: var(--isi-maxw);
  margin: 0 auto;
}

.isi-h1 {
  color: var(--isi-blue);
  font-size: 2.4rem;       /* ≈ 24px with your 62.5% root */
  font-weight: 700;
  margin: 0 0 1rem;
}
.isi-h2 {
  color: var(--isi-blue);
  font-size: 2rem;         /* ≈ 20px */
  font-weight: 700;
  margin: 2rem 0 .8rem;
}

.isi-section p { font-size: 1.5em; margin: 0 0 1rem; }
.isi-list {
  padding-left: 1.4rem;
  margin: 0 0 1.2rem;
}

/* Utility class for orange text (for <strong> callouts, headings, etc.) */
.isi-orange {
  color: var(--isi-orange) !important;
}


.isi-link { text-decoration: underline; }
.isi-link--cta { color: var(--isi-orange); }
.isi-link--cta:hover,
.isi-link--cta:focus { color: #d7770c; }

.isi-fda,
.isi-pi {
  color: var(--brand-deepblue);
  font-size: 1rem;
  margin-top: 1.6rem;
}

.isi-section sup {
  top: -.3em;
  font-size: 0.7em;
  position: relative;
}

/* Utility class for ISI lists without bullets */
.isi-list--no-bullets {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

.isi-list--no-bullets li {
  margin-bottom: 1rem; /* keeps same spacing between items */
}


/* Mobile tightening for ISI block */
@media (max-width: 767px) {
  .isi-section { padding: 24px 16px; }
  .isi-h1 { font-size: 2.0rem; }
  .isi-h2 { font-size: 1.7rem; }
  .isi-section p,
  .isi-list li { font-size: 1.4em; }
}

/* =========================================================
   OPTIONAL: ISI Sticky Footer (preserves your existing rules)
   If you use the sticky ISI bar, these styles keep behavior
   while cleaning duplicates and ensuring responsiveness.
   ========================================================= */
.isi-fixed {
  position: fixed;
  width: 100%;
  bottom: 0;
  left: 0;
  background: #fff;
  text-align: center;
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 0.1px;
  padding: 10px 0;
  z-index: 999999999;

  /* 3D transform keeps it above positioned children on some mobile browsers */
  transform: translateZ(1px);

  background-image: url(../img/border.jpg);
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 100% 4px;
}

.isi-fixed .container {
  display: flex;
  position: relative;
}
.isi-fixed .container > img {
  position: absolute;
  top: 0;
  right: 0;
  width: 15px;
  cursor: pointer;
}
.isi-fixed .container > img.mob-show { display: none; }

.isi-fixed .container > div:first-child {
  width: 300px;
  flex: none;
  margin-right: 50px;
  position: relative;
}
.isi-fixed .container > div:nth-child(2) {
  flex: 1;
}
.isi-fixed .container > div:nth-child(2) > div {
  padding: 15px;
  border: 1px solid #000;
  font-size: 11px;
  line-height: 15px;
  font-weight: 700;
}
.isi-fixed .container > div h2,
.isi-fixed .container h2 {
  font-size: 1.5em;
  line-height: 24px;
  font-weight: 800;
  margin: 0 0 10px;
  color: inherit; /* don't override */
}
.isi-fixed .container > div h3 {
  font-size: 1.2em;
  line-height: 16px;
  margin: 0 0 5px;
  font-weight: 600;
}
.isi-fixed .container > div p { margin: 0 0 15px; }
.isi-fixed p { font-size: 1em; }

/* Existing toggle state you had; preserve as-is */
.isi-fixed.open { display: none; }

.isi-fixed .container ul { margin-bottom: 0; }
.isi-fixed .container > img.mob-hide { display: block; }
.isi-fixed .container > img.mob-show { display: none; }

@media (min-width: 768px) {
  .isi-fixed .container > div {
    height: 185px;
    overflow: hidden;
  }
}

@media (max-width: 991px) {
  .isi-fixed .container > div:first-child { width: 30%; }
}

@media (max-width: 767px) {
  .isi-fixed { font-size: 10px; line-height: 12px; padding-top: 15px; }
  .isi-fixed .container { flex-direction: column; }
  .isi-fixed .container > img.mob-show { display: block; width: 10px; top: 0; }
  .isi-fixed .container > img.mob-hide { display: none; }
  .isi-fixed .container > div:first-child { width: 100%; }
  .isi-fixed .container > div:first-child .mob-hide { display: none; }
  .isi-fixed .container > div p { font-size: 10px; line-height: 12px; }
  .isi-fixed .container > div h3 { font-size: 10px; line-height: 12px; text-transform: uppercase; }
  .isi-fixed .container > div h2 { font-size: 12px; line-height: 14px; margin-bottom: 10px; font-weight: 800; }
  .isi-fixed .container > div:nth-child(2) > div { padding: 10px; font-size: 10px; line-height: 12px; }
}

/* Optional: add a little text toggle affordance if you hook JS later */
.isi-fixed-toggle {
  position: absolute;
  right: 8px;
  top: 8px;
  font-size: 12px;
  text-decoration: underline;
  cursor: pointer;
}

/* =========================================================
   Lists with custom markers you used
   ========================================================= */
.ul-dash   { list-style-type: '- '; }
.ul-circle { list-style-type: circle; }
