/* ==========================================================================
   iMegaGen Downloadcenter — Frontend Styles
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Custom Properties
   -------------------------------------------------------------------------- */

.ib-dc {
  --ib-primary: #01a7e9;
  --ib-primary-lt: #e0f6fd;
  --ib-accent: #01a7e9;
  --ib-text: #1a1a2e;
  --ib-muted: #6b7280;
  --ib-border: #e5e7eb;
  --ib-bg: #f9fafb;
  --ib-white: #ffffff;
  --ib-radius: 8px;
  --ib-shadow: 0 1px 4px rgba(0, 0, 0, 0.08), 0 2px 12px rgba(0, 0, 0, 0.04);
  --ib-shadow-hov:
    0 4px 16px rgba(0, 48, 135, 0.14), 0 2px 6px rgba(0, 48, 135, 0.08);

  --ib-exocad: #c0392b;
  --ib-3shape: #1a4faa;
  --ib-dw: #00897b;

  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ib-text);
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
}

/* --------------------------------------------------------------------------
   Search Bar
   -------------------------------------------------------------------------- */

.ib-search-bar {
  margin-bottom: 28px;
}

.ib-search-inner {
  position: relative;
  max-width: 520px;
}

.ib-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ib-muted);
  pointer-events: none;
}

.ib-search-input {
  width: 100%;
  padding: 13px 16px 13px 44px;
  border: 2px solid var(--ib-border);
  border-radius: 10px;
  font-size: 15px;
  color: var(--ib-text);
  background: var(--ib-white);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  box-sizing: border-box;
}

.ib-search-input:focus {
  outline: none;
  border-color: var(--ib-accent);
  box-shadow: 0 0 0 3px rgba(0, 85, 179, 0.12);
}

.ib-search-input::placeholder {
  color: #9ca3af;
}

.ib-search-results {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--ib-white);
  border: 1px solid var(--ib-border);
  border-radius: var(--ib-radius);
  box-shadow: var(--ib-shadow);
  z-index: 100;
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   Breadcrumb
   -------------------------------------------------------------------------- */

.ib-breadcrumb {
  margin-bottom: 24px;
}

.ib-breadcrumb__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ib-breadcrumb__item {
  display: flex;
  align-items: center;
  font-size: 13.5px;
  color: var(--ib-muted);
}

.ib-breadcrumb__item a {
  color: var(--ib-accent);
  text-decoration: none;
  padding: 4px 6px;
  border-radius: 4px;
  transition: background 0.15s;
}

.ib-breadcrumb__item a:hover {
  background: var(--ib-primary-lt);
  text-decoration: none;
}

.ib-breadcrumb__item--active span {
  color: var(--ib-text);
  font-weight: 600;
  padding: 4px 6px;
}

.ib-breadcrumb__sep {
  margin: 0 2px;
  color: #d1d5db;
  font-size: 15px;
}

/* --------------------------------------------------------------------------
   Card Grid
   -------------------------------------------------------------------------- */

.ib-card-grid {
  display: grid;
  gap: 16px;
}

.ib-card-grid--terms {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  align-items: stretch;
}

/* --------------------------------------------------------------------------
   Download-Center Landing-Page Hero  (3 Variants)
   Full-width dark hero rendered before the .ib-dc shortcode wrapper.
   -------------------------------------------------------------------------- */

/* Reset Divi's entry-content constraints on the direct-render page.
   Without this the hero and content would be squeezed inside Divi's
   constrained content area even though we bypass the page builder. */
.ib-dc-fullwidth-page #content-area,
.ib-dc-fullwidth-page .entry-content,
.ib-dc-fullwidth-page .et_pb_post,
.ib-dc-fullwidth-page #main-content > article {
  max-width: none !important;
  padding: 0 !important;
}

/* --- Shared base --- */
.ib-dc-hero {
  position: relative;
  overflow: hidden;
  width: 100%;
  background: linear-gradient(135deg, #011929 0%, #023050 55%, #04456e 100%);
  color: #fff;
}

.ib-dc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(128, 128, 128, 0.12) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(128, 128, 128, 0.12) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.ib-dc-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    #01a7e9 0%,
    rgba(1, 167, 233, 0.15) 60%,
    transparent 100%
  );
}

