/*
File: content.css
Contains styles for the main content area (.entry-content), including typography and tables.
*/

/* --- Default Content Typography --- */
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6 {
    font-family: var(--font-headings);
    line-height: 1.4;
    margin-top: 1.5em;
    margin-bottom: 0.8em;
}
.entry-content h1 { font-size: 2.5rem; }
.entry-content h2 { font-size: 1.8rem; }
.entry-content h3 { font-size: 1.5rem; }
.entry-content h4 { font-size: 1.2rem; }
.entry-content h5 { font-size: 1.1rem; }
.entry-content h6 { font-size: 1rem; }

.site-main > :first-child, .widget-area .widget > :first-child { margin-top: 0; }
.entry-content { line-height: 1.8; }
.entry-content p, .entry-content ul, .entry-content ol { margin-bottom: 1.5em; }
.entry-content a { text-decoration: underline; }
.entry-content a:hover { text-decoration: none; }

/* --- User-Provided Table Styles --- */
table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  border: none;
  font-size: 12px;
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  max-width: 100%;
  position: relative;
}

th, td {
  border: 1px solid #C3D9FD !important;
  text-align: left;
  vertical-align: middle;
  white-space: nowrap;
  width: 1%;
  padding: 5px;
  color: black;
}

th {
  background-color: #1A73E8;
  color: white;
  font-weight: bold;
  border: 1px solid white !important;
}

tbody tr:nth-child(even) {
  background-color: #F1F7FF;
}

table::-webkit-scrollbar {
  height: 8px;
}

table::-webkit-scrollbar-thumb {
  background: #C3D9FD;
  border-radius: 10px;
}

table::-webkit-scrollbar-track {
  background: #F1F1F1;
}