/*
 * YMCA of Greater Tulsa — fitness.css
 * Fitness page template
 */

.fit-wrap {
  max-width: 1500px;
  margin: 0 auto;
  padding: 64px var(--pad, 64px) 96px;
}

/* ── Intro ── */
.fit-intro {
  margin-bottom: 64px;
  padding-bottom: 56px;
  border-bottom: 0.5px solid #ebebeb;
  max-width: 860px;
}
.fit-intro-copy {
  font-size: 16px;
  line-height: 1.85;
  color: #555;
  margin-bottom: 28px;
}
.fit-intro-copy p { margin-bottom: 14px; }
.fit-intro-copy p:last-child { margin-bottom: 0; }

/* ── Buttons ── */
.fit-btn-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.fit-btn {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 13px 28px;
  border-radius: 4px;
  border: 1.5px solid transparent;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  white-space: nowrap;
}
.fit-btn-primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.fit-btn-primary:hover {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.fit-btn-ghost {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.fit-btn-ghost:hover {
  background: var(--blue);
  color: #fff;
}

/* ── Sections ── */
.fit-sections {
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.fit-section-band { margin-bottom: 24px; }

/* ── Card grid — matches Ways to Save ── */
.fit-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ── Card ── */
.fit-card {
  border: 0.5px solid #e8e8e8;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.fit-card:hover {
  border-color: #c0c0c0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.fit-card-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}
.fit-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.fit-card-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.fit-card-eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 6px;
}
.fit-card-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.3;
  margin-bottom: 8px;
}
.fit-card-copy {
  font-size: 14px;
  line-height: 1.75;
  color: #888;
  flex: 1;
  margin-bottom: 16px;
}
.fit-card-copy p { margin-bottom: 8px; }
.fit-card-copy p:last-child { margin-bottom: 0; }
.fit-card-btn {
  display: block;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  padding: 11px 24px;
  border-radius: 4px;
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  margin-top: auto;
  transition: background 0.15s;
}
.fit-card-btn:hover { background: var(--green); }

/* ── Outro ── */
.fit-outro {
  margin-top: 64px;
  padding-top: 56px;
  border-top: 0.5px solid #ebebeb;
}
.fit-outro-copy {
  font-size: 16px;
  line-height: 1.85;
  color: #555;
  margin-bottom: 28px;
  max-width: 860px;
}
.fit-outro-copy p { margin-bottom: 14px; }
.fit-outro-copy p:last-child { margin-bottom: 0; }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .fit-card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .fit-wrap { padding: 48px var(--pad, 20px) 64px; }
  .fit-card-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .fit-btn-group { flex-direction: column; }
  .fit-btn { text-align: center; justify-content: center; }
}
@media (max-width: 480px) {
  .fit-card-grid { grid-template-columns: 1fr; }
}
