:root {
  --ink: #1d2324;
  --ink-rgb: 29, 35, 36;
  --muted: #5f6969;
  --line: #ddd6ca;
  --paper: #f3efe7;
  --surface: #fbf8f0;
  --surface-rgb: 251, 248, 240;
  --white: #fffdf8;
  --white-rgb: 255, 253, 248;
  --navy: #172a2f;
  --navy-rgb: 23, 42, 47;
  --gold: #a97822;
  --gold-rgb: 169, 120, 34;
  --gold-soft: #ead8ad;
  --soft: #e9e4da;
  --wine: #77392f;
  --wine-rgb: 119, 57, 47;
  --danger: #9f2d2d;
  --shadow: 0 22px 58px rgba(var(--ink-rgb), 0.12);
  --radius: 8px;
  --max: 1520px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 20;
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(var(--white-rgb), 0.98);
  border-bottom: 1px solid rgba(var(--ink-rgb), 0.08);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 22px rgba(var(--ink-rgb), 0.05);
}

.topbar {
  background: var(--navy);
  color: var(--white);
  font-size: 0.84rem;
}

.topbar__inner,
.nav,
.section__inner,
.footer__inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.topbar__inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 7px 0;
}

.nav {
  position: relative;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 250px;
}

.brand__logo {
  width: 44px;
  height: 50px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand__text {
  display: grid;
  gap: 0;
}

.brand__name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.36rem;
  line-height: 1.1;
  color: var(--navy);
}

.brand__meta {
  font-size: 0.78rem;
  text-transform: uppercase;
  color: var(--muted);
}

.nav__toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--gold);
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  place-items: center;
}

.nav__check {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.nav__toggle::-webkit-details-marker {
  display: none;
}

.nav__toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  margin: 0;
}

.nav__details {
  display: contents;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}

.nav__links a {
  text-decoration: none;
  color: var(--ink);
  border-radius: 6px;
  padding: 9px 12px;
  transition: background-color 160ms ease, color 160ms ease;
}

.nav__dropdown {
  position: relative;
}

.nav__dropdown-button {
  border: 0;
  background: transparent;
  color: var(--ink);
  border-radius: 6px;
  padding: 9px 12px;
  font: inherit;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
}

.nav__dropdown-button::after {
  content: "";
  display: inline-block;
  width: 0.44em;
  height: 0.44em;
  margin-left: 0.48em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-0.16em) rotate(45deg);
}

.nav__dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 12;
  display: none;
  min-width: 245px;
  padding: 10px 8px 8px;
  background: var(--white);
  border: 1px solid rgba(var(--ink-rgb), 0.1);
  border-radius: var(--radius);
  box-shadow: 0 18px 38px rgba(var(--ink-rgb), 0.12);
}

.nav__dropdown:hover .nav__dropdown-menu,
.nav__dropdown:focus-within .nav__dropdown-menu {
  display: grid;
}

.nav__dropdown-menu a {
  border-radius: var(--radius);
  padding: 10px 12px;
}

.nav__links a:hover,
.nav__links a[aria-current="page"],
.nav__dropdown-button:hover,
.nav__dropdown-button.is-active {
  color: var(--gold);
  background: rgba(var(--gold-rgb), 0.1);
}

.nav__links a.button--primary {
  color: var(--white);
  background: var(--gold);
  border-color: var(--gold);
  padding: 10px 17px;
}

.nav__links a.button--primary:hover,
.nav__links a.button--primary[aria-current="page"] {
  color: var(--white);
  background: #a9741d;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.button--primary {
  color: var(--white);
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 10px 20px rgba(var(--gold-rgb), 0.18);
}

.button--primary:hover {
  background: #a9741d;
}

.button--secondary {
  color: var(--ink);
  background: var(--white);
  border-color: rgba(var(--ink-rgb), 0.16);
}

.button--dark {
  color: var(--gold-soft);
  background: var(--navy);
}

.button--ghost {
  color: var(--white);
  background: rgba(var(--white-rgb), 0.1);
  border-color: rgba(var(--white-rgb), 0.34);
  backdrop-filter: blur(10px);
}

.button:hover {
  transform: translateY(-1px);
}

