/* GENERATED by scripts/group-d2-money360/build-d2-money360.mjs — do not edit by hand.
 * The accepted `okt--hub` trust variant, copied verbatim at build time from its single author,
 * scripts/group-residence-money360/frontend/residence-money360.css (pinned by hash), so the pages
 * that share the variant cannot drift apart. No shared stylesheet is modified by this wave.
 */

/* ---------------------------------------------------------------- H360-01 desktop team photo ---- */
/* MEASURED, not guessed. The approved photograph is 1600x1000 and the seven people occupy only
   x=430..1180 of it — about 47% of the frame. Everything else is empty studio backdrop. That is why
   a 460px box still read as "a small central group": the people inside rendered at 460 x 0.47 = 216
   CSS px while the box looked large and half the row sat empty.
 *
 * The fix crops the empty backdrop with `object-fit: cover`, which needs no new asset: the approved
 * bytes are served unchanged and nothing is re-encoded. With a square box the cover algorithm keeps
 * the full height and trims the sides, and the arithmetic is fixed by the ratio alone:
 *
 *     visible source window = 1600 - 2 * (800 - 500 * ratio)
 *     ratio 1/1  ->  window x = 300..1300 (1000px)
 *     people          x = 430..1180        -> 130px clear to the left, 120px to the right
 *
 * The window depends only on the ratio, not on the rendered size, so every viewport crops identically
 * and all seven people stay whole at 390, 768, 1024 and 1440. The people now render at 75% of the box
 * instead of 47%: about 330 CSS px at a 440px box against 207 before — and 2.5x what the published full variant
 * renders at its own 280px track. The track is capped at 440 rather than taken wider: the body
 * column holds three facts and a date, roughly four lines, and a 520px-tall row beside four lines
 * of text simply moves the empty space from one side to the other.
 * Modelled and asserted by scripts/group-residence-money360/check-photo-optics.mjs. */
@media (min-width: 1000px) {
  #okno-trust.okt--hub .okt__row { grid-template-columns: minmax(340px, 440px) minmax(0, 1fr); gap: 32px; align-items: center; }
  #okno-trust.okt--hub .okt__media { max-width: 440px; }
}
#okno-trust.okt--hub .okt__pic { aspect-ratio: 1 / 1; display: block; }
#okno-trust.okt--hub .okt__pic img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 50%;   /* subject centre measured at x=805 of 1600, i.e. 50.3% */
  border-radius: 14px;
}
/* Below the desktop breakpoint the block stacks; the same square crop applies, so the group reads
   larger there too. */
@media (max-width: 999px) {
  #okno-trust.okt--hub .okt__media { max-width: 420px; }
}

/* ---------------------------------------------------------------- H360-02 open reviews ---------- */
/* The disclosure is gone; this is the frame it used to provide. Compactness here means LESS CHROME
   AROUND the reviews, never a shorter box around them: the provider renders its own carousel, and
   clipping it would hide third-party content and break the arrows and swipe. So the padding, the
   rule above and the heading shrink, and the slot keeps only a floor to stop the page jumping while
   the carousel arrives — there is no max-height anywhere. */
#okno-trust.okt--hub .okt__rev {
  margin: 14px 0 0;
  border-top: 1px solid var(--ok-card-line, #e7ecf3);
  padding: 12px 0 0;
}
#okno-trust.okt--hub .okt__revh { margin: 0 0 6px; font-size: 15px; font-weight: 800; color: var(--gs-navy, #0c1e3c); }
#okno-trust.okt--hub .okt__revb { margin: 0; }
/* A floor, not a ceiling. Removing it lets the surrounding content jump when the embed lands;
   capping it would clip the reviews. */
#okno-trust.okt--hub .okt__slot { min-height: 200px; }
@media (min-width: 1000px) { #okno-trust.okt--hub .okt__slot { min-height: 240px; } }
#okno-trust.okt--hub .okt__status { margin: 0 0 6px; font-size: 13.5px; color: var(--ok-muted, #5b6472); }
/* When the provider fails the fallback must be readable immediately, next to a working Google link,
   and must not sit inside a tall empty frame. */
#okno-trust.okt--hub .okt__fallback { margin: 0 0 6px; font-size: 14px; line-height: 1.5; color: var(--ok-ink, #33404f); }
#okno-trust.okt--hub .okt__rev:has([data-okt-fallback]:not([hidden])) .okt__slot { min-height: 0; }
#okno-trust.okt--hub .okt__glink { margin: 8px 0 0; font-size: 13.5px; }
#okno-trust.okt--hub .okt__glink a { color: var(--gs-teal, #0d7c6b); font-weight: 700; }

