.law-document-site,
.law-document-page {
  --law-document-accent: var(--pa-editorial-accent, #a7533c);
  --law-document-surface: var(--pa-surface, #fbf8f1);
  --law-document-warm: var(--pa-surface-warm, #f0e8df);
  --law-document-line: var(--pa-line, #d8d2c7);
}

.law-document-hero h1,
.law-document-section-heading h2,
.law-document-chapters h2,
.law-document-limitations h2,
.aor-chor-document .law-article-group h2,
.law-amendment-change-grid h3,
.law-amendment-conclusion h2 {
  font-family: var(--pa-font-ui, Inter, ui-sans-serif, -apple-system, "Segoe UI", sans-serif);
  font-weight: 500;
}

.law-document-hero h1 {
  font-size: clamp(var(--pa-normative-hero-min, 52px), 5.2vw, var(--pa-normative-hero-max, 76px));
}

.law-document-lead {
  font-size: clamp(var(--pa-normative-lead-min, 22px), 2.8vw, var(--pa-normative-lead-max, 34px));
}

.law-document-kicker,
.law-document-section-heading > p,
.law-document-limitations > p,
.law-document-meta dt,
.law-document-chapters header p,
.law-amendment-conclusion > p {
  color: var(--law-document-accent);
  font-family: var(--pa-font-ui, Inter, ui-sans-serif, -apple-system, "Segoe UI", sans-serif);
}

.law-document-lead,
.law-document-status p,
.law-document-chapters li,
.law-document-editorial-note p,
.aor-chor-document .law-article-group p,
.law-amendment-conclusion div {
  font-family: var(--pa-font-reading, Georgia, "Times New Roman", serif);
}

.law-document-status {
  border: 0;
  border-top: 3px solid var(--law-document-accent);
  border-radius: var(--pa-radius-card, 20px);
  background: var(--law-document-warm);
}

.law-document-source-actions a {
  border-radius: var(--pa-radius-control, 16px);
  font-family: var(--pa-font-ui, Inter, ui-sans-serif, -apple-system, "Segoe UI", sans-serif);
}

.law-document-contents nav strong {
  font-family: var(--pa-font-ui, Inter, ui-sans-serif, -apple-system, "Segoe UI", sans-serif);
  font-weight: 650;
}

.law-document-contents nav span,
.law-document-chapters > section > header > span,
.law-full-group > header > span,
.law-amendment-change-grid span {
  color: var(--law-document-accent);
  font-family: var(--pa-font-marker, Inter, sans-serif);
}

.law-document-chapters > section > header > span {
  color: var(--law-document-accent);
  font-family: var(--pa-font-marker, Inter, sans-serif);
}

.law-document-chapters li::before,
.aor-chor-document .law-document-limitations li::before {
  background: var(--law-document-accent);
}

.law-document-limitations > a {
  color: var(--pa-editorial-on-dark, #e3a08e);
}

.law-document-site ::selection,
.law-document-page ::selection {
  background: rgb(167 83 60 / 22%);
  color: inherit;
}

.law-editions-name {
  min-height: 0;
  border: 1px solid var(--law-document-line);
  border-top: 3px solid var(--law-document-accent);
  border-radius: var(--pa-radius-card, 20px);
  background: var(--law-document-warm);
  color: var(--pa-forest, #0e4337);
  gap: 34px;
}

.law-editions-name small {
  color: var(--law-document-accent);
  font-family: var(--pa-font-ui, Inter, ui-sans-serif, -apple-system, "Segoe UI", sans-serif);
}

.law-editions-name strong {
  color: var(--pa-forest, #0e4337);
}

.law-full-group > header > span {
  color: var(--law-document-accent);
  font-family: var(--pa-font-marker, Inter, sans-serif);
  font-weight: 400;
}

.law-full-group > header p {
  font-family: var(--pa-font-ui, Inter, ui-sans-serif, -apple-system, "Segoe UI", sans-serif);
}

.law-full-group > header h2,
.law-article-list h3 {
  font-family: var(--pa-font-ui, Inter, ui-sans-serif, -apple-system, "Segoe UI", sans-serif);
  font-weight: 500;
}

.law-document-limitations {
  border: 0;
  border-top: 3px solid var(--law-document-accent);
  border-radius: var(--pa-radius-card, 20px);
  background: var(--law-document-warm);
  color: var(--pa-forest, #0e4337);
}

.law-document-limitations h2 {
  color: var(--pa-forest, #0e4337);
}

.law-document-limitations > div,
.aor-chor-document .law-document-limitations li {
  color: var(--pa-muted, #67716b);
  font-family: var(--pa-font-reading, Georgia, "Times New Roman", serif);
}

.law-document-limitations > a,
.law-document-related-links a {
  color: var(--pa-forest, #0e4337);
  text-decoration-color: var(--law-document-accent);
}

.law-document-section-heading {
  align-items: start;
}

.law-document-section-heading h2,
.law-document-chapters h2,
.law-full-group > header h2,
.law-article-list h3,
.aor-chor-document .law-article-group h2 {
  letter-spacing: -0.035em;
}

.law-document-section-heading h2 {
  font-size: clamp(var(--pa-normative-section-min, 36px), 4vw, var(--pa-normative-section-max, 58px));
}

.law-amendment-change-grid article {
  border-color: var(--law-document-line);
  border-radius: var(--pa-radius-card, 20px);
  background: var(--law-document-surface);
}

.law-amendment-change-grid h3 {
  margin-top: 38px;
  color: var(--pa-forest, #0e4337);
}

.law-amendment-conclusion {
  border-top: 3px solid var(--law-document-accent);
  border-radius: var(--pa-radius-card, 20px);
  background: var(--law-document-warm);
  color: var(--pa-forest, #0e4337);
}

.law-amendment-conclusion > p,
.law-amendment-conclusion h2,
.law-amendment-conclusion a {
  color: var(--pa-forest, #0e4337);
}

.law-amendment-conclusion > p {
  color: var(--law-document-accent);
}

.law-amendment-conclusion div {
  color: var(--pa-muted, #67716b);
}

.law-amendment-conclusion a {
  text-decoration-color: var(--law-document-accent);
}

.law-document-site .law-document-editorial-note,
.law-document-page .law-document-editorial-note {
  border-top: 1px solid var(--law-document-line);
  background: transparent !important;
  color: var(--pa-muted, #67716b) !important;
  padding-top: 28px;
}

.law-document-site .law-document-editorial-note strong,
.law-document-page .law-document-editorial-note strong {
  color: var(--pa-forest, #0e4337) !important;
  font-family: var(--pa-font-ui, Inter, ui-sans-serif, -apple-system, "Segoe UI", sans-serif);
}

.law-document-site .law-document-editorial-note p,
.law-document-page .law-document-editorial-note p {
  color: var(--pa-muted, #67716b) !important;
}

.law-document-site .telegram-follow,
.law-document-page .telegram-follow {
  width: min(1180px, 100% - 48px);
  margin: 0 auto 64px !important;
  padding: var(--pa-normative-telegram-padding-block, 28px) var(--pa-normative-telegram-padding-inline, 30px) !important;
  border: 0 !important;
  border-top: 3px solid var(--law-document-accent) !important;
  border-radius: var(--pa-radius-card, 20px) !important;
  background: var(--law-document-warm) !important;
}

.law-document-site .telegram-follow strong,
.law-document-page .telegram-follow strong {
  font-family: var(--pa-font-ui, Inter, ui-sans-serif, -apple-system, "Segoe UI", sans-serif);
  font-size: 22px;
}

.law-document-site .telegram-follow p,
.law-document-page .telegram-follow p {
  font-family: var(--pa-font-reading, Georgia, "Times New Roman", serif);
  font-size: 15px;
}

.law-chapter-disclosure {
  margin: 0;
}

.law-disclosure-summary {
  cursor: pointer;
  grid-template-columns: minmax(0, 1fr) 42px;
  align-items: start;
  gap: 25px;
  list-style: none;
  display: grid;
}

.law-disclosure-summary::-webkit-details-marker {
  display: none;
}

.law-disclosure-summary::after {
  content: "+";
  color: var(--law-document-accent);
  font: 400 32px/1 var(--pa-font-marker, Inter, sans-serif);
  text-align: center;
  grid-column: 2;
  grid-row: 1 / span 2;
}

.law-chapter-disclosure[open] > .law-disclosure-summary::after {
  content: "−";
}

.law-disclosure-summary > span {
  color: var(--law-document-accent);
  letter-spacing: 0.13em;
  grid-column: 1;
  font: 800 var(--pa-type-meta, 11px)/1.3 var(--pa-font-marker, Inter, sans-serif);
}

.law-disclosure-summary p {
  color: var(--pa-muted, #67716b);
  letter-spacing: 0.13em;
  margin: 0 0 8px;
  font: 800 11px/1.3 var(--pa-font-ui, Inter, ui-sans-serif, -apple-system, "Segoe UI", sans-serif);
}

.law-disclosure-summary h2 {
  max-width: 850px;
  color: var(--pa-forest, #0e4337);
  letter-spacing: -0.035em;
  margin: 0;
  grid-column: 1;
  font: 500 clamp(var(--pa-normative-chapter-title-min, 36px), 5vw, var(--pa-normative-chapter-title-max, 62px))/1.04 var(--pa-font-ui, Inter, ui-sans-serif, -apple-system, "Segoe UI", sans-serif);
}

.law-chapter-body {
  padding-top: 1px;
}

.law-chapter-disclosure--article > .law-disclosure-summary {
  grid-template-columns: minmax(0, 1fr) 42px;
  align-items: center;
}

.law-chapter-disclosure--article > .law-disclosure-summary h2 {
  max-width: 760px;
  font-size: clamp(27px, 3.2vw, 42px);
  line-height: 1.12;
}

.law-chapter-disclosure--article > .law-chapter-body {
  padding-top: 24px;
}

.law-document-shell > .law-document-status {
  grid-template-columns: minmax(150px, 0.45fr) minmax(0, 1.55fr);
  gap: 24px;
  margin: 48px 0;
  padding: 22px 24px;
}

.aor-chor-document .law-article-group h2 {
  color: var(--pa-forest, #0e4337);
}

.reservation-document .reservation-prohibitions {
  background: var(--law-document-warm);
}

.reservation-document .reservation-prohibitions ul {
  margin-top: 28px;
}

.aor-chor-document .law-document-limitations li {
  border-top-color: var(--law-document-line);
}

.knowledge-documents-hero {
  padding-top: 46px;
  padding-bottom: 58px;
}

.knowledge-documents-hero > a {
  margin-bottom: 48px;
}

.knowledge-documents-hero h1 {
  max-width: 760px;
  margin: 16px 0 24px;
  font-family: var(--pa-font-ui);
  font-size: clamp(48px, 4.2vw, 72px);
  font-weight: var(--pa-catalog-hero-weight);
  line-height: 1;
  letter-spacing: var(--pa-catalog-hero-tracking);
}

.knowledge-documents-hero > div {
  max-width: 760px;
  font-size: clamp(20px, 1.55vw, 26px);
  line-height: 1.42;
}

.knowledge-document-catalog h2 {
  font-size: clamp(32px, 3.25vw, 54px);
  line-height: 1.04;
}

@media (max-width: 720px) {
  .knowledge-site .publication-nav,
  .law-document-site .publication-nav {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .knowledge-site .publication-nav nav,
  .law-document-site .publication-nav nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 4px;
    padding: 0;
  }

  .knowledge-site .publication-nav > .publication-brand,
  .law-document-site .publication-nav > .publication-brand {
    min-height: 44px;
  }

  .knowledge-site .publication-nav nav a,
  .law-document-site .publication-nav nav a {
    min-width: 0;
    min-height: 44px;
    padding: 0 3px;
    text-align: center;
    justify-content: center;
    font-size: 10px;
    line-height: 1.15;
  }

  .knowledge-site .publication-nav .issue-date,
  .law-document-site .publication-nav .issue-date {
    display: none;
  }

  .knowledge-documents-hero {
    padding-top: 22px;
    padding-bottom: 36px;
  }

  .knowledge-documents-hero > a {
    min-height: 44px;
    margin-bottom: 20px;
  }

  .knowledge-documents-hero h1 {
    font-size: clamp(38px, 11vw, var(--pa-normative-hero-mobile-max, 48px));
  }

  .knowledge-documents-hero > div {
    font-size: 19px;
  }

  .knowledge-document-catalog h2 {
    font-size: 34px;
  }

  .law-document-shell {
    width: min(100% - 28px, 1180px);
  }

  .law-document-back {
    margin-top: 12px;
  }

  .law-document-hero {
    padding-top: 18px;
    padding-bottom: 44px;
  }

  .law-document-hero h1 {
    font-size: clamp(var(--pa-normative-hero-mobile-min, 36px), 11.5vw, var(--pa-normative-hero-mobile-max, 48px));
    line-height: 0.98;
    overflow-wrap: anywhere;
  }

  .law-editions-name {
    min-height: 0;
    gap: 26px;
  }

  .law-editions-name strong {
    font-size: 23px;
    line-height: 1.45;
  }

  .law-full-group > header h2,
  .law-article-list h3 {
    font-family: var(--pa-font-ui, Inter, ui-sans-serif, -apple-system, "Segoe UI", sans-serif);
  }

  .law-full-group > header h2 {
    font-size: 30px;
    line-height: 1.08;
  }

  .law-document-limitations,
  .aor-chor-document .law-document-limitations {
    padding: 28px 24px;
  }

  .law-document-limitations h2,
  .aor-chor-document .law-document-limitations h2 {
    color: var(--pa-forest, #0e4337);
    font-size: 32px;
    line-height: 1.08;
  }

  .law-document-limitations > div {
    margin-top: 22px;
    font-size: var(--pa-normative-reading-mobile, 17px);
    line-height: var(--pa-normative-reading-leading-mobile, 1.62);
  }

  .law-amendment-conclusion {
    padding: 28px 24px;
  }

  .law-amendment-conclusion h2 {
    font-size: 32px;
    line-height: 1.08;
  }

  .law-amendment-conclusion div {
    font-size: var(--pa-normative-reading-mobile, 17px);
    line-height: var(--pa-normative-reading-leading-mobile, 1.62);
  }

  .law-document-editorial-note {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-bottom: 56px;
  }

  .law-document-site .telegram-follow,
  .law-document-page .telegram-follow {
    width: min(100% - 28px, 1180px);
    margin-bottom: 46px !important;
    padding: var(--pa-normative-telegram-padding-block, 28px) var(--pa-normative-telegram-padding-inline-mobile, 26px) 30px !important;
  }

  .law-document-site .telegram-follow .telegram-follow-label,
  .law-document-page .telegram-follow .telegram-follow-label {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .law-document-site .telegram-follow .telegram-follow-label small,
  .law-document-page .telegram-follow .telegram-follow-label small {
    margin: 0;
  }

  .law-document-site .telegram-follow strong,
  .law-document-page .telegram-follow strong {
    font-size: 20px;
  }

  .law-disclosure-summary {
    grid-template-columns: minmax(0, 1fr) 30px;
    gap: 10px;
  }

  .law-disclosure-summary h2 {
    font-size: var(--pa-normative-chapter-title-mobile, 29px);
    line-height: 1.08;
  }

  .law-disclosure-summary::after {
    font-size: 26px;
  }

  .law-chapter-disclosure--article > .law-disclosure-summary {
    grid-template-columns: minmax(0, 1fr) 30px;
  }

  .law-chapter-disclosure--article > .law-disclosure-summary h2 {
    font-size: 27px;
  }

  .law-document-shell > .law-document-status {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin: 36px 0;
    padding: 20px;
  }

  .aor-chor-document .law-article-group,
  .reservation-document .reservation-translation .law-article-group {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .aor-chor-document .law-article-group h2,
  .reservation-document .reservation-translation .law-article-group h2 {
    max-width: 100%;
    font-size: 30px;
    line-height: 1.08;
  }

  .law-document-page,
  .law-document-site {
    overflow-x: clip;
  }

  .law-document-related-links {
    display: grid;
    gap: 14px;
    margin-top: 26px;
  }

  .law-document-lead {
    margin-top: 22px;
    font-size: var(--pa-normative-lead-mobile, 19px);
    line-height: 1.48;
  }

  .law-document-thai-title {
    margin-top: 16px;
    overflow-wrap: anywhere;
  }

  .law-document-status {
    gap: 9px;
    margin-top: 24px;
    padding: 18px;
  }

  .law-document-status p,
  .law-document-status div {
    overflow-wrap: anywhere;
  }

  .law-document-meta {
    margin-top: 20px;
  }

  .law-document-page .law-document-section-heading,
  .law-document-page .reservation-document .reservation-translation .law-document-section-heading,
  .law-document-page .law-document-chapters > section > header,
  .law-document-site .law-document-section-heading,
  .law-document-site .law-document-chapters > section > header {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .law-document-page .law-document-section-heading > *,
  .law-document-page .reservation-document .reservation-translation .law-document-section-heading > *,
  .law-document-page .law-document-chapters > section > header > *,
  .law-document-site .law-document-section-heading > *,
  .law-document-site .law-document-chapters > section > header > * {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .law-document-page .law-document-section-heading h2,
  .law-document-page .reservation-document .reservation-translation .law-document-section-heading h2,
  .law-document-page .law-document-chapters > section > header h2,
  .law-document-site .law-document-section-heading h2,
  .law-document-site .law-document-chapters > section > header h2 {
    margin-left: 0;
    font-size: clamp(var(--pa-normative-section-mobile-min, 32px), 10.5vw, var(--pa-normative-section-mobile-max, 42px));
    line-height: 1.02;
  }

  .law-document-contents {
    padding-top: 52px;
    padding-bottom: 48px;
  }

  .law-document-chapters,
  .law-full-group {
    scroll-margin-top: 12px;
  }
}

@media (max-width: 360px) {
  .knowledge-documents-hero h1 {
    font-size: 38px;
  }

  .knowledge-documents-hero > div {
    font-size: 18px;
  }

  .law-document-hero h1 {
    font-size: 36px;
  }
}