.hero {
  min-height: calc(100vh - 126px);
  display: grid;
  align-items: end;
  background:
    linear-gradient(90deg, rgba(var(--navy-rgb), 0.94), rgba(var(--navy-rgb), 0.72) 43%, rgba(var(--navy-rgb), 0.2) 78%),
    linear-gradient(180deg, rgba(var(--ink-rgb), 0.02), rgba(var(--ink-rgb), 0.32)),
    radial-gradient(circle at 16% 24%, rgba(var(--gold-rgb), 0.34), transparent 30%),
    url("../images/fond-accueil-justice-statue.png") center 48% / cover no-repeat;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero::before {
  display: none;
}

.hero::after {
  display: none;
}

.hero__inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 112px 0 78px;
  position: relative;
  z-index: 1;
}

.hero__content {
  max-width: 790px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.15;
  margin: 0;
  font-weight: 600;
}

h1 {
  font-size: 4.2rem;
  max-width: 880px;
}

.hero__title {
  max-width: 1080px;
  font-size: 3.68rem;
}

.hero__title span {
  display: block;
}

h2 {
  font-size: 2.35rem;
}

h3 {
  font-size: 1.32rem;
}

.lead {
  font-size: 1.12rem;
  max-width: 680px;
  color: inherit;
}

.hero__actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.hero__meta span {
  border: 1px solid rgba(var(--white-rgb), 0.24);
  border-radius: 999px;
  background: rgba(var(--white-rgb), 0.09);
  color: rgba(var(--white-rgb), 0.9);
  padding: 8px 12px;
  font-size: 0.9rem;
}

.section {
  padding: 78px 0;
}

.section--white {
  background: var(--surface);
}

.section--cabinet-photo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(var(--surface-rgb), 0.42) 0%, rgba(var(--surface-rgb), 0.24) 42%, rgba(var(--surface-rgb), 0.06) 100%),
    linear-gradient(180deg, rgba(var(--white-rgb), 0.14), rgba(var(--white-rgb), 0.02)),
    url("../images/place-bourse-sans-echafaudage-retouche.jpg") center 50% / cover no-repeat;
}

.section--cabinet-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(var(--gold-rgb), 0.04), rgba(var(--navy-rgb), 0.03)),
    linear-gradient(180deg, rgba(var(--ink-rgb), 0.02), rgba(var(--ink-rgb), 0.08));
}

.section--cabinet-photo .section__inner {
  position: relative;
  z-index: 1;
}

.section--cabinet-photo .split {
  grid-template-columns: minmax(0, 0.72fr) minmax(260px, 0.42fr);
}

.section--cabinet-photo .courthouse-panel {
  display: none;
}

.section__text-panel {
  width: min(calc(100% + 140px), 850px);
  margin-left: clamp(-140px, -8vw, -72px);
  padding: 34px 74px 34px 34px;
  background:
    linear-gradient(90deg, rgba(var(--surface-rgb), 0.97) 0%, rgba(var(--surface-rgb), 0.92) 68%, rgba(var(--surface-rgb), 0) 100%);
  color: #111719;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: blur(2px);
}

.section__text-panel .muted {
  color: #182022;
}

.section--soft {
  background:
    linear-gradient(180deg, rgba(var(--white-rgb), 0.6), rgba(var(--white-rgb), 0)),
    var(--soft);
}

.section--home-domains .section__inner {
  width: min(calc(var(--max) + 140px), calc(100% - 32px));
}

.section--navy {
  background: var(--navy);
  color: var(--white);
}

.section__header {
  display: grid;
  gap: 14px;
  max-width: 760px;
  margin-bottom: 38px;
}

.grid {
  display: grid;
  gap: 24px;
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: var(--white);
  border: 1px solid rgba(var(--ink-rgb), 0.08);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 12px 30px rgba(var(--ink-rgb), 0.055);
  position: relative;
}

.card::before,
.news-item::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  border-radius: var(--radius) var(--radius) 0 0;
}

.card--image {
  padding: 0;
  overflow: hidden;
}

.card__icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  color: var(--gold);
  border: 1px solid rgba(var(--gold-rgb), 0.28);
  border-radius: 6px;
  background: rgba(var(--gold-rgb), 0.06);
}

.card__icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card--image img {
  height: 220px;
  object-fit: cover;
}

.card--image .card__body {
  padding: 24px;
}

.muted {
  color: var(--muted);
}

p {
  margin: 16px 0 0;
}

p:first-child {
  margin-top: 0;
}

.list {
  margin: 18px 0 0;
  padding-left: 20px;
}

.topic-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 34px 0 8px;
}

