/* =====================================================================
   Native adapters: what WordPress needs that the work copy never had.
   Hand-written, loaded after the ported sheets, so the ported copies
   stay diffable against their snapshot.
   ===================================================================== */

/* The admin bar sits above the fixed masthead for a signed-in editor. */
.admin-bar .bar { top: 32px; }
@media (max-width: 782px) {
  .admin-bar .bar { top: 46px; }
}

/* The main menu ends with the Tenant & Owner Portal, a link the work
   copy's pages never drew. Each destination keeps to one line, and just
   above the 820px breakpoint, where seven of them only just fit, the gap
   and the letter spacing tighten so the row holds them all. */
.nav a { white-space: nowrap; }
@media (min-width: 821px) and (max-width: 860px) {
  .nav { gap: 12px; }
  .nav a { letter-spacing: 0.1em; }
}

/* The service area lists rentex.net's fifteen southern Mid-Coast towns
   in one column where the work copy spread its towns over four drive-time
   columns, so that column takes two tracks and sets its list in two. */
.c-area .area-col--wide { grid-column: span 2; }
.c-area .area-col--wide ul { columns: 2; column-gap: clamp(20px, 3vw, 38px); }
.c-area .area-col--wide .town { break-inside: avoid; }
@media (max-width: 520px) {
  .c-area .area-col--wide { grid-column: auto; }
  .c-area .area-col--wide ul { columns: 1; }
}
.c-area > .morelink { margin-top: 18px; }

/* A link inside a door's or a list's copy reads as a link. */
.c-doors .door-list span a,
.c-doors .door-lede a,
.c-field .hero-lede a { color: var(--green-on-field); border-bottom: 1px solid currentColor; }
.c-doors .door-list span a { color: var(--green-lift); }

/* The contact form, set on the doors band's dark ground in the masthead's
   type: mono labels, hairline fields, the green Send. */
