.tech-hub-page {
  --hub-ink: #162c30;
  --hub-copy: #526166;
  --hub-paper: #f4f6f1;
  --hub-white: #fff;
  --hub-green: #14685d;
  --hub-coral: #dc6349;
  --hub-gold: #edc35f;
  --hub-line: rgba(22, 44, 48, 0.15);
  color: var(--hub-copy);
  background: var(--hub-paper);
}

.tech-hub-page h1,
.tech-hub-page h2,
.tech-hub-page h3,
.tech-hub-page .navbar-brand {
  color: var(--hub-ink);
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: 0;
}

.tech-hub-page .navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.tech-brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff;
  background: var(--hub-green);
  border-radius: 50%;
}

.tech-brand-name {
  font-size: 1.3rem;
  font-weight: 700;
}

.tech-hub-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 550px;
  overflow: hidden;
  color: #fff;
  background: var(--hub-ink);
  isolation: isolate;
}

.tech-hub-hero-image,
.tech-hub-hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.tech-hub-hero-image {
  z-index: -2;
  object-fit: cover;
  object-position: center 44%;
}

.tech-hub-hero-shade {
  z-index: -1;
  background: linear-gradient(90deg, rgba(15, 35, 37, 0.94) 0%, rgba(15, 35, 37, 0.79) 45%, rgba(15, 35, 37, 0.16) 100%), linear-gradient(0deg, rgba(15, 35, 37, 0.58), transparent 48%);
}

.tech-hub-hero-content {
  padding-top: 82px;
  padding-bottom: 76px;
  animation: tech-hub-enter 0.8s ease-out both;
}

.tech-hub-kicker,
.tech-hub-eyebrow {
  color: var(--hub-coral);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tech-hub-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #f4d889;
}

.tech-hub-kicker span,
.tech-hub-live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--hub-gold);
  border-radius: 50%;
}

.tech-hub-hero h1 {
  max-width: 820px;
  margin: 15px 0 18px;
  color: #fff;
  font-size: clamp(3.2rem, 7vw, 6.2rem);
  line-height: 0.98;
}

.tech-hub-hero h1 em,
.tech-hub-section-heading h2 em,
.tech-hub-next-step h2 em {
  color: var(--hub-gold);
  font-style: normal;
}

.tech-hub-intro {
  max-width: 590px;
  margin-bottom: 25px;
  color: rgba(255, 255, 255, 0.87);
  font-size: 1.13rem;
}

.tech-hub-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}

.tech-hub-primary-link,
.tech-hub-text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.tech-hub-primary-link {
  padding: 13px 17px;
  color: var(--hub-ink);
  background: var(--hub-gold);
  border-radius: 4px;
}

.tech-hub-primary-link:hover {
  color: var(--hub-ink);
  text-decoration: none;
  background: #f6d980;
}

.tech-hub-text-link {
  color: #fff;
}

.tech-hub-text-link:hover {
  color: var(--hub-gold);
  text-decoration: none;
}

.tech-hub-edition {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 58px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8rem;
}

.tech-hub-live-dot {
  width: 7px;
  height: 7px;
}

.tech-hub-metrics {
  color: #f6f4ea;
  background: var(--hub-ink);
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.tech-hub-metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(160px, 1.5fr);
  align-items: center;
  gap: 22px;
  padding-top: 25px;
  padding-bottom: 25px;
}

.tech-hub-metric {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tech-hub-metric strong {
  color: var(--hub-gold);
  font: 700 2rem/1 "Space Grotesk", sans-serif;
  font-variant-numeric: tabular-nums;
}

.tech-hub-metric span,
.tech-hub-metric-row > p {
  margin: 0;
  color: rgba(246, 244, 234, 0.72);
  font-size: 0.78rem;
}

.tech-hub-section {
  padding: 92px 0 100px;
}

.tech-hub-section-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  gap: 44px;
  margin-bottom: 40px;
}

.tech-hub-section-heading h2,
.tech-hub-next-step h2 {
  margin: 0;
  font-size: clamp(2.35rem, 4vw, 3.6rem);
  line-height: 1.05;
}

.tech-hub-section-heading h2 em,
.tech-hub-next-step h2 em {
  color: var(--hub-green);
}

.tech-hub-section-heading > p {
  max-width: 460px;
  margin: 0 0 4px;
  line-height: 1.75;
}

.tech-hub-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--hub-line);
}

.tech-filter {
  min-height: 40px;
  padding: 8px 13px;
  color: var(--hub-ink);
  background: transparent;
  border: 1px solid var(--hub-line);
  border-radius: 3px;
  font: 600 0.82rem "DM Sans", sans-serif;
  cursor: pointer;
}

