/**
 * Nebrix Limited - Custom Theme Stylesheet 3.0
 * Unified design tokens, responsive layouts, RFQ basket, and technical catalog components.
 */

:root {
  --nebrix-blue: #0096c9;
  --nebrix-blue-hover: #0284c7;
  --nebrix-blue-light: #e0f2fe;
  --nebrix-red: #d13c34;
  --nebrix-red-hover: #b91c1c;
  --nebrix-navy: #0f172a;
  --nebrix-navy-surface: #1e293b;
  --nebrix-text: #0f172a;
  --nebrix-text-muted: #64748b;
  --nebrix-border: #e2e8f0;
  --nebrix-bg-soft: #f8fafc;

  /* Radius scale: smaller on dense/inner elements, softer on containers,
     larger still on full feature panels. Existing --nebrix-radius(-lg)
     values are unchanged so nothing already using them shifts. */
  --nebrix-radius-sm: 4px;
  --nebrix-radius: 6px;
  --nebrix-radius-lg: 10px;
  --nebrix-radius-xl: 16px;
  --nebrix-radius-pill: 9999px;

  --nebrix-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --nebrix-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  --nebrix-shadow-hover: 0 10px 25px rgba(0, 0, 0, 0.08);
  /* Brand-tinted shadows (navy/blue instead of flat black-alpha) for the
     highest-visibility hover states — a dark-blue shadow on a blue-branded
     surface reads considerably less generic than plain black at low opacity. */
  --nebrix-shadow-tinted: 0 10px 28px rgba(0, 45, 79, 0.16);
  --nebrix-shadow-tinted-hover: 0 16px 36px rgba(0, 45, 79, 0.22);
}

/* =========================================
   BRAND TYPOGRAPHY
   Space Grotesk (headings) + IBM Plex Sans (body) in place of
   GeneratePress's default Inter/Poppins — see nebrix_enqueue_custom_assets()
   in functions.php for the font-loading side of this.
   ========================================= */
body,
p,
li,
label,
input,
textarea,
select,
button {
  font-family:
    "IBM Plex Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif !important;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family:
    "Space Grotesk",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif !important;
  letter-spacing: -0.02em;
}
/* Data-heavy figures (SKUs, specs, prices) read cleaner with tabular numerals. */
.spec-val,
.tech-card-specs-matrix,
.badge-sku,
.doc-format-pill,
.rfq-qty-input {
  font-variant-numeric: tabular-nums;
}

/* =========================================
   GLOBAL RESET & BUTTON STANDARDS
   ========================================= */
.btn-nebrix-primary,
.tf-btn-v2-primary {
  background-color: var(--nebrix-blue) !important;
  color: #ffffff !important;
  border: 1px solid var(--nebrix-blue) !important;
  border-radius: var(--nebrix-radius) !important;
  font-weight: 700 !important;
  padding: 11px 22px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
}
.btn-nebrix-primary:hover,
.tf-btn-v2-primary:hover {
  background-color: var(--nebrix-blue-hover) !important;
  border-color: var(--nebrix-blue-hover) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 150, 201, 0.25);
}

.btn-nebrix-red,
.btn-whatsapp-hero,
.btn-whatsapp-cta {
  border-radius: var(--nebrix-radius) !important;
  font-weight: 700 !important;
  transition: all 0.2s ease !important;
}

