/**
 * DBF Website — Custom CSS Overrides
 *
 * All custom styles go here. This file is loaded AFTER all Webflow CSS:
 *   <link href="../_src/css/design-tokens.css" rel="stylesheet">
 *   <link href="../_src/css/overrides.css" rel="stylesheet">
 *
 * Rules:
 * - Use --dbf- CSS custom properties (from design-tokens.css), not hardcoded values
 * - Use existing Webflow classes where possible; override only when necessary
 * - Add section comments to organise overrides by feature/page
 * - NEVER import or duplicate Webflow's CSS here — only add or override
 */

/* ─────────────────────────────────────────────────────────────
   Global overrides
   ───────────────────────────────────────────────────────────── */

/* Add global overrides here */


/* ─────────────────────────────────────────────────────────────
   Homepage — Capabilities section
   Align "Discover more" buttons to the bottom of each card
   ───────────────────────────────────────────────────────────── */

.collection-list-11-landing .container---s {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.collection-list-11-landing .heading-card.heading-card-landing {
  min-height: auto;
  margin-bottom: 0.5rem;
}

.collection-list-11-landing .container---s .rows {
  flex: 1;
  grid-template-rows: 1fr auto;
}

.collection-list-11-landing .container---s .rows .info-paragraph {
  height: 100%;
  box-sizing: border-box;
}

/* ─────────────────────────────────────────────────────────────
   Homepage — Hero CTA: centre single button
   ───────────────────────────────────────────────────────────── */

.div-block-1580 {
  justify-content: center;
  margin-top: 1rem;
}

/* ─────────────────────────────────────────────────────────────
   Page-specific overrides (add per page as needed)
   ───────────────────────────────────────────────────────────── */

/* Example:
.hero-custom-title {
  font-family: var(--dbf-font-mono);
  color: var(--dbf-color-primary);
}
*/


/* ── Author Bio Box — updated ── */
.author-bio-box {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #f8f8f8;
  border-top: 2px solid #000000;
  border-right: 1px solid #ebebeb;
  border-bottom: 1px solid #ebebeb;
  border-left: 1px solid #ebebeb;
  padding: 16px 20px;
  margin-top: 24px;
  border-radius: 0;
  max-width: 100%;
}
.author-bio-photo {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 50%;
  flex-shrink: 0;
  filter: grayscale(10%);
}
.author-bio-content {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.author-bio-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a8a8a;
  margin-bottom: 2px;
}
.author-bio-name {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  font-weight: 500;
  color: #0a0a0a;
  text-decoration: none;
  line-height: 1.3;
}
.author-bio-name:hover { color: #00C9B1; }
.author-bio-title {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 400;
  color: #5a5a5a;
  line-height: 1.3;
}
.author-bio-text {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #4a5565;
  line-height: 1.5;
  margin: 3px 0 0 0;
}
.author-bio-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: #5a5a5a;
  text-decoration: none;
  margin-top: 5px;
  transition: color 0.2s ease;
}
.author-bio-linkedin:hover { color: #00C9B1; }
@media (max-width: 478px) {
  .author-bio-box { flex-direction: column; align-items: flex-start; gap: 12px; padding: 14px 16px; }
}

/* Bridge the 26px margin-top gap on dropdown lists so the mouse hover
   area is continuous from the toggle through to the list items. */
.nav-link-2.w-dropdown > .w-dropdown-toggle {
  position: relative;
}
.nav-link-2.w-dropdown > .w-dropdown-toggle::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: -20px;
  right: -20px;
  height: 30px;
}

/* ── Post inline date ── */
.post-date-inline {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #8a8a8a;
  white-space: nowrap;
}