/* Common inner wrapper */
.ib-dc-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Shared eyebrow badge */
.ib-dc-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #7dd8f8;
  background: rgba(5, 166, 232, 0.1);
  border: 1px solid rgba(5, 166, 232, 0.25);
  border-radius: 6px;
  padding: 5px 10px;
  margin-bottom: 18px;
}

/* Shared title */
.ib-dc-hero__title {
  font-weight: 800;
  color: #fff;
  margin: 0 0 14px;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.ib-dc-hero__title-accent {
  color: #38c0f4;
}

/* Shared desc */
.ib-dc-hero__desc {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.65;
  margin: 0;
}

/* --- Search inside hero: fix CSS-var inheritance outside .ib-dc --- */
.ib-dc-hero .ib-search-bar {
  margin-bottom: 0;
}
.ib-dc-hero .ib-search-inner {
  max-width: 100%;
}

.ib-dc-hero .ib-search-input {
  background: rgba(255, 255, 255, 0.97);
  border-color: transparent;
  color: #1a1a2e; /* FIX: explicit dark text */
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.28);
}
.ib-dc-hero .ib-search-input::placeholder {
  color: #6b7280;
}
.ib-dc-hero .ib-search-input:focus {
  border-color: #05a6e8;
  box-shadow:
    0 0 0 3px rgba(5, 166, 232, 0.3),
    0 4px 24px rgba(0, 0, 0, 0.25);
}
.ib-dc-hero .ib-search-icon {
  color: #64748b;
}

/* FIX: search results panel — explicit white bg (CSS vars not available here) */
.ib-dc-hero .ib-search-results {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
  color: #1a1a2e; /* reset inherited white from hero */
}

/* FIX: all content inside results panel — explicit colors (no CSS vars) */
.ib-dc-hero .ib-search-msg,
.ib-dc-hero .ib-search-loading {
  color: #6b7280;
}

.ib-dc-hero .ib-search-item {
  color: #1a1a2e;
  border-bottom-color: #e5e7eb;
}
.ib-dc-hero .ib-search-item:hover,
.ib-dc-hero .ib-search-item:focus {
  background: #f9fafb;
}

.ib-dc-hero .ib-search-item__title {
  color: #1a1a2e;
  font-weight: 600;
}
.ib-dc-hero .ib-search-item__refs {
  color: #6b7280;
}
.ib-dc-hero .ib-search-item__path {
  color: #9ca3af;
}

.ib-dc-hero .ib-search-spinner {
  border-color: #e5e7eb;
  border-top-color: #01a7e9;
}

/* --- Level navigation buttons (shared) --- */
.ib-dc-hero__levels {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.ib-dc-hero__levels-label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ib-dc-hero__level-btn {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  gap: 8px;
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  backdrop-filter: blur(4px);
  transition:
    background 0.18s,
    border-color 0.18s,
    color 0.18s;
}
.ib-dc-hero__level-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  text-decoration: none;
}

/* ===================================================================
   VARIANT 1 — Editorial Left
   =================================================================== */

.ib-dc-hero--v1 {
  padding: 72px 0 64px;
}

.ib-dc-hero__inner--left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.ib-dc-hero--v1 .ib-dc-hero__title {
  font-size: clamp(36px, 5.5vw, 60px);
}

.ib-dc-hero--v1 .ib-dc-hero__desc {
  font-size: 16px;
  max-width: 520px;
}

.ib-dc-hero__search--left {
  width: 100%;
  max-width: 540px;
  margin-top: 32px;
}
/* Hero search input sizing */
.ib-dc-hero__search--left .ib-search-input {
  font-size: 16px;
  padding: 14px 20px 14px 52px;
  border-radius: 10px;
  border: 3px solid transparent;
}
/* Hero search hover — higher specificity to override border-color: transparent */
.ib-dc-hero .ib-dc-hero__search--left .ib-search-input {
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.ib-dc-hero .ib-dc-hero__search--left .ib-search-input:hover {
  border-color: rgba(5, 166, 232, 0.5);
  box-shadow: 0 2px 12px rgba(5, 166, 232, 0.12);
}
.ib-dc-hero .ib-dc-hero__search--left .ib-search-input:focus {
  border-color: #05a6e8;
  box-shadow:
    0 0 0 3px rgba(5, 166, 232, 0.18),
    0 2px 12px rgba(5, 166, 232, 0.1);
}
.ib-dc-hero__search--left .ib-search-icon {
  width: 20px;
  height: 20px;
  left: 18px;
}

/* ===================================================================
   VARIANT 2 — Split Column
   =================================================================== */
.ib-dc-hero--v2 {
  padding: 64px 0;
}

.ib-dc-hero__inner--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.ib-dc-hero--v2 .ib-dc-hero__title {
  font-size: clamp(30px, 4vw, 48px);
  margin-bottom: 10px;
}

.ib-dc-hero--v2 .ib-dc-hero__desc {
  font-size: 14px;
  margin-bottom: 28px;
}

/* Split left: navigation list */
.ib-dc-hero__split-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ib-dc-hero__split-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  text-decoration: none;
  transition:
    background 0.18s,
    border-color 0.18s;
}
.ib-dc-hero__split-nav-item:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(5, 166, 232, 0.4);
  text-decoration: none;
}
.ib-dc-hero__split-nav-item svg {
  color: #38c0f4;
  margin-left: auto;
  flex-shrink: 0;
}