.btn-whatsapp-hero,
.btn-whatsapp-cta {
  background-color: #16a34a !important;
  color: #ffffff !important;
  border: 1px solid #16a34a !important;
  padding: 11px 22px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  text-decoration: none !important;
}
.btn-whatsapp-hero:hover,
.btn-whatsapp-cta:hover {
  background-color: #15803d !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

/* =========================================
   TOP UTILITY BAR & QUICK SEARCH
   ========================================= */
.nebrix-top-bar {
  background: #09121f;
  border-bottom: 1px solid #1e293b;
  color: #cbd5e1;
  font-size: 0.82rem;
  padding: 6px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 16px;
}
.nebrix-top-bar a {
  color: #cbd5e1;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}
.nebrix-top-bar a:hover {
  color: #38bdf8;
}
.nebrix-top-bar-left,
.nebrix-top-bar-right {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nebrix-top-bar-center {
  flex: 1 1 620px;
  max-width: 780px;
  margin: 0 24px;
  position: relative;
}
.nebrix-topbar-search-form {
  position: relative;
  width: 100%;
  margin: 0;
}
.topbar-search-container {
  display: flex;
  align-items: stretch;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  height: 36px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.topbar-search-container:focus-within {
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.2);
}

/* Thermo Fisher Scope Selector */
.topbar-scope-wrapper {
  display: flex;
  align-items: center;
  position: relative;
  background: #f8fafc;
  border-right: 1px solid #e2e8f0;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  padding: 0 6px 0 12px;
  flex-shrink: 0;
}
.topbar-scope-select {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background: transparent !important;
  border: none !important;
  color: #334155 !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  font-family: inherit !important;
  padding: 0 14px 0 0 !important;
  cursor: pointer !important;
  outline: none !important;
  box-shadow: none !important;
  line-height: 34px !important;
  height: 34px !important;
}
.topbar-scope-select option {
  background: #ffffff;
  color: #0f172a;
}
.topbar-scope-arrow {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #64748b;
  display: flex;
  align-items: center;
}

/* Text Input & Spinner */
.topbar-search-input-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  position: relative;
  padding: 0 10px 0 12px;
  min-width: 0;
}
.topbar-search-field {
  width: 100% !important;
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 0.82rem !important;
  color: #0f172a !important;
  outline: none !important;
  box-shadow: none !important;
  line-height: 34px !important;
  height: 34px !important;
}
.topbar-search-field::placeholder {
  color: #94a3b8 !important;
  font-size: 0.8rem !important;
  opacity: 1;
}
.topbar-search-spinner {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
}
.topbar-search-spinner .spin-icon {
  animation: nebrixSpin 0.75s linear infinite;
}
@keyframes nebrixSpin {
  100% {
    transform: rotate(360deg);
  }
}

/* Submit Button */
.topbar-search-submit {
  background: #ffffff !important;
  border: none !important;
  border-left: 1px solid #f1f5f9 !important;
  border-top-right-radius: 5px !important;
  border-bottom-right-radius: 5px !important;
  color: #475569 !important;
  padding: 0 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  flex-shrink: 0;
  transition: all 0.15s ease !important;
}
.topbar-search-submit:hover {
  background: #f8fafc !important;
  color: #0284c7 !important;
}
.topbar-search-submit:active {
  background: #e2e8f0 !important;
}

/* Dividers & Topbar Links */
.topbar-sep {
  color: rgba(255, 255, 255, 0.22);
  margin: 0 10px;
  font-weight: 300;
  font-size: 0.8rem;
  user-select: none;
}
.topbar-subsep {
  color: rgba(255, 255, 255, 0.22);
  margin: 0 8px;
  font-weight: 300;
}
.topbar-cta-btn {
  background: var(--nebrix-red);
  color: #ffffff !important;
  padding: 4px 12px;
  border-radius: var(--nebrix-radius-sm, 4px);
  font-weight: 700;
  font-size: 0.76rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.02em;
  transition: background 0.15s ease;
}
.topbar-cta-btn:hover {
  background: var(--nebrix-red-hover);
}

/* Thermo Fisher-Style Live Search Dropdown */
.nebrix-search-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  box-shadow:
    0 16px 36px -6px rgba(0, 0, 0, 0.22),
    0 4px 12px rgba(0, 0, 0, 0.08);
  z-index: 99999;
  max-height: 460px;
  overflow-y: auto;
  overflow-x: hidden;
  text-align: left;
}
.nebrix-search-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 14px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
}
.nebrix-search-header-count {
  font-size: 0.68rem;
  /* #94a3b8 is ~2.6:1 on this white dropdown, below WCAG AA's 4.5:1. */
  color: #64748b;
  font-weight: 600;
}
.nebrix-search-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid #f1f5f9;
  text-decoration: none !important;
  color: inherit !important;
  transition: background 0.15s ease;
}
.nebrix-search-item:hover,
.nebrix-search-item.is-active {
  background: #f8fafc;
  text-decoration: none !important;
}
.nebrix-search-item-thumb {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nebrix-search-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.nebrix-search-fallback-icon {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nebrix-search-fallback-icon.badge-product {
  background: #f0f9ff;
  color: #0284c7;
}
.nebrix-search-fallback-icon.badge-service {
  background: #fefce8;
  color: #d97706;
}
.nebrix-search-fallback-icon.badge-download {
  background: #faf5ff;
  color: #7c3aed;
}
.nebrix-search-fallback-icon.badge-page {
  background: #f8fafc;
  color: #64748b;
}

.nebrix-search-item-body {
  flex: 1;
  min-width: 0;
}
.nebrix-search-item-topline {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}
.nebrix-search-badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 3px;
  letter-spacing: 0.04em;
  display: inline-block;
}
.nebrix-search-badge.badge-product {
  background: #e0f2fe;
  color: #0369a1;
}
.nebrix-search-badge.badge-service {
  background: #fef3c7;
  color: #92400e;
}
.nebrix-search-badge.badge-download {
  background: #ede9fe;
  color: #6d28d9;
}
.nebrix-search-badge.badge-page {
  background: #f1f5f9;
  color: #475569;
}
.nebrix-search-meta-sku,
.nebrix-search-meta-model {
  font-size: 0.72rem;
  color: #475569;
  font-family: "Space Grotesk", sans-serif;
}
.nebrix-search-meta-sku strong {
  color: #0f172a;
}
.nebrix-search-item-title {
  font-size: 0.84rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nebrix-search-item-snippet {
  font-size: 0.74rem;
  color: #64748b;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}
.nebrix-search-hl {
  background: #fef08a;
  color: #0f172a;
  padding: 0 2px;
  border-radius: 2px;
  font-weight: 700;
}
.nebrix-search-item-arrow {
  color: #94a3b8;
  flex-shrink: 0;
  padding-left: 4px;
}
.nebrix-search-item:hover .nebrix-search-item-arrow {
  color: #0284c7;
}

/* Dropdown Footer */
.nebrix-search-footer {
  padding: 9px 14px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  text-align: center;
}
.nebrix-search-all-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #0284c7 !important;
  text-decoration: none !important;
  transition: color 0.15s ease;
}
.nebrix-search-all-link:hover {
  color: #0369a1 !important;
  text-decoration: underline !important;
}

/* Empty State */
.nebrix-search-empty-state {
  padding: 24px 16px;
  text-align: center;
}
.nebrix-empty-icon {
  margin-bottom: 8px;
}
.nebrix-empty-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 4px;
}
.nebrix-empty-desc {
  font-size: 0.75rem;
  color: #64748b;
  margin-bottom: 12px;
}
.nebrix-empty-btn {
  display: inline-block;
  padding: 5px 12px;
  background: #0284c7;
  color: #ffffff !important;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 4px;
  text-decoration: none !important;
}
.nebrix-empty-btn:hover {
  background: #0369a1;
}

/* Laptop & Tablet Landscape (769px to 1200px) - Preserve Full Horizontal Desktop Layout */
@media (min-width: 769px) and (max-width: 1200px) {
  .nebrix-top-bar {
    flex-wrap: nowrap !important;
    padding: 6px 16px !important;
    gap: 12px !important;
  }
  .nebrix-top-bar-left {
    flex-shrink: 0;
    gap: 8px;
    font-size: 0.78rem;
  }
  .nebrix-top-bar-center {
    flex: 1 1 auto !important;
    max-width: 480px !important;
    margin: 0 12px !important;
  }
  .topbar-badge-location {
    display: none !important;
  }
  .nebrix-top-bar-right {
    display: none !important;
  }

  /* Prevent Desktop Nav items and Get a Quote button from wrapping to line 2 */
  .inside-header {
    padding-left: 20px !important;
    padding-right: 20px !important;
    flex-wrap: nowrap !important;
  }
  .site-logo img {
    max-height: 48px !important;
    width: auto !important;
  }
  .main-navigation .main-nav ul li a {
    padding: 0 8px !important;
    font-size: 0.85rem !important;
  }
  .main-navigation .main-nav ul li.nav-button-quote a {
    padding: 8px 14px !important;
    margin-left: 6px !important;
    font-size: 0.8rem !important;
  }

  /* Value Proposition Hero Cards: 3 columns with compact gap */
  .tf-overlap-grid-3 {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 14px !important;
  }
}

/* Mobile & Tablet Portrait (<= 768px) */
@media (max-width: 768px) {
  .nebrix-top-bar {
    flex-wrap: wrap !important;
    padding: 8px 12px !important;
    gap: 6px !important;
  }
  .topbar-badge-location,
  .nebrix-top-bar-right {
    display: none !important;
  }
  .nebrix-top-bar-left {
    width: 100% !important;
    justify-content: space-between;
    font-size: 0.78rem;
  }
  .nebrix-top-bar-center {
    order: 3;
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 100% !important;
    margin: 6px 0 0 !important;
  }
}

@media (max-width: 540px) {
  .nebrix-top-bar {
    padding: 6px 10px;
  }
  .nebrix-top-bar-left {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 3px !important;
    width: 100% !important;
  }
  .nebrix-top-bar-left .topbar-sep {
    display: none !important;
  }
  .nebrix-top-bar-left a {
    font-size: 0.76rem !important;
    line-height: 1.3;
  }

  /* Polished Mobile Search Presentation */
  .topbar-search-container {
    height: 38px;
    border-radius: 6px;
  }
  .topbar-scope-wrapper {
    padding: 0 4px 0 8px;
    max-width: 92px;
  }
  .topbar-scope-select {
    font-size: 0.72rem !important;
    padding-right: 12px !important;
    max-width: 72px;
    text-overflow: ellipsis;
  }
  .topbar-search-input-wrap {
    padding: 0 6px 0 8px;
  }
  .topbar-search-field {
    font-size: 0.8rem !important;
  }
  .topbar-search-field::placeholder {
    font-size: 0.74rem !important;
  }
  .topbar-search-submit {
    padding: 0 10px !important;
  }

  /* Polished Mobile Dropdown */
  .nebrix-search-dropdown {
    position: absolute !important;
    top: calc(100% + 6px) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-height: 70vh !important;
    border-radius: 8px !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3) !important;
    -webkit-overflow-scrolling: touch;
    z-index: 999999 !important;
  }
  .nebrix-search-item {
    padding: 9px 10px;
    gap: 10px;
  }
  .nebrix-search-item-thumb {
    width: 38px;
    height: 38px;
  }
  .nebrix-search-item-title {
    font-size: 0.8rem;
  }
  .nebrix-search-item-snippet {
    display: none;
  }
}

