/* Tejori — dispute policy page. Reuses guarantees.css's shared components
   (.gb__h/.gb__sub/.gb__f headings, .sl numbered-step rows) for the "in
   short" band so the page reads as part of the same visual system — the
   rest is this page's own, since a 10-clause policy needs real typographic
   structure that the hero-photo marketing bands don't have. */

.dph {
  padding: 3.646vw 5.208vw 2.604vw;
}

.dph__in {
  max-width: 50vw;
}

.dph__sub {
  font-family: var(--ff-script);
  font-size: 2.659vw;
  line-height: 1;
  color: var(--c-green);
}

.dph__h {
  margin: .521vw 0 1.563vw;
  font-size: 3.125vw;
  font-weight: 700;
  line-height: 1.1;
  color: #000;
}

/* Matches the .cms__u treatment used on privacy-policy/terms-conditions/cookies-policy. */
.dph__u {
  margin: 0 0 .833vw;
  font-size: 1.25vw;
  font-weight: 400;
  line-height: 160%;
  letter-spacing: 0;
  color: #000;
}

.dph__d {
  margin: 0;
  font-size: 1.25vw;
  font-weight: 500;
  line-height: 1.875vw;
  color: #333;
}

/* ---------- "in short" band — reuses .gb__h/.gb__sub/.gb__f/.sl from guarantees.css ---------- */

.dps {
  background: #fbfbfb;
}

.dps__in {
  max-width: 89.583vw;
  margin-inline: auto;
  padding: 1.042vw 5.208vw 3.646vw;
}

.dps .sl {
  padding-bottom: 1.563vw;
}

/* The base .sl is flex-wrap, which lets rows 1/2 and 3/4 fall out of column
   alignment whenever one heading wraps differently to another — pin it to a
   real 2-column grid here so circles 2 and 4 line up under each other. */
