/* =========================
   Offices block (Gilcon)
   ========================= */

.offices { background: var(--offices-bg, transparent); }
.offices--pad-sm { padding-block: 24px; }
.offices--pad-md { padding-block: 40px; }
.offices--pad-lg { padding-block: 64px; }

.offices__title { margin: 0 0 1rem; }

/* Grid */
.offices__grid{
  display:grid;
  gap: clamp(16px, 3vw, 32px);
  grid-template-columns: 1fr; /* mobile */
}

@media (min-width: 960px){
  .offices__grid{ grid-template-columns: repeat(2, 1fr); }
}

/* Card */
.office-card{
  background: #f5f5f5;                  /* soft tile feel */
  border-radius: var(--radius, 12px);
  box-shadow: var(--shadow-sm, 2px 4px 20px rgba(0,0,0,.10));
  padding: clamp(16px, 2vw, 24px);
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
}

/* Headings and lines */
.office-card__title{
  margin: 0 0 .75rem;
  color: var(--accent);
  font-size: var(--step-1);
}

.office-card__line{
  margin: 0 0 .5rem;
  color: var(--muted, #6B7280);
  font-size: var(--step-0, 1rem);
}

/* Media */
.office-card__media{
  margin: .5rem 0 1rem;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: var(--radius, 12px);
  box-shadow: var(--shadow-sm, 2px 4px 20px rgba(0,0,0,.10));
}
.office-card__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
}

/* Link pinned to bottom */
.office-card__link{
  margin-top: auto;
  align-self: flex-start;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
}
.office-card__link:hover{ color: var(--brand); }
.office-card__link::after{ content: "  ›"; }
