/* Hub front — match site dark chrome (#1c1e27); light text on dark canvas. */
body.single-hub #main-content.aa-hub-page {
  --aa-hub-card: #252836;
  --aa-hub-card-border: #343849;
  --aa-hub-text: #e6ebf6;
  --aa-hub-text-dim: #9aa3b8;
  --aa-hub-grad-a: #e879f9;
  --aa-hub-grad-b: #a5b4fc;
  --aa-hub-grad-c: #2dd4bf;
  background-color: #1c1e27 !important;
  color: var(--aa-hub-text) !important;
}

/* Variables available to descendants. */
body.single-hub {
  --aa-hub-card: #252836;
  --aa-hub-card-border: #343849;
  --aa-hub-text: #e6ebf6;
  --aa-hub-text-dim: #9aa3b8;
  --aa-hub-grad-a: #e879f9;
  --aa-hub-grad-b: #a5b4fc;
  --aa-hub-grad-c: #2dd4bf;
}

.aa-hub-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 28px 80px;
  color: var(--aa-hub-text) !important;
  -webkit-text-fill-color: var(--aa-hub-text);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
}

.aa-hub-wrap,
.aa-hub-wrap p,
.aa-hub-wrap li,
.aa-hub-wrap a,
.aa-hub-wrap a:link,
.aa-hub-wrap a:visited,
.aa-hub-body,
.aa-hub-body p,
.aa-hub-subline,
.aa-hub-subline p,
.aa-hub-faq summary,
.aa-hub-faq .aa-hub-faq-answer,
.aa-hub-faq .aa-hub-faq-answer p {
  color: var(--aa-hub-text) !important;
  -webkit-text-fill-color: var(--aa-hub-text) !important;
}

.aa-hub-wrap h1.aa-hub-h1 {
  font-size: clamp(42px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: -0.01em;
  /* Solid fallback first — gradient clip when supported */
  color: var(--aa-hub-grad-b) !important;
  -webkit-text-fill-color: var(--aa-hub-grad-b);
  background: none;
  line-height: 1.08;
  margin: 12px 0 0;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .aa-hub-wrap h1.aa-hub-h1 {
    background: linear-gradient(90deg, var(--aa-hub-grad-a) 0%, var(--aa-hub-grad-b) 48%, var(--aa-hub-grad-c) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent !important;
  }
}

.aa-hub-subline {
  font-size: 18px;
  color: var(--aa-hub-text-dim) !important;
  -webkit-text-fill-color: var(--aa-hub-text-dim) !important;
  margin-top: 6px;
  font-weight: 500;
}

.aa-hub-subline p {
  margin: 0;
  font-size: inherit;
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
}

.aa-hub-wrap h2 {
  font-size: 30px;
  font-weight: 750;
  letter-spacing: -0.005em;
  margin: 0 0 14px;
  color: var(--aa-hub-text) !important;
  -webkit-text-fill-color: var(--aa-hub-text) !important;
}

/* Solid accent — no transparent fill (was washing out on some themes). */
.aa-hub-wrap h2 .accent {
  background: none !important;
  color: var(--aa-hub-grad-c) !important;
  -webkit-text-fill-color: var(--aa-hub-grad-c) !important;
}

.aa-hub-body {
  max-width: 780px;
  font-size: 16.5px;
}

.aa-hub-body p {
  margin: 0 0 10px;
}

.aa-hub-body a,
.aa-hub-body a:link,
.aa-hub-body a:visited,
.aa-hub-faq .aa-hub-faq-answer a,
.aa-hub-faq .aa-hub-faq-answer a:link,
.aa-hub-faq .aa-hub-faq-answer a:visited,
.aa-hub-viewall,
.aa-hub-viewall:link,
.aa-hub-viewall:visited {
  color: var(--aa-hub-grad-c) !important;
  -webkit-text-fill-color: var(--aa-hub-grad-c) !important;
}

.aa-hub-sep {
  border: 0;
  border-top: 1px solid var(--aa-hub-card-border);
  margin: 44px 0 28px;
}

.aa-hub-crumbs,
.aa-hub-crumbs #breadcrumbs,
.aa-hub-crumbs a,
.aa-hub-crumbs a:link,
.aa-hub-crumbs a:visited,
.aa-hub-crumbs span {
  font-size: 13.5px;
  color: var(--aa-hub-text-dim) !important;
  -webkit-text-fill-color: var(--aa-hub-text-dim) !important;
}

.aa-hub-crumbs a {
  text-decoration: none;
}

.aa-hub-crumbs a:hover {
  color: var(--aa-hub-grad-c) !important;
  -webkit-text-fill-color: var(--aa-hub-grad-c) !important;
}

.aa-hub-viewall {
  display: inline-block;
  margin-top: 18px;
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
}

.aa-hub-viewall:hover {
  text-decoration: underline;
}

.aa-hub-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 26px;
  list-style: none;
  padding: 0;
}

.aa-hub-pagination li {
  list-style: none;
  margin: 0;
}

.aa-hub-pagination a,
.aa-hub-pagination a:link,
.aa-hub-pagination a:visited,
.aa-hub-pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: 50%;
  color: var(--aa-hub-text-dim) !important;
  -webkit-text-fill-color: var(--aa-hub-text-dim) !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 14.5px;
  border: 1px solid transparent;
}