/* =========================================
   BREADCRUMBS
   ========================================= */
.nebrix-breadcrumbs {
  padding: 14px 20px;
  max-width: 1240px;
  margin: 0 auto;
  font-size: 0.85rem;
  color: var(--nebrix-text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.nebrix-breadcrumbs a {
  color: #0284c7;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
.nebrix-breadcrumbs a:hover {
  color: var(--nebrix-blue-hover);
  text-decoration: underline;
}
.nebrix-breadcrumbs .sep {
  color: #94a3b8;
}
.nebrix-breadcrumbs .current {
  color: var(--nebrix-navy);
  font-weight: 600;
}

/* =========================================
   SINGLE PRODUCT PAGE
   ========================================= */
.nebrix-single-product-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 10px 20px 70px;
}
.single-prod-top-grid {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 40px;
}
.single-prod-gallery {
  background: #ffffff;
  border: 1px solid var(--nebrix-border);
  border-radius: var(--nebrix-radius-lg);
  padding: 24px;
  box-shadow: var(--nebrix-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
}
.single-prod-gallery img {
  max-width: 100%;
  max-height: 380px;
  object-fit: contain;
}
.single-prod-info h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--nebrix-navy);
  margin: 0 0 12px 0;
  line-height: 1.25;
}
.single-prod-badges {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.badge-tag {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--nebrix-radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.badge-category {
  background: var(--nebrix-blue-light);
  color: #0369a1;
}
.badge-sku {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1;
}
.badge-compliance {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

.single-prod-trust-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: var(--nebrix-radius);
  padding: 10px 16px;
  color: #0369a1;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.single-prod-specs-box {
  background: #f8fafc;
  border: 1px solid var(--nebrix-border);
  border-radius: var(--nebrix-radius);
  padding: 18px;
  margin-bottom: 24px;
}
.single-prod-specs-box h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--nebrix-navy);
  margin: 0 0 12px 0;
}
.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.specs-table tr {
  border-bottom: 1px solid #edf2f7;
}
.specs-table tr:last-child {
  border-bottom: none;
}
.specs-table td {
  padding: 8px 4px;
}
.specs-table td.label {
  color: var(--nebrix-text-muted);
  width: 40%;
  font-weight: 500;
}
.specs-table td.val {
  color: var(--nebrix-navy);
  font-weight: 600;
}

.single-prod-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  background: #ffffff;
  border: 1px solid var(--nebrix-border);
  border-radius: var(--nebrix-radius);
  padding: 16px;
  box-shadow: var(--nebrix-shadow-sm);
}

