/* Walker — Project Cards (Location, Services, Features, Composite)
   Centered auto-fit grid, no phantom columns, fancy lists. */

:root {
  --wc-card-gap: 20px;
  --wc-card-min: 280px;
  --wc-card-max: 420px; /* tune this to taste */
  --wc-teal: #00A5B1;
}

/* --- GRID LAYOUT --- */
.wc-card-grid {
  display: grid;
  gap: var(--wc-card-gap);
  grid-template-columns: repeat(auto-fit, minmax(var(--wc-card-min), var(--wc-card-max)));
  justify-content: center;

  max-width: calc(var(--wc-card-max) * 3 + var(--wc-card-gap) * 2); /* fits up to 3 cols */
  margin: 0 auto;
  padding: 10px;
}

/* ✅ Mobile fix: below 700px, stack cards full-width (no columns or side spacing) */
@media (max-width: 700px) {
  .wc-card-grid {
    grid-template-columns: 1fr !important; /* single column stack */
    justify-content: center;               /* center the stack */
    max-width: 100%;                       /* remove column constraint */
    padding-left: 0;
    padding-right: 0;
  }
  .wc-card {
    max-width: 92vw;                       /* prevent overflow and keep padding */
    margin: 0 auto;
  }
}

/* --- CARD --- */
.wc-card {
  background: #f9f9f9;
  border: 1px dotted rgba(0, 0, 0, 0.25);
  border-radius: 14px;
  padding: 18px 22px 22px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  width: 100%;
  max-width: var(--wc-card-max);
}

.wc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.08);
}

/* --- HEADER --- */
.wc-card__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px 0;
}

.wc-card__icon {
  display: inline-flex;
  line-height: 0;
  color: var(--wc-teal);
}

.wc-card__title {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 600;
  color: #1a1a1a;
}

/* --- BODY --- */
.wc-card__body { margin: 0; }

/* --- FANCY LISTS --- */
.wc-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.wc-card__item {
  position: relative;
  padding-left: 24px;
  font-size: 0.96rem;
  color: #333;
  line-height: 1.4;
}

.wc-card__item::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0.6em;
  width: 6px;
  height: 6px;
  background: var(--wc-teal);
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(0, 165, 177, 0.15);
}

/* --- LINKS --- */
.wc-card__link {
  text-decoration: none;
  color: #0a6c73;
  border-bottom: 1px dotted rgba(10, 108, 115, 0.4);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.wc-card__link:hover,
.wc-card__link:focus {
  color: #005e64;
  border-bottom-color: rgba(0, 94, 100, 0.7);
}

.wc-card__text { color: #333; }

/* --- Theme Fix --- */
.wc-card-grid.d-inline-block,
.wc-card-grid[class*="d-inline"] {
  display: grid !important;
}

.wc-card-grid {
  width: auto;
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
}

.wc-card-grid,
.wc-card-grid * {
  text-align: initial;
}

/* Walker — Project Cards: responsive 1/2/3-up without phantom columns */
:root{
  --wc-card-gap: 20px;
  --wc-card-min: 280px; /* tweak to taste (260–320 works well) */
}

/* Base: auto-fit creates as many columns as will fit, each >= min */
.wc-card-grid{
  display: grid;
  gap: var(--wc-card-gap);
  grid-template-columns: repeat(auto-fit, minmax(var(--wc-card-min), 1fr));
  align-items: stretch;
}

/* Mobile: always 1-up */
@media (max-width: 700px){
  .wc-card-grid{
    grid-template-columns: 1fr;
  }
}

/* Optional: exactly 2 or 3 items — force perfect 2-up or 3-up when space allows */
@media (min-width: 700px){
  /* Exactly 2 cards */
  .wc-card-grid:has(> *:nth-child(2):last-child){
    grid-template-columns: repeat(2, 1fr);
  }
  /* Exactly 3 cards */
  .wc-card-grid:has(> *:nth-child(3):last-child){
    grid-template-columns: repeat(3, 1fr);
  }
}

#project_description {

}
#project_description h3{
padding-top: 40px;
padding-bottom: 20px;
}
