/* Legal document reading layer. Content remains a normal Joomla article. */
.gd-legal-shell{
  padding-block:48px 84px;
}

.gd-legal-shell .com-content-article{
  width:100%;
  min-width:0;
}

.gd-legal-shell .page-header{
  margin:0 0 28px;
  padding:0 0 24px;
  border-bottom:1px solid var(--gd-line);
}

.gd-legal-shell .page-header h1{
  margin:0;
  max-width:18ch;
  color:var(--gd-text);
  font-size:clamp(34px,4.2vw,58px);
  line-height:1.02;
  letter-spacing:-.035em;
}

.gd-legal-shell .com-content-article__body{
  max-width:900px;
  color:var(--gd-muted);
  font-size:16px;
  line-height:1.78;
  overflow-wrap:anywhere;
}

.gd-legal-shell .com-content-article__body > :first-child{margin-top:0}
.gd-legal-shell .com-content-article__body > :last-child{margin-bottom:0}

.gd-legal-shell .com-content-article__body p,
.gd-legal-shell .com-content-article__body ul,
.gd-legal-shell .com-content-article__body ol,
.gd-legal-shell .com-content-article__body blockquote{
  margin:0 0 18px;
}

.gd-legal-shell .com-content-article__body h2,
.gd-legal-shell .com-content-article__body h3,
.gd-legal-shell .com-content-article__body h4{
  margin:38px 0 14px;
  color:var(--gd-text);
  line-height:1.22;
  letter-spacing:-.015em;
}

.gd-legal-shell .com-content-article__body h2{font-size:26px}
.gd-legal-shell .com-content-article__body h3{font-size:20px}
.gd-legal-shell .com-content-article__body h4{font-size:17px}

.gd-legal-shell .com-content-article__body strong{
  color:var(--gd-text);
  font-weight:700;
}

.gd-legal-shell .com-content-article__body a{
  color:var(--gd-gold-bright);
  text-decoration-color:color-mix(in srgb,var(--gd-gold) 58%,transparent);
  text-underline-offset:3px;
  text-decoration-thickness:1px;
}

.gd-legal-shell .com-content-article__body a:hover{
  text-decoration-color:currentColor;
}

.gd-legal-shell .com-content-article__body ul,
.gd-legal-shell .com-content-article__body ol{
  padding-left:1.3em;
}

.gd-legal-shell .com-content-article__body li + li{margin-top:8px}

.gd-legal-shell .com-content-article__body hr{
  margin:34px 0;
  border:0;
  border-top:1px solid var(--gd-line);
}

@media(max-width:700px){
  .gd-legal-shell{padding-block:30px 56px}
  .gd-legal-shell .page-header{margin-bottom:22px;padding-bottom:18px}
  .gd-legal-shell .page-header h1{font-size:clamp(30px,10vw,42px)}
  .gd-legal-shell .com-content-article__body{font-size:15px;line-height:1.72}
  .gd-legal-shell .com-content-article__body h2{font-size:23px}
  .gd-legal-shell .com-content-article__body h3{font-size:19px}
}
