/* Legal document set: shared reading layout. Layout and spacing only; body type comes from styles.css. */
.dz-terms-and-conditions { --tint: #f5f4ef; --stone: #f3f2ee; }
.dz-terms-and-conditions .lg-open { scroll-margin-top: 92px; }
.dz-terms-and-conditions .lg-open h1 { margin: 0; }

/* The document: contents in a sticky rail, the text in a reading column */
.dz-terms-and-conditions .lg-doc { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 0 80px; padding-top: 80px; padding-bottom: 104px; align-items: start; }
.dz-terms-and-conditions .lg-toc { position: sticky; top: 124px; max-height: calc(100vh - 148px); overflow-y: auto; padding: 4px 4px 4px 0; }
.dz-terms-and-conditions .lg-toc-h { font-weight: 900; color: var(--black); margin: 0 0 14px; padding-bottom: 12px; border-bottom: 3px solid var(--black); }
.dz-terms-and-conditions .lg-toc ol { list-style: none; margin: 0; padding: 0; }
.dz-terms-and-conditions .lg-toc li { margin: 0; }
.dz-terms-and-conditions .lg-toc a { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; padding: 8px 0 8px 12px; border-left: 3px solid transparent; color: var(--charcoal); line-height: 1.35; }
.dz-terms-and-conditions .lg-toc a b { font-family: "Anton", sans-serif; font-weight: 400; color: var(--grey); }
.dz-terms-and-conditions .lg-toc a:hover span { text-decoration: underline; }
.dz-terms-and-conditions .lg-toc a.on { border-left-color: var(--lime); background: var(--stone); color: var(--black); font-weight: 700; }
.dz-terms-and-conditions .lg-toc a.on b { color: var(--black); }

.dz-terms-and-conditions .lg-body { max-width: 44em; min-width: 0; }
.dz-terms-and-conditions .lg-lead { padding-bottom: 36px; }
.dz-terms-and-conditions .lg-sec { position: relative; padding: 40px 0 36px 88px; border-top: 1px solid var(--line); scroll-margin-top: 104px; counter-increment: lgsec; }
.dz-terms-and-conditions .lg-sec:first-child { border-top: 3px solid var(--black); }
.dz-terms-and-conditions .lg-num { position: absolute; left: 0; top: 36px; width: 56px; height: 56px; border-radius: var(--radius); background: var(--black); color: var(--lime); font-family: "Anton", sans-serif; font-size: 1.7rem; line-height: 1; display: grid; place-items: center; margin-top: -4px; }
.dz-terms-and-conditions .lg-num i { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.dz-terms-and-conditions .lg-sec h2 { font-size: clamp(1.6rem, 2.3vw, 2.05rem); line-height: 1.1; margin: 0 0 18px; }
.dz-terms-and-conditions .lg-sec h3 { margin: 28px 0 10px; }
.dz-terms-and-conditions .lg-sec ul { list-style: none; margin: 0 0 1em; padding: 0; }
.dz-terms-and-conditions .lg-sec li { position: relative; padding: 0 0 0 26px; margin: 0 0 12px; }
.dz-terms-and-conditions .lg-sec li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 10px; height: 10px; background: var(--lime); border: 2px solid var(--black); border-radius: 2px; }
.dz-terms-and-conditions .lg-sec li strong { color: var(--black); }
.dz-terms-and-conditions .lg-body a:not(.btn) { color: var(--black); }

/* The set: all six legal documents, closing every page */
.dz-terms-and-conditions .lg-set { background: var(--black); color: var(--white); padding: 80px 0 88px; }
.dz-terms-and-conditions .lg-set-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end; margin-bottom: 36px; }
.dz-terms-and-conditions .lg-set h2 { color: var(--white); margin: 0; }
.dz-terms-and-conditions .lg-set-contact { margin: 0; color: #e6e5df; }
.dz-terms-and-conditions .lg-set-contact a { color: var(--white); font-weight: 900; }
.dz-terms-and-conditions .lg-set ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #3a3a36; border-left: 1px solid #3a3a36; }
.dz-terms-and-conditions .lg-set li { margin: 0; border-right: 1px solid #3a3a36; border-bottom: 1px solid #3a3a36; }
.dz-terms-and-conditions .lg-set li a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 26px 26px; color: var(--white); font-weight: 900; min-height: 88px; }
.dz-terms-and-conditions .lg-set li a::after { content: "\2192"; color: var(--lime); font-size: 1.3rem; }
.dz-terms-and-conditions .lg-set li a:hover { background: #1c1c1a; }
.dz-terms-and-conditions .lg-set li a:hover span { text-decoration: underline; }
.dz-terms-and-conditions .lg-set li a[aria-current] { background: var(--lime); color: var(--black); }
.dz-terms-and-conditions .lg-set li a[aria-current]::after { content: ""; }

@media (max-width: 960px) {
  .dz-terms-and-conditions .lg-doc { grid-template-columns: minmax(0, 1fr); padding-top: 40px; padding-bottom: 72px; }
  .dz-terms-and-conditions .lg-toc { position: static; max-height: none; overflow: visible; margin-bottom: 40px; padding: 20px 20px 12px; background: var(--stone); border-radius: var(--radius); }
  .dz-terms-and-conditions .lg-toc a.on { background: transparent; border-left-color: transparent; font-weight: 400; }
  .dz-terms-and-conditions .lg-set ul { grid-template-columns: minmax(0, 1fr); }
  .dz-terms-and-conditions .lg-set-top { grid-template-columns: minmax(0, 1fr); }
  .dz-terms-and-conditions .lg-set li a { min-height: 0; padding: 20px 20px; }
  .dz-terms-and-conditions .lg-set { padding: 56px 0 64px; }
}
@media (max-width: 600px) {
  .dz-terms-and-conditions .lg-sec { padding: 32px 0 28px 0; }
  .dz-terms-and-conditions .lg-sec h2 { padding-left: 58px; min-height: 44px; display: flex; align-items: center; }
  .dz-terms-and-conditions .lg-num { top: 28px; width: 44px; height: 44px; font-size: 1.35rem; }
}
@media print {
  .dz-terms-and-conditions .lg-toc, .dz-terms-and-conditions .lg-set { display: none; }
  .dz-terms-and-conditions .lg-doc { grid-template-columns: minmax(0, 1fr); }
}

/* Opening: the title set very large on white, then a black bar carrying the effective date and the scope of the terms */
.dz-terms-and-conditions .tc-title { padding-top: 104px; padding-bottom: 44px; }
.dz-terms-and-conditions .tc-title h1 { font-size: clamp(3rem, 9.6vw, 8.6rem); line-height: .92; }
.dz-terms-and-conditions .tc-bar { background: var(--black); color: var(--white); border-bottom: 6px solid var(--lime); }
.dz-terms-and-conditions .tc-bar-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 72px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.dz-terms-and-conditions .tc-date { margin: 0; }
.dz-terms-and-conditions .tc-date span { display: block; font-weight: 900; color: #e6e5df; margin-bottom: 10px; }
.dz-terms-and-conditions .tc-date b { display: block; font-family: "Anton", sans-serif; font-weight: 400; font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1; color: var(--lime); }
.dz-terms-and-conditions .tc-intro { margin: 0; color: #e6e5df; max-width: 40em; padding-left: 40px; border-left: 1px solid #3a3a36; }
@media (max-width: 800px) {
  .dz-terms-and-conditions .tc-title { padding-top: 48px; padding-bottom: 28px; }
  .dz-terms-and-conditions .tc-bar-in { grid-template-columns: minmax(0, 1fr); padding-top: 36px; padding-bottom: 36px; gap: 24px; }
  .dz-terms-and-conditions .tc-intro { padding-left: 0; border-left: 0; padding-top: 24px; border-top: 1px solid #3a3a36; }
}
