/* teksti-tv.com — tyylit WordPressin toimitukselliselle sisällölle.
 * Täydentää /assets/style.css-tiedostoa.
 */

.article {
  padding-bottom: 24px;
}

.entry-title {
  font-size: clamp(26px, 5vw, 36px);
  line-height: 1.22;
  margin: 8px 0 20px;
}

.entry-meta {
  font-size: 16px;
  color: var(--ink-dim);
  margin-top: -8px;
}

.entry-content {
  font-size: 18px;
  line-height: 1.7;
}

.entry-content > * {
  max-width: 70ch;
}

.entry-content h2 {
  font-size: 24px;
  line-height: 1.3;
  margin: 36px 0 12px;
}

.entry-content h3 {
  font-size: 20px;
  margin: 28px 0 10px;
}

.entry-content ul,
.entry-content ol {
  padding-left: 1.3em;
}

.entry-content li {
  margin-bottom: 8px;
}

.entry-content table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  margin: 24px 0;
}

.entry-content th,
.entry-content td {
  border: 1px solid var(--surface-line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.entry-content th {
  background: var(--surface-raised);
  font-weight: 700;
}

.entry-content blockquote {
  margin: 24px 0;
  padding: 12px 20px;
  border-left: 3px solid var(--tt-yellow);
  background: var(--surface);
}

.entry-content code {
  font-family: var(--mono);
  font-size: 0.95em;
  background: var(--surface-raised);
  padding: 2px 6px;
  border-radius: 4px;
}

.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

.post-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.post-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--surface-line);
}

.post-list a {
  font-size: 19px;
}

.post-date {
  font-size: 16px;
  color: var(--ink-dim);
}

/* Teksti-tv-sivujen saateteksti lukijan alapuolella. */
.editorial h2 {
  font-size: 22px;
}

.editorial p,
.editorial li {
  font-size: 18px;
  line-height: 1.7;
}

.editorial ul,
.editorial ol {
  max-width: 70ch;
  padding-left: 1.3em;
}

.editorial table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  margin: 20px 0;
}

.editorial th,
.editorial td {
  border: 1px solid var(--surface-line);
  padding: 10px 12px;
  text-align: left;
}

.editorial th {
  background: var(--surface-raised);
}
