/* Only the two additions to the original homepage use these styles. */
.hub-entry {
  scroll-margin-top: calc(var(--nav-h) + 20px);
}

.hub-entry h3 {
  margin: 34px 0 10px;
  text-align: center;
  font-size: clamp(22px, 2.6vw, 28px);
}

#hub .hub-entry > p {
  margin: 12px auto 0;
  max-width: 72ch;
  text-align: center;
}

.hub-entry + .hub-entry {
  margin-top: 54px;
}

/* Match both galleries without cropping the original photographs. */
.hub-entry .thumb {
  height: clamp(260px, 38vw, 440px);
}

.hub-entry .thumb img {
  object-fit: contain;
}

@media (min-width: 761px) and (max-width: 980px) {
  .nav-center {
    display: none;
  }

  .nav-inner {
    grid-template-columns: auto 1fr;
  }
}

.owner-invite {
  background: #fff;
  text-align: center;
}

.owner-invite .container {
  max-width: 920px;
}

.owner-eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
}

.owner-invite h2 {
  margin-bottom: 14px;
}

.owner-invite p:not(.owner-eyebrow) {
  max-width: 72ch;
  margin: 0 auto 24px;
  font-size: clamp(16px, 2.2vw, 18px);
  line-height: 1.65;
  color: var(--brand-2);
}

#apply,
#proprietari {
  scroll-margin-top: calc(var(--nav-h) + 16px);
}

.contact-selector {
  grid-column: 1 / -1;
  min-width: 0;
  margin: 0 0 6px;
  padding: 0;
  border: 0;
}

.contact-selector legend {
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-2);
}

.contact-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.contact-options label {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
}

.contact-options input {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  padding: 0;
  accent-color: var(--brand);
}

.contact-options label:has(:checked) {
  border-color: var(--brand);
}

.contact-options label:focus-within {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.contact-options label:has(:disabled) {
  cursor: wait;
}

#lead-form [hidden] {
  display: none;
}

#lead-form > div {
  min-width: 0;
}

@media (max-width: 640px) {
  .contact-options {
    grid-template-columns: 1fr;
  }

  #lead-form .form-actions .btn {
    min-width: 0;
    width: 100%;
  }
}