@media (max-width: 900px) {
  .single-prod-top-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* =========================================
   PRODUCT CATALOG & ARCHIVE
   ========================================= */
.catalog-tech-card {
  background: #ffffff;
  border: 1px solid var(--nebrix-border);
  border-radius: var(--nebrix-radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--nebrix-shadow-sm);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}
.catalog-tech-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--nebrix-shadow-tinted-hover);
  border-color: var(--nebrix-blue);
}
.tech-card-thumb-wrap {
  background: #001e38;
  height: 190px;
  overflow: hidden;
  position: relative;
}
.tech-card-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.catalog-tech-card:hover .tech-card-thumb-wrap img {
  transform: scale(1.06);
}

.tech-card-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.tech-card-specs-matrix {
  margin: 8px 0 14px 0;
  font-size: 0.82rem;
  color: var(--nebrix-text-muted);
  background: var(--nebrix-bg-soft);
  padding: 10px 12px;
  border-radius: var(--nebrix-radius);
  border: 1px solid #f1f5f9;
}
.spec-matrix-row {
  display: flex;
  justify-content: space-between;
  padding: 3px 0;
}
.spec-matrix-row .spec-label {
  color: #64748b;
}
.spec-matrix-row .spec-val {
  color: #0f172a;
  font-weight: 600;
}