.c-doors .rentex-cf7 { margin-top: 26px; display: grid; gap: 16px; }
.c-doors .rentex-cf7__field { margin: 0; }
.c-doors .rentex-cf7__label {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-lift);
}
.c-doors .rentex-cf7 input[type="text"],
.c-doors .rentex-cf7 input[type="email"],
.c-doors .rentex-cf7 input[type="tel"],
.c-doors .rentex-cf7 textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--rule-strong);
  border-radius: 10px;
  background: rgba(255, 255, 255, .05);
  color: var(--on-field);
  font: inherit;
  font-size: 16px;
}
.c-doors .rentex-cf7 ::placeholder { color: var(--on-field-faint); }
.c-doors .rentex-cf7 input:focus,
.c-doors .rentex-cf7 textarea:focus { border-color: var(--green-lift); }
.c-doors .rentex-cf7__submit { margin: 0; }
.c-doors .wpcf7-not-valid-tip { margin-top: 6px; font-size: 14px; color: #F2B8B5; }
.c-doors .wpcf7 form .wpcf7-response-output { margin: 16px 0 0; padding: 12px 16px; border-radius: 10px; border-color: var(--green-lift); color: var(--on-field); }
.c-doors .wpcf7-spinner { vertical-align: middle; }
.c-doors .contact-note { margin-top: 26px; color: var(--on-field-soft); }
.c-doors .contact-note a { color: var(--green-lift); }

/* Core lists carry the work copy's list classes; core adds no bullets,
   but its own list styles indent, which the ported lists do not. */
.c-doors ul.wp-block-list,
.c-incl ul.wp-block-list { padding-left: 0; }

/* A service list holding rentex.net's full paragraphs rather than the
   work copy's one-liners reads in two columns, so no row leaves a cell
   empty and no line runs to a sliver. */
.c-incl .incl-grid--long { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.c-incl .incl-grid--long span { font-size: 15.5px; line-height: 1.65; }
@media (max-width: 760px) {
  .c-incl .incl-grid--long { grid-template-columns: minmax(0, 1fr); }
}

/* Each quick link fills its cell, so a taller neighbour does not show the
   rule colour beneath the shorter ones. */
.c-quick .quick-links li { display: flex; }
.c-quick .quick-links a { flex: 1; }

/* The owners' feedback of 6 November 2026 (Moriah Baribeau), which the
   work copy never had. */

/* Capitals on the headings and labels she asked for, and on the rest of
   the same list or footer so none stands alone: rx-caps on an element,
   rx-caps-labels on a list whose item labels take them. */
.rx-caps,
.rx-caps-labels > li > b { text-transform: uppercase; letter-spacing: 0.04em; }

/* PROPERTY MANAGEMENT under the wordmark, in smaller capitals. */
.rx-logo-stack { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; }
.rx-logo-sub {
  display: block;
  margin-top: 4px;
  color: #fff;
  font-weight: 600;
  line-height: 1.1;
  font-size: clamp(9px, 1.35vw, 17px);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  white-space: nowrap;
}
.bar[data-folded] .rx-logo-sub { font-size: clamp(7px, 0.7vw, 9px); letter-spacing: 0.26em; }
.dr-top .rx-logo-stack { width: 100%; }
.dr-top .rx-logo-sub { font-size: 12px; }

/* The towns Rentex services, under the rentals map, in columns. */
.c-map .rx-areas p { margin: 0 0 0.7em; }
.c-map .rx-towns { columns: 3 11em; margin: 0; padding-left: 1.1em; }
.c-map .rx-towns li { margin: 0 0 4px; }
.c-map .rx-area-teaser { margin-top: 18px; border-top: 0; padding-top: 0; }

/* An Apply button inside a door's list or under the header's lede. */
.c-doors .door-list span a.btn { display: inline-block; margin-top: 10px; border-bottom: 0; color: #fff; }
.c-field .hero-panel .btn { margin-top: 18px; }

/* The owners' feedback of 20 November 2026 (Moriah Baribeau). */

/* RENTEX alone on the home page's title, her line under it smaller. */
.rx-h1-sub {
  display: block;
  margin-top: 0.3em;
  font-size: 0.4em;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

/* A long page title in a smaller size, as on the Contact page. */
.c-field .hero .hero-panel h1.rx-h1-long { font-size: clamp(30px, 3.6vw, 60px); }

/* The office telephone and address in the masthead, a little larger. */
.bar-tel { font-size: 14px; }
.bar-tel small { font-size: 12px; }

/* Her photographs: the headshot in its portrait slot, uncropped at its own
   618 x 928, and one under each of the Area Info page's two doors. */
.c-about .rx-portrait {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 618 / 928;
  object-fit: cover;
  border-radius: 12px;
}

/* The About page's story flows around the two portraits, stacked on the
   right from the top of the band, heading included; below 900px they sit
   side by side between the heading and the story. The band's copy is
   centred, 1120px at most, so the portraits and the story fill it. The
   empty slot takes the photograph's size. */
.c-about.rx-about-flow { display: block; }
.c-about.rx-about-flow .about-copy { display: flow-root; max-width: 1120px; margin-inline: auto; }
.c-about.rx-about-flow .about-lede { max-width: none; }
.c-about.rx-about-flow .rx-about-portraits {
  float: right;
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: min(350px, 34%);
  max-width: none;
  margin: 0 0 24px clamp(32px, 4vw, 64px);
}
.c-about.rx-about-flow .portrait-ph { aspect-ratio: 618 / 928; }
@media (max-width: 900px) {
  .c-about.rx-about-flow .about-copy { display: flex; flex-direction: column; }
  .c-about.rx-about-flow .about-copy > * { order: 4; }
  .c-about.rx-about-flow .about-copy > .kicker { order: 1; }
  .c-about.rx-about-flow .about-copy > h2 { order: 2; }
  .c-about.rx-about-flow .about-copy > .rx-about-portraits { order: 3; }
  .c-about.rx-about-flow .rx-about-portraits {
    float: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
    max-width: 620px;
    margin: 28px 0 8px;
  }
}
.c-doors .rx-door-photo { margin: 26px 0 0; }
.c-doors .rx-door-photo img { display: block; width: 100%; height: auto; border-radius: 12px; }

/* The screening service's checks, as a bulleted list inside its item. */
.c-incl .incl-grid span.rx-bullet { display: list-item; margin: 4px 0 0 1.2em; list-style: disc; }
.c-incl .incl-grid span.rx-after { margin-top: 10px; }

/* For Landlords: the owners' paragraphs under the services heading, the
   law door on its own across the band, and the fees section's prices. */
.c-incl .incl-head .incl-lede + .incl-lede { margin-top: 12px; }
/* Her four paragraphs to owners: the first, the landlord's worry, on the
   left in serif; the three answering it down the right behind a green rule. */
.c-incl .rx-owners-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  align-items: start;
  margin-top: clamp(22px, 3vw, 34px);
}
.c-incl .rx-owners-intro .incl-lede { max-width: none; }
.c-incl .rx-owners-intro .incl-lede:first-child { margin-top: 0; }
.c-incl .rx-owners-worry {
  padding-right: clamp(28px, 4vw, 56px);
  font-family: var(--font-serif);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.42;
  color: var(--ink);
}
.c-incl .rx-owners-answer { padding-left: clamp(28px, 4vw, 56px); border-left: 2px solid var(--green); }
@media (max-width: 820px) {
  .c-incl .rx-owners-intro { grid-template-columns: minmax(0, 1fr); row-gap: 24px; }
  .c-incl .rx-owners-worry { padding-right: 0; }
  .c-incl .rx-owners-answer { padding-left: 22px; }
}
.c-doors.rx-doors-one { grid-template-columns: minmax(0, 1fr); }
.c-doors.rx-doors-one .door-lede { max-width: 72ch; }
.rx-fees .rx-price { font-weight: 700; color: var(--ink); }
.rx-fees .rx-fees-more { margin-top: 0; }
.rx-fees .morelink { color: var(--purple-deep); border-bottom-color: var(--green); }
.rx-fees .morelink:hover, .rx-fees .morelink:active { color: var(--green); border-bottom-color: var(--green); }
/* Five services in two columns: the last takes the whole row rather than
   leaving a blank cell beside it. */
.rx-fees .incl-grid li:last-child:nth-child(odd) { grid-column: 1 / -1; }