.topic-nav--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.topic-nav--6 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.topic-nav a {
  min-height: 124px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 16px 18px;
  border: 1px solid rgba(var(--ink-rgb), 0.1);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(var(--gold-rgb), 0.08), rgba(var(--white-rgb), 0.95));
  color: var(--ink);
  line-height: 1.25;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.topic-nav__title {
  display: block;
  font-weight: 800;
}

.topic-nav__text {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.42;
}

.topic-nav a:hover {
  border-color: rgba(var(--gold-rgb), 0.42);
  box-shadow: 0 14px 28px rgba(var(--ink-rgb), 0.075);
  transform: translateY(-1px);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: 48px;
  align-items: center;
}

.portrait,
.courthouse-panel {
  border-radius: var(--radius);
  overflow: hidden;
}

.portrait img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.courthouse-panel {
  min-height: 430px;
  position: relative;
  display: grid;
  align-items: end;
  background: url("../images/tribunal-pj-final-cropped.png") center right / contain no-repeat;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 26px 38px rgba(var(--ink-rgb), 0.14));
  mix-blend-mode: normal;
}

.courthouse-panel::before {
  display: none;
}

.courthouse-panel__roof,
.courthouse-panel__arches,
.courthouse-panel__steps {
  position: absolute;
  left: 12%;
  right: 12%;
}

.courthouse-panel__roof {
  display: none;
}

.courthouse-panel__arches {
  display: none;
}

.courthouse-panel__steps {
  display: none;
}

.page-hero {
  background:
    linear-gradient(90deg, rgba(var(--navy-rgb), 0.96), rgba(var(--navy-rgb), 0.84) 54%, rgba(var(--navy-rgb), 0.54)),
    url("../images/fond-cabinet-tribunal-cadre.png") right 34% / auto 142% no-repeat,
    var(--navy);
  color: var(--white);
  padding: 78px 0;
  overflow: hidden;
}

.page-hero__inner {
  width: calc(100vw - 48px);
  margin: 0 24px;
  max-width: none;
}

.breadcrumb {
  color: rgba(var(--white-rgb), 0.72);
  margin-bottom: 18px;
  font-size: 0.95rem;
}

.news-list {
  display: grid;
  gap: 18px;
}

.news-item {
  background: var(--white);
  border: 1px solid rgba(var(--ink-rgb), 0.08);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 16px 38px rgba(var(--ink-rgb), 0.06);
  position: relative;
}

.news-item time {
  color: var(--gold);
  font-weight: 800;
  font-size: 0.9rem;
}

.news-item h3 {
  margin-top: 7px;
}

.news-item h3 a {
  text-decoration: none;
}

.news-item h3 a:hover {
  color: var(--gold);
}

.news-item__body {
  margin-top: 14px;
}

.news-item__body p {
  margin: 0 0 12px;
}

.news-item__body p:last-child {
  margin-bottom: 0;
}

.news-item__source a {
  color: var(--gold);
  font-weight: 800;
}

.form {
  display: grid;
  gap: 16px;
}

.contact-grid {
  align-items: start;
}

.contact-location {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 22px;
  margin-top: 18px;
  background:
    linear-gradient(135deg, rgba(var(--navy-rgb), 0.04), rgba(var(--gold-rgb), 0.08)),
    var(--white);
}

.contact-location__link {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.contact-location__link:hover {
  background: #102126;
  box-shadow: 0 14px 28px rgba(var(--navy-rgb), 0.18);
  transform: translateY(-1px);
}

.contact-location__pin {
  width: 18px;
  height: 18px;
  position: relative;
  flex: 0 0 auto;
  border: 2px solid var(--gold-soft);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.contact-location__pin::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--gold-soft);
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  font-weight: 700;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid rgba(var(--ink-rgb), 0.16);
  border-radius: var(--radius);
  background: var(--white);
  padding: 12px 14px;
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(var(--white-rgb), 0.8);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 3px solid rgba(var(--gold-rgb), 0.28);
  border-color: var(--gold);
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.notice {
  border-left: 4px solid var(--gold);
  background: rgba(var(--gold-rgb), 0.14);
  padding: 16px 18px;
}

.legal-document {
  max-width: var(--max);
  font-size: 0.98rem;
  line-height: 1.6;
}

.legal-document,
.fees-document {
  background: var(--white);
  border: 1px solid rgba(var(--ink-rgb), 0.08);
  border-radius: var(--radius);
  box-shadow: 0 18px 42px rgba(var(--ink-rgb), 0.06);
  padding: 42px;
}

.legal-document section {
  padding: 0 0 18px;
  margin: 0 0 18px;
  border-bottom: 1px solid var(--line);
}

.legal-document section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.legal-document h2 {
  font-size: 1.22rem;
  margin: 0 0 8px;
}

.legal-document p {
  max-width: none !important;
  margin: 0 0 6px;
}

.legal-document p:last-child {
  margin-bottom: 0;
}

.fees-document {
  font-size: 1.03rem;
  line-height: 1.55;
}

.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 58px 0 24px;
  box-shadow: inset 0 3px 0 rgba(var(--gold-rgb), 0.34);
}