.tech-card-actions {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 8px;
}
.btn-action-rfq {
  background: var(--nebrix-blue);
  color: #ffffff !important;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 9px 12px;
  border-radius: var(--nebrix-radius);
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}
.btn-action-rfq:hover {
  background: var(--nebrix-blue-hover);
}
.btn-action-rfq.added {
  background: #16a34a !important;
}

.btn-action-wa {
  background: #f0fdf4;
  color: #166534 !important;
  border: 1px solid #bbf7d0;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 9px 10px;
  border-radius: var(--nebrix-radius);
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all 0.2s ease;
}
.btn-action-wa:hover {
  background: #16a34a;
  color: #ffffff !important;
  border-color: #16a34a;
}

/* =========================================
   PERSISTENT RFQ BASKET & FLOATING WIDGET
   ========================================= */
#nebrix-floating-rfq {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--nebrix-navy);
  color: #ffffff;
  border-radius: var(--nebrix-radius-pill);
  padding: 12px 20px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.35);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  z-index: 9999;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
#nebrix-floating-rfq:hover {
  transform: translateY(-3px) scale(1.02);
  background: #0369a1;
  color: #ffffff;
  box-shadow: 0 14px 35px rgba(2, 132, 199, 0.4);
}
#nebrix-rfq-count-badge {
  background: var(--nebrix-red);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  min-width: 22px;
  height: 22px;
  border-radius: var(--nebrix-radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

/* RFQ Basket Table on /request-a-quote/ */
.rfq-basket-summary-wrap {
  background: #ffffff;
  border: 1px solid var(--nebrix-border);
  border-radius: var(--nebrix-radius-lg);
  padding: 22px;
  margin-bottom: 25px;
  box-shadow: var(--nebrix-shadow-sm);
}
.rfq-basket-summary-wrap h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--nebrix-navy);
  margin: 0 0 14px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.rfq-basket-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin-bottom: 12px;
}
.rfq-basket-table th {
  background: #f8fafc;
  color: #475569;
  font-weight: 700;
  text-align: left;
  padding: 10px 12px;
  border-bottom: 2px solid var(--nebrix-border);
}
.rfq-basket-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}
.rfq-qty-input {
  width: 65px;
  padding: 6px;
  border: 1px solid #cbd5e1;
  border-radius: var(--nebrix-radius-sm);
  text-align: center;
  font-weight: 600;
}
.rfq-remove-btn {
  background: none;
  border: none;
  color: #ef4444;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 4px 8px;
  border-radius: var(--nebrix-radius-sm);
  transition: background 0.2s;
}
.rfq-remove-btn:hover {
  background: #fee2e2;
}

/* =========================================
   REGIONAL HUBS COMPARISON (HOMEPAGE)
   ========================================= */
