/* /static/css/products/roadmap_to_college.css */

/* -------- Layout -------- */
.content-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 12px 40px;
}

/* Keep Materialize grid spacing but reduce excessive gaps on wide screens */
.row { margin-bottom: 14px; }

/* -------- Typography helpers -------- */
.blurb-text {
  font-size: 1.05rem;
  line-height: 1.65;
  margin-top: 0.25rem;
  margin-bottom: 0.85rem;
}

.blurb-highlight {
  font-weight: 700;
}

.margin_bottom_0 {
  margin-bottom: 0 !important;
}

/* -------- Card -------- */
.referral-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.14);
  border-radius: 14px;
  padding: 18px 18px 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.referral-subtitle {
  margin: 0 0 12px 0;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.25;
}

/* -------- Table -------- */
.referral-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid rgba(0,0,0,0.18);
  border-radius: 10px;
  background: #fff;
}

table.referral-table {
  width: 100%;
  border-collapse: collapse; /* ensures clean borders */
  margin: 0;
}

/* Ensure Materialize's .responsive-table padding doesn't override ours */
.referral-table-wrap table.referral-table th,
.referral-table-wrap table.referral-table td {
  padding: 12px 14px !important;
  line-height: 1.45;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Keep columns predictable and avoid huge empty horizontal space */
table.referral-table {
  table-layout: fixed;
}

table.referral-table thead th {
  background: rgba(0,0,0,0.04);
  font-weight: 800;
  text-align: left;
  padding: 12px 12px;
  border-bottom: 1px solid rgba(0,0,0,0.18);
  border-right: 1px solid rgba(0,0,0,0.12);
  vertical-align: bottom;
}

table.referral-table tbody td {
  padding: 12px 12px;
  border-top: 1px solid rgba(0,0,0,0.12);
  border-right: 1px solid rgba(0,0,0,0.12);
  vertical-align: top;
}

/* Remove last vertical border */
table.referral-table tr > *:last-child {
  border-right: 0;
}

/* Gentle striping */
table.referral-table tbody tr:nth-child(even) td {
  background: rgba(0,0,0,0.02);
}

table.referral-table thead th:nth-child(1) {
  white-space: nowrap;
}

/* Allow wrapping in the 2nd column for long text */
table.referral-table tbody td:nth-child(2) {
  white-space: normal;
}

/* -------- Notes -------- */
.referral-note {
  margin-top: 14px;
  text-align: left; /* force left alignment */
}

.referral-note-title {
  font-weight: 800 !important;
  margin: 0 0 6px 0;
  text-align: left;
}

.referral-bullets {
  margin: 0;
  padding-left: 20px;
  list-style: disc;
  text-align: left;
}

.referral-bullets li {
  margin: 6px 0;
  line-height: 1.55;
  text-align: left;
}

/* -------- Responsive tweaks -------- */
@media (max-width: 600px) {
  .content-wrapper {
    padding: 14px 10px 28px;
  }

  .referral-card {
    padding: 14px 12px 12px;
    border-radius: 12px;
  }

  .blurb-text {
    font-size: 1rem;
  }

  table.referral-table thead th,
  table.referral-table tbody td {
    padding: 10px 10px;
  }
}

/* =========================================
   MISSING STYLES FOR EXAM ELIGIBILITY HTML
   ========================================= */

/* Support for .section-title found in HTML */
.section-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #ff9800;
  margin-top: 2rem;
  margin-bottom: 1.2rem;
  border-bottom: 2px solid rgba(0,0,0,0.08);
  padding-bottom: 8px;
}

/* Standard H3 within content */
h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #ff6d00;
}

/* Support for generic <table> found in HTML */
/* We apply a style similar to .referral-table but for standard table tags */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background-color: #fff;
  border: 1px solid rgba(0,0,0,0.12);
}

th, td {
  padding: 12px 14px;
  text-align: left;
  border: 1px solid rgba(0,0,0,0.12);
  vertical-align: top;
}