.ib-dc-hero__split-nav-name {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}
.ib-dc-hero__split-nav-count {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

/* Split right: search */
.ib-dc-hero__split-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 32px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
}

.ib-dc-hero__split-search-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.02em;
}

.ib-dc-hero--v2 .ib-dc-hero__search .ib-search-input {
  font-size: 15px;
  padding: 14px 18px 14px 48px;
}

.ib-dc-hero__split-search-hint {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  margin: 0;
}

/* ===================================================================
   VARIANT 3 — Compact Focus
   =================================================================== */
.ib-dc-hero--v3 {
  padding: 48px 0 0;
}

.ib-dc-hero__inner--compact {
  display: flex;
  flex-direction: column;
}

.ib-dc-hero__compact-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: flex-end;
  padding-bottom: 36px;
}

.ib-dc-hero--v3 .ib-dc-hero__title {
  font-size: clamp(28px, 3.5vw, 42px);
  margin-bottom: 8px;
}

.ib-dc-hero--v3 .ib-dc-hero__desc {
  font-size: 14px;
}

.ib-dc-hero__search--compact {
  width: 100%;
}
.ib-dc-hero__search--compact .ib-search-input {
  font-size: 15px;
  padding: 14px 18px 14px 48px;
}

/* Tab nav strip at bottom of v3 */
.ib-dc-hero__tab-nav {
  display: flex;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.ib-dc-hero__tab {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 1;
  justify-content: center;
  padding: 16px 20px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  transition:
    background 0.18s,
    color 0.18s;
}
.ib-dc-hero__tab:last-child {
  border-right: none;
}
.ib-dc-hero__tab:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  text-decoration: none;
}
.ib-dc-hero__tab svg {
  color: #38c0f4;
}

/* --------------------------------------------------------------------------
   Grouped product-line view (landing page — Level 0)
   -------------------------------------------------------------------------- */

/* Content wrapper for the download center direct-render page:
   mirrors .ib-term-content padding so the layout is consistent
   with product line / restoration type sub-pages. */
.ib-dc-page #ib-downloadcenter {
  padding: 40px 32px 64px;
}

.ib-dc-group {
  margin-bottom: 48px;
}

.ib-dc-group:last-child {
  margin-bottom: 0;
}

.ib-dc-group__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e5e7eb;
  position: relative;
}

/* Short blue accent line — overlays the left portion of the divider */
.ib-dc-group__header::before {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 36px;
  height: 2.5px;
  background: #05a6e8;
  border-radius: 2px;
}

.ib-dc-group__title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1a1a2e;
  margin: 0;
  padding: 0;
}

.ib-dc-group__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: #05a6e8;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s;
}

.ib-dc-group__link:hover {
  color: #038bc4;
}

.ib-card-grid--components {
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}

/* --------------------------------------------------------------------------
   Term Card (Navigations-Karte) — vertikales Layout mit Bild
   -------------------------------------------------------------------------- */

.ib-card--term {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--ib-white);
  border: 1px solid var(--ib-border);
  border-radius: var(--ib-radius);
  box-shadow: var(--ib-shadow);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  position: relative;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    border-color 0.2s;
}

/* Admin edit badge on term cards */
.ib-card__admin-edit {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  border-radius: 6px;
  opacity: 0;
  transition: opacity 0.15s;
  z-index: 2;
  cursor: pointer;
}
.ib-card--term:hover .ib-card__admin-edit {
  opacity: 1;
}
.ib-card__admin-edit:hover {
  background: #05a6e8;
}