.regional-hubs-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 30px;
}
.hub-facility-card {
  background: #ffffff;
  border: 1px solid var(--nebrix-border);
  border-radius: var(--nebrix-radius-lg);
  padding: 30px;
  box-shadow: var(--nebrix-shadow);
  transition:
    border-color 0.2s ease,
    transform 0.2s ease;
}
.hub-facility-card:hover {
  border-color: var(--nebrix-blue);
  transform: translateY(-2px);
}
.hub-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}
.hub-card-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--nebrix-radius-lg);
  background: var(--nebrix-blue-light);
  color: var(--nebrix-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hub-card-title h3 {
  margin: 0 0 4px 0;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--nebrix-navy);
}
.hub-card-title span {
  font-size: 0.82rem;
  color: var(--nebrix-text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

@media (max-width: 768px) {
  .regional-hubs-grid-2 {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   FOOTER BOTTOM BAR ENHANCEMENT
   ========================================= */
.footer-bottom-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: #94a3b8;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copyright-text {
  color: #94a3b8;
  font-weight: 500;
}
.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-bottom-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}
.footer-bottom-links a:hover {
  color: #38bdf8;
  text-decoration: underline;
}
.footer-sep {
  color: #475569;
}

/* =========================================
   UNIVERSAL SUBPAGE HERO HARMONIZATION
   ========================================= */
.about-hero-v2,
.about-hero-v3,
.services-hero-v2,
.catalog-tech-hero,
.downloads-hero,
.contacts-hero-v3,
.blog-hero-v3,
.quote-hero-v3,
.legal-hero-v3,
.single-service-hero-v2,
.single-post-hero-v3 {
  min-height: 240px !important;
  box-sizing: border-box !important;
}

/* =========================================
   HOMEPAGE: DIRECT TIER-1 SOURCING & QUALITY STRIP
   Card grid replacing a plain pill-badge row, so certification credentials
   read as a real feature grid (matching pillar-card-box / about-brand-card
   elsewhere) instead of a thin strip of rounded tags.
   ========================================= */
.tf-sourcing-section {
  background: var(--nebrix-bg-soft);
  border-top: 1px solid var(--nebrix-border);
  border-bottom: 1px solid var(--nebrix-border);
}
.tf-sourcing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.tf-sourcing-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  border: 1px solid var(--nebrix-border);
  border-radius: var(--nebrix-radius-lg);
  padding: 18px 20px;
  box-shadow: var(--nebrix-shadow-sm);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}
.tf-sourcing-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--nebrix-shadow-hover);
  border-color: var(--nebrix-blue);
}
.tf-sourcing-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--nebrix-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tf-sourcing-icon.accent-red {
  background: #fee2e2;
}
.tf-sourcing-icon.accent-blue {
  background: var(--nebrix-blue-light);
}
.tf-sourcing-icon.accent-green {
  background: #dcfce7;
}
.tf-sourcing-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--nebrix-text);
  line-height: 1.3;
}
@media (max-width: 900px) {
  .tf-sourcing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .tf-sourcing-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   HOMEPAGE: REGIONAL LOGISTICS & WAREHOUSING GRID
   Dark full-width band matching the site's other dark industrial
   sections (proof-numbers stats strip, 5-stage workflow) rather than
   another plain white card grid -- gives this section its own visual
   weight instead of blending into the light pill-strip pattern above
   it or duplicating the photo-card treatment below it.
   ========================================= */
.tf-logistics-section {
  background: #00203f;
  padding: 60px 0;
}
.tf-logistics-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.tf-logistics-header {
  max-width: 640px;
  margin-bottom: 36px;
}
.tf-logistics-header h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 8px 0;
  line-height: 1.25;
}
.tf-logistics-header p {
  font-size: 0.95rem;
  color: #94a3b8;
  margin: 0;
  line-height: 1.5;
}
.tf-logistics-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.tf-logistics-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--nebrix-radius-lg);
  padding: 22px 20px;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}
.tf-logistics-item:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.09);
  border-color: #38bdf8;
}
.tf-logistics-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--nebrix-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tf-logistics-icon.accent-red {
  background: rgba(248, 113, 113, 0.15);
}
.tf-logistics-icon.accent-blue {
  background: rgba(56, 189, 248, 0.15);
}
.tf-logistics-icon.accent-green {
  background: rgba(52, 211, 153, 0.15);
}
.tf-logistics-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
}
@media (max-width: 900px) {
  .tf-logistics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .tf-logistics-grid {
    grid-template-columns: 1fr;
  }
}
/* =========================================
   CONSOLIDATED HEADING / TITLE COMPONENT CSS
   Single source of truth for these selectors -- moved here from
   duplicate/conflicting copies previously scattered across style.css
   and per-template inline <style> blocks. Do not re-add these
   selectors elsewhere; edit them here only. Before retagging a
   heading or restyling a card/section title anywhere in this theme,
   grep style.css, this file, and the template's own inline <style>
   block for the selector -- duplicates are common in this codebase.
   ========================================= */

