/* Global Reset & Responsive Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  max-width: 100%;
  overflow-wrap: break-word;
}

body {
  font-family: sans-serif;
  padding: 5vw;
  margin: 0;
  background: #ffffff;
  color: #333;
  overflow-x: hidden;
  max-width: 100vw;
  line-height: 1.6;
}

/* Media Responsiveness for media elements */
img,
iframe,
ul, li, ol, main, article,
video,
table,
pre,
code {
  max-width: 100%;
  height: auto;
  display: block;
  overflow: auto;
}

/* Responsive font on small screens */
@media screen and (max-width: 600px) {
  body {
    padding: 4vw;
    font-size: 16px;
  }
}
a {
  text-decoration: none;
  color: #0366d6; /* Warna biru khas GitHub */
}

/* Saat hover, tetap terlihat interaktif */
a:hover,
a:focus {
  text-decoration: underline;
  color: #0550ae;
}
/* Modern list style */
ul, ol {
  margin: 1em 0;
  padding-left: 1.5rem;
  font-size: 1rem;
  line-height: 1.75;
  color: #222;
}

/* Bullet style for ul */
ul {
  list-style: disc;
}

/* Numbering style for ol */
ol {
  list-style: decimal;
}

/* List item spacing and optional hover effect */
li {
  margin-bottom: 0.5em;
  padding-left: 0.25em;
  transition: background 0.2s ease;
}

/* Optional hover effect for better UX */
li:hover {
  background: #f1f5f9;
  border-radius: 6px;
}

/* Styling for nested lists */
ul ul, ol ol, ul ol, ol ul {
  margin-top: 0.4em;
  margin-bottom: 0.4em;
  padding-left: 1.25rem;
  font-size: 0.95em;
  color: #444;
}

/* Optional: checkbox-style lists ala GitHub Markdown */
li input[type="checkbox"] {
  accent-color: #3b82f6; /* Tailwind blue-500 */
  margin-right: 0.5em;
  transform: scale(1.1);
}

/* Optional: highlight inline code inside list items */
li code {
  font-family: Menlo, Consolas, monospace;
  font-size: 0.95em;
  background: #f3f4f6;
  padding: 0.2em 0.4em;
  border-radius: 4px;
  color: #1f2937;
}
