/* Homepage regional hub — btcswiss Features 1.1 */

.btc-hub {
  max-width: 1120px;
  margin: 0 auto 2.5rem;
  padding: 0 1.25rem;
}

.btc-hub-hero {
  text-align: center;
  padding: 2.5rem 0 2rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  margin-bottom: 2rem;
}

.btc-hub-kicker {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--btc-muted, #78716c);
  margin: 0 0 0.75rem;
}

.btc-hub-title {
  font-family: var(--btc-font-heading, Fraunces, Georgia, serif);
  font-size: clamp(1.85rem, 4.5vw, 2.65rem);
  line-height: 1.15;
  color: var(--btc-primary, #0f172a);
  margin: 0 0 1rem;
  max-width: 20ch;
  margin-inline: auto;
}

.btc-hub-dek {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--btc-muted, #78716c);
  max-width: 42rem;
  margin: 0 auto 1.5rem;
}

.btc-hub-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}

.btc-hub-btn {
  display: inline-block;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(15, 23, 42, 0.15);
  color: var(--btc-primary, #0f172a);
  background: #fff;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.btc-hub-btn:hover {
  border-color: var(--btc-accent, #b45309);
  color: var(--btc-accent, #b45309);
}

.btc-hub-btn--primary {
  background: var(--btc-primary, #0f172a);
  color: #fafaf9 !important;
  border-color: transparent;
}

.btc-hub-btn--primary:hover {
  background: #1e293b;
  color: #fcd34d !important;
}

.btc-hub-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .btc-hub-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .btc-hub-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .btc-hub-card--ch {
    grid-column: span 1;
    border-color: var(--btc-accent, #b45309);
    box-shadow: 0 0 0 1px rgba(180, 83, 9, 0.2), var(--btc-shadow, 0 8px 24px rgba(15, 23, 42, 0.06));
  }
}

.btc-hub-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--btc-radius, 10px);
  padding: 1.25rem 1.35rem;
  box-shadow: var(--btc-shadow, 0 1px 2px rgba(15, 23, 42, 0.06));
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.btc-hub-card h2 {
  font-family: var(--btc-font-heading, Fraunces, Georgia, serif);
  font-size: 1.2rem;
  margin: 0 0 0.35rem;
}

.btc-hub-card h2 a {
  color: var(--btc-primary, #0f172a);
  text-decoration: none;
}

.btc-hub-card h2 a:hover {
  color: var(--btc-accent, #b45309);
}

.btc-hub-card-blurb {
  font-size: 0.85rem;
  color: var(--btc-muted, #78716c);
  margin: 0 0 1rem;
}

.btc-hub-list {
  list-style: none;
  margin: 0 0 auto;
  padding: 0;
  flex: 1;
}

.btc-hub-list li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  font-size: 0.92rem;
}

.btc-hub-list li:last-child {
  border-bottom: none;
}

.btc-hub-list a {
  font-weight: 600;
  color: var(--btc-primary, #0f172a);
  text-decoration: none;
  line-height: 1.35;
}

.btc-hub-list a:hover {
  color: var(--btc-accent, #b45309);
}

.btc-hub-list time {
  font-size: 0.75rem;
  color: var(--btc-muted, #78716c);
  font-family: var(--btc-font-mono, ui-monospace, monospace);
}

.btc-hub-more {
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--btc-accent, #b45309);
  text-decoration: none;
}

.btc-hub-empty {
  font-size: 0.88rem;
  color: var(--btc-muted, #78716c);
}

.btc-hub-latest {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.btc-hub-latest h2 {
  font-family: var(--btc-font-heading, Fraunces, Georgia, serif);
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.btc-hub-latest-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .btc-hub-latest-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 2rem;
  }
}

.btc-hub-latest-list li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.btc-hub-latest-list a {
  font-weight: 600;
  color: var(--btc-primary, #0f172a);
  text-decoration: none;
  line-height: 1.35;
}

.btc-hub-latest-list a:hover {
  color: var(--btc-accent, #b45309);
}

.btc-hub-meta {
  font-size: 0.78rem;
  color: var(--btc-muted, #78716c);
}

/* Hide default blog loop title noise on front when hub is present */
.home .btc-hub + .entries,
.home.btcswiss-hub-active .entries {
  margin-top: 2rem;
}