/* Per-page "hide default title" hacks */
.page-id-86 .entry-header,
.page-id-93 .entry-header {
  display: none !important;
}

/* Footer column & widget titles */
.site-footer .widget-title {
  color: #ffffff !important;
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 12px;
}
.footer-col h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin: 0 0 16px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(0, 150, 201, 0.4);
  margin-top: 0;
  margin-bottom: 20px;
  position: relative;
}

/* Shared homepage/section header pattern (label-eyebrow + h2 + intro paragraph) */
.tf-section-header-v2 {
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
}
.tf-section-header-v2 .header-text h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #00203f;
  margin: 0;
  position: relative;
  padding-bottom: 0;
  line-height: 1.25;
}
.tf-section-header-v2 .header-text h2::after {
  content: none;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3.5px;
  background: #d13c34;
}
.tf-section-header-v2 .header-text p {
  font-size: 0.9rem;
  color: #64748b;
  margin: 4px 0 0 0;
  max-width: 680px;
  line-height: 1.5;
}

/* Final-CTA and hero headings (per-page) */
.multi-intent-cta-inner h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  margin: 0 0 12px 0;
}
.about-hero-v2-inner h1 {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 20px;
  color: #ffffff;
  margin: 0 0 10px 0;
  letter-spacing: -0.5px;
}
.services-hero-v2-inner h1 {
  font-size: 2.1rem !important;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 12px;
  color: #ffffff;
  margin: 0 0 10px 0;
}

/* About Us page component headings */
.about-value-card h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px 0;
}
.about-story-text h2 {
  font-size: 1.9rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
  margin: 0 0 12px 0;
  letter-spacing: -0.3px;
}
.about-sector-box h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 12px 0;
  line-height: 1.35;
}
.network-block-title {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #0096c9;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.network-block-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e2e8f0;
}
.about-brand-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}
.about-client-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

/* Downloads / resources page */
.doc-title-cell {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.custom-doc-text h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 6px 0;
}
.resource-card-v2 h3 {
  font-size: 1.12rem !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  margin: 0 0 8px 0 !important;
}

/* Contacts & request-a-quote pages */
.contact-channel-card h2 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 6px;
}
.quote-form-header {
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid #f1f5f9;
}
.quote-form-header p {
  font-size: 0.92rem;
  color: #64748b;
  margin: 0;
}

/* Top-bar Ivory Search integration */
.nebrix-ivory-search-header-wrap {
  display: flex !important;
  align-items: center;
  width: 100% !important;
  justify-content: center !important;
}
.nebrix-ivory-search-header-wrap .is-form-style {
  display: flex !important;
  align-items: center !important;
  border: 1px solid rgba(125, 211, 252, 0.4) !important;
  border-radius: 20px !important;
  padding: 3px 12px !important;
  background: rgba(0, 32, 63, 0.7) !important;
  backdrop-filter: blur(4px) !important;
  width: 100% !important;
  max-width: 420px !important;
  box-sizing: border-box !important;
}
.nebrix-ivory-search-header-wrap input[type="search"] {
  background: transparent !important;
  border: none !important;
  color: #ffffff !important;
  font-size: 0.85rem !important;
  padding: 3px 8px !important;
  width: 100% !important;
  outline: none !important;
}
.nebrix-ivory-search-header-wrap input[type="search"]::placeholder {
  color: #94a3b8 !important;
}

/* Homepage: learning/intel banner & article card titles */
.tf-learning-banner-content h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
  margin: 0 0 12px 0;
}
.tf-intel-content h3 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.4;
  margin: 0 0 4px 0;
  white-space: normal;
}
.tf-intel-content h3 a {
  color: inherit;
  text-decoration: none;
}
.tf-intel-content h3 a:hover {
  color: #0096c9;
}

/* Case study / project card titles */
.case-study-content h3 {
  font-size: 1.18rem !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  margin: 0 0 10px 0 !important;
  line-height: 1.35 !important;
}

/* Product catalog card titles */
.tech-card-title {
  font-size: 0.98rem !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  margin: 0 0 10px 0 !important;
  position: static !important;
  clear: both !important;
}
.tech-card-title a {
  color: #0f172a !important;
  text-decoration: none !important;
  transition: color 0.2s;
}
.tech-card-title a:hover {
  color: #0096c9 !important;
}

