/* ═══════════════════════════════════════
   VENDORS.CSS - Vendors page
   Loaded after main.css. Styles for this page's own sections only.
═══════════════════════════════════════ */

/* ── HERO ── */
/* The hero's look is the shared .photo-hero in main.css. This only frames
   the photo. */
.photo-hero-photo img { object-position: center; }

/* ── VENDOR SECTIONS ── */
/* One section per vendor type. A type with one vendor sets its heading beside
   the card (.ven-solo). */
.ven-group { padding: 4rem 0; }
.ven-solo {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 3rem;
  align-items: center;
}
.ven-solo .split-head { margin-bottom: 0; }
.ven-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.ven-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ven-card {
  display: flex;
  flex-direction: column;
  background: var(--cream-light);
  border: 1px solid var(--gold);
  box-shadow: 0 18px 40px -24px rgba(0, 51, 42, 0.35);
  overflow: hidden;
}
/* Every logo sits in the same size box. An empty box is waiting for a logo. */
.ven-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 140px;
  padding: 1rem 1.5rem;
  background: var(--white);
  border-bottom: 1px solid var(--gold);
}
.ven-logo img {
  width: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
/* For logos with white or pale lettering. */
.ven-logo-dark { background: var(--green-dark); }
/* For a vendor with a food photo in place of a logo. */
.ven-logo-photo { padding: 0; }
.ven-logo-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* A tall portrait, cropped square to head and shoulders. */
.ven-logo-portrait { padding: 0.5rem; }
.ven-logo-portrait img {
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 24%;
  border-radius: var(--radius);
}
.ven-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 1.25rem 1.5rem 1.5rem;
}
.ven-body h3 { margin-bottom: 0.4rem; }
/* Keeps the card's dark text inside a green section. */
.section-green .ven-card { color: var(--text); }
.section-green .ven-card h3 { color: var(--green); }
.section-green .split-head p { color: var(--white); }
.ven-body p { font-size: 1.05rem; line-height: 1.5; }
.ven-contact {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.25rem;
  margin-top: auto;
  padding-top: 1rem;
}
.ven-contact a:not(.btn) {
  display: inline-block;
  padding: 0.35rem 0;
  font-family: var(--font-head);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--green);
}
.ven-btn {
  font-size: 0.98rem;
  padding: 0.6rem 1.1rem;
}

/* ── FINAL CTA ── */
/* Moves the photo so the bridal party's faces clear the top of the card. */
.page-cta-photo img { object-position: center 35%; }

/* ══════════════════════
   SMALL TABLET (≤ 900px)
══════════════════════ */
@media (max-width: 900px) {
  .ven-solo { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .ven-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ══════════════════════
   MOBILE (≤ 768px)
══════════════════════ */
@media (max-width: 768px) {
  .ven-group { padding: 3.25rem 0; }
  .ven-grid,
  .ven-grid-2 { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
  .ven-logo { height: 120px; }
  .ven-body { padding: 1.1rem 1.25rem 1.25rem; }
  .ven-contact { padding-top: 0.6rem; }
  .ven-contact a:not(.btn) { padding: 0.65rem 0; }
}
