/* ==========================================================================
   More Hub Page Styles (Visual Directory / Hub)
   ========================================================================== */

.more-hub-page {
  background: var(--cream);
}

/* Hub Hero */
.more-hub-hero {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 8vw 8vw 5vw;
  background: #fff;
}

.more-hub-hero-inner {
  max-width: 920px;
}

.more-hub-hero h1 {
  font-size: clamp(40px, 5.5vw, 84px);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 0 0 24px;
}

.more-hub-lead {
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.65;
  color: #444;
  margin: 0;
  max-width: 780px;
}

/* Hub Showcase Grid */
.more-hub-showcase {
  border-bottom: 1px solid var(--line);
}

.more-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.hub-card {
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hub-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.hub-card-media {
  position: relative;
  height: 400px;
  overflow: hidden;
  display: block;
  background: #111;
}

.hub-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease, filter 0.3s ease;
}

.hub-card:hover .hub-card-media img {
  transform: scale(1.05);
}

.hub-card-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.6) 100%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
}

.hub-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #fff;
  background: rgba(23, 23, 23, 0.85);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 14px;
  text-transform: uppercase;
}

.hub-card-body {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.hub-card-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--theme-main);
  text-transform: uppercase;
  margin: 0 0 10px;
  font-weight: 500;
}

.hub-card-body h2 {
  font-size: clamp(26px, 2.5vw, 36px);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 16px;
}

.hub-card-desc {
  font-size: 15px;
  line-height: 1.6;
  color: #555;
  margin: 0 0 32px;
}

.hub-card-body .outline-link {
  align-self: flex-start;
}

.bg-theme-action {
  background: var(--theme-main);
  color: #fff !important;
  border-color: var(--theme-main) !important;
}

.bg-theme-action:hover {
  background: #2b3d68 !important;
  border-color: #2b3d68 !important;
}

/* Responsive Rules */
@media (max-width: 1100px) {
  .more-hub-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .more-hub-grid {
    grid-template-columns: 1fr;
  }

  .hub-card-media {
    height: 300px;
  }
}