thead th {
  background-color: rgba(0,0,0,0.04);
  font-weight: 700;
}

/* Support for <blockquote> (Pro Tip) */
blockquote {
  margin: 20px 0;
  padding: 16px 20px;
  border-left: 5px solid #26a69a; /* Teal accent to match typical nice UIs */
  background-color: #f9f9f9;
  font-style: italic;
  color: #555;
  border-radius: 0 4px 4px 0;
}

blockquote p {
  margin: 0;
}

/* Support for lists within the content */
ul, ol {
  padding-left: 20px;
  margin-bottom: 1.5rem;
}

li {
  margin-bottom: 8px;
  line-height: 1.6;
}

/* Horizontal Rule styling */
hr {
  border: 0;
  height: 1px;
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0));
  margin: 30px 0;
}

/* Fix for Materialize container if missing */
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}
/* =========================================================
   ROADMAP CONTENT POLISH (SCOPED TO THIS PAGE)
   =========================================================
   We scope these rules to the roadmap page content (<main>)
   so they don't affect the header/nav area.
*/

/* Main spacing rhythm */
#page-top-position-marker + main .section {
  padding-top: 26px;
  padding-bottom: 26px;
}

/* Titles */
#page-top-position-marker + main .section-title {
  margin-top: 3.25rem;
  margin-bottom: 3rem;
}

/* Body typography */
#page-top-position-marker + main p {
  font-size: 1.02rem;
  line-height: 1.75;
  margin: 0.65rem 0;
  color: rgba(0,0,0,0.78);
}

#page-top-position-marker + main li {
  line-height: 1.7;
  margin-bottom: 0.4rem;
  color: rgba(0,0,0,0.78);
}

/* Headings inside content */
#page-top-position-marker + main h2 {
  font-size: 3.55rem;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 0.85rem 0;
  color: #ff6d00;
}

#page-top-position-marker + main h3:not(.section-title) {
  font-size: 2.75rem;
  font-weight: 800;
  margin-top: 1.6rem;
  margin-bottom: 0.8rem;
  color: #3d5afe;
}

#page-top-position-marker + main h4 {
  font-size: 2.0rem;
  font-weight: 800;
  margin-top: 1.25rem;
  margin-bottom: 0.6rem;
  color: #2196F3;
}

#page-top-position-marker + main h5 {
  font-size: 1.33rem;
  font-weight: 800;
  margin-top: 1.05rem;
  margin-bottom: 0.45rem;
  color: #4CAF50;
}

/* Generic table upgrades for markdown-rendered content */
#page-top-position-marker + main table {
  table-layout: fixed;           /* prevents huge empty space + forces wrapping */
  border-collapse: separate;     /* allows border-radius */
  border-spacing: 0;
  border-radius: 10px;
  overflow: hidden;
  font-size: 0.98rem;
}

#page-top-position-marker + main th,
#page-top-position-marker + main td {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Make common "Eligible?" / small columns look neat */
#page-top-position-marker + main table th:nth-child(2),
#page-top-position-marker + main table td:nth-child(2) {
  text-align: center;
  white-space: nowrap;
}

#page-top-position-marker + main table thead th {
  background: rgba(0,0,0,0.035);
}

/* Gentle striping for readability */
#page-top-position-marker + main table tbody tr:nth-child(even) td {
  background: rgba(0,0,0,0.02);
}

/* Callouts */
#page-top-position-marker + main blockquote {
  border-left-color: rgba(2,119,189,0.9);
  background-color: rgba(2,119,189,0.06);
  font-style: normal;
}

/* HR spacing */
#page-top-position-marker + main hr {
  margin: 22px 0;
}

/* Mobile */
@media (max-width: 600px) {
  #page-top-position-marker + main p {
    font-size: 1rem;
  }

  #page-top-position-marker + main table {
    font-size: 0.93rem;
  }

  #page-top-position-marker + main th,
  #page-top-position-marker + main td {
    padding: 9px 10px;
  }
}