.footer__inner {
  display: grid;
  gap: 34px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 34px;
}

.footer__grid h3 {
  color: var(--gold-soft);
}

.footer__links {
  display: grid;
  gap: 8px;
}

.footer__links a {
  color: rgba(var(--white-rgb), 0.82);
  text-decoration: none;
}

.footer__bottom {
  border-top: 1px solid rgba(var(--white-rgb), 0.16);
  padding-top: 20px;
  color: rgba(var(--white-rgb), 0.68);
  font-size: 0.9rem;
}

@media (max-width: 1080px) {
  .topbar__inner {
    display: grid;
    gap: 4px;
  }

  .nav__details {
    display: block;
    margin-left: auto;
  }

  .nav__toggle {
    display: grid;
    grid-template-rows: repeat(3, 2px);
    align-content: center;
    justify-content: center;
    gap: 6px;
  }

  .nav__links {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 20;
    display: none;
    background: var(--white);
    border-bottom: 1px solid rgba(var(--ink-rgb), 0.1);
    padding: 16px;
    box-shadow: 0 16px 32px rgba(var(--ink-rgb), 0.1);
    max-height: calc(100vh - 76px);
    overflow: auto;
  }

  .nav__links.is-open {
    display: grid;
    position: fixed;
    left: 0;
    right: 0;
    top: 104px;
    width: 100vw;
    max-height: calc(100vh - 104px);
  }

  .nav__check:checked ~ .nav__links {
    display: grid;
  }

  .nav__links .button {
    width: 100%;
  }

  .nav__dropdown {
    display: grid;
    gap: 6px;
  }

  .nav__dropdown-button {
    width: 100%;
    text-align: left;
  }

  .nav__dropdown-menu {
    position: static;
    display: none;
    min-width: 0;
    padding: 0 0 0 12px;
    border: 0;
    box-shadow: none;
    background: transparent;
  }

  .nav__dropdown-menu:not(.is-open) {
    display: none !important;
  }

  .nav__dropdown:hover .nav__dropdown-menu,
  .nav__dropdown:focus-within .nav__dropdown-menu {
    display: none;
  }

  .nav__dropdown-menu.is-open {
    display: grid;
  }

  .hero {
    min-height: 620px;
  }

  .hero::before {
    background-position: 62% center;
    background-size: auto 108%;
  }

  .topic-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid--2,
  .grid--3,
  .split,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 56px 0;
  }

  h1 {
    font-size: 3.25rem;
  }

  .hero__title {
    font-size: 2.68rem;
  }

  h2 {
    font-size: 2.2rem;
  }

  .lead {
    font-size: 1.1rem;
  }

  .courthouse-panel {
    min-height: 340px;
  }

  .section__text-panel {
    width: min(100%, 700px);
    margin-left: 0;
    padding: 28px 48px 28px 28px;
  }
}