/* Legal pages (privacy-policy & terms-conditions share this markup) */
.legal-hero-v3 h1 {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}
.legal-article-body h2 {
  font-size: 1.55rem;
  font-weight: 800;
  color: #0f172a;
  margin-top: 40px;
  margin-bottom: 16px;
  line-height: 1.3;
  padding-bottom: 8px;
  border-bottom: 2px solid #f1f5f9;
}
.legal-article-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-top: 28px;
  margin-bottom: 12px;
}
.legal-contact-box h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* =========================================
   CONTENT SHORTCODES: [nebrix_products] / [nebrix_services] /
   [nebrix_resources] ([nebrix_downloads])
   Self-contained `.nebrix-sc-*` namespace -- deliberately not shared with
   the catalog/services/downloads archive templates, so editing a
   shortcode card can never silently restyle (or be restyled by) the
   dedicated archive pages, and vice versa.
   ========================================= */
.nebrix-sc-wrap {
  margin: 24px 0;
}
.nebrix-sc-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--nebrix-text);
  margin: 0 0 16px 0;
}
.nebrix-sc-empty {
  font-size: 0.9rem;
  color: var(--nebrix-text-muted);
  background: var(--nebrix-bg-soft);
  border: 1px dashed var(--nebrix-border);
  border-radius: var(--nebrix-radius);
  padding: 16px;
  text-align: center;
}
.nebrix-sc-grid {
  display: grid;
  grid-template-columns: repeat(var(--nebrix-sc-cols, 3), 1fr);
  gap: 20px;
}
.nebrix-sc-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--nebrix-border);
  border-radius: var(--nebrix-radius-lg);
  overflow: hidden;
  box-shadow: var(--nebrix-shadow-sm);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}
.nebrix-sc-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--nebrix-shadow-hover);
  border-color: var(--nebrix-blue);
}
.nebrix-sc-card-thumb {
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--nebrix-bg-soft);
  overflow: hidden;
}
.nebrix-sc-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.nebrix-sc-thumb-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nebrix-sc-card-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-grow: 1;
}
.nebrix-sc-card-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--nebrix-blue);
}
.nebrix-sc-card-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--nebrix-text);
  margin: 0;
  line-height: 1.35;
}
.nebrix-sc-card-title a {
  color: inherit;
  text-decoration: none;
}
.nebrix-sc-card-title a:hover {
  color: var(--nebrix-blue);
}
.nebrix-sc-card-meta {
  font-size: 0.82rem;
  color: var(--nebrix-text-muted);
  margin: 0;
}
.nebrix-sc-card-desc {
  font-size: 0.85rem;
  color: var(--nebrix-text-muted);
  line-height: 1.5;
  margin: 0;
  flex-grow: 1;
}
.nebrix-sc-card-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--nebrix-blue);
  text-decoration: none;
  margin-top: 8px;
  display: inline-block;
}
.nebrix-sc-card-link:hover {
  text-decoration: underline;
}
@media (max-width: 900px) {
  .nebrix-sc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .nebrix-sc-grid {
    grid-template-columns: 1fr;
  }
}

/* Resource / download list rows */
.nebrix-sc-doc-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.nebrix-sc-doc-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  border: 1px solid var(--nebrix-border);
  border-radius: var(--nebrix-radius);
  padding: 12px 16px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.nebrix-sc-doc-row:hover {
  border-color: var(--nebrix-blue);
  box-shadow: var(--nebrix-shadow-sm);
}
.nebrix-sc-doc-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--nebrix-radius);
  background: var(--nebrix-blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nebrix-sc-doc-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-grow: 1;
  min-width: 0;
}
.nebrix-sc-doc-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--nebrix-text);
  text-decoration: none;
}
.nebrix-sc-doc-title:hover {
  color: var(--nebrix-blue);
}
.nebrix-sc-doc-format {
  font-size: 0.75rem;
  color: var(--nebrix-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.nebrix-sc-doc-btn {
  flex-shrink: 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffffff;
  background: var(--nebrix-blue);
  padding: 8px 16px;
  border-radius: var(--nebrix-radius);
  text-decoration: none;
  transition: background 0.2s ease;
}
.nebrix-sc-doc-btn:hover {
  background: var(--nebrix-blue-hover);
  color: #ffffff;
}
.nebrix-sc-doc-btn-outline {
  background: transparent;
  color: var(--nebrix-blue);
  border: 1px solid var(--nebrix-blue);
}
.nebrix-sc-doc-btn-outline:hover {
  background: var(--nebrix-blue-light);
  color: var(--nebrix-blue);
}
