/* ─────────────────────────────────────────────────────────────
   Bayou City Breastfeeding · Awards & recognition component
   Drop-in module. Three layouts:
     .aw-grid    — full treatment (about, awards page)
     .aw-strip   — compact horizontal row (homepage trust band)
     .aw-inline  — single-badge callout (location, insurance pages)
     .aw-footer  — monochrome micro-row (footer / dark bands)

   Pair with `colors_and_type.css`. No JS required.
   ───────────────────────────────────────────────────────────── */

/* ─── Section wrappers (optional — pages can supply their own) */
.aw-section { padding: var(--sec-pad-y) 32px; }
.aw-inner   { max-width: 1180px; margin: 0 auto; }

.aw-head { text-align: center; margin-bottom: 40px; }
.aw-head .eyebrow { color: var(--pink-500); margin: 0 0 14px; display: inline-block; }
.aw-head h2 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(28px, 3.2vw, 40px); line-height: 1.1;
  letter-spacing: -0.02em; color: var(--pink-500);
  margin: 0 0 14px; text-wrap: balance;
}
.aw-head p {
  margin: 0 auto; max-width: 600px;
  font-size: 16px; line-height: 1.6; color: var(--navy-500);
  text-wrap: pretty;
}

/* ─── Grid layout (about page / awards page) ──────────────── */
.aw-grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(4, 1fr);
}
.aw-grid--3 { grid-template-columns: repeat(3, 1fr); max-width: 980px; margin-left: auto; margin-right: auto; }
.aw-grid--2 { grid-template-columns: repeat(2, 1fr); max-width: 720px; margin-left: auto; margin-right: auto; }
@media (max-width: 960px) { .aw-grid                  { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .aw-grid, .aw-grid--3, .aw-grid--2 { grid-template-columns: 1fr; } }

.aw-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 26px 22px 24px;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 16px;
  box-shadow: 0 1px 3px rgba(31,45,64,0.05), 0 12px 32px rgba(31,45,64,0.08);
  position: relative;
  transition: transform var(--dur-base), box-shadow var(--dur-base);
}
.aw-card--lift {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.aw-logo {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: flex; align-items: center; justify-content: center;
  padding: 8px;
}
.aw-logo img {
  max-width: 100%; max-height: 100%;
  width: auto; height: auto;
  object-fit: contain;
}
/* Some logos (e.g. circular badges) want a square ratio */
.aw-logo--square { aspect-ratio: 1 / 1; }
.aw-logo--wide   { aspect-ratio: 16 / 9; }

.aw-card__title {
  font-family: var(--font-accent); font-weight: 700;
  font-size: 13px; letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--pink-500);
  margin: 0;
}
.aw-card__name {
  font-family: var(--font-display); font-weight: 700;
  font-size: 18px; line-height: 1.25;
  letter-spacing: -0.012em; color: var(--navy-700);
  margin: 0; text-wrap: balance;
}
.aw-card__caption {
  font-family: var(--font-sans); font-weight: 500;
  font-size: 13.5px; line-height: 1.5;
  color: var(--navy-500); margin: 0;
  text-wrap: pretty;
}
.aw-card__pin {
  display: inline-block;
  font-family: var(--font-accent); font-weight: 700;
  font-size: 11px; letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--pink-700); background: var(--pink-50);
  padding: 5px 11px; border-radius: 999px;
  margin-top: 4px;
}

/* ─── Strip layout (homepage trust band) ───────────────────── */
.aw-strip {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: center;
  gap: clamp(32px, 5vw, 64px);
  padding: 8px 0;
}
.aw-strip__item {
  display: flex; flex-direction: column; align-items: center;
  gap: 8px; min-width: 0;
}
.aw-strip__logo {
  height: 64px;
  display: flex; align-items: center; justify-content: center;
}
.aw-strip__logo img {
  max-height: 100%; width: auto;
  object-fit: contain;
}
.aw-strip__label {
  font-family: var(--font-sans); font-weight: 600;
  font-size: 11.5px; letter-spacing: 0.04em;
  color: var(--navy-400); text-align: center;
  max-width: 180px; line-height: 1.4;
}

/* ─── Inline single badge (callout in body content) ──────── */
.aw-inline {
  display: inline-flex; align-items: center; gap: 18px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 16px 22px 16px 16px;
  box-shadow: 0 1px 3px rgba(31,45,64,0.05), 0 8px 20px rgba(31,45,64,0.06);
  max-width: 460px;
}
.aw-inline--lift {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.aw-inline__logo {
  flex-shrink: 0;
  width: 72px; height: 72px;
  display: flex; align-items: center; justify-content: center;
  background: var(--white);
  border-radius: 12px;
  padding: 6px;
  box-shadow: var(--shadow-md);
}
.aw-inline__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.aw-inline__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.aw-inline__title {
  font-family: var(--font-accent); font-weight: 700;
  font-size: 11px; letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--pink-500);
}
.aw-inline__name {
  font-family: var(--font-display); font-weight: 700;
  font-size: 15.5px; line-height: 1.25;
  color: var(--navy-700); letter-spacing: -0.01em;
  text-wrap: balance;
}
.aw-inline__caption {
  font-family: var(--font-sans); font-size: 12.5px; line-height: 1.45;
  color: var(--navy-400);
}

/* ─── Footer micro-row (monochrome on dark band) ─────────── */
.aw-footer {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: center;
  gap: clamp(20px, 3vw, 36px);
  padding: 16px 0;
}
.aw-footer__item {
  display: flex; align-items: center; gap: 10px;
  opacity: 0.78;
  transition: opacity var(--dur-base);
}
.aw-footer__item:hover { opacity: 1; }
.aw-footer__logo {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  padding: 4px;
  flex-shrink: 0;
}
.aw-footer__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.aw-footer__text {
  font-family: var(--font-sans); font-weight: 600;
  font-size: 11.5px; line-height: 1.3;
  color: rgba(255, 255, 255, 0.86);
  letter-spacing: 0.02em;
  max-width: 180px;
}
.aw-footer__text strong {
  display: block; font-weight: 700;
  color: var(--white);
  font-size: 12px;
}

/* ─── Dark-band variant (for use over navy / dark sections) */
.aw-section--dark .aw-head h2,
.aw-section--dark .aw-head .eyebrow { color: var(--white); }
.aw-section--dark .aw-head .eyebrow { color: var(--pink-200); }
.aw-section--dark .aw-head p { color: rgba(255,255,255,0.78); }
.aw-section--dark .aw-strip__label { color: rgba(255,255,255,0.72); }

/* ─── Smooth on hover (optional emphasis) ────────────────── */
.aw-card:hover { transform: translateY(-2px); box-shadow: 0 1px 3px rgba(31,45,64,0.05), 0 18px 40px rgba(31,45,64,0.12); }
