.regulamin-hero__inner{
  max-width:720px;
  margin-inline:auto;
  text-align:center;
  display:flex;
  flex-direction:column;
  gap:var(--space-md);
}

.regulamin-hero h1{
  position:relative;
}

.regulamin-hero h1::after{
  content:"";
  display:block;
  width:80px;
  height:2px;
  background:var(--color-brand-gold);
  margin:var(--space-sm) auto 0;
}

.regulamin-lead{
  font-size:var(--text-md);
  line-height:1.7;
  color:var(--color-text-primary);
}

.regulamin-narrow{
  max-width:720px;
  margin-inline:auto;
  display:flex;
  flex-direction:column;
  gap:var(--space-sm);
}

.regulamin-medium{
  max-width:760px;
  margin-inline:auto;
  display:flex;
  flex-direction:column;
  gap:var(--space-sm);
}

.regulamin-definicje h2,
.regulamin-zakres h2,
.regulamin-zasady h2,
.regulamin-rezerwacje h2,
.regulamin-odpowiedzialnosc h2,
.regulamin-koncowe h2{
  position:relative;
}

.regulamin-definicje h2::after,
.regulamin-zakres h2::after,
.regulamin-zasady h2::after,
.regulamin-rezerwacje h2::after,
.regulamin-odpowiedzialnosc h2::after,
.regulamin-koncowe h2::after{
  content:"";
  display:block;
  width:60px;
  height:2px;
  background:var(--color-brand-gold);
  margin-top:var(--space-xs);
}

.regulamin-highlight{
  background:var(--color-surface-secondary);
  border:1px solid var(--color-brand-gold);
  border-radius:var(--radius-md);
  padding:var(--space-md);
}

.regulamin-highlight p{
  color:var(--color-text-primary);
}

.regulamin-zasady ul{
  display:flex;
  flex-direction:column;
  gap:var(--space-xs);
}

@media (max-width:768px){
  .regulamin-hero__inner,
  .regulamin-narrow,
  .regulamin-medium{
    padding-inline:var(--space-sm);
  }

  .regulamin-lead{
    font-size:1.1rem;
  }
}