.tech-filter:hover,
.tech-filter.is-active {
  color: #fff;
  background: var(--hub-green);
  border-color: var(--hub-green);
}

.tech-filter:focus-visible,
.tech-reaction:focus-visible,
.tech-hub-page a:focus-visible,
.tech-hub-page button:focus-visible {
  outline: 3px solid var(--hub-gold);
  outline-offset: 3px;
}

.tech-hub-result-count {
  min-height: 22px;
  margin: 12px 0 4px;
  color: #657277;
  font-size: 0.78rem;
}

.tech-resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 26px;
}

.tech-resource {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 25px 0 30px;
  border-top: 1px solid var(--hub-line);
  animation: tech-hub-enter 0.55s ease-out both;
}

.tech-resource[hidden] {
  display: none;
}

.tech-resource-meta {
  display: flex;
  justify-content: space-between;
  width: 100%;
  gap: 12px;
  color: #69777a;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.tech-resource-icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin: 23px 0 14px;
  place-items: center;
  color: var(--hub-ink);
  background: #f4d889;
  border-radius: 50%;
}

.icon-coral { background: #f8d7cb; color: #9b3b27; }
.icon-green { background: #cee5d7; color: #24694f; }
.icon-blue { background: #d5e4ed; color: #315b72; }
.icon-gold { background: #f4e5bd; color: #786023; }
.icon-teal { background: #c9e5df; color: #21665b; }

.tech-resource h3 {
  margin: 0 0 11px;
  font-size: 1.27rem;
  line-height: 1.28;
}

.tech-resource p,
.tech-resource li {
  font-size: 0.9rem;
  line-height: 1.65;
}

.tech-resource p {
  margin: 0 0 10px;
}

.tech-resource ul {
  padding-left: 18px;
  margin: 0 0 17px;
}

.tech-resource li + li {
  margin-top: 4px;
}

.tech-resource-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
  color: var(--hub-green);
  font-size: 0.84rem;
  font-weight: 700;
}

.tech-resource-link:hover {
  color: #9b3b27;
  text-decoration: none;
}

.tech-reaction {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  margin-top: 15px;
  padding: 7px 10px;
  color: var(--hub-ink);
  background: transparent;
  border: 1px solid var(--hub-line);
  border-radius: 3px;
  font: 600 0.78rem "DM Sans", sans-serif;
  cursor: pointer;
}

.tech-reaction[aria-pressed="true"] {
  color: #9b3b27;
  background: #f8d7cb;
  border-color: #e8b3a4;
}

.tech-reaction span {
  font-variant-numeric: tabular-nums;
}

.tech-hub-community {
  padding: 83px 0 96px;
  color: #eff3ee;
  background: #e7ebe4;
  border-top: 1px solid var(--hub-line);
  border-bottom: 1px solid var(--hub-line);
}

.community-heading {
  margin-bottom: 35px;
}

.community-heading > p {
  color: #526166;
}

.tech-community-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 1px;
  background: var(--hub-line);
  border: 1px solid var(--hub-line);
}

.tech-widget {
  min-width: 0;
  padding: 30px;
  color: var(--hub-copy);
  background: #fff;
}

.tech-widget-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 17px;
  color: var(--hub-green);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.tech-widget-topline i {
  font-size: 1rem;
}

.tech-widget h3 {
  margin: 0 0 22px;
  font-size: 1.45rem;
}

.tech-poll fieldset {
  padding: 0;
  margin: 0;
  border: 0;
}

.tech-poll-option {
  position: relative;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 9px 0;
  margin: 0;
  color: var(--hub-ink);
  border-top: 1px solid var(--hub-line);
  cursor: pointer;
}

.tech-poll-option input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--hub-green);
}

.tech-poll-option > span:nth-of-type(1) {
  font-size: 0.84rem;
}

.poll-result {
  color: var(--hub-green);
  font-size: 0.8rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.poll-bar {
  grid-column: 2 / 4;
  height: 4px;
  overflow: hidden;
  background: #e4e9e6;
}

.poll-bar i {
  display: block;
  width: 0;
  height: 100%;
  background: var(--hub-coral);
  transition: width 0.35s ease;
}

.tech-vote-button {
  margin-top: 18px;
}

.tech-widget-status,
.tech-poll-total {
  margin: 12px 0 0;
  color: #687579;
  font-size: 0.74rem;
}

.tech-poll-total strong {
  color: var(--hub-green);
  font-size: 1rem;
}

.tech-comments form > label {
  display: block;
  margin: 12px 0 6px;
  color: var(--hub-ink);
  font-size: 0.8rem;
  font-weight: 700;
}

.tech-comments .form-control {
  min-height: 44px;
  color: var(--hub-ink);
  background: #f7f8f5;
  border: 1px solid var(--hub-line);
  border-radius: 3px;
  font-size: 0.88rem;
}

.tech-comments textarea.form-control {
  min-height: 95px;
  resize: vertical;
}

.tech-comment-submit,
.tech-comment-list-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tech-comment-submit {
  margin-top: 12px;
}

.tech-comment-submit small,
.tech-comment-list-heading span {
  color: #687579;
  font-size: 0.72rem;
}

.tech-comment-list-heading {
  padding-top: 18px;
  margin-top: 22px;
  color: var(--hub-ink);
  border-top: 1px solid var(--hub-line);
}

.tech-comments-list {
  display: grid;
  gap: 10px;
  max-height: 270px;
  padding-top: 12px;
  overflow: auto;
}

.tech-comment {
  padding: 12px;
  background: #f4f6f1;
  border-left: 3px solid var(--hub-green);
}

.tech-comment header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 5px;
  color: var(--hub-ink);
  font-size: 0.75rem;
  font-weight: 700;
}

.tech-comment time {
  color: #687579;
  font-size: 0.68rem;
  font-weight: 400;
}

.tech-comment p,
.tech-empty-comments {
  margin: 0;
  color: var(--hub-copy);
  font-size: 0.82rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.tech-hub-next-step {
  padding: 65px 0;
  color: #fff;
  background: var(--hub-green);
}

.tech-next-step-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.tech-hub-next-step .tech-hub-eyebrow {
  color: #f4d889;
}

.tech-hub-next-step h2 {
  color: #fff;
  font-size: clamp(2.2rem, 4vw, 3.25rem);
}

.tech-hub-next-step h2 em {
  color: #f4d889;
}

.tech-hub-next-step .btn {
  flex: 0 0 auto;
  color: var(--hub-ink);
  background: #f4d889;
  border-color: #f4d889;
}

.tech-hub-footer {
  padding: 30px 0;
  color: rgba(255, 255, 255, 0.75);
  background: var(--hub-ink);
}

.tech-footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px 24px;
}

.tech-footer-brand {
  color: #fff;
  font: 700 1.1rem "Space Grotesk", sans-serif;
}

.tech-footer-inner p,
.tech-footer-inner small {
  margin: 0;
  font-size: 0.75rem;
}

.tech-footer-inner > div {
  display: flex;
  gap: 16px;
}

.tech-footer-inner > div a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.76rem;
}