.ib-card--term:hover {
  transform: translateY(-3px);
  box-shadow: var(--ib-shadow-hov);
  border-color: var(--ib-accent);
  text-decoration: none;
  color: inherit;
}

/* Text content area */
.ib-card__content {
  padding: 18px 20px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ib-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ib-card__name {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: var(--ib-text);
  line-height: 1.2;
  transition: color 0.18s;
}

.ib-card--term:hover .ib-card__name {
  color: var(--ib-primary);
}

.ib-card__desc {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ib-muted);
}

.ib-card__level {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ib-muted);
}

/* Restoration type tags */
.ib-card__rtypes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.ib-card__rtype-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  color: var(--ib-primary);
  background: var(--ib-primary-lt);
  border-radius: 4px;
  padding: 2px 8px;
  white-space: nowrap;
}

/* Footer: count + arrow */
.ib-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--ib-border);
}

.ib-card__count {
  font-size: 12px;
  font-weight: 500;
  color: var(--ib-muted);
  letter-spacing: 0.02em;
}

.ib-card__arrow {
  flex-shrink: 0;
  color: #d1d5db;
  transition:
    color 0.18s,
    transform 0.18s;
}

.ib-card--term:hover .ib-card__arrow {
  color: var(--ib-accent);
  transform: translateX(3px);
}

/* Image section — sits on TOP of the card */
.ib-card__image {
  width: 100%;
  aspect-ratio: 4 / 4;
  overflow: hidden;
  border-bottom: 1px solid var(--ib-border);
  flex-shrink: 0;
  order: -1;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ib-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.ib-card--term:hover .ib-card__image img {
  /* no zoom for transparent PNG product images */
}

/* Placeholder when no image is set */
.ib-card__image--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ib-primary-lt);
  color: var(--ib-primary);
  opacity: 0.5;
}

/* --------------------------------------------------------------------------
   Komponenten-Karte — modernes Design
   -------------------------------------------------------------------------- */

.ib-comp-card {
  position: relative;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.06),
    0 4px 16px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: box-shadow 0.22s ease;
}

.ib-comp-card:hover {
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.08),
    0 8px 28px rgba(0, 0, 0, 0.1);
}

/* Image area */
.ib-comp-card__visual {
  background: #f5f7fa;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.ib-comp-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  padding: 16px;
}

.ib-comp-card__no-image {
  color: #c0cad8;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* Text content */
.ib-comp-card__body {
  padding: 20px 20px 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ib-comp-card__title {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  line-height: 1.3;
}

.ib-comp-card__desc {
  margin: 0;
  font-size: 13px;
  color: #6b7280;
  line-height: 1.5;
}

/* Download buttons */
.ib-comp-card__actions {
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ib-comp-card__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 14px 6px 16px;
  border-radius: 10px;
  background: #01a7e9;
  color: #fff;
  text-decoration: none;
  transition:
    filter 0.18s ease,
    transform 0.18s ease;
}

.ib-comp-card__btn:hover {
  filter: brightness(0.82);
  color: #fff;
  text-decoration: none;
}

.ib-comp-card__btn--exocad {
  background: #1a4971;
}
.ib-comp-card__btn--3shape {
  background: #0e6bb5;
}
.ib-comp-card__btn--dental-wings {
  background: #0b8f82;
}
.ib-comp-card__btn--medit {
  background: #6d4c9e;
}
/* "Already included" state */
.ib-comp-card__btn--included {
  background: #e6f7f0;
  color: #1a7a4a;
  cursor: default;
  pointer-events: none;
}
.ib-comp-card__btn--included .ib-comp-card__btn-action {
  opacity: 1;
}
/* "Coming Soon" state */
.ib-comp-card__btn--coming-soon {
  background: #f0f0f0;
  color: #888;
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.75;
}

/* "Bereits enthalten" modal — gleiche Sprache wie .ib-search-overlay__panel */
.ib-included-popup-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(1, 20, 33, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: ib-overlay-backdrop-in 0.22s ease;
}
.ib-included-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.ib-included-popup__card {
  pointer-events: auto;
  background: #fff;
  border-radius: 16px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 24px 70px rgba(0, 0, 0, 0.45),
    0 6px 20px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  max-width: 400px;
  width: calc(100vw - 48px);
  animation: ib-panel-in 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  position: relative;
}
.ib-included-popup__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 52px 16px 20px;
  border-bottom: 1px solid #eef1f4;
}
.ib-included-popup__icon {
  width: 38px;
  height: 38px;
  background: #e6f7f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ib-included-popup__title {
  font-size: 15px;
  font-weight: 700;
  color: #0d1f2d;
  margin: 0;
  line-height: 1.3;
}
.ib-included-popup__sw {
  color: #1a7a4a;
}
.ib-included-popup__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 28px;
  height: 28px;
  background: #f0f2f5;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 16px;
  line-height: 1;
  transition:
    background 0.15s,
    color 0.15s;
}
.ib-included-popup__close:hover {
  background: #e2e5ea;
  color: #111;
}
.ib-included-popup__body {
  font-size: 13px;
  color: #52687a;
  line-height: 1.65;
  margin: 0;
  padding: 16px 20px 28px !important;
}

