/**
 * Rental Policy page (page-rental-policy.php)
 *
 * Plain white document styling. The page reads as one continuous document rather
 * than a stack of tinted cards: no panels, no shadows, no colour fills. Structure
 * comes from type scale, hairlines and vertical rhythm only, and the brand colour
 * is used sparingly — small labels and list markers, nothing filled.
 */

.rp-page {
  --rp-ink: #10203a;          /* headings */
  --rp-body: #435066;         /* body copy */
  --rp-muted: #6b7688;        /* labels, secondary notes */
  --rp-rule: #e4e8ee;         /* hairlines */
  --rp-rule-soft: #eef1f5;
  --rp-accent: #36007E;       /* brand, used sparingly */
  --rp-measure: 74ch;         /* readable line length for prose */
  --rp-shell: 900px;          /* content column */

  background: #fff;
  color: var(--rp-body);
  font-size: 1.0625rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

.rp-page ::selection { background: #e7ddf8; }

/* ── Page header ──────────────────────────────────────────────── */
.rp-header {
  border-bottom: 1px solid var(--rp-rule);
  padding: clamp(2.75rem, 6vw, 4.5rem) 1.5rem clamp(2rem, 4vw, 3rem);
}
.rp-header__inner {
  max-width: var(--rp-shell);
  margin: 0 auto;
}
.rp-header__eyebrow {
  display: block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--rp-accent);
  margin-bottom: .9rem;
}
.rp-header h1 {
  margin: 0 0 .9rem;
  font-size: clamp(2rem, 4vw, 2.85rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -.022em;
  color: var(--rp-ink);
}
.rp-header__lead {
  margin: 0;
  max-width: 62ch;
  font-size: clamp(1.02rem, 1.4vw, 1.15rem);
  color: var(--rp-muted);
  line-height: 1.65;
}

/* ── Document body ────────────────────────────────────────────── */
.rp-shell {
  max-width: var(--rp-shell);
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 3.25rem) 1.5rem clamp(3.5rem, 8vw, 6rem);
}

.rp-section { padding-top: clamp(1.75rem, 3.5vw, 2.75rem); }
.rp-section + .rp-section { border-top: 1px solid var(--rp-rule-soft); }
.rp-section > :last-child { margin-bottom: 0; }

.rp-section h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -.015em;
  color: var(--rp-ink);
}
.rp-section h3 {
  margin: 2rem 0 .65rem;
  font-size: 1.03rem;
  font-weight: 650;
  color: var(--rp-ink);
}

.rp-section p { margin: 0 0 1.15rem; max-width: var(--rp-measure); }
.rp-section strong { color: var(--rp-ink); font-weight: 600; }

/* Small uppercase label that opens a sub-topic */
.rp-subhead {
  margin: 2.25rem 0 .75rem;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--rp-muted);
}
.rp-section > .rp-subhead:first-of-type { margin-top: 0; }

/* ── Lists ────────────────────────────────────────────────────── */
.rp-list {
  margin: 0 0 1.3rem;
  padding-left: 1.25rem;
  max-width: var(--rp-measure);
}
.rp-list li { margin-bottom: .55rem; padding-left: .2rem; }
.rp-list li::marker { color: #9aa3b2; }
.rp-list ul {
  margin: .6rem 0 0;
  padding-left: 1.25rem;
  list-style: circle;
}
.rp-list ul li { margin-bottom: .35rem; }

/* Long lists of short items use the page width instead of running down it. */
.rp-list--split {
  max-width: none;
  columns: 2;
  column-gap: 3rem;
}
.rp-list--split li { break-inside: avoid; }

/* Amount-led list: "A, A1 Category — €700" */
.rp-list--amounts { list-style: none; padding-left: 0; max-width: 34rem; }
.rp-list--amounts li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  padding: .7rem 0;
  border-bottom: 1px solid var(--rp-rule-soft);
  margin: 0;
}
.rp-list--amounts li:last-child { border-bottom: 0; }
.rp-list--amounts .rp-amount {
  font-weight: 650;
  color: var(--rp-ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* ── Notes ────────────────────────────────────────────────────── */
.rp-note {
  margin: 0 0 1.3rem;
  padding: .15rem 0 .15rem 1.15rem;
  border-left: 2px solid var(--rp-accent);
  max-width: var(--rp-measure);
}
.rp-note > :last-child { margin-bottom: 0; }
.rp-note p { margin-bottom: .7rem; }

/* ── Definition pairs ─────────────────────────────────────────── */
.rp-defs { margin: 0 0 1.3rem; }
.rp-def {
  padding: 1rem 0;
  border-bottom: 1px solid var(--rp-rule-soft);
  max-width: var(--rp-measure);
}
.rp-def:first-child { padding-top: 0; }
.rp-def:last-child { border-bottom: 0; }
.rp-def__term {
  display: block;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--rp-muted);
  margin-bottom: .3rem;
}
.rp-def__desc { margin: 0 !important; }
.rp-def__note {
  display: block;
  margin-top: .4rem;
  font-style: normal;
  font-size: .95rem;
  color: var(--rp-muted);
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 700px) {
  .rp-page { font-size: 1rem; }
  .rp-header { padding-left: 1.15rem; padding-right: 1.15rem; }
  .rp-shell { padding-left: 1.15rem; padding-right: 1.15rem; }
  .rp-list--split { columns: 1; }
  .rp-list--amounts li { gap: 1rem; }
}
