/* /wow-forever/guides/ hub (forever_guides/hub.py): loading-screen hero, art cards, profession tiles.
   Palette tokens only (docs/ui-ux/17-blizzard-palette.md). No gradients, no glows, no green chrome.
   Art is first-party Blizzard loading-screen and icon art, displayed with credit, never offered as a download. */

.fgh-hero {
  position: relative;
  min-height: 400px;
  border: 1px solid var(--wgf-metal, #6e5a2a);
  border-radius: 6px;
  overflow: hidden;
  background-color: var(--wgf-panel-1, #0d0f14);
  background-image: var(--fgh-art);
  background-size: cover;
  background-position: center 62%;
  display: flex;
  align-items: flex-end;
  margin-bottom: 18px;
}
.fgh-hero__plate {
  width: 100%;
  background: rgba(8, 9, 12, 0.74);
  border-top: 1px solid var(--wgf-metal, #6e5a2a);
  padding: 18px 22px 16px;
}
.fgh-hero__kicker {
  margin: 0 0 4px;
  color: var(--wgf-gold-muted, #b7912f);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.fgh-hero__title {
  margin: 0 0 8px;
  color: var(--wgf-gold-primary, #ffd100);
  font-size: 34px;
  line-height: 1.1;
  font-variant: small-caps;
}
.fgh-hero__lead { margin: 0 0 12px; max-width: 62ch; color: #f4ecd8; font-size: 15px; }
.fgh-stats { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.fgh-stats li {
  border: 1px solid var(--wgf-metal, #6e5a2a);
  border-radius: 4px;
  background: var(--wgf-panel-2, #14161c);
  padding: 4px 10px;
  color: #f4ecd8;
  font-size: 13px;
}
.fgh-stats strong { color: var(--wgf-gold-primary, #ffd100); margin-right: 4px; }

.fgh-section { margin: 0 0 22px; }
.fgh-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 10px; }
.fgh-section__title { margin: 0; color: var(--wgf-gold-primary, #ffd100); font-size: 20px; font-variant: small-caps; }
.fgh-section__note { margin: 0; color: var(--wgf-muted, #a89f8a); font-size: 13px; }

.fgh-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.fgh-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--wgf-metal, #6e5a2a);
  border-radius: 6px;
  overflow: hidden;
  background: var(--wgf-panel-1, #0d0f14);
  color: #f4ecd8;
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.fgh-card:hover, .fgh-card:focus-visible { border-color: var(--wgf-gold-primary, #ffd100); transform: translateY(-2px); }
.fgh-card__art {
  position: relative;
  height: 150px;
  background-color: var(--wgf-panel-2, #14161c);
  background-image: var(--fgh-art);
  background-size: cover;
  background-position: center 64%;
  border-bottom: 1px solid var(--wgf-metal, #6e5a2a);
}
.fgh-card__badge {
  position: absolute;
  left: 14px;
  bottom: -22px;
  width: 48px;
  height: 48px;
  border: 2px solid var(--wgf-gold-muted, #b7912f);
  border-radius: 6px;
  background: var(--wgf-panel-1, #0d0f14);
  object-fit: cover;
}
.fgh-card__body { padding: 28px 16px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.fgh-card__title { margin: 0; color: var(--wgf-gold-primary, #ffd100); font-size: 18px; line-height: 1.25; }
.fgh-card__desc { margin: 0; font-size: 14px; line-height: 1.45; }
.fgh-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: auto 0 0; padding: 0; list-style: none; }
.fgh-tags li {
  border: 1px solid var(--wgf-metal, #6e5a2a);
  border-radius: 3px;
  padding: 1px 7px;
  font-size: 12px;
  color: var(--wgf-gold-muted, #b7912f);
}
.fgh-card__foot { margin: 0; font-size: 12px; color: var(--wgf-muted, #a89f8a); }

.fgh-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 10px; }
.fgh-tile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--wgf-metal, #6e5a2a);
  border-radius: 5px;
  background: var(--wgf-panel-2, #14161c);
  color: #f4ecd8;
  text-decoration: none;
  transition: border-color 0.15s ease;
}
.fgh-tile:hover, .fgh-tile:focus-visible { border-color: var(--wgf-gold-primary, #ffd100); }
.fgh-tile img { width: 36px; height: 36px; border: 1px solid var(--wgf-gold-muted, #b7912f); border-radius: 4px; flex: none; }
.fgh-tile__name { color: var(--wgf-gold-primary, #ffd100); font-size: 14px; line-height: 1.2; }
.fgh-tile__sub { display: block; color: var(--wgf-muted, #a89f8a); font-size: 12px; }

.fgh-credit { margin: 4px 0 0; color: var(--wgf-muted, #a89f8a); font-size: 12px; }

@media (max-width: 640px) {
  .fgh-hero { min-height: 240px; }
  .fgh-hero__title { font-size: 26px; }
  .fgh-hero__plate { padding: 14px 16px 12px; }
  .fgh-card__art { height: 120px; }
}
@media (prefers-reduced-motion: reduce) {
  .fgh-card, .fgh-tile { transition: none; }
  .fgh-card:hover, .fgh-card:focus-visible { transform: none; }
}
