/**
 * Energy hub guide grid — card pattern aligned with switchermate.com residential
 * broadband guides (dark tile, blue top + left accent, resource-title / excerpt / link).
 * Loaded only on expertguides/energy/index.html (do not link full energy-guides.css here).
 */

#guides-grid.sm-energy-guides-grid .guide-card.resource-card {
  position: relative;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  min-height: 0;
  min-width: 0;
  margin: 0;
  padding: 1.5rem;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 3px solid #2e7dd2;
  border-left: 3px solid #2e7dd2;
  border-radius: 12px;
  transition: background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

#guides-grid.sm-energy-guides-grid .guide-card.resource-card:hover {
  background: rgba(46, 125, 210, 0.08);
  border-color: rgba(46, 125, 210, 0.45);
  border-top-color: #2e7dd2;
  border-left-color: #2e7dd2;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

#guides-grid.sm-energy-guides-grid .resource-title {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.3;
  color: #fff !important;
}

#guides-grid.sm-energy-guides-grid .resource-excerpt {
  margin: 0 0 1rem;
  flex: 1 1 auto;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.62) !important;
}

#guides-grid.sm-energy-guides-grid .guide-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.125rem;
}

#guides-grid.sm-energy-guides-grid .resource-link {
  color: #2e7dd2 !important;
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1.3;
}

#guides-grid.sm-energy-guides-grid .resource-meta {
  flex-shrink: 0;
  font-size: 0.8125rem;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.52) !important;
}
