.law-list-page {
  width: min(100% - 2rem, 1320px);
  margin: 1rem auto 4rem;
  color: #233a50;
}
.law-list-hero {
  min-height: 145px;
  border-radius: 24px;
  background:
    linear-gradient(
      90deg,
      rgba(201, 235, 249, 0.92),
      rgba(201, 235, 249, 0.55)
    ),
    url("../img/carousel-1.jpg") center/cover;
  overflow: hidden;
}
.law-list-hero-inner {
  padding: 1.2rem 2rem 1.8rem;
}
.law-list-breadcrumb {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  color: #36566d;
  font-size: 1rem;
}
.law-list-breadcrumb a {
  color: inherit;
  text-decoration: none;
}
.law-list-breadcrumb a:hover {
  text-decoration: underline;
}
.law-list-hero h1 {
  margin: 1.3rem 0 0;
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 700;
}
.law-list-content {
  margin-top: 1rem;
  padding: 1rem 1rem 1.2rem;
  border: 1px solid #ddd;
  border-radius: 24px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.14);
  background: #fff;
}
.law-list-content p {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  line-height: 1.8;
}
.law-list-content p a {
  color: #24739a;
  font-weight: 600;
}
.law-list-heading {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}
.law-list-heading::after {
  content: "";
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, #a82c7d, #439dc9);
}
.law-list-heading h2 {
  margin: 0;
  color: #a52e76;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 700;
  white-space: nowrap;
}
.law-list-table {
  width: 100%;
  border-collapse: collapse;
}
.law-list-table thead {
  display: none;
}
.law-list-table tr {
  border-top: 1px solid #d5d5d5;
}
.law-list-table tr:nth-child(even) {
  background: rgba(177, 217, 246, 0.35);
}
.law-list-table td {
  padding: 0.58rem 0.7rem;
  font-size: 1.05rem;
}
.law-list-table td:first-child {
  width: 18%;
  white-space: nowrap;
  font-weight: 600;
}
.law-list-table td:last-child a {
  color: #24739a;
  text-decoration: none;
}
.law-list-table td:last-child a:hover {
  color: #9a1060;
  text-decoration: underline;
}
.law-list-icon {
  display: inline-block;
  margin-right: 0.5rem;
  color: #bd6c23;
  font-size: 1.15rem;
}
.law-pagination {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0 0.25rem;
  color: #96216f;
  font-size: 1.35rem;
  font-weight: 600;
}
.law-pagination-summary {
  letter-spacing: 0.04em;
}
.law-pagination-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}
.law-page-button {
  min-width: 2.4rem;
  height: 2.4rem;
  padding: 0 0.5rem;
  border: 2px solid #227eaa;
  border-radius: 0.8rem;
  background: #fff;
  color: #227eaa;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}
.law-page-button:hover:not(:disabled),
.law-page-button:focus-visible {
  background: #eaf6fb;
  outline: 3px solid rgba(34, 126, 170, 0.25);
  outline-offset: 2px;
}
.law-page-button.is-current {
  background: #267ba3;
  color: #fff;
}
.law-page-button:disabled {
  cursor: default;
  opacity: 0.45;
}
.law-page-ellipsis {
  padding: 0 0.25rem;
  color: #227eaa;
  font-weight: 700;
}
@media (max-width: 700px) {
  .law-list-page {
    width: min(100% - 1rem, 1320px);
  }
  .law-list-hero-inner {
    padding: 1rem 1.1rem 1.5rem;
  }
  .law-list-content {
    padding-inline: 0.6rem;
  }
  .law-list-table td {
    display: block;
    width: 100% !important;
    padding: 0.35rem 0.6rem;
  }
  .law-list-table td:first-child {
    padding-top: 0.75rem;
  }
  .law-pagination {
    font-size: 1.05rem;
  }
  .law-pagination-controls {
    gap: 0.3rem;
  }
  .law-page-button {
    min-width: 2.1rem;
    height: 2.1rem;
    padding: 0 0.35rem;
    border-radius: 0.7rem;
    font-size: 0.9rem;
  }
}