/* Admin edit link — only visible when logged in with edit_posts cap */
.ib-comp-card__admin-edit {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  border-radius: 6px;
  opacity: 0;
  transition: opacity 0.15s;
  text-decoration: none;
  z-index: 2;
}
.ib-comp-card:hover .ib-comp-card__admin-edit {
  opacity: 1;
}
.ib-comp-card__admin-edit:hover {
  background: #05a6e8;
  color: #fff;
  text-decoration: none;
}

.ib-comp-card__btn-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.ib-comp-card__btn-action {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 500;
  opacity: 0.85;
}

.ib-card-grid--components {
  grid-template-columns: repeat(3, 1fr);
}

.ib-component-card__title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--ib-text);
  line-height: 1.3;
}

.ib-component-card__refs {
  margin: 10px 20px 0;
  font-size: 12px;
  color: var(--ib-muted);
}

.ib-refs-label {
  font-weight: 600;
  margin-right: 4px;
}

/* --------------------------------------------------------------------------
   Download-Buttons
   -------------------------------------------------------------------------- */

.ib-download-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 20px 20px;
}

.ib-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    opacity 0.15s,
    transform 0.15s;
  white-space: nowrap;
}

.ib-btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
  text-decoration: none;
}

.ib-btn--exocad {
  background: var(--ib-exocad);
  color: #fff;
  border-color: var(--ib-exocad);
}

.ib-btn--3shape {
  background: var(--ib-3shape);
  color: #fff;
  border-color: var(--ib-3shape);
}

.ib-btn--dentalwings {
  background: var(--ib-dw);
  color: #fff;
  border-color: var(--ib-dw);
}

.ib-no-downloads {
  padding: 16px 20px 20px;
  margin: 0;
  font-size: 13px;
  color: var(--ib-muted);
  font-style: italic;
}

/* --------------------------------------------------------------------------
   Leerer Zustand
   -------------------------------------------------------------------------- */

.ib-empty-state {
  text-align: center;
  padding: 48px 24px;
  color: var(--ib-muted);
  font-size: 15px;
  background: var(--ib-bg);
  border: 1px dashed var(--ib-border);
  border-radius: var(--ib-radius);
}

/* --------------------------------------------------------------------------
   Responsiv
   -------------------------------------------------------------------------- */

