.common-container {
  max-width: 1000px;
  flex: 1;
  margin: 20px auto;
  background: var(--color-bg);
  padding: 30px 40px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  box-sizing: border-box;
}

.common-container-without-border {
  border: none; 
}
.common-container-invisible {
  box-shadow: none;
}
.common-container-ultrawide {
  max-width: 1200px;
}
.common-container-margin-none {
  padding: 0px 0px; 
  margin: 0px auto;
}


p {
  line-height: 1.5;
  color: var(--color-text);
  font-size: 1rem;
  text-align: justify;
  margin: 0;
  margin-bottom: 5px;
  text-indent: 1.5em;
}

a {
  text-decoration: none;
  color: inherit;
}

ul,
ol {
  padding-left: 24px;
  margin-bottom: 18px;
}

li {
  margin-bottom: 8px;
  line-height: 1.55;
  color: var(--color-text);
}

li a {
  word-break: break-word;
  overflow-wrap: anywhere;
}

dd a:hover {
  opacity: 0.75;
}

h1 {
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-top: 5px;
  margin-bottom: 22px;
}

h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 25px;
  margin-bottom: 15px;
  color: var(--color-text);
}

h3 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
  opacity: 0.8;
  margin-top: 5px;
  margin-bottom: 5px;
}

h4 {
  font-size: 1rem;
  font-style: italic;
  color: var(--color-text);
  opacity: 0.75;
  margin-top: 25px;
  margin-bottom: 0px;
  text-align: right;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 15px 0;
  background: var(--color-bg);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
  table-layout: fixed;
  word-wrap: break-word;
  word-break: break-word;
}

th {
  background: var(--color-header);
  padding: 15px;
  border: 1px solid var(--color-border);
  font-weight: 600;
  color: var(--color-text);
  text-align: center;
  word-wrap: break-word;
  word-break: break-word;
}

td {
  padding: 15px;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  text-align: justify;
  word-wrap: break-word;
  word-break: break-word;
}

tr:nth-child(even) {
  background: rgba(0, 0, 0, 0.03);
}

tr:hover {
  background: rgba(0, 0, 0, 0.07);
  transition: background 0.15s ease;
}



.figure {
  margin: 25px auto;
  text-align: center;
}

.figure img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.figure p {
  margin: 0px;
  font-size: 0.95em;
  opacity: 0.85;
  font-style: italic;
  text-align: center;
}

@media (max-width: 1024px) {

  .common-container {
    margin: 20px 10px;
    padding: 25px 20px;
  }

  .common-container-margin-none {
    padding: 0px 0px; 
    margin: 0px auto;
  }

  p,
  li,
  td,
  th {
    font-size: 0.9rem;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  h3 {
    font-size: 0.9rem;
  }

  h4 {
    font-size: 0.9rem;
  }

  table {
    font-size: 0.9rem;
  }
}