.aa-hub-pagination a:hover {
  border-color: var(--aa-hub-card-border);
  color: var(--aa-hub-text) !important;
  -webkit-text-fill-color: var(--aa-hub-text) !important;
}

.aa-hub-pagination .current {
  background: linear-gradient(135deg, var(--aa-hub-grad-b), var(--aa-hub-grad-c));
  color: #0d1017 !important;
  -webkit-text-fill-color: #0d1017 !important;
}

.aa-hub-ggrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 18px;
  margin-top: 6px;
}

.aa-hub-gcard,
.aa-hub-gcard:link,
.aa-hub-gcard:visited {
  background: var(--aa-hub-card) !important;
  border: 1px solid var(--aa-hub-card-border);
  border-radius: 12px;
  padding: 18px 20px;
  text-decoration: none;
  display: block;
  transition: border-color 0.15s;
  color: var(--aa-hub-text) !important;
  -webkit-text-fill-color: var(--aa-hub-text) !important;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.aa-hub-gcard:hover {
  border-color: var(--aa-hub-grad-a);
}

.aa-hub-gcard .kicker {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--aa-hub-grad-a) !important;
  -webkit-text-fill-color: var(--aa-hub-grad-a) !important;
}

.aa-hub-gcard h3 {
  color: var(--aa-hub-text) !important;
  -webkit-text-fill-color: var(--aa-hub-text) !important;
  font-size: 17px;
  margin: 6px 0 4px;
  font-weight: 700;
}

.aa-hub-gcard p,
.aa-hub-gcard .pdate {
  color: var(--aa-hub-text-dim) !important;
  -webkit-text-fill-color: var(--aa-hub-text-dim) !important;
  font-size: 14px;
  margin: 0;
}

.aa-hub-gcard .pdate {
  font-size: 12px;
  margin-top: 10px;
  display: block;
}

.aa-hub-faq details {
  background: var(--aa-hub-card) !important;
  border: 1px solid var(--aa-hub-card-border);
  border-radius: 10px;
  margin-bottom: 12px;
  max-width: 820px;
}

.aa-hub-faq summary {
  cursor: pointer;
  padding: 15px 20px;
  font-weight: 650;
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--aa-hub-text) !important;
  -webkit-text-fill-color: var(--aa-hub-text) !important;
}

.aa-hub-faq summary::-webkit-details-marker {
  display: none;
}

.aa-hub-faq summary::after {
  content: '+';
  color: var(--aa-hub-grad-c);
  -webkit-text-fill-color: var(--aa-hub-grad-c);
  font-size: 20px;
  font-weight: 400;
}

.aa-hub-faq details[open] summary::after {
  content: '–';
}

.aa-hub-faq .aa-hub-faq-answer {
  padding: 0 20px 16px;
  font-size: 15px;
  max-width: 760px;
}

.aa-hub-faq .aa-hub-faq-answer p {
  margin: 0 0 8px;
}

/* Airdrop cards — dark surface, light text (match hub canvas). */
body.single-hub .aa-hub-grid .card,
body.single-hub .aa-hub-grid .card-item {
  background: var(--aa-hub-card) !important;
  border-color: var(--aa-hub-card-border) !important;
  color: var(--aa-hub-text) !important;
  -webkit-text-fill-color: var(--aa-hub-text) !important;
}

body.single-hub .aa-hub-grid .card *:not(.ribbon):not(.ribbon *):not(.label-featured):not(.active-label),
body.single-hub .aa-hub-grid .card-item *:not(.ribbon):not(.ribbon *):not(.label-featured):not(.active-label) {
  color: var(--aa-hub-text) !important;
  -webkit-text-fill-color: var(--aa-hub-text) !important;
}

body.single-hub .aa-hub-grid .card .title,
body.single-hub .aa-hub-grid .card .aa-card-title-link,
body.single-hub .aa-hub-grid .card .aa-card-title-link:link,
body.single-hub .aa-hub-grid .card .aa-card-title-link:visited,
body.single-hub .aa-hub-grid .card .amount,
body.single-hub .aa-hub-grid .card h4 {
  color: var(--aa-hub-text) !important;
  -webkit-text-fill-color: var(--aa-hub-text) !important;
}

body.single-hub .aa-hub-grid .card .approx,
body.single-hub .aa-hub-grid .card .icon-text,
body.single-hub .aa-hub-grid .card .card-date-label {
  color: var(--aa-hub-text-dim) !important;
  -webkit-text-fill-color: var(--aa-hub-text-dim) !important;
}

.aa-hub-grid .card-date-row {
  margin-top: 10px;
}

.aa-hub-grid .card-date-label {
  font-size: 12px;
  color: var(--aa-hub-text-dim) !important;
  -webkit-text-fill-color: var(--aa-hub-text-dim) !important;
}

.aa-hub-grid .airdrop-search-container {
  margin-top: 6px;
}

body.single-hub .entry-title,
body.single-hub h1.et_pb_module_header,
body.single-hub .page-title {
  display: none !important;
}

body.single-hub #page-container {
  padding-top: 128px !important;
}

body.single-hub #et-main-area,
body.single-hub #main-content {
  padding-top: 0 !important;
}

@media (max-width: 980px) {
  body.single-hub #page-container {
    padding-top: 104px !important;
  }

  .aa-hub-wrap {
    padding: 0 18px 60px;
  }
}
