/* zedupedia.com homepage. Light-gray body, 1000px white panel,
   header row (white logo + blue title), red stripes, gray breadcrumb,
   blue sidebar (A-Z links + ad slot) + white main with alphabetical index.
   Responsive: panel shrinks below 1000px; stacks below 720px. */

:root {
  --brand-blue: #0000cc;
  --brand-red:  #cc0000;
  --grey-bar:   #cccccc;
  --grey-soft:  #eeeeee;
  --page-bg:    #cccccc;
  --border:     #dddddd;
  --panel-w:    1000px;
  --sidebar-w:  176px;
}

* { box-sizing: border-box; }
html { overflow-y: scroll; }

body {
  font: 16px/1.5 arial, sans-serif;
  background: var(--page-bg);
  color: #222;
  margin: 0;
  min-width: 320px;
}

a { color: var(--brand-blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* --- panel frame --- */
.site-panel {
  max-width: var(--panel-w);
  margin: 0 auto;
  background: #ffffff;
  box-shadow: 0 0 12px rgba(0,0,0,0.35);
}

.row { display: flex; align-items: stretch; }

/* --- header row: WHITE logo + BLUE title --- */
.row-header { min-height: 76px; }
.cell-logo {
  flex: 0 0 var(--sidebar-w);
  background: #ffffff;
  display: flex; align-items: center; justify-content: center;
  padding: 4px;
}
.cell-logo img { max-width: 160px; height: auto; border: 0; display: block; }

.cell-title {
  flex: 1;
  background: #ffffff;
  padding: 8px 24px;
  display: flex; align-items: center;
}
.brand-title {
  color: #000000;
  font-size: 32px;
  line-height: 40px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* --- red stripes --- */
.row-red, .row-red-bot {
  background: var(--brand-red);
  height: 6px;
}

/* --- breadcrumb row --- */
.row-breadcrumb { background: var(--grey-bar); }
.cell-spacer {
  flex: 0 0 var(--sidebar-w);
  background: var(--grey-bar);
}
.cell-breadcrumb {
  flex: 1;
  padding: 6px 24px;
  font-size: 15px;
  line-height: 24px;
  min-height: 36px;
  color: #000;
}
.cell-breadcrumb a { color: var(--brand-blue); }

/* --- body row: BLUE sidebar + WHITE main --- */
.row-body { align-items: stretch; }
.cell-sidebar {
  flex: 0 0 var(--sidebar-w);
  background: var(--brand-blue);
  color: #ffffff;
  padding: 16px 8px;
  text-align: center;
}
.cell-main {
  flex: 1;
  background: #ffffff;
  padding: 16px 24px 24px;
  min-width: 0; /* allow flex item to shrink below content size */
}

.sidebar-jump {
  position: sticky;
  top: 8px;
}
.sidebar-jump-title {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.sidebar-jump a {
  display: inline-block;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  padding: 2px 4px;
  text-decoration: none;
}
.sidebar-jump a:hover { text-decoration: underline; }
.sidebar-ad { margin-top: 16px; }

/* --- main content --- */
.lede { font-size: 17px; line-height: 1.5; margin: 0 0 12px; }
.alpha-head {
  background: var(--grey-soft);
  border-left: 6px solid var(--brand-blue);
  padding: 4px 12px;
  margin: 16px 0 8px;
  font-size: 22px;
  line-height: 28px;
}
.alpha-list {
  column-count: 3;
  column-gap: 24px;
  list-style: disc;
  margin: 8px 0;
  padding-left: 20px;
  font-size: 18px;
  line-height: 24px;
}
.alpha-list li { margin: 2px 0; break-inside: avoid; }

/* --- footer --- */
.row-footer { background: var(--grey-bar); }
.cell-footer {
  flex: 1;
  padding: 8px 24px;
  font-size: 14px;
  color: #333;
  text-align: center;
}

/* --- responsive --- */
@media (max-width: 900px) {
  .alpha-list { column-count: 2; }
}
@media (max-width: 720px) {
  /* Stack header cells, drop the sidebar onto its own row */
  .row-header, .row-breadcrumb, .row-body { flex-direction: column; }
  .cell-logo, .cell-title, .cell-spacer, .cell-breadcrumb,
  .cell-sidebar, .cell-main { flex: 1 1 auto; width: 100%; }
  .cell-spacer { display: none; }
  .cell-sidebar { padding: 12px; }
  .sidebar-jump { position: static; }
  .sidebar-jump a { font-size: 17px; padding: 2px 8px; }
  .brand-title { font-size: 24px; line-height: 32px; }
  .alpha-list { column-count: 1; }
}