.tech-footer-inner small {
  grid-column: 1 / -1;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.17);
}

@keyframes tech-hub-enter {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 991.98px) {
  .tech-hub-metric-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tech-hub-metric-row > p {
    grid-column: 1 / -1;
  }

  .tech-resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .tech-hub-hero {
    min-height: 570px;
  }

  .tech-hub-hero-image {
    object-position: 61% center;
  }

  .tech-hub-hero-shade {
    background: linear-gradient(90deg, rgba(15, 35, 37, 0.9), rgba(15, 35, 37, 0.5)), linear-gradient(0deg, rgba(15, 35, 37, 0.58), transparent 62%);
  }

  .tech-hub-hero-content {
    padding-top: 64px;
    padding-bottom: 58px;
  }

  .tech-hub-hero h1 {
    font-size: 3.2rem;
  }

  .tech-hub-intro {
    max-width: 450px;
    font-size: 1rem;
  }

  .tech-hub-edition {
    margin-top: 42px;
  }

  .tech-hub-metric-row {
    gap: 18px 10px;
  }

  .tech-hub-metric strong {
    font-size: 1.65rem;
  }

  .tech-hub-metric span {
    max-width: 105px;
    font-size: 0.7rem;
  }

  .tech-hub-section,
  .tech-hub-community {
    padding: 64px 0;
  }

  .tech-hub-section-heading {
    grid-template-columns: 1fr;
    gap: 17px;
    margin-bottom: 28px;
  }

  .tech-resource-grid {
    grid-template-columns: 1fr;
  }

  .tech-resource {
    padding: 24px 0 27px;
  }

  .tech-community-grid {
    grid-template-columns: 1fr;
  }

  .tech-widget {
    padding: 23px 18px;
  }

  .tech-next-step-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .tech-footer-inner {
    grid-template-columns: 1fr auto;
  }

  .tech-footer-inner p {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .tech-footer-inner > div {
    grid-column: 1 / -1;
    grid-row: 3;
    flex-wrap: wrap;
  }
}

@media (max-width: 420px) {
  .tech-hub-hero h1 {
    font-size: 2.8rem;
  }

  .tech-hub-hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .tech-hub-metric-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tech-hub-metric-row > p {
    grid-column: 1 / -1;
  }

  .tech-comment-submit {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tech-hub-hero-content,
  .tech-resource {
    animation: none;
  }

  .poll-bar i {
    transition: none;
  }
}
