/* Preview 2 homepage bands on the existing WPResidence child theme. */
body.home > .gc-home-band {
  padding-block: clamp(48px, 6vw, 86px);
  background: var(--gc-layout-paper, #fbfaf6);
  color: var(--gc-layout-muted, #505b67);
  font: 400 16px/1.75 Inter, system-ui, sans-serif;
  text-align: start;
}

body.home > .gc-home-band-cream { background: var(--gc-layout-cream, #f1ede4); }

.gc-home-band .gc-home-wrap {
  width: min(1200px, calc(100% - 2 * clamp(18px, 4.4vw, 56px)));
  margin-inline: auto;
}

.gc-home-band .gc-home-split {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: 24px clamp(36px, 6vw, 80px);
}

.gc-home-band h2 {
  margin: 0;
  color: var(--gc-layout-navy, #111e2f);
  font: 500 clamp(26px, 2.9vw, 38px)/1.25 Cinzel, Georgia, serif;
  overflow-wrap: anywhere;
}

.gc-home-band p { margin: 0; color: inherit; font: inherit; }
.gc-home-band p + p { margin-top: 16px; }

.gc-home-band .gc-home-eyebrow {
  margin: 0 0 15px;
  color: var(--gc-layout-brown, #765b30);
  font: 600 11px/1.5 Inter, system-ui, sans-serif;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.gc-home-band .gc-home-specialties { margin-top: 15px; font-size: 13px; }

.gc-home-band .gc-home-link {
  display: inline-flex;
  align-items: baseline;
  width: fit-content;
  max-width: 100%;
  gap: 12px;
  margin-top: 16px;
  padding-block: 8px;
  border-bottom: 1px solid #b69a67;
  color: var(--gc-layout-navy, #111e2f);
  font: 600 13px/1.5 Inter, system-ui, sans-serif;
  text-decoration: none;
}

.gc-home-band .gc-home-link:hover { color: #765b30; }
.gc-home-band :is(a, button, .gc-home-track):focus-visible {
  outline: 2px solid #876735;
  outline-offset: 3px;
}

.gc-home-band .gc-home-collection {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px 36px;
  margin-bottom: 30px;
}

.gc-home-band .gc-home-track {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 20px;
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: 18px;
}
.gc-home-band .gc-home-track::-webkit-scrollbar { display: none; }

.gc-home-band .gc-home-slide {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  min-width: 0;
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  border: 1px solid #dfd8c9;
  border-radius: 18px;
  background: var(--gc-layout-paper, #fbfaf6);
  text-align: start;
}

.gc-home-band .gc-home-cover {
  position: relative;
  display: block;
  min-height: clamp(330px, 37vw, 470px);
}
.gc-home-band .gc-home-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gc-home-band .gc-home-cover:focus-visible { outline-offset: -4px; }
.gc-home-band .gc-home-sold {
  position: absolute;
  inset-block-start: 16px;
  inset-inline-start: 16px;
  padding: 5px 11px;
  border-radius: 7px;
  background: var(--gc-layout-navy, #111e2f);
  color: #fbfaf6;
  font: 600 11px/1.5 Inter, system-ui, sans-serif;
  text-transform: uppercase;
}

.gc-home-band .gc-home-property-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: clamp(20px, 3.2vw, 38px);
}
.gc-home-band .gc-home-property-copy h3 {
  margin: 0 0 14px;
  color: var(--gc-layout-navy, #111e2f);
  font: 600 clamp(20px, 2.3vw, 30px)/1.3 Inter, system-ui, sans-serif;
}
.gc-home-band .gc-home-property-copy p:not(.gc-home-eyebrow) { margin-bottom: 20px; font-size: 14px; }
.gc-home-band .gc-home-facts {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 18px;
  width: 100%;
  margin: auto 0 0;
  padding-block: 12px;
  border-block: 1px solid #dfd8c9;
}
.gc-home-band .gc-home-facts dt { font-size: 11px; text-transform: uppercase; }
.gc-home-band .gc-home-facts dd {
  margin: 2px 0 0;
  color: var(--gc-layout-navy, #111e2f);
  font: 500 20px/1.25 Inter, system-ui, sans-serif;
}

.gc-home-band .gc-home-carousel-footer,
.gc-home-band .gc-home-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.gc-home-band .gc-home-carousel-footer { margin-top: 16px; }
.gc-home-band .gc-home-thumbnails {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-width: 0;
  width: min(880px, 100%);
  gap: 10px;
}
.gc-home-band .gc-home-thumbnail {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 8px;
  padding: 6px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: transparent;
  color: var(--gc-layout-navy, #111e2f);
  font: 600 11px/1.4 Inter, system-ui, sans-serif;
  cursor: pointer;
}
.gc-home-band .gc-home-thumbnail[aria-pressed=true] {
  border-color: #b69a67;
  background: var(--gc-layout-paper, #fbfaf6);
}
.gc-home-band .gc-home-thumbnail img {
  width: clamp(42px, 5.6vw, 72px);
  height: 50px;
  flex: none;
  border-radius: 6px;
  object-fit: cover;
}
.gc-home-band .gc-home-thumbnail span { text-align: start; overflow-wrap: anywhere; }
.gc-home-band .gc-home-controls { flex-shrink: 0; font-variant-numeric: tabular-nums; font-size: 12px; }
.gc-home-band .gc-home-controls button {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #111e2f;
  border-radius: 50%;
  background: #111e2f;
  color: #fbfaf6;
  font: 500 19px/1 Inter, system-ui, sans-serif;
  cursor: pointer;
}
.gc-home-band .gc-home-controls button:disabled { border-color: #c4beb1; background: transparent; color: #71767a; cursor: default; }
.gc-home-band [hidden] { display: none; }
.gc-home-band .gc-home-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media (max-width: 820px) {
  .gc-home-band :is(.gc-home-split, .gc-home-slide) { grid-template-columns: minmax(0, 1fr); }
  .gc-home-band .gc-home-cover { min-height: clamp(210px, 55vw, 380px); }
  .gc-home-band .gc-home-collection { align-items: start; flex-direction: column; margin-bottom: 20px; }
  .gc-home-band .gc-home-collection .gc-home-link { margin-top: 0; }
  .gc-home-band .gc-home-carousel-footer { flex-wrap: wrap; }
  .gc-home-band .gc-home-controls { margin-inline-start: auto; }
}

@media (max-width: 540px) {
  .gc-home-band .gc-home-thumbnails { gap: 6px; }
  .gc-home-band .gc-home-thumbnail { flex-direction: column; align-items: start; font-size: 10px; }
  .gc-home-band .gc-home-thumbnail img { width: 100%; height: 57px; }
}
