/* cb-venue-grid.css — 5-venue proof grid section on the Crystal Ballroom parent case study */
/* Owns: .cbvg-* styles for the "5 venues we ran marketing for" grid section */
/* Does NOT own: existing cb2-* or cb-* classes; those live in case-study-cb2.css */

/* ======== SECTION WRAPPER ======== */
.cbvg-section {
  background: #FAF8F3;
  padding: 80px 32px;
  border-top: 1px solid #EDE8DF;
}
.cbvg-inner {
  max-width: 1080px;
  margin: 0 auto;
}
.cbvg-section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #C9A961;
  margin-bottom: 16px;
}
.cbvg-section-h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400;
  color: #1A1612;
  line-height: 1.2;
  margin: 0 0 16px;
}
.cbvg-intro {
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  color: #5A4A3A;
  line-height: 1.7;
  margin-bottom: 48px;
  max-width: 620px;
}

/* ======== GRID ======== */
.cbvg-grid {
  display: grid;
  /* 3 cols desktop, middle row offset by centering 2 on bottom */
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ======== CARD ======== */
.cbvg-card {
  background: #FAF8F3;
  border-bottom: 2px solid #C9A961;
  border-radius: 2px;
  text-decoration: none;
  display: block;
  transition: transform 0.2s, box-shadow 0.2s;
  overflow: hidden;
}
.cbvg-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(26,22,18,0.12);
}

/* 16:9 photo */
.cbvg-card-photo-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  overflow: hidden;
  background: #EDE8DF;
}
.cbvg-card-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.cbvg-card:hover .cbvg-card-photo { transform: scale(1.04); }

.cbvg-card-body {
  padding: 20px 22px 24px;
}
.cbvg-card-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  color: #C9A961;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.cbvg-card-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: #1A1612;
  line-height: 1.2;
  margin: 0 0 4px;
}
.cbvg-card-city {
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8A7A6A;
  margin-bottom: 10px;
}
.cbvg-card-capacity {
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  color: #5A4A3A;
  margin-bottom: 10px;
  font-weight: 500;
}
.cbvg-card-feature {
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  line-height: 1.6;
  color: #7A6A58;
}
.cbvg-card-cta {
  display: inline-block;
  margin-top: 14px;
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #C9A961;
  font-weight: 600;
}

/* Bottom row: 2 cards centered — achieved with auto-placement + margin trick */
.cbvg-card:nth-child(4) {
  grid-column: 1;
}
.cbvg-card:nth-child(5) {
  grid-column: 2;
}

/* ======== RESPONSIVE ======== */
@media (max-width: 860px) {
  .cbvg-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cbvg-card:nth-child(4),
  .cbvg-card:nth-child(5) {
    grid-column: auto;
  }
  .cbvg-card:nth-child(5) {
    grid-column: 1 / -1;
    max-width: 460px;
    margin: 0 auto;
    width: 100%;
  }
}
@media (max-width: 560px) {
  .cbvg-section { padding: 56px 20px; }
  .cbvg-grid { grid-template-columns: 1fr; }
  .cbvg-card:nth-child(5) {
    grid-column: auto;
    max-width: none;
  }
}