@media (max-width: 768px) {
  .ib-card-grid--terms {
    grid-template-columns: 1fr 1fr;
  }

  .ib-card-grid--components {
    grid-template-columns: 1fr 1fr;
  }

  .ib-download-buttons {
    flex-direction: column;
  }

  .ib-btn {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .ib-card-grid--terms {
    grid-template-columns: 1fr;
  }

  .ib-dc {
    padding: 0 4px;
  }
}

/* --------------------------------------------------------------------------
   Suchergebnisse Dropdown (allgemein)
   -------------------------------------------------------------------------- */

.ib-search-list {
  list-style: none;
  margin: 0;
  padding: 0; /* FIX: remove browser-default padding-left */
}

.ib-search-item {
  display: flex;
  flex-direction: row; /* thumbnail + info side-by-side */
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  cursor: pointer;
  border-bottom: 1px solid #e5e7eb;
  transition: background 0.12s;
  outline: none;
  text-decoration: none;
  color: #1a1a2e;
}

.ib-search-item:last-child {
  border-bottom: none;
}

.ib-search-item:hover,
.ib-search-item:focus {
  background: #f0f9ff;
}

/* Thumbnail */
.ib-search-item__thumb {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  flex-shrink: 0;
  padding: 4px;
}

.ib-search-item__thumb--placeholder {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d1d5db;
}

/* Text info */
.ib-search-item__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ib-search-item__title {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a2e;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ib-search-item__refs {
  font-size: 12px;
  color: #6b7280;
  font-family: monospace;
}

.ib-search-item__path {
  font-size: 11px;
  color: #9ca3af;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ib-search-item mark {
  background: #fef08a;
  color: inherit;
  border-radius: 2px;
  padding: 0 1px;
}

/* ==========================================================================
   Search Overlay — Command-Palette Style (Algolia DocSearch pattern)
   Structure: white panel = header (input) + body (results/empty) + footer (hints)
   ========================================================================== */

@keyframes ib-overlay-backdrop-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes ib-panel-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes ib-item-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes ib-overlay-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

/* --- Overlay wrapper ------------------------------------------------------ */
.ib-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483647; /* absolute top — above Divi, HubSpot, everything */
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(40px, 9vh, 90px) 16px 24px;
}
.ib-search-overlay[hidden] {
  display: none;
}

.ib-search-overlay--closing {
  animation: ib-overlay-out 0.18s ease forwards;
  pointer-events: none;
}

/* Body lock + neutralize fixed third-party widgets */
body.ib-search-overlay-open {
  overflow: hidden;
}
body.ib-search-overlay-open #top-header,
body.ib-search-overlay-open #main-header,
body.ib-search-overlay-open #hubspot-messages-iframe-container {
  z-index: 1 !important;
}

/* --- Backdrop ------------------------------------------------------------- */
.ib-search-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 20, 33, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  animation: ib-overlay-backdrop-in 0.22s ease;
}

/* --- Panel: ONE white card containing everything --------------------------- */
.ib-search-overlay__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  max-height: min(72vh, 640px);
  background: #ffffff;
  border-radius: 16px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 24px 70px rgba(0, 0, 0, 0.45),
    0 6px 20px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  opacity: 0;
}
.ib-search-overlay__panel--in {
  animation: ib-panel-in 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* --- Header: search input row ---------------------------------------------- */
.ib-search-overlay__row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 16px 16px 20px;
  border-bottom: 1px solid #eef1f4;
  flex-shrink: 0;
}

.ib-search-overlay__icon {
  flex-shrink: 0;
  color: #05a6e8;
}

.ib-search-overlay__input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 4px 0;
  font-size: 18px;
  font-weight: 500;
  color: #1a1a2e;
  outline: none;
  letter-spacing: -0.01em;
  min-width: 0;
}
.ib-search-overlay__input::placeholder {
  color: #9ca3af;
  font-weight: 400;
}
/* hide native WebKit clear button — we provide our own */
.ib-search-overlay__input::-webkit-search-cancel-button {
  display: none;
}

/* × clear text (visible only while typing) */
.ib-search-overlay__clear {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: none;
  background: #eef1f4;
  color: #6b7280;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.15s,
    color 0.15s;
}
.ib-search-overlay__clear:hover {
  background: #dbe1e8;
  color: #1a1a2e;
}

/* ESC key badge = close */
.ib-search-overlay__esc {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #d8dee6;
  border-bottom-width: 2px;
  border-radius: 7px;
  padding: 5px 9px;
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  line-height: 1;
  transition:
    background 0.15s,
    color 0.15s,
    border-color 0.15s;
}
.ib-search-overlay__esc:hover {
  background: #f1f5f9;
  color: #1a1a2e;
  border-color: #b6c0cc;
}

/* --- Body: scrollable area (empty state OR results) ------------------------ */
.ib-search-overlay__empty {
  padding: 40px 32px 44px;
  text-align: center;
  overflow-y: auto;
}
.ib-search-overlay__empty[hidden] {
  display: none;
}

