/* --- Global Reset & Base Typography --- */
* {
  box-sizing: border-box;
}

:root {
  --GC-blue-rgb: 0, 57, 166;
  --grad-start: 245, 242, 230;
  --grad-end:   0, 57, 166;
  --grad-text-start: 0, 57, 166;    /* deep blue */
  --grad-text-end:   245, 242, 230; /* warm cream */
}

.gc-blue-text {
  color: #005DAA;
}

body {
  margin: 0;
  padding: 0;
/*  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;*/
  font-family: Helvetica, Arimo, Arial, Sans-serif;
  background-color: #fafafa;
  color: #222;
  line-height: 1.6;
}

/* --- Main Centered Container --- */
.page-container {
  max-width: 950px;
  margin: 0 auto;
  padding: 40px 24px;
}

@media (max-width: 600px) {
  body {
    font-size: 17px;
  }
}

/* --- Header Section --- */
.row {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 40px;
}

.column {
  display: flex;
  align-items: center;
  padding: 0;
  border: none;
}

.image img {
  max-width: 250px;
  height: auto;
  border-radius: 8px;
  float: none;
}

.text h1 {
  font-size: 32px;
  margin-bottom: 10px;
  font-weight: 700;

  color: #005DAA;
}


#nav {
    text-align: center;
    margin: 0px;
    padding: 0px;
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
/*    float: left;*/
    width: 100%;
}

#nav a {
    color: #929292;
    background: transparent;
    text-decoration: none;
}

#nav a:hover {
    color: #4d4d4c;
    text-decoration: none;
}

#nav a.active {
    color: #cc6666;
}

#nav a.active:hover {
    color: #C02626;
}

.text {
  font-size: 16px;
}

/* --- News / Content Boxes --- */
.news {
  background: white;
  border-radius: 10px;
  padding: 20px 24px;
  margin: 32px 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  border: none;
}

a {
    text-decoration: none;
    color: #4271ae; /* #fff; */
    /* background-color: #444444; */
}

a:hover {
    color: #4d4d4c;
    /* background-color: #444444; */
    text-decoration-color: #555555;
    text-decoration: underline;
}

strong a {
    background-color: #333333;
}

strong {
  font-weight: bold;
  color: #cc6666;
}

.info-row {
  display: flex;
  justify-content: space-around; /* even spacing horizontally */
  text-align: center;            /* center text in each block */
  margin-top: 10px;
  flex-wrap: wrap;               /* ensures mobile friendliness */
  gap: 12px;                     /* optional: spacing between items */
}

/* --- Section Headings --- */
h2 {
  font-size: 22px;
  margin-bottom: 10px;
  font-weight: 600;
  color: #333;
}

/* --- Lists --- */
ul {
  padding-left: 20px;
}
ul li {
  margin: 12px 0;
}

/* --- Collapsible Buttons --- */
.collapsible {
  width: 100%;
  text-align: left;
  padding: 16px 20px;
  font-size: 17px;
  font-weight: 600;
  border: none;
  border-radius: 0;          /* removes rounded gaps */
  margin: 0;                 /* removes vertical spacing */
  
/*  background: #e9f4fb;*/
  color: #1A1A1A;

  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.collapsible:hover {
  background: #d8eef9;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* --- Collapsible Icons --- */
.collapsible {
  position: relative;
  padding-right: 40px;  /* add space for the icon */
}

.collapsible::after {
  content: "▸";            /* closed state icon */
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #1a3a4a;          /* matches your collapsible text color */
  transition: transform 0.2s ease;
}

/* Rotate icon when expanded */
.collapsible.active::after {
  transform: translateY(-50%) rotate(90deg);
}

.collapsible:first-of-type {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.collapsible:last-of-type {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.active {
  background: #cfe7f5;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

/* --- Collapsible Content --- */
.content {
  display: none;
  padding: 20px;
  margin-top: 4px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}


.news .collapsible {
  background: rgba(255,255,255,0.8);
  font-size: 16px;
  border-radius: 6px;
  margin-bottom: 4px;
}

.news .collapsible:hover {
  background: #e3f2fb;
}



/*.policy-content a {
  color: inherit;
  text-decoration: underline;
  font-weight: 500;
}

.policy-content a:hover {
  opacity: 0.85;
}*/

/* ===============================
   Policy-specific color themes
   =============================== */

/* Base policy button */
.collapsible.policy {
  font-weight: 600;
  border-radius: 6px;
}

.collapsible.active {
  box-shadow: inset 0 0 0 2px rgba(0,0,0,0.12);
}

.collapsible.week.active {
  box-shadow:
    inset 0 0 0 2px rgba(0,0,0,0.18),
    0 2px 6px rgba(0,0,0,0.15);
}


/* ---------- Course Materials (GC Teal-Blue) ---------- */
.collapsible.policy.materials {
  background-color: #e7f0f6;
  color: #003f5c;
}

.collapsible.policy.materials:hover {
  background-color: #d9e7f1;
}

.content.policy-content.materials {
  background-color: #f4f9fc;
  color: #1f3a4a;
}


/* ---------- Grading (Warm Academic Ochre) ---------- */
.collapsible.policy.grading {
  background-color: #f3ede4;
  color: #5a3b00;
}

.collapsible.policy.grading:hover {
  background-color: #e9dfd1;
}

.content.policy-content.grading {
  background-color: #fbf8f2;
  color: #4a2f00;
}


/* ---------- Attendance & Participation (Slate Green) ---------- */
.collapsible.policy.attendance {
  background-color: #e8efec;
  color: #2e4a44;
}

.collapsible.policy.attendance:hover {
  background-color: #dbe6e1;
}

.content.policy-content.attendance {
  background-color: #f5faf8;
  color: #243d38;
}


/* ---------- Accommodations (Plum-Gray) ---------- */
.collapsible.policy.accommodations {
  background-color: #efe9f2;
  color: #4a2c5a;
}

.collapsible.policy.accommodations:hover {
  background-color: #e3d8e8;
}

.content.policy-content.accommodations {
  background-color: #f8f4fa;
  color: #3c2348;
}


/* ---------- Conduct / Classroom Norms (Cool Stone) ---------- */
.collapsible.policy.ethos {
  background-color: #ededee;
  color: #333333;
}

.collapsible.policy.ethos:hover {
  background-color: #e0e0e2;
}

.content.policy-content.ethos {
  background-color: #f7f7f8;
  color: #2a2a2a;
}





/* --- Responsive Tweaks --- */
@media (max-width: 600px) {
  .row {
    flex-direction: column;
    text-align: center;
  }

  .image img {
    max-width: 120px;
  }

  .text h1 {
    font-size: 26px;
  }
}


/* ---------- Required readings ---------- */

.content .required {
  margin-left: 28px;
  padding-left: 16px;
  border-left: 3px solid #cc6666;   /* your existing red accent */
}

.content .required p {
  margin: 6px 0;
  font-size: 1em;
  color: #222;
}

/* ---------- Supplementary readings ---------- */

.content .supplementary {
  margin-left: 28px;
  padding-left: 16px;
  border-left: 3px solid rgba(0,0,0,0.12);
}

.content .supplementary ul {
  list-style: none;       /* remove bullets */
  padding-left: 0;
  margin-top: 6px;
}

.content .supplementary li {
  margin: 10px 0;
  font-size: 0.95em;
  color: #444;
}

.content .supplementary li + li {
  margin-top: 12px;
}

/*.content .supplementary li::before {
  content: "– ";
  color: #999;
}*/