/* =====================================================
   Decoding Biosphere Homepage Design
   Final Clean CSS
===================================================== */

/* ---------- Design variables ---------- */
:root {
  --db-green-dark: #163d2a;
  --db-green-main: #1f6b45;
  --db-green-soft: #eaf4ed;
  --db-cream: #fbfaf4;
  --db-muted: #66736b;
  --db-line: #dfe8e2;
  --db-shadow: 0 18px 45px rgba(22, 61, 42, 0.10);
  --db-radius-lg: 28px;
  --db-radius-md: 24px;
}

/* ---------- Prevent horizontal scrolling ---------- */
html,
body {
  overflow-x: hidden !important;
}

/* ---------- Homepage background ---------- */
body.home,
body.home .wp-site-blocks,
body.home .entry-content,
body.home .wp-block-post-content {
  background: var(--db-cream) !important;
}

/* ---------- Full-width homepage sections ---------- */
body.home .wp-block-post-content > .db-hero,
body.home .wp-block-post-content > .db-section,
body.home .entry-content > .db-hero,
body.home .entry-content > .db-section {
  width: 100vw !important;
  max-width: none !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  box-sizing: border-box !important;
}

/* ---------- Professional inner width ---------- */
body.home .db-inner,
body.home .wp-block-group.db-inner,
body.home .wp-block-columns.db-inner,
body.home .wp-block-cover.db-inner {
  max-width: 1560px !important;
  width: min(1560px, calc(100% - 96px)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.home .db-hero-columns,
body.home .db-topic-cards,
body.home .db-featured-row,
body.home .db-authority-columns,
body.home .db-dictionary-columns,
body.home .db-student-columns {
  max-width: 1560px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* ---------- General homepage typography reset ---------- */
body.home .db-hero,
body.home .db-section,
body.home .db-hero *,
body.home .db-section * {
  letter-spacing: normal !important;
  word-spacing: normal !important;
}

/* ---------- Section spacing ---------- */
body.home .db-section {
  padding: 72px 0 !important;
}

body.home .db-hero,
body.home .db-section {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* ---------- Section backgrounds ---------- */
body.home .db-hero {
  background:
    radial-gradient(circle at 12% 14%, rgba(150, 216, 168, 0.42), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(138, 109, 59, 0.14), transparent 28%),
    linear-gradient(180deg, #fbfaf4 0%, #edf7f0 100%) !important;
  padding-top: 78px !important;
  padding-bottom: 64px !important;
  margin-top: 0 !important;
  overflow: hidden !important;
}

body.home .db-topic-section,
body.home .db-authority-section,
body.home .db-dictionary-section,
body.home .db-student-section {
  background: var(--db-cream) !important;
}

body.home .db-featured-guides,
body.home .db-article-section {
  background: #ffffff !important;
}

body.home .db-featured-guides {
  border-top: 1px solid var(--db-line) !important;
  border-bottom: 1px solid var(--db-line) !important;
}

body.home .db-subscribe-section {
  background: var(--db-green-soft) !important;
}

/* ---------- Column gaps ---------- */
body.home .db-hero-columns,
body.home .db-authority-columns,
body.home .db-dictionary-columns,
body.home .db-student-columns {
  gap: 40px !important;
}

body.home .db-topic-cards,
body.home .db-featured-row {
  gap: 22px !important;
}

/* ---------- Labels / small headings ---------- */
body.home .db-kicker,
body.home .db-section-kicker {
  display: inline-flex !important;
  align-items: center !important;
  color: var(--db-green-dark) !important;
  background: rgba(31, 107, 69, 0.10) !important;
  border: 1px solid rgba(31, 107, 69, 0.14) !important;
  border-radius: 999px !important;
  padding: 8px 12px !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  margin-bottom: 16px !important;
}

body.home .db-section-kicker.light {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  color: #cfead8 !important;
}

/* ---------- Headings ---------- */
body.home .db-hero-title,
body.home .db-section-title,
body.home .db-authority-box h2,
body.home .db-dictionary h2,
body.home .db-student-section h2,
body.home .db-subscribe-title,
body.home .db-card h3,
body.home .db-feature-card h3 {
  font-family: Georgia, "Times New Roman", serif !important;
}

body.home .db-hero-title {
  color: var(--db-green-dark) !important;
  font-size: clamp(34px, 4.2vw, 58px) !important;
  line-height: 1.12 !important;
  letter-spacing: -0.02em !important;
  max-width: 820px !important;
  margin-bottom: 22px !important;
  font-weight: 700 !important;
}

body.home .db-section-title,
body.home .db-authority-box h2,
body.home .db-dictionary h2 {
  color: var(--db-green-dark) !important;
  font-size: clamp(28px, 3.2vw, 42px) !important;
  line-height: 1.15 !important;
  letter-spacing: -0.015em !important;
  max-width: 980px !important;
  margin-bottom: 14px !important;
}

body.home .db-dictionary h2,
body.home .db-dictionary h2 a,
body.home .db-authority-box h2,
body.home .db-subscribe-title {
  color: #ffffff !important;
}

body.home .db-card h3,
body.home .db-feature-card h3 {
  color: var(--db-green-dark) !important;
  font-size: 21px !important;
  line-height: 1.25 !important;
  letter-spacing: -0.01em !important;
  margin-top: 8px !important;
  margin-bottom: 10px !important;
}

/* ---------- Body text ---------- */
body.home .db-hero-text,
body.home .db-section-intro,
body.home .db-card p,
body.home .db-feature-card p,
body.home .db-authority-box p,
body.home .db-trust-list p,
body.home .db-dictionary p,
body.home .db-student-section li {
  font-size: 16px !important;
  line-height: 1.6 !important;
  letter-spacing: normal !important;
  word-spacing: normal !important;
}

body.home .db-hero-text {
  color: #42564b !important;
  max-width: 800px !important;
  margin-bottom: 28px !important;
}

body.home .db-section-intro {
  color: var(--db-muted) !important;
  max-width: 950px !important;
  margin-bottom: 34px !important;
}

body.home .db-card p,
body.home .db-feature-card p {
  color: var(--db-muted) !important;
}

body.home .db-dictionary p {
  color: #e1f0e7 !important;
  max-width: 850px !important;
}

body.home .db-authority-box p {
  color: #d9e9df !important;
}

/* ---------- Buttons ---------- */
body.home .db-primary-btn .wp-block-button__link {
  background: var(--db-green-main) !important;
  color: #ffffff !important;
  border-radius: 999px !important;
  font-weight: 800 !important;
  padding: 13px 22px !important;
  box-shadow: 0 14px 30px rgba(31, 107, 69, 0.22) !important;
}

body.home .db-secondary-btn .wp-block-button__link {
  background: #ffffff !important;
  color: var(--db-green-dark) !important;
  border: 1px solid var(--db-line) !important;
  border-radius: 999px !important;
  font-weight: 800 !important;
  padding: 13px 22px !important;
}

body.home .db-light-btn .wp-block-button__link {
  background: #ffffff !important;
  color: var(--db-green-dark) !important;
  border-radius: 999px !important;
  font-weight: 800 !important;
  padding: 12px 20px !important;
}

/* ---------- Search bar ---------- */
body.home .db-search {
  max-width: 760px !important;
  margin-top: 24px !important;
}

body.home .db-search .wp-block-search__inside-wrapper {
  background: #ffffff !important;
  border: 1px solid var(--db-line) !important;
  border-radius: 999px !important;
  padding: 8px !important;
  box-shadow: var(--db-shadow) !important;
}

body.home .db-search input.wp-block-search__input {
  border: 0 !important;
  background: transparent !important;
  padding-left: 14px !important;
  font-size: 16px !important;
}

body.home .db-search .wp-block-search__button {
  background: var(--db-green-dark) !important;
  color: #ffffff !important;
  border: 0 !important;
  border-radius: 999px !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
}

/* ---------- Hero image card ---------- */
body.home .db-hero-cover {
  border-radius: var(--db-radius-lg) !important;
  overflow: hidden !important;
  box-shadow: var(--db-shadow) !important;
  border: 1px solid rgba(31, 107, 69, 0.10) !important;
}

body.home .db-hero-card {
  background: rgba(251, 250, 244, 0.94) !important;
  color: var(--db-green-dark) !important;
  border-radius: 18px !important;
  padding: 18px 20px !important;
  margin-top: 250px !important;
  max-width: 94% !important;
  box-shadow: 0 12px 28px rgba(22, 61, 42, 0.08) !important;
}

body.home .db-hero-card p {
  margin: 0 !important;
  color: var(--db-green-dark) !important;
  font-size: 18px !important;
  line-height: 1.55 !important;
}

body.home .db-hero-card strong {
  font-size: 20px !important;
  line-height: 1.35 !important;
}

/* ---------- Cards ---------- */
body.home .db-card,
body.home .db-feature-card {
  border-radius: var(--db-radius-md) !important;
  overflow: hidden !important;
}

body.home .db-card {
  background: #ffffff !important;
  border: 1px solid var(--db-line) !important;
  padding: 22px !important;
  box-shadow: 0 10px 28px rgba(22, 61, 42, 0.08) !important;
}

body.home .db-feature-card {
  background: var(--db-cream) !important;
  border: 1px solid var(--db-line) !important;
  padding: 18px !important;
  box-shadow: 0 12px 30px rgba(22, 61, 42, 0.06) !important;
}

body.home .db-topic-icon {
  width: 54px !important;
  height: 54px !important;
  border-radius: 16px !important;
  background: var(--db-green-soft) !important;
  display: grid !important;
  place-items: center !important;
  font-size: 24px !important;
  margin-bottom: 14px !important;
}

/* ---------- Links ---------- */
body.home .db-hero a,
body.home .db-section a,
body.home .db-card-link a,
body.home .db-view-more a,
body.home .db-student-section a {
  color: var(--db-green-main) !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

body.home .db-primary-btn a,
body.home .db-search .wp-block-search__button,
body.home .db-light-btn a {
  text-decoration: none !important;
}

/* ---------- Images ---------- */
body.home .db-featured-image img,
body.home .db-rounded-image img {
  border-radius: 18px !important;
  aspect-ratio: 16 / 10 !important;
  object-fit: cover !important;
  width: 100% !important;
}

body.home .db-hero img,
body.home .db-section img {
  max-width: 100% !important;
}

/* ---------- Category pill ---------- */
body.home .db-category {
  display: inline-block !important;
  background: var(--db-green-soft) !important;
  color: var(--db-green-dark) !important;
  padding: 5px 10px !important;
  border-radius: 999px !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  margin-top: 10px !important;
  margin-bottom: 6px !important;
}

/* ---------- Authority / trust section ---------- */
body.home .db-authority-box {
  background: var(--db-green-dark) !important;
  color: #ffffff !important;
  border-radius: var(--db-radius-lg) !important;
  padding: 34px !important;
  box-shadow: var(--db-shadow) !important;
  overflow: hidden !important;
}

body.home .db-trust-list {
  display: grid !important;
  gap: 14px !important;
}

body.home .db-trust-list p {
  background: #ffffff !important;
  border: 1px solid var(--db-line) !important;
  border-radius: 22px !important;
  padding: 18px 20px !important;
  box-shadow: 0 10px 28px rgba(22, 61, 42, 0.055) !important;
  color: var(--db-muted) !important;
  margin: 0 !important;
}

body.home .db-trust-list p strong {
  display: block !important;
  font-size: 17px !important;
  line-height: 1.3 !important;
  margin-bottom: 8px !important;
  color: var(--db-green-dark) !important;
}

/* ---------- Dictionary section ---------- */
body.home .db-dictionary-section {
  padding-top: 48px !important;
}

body.home .db-dictionary {
  background: linear-gradient(135deg, rgba(31, 107, 69, 0.94), rgba(22, 61, 42, 0.96)) !important;
  color: #ffffff !important;
  border-radius: var(--db-radius-lg) !important;
  padding: 46px !important;
  box-shadow: var(--db-shadow) !important;
}

body.home .db-letter-row {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 24px 0 !important;
  padding: 0 !important;
}

body.home .db-letter-row a,
body.home .db-letter-row span {
  width: 34px !important;
  height: 34px !important;
  border-radius: 10px !important;
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  display: grid !important;
  place-items: center !important;
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  text-decoration: none !important;
}

body.home .db-letter-row a:visited {
  color: #ffffff !important;
}

body.home .db-letter-row a:hover,
body.home .db-letter-row a:focus {
  background: #ffffff !important;
  color: var(--db-green-dark) !important;
  border-color: #ffffff !important;
  text-decoration: none !important;
}

/* ---------- Article and student sections ---------- */
body.home .db-article-section .db-featured-row + .db-featured-row {
  margin-top: 22px !important;
}

body.home .db-view-more {
  margin-top: 26px !important;
  font-size: 15px !important;
}

body.home .db-student-section ul {
  margin-top: 14px !important;
  padding-left: 20px !important;
}

body.home .db-student-section li {
  margin-bottom: 9px !important;
}

/* ---------- Subscribe section ---------- */
body.home .db-subscribe-cover {
  border-radius: var(--db-radius-lg) !important;
  overflow: hidden !important;
  box-shadow: var(--db-shadow) !important;
}

body.home .db-subscribe-title {
  color: #ffffff !important;
  font-size: clamp(30px, 3.2vw, 42px) !important;
  line-height: 1.15 !important;
}

body.home .db-subscribe-text {
  color: #ffffff !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
}

/* ---------- Tablet ---------- */
@media (max-width: 1020px) {
  body.home .db-inner,
  body.home .wp-block-group.db-inner,
  body.home .wp-block-columns.db-inner,
  body.home .wp-block-cover.db-inner {
    width: calc(100% - 36px) !important;
  }

  body.home .db-hero-columns,
  body.home .db-authority-columns,
  body.home .db-dictionary-columns,
  body.home .db-student-columns {
    gap: 28px !important;
  }

  body.home .db-topic-cards,
  body.home .db-featured-row {
    flex-wrap: wrap !important;
  }
}

/* ---------- Mobile ---------- */
@media (max-width: 781px) {
  body.home .db-inner,
  body.home .wp-block-group.db-inner,
  body.home .wp-block-columns.db-inner,
  body.home .wp-block-cover.db-inner {
    width: calc(100% - 28px) !important;
  }

  body.home .db-hero {
    padding-top: 48px !important;
    padding-bottom: 42px !important;
  }

  body.home .db-section {
    padding-top: 54px !important;
    padding-bottom: 54px !important;
  }

  body.home .db-hero-title {
    font-size: 36px !important;
    line-height: 1.1 !important;
  }

  body.home .db-section-title,
  body.home .db-authority-box h2,
  body.home .db-dictionary h2 {
    font-size: 30px !important;
  }

  body.home .db-hero-text,
  body.home .db-section-intro,
  body.home .db-card p,
  body.home .db-feature-card p,
  body.home .db-authority-box p,
  body.home .db-trust-list p,
  body.home .db-dictionary p,
  body.home .db-student-section li {
    font-size: 15.5px !important;
  }

  body.home .db-card h3,
  body.home .db-feature-card h3 {
    font-size: 21px !important;
  }

  body.home .db-trust-list p strong {
    font-size: 17px !important;
  }

  body.home .db-hero-cover {
    min-height: 330px !important;
  }

  body.home .db-hero-card {
    margin-top: 160px !important;
  }

  body.home .db-search .wp-block-search__inside-wrapper {
    border-radius: 18px !important;
    display: block !important;
  }

  body.home .db-search .wp-block-search__button {
    width: 100% !important;
    margin-top: 8px !important;
  }

  body.home .db-card,
  body.home .db-feature-card,
  body.home .db-authority-box,
  body.home .db-dictionary {
    padding: 24px !important;
  }

  body.home .db-subscribe-cover {
    min-height: 360px !important;
  }
	/* Slightly reduce subscribe section height */

body.home .db-subscribe-section {
  padding-top: 52px !important;
  padding-bottom: 52px !important;
}

body.home .db-subscribe-cover {
  min-height: 250px !important;
}

body.home .db-subscribe-title {
  font-size: clamp(28px, 3vw, 38px) !important;
}
}
/* =====================================================
   DECODING BIOSPHERE SHARED HUB-PAGE DESIGN
   Used for Ecology, Biodiversity, Climate,
   Sustainability and Student Resource hubs
===================================================== */

/* ---------- Hub variables ---------- */

.db-hub {
  --hub-primary: var(--db-green-main);
  --hub-primary-dark: var(--db-green-dark);
  --hub-primary-soft: var(--db-green-soft);
  --hub-feature-soft: #edf5f7;
  --hub-callout-soft: #fff7df;
  --hub-text: #26352e;
  --hub-muted: var(--db-muted);
  --hub-border: var(--db-line);

  color: var(--hub-text);
  line-height: 1.65;
  margin: 0 auto;
  max-width: 1180px;
  width: 100%;
}

.db-hub *,
.db-hub *::before,
.db-hub *::after {
  box-sizing: border-box;
}

/* Remove empty paragraphs and unwanted line breaks
   that WordPress may insert */

.db-hub p:empty,
.db-hub .db-buttons br,
.db-hub .db-jump-links br,
.db-hub .db-related-links br {
  display: none !important;
}

/* Prevent images from overflowing */

.db-hub img {
  height: auto;
  max-width: 100%;
}

/* ---------- Optional colors for different hubs ---------- */

.db-hub-ecology {
  --hub-primary: #1f6b45;
  --hub-primary-dark: #163d2a;
  --hub-primary-soft: #eaf4ed;
  --hub-feature-soft: #edf5f1;
}

.db-hub-biodiversity {
  --hub-primary: #52752f;
  --hub-primary-dark: #354e20;
  --hub-primary-soft: #eff5e8;
  --hub-feature-soft: #f3f7ec;
}

.db-hub-climate {
  --hub-primary: #276b7a;
  --hub-primary-dark: #194b57;
  --hub-primary-soft: #e8f3f5;
  --hub-feature-soft: #edf6f8;
}

.db-hub-sustainability {
  --hub-primary: #5d7130;
  --hub-primary-dark: #3e4e20;
  --hub-primary-soft: #f0f4e7;
  --hub-feature-soft: #f5f7ec;
}

.db-hub-study {
  --hub-primary: #385f79;
  --hub-primary-dark: #233f52;
  --hub-primary-soft: #eaf1f5;
  --hub-feature-soft: #eff5f8;
}

/* =====================================================
   HUB INTRODUCTION PANEL
===================================================== */

.db-hub .db-hero {
  background:
    radial-gradient(
      circle at 90% 15%,
      color-mix(in srgb, var(--hub-primary) 11%, transparent),
      transparent 32%
    ),
    linear-gradient(
      135deg,
      var(--hub-primary-soft) 0%,
      #f8fbf9 58%,
      var(--hub-feature-soft) 100%
    );
  border: 1px solid var(--hub-border);
  border-radius: 22px;
  overflow: hidden;
  padding: 42px 44px;
  position: relative;
}

.db-hub .db-hero::after {
  background: color-mix(
    in srgb,
    var(--hub-primary) 9%,
    transparent
  );
  border-radius: 50%;
  bottom: -90px;
  content: "";
  height: 260px;
  pointer-events: none;
  position: absolute;
  right: -65px;
  width: 260px;
}

.db-hub .db-kicker {
  align-items: center;
  background: color-mix(
    in srgb,
    var(--hub-primary) 10%,
    transparent
  );
  border: 1px solid color-mix(
    in srgb,
    var(--hub-primary) 18%,
    transparent
  );
  border-radius: 999px;
  color: var(--hub-primary-dark);
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin: 0 0 16px;
  padding: 7px 12px;
  position: relative;
  text-transform: uppercase;
  z-index: 1;
}

.db-hub .db-hero p:not(.db-kicker) {
  color: #42564b;
  font-size: 17px;
  line-height: 1.65;
  margin: 0 0 25px;
  max-width: 850px;
  position: relative;
  z-index: 1;
}

/* =====================================================
   HUB BUTTONS
===================================================== */

.db-hub .db-buttons {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.db-hub .db-button {
  background: var(--hub-primary);
  border: 2px solid var(--hub-primary);
  border-radius: 999px;
  box-shadow: 0 10px 24px
    color-mix(in srgb, var(--hub-primary) 18%, transparent);
  color: #ffffff !important;
  display: inline-block;
  font-weight: 800;
  line-height: 1.3;
  padding: 12px 21px;
  text-decoration: none !important;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.db-hub .db-button:hover,
.db-hub .db-button:focus {
  background: var(--hub-primary-dark);
  border-color: var(--hub-primary-dark);
  box-shadow: 0 12px 28px
    color-mix(in srgb, var(--hub-primary-dark) 22%, transparent);
  color: #ffffff !important;
  transform: translateY(-1px);
}

.db-hub .db-button-secondary {
  background: #ffffff;
  border-color: var(--hub-border);
  box-shadow: none;
  color: var(--hub-primary-dark) !important;
}

.db-hub .db-button-secondary:hover,
.db-hub .db-button-secondary:focus {
  background: var(--hub-primary-dark);
  border-color: var(--hub-primary-dark);
  color: #ffffff !important;
}

/* =====================================================
   ON-PAGE NAVIGATION
===================================================== */

.db-hub .db-jump {
  background: #ffffff;
  border: 1px solid var(--hub-border);
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(22, 61, 42, 0.045);
  margin: 28px 0 0;
  padding: 20px 24px;
}

.db-hub .db-jump strong {
  color: var(--hub-primary-dark);
  display: block;
  margin-bottom: 10px;
}

.db-hub .db-jump-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.db-hub .db-jump-links a {
  color: var(--hub-primary);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.db-hub .db-jump-links a:hover,
.db-hub .db-jump-links a:focus {
  color: var(--hub-primary-dark);
}

/* =====================================================
   HUB SECTIONS AND HEADINGS
===================================================== */

.db-hub .db-section {
  padding: 58px 0 0;
}

.db-hub .db-section h2 {
  color: var(--hub-primary-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 0 0 13px;
}

.db-hub .db-section-intro {
  color: var(--hub-muted);
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 27px;
  max-width: 900px;
}

/* =====================================================
   HUB CARD GRID
===================================================== */

.db-hub .db-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.db-hub .db-card {
  background: #ffffff;
  border: 1px solid var(--hub-border);
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(22, 61, 42, 0.06);
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 24px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.db-hub .db-card:hover {
  border-color: color-mix(
    in srgb,
    var(--hub-primary) 30%,
    var(--hub-border)
  );
  box-shadow: 0 15px 34px rgba(22, 61, 42, 0.10);
  transform: translateY(-3px);
}

.db-hub .db-label {
  align-self: flex-start;
  background: var(--hub-primary-soft);
  border-radius: 999px;
  color: var(--hub-primary-dark);
  display: inline-block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.05em;
  margin: 0 0 10px;
  padding: 5px 10px;
  text-transform: uppercase;
}

.db-hub .db-card h3 {
  color: var(--hub-primary-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin: 0 0 10px;
}

.db-hub .db-card p {
  color: var(--hub-muted);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 18px;
}

.db-hub .db-card-link {
  color: var(--hub-primary) !important;
  display: inline-block;
  font-weight: 800;
  margin-top: auto;
  text-decoration: none !important;
}

.db-hub .db-card-link:hover,
.db-hub .db-card-link:focus {
  color: var(--hub-primary-dark) !important;
  text-decoration: underline !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 3px;
}

/* =====================================================
   FEATURED TOOL OR RESOURCE
===================================================== */

.db-hub .db-feature {
  align-items: center;
  background: var(--hub-feature-soft);
  border: 1px solid color-mix(
    in srgb,
    var(--hub-primary) 15%,
    var(--hub-border)
  );
  border-radius: 22px;
  display: grid;
  gap: 32px;
  grid-template-columns: 1.25fr 0.75fr;
  padding: 34px;
}

.db-hub .db-feature h3 {
  color: var(--hub-primary-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  line-height: 1.25;
  margin: 5px 0 11px;
}

.db-hub .db-feature p {
  color: var(--hub-muted);
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 20px;
}

.db-hub .db-feature-list {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  margin: 0;
  padding: 21px 21px 21px 43px;
}

.db-hub .db-feature-list li {
  color: var(--hub-text);
  margin-bottom: 8px;
}

.db-hub .db-feature-list li:last-child {
  margin-bottom: 0;
}

/* =====================================================
   STUDENT LEARNING PATH
===================================================== */

.db-hub .db-learning-path {
  counter-reset: db-step;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.db-hub .db-step {
  background: var(--hub-primary-soft);
  border: 1px solid color-mix(
    in srgb,
    var(--hub-primary) 12%,
    transparent
  );
  border-radius: 17px;
  min-width: 0;
  padding: 23px;
}

.db-hub .db-step::before {
  align-items: center;
  background: var(--hub-primary);
  border-radius: 50%;
  color: #ffffff;
  content: counter(db-step);
  counter-increment: db-step;
  display: flex;
  font-weight: 800;
  height: 36px;
  justify-content: center;
  margin-bottom: 13px;
  width: 36px;
}

.db-hub .db-step h3 {
  color: var(--hub-primary-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  line-height: 1.35;
  margin: 0 0 8px;
}

.db-hub .db-step p {
  color: var(--hub-muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

.db-hub .db-step a {
  color: var(--hub-primary);
  font-weight: 700;
}

/* =====================================================
   ACADEMIC RESOURCES CALLOUT
===================================================== */

.db-hub .db-callout {
  background: var(--hub-callout-soft);
  border: 1px solid #eedda7;
  border-radius: 20px;
  padding: 30px;
}

.db-hub .db-callout h2 {
  margin-top: 0;
}

.db-hub .db-callout > p {
  color: var(--hub-muted);
  margin-bottom: 19px;
}

.db-hub .db-list-columns {
  column-gap: 46px;
  columns: 2;
  margin-bottom: 0;
}

.db-hub .db-list-columns li {
  break-inside: avoid;
  margin-bottom: 10px;
}

.db-hub .db-list-columns a {
  color: var(--hub-primary);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* =====================================================
   RELATED TOPICS
===================================================== */

.db-hub .db-related {
  border-top: 1px solid var(--hub-border);
  margin-top: 60px;
  padding: 35px 0 12px;
}

.db-hub .db-related h2 {
  color: var(--hub-primary-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  line-height: 1.35;
  margin: 0 0 17px;
}

.db-hub .db-related-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.db-hub .db-related-links a {
  background: var(--hub-primary-soft);
  border: 1px solid color-mix(
    in srgb,
    var(--hub-primary) 12%,
    transparent
  );
  border-radius: 999px;
  color: var(--hub-primary-dark) !important;
  display: inline-block;
  font-weight: 800;
  padding: 9px 16px;
  text-decoration: none !important;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.db-hub .db-related-links a:hover,
.db-hub .db-related-links a:focus {
  background: var(--hub-primary);
  border-color: var(--hub-primary);
  color: #ffffff !important;
}

/* =====================================================
   ACCESSIBILITY
===================================================== */

.db-hub a:focus-visible {
  outline: 3px solid color-mix(
    in srgb,
    var(--hub-primary) 45%,
    transparent
  );
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .db-hub .db-button,
  .db-hub .db-card {
    transition: none;
  }

  .db-hub .db-button:hover,
  .db-hub .db-card:hover {
    transform: none;
  }
}

/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1020px) {
  .db-hub {
    width: 100%;
  }

  .db-hub .db-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .db-hub .db-learning-path {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .db-hub .db-feature {
    grid-template-columns: 1fr;
  }
}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 781px) {
  .db-hub .db-hero {
    border-radius: 18px;
    padding: 31px 23px;
  }

  .db-hub .db-hero p:not(.db-kicker) {
    font-size: 15.5px;
  }

  .db-hub .db-buttons {
    align-items: stretch;
    flex-direction: column;
  }

  .db-hub .db-button {
    text-align: center;
    width: 100%;
  }

  .db-hub .db-jump {
    padding: 18px 20px;
  }

  .db-hub .db-jump-links {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .db-hub .db-section {
    padding-top: 46px;
  }

  .db-hub .db-section h2 {
    font-size: 29px;
  }

  .db-hub .db-grid,
  .db-hub .db-learning-path {
    grid-template-columns: 1fr;
  }

  .db-hub .db-card {
    padding: 22px;
  }

  .db-hub .db-feature {
    padding: 24px;
  }

  .db-hub .db-feature h3 {
    font-size: 24px;
  }

  .db-hub .db-list-columns {
    columns: 1;
  }

  .db-hub .db-related {
    margin-top: 48px;
  }

  .db-hub .db-related-links {
    align-items: stretch;
    flex-direction: column;
  }

  .db-hub .db-related-links a {
    text-align: center;
    width: 100%;
  }
}

/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 480px) {
  .db-hub .db-hero {
    padding: 27px 19px;
  }

  .db-hub .db-section h2 {
    font-size: 26px;
  }

  .db-hub .db-card h3 {
    font-size: 20px;
  }

  .db-hub .db-callout {
    padding: 23px;
  }
}