  a { text-decoration: none; }

  body {
    background-color: black;
    color: #ddd;
  }

  /* Remove old light-theme background */
  pre, code {
    background: none !important;
  }

  /* Prism dark theme overrides */
  pre[class*="language-"] {
    background-color: #1e1e1e !important;
    color: #f8f8f2 !important;
    border-radius: 8px;
    padding: 1em;
    margin: 1.5em 0;
    overflow-x: auto;
    max-width: 100%;
    box-shadow: none;
  }

  code[class*="language-"] {
    font-family: "Fira Code", monospace;
    font-size: 0.95em;
  }

  /* Copy button toolbar */
  div.code-toolbar > .toolbar {
    opacity: 1;
    right: 0.75em;
  }
  div.code-toolbar > .toolbar button {
    background: #0077cc;
    color: white;
    border: none;
    padding: 0.3em 0.6em;
    border-radius: 4px;
  }

  section {
    margin-top: 3rem;
    border-top: 1px solid #444;
    padding-top: 2rem;
  }

  .subtitle {
    color: #888;
    font-size: 0.9em;
  }

  .panel-default > .panel-heading {
    cursor: pointer;
    background-color: black;
    padding: 15px 0;
    border-radius: 4px 4px 0 0;
    border-bottom: 1px solid #0074BD;
  }
  .panel-default > .panel-heading.collapsed {
    background-color: black;
  }

  #mydiv img {
    width: 100%;
  }
 
  /* Line numbers */
/* Force Prism line numbers visible */
/* Prism line numbers — aligned and visually balanced */
.line-numbers .line-numbers-rows {
  position: absolute;
  pointer-events: none;
  top: 0;
  left: -3.8em;
  width: 3em;
  border-right: 1px solid #333;
  background: linear-gradient(to bottom, #1b1b1b, #161616); /* subtle depth */
  user-select: none;
  font-size: 1.108em;
  line-height: 1.5em;    /* must match code line height */
  letter-spacing: -0.5px;
  opacity: 0.85;          /* soften the numbers */
}

/* Each numbered row block */
.line-numbers-rows > span {
  display: block;
  height: 1.5em;          /* must equal line-height */
  counter-increment: linenumber;
}

/* Render the numbers themselves */
.line-numbers-rows > span:before {
  color: #888 !important;
  display: block;
  text-align: right;
  padding-right: 0.6em;
  content: counter(linenumber);
}

/* Space for numbers column */
pre.line-numbers {
  position: relative;
  padding-left: 4em;
  counter-reset: linenumber;
}

/* Prevent wrapped lines from desyncing */
pre.line-numbers > code {
  white-space: pre !important;
}

/* Keep text and numbers on the same rhythm */
pre[class*="language-"],
pre[class*="language-"] code {
  line-height: 1.5em !important;
  font-size: 0.90em;
}



/* new */
  /* Layout container */
.genomics-section,
.genomics-header,
.genomics-nav {
  max-width: 800px;
  margin: 0 auto;
  padding: 1.5rem 1rem;
  line-height: 1.7;
}

/* Header */
.genomics-header {
  text-align: center;
  margin-bottom: 1rem;
}

.genomics-header h1 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: #f2f2f2;
  margin-bottom: 0.25em;
}

.genomics-header .subtitle {
  font-size: 1.1rem;
  color: #bbb;
  max-width: 600px;
  margin: 0 auto;
}

/* Navigation (contents) */
.genomics-nav {
  background: #111;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 1rem 1.5rem;
  margin: 2rem auto;
  font-size: 1.4rem;
  line-height: 1.5;
}

.genomics-nav h2 {
  color: #eee;
  font-size: 1.5rem;
  margin-bottom: 0.5em;
}

.genomics-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.genomics-nav li {
  margin: 0.5em 0;
}

.genomics-nav a {
  color: #66b3ff;
  text-decoration: none;
}

.genomics-nav a:hover {
  color: #fff;
  text-decoration: underline;
}

/* Section headings */
.genomics-section h2 {
  color: #fff;
  font-size: 1.6rem;
  margin-top: 1.5rem;
  margin-bottom: 0.8rem;
  border-bottom: 1px solid #333;
  padding-bottom: 0.3rem;
}

/* Paragraphs */
.genomics-section p {
  color: #ccc;
  font-size: 1rem;
  margin-bottom: 1rem;
}

/* new2 */

  /* Subsection headings */
.genomics-section h3 {
  font-size: 1.3rem;
  color: #ddd;
  margin-top: 2rem;
  margin-bottom: 0.6rem;
  border-left: 3px solid #0077cc;
  padding-left: 0.6rem;
}

/* Inline code and keyboard keys */
code {
  background: #222;
  color: #66b3ff;
  padding: 0.15em 0.3em;
  border-radius: 4px;
  font-family: "Fira Code", monospace;
}

kbd {
  background: #444;
  color: #fff;
  padding: 0.2em 0.4em;
  border-radius: 3px;
  font-size: 0.9em;
  font-family: "Fira Code", monospace;
}

/* Paragraph spacing for better readability */
.genomics-section p {
  margin-bottom: 1.2rem;
}

/* Larger spacing for code blocks */
.genomics-section pre[class*="language-"] {
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  border-radius: 8px;
}

/* Smooth responsive adjustments */
@media (max-width: 768px) {
  .genomics-section,
  .genomics-header,
  .genomics-nav {
    padding: 1rem;
  }

  .genomics-section h2,
  .genomics-section h3 {
    font-size: 1.2rem;
  }

  pre[class*="language-"] {
    font-size: 0.9rem;
  }
}

/* Bash configuration section notes */
.genomics-section .note {
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid #0077cc;
  padding: 0.8rem 1rem;
  border-radius: 6px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #ccc;
  margin-top: 1.2rem;
}