@media (min-width: 768px) {
  .dps .sl {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- detailed clauses ---------- */

.dpb {
  padding: 3.646vw 5.208vw;
}

.dpb__in {
  max-width: 62.5vw;
  margin-inline: auto;
}

.dpb__item + .dpb__item {
  margin-top: 2.604vw;
  padding-top: 2.604vw;
  border-top: 1px solid #ececec;
}

.dpb__h {
  margin: 0 0 .833vw;
  font-size: 1.458vw;
  font-weight: 700;
  line-height: 1.3;
  color: var(--c-green);
}

.dpb__c p {
  margin: 0 0 .729vw;
  font-size: 1.042vw;
  font-weight: 400;
  line-height: 1.5;
  color: #222;
}

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

.dpb__lead {
  font-weight: 600 !important;
}

/* ---------- clauses, restyled (client request: "make the UI better") ----------
   A sticky "On this page" list beside the clauses on desktop, a green number badge on each
   heading, private / business sellers as two cards side by side, and the statutory-rights
   reminders as highlighted notes. Phones drop the contents list and stack the cards. */

.dpb__in {
  display: grid;
  grid-template-columns: 17.708vw minmax(0, 1fr);
  gap: 3.646vw;
  align-items: start;
  max-width: 78.125vw;
}

/* Contents list hidden (client request), but its column keeps its space so the clauses
   stay where they are. visibility (not display: none) holds the space and also takes the
   links out of the tab order and screen readers. */
.dpb__toc {
  visibility: hidden;
  position: sticky;
  top: 130px;
  padding: 1.25vw;
  background: var(--c-cream);
  border: 1px solid #f0e6da;
  border-radius: 10px;
}

.dpb__toc-h {
  margin: 0 0 .625vw;
  font-size: .833vw;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #6b6b6b;
}

.dpb__toc ol {
  display: grid;
  gap: .104vw;
}

.dpb__toc a {
  display: flex;
  gap: .521vw;
  padding: .365vw .417vw;
  font-size: .885vw;
  line-height: 1.35;
  color: #222;
  text-decoration: none;
  border-radius: 6px;
}

.dpb__toc a span {
  flex: none;
  min-width: 1.25vw;
  font-weight: 700;
  color: var(--c-green);
}

.dpb__toc a:hover {
  color: var(--c-green);
  background: #fff;
}

/* clicking a contents link stops the heading just under the sticky header */
.dpb__item {
  scroll-margin-top: 120px;
}

.dpb__h {
  display: flex;
  align-items: center;
  gap: .833vw;
}

.dpb__n {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 2.292vw;
  height: 2.292vw;
  font-size: 1.042vw;
  color: #fff;
  background: var(--c-green);
  border-radius: 50%;
}

.dpb__two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25vw;
  margin: 1.042vw 0;
}

.dpb__card {
  padding: 1.458vw;
  background: #fafafa;
  border: 1px solid #ececec;
  border-top: 4px solid #b0b0b0;
  border-radius: 10px;
}

.dpb__card--biz {
  border-top-color: var(--c-green);
}

.dpb__card .dpb__sh {
  margin-top: 0;
}

.dpb__card .dpb__list {
  margin-bottom: .729vw;
}

.dpb__c p.dpb__note {
  padding: .833vw 1.042vw;
  background: #eef7f4;
  border-left: 4px solid var(--c-green);
  border-radius: 0 8px 8px 0;
}

.dpb__c p.dpb__note:not(:last-child) {
  margin-bottom: .938vw;
}

/* Sections styled like the Privacy / Terms pages (.tb in cms.css, client request): a green
   band with the heading in white capitals over a light grey body. The number shows as plain
   "2." text in the band rather than the green circle used before. */
.dpb__item {
  background: #f5f5f5;
}

.dpb__item + .dpb__item {
  margin-top: 1.563vw;
  padding-top: 0;
  border-top: 0;
}

.dpb__h {
  align-items: baseline;
  gap: .417vw;
  margin: 0;
  padding: .521vw 2.083vw;
  font-size: 1.667vw;
  line-height: 1.2;
  text-transform: uppercase;
  color: #fff;
  background: var(--c-green);
}

.dpb__n {
  display: inline;
  width: auto;
  height: auto;
  font-size: inherit;
  background: none;
  border-radius: 0;
}

.dpb__n::after {
  content: ".";
}

.dpb__c {
  padding: 1.563vw 2.083vw;
}

.dpb__card {
  background: #fff;
}

/* Full width, edge to edge, with the Privacy page's indents (client request: "full width
   like the other policy pages"). This drops the left column the hidden contents list kept. */
/* …then (client request) the green and grey stop at the content's edges instead of running
   to the screen edges: the sections sit with a white margin either side (see .dpb). */
.dpb {
  /* half the header margin — the sections sit a little wider than the logo / Sell now
     edges (client request: "a little wider") */
  padding-inline: 2.604vw;
}

.dpb__in {
  display: block;
  max-width: none;
}

.dpb__toc {
  display: none;
}

.dpb__h {
  padding: .521vw 2.083vw;
}

.dpb__c {
  padding: 1.042vw 2.083vw 1.563vw;
}

/* "Private sellers" / "Business/trader sellers" inside a clause (sections 1 and 4) */
.dpb__sh {
  margin: 1.25vw 0 .521vw;
  font-size: 1.146vw;
  font-weight: 700;
  line-height: 1.3;
  color: #000;
}

.dpb__c > .dpb__sh:first-child {
  margin-top: 0;
}

.dph__d + .dph__d {
  margin-top: .833vw;
}

.dpb__list {
  display: flex;
  flex-direction: column;
  gap: .625vw;
  margin: .729vw 0 1.042vw;
  padding: 0;
  list-style: none;
}

.dpb__list li {
  position: relative;
  padding-left: 1.667vw;
  font-size: 1.042vw;
  font-weight: 400;
  line-height: 1.4;
  color: #222;
}

.dpb__list li::before {
  content: "";
  position: absolute;
  top: .156vw;
  left: 0;
  width: 1.146vw;
  height: 1.146vw;
  background: url(../img/strlists.png) center / cover no-repeat;
}

.dpb__item a {
  color: var(--c-green);
  text-decoration: underline;
}

/* ---------- closing CTA ---------- */

.dpc {
  padding: 2.604vw 5.208vw 5.208vw;
  text-align: center;
}

.dpc__h {
  margin: 0 0 .729vw;
  font-size: 1.667vw;
  font-weight: 700;
  color: #000;
}

.dpc__d {
  max-width: 33.333vw;
  margin: 0 auto 1.563vw;
  font-size: 1.042vw;
  line-height: 1.6;
  color: #333;
}

.dpc .btn {
  --btn-hover: #000;
  max-width: 9.583vw;
  margin-inline: auto;
}

@media (max-width: 767px) {
  .dph {
    padding: 9.091vw 4.545vw 6.818vw;
  }

  .dph__in {
    max-width: 100%;
  }

  .dph__sub {
    font-size: 8.701vw;
  }

  .dph__h {
    margin: 1.591vw 0 4.545vw;
    font-size: 8.182vw;
  }

  .dph__u {
    margin-bottom: 3.409vw;
    font-size: 3.864vw;
  }

  .dph__d {
    font-size: 3.864vw;
    line-height: 150%;
  }

  .dps__in {
    max-width: 100%;
    padding: 3.409vw 4.545vw 6.818vw;
  }

  .dpb {
    padding: 6.818vw 4.545vw;
  }

  .dpb__in {
    max-width: 100%;
  }

  .dpb__item + .dpb__item {
    margin-top: 6.818vw;
    padding-top: 6.818vw;
  }

  .dpb__h {
    font-size: 5.455vw;
    margin-bottom: 2.273vw;
  }

  .dpb__c p {
    font-size: 3.864vw;
    margin-bottom: 2.273vw;
  }

  .dpb__sh {
    margin: 4.545vw 0 1.705vw;
    font-size: 4.318vw;
  }

  .dpb__in {
    display: block;
  }

  .dpb__toc {
    display: none;
  }

  .dpb__h {
    gap: 2.273vw;
  }

  .dpb__n {
    width: 7.273vw;
    height: 7.273vw;
    font-size: 3.636vw;
  }

  .dpb__two {
    grid-template-columns: 1fr;
    gap: 3.409vw;
    margin: 3.409vw 0;
  }

  .dpb__card {
    padding: 4.545vw;
  }

  .dpb__card .dpb__list {
    margin-bottom: 2.273vw;
  }

  .dpb__c p.dpb__note {
    padding: 3.409vw 3.636vw;
  }

  .dpb__c p.dpb__note:not(:last-child) {
    margin-bottom: 3.409vw;
  }

  .dph__d + .dph__d {
    margin-top: 2.273vw;
  }

  .dpb__list {
    gap: 2.273vw;
    margin: 2.273vw 0 3.409vw;
  }

  .dpb__list li {
    padding-left: 6.818vw;
    font-size: 3.864vw;
  }

  .dpb__list li::before {
    top: .455vw;
    width: 4.545vw;
    height: 4.545vw;
  }

  .dpc {
    padding: 6.818vw 4.545vw 11.364vw;
  }

  .dpc__h {
    font-size: 6.136vw;
  }

  .dpc__d {
    max-width: 100%;
    font-size: 3.864vw;
  }

  .dpc .btn {
    max-width: 100%;
  }
}

/* section 8's long list of one-word items runs in two columns on desktop */
@media (min-width: 768px) {
  .dpb__list--cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 2.083vw;
  }
}

/* phones: the Privacy-style bands at phone sizes, inside the page's side margin */
@media (max-width: 767px) {
  .dpb {
    padding-inline: 4.545vw;
  }

  .dpb__item + .dpb__item {
    margin-top: 4.545vw;
    padding-top: 0;
  }

  .dpb__h {
    gap: 1.136vw;
    margin: 0;
    padding: 1.818vw 4.545vw;
    font-size: 4.545vw;
  }

  .dpb__n {
    width: auto;
    height: auto;
    font-size: inherit;
  }

  .dpb__c {
    padding: 4.545vw;
  }
}