@media (max-width: 720px) {
  body {
    width: 100%;
  }

  main,
  section,
  .hero,
  .site-footer {
    max-width: 100vw;
    overflow-x: hidden;
  }

  .site-header {
    max-width: 100vw;
    overflow: visible;
  }

  .topbar__inner,
  .nav,
  .section__inner,
  .footer__inner {
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
  }

  .nav {
    min-height: 68px;
    gap: 12px;
  }

  .brand,
  .brand__text {
    min-width: 0;
  }

  .nav__toggle {
    flex: 0 0 auto;
  }

  .brand__meta {
    font-size: 0.66rem;
    line-height: 1.15;
  }

  .hero {
    min-height: auto;
    background-position: 58% center;
  }

  .hero__inner {
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
    padding: 64px 0 42px;
  }

  .hero__content {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
  }

  .hero__title {
    width: 100%;
    max-width: calc(100vw - 24px);
    font-size: 1.72rem;
    line-height: 1.1;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .lead {
    width: 100%;
    max-width: 100% !important;
    font-size: 1rem;
    line-height: 1.55;
    overflow-wrap: anywhere;
  }

  .hero__actions,
  .actions {
    gap: 10px;
    margin-top: 22px;
  }

  .button {
    min-height: 46px;
    padding: 10px 14px;
  }

  .section {
    padding: 44px 0;
  }

  .section--cabinet-photo {
    background-position: 60% center;
  }

  .section--cabinet-photo .split {
    grid-template-columns: 1fr;
  }

  .section__text-panel {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
    padding: 24px 18px;
    background: rgba(var(--surface-rgb), 0.94);
    backdrop-filter: blur(4px);
  }

  h2 {
    font-size: 1.72rem;
    line-height: 1.12;
    overflow-wrap: anywhere;
  }

  h3 {
    font-size: 1.18rem;
  }

  .section--home-domains .section__inner {
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
  }

  .section__header {
    margin-bottom: 24px;
  }

  .topic-nav {
    grid-template-columns: 1fr;
  }

  .topic-nav a {
    min-height: 0;
  }

  .grid {
    gap: 16px;
  }

  .grid--3,
  .grid--2 {
    grid-template-columns: 1fr;
  }

  .card,
  .news-item {
    width: 100% !important;
    max-width: 100% !important;
    padding: 22px 18px;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .contact-location {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
  }

  .contact-location__link {
    width: 100%;
  }

  h1,
  h2,
  h3,
  p,
  a,
  li {
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .page-hero {
    padding: 42px 0;
    background-position: right 34% center;
    background-size: auto 115%;
  }

  .page-hero__inner {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
  }

  .breadcrumb {
    font-size: 0.82rem;
    line-height: 1.35;
    margin-bottom: 12px;
  }

  .legal-document,
  .fees-document {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 0;
  }

  .site-footer {
    padding: 42px 0 22px;
  }
}

@media (max-width: 520px) {
  :root {
    --mobile-content: min(340px, calc(100vw - 24px));
  }

  .topbar {
    display: none;
  }

  .nav,
  .hero__inner,
  .section__inner,
  .footer__inner {
    width: var(--mobile-content) !important;
    max-width: var(--mobile-content) !important;
  }

  .brand__name {
    font-size: 1.02rem;
  }

  .brand {
    min-width: 0;
    gap: 10px;
    max-width: calc(100% - 54px);
  }

  .brand__text {
    overflow: hidden;
  }

  .brand__logo {
    width: 36px;
    height: 40px;
  }

  .nav__links.is-open {
    top: 68px;
    max-height: calc(100vh - 68px);
  }

  .hero__inner {
    padding: 54px 0 36px;
  }

  .hero__title,
  .lead,
  .section__text-panel,
  .card,
  .news-item {
    width: 100% !important;
    max-width: 100% !important;
  }

  .button {
    width: 100%;
  }

  h1 {
    font-size: 1.72rem;
  }

  .hero__title {
    font-size: 1.54rem;
  }

  h2 {
    font-size: 1.58rem;
  }

  .legal-document,
  .fees-document {
    padding: 24px 18px;
  }

  .section__text-panel {
    padding: 22px 16px;
  }
}

@media (min-width: 1081px) {
  .topbar__inner,
  .nav,
  .hero__inner,
  .page-hero__inner,
  .section__inner,
  .footer__inner,
  .section--home-domains .section__inner {
    width: calc(100vw - 96px) !important;
    max-width: none !important;
    margin-left: 48px !important;
    margin-right: 48px !important;
  }

  .legal-document,
  .fees-document {
    max-width: none !important;
  }

  .section__inner.legal-document,
  .section__inner.fees-document {
    width: calc(100vw - 96px) !important;
    max-width: none !important;
    margin-left: 48px !important;
    margin-right: 48px !important;
  }

  .legal-page-wide .section--white {
    padding-left: 48px !important;
    padding-right: 48px !important;
  }

  .legal-page-wide .section__inner.legal-document {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

.card,
.news-item,
.legal-document,
.fees-document,
.contact-location,
.form.card {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.card::before,
.news-item::before {
  display: none !important;
}

.card,
.news-item,
.legal-document,
.fees-document {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.grid .card,
.news-item,
.contact-location,
.form.card {
  padding-top: 24px !important;
  padding-bottom: 24px !important;
  border-top: 1px solid var(--line) !important;
}

.legal-document,
.fees-document {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.topic-nav {
  display: none !important;
}
