:root {
  --tel-primary: #2f5a82;
  --tel-secondary: #53d68a;
  --background: #f9f9f9;
  --card-bg: #ffffff;
  --accent: #eef4f7;
  --text-color: #333333;
  --border-gray: #dddddd;
  --font-base: 1rem;
  --font-lg: 1.125rem;
  --font-xl: 1.75rem;
  --font-xxl: 2rem;
}
html, body { height: 100%; }
body {
  font-family: Arial, sans-serif;
  font-size: var(--font-base);
  line-height: 1.6;
  color: var(--text-color);
  background: var(--background);
}
a {
  color: var(--tel-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover, a:focus {
  color: var(--tel-secondary);
  outline: none;
}

/* Top CTA */
.top-cta {
  position: sticky;
  top: 0; z-index: 100;
  background: linear-gradient(90deg, var(--tel-primary), var(--tel-secondary));
  text-align: center; padding: 10px 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.top-cta .cta-button {
  background: #fff; color: var(--tel-primary);
  padding: 12px 25px; font-weight: bold;
  border-radius: 5px; min-height: 44px;
  display: inline-block;
  transition: background 0.3s, transform 0.2s;
}
.top-cta .cta-button:hover {
  background: var(--tel-secondary); color: #fff;
  transform: scale(1.05);
}

/* Layout: side-panel now 160px wide */
.main-container {
  display: grid;
  grid-template-columns: 1fr 160px;
  gap: 20px;
  padding: 20px;
}
@media (max-width: 768px) {
  .main-container { grid-template-columns: 1fr; }
}

/* Clipboard side panel – shortened padding */
.side-panel.clipboard {
  background: var(--card-bg);
  border: 1px solid var(--border-gray);
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  position: relative;
}
.side-panel.clipboard::before {
  content: '';
  position: absolute; top: -16px; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 16px;
  background: var(--border-gray);
  border-radius: 4px 4px 0 0;
}
.side-panel.clipboard h2 {
  text-align: center;
  font-size: var(--font-xxl);
  color: var(--tel-primary);
  margin-bottom: 8px;
}
.side-panel.clipboard ul {
  list-style: disc outside;
  margin-left: 20px;
}
.side-panel.clipboard li {
  margin: 6px 0;
}
.side-panel.clipboard a {
  padding: 4px 0; border-left: none;
}
.side-panel.clipboard a:hover {
  color: var(--tel-secondary);
}

/* Header – centered & navy */
.header {
  text-align: center; padding-bottom: 20px;
}
.header h1 {
  font-size: var(--font-xl);
  color: var(--tel-primary);
  margin-bottom: 8px;
}
.header p {
  font-size: var(--font-lg);
  color: var(--tel-primary);
}

/* Info box */
.info-box {
  background: var(--accent);
  border-left: 5px solid var(--tel-secondary);
  padding: 15px;
  margin: 0 auto 20px;
  max-width: 800px;
  border-radius: 5px;
  font-size: var(--font-lg);
  text-align: center;
}

/* Widgets / Dropdowns */
.widget-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}
.dropdown {
  background: var(--card-bg);
  border: 1px solid var(--border-gray);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.dropdown:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.dropdown h3 {
  font-size: var(--font-lg);
  color: var(--tel-primary);
  padding: 12px 16px; margin: 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dropdown h3::after {
  content: '▼'; transition: transform 0.2s;
}
.dropdown:hover h3::after {
  transform: rotate(180deg);
}
.dropdown-content {
  display: none;
  border-top: 1px solid var(--border-gray);
}
.dropdown:hover .dropdown-content {
  display: block;
}
.dropdown-content a {
  display: block;
  padding: 8px 16px;
  font-size: var(--font-base);
  color: var(--tel-primary);
  transition: background 0.2s, padding-left 0.2s;
}
.dropdown-content a:hover {
  background: var(--tel-secondary);
  color: #fff;
  padding-left: 24px;
}

/* Students spans both columns & side-by-side lists */
.dropdown.students {
  grid-column: 1 / 3;
}
.student-resources-flex {
  display: flex; gap: 20px; padding: 12px 16px;
}
.student-resources-flex > div { flex: 1; }
.student-resources-flex ol { padding-left: 20px; margin: 0; }

/* Faculty policy pair */
.faculty-policy-pair {
  display: flex; align-items: center; padding: 12px 16px;
}
.faculty-policy-pair .separator-inline {
  margin: 0 8px; color: var(--border-gray); pointer-events: none;
}

/* Demo section */
.demo-section {
  background: var(--accent);
  border-radius: 8px;
  padding: 20px;
  margin: 30px auto;
  max-width: 800px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.demo-button {
  background: var(--tel-secondary);
  color: #fff;
  padding: 12px 30px;
  font-size: var(--font-lg);
  border-radius: 5px;
  display: inline-block;
  min-height: 44px;
  transition: background 0.2s, transform 0.2s;
}
.demo-button:hover {
  background: var(--tel-primary);
  transform: scale(1.05);
}
.demo-section p {
  margin-top: 15px;
  font-size: var(--font-base);
}

/* About TEL buttons under clipboard */
.about-buttons {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.about-button {
  background: var(--tel-primary);
  color: #fff;
  padding: 10px;
  border-radius: 5px;
  text-align: center;
  display: block;
  text-decoration: none;
  transition: background 0.2s;
}
.about-button:hover {
  background: var(--tel-secondary);
}
/* … all your previous CSS … */

.side-panel.clipboard {
  /* existing styles… */
  max-width: 180px;    /* shorten horizontally */
}

/* “About TEL” header */
.about-tel-header {
  color: var(--tel-secondary);
  font-size: var(--font-lg);
  margin: 12px 0 8px;
  text-align: center;
}

/* Buttons under “About TEL” */
.about-tel-buttons a {
  display: block;
  background: var(--tel-primary);
  color: #fff;
  text-align: center;
  padding: 8px;
  border-radius: 4px;
  margin: 4px 0;
  transition: background 0.2s;
}
.about-tel-buttons a:hover {
  background: var(--tel-secondary);
}
/* restore default list styles in article content */
.main-content ul,
.main-content ol {
  /* give them back some left margin */
  margin: 1em 0 1em 1.5em;
  /* keep the bullets/numbers outside the text block */
  list-style-position: outside;
}

/* explicitly set bullet and number types */
.main-content ul {
  list-style-type: disc;
}
.main-content ol {
  list-style-type: decimal;
}
/* ─────────────────────────────────────────────────────────────
   /* Widget-1 Accordions: full-width blue buttons, stacked in order */
.widget-container details.accordion {
  width: 100%;              /* ensure each accordion spans the container */
  margin-bottom: 0;         /* spacing handled on summary */
}

/* Style the summary as a full-width button */
.widget-container details.accordion summary {
  list-style: none;         /* remove default marker */
  cursor: pointer;
  display: block;
  width: 100%;              /* full width */
  background: var(--tel-primary);
  color: #fff;
  padding: 16px;
  font-size: var(--font-lg);
  border-radius: 8px;
  margin-bottom: 10px;      /* space before next button */
  position: relative;
  box-sizing: border-box;
}

/* Hide the native triangle marker */
.widget-container details.accordion summary::-webkit-details-marker {
  display: none;
}

/* Custom arrow indicator */
.widget-container details.accordion summary::after {
  content: "▼";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.2s ease;
}

/* Rotate arrow when open */
.widget-container details.accordion[open] summary::after {
  transform: translateY(-50%) rotate(180deg);
}

/* Accordion content panel */
.widget-container details.accordion .content {
  padding: 16px;
  border: 1px solid var(--border-gray);
  border-top: none;
  border-radius: 0 0 8px 8px;
  margin-bottom: 20px;      /* extra space after content */
}

/* Hover state */
.widget-container details.accordion summary:hover {
  background: var(--tel-secondary);
}
/* make the details container fill its grid cell */
.widget-container details.accordion {
  display: block;
  width: 100%;
  box-sizing: border-box;
}
/* 1) Stack all accordions vertically, full-width */
.widget-container {
  display: flex;
  flex-direction: column;
  gap: 10px;               /* equal spacing between each button */
}

/* 2) Ensure each accordion itself fills its parent */
.widget-container details.accordion {
  width: 100%;
  box-sizing: border-box;  /* include padding in that 100% */
}

/* 3) Make the summary (the “button”) also fill 100% */
.widget-container details.accordion summary {
  display: block;
  width: 100%;
  box-sizing: border-box;

  /* repeat your button styles here */
  background: var(--tel-primary);
  color: #fff;
  font-size: var(--font-lg);
  padding: 16px;
  border-radius: 8px;
  cursor: pointer;
  position: relative;
}

/* 4) Optional: enforce that even the Students panel (if it was spanning two grid columns) now just acts like its siblings */
.widget-container details.accordion.students {
  /* if you had a grid-based span, you can clear it now */
  grid-column: auto !important;
}
/* ──────────────────────────────────────────────────────────────
   Clipboard Widget Styling (only applies to #clipboard-tel)
   ────────────────────────────────────────────────────────────── */
#clipboard-tel {
  position: relative;               /* for the “tab” pseudo-element */
  max-width: 225px;
  background: #fff;
  border: 1px solid #dddddd;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  margin: 0 auto;                   /* center in its column */
}

/* the little “tab” at the top to mimic a clipboard clip */
#clipboard-tel::before {
  content: '';
  position: absolute;
  top: -12px;                       /* sits above the box */
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 12px;
  background: #dddddd;              /* match border color */
  border-radius: 4px 4px 0 0;
}

/* ensure headings and links inside keep their existing styling */
#clipboard-tel h2,
#clipboard-tel h3,
#clipboard-tel a {
  /* nothing needed here—your inline styles carry through */
}


