article {
  font-size: 1.05rem;
}

article h2,
article h3,
article h4 {
  margin-top: 1rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

article p {
  margin-bottom: 1rem;
}

article ul,
article ol {
  margin: 1rem 0 1rem 1.5rem;
}

article li {
  margin-bottom: 0.5rem;
}

article code {
  background: #ffffff00;
  padding: 0.15em 0.4em;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.95em;
}

article pre {
  background: #e9e9ed;
  padding: 1rem;
  border-radius: 0.75rem;
  overflow-x: auto;
  font-size: 0.9rem;
}

article a {
  color: var(--accent);
  text-decoration: none;
}

article a:hover {
  text-decoration: underline;
}

.header-summary {
  border-bottom: 1px solid #ccc;
  padding-bottom: 0.5rem;
  margin-bottom: 2rem;
}

/* Toggle */
input[name="lang"] {
  display: none;
}

label {
  flex: 1;
  text-align: center;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: white;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.95rem;
  user-select: none;
  display: inline-block;
  margin-bottom: 1.5rem;
}

label:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgb(74, 76, 88);
}

#first_option:checked + label[for="first_option"],
#second_option:checked + label[for="second_option"] {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

article.toggle-article {
  display: none;
}

#first_option:checked ~ #first_option-article,
#second_option:checked ~ #second_option-article {
  display: block;
}

.parent-title {
  margin: auto;
  width: 100%;
  text-align: center;
}