/* Inline code inside paragraphs */
.genomics-section p code {
  background: #222;
  color: #66b3ff;
  padding: 0.15em 0.35em;
  border-radius: 4px;
  font-family: "Fira Code", monospace;
}

/* Section heading consistency */
.genomics-section h2 {
  color: #fff;
  font-size: 1.6rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #333;
  padding-bottom: 0.3rem;
}

/* new 3 - for genomics section */

  details {
  background-color: #111;
  border: 1px solid #333;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  padding: 0.8rem 1.2rem;
}

summary {
  font-size: 1.3em;
  font-weight: bold;
  cursor: pointer;
  color: #00bfff;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

details[open] summary {
  color: #ffa500;
}

  /* bigger text */

  /* Base text styling */
body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;              /* Default text size */
  line-height: 1.6;             /* More readable line spacing */
  color: #ddd;                  /* Light grey on black background */
}

/* Paragraphs inside collapsible tutorial sections */
.genomics-section p,
.genomics-section li {
  font-size: 1.05em;            /* Slightly larger than default */
  color: #e0e0e0;               /* Slightly lighter for contrast */
  margin-bottom: 1em;
}

/* Optional: style for better text readability in dark theme */
.genomics-section {
  max-width: 900px;             /* Prevent very wide text blocks */
  margin: 0 auto;               /* Center align content */
  text-align: left;
}

/* Reports / Publications styling */
/* Base styling */
.reports-section {
  font-family: "Helvetica Neue", Arial, sans-serif !important;
  font-size: 19px !important;           /* ↑ from 17.5px — larger and easier to read */
  color: #ddd !important;
  line-height: 1.7 !important;
  max-width: 950px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

/* Header */
.reports-section .genomics-header h1 {
  font-size: 2.1rem !important;         /* ↑ from 1.9rem */
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.5rem;
  text-align: center;
}

.reports-section .genomics-header .subtitle {
  font-size: 1.15rem !important;        /* ↑ from 1.05rem */
  color: #aaa;
  text-align: center;
  margin-bottom: 2.5rem;
}

/* Category heading */
.reports-section .pub-category h2 {
  font-size: 1.4rem !important;         /* ↑ from 1.25rem */
  font-weight: 600;
  color: #66b3ff;
  border-bottom: 1px solid #333;
  margin: 2.2rem 0 1.2rem;
  padding-bottom: 0.4rem;
}

/* Publication list grid */
.reports-section .pub-list {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

/* Publication card */
.reports-section .pub-item {
  background-color: #121212;
  border: 1px solid #222;
  border-radius: 10px;
  padding: 1.4rem 1.6rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border 0.2s ease;
}

.reports-section .pub-item:hover {
  transform: translateY(-3px);
  border-color: #0077cc;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
}

/* Publication title */
.reports-section .pub-item h3 {
  font-size: 1.2rem !important;         /* ↑ from 1.05rem */
  font-weight: 500;
  color: #f5f5f5;
  margin-bottom: 0.5rem;
  line-height: 1.6em;
}

/* Journal details */
.reports-section .pub-item p {
  font-size: 1.05rem !important;        /* ↑ from 0.95rem */
  color: #ccc;
  margin: 0.3rem 0 0.6rem;
}

/* Author details */
.reports-section .pub-item .authors {
  font-size: 1rem !important;           /* ↑ from 0.9rem */
  color: #999;
  margin-bottom: 0.4rem;
}

/* Year badge */
.reports-section .pub-item::before {
  content: attr(data-year);
  float: right;
  background: #0077cc;
  color: #fff;
  font-size: 0.9rem !important;         /* ↑ from 0.8rem */
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-left: 0.6rem;
}

/* PDF link */
.reports-section .pub-link {
  display: inline-block;
  font-size: 1rem !important;           /* ↑ from 0.95rem */
  color: #66b3ff;
  text-decoration: none;
  margin-top: 0.4rem;
  font-weight: 500;
}

.reports-section .pub-link:hover {
  color: #99ccff;
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .reports-section {
    font-size: 17px !important;
    line-height: 1.6 !important;
    padding: 1.8rem 1rem;
  }

  .reports-section .genomics-header h1 {
    font-size: 1.8rem !important;
  }

  .reports-section .pub-category h2 {
    font-size: 1.2rem !important;
  }

  .reports-section .pub-item h3 {
    font-size: 1.1rem !important;
  }

  .reports-section .pub-item p {
    font-size: 0.95rem !important;
  }
}

/* Subsection styling within contents */
.genomics-nav ul ul {
  margin-top: 0.4em;
  margin-bottom: 0.4em;
  margin-left: 1.2em;   /* indent subsections */
  border-left: 2px solid #333; /* subtle visual cue */
  padding-left: 0.8em;
}

.genomics-nav ul ul li {
  margin: 0.3em 0;
  font-size: 1.4rem;    /* same size */
}

.genomics-nav ul ul a {
  color: #9bd1ff;       /* slightly lighter blue for sublinks */
}

.genomics-nav ul ul a:hover {
  color: #fff;
}

/* IoT Section Responsive Fix */
#iot {
  overflow-x: hidden; /* prevent horizontal scrollbars */
}

.iot-section,
#iot .container,
#iot .genomics-section {
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  #iot .genomics-section,
  #iot .genomics-header,
  #iot .genomics-nav {
    padding: 1rem;
  }

  #iot .genomics-section h2,
  #iot .genomics-section h3 {
    font-size: 1.2rem;
  }

  #iot pre[class*="language-"] {
    font-size: 0.9rem;
    white-space: pre-wrap;
    word-break: break-word;
  }

  #iot img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
  }

  #iot p,
  #iot li {
    font-size: 1rem;
    line-height: 1.6;
  }
}