.ib-search-overlay__empty-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #f0f9ff;
  border: 1px solid #e0f2fe;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  color: #05a6e8;
}
.ib-search-overlay__empty-title {
  font-size: 17px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.ib-search-overlay__empty-sub {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
  max-width: 400px;
  margin: 0 auto 22px;
}
.ib-search-overlay__examples {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}
.ib-search-overlay__examples-label {
  font-size: 11px;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}
.ib-search-overlay__example {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid #bae6fd;
  background: #f0f9ff;
  color: #0284c7;
  font-size: 13px;
  font-weight: 600;
  font-family: "SF Mono", Consolas, monospace;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s,
    transform 0.1s;
}
.ib-search-overlay__example:hover {
  background: #e0f2fe;
  border-color: #7dd3fc;
  transform: translateY(-1px);
}

/* Results area lives inside the panel — no separate floating box */
.ib-search-overlay__results {
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}
.ib-search-overlay__results[hidden] {
  display: none;
}

/* Item stagger animation */
.ib-search-overlay__results .ib-search-item {
  animation: ib-item-in 0.16s ease both;
}
.ib-search-overlay__results .ib-search-item:nth-child(1) {
  animation-delay: 0ms;
}
.ib-search-overlay__results .ib-search-item:nth-child(2) {
  animation-delay: 25ms;
}
.ib-search-overlay__results .ib-search-item:nth-child(3) {
  animation-delay: 50ms;
}
.ib-search-overlay__results .ib-search-item:nth-child(4) {
  animation-delay: 75ms;
}
.ib-search-overlay__results .ib-search-item:nth-child(5) {
  animation-delay: 100ms;
}
.ib-search-overlay__results .ib-search-item:nth-child(n + 6) {
  animation-delay: 125ms;
}

/* Result rows: chevron affordance on the right */
.ib-search-overlay__results .ib-search-item {
  position: relative;
  padding-right: 44px;
}
.ib-search-overlay__results .ib-search-item::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid #c3cbd6;
  border-top: 2px solid #c3cbd6;
  transform: translateY(-50%) rotate(45deg);
  transition:
    border-color 0.15s,
    right 0.15s;
}
.ib-search-overlay__results .ib-search-item:hover::after,
.ib-search-overlay__results .ib-search-item:focus::after {
  border-color: #05a6e8;
  right: 14px;
}
.ib-search-overlay__results .ib-search-item:focus {
  background: #f0f9ff;
  outline: none;
  box-shadow: inset 3px 0 0 #05a6e8;
}
.ib-search-overlay__results .ib-search-item:hover {
  box-shadow: inset 3px 0 0 #05a6e8;
}

/* Messages + loading */
.ib-search-overlay__results .ib-search-msg {
  padding: 28px 24px;
  font-size: 14px;
  color: #6b7280;
  text-align: center;
}
.ib-search-overlay__results .ib-search-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 28px 24px;
  font-size: 14px;
  color: #6b7280;
}
.ib-search-overlay__results .ib-search-spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid #e5e7eb;
  border-top-color: #05a6e8;
  border-radius: 50%;
  animation: ib-spin 0.6s linear infinite;
}

/* --- Footer: keyboard hints (like Algolia DocSearch) ------------------------ */
.ib-search-overlay__footer {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 20px;
  border-top: 1px solid #eef1f4;
  background: #fafbfc;
  flex-shrink: 0;
}
.ib-search-overlay__hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #9ca3af;
}
.ib-search-overlay__key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  background: #ffffff;
  border: 1px solid #d8dee6;
  border-bottom-width: 2px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  font-family: inherit;
  line-height: 1;
}
.ib-search-overlay__footer-brand {
  margin-left: auto;
  font-size: 11px;
  font-weight: 600;
  color: #c3cbd6;
  letter-spacing: 0.04em;
}

/* --- Mobile ----------------------------------------------------------------- */
@media (max-width: 600px) {
  .ib-search-overlay {
    padding: 12px 8px;
  }
  .ib-search-overlay__panel {
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
  }
  .ib-search-overlay__footer {
    display: none;
  } /* keyboard hints useless on touch */
  .ib-search-overlay__input {
    font-size: 16px;
  } /* prevent iOS zoom */
}

.ib-search-msg {
  padding: 14px 16px;
  font-size: 13px;
  color: var(--ib-muted);
}

.ib-search-loading {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  font-size: 13px;
  color: var(--ib-muted);
}

.ib-search-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid var(--ib-border);
  border-top-color: var(--ib-accent);
  border-radius: 50%;
  animation: ib-spin 0.6s linear infinite;
}

@keyframes ib-spin {
  to {
    transform: rotate(360deg);
  }
}

