/* Doggie General — shared styles for the "Recommended Gear" component.
   Loaded on article pages (via partials/header.php), resource hub pages,
   and the 7 non-emergency AI tools. Self-contained (no dependency on
   style.css variables) so it renders correctly on the standalone tool
   pages too. Bump the ?v= query string on any edit — Cloudflare/LiteSpeed
   cache CSS hard. */

.gear-rec-block {
  margin: 2.2rem 0;
  padding: 1.4rem 1.5rem 1.2rem;
  background: #f3f7fc;
  border: 1px solid #dce7f3;
  border-left: 4px solid #2563eb;
  border-radius: 10px;
}
.gear-rec-head-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.gear-rec-heading {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f3d68;
}
.gear-rec-hub-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: #1d4ed8;
  text-decoration: none;
  white-space: nowrap;
}
.gear-rec-hub-link:hover { text-decoration: underline; }
.gear-rec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1rem;
}
.gear-rec-item {
  background: #fff;
  border: 1px solid #e2eaf3;
  border-radius: 8px;
  padding: 0.85rem 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.gear-rec-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #14213d;
}
.gear-rec-reason {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.4;
  color: #445;
  flex: 1;
}
.gear-rec-cta {
  align-self: flex-start;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1d4ed8;
  text-decoration: none;
}
.gear-rec-cta:hover { text-decoration: underline; }
.gear-rec-disclosure {
  margin: 1rem 0 0;
  font-size: 0.75rem;
  color: #64748b;
}
.gear-rec-disclosure a { color: #64748b; text-decoration: underline; }

.gear-rec-bt-cta {
  margin: 2rem 0;
  padding: 1.1rem 1.3rem;
  background: #fff;
  border: 1px solid #dce7f3;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.gear-rec-bt-cta strong { color: #0f3d68; }
.gear-rec-bt-cta p { margin: 0.2rem 0 0; font-size: 0.88rem; color: #445; }

@media (max-width: 480px) {
  .gear-rec-block { padding: 1.1rem 1rem 1rem; }
  .gear-rec-bt-cta { flex-direction: column; align-items: flex-start; }
}
