/* /owners page styles — loaded after styles.css by owners/index.html only. */

/* The owner hero's photo (Oct 17). Phone: full-bleed above the words.
   Desktop: beside them, running off the right edge — the one break. */
.ohero {
  overflow-x: clip;
}

.ohero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: 40px;
}

.ohero-photo {
  margin: 0 calc(-1 * var(--gutter));
}

.ohero-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

@media (max-width: 959px) {
  .ohero {
    padding-top: calc(var(--header-h) + 8px);
  }
  .ohero-grid {
    row-gap: 32px;
  }
  .ohero-photo {
    order: -1;
  }
  .ohero-photo img {
    aspect-ratio: 16 / 10;
  }
}

@media (min-width: 960px) {
  .ohero-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    column-gap: 56px;
    align-items: center;
  }
  .ohero-photo {
    margin: 0 calc(-1 * (max(0px, (100vw - var(--container)) / 2) + var(--gutter))) 0 0;
  }
  .ohero-photo img {
    aspect-ratio: auto;
    height: min(640px, 72vh);
    min-height: 480px;
    border-radius: var(--radius-card) 0 0 var(--radius-card);
  }
}

/* The FAQ with the demo beside it (Oct 17), the same grid as / "How it works". */
.ledger-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center;
  gap: 48px 72px;
}

.ledger-grid .ledger-list {
  margin-top: 0;
}

@media (max-width: 959px) {
  .ledger-grid {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
  }
  .ledger-grid .ledger-list {
    justify-self: stretch;
  }
}

@media (max-width: 767px) {
  .ledger-grid .how-phone {
    padding: 40px 24px 28px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}