/* ==========================================================================
   Term Archive Pages (/anyridge, /zrgen-ti-base, …)
   ========================================================================== */

/* --------------------------------------------------------------------------
   Page wrapper
   -------------------------------------------------------------------------- */

.ib-term-page {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* --------------------------------------------------------------------------
   Hero / Header
   -------------------------------------------------------------------------- */

.ib-term-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(to bottom right, #011929, #023050, #04456e);
  color: #fff;
  padding: 56px 0 56px;
}

/* Grid overlay */
.ib-term-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(128, 128, 128, 0.15) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(128, 128, 128, 0.15) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

/* Blue glow blob */
.ib-term-hero__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 384px;
  height: 384px;
  background: #05a6e8;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
  pointer-events: none;
}

/* Landing page: content is left-aligned — glow follows the text */
.ib-dc-hero .ib-term-hero__glow {
  left: 25%;
}

/* Thin accent line at bottom */
.ib-term-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    #01a7e9 0%,
    rgba(1, 167, 233, 0.15) 60%,
    transparent 100%
  );
}

.ib-term-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Top bar: breadcrumb left, back button right */
.ib-term-hero__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

/* Breadcrumb inside hero */
.ib-term-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 6px;
  font-size: 12px;
  font-weight: 500;
  min-width: 0;
}

.ib-term-breadcrumb a {
  color: #38c0f4;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s;
}

.ib-term-breadcrumb a:hover {
  color: #7dd8f8;
  text-decoration: none;
}

.ib-term-breadcrumb__sep {
  display: flex;
  align-items: center;
  color: #64748b;
  flex-shrink: 0;
}

.ib-term-breadcrumb__current {
  color: #f1f5f9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Back button — right side of topbar */
.ib-term-back {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  line-height: 1;
  gap: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  transition:
    color 0.18s,
    background 0.18s;
  white-space: nowrap;
  backdrop-filter: blur(4px);
}

.ib-term-back:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  text-decoration: none;
}

/* Label / Taxonomy-Typ Badge */
.ib-term-hero__label {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #7dd8f8;
  background: rgba(5, 166, 232, 0.1);
  border: 1px solid rgba(5, 166, 232, 0.25);
  border-radius: 6px;
  padding: 5px 10px;
  margin-bottom: 16px;
}

.ib-term-hero__title {
  font-size: clamp(30px, 4.5vw, 52px);
  font-weight: 800;
  color: #fff;
  margin: 0 0 12px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.ib-term-hero__desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 0;
  max-width: 620px;
  line-height: 1.6;
}

/* Meta chips row */
.ib-term-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.ib-term-hero__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  font-size: 13px;
}

.ib-term-hero__chip-label {
  color: #94a3b8;
}

.ib-term-hero__chip-value {
  font-weight: 600;
  color: #f1f5f9;
}

.ib-term-hero__chip--highlight .ib-term-hero__chip-value {
  color: #7dd8f8;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Content area
   -------------------------------------------------------------------------- */

.ib-term-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 32px 64px;
}

/* --------------------------------------------------------------------------
   Grouped sections
   -------------------------------------------------------------------------- */

.ib-term-group {
  margin-bottom: 48px;
}

.ib-term-group:last-child {
  margin-bottom: 0;
}

.ib-term-group__header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 2px solid #e5e7eb;
  margin-bottom: 20px;
}

.ib-term-group__title {
  font-size: 19px;
  font-weight: 700;
  color: #003087;
  margin: 0;
}

.ib-term-group__count {
  font-size: 12px;
  color: #6b7280;
  background: #f3f4f6;
  padding: 2px 9px;
  border-radius: 20px;
}

/* Remove outer margin from .ib-dc when nested inside a group */
.ib-term-group .ib-dc {
  max-width: 100%;
  padding: 0;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 768px) {
  .ib-term-hero {
    padding: 36px 0 40px;
  }

  .ib-term-hero__inner,
  .ib-dc-hero__inner {
    padding: 0 20px;
  }

  .ib-term-content,
  .ib-dc-page #ib-downloadcenter {
    padding: 28px 20px 48px;
  }
}

@media (max-width: 480px) {
  .ib-term-hero__inner,
  .ib-dc-hero__inner,
  .ib-term-content,
  .ib-dc-page #ib-downloadcenter {
    padding-left: 16px;
    padding-right: 16px;
  }
}
