@import url('https://fonts.googleapis.com/css2?family=Crimson+Pro:ital,wght@0,400;0,700;1,400&display=swap');

body {
  margin: 40px auto;
  max-width: 650px;
  line-height: 1.6;
  font-size: 18px;
  color: #444;
  padding: 0 10px;
  font-family: 'Crimson Pro', serif;
}

h1, h2, h3 {
  line-height: 1.2;
}

details {
  border-bottom: 1px solid #ccc;
  padding: 0.5em 0;
}

summary {
  cursor: pointer;
  font-weight: bold;
  list-style: none;
}

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

::selection {
  background: #b388ff;
  color: white;
}

figcaption {
  text-align: center;
}

img {
  width: 100%;
}

small {
  color: #cdcdcd;
}

blockquote {
  font-style: italic;
  margin: 2em;
  color: #555;
}

table {
  width: 100%;
  border: none;
  font-size: 16px;
  color: #333;
}

th, td {
  text-align: left;
  padding: 12px 16px;
  border: none;
}

th {
  background-color: #f9f9f9;
  font-weight: 600;
  letter-spacing: 0.5px;
}

tr:hover {
  background-color: #f5f5f5;
  transition: background-color 0.2s ease;
}

caption {
  caption-side: top;
  text-align: left;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #555;
}

/* 🔽 Responsive Card Style Table for Mobile */
@media (max-width: 1000px) {
  table,
  thead,
  tbody,
  th,
  td,
  tr {
    display: block;
    width: 100%;
  }

  thead {
    display: none;
  }

  tr {
    margin-bottom: 1.5em;
    background: #fafafa;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  }

  td {
    border: none;
    padding: 10px 0;
    position: relative;
  }

  td::before {
    content: attr(data-label) ":";
    font-weight: bold;
    display: inline-block;
    margin-right: 4px;
    color: #555;
  }

  tr:hover {
    background-color: transparent;
  }
}

