/* Innovera public discovery + detail system.
   This file intentionally loads after the legacy bundle and is scoped to iv-* surfaces. */

:root {
  --iv-shell: 1240px;
  --iv-filtered-shell: 1560px;
  --iv-gutter: clamp(16px, 3vw, 32px);
  --iv-space-1: 6px;
  --iv-space-2: 10px;
  --iv-space-3: 14px;
  --iv-space-4: 18px;
  --iv-space-5: 24px;
  --iv-space-6: 32px;
  --iv-space-7: 48px;
  --iv-radius-sm: 10px;
  --iv-radius-md: 14px;
  --iv-radius-lg: 20px;
  --iv-radius-xl: 26px;
  --iv-surface: var(--bg, #fff);
  --iv-surface-soft: var(--bg-card, #f5f5f5);
  --iv-page: var(--bg-section, #f8f8f8);
  --iv-border: var(--border, #e6e6e6);
  --iv-border-strong: var(--border-muted, #dcdcdc);
  --iv-copy: var(--muted, #6a6a6a);
  --iv-title: var(--text, #0f0f0f);
  --iv-accent: var(--accent, #00c05d);
  --iv-accent-ink: #087a43;
  --iv-accent-soft: color-mix(in srgb, var(--iv-accent) 11%, transparent);
  --iv-shadow-raised: 0 18px 44px rgba(15, 23, 42, 0.08);
  --iv-shadow-floating: 0 24px 64px rgba(15, 23, 42, 0.13);
  --iv-success: #078347;
  --iv-success-soft: #e9f8f0;
  --iv-warning: #a35c00;
  --iv-warning-soft: #fff5df;
  --iv-danger: #c63c3c;
  --iv-danger-soft: #fff0f0;
  --iv-info: #2563a8;
  --iv-info-soft: #edf5ff;
}

[data-theme="dark"] {
  --iv-accent-ink: #56d794;
  --iv-success: #55d591;
  --iv-success-soft: rgba(0, 192, 93, 0.12);
  --iv-warning: #ffc05c;
  --iv-warning-soft: rgba(245, 158, 11, 0.12);
  --iv-danger: #ff8585;
  --iv-danger-soft: rgba(239, 68, 68, 0.12);
  --iv-info: #78b5ff;
  --iv-info-soft: rgba(59, 130, 246, 0.13);
  --iv-shadow-raised: 0 18px 44px rgba(0, 0, 0, 0.26);
  --iv-shadow-floating: 0 24px 64px rgba(0, 0, 0, 0.42);
}

body.iv-public-ui {
  overflow-x: clip;
  background: var(--iv-page);
  color: var(--iv-title);
  font-family: var(--font-primary);
}

body.iv-public-ui *,
body.iv-public-ui *::before,
body.iv-public-ui *::after {
  box-sizing: border-box;
}

body.iv-public-ui :where(a, button, input, select, textarea):focus-visible,
.iv-card:focus-visible,
.iv-status-card:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--iv-accent) 42%, transparent);
  outline-offset: 3px;
}

/* Brand green is an interaction surface; dark ink keeps its text AA-readable. */
.iv-card :where(.btn-add-cart, .btn-buy-now),
body.iv-public-ui .btn-enroll,
body.iv-public-ui .catalog-toolbar-filter,
.iv-card .discount-percentage {
  background-color: #087a43;
  color: #fff;
}

.catalog-product-card .discount-num,
.catalog-product-card :where(.btn-add-cart, .btn-buy-now) span,
body.iv-public-ui .btn-enroll {
  color: #fff !important;
}

.iv-card :where(.btn-add-cart, .btn-buy-now),
body.iv-public-ui .btn-enroll,
body.iv-public-ui .catalog-toolbar-filter,
.iv-card .discount-percentage {
  background-color: #087a43 !important;
}

.iv-card :where(.btn-add-cart, .btn-buy-now):hover,
body.iv-public-ui .btn-enroll:hover,
body.iv-public-ui .catalog-toolbar-filter:hover {
  background-color: #066737 !important;
}

.section-title {
  color: var(--iv-accent-ink);
}

.iv-shell {
  width: min(calc(100% - (var(--iv-gutter) * 2)), var(--iv-shell));
  margin-inline: auto;
}

/* Breadcrumbs */
.iv-breadcrumb,
body.iv-public-ui .product-breadcrumb {
  position: relative;
  inset: auto;
  width: 100%;
  min-height: 54px;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--iv-border);
  background: var(--iv-surface) !important;
  background-image: none !important;
  color: var(--iv-copy);
}

.iv-breadcrumb__list,
body.iv-public-ui .product-breadcrumb .breadcrumb-wrapper {
  width: min(calc(100% - (var(--iv-gutter) * 2)), var(--iv-page-shell, var(--iv-shell)));
  min-height: 54px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  list-style: none;
  color: var(--iv-copy);
  font-size: 0.82rem;
}

body.iv-public-ui .product-breadcrumb .container-fluid {
  padding: 0;
}

.iv-breadcrumb__item {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.iv-breadcrumb__item:last-child,
body.iv-public-ui .product-breadcrumb .breadcrumb-current {
  min-width: 0;
  overflow: hidden;
  color: var(--iv-title);
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.iv-breadcrumb a,
body.iv-public-ui .product-breadcrumb a,
body.iv-public-ui .product-breadcrumb .breadcrumb-icon {
  color: var(--iv-copy) !important;
  text-decoration: none;
}

.iv-breadcrumb a:hover,
body.iv-public-ui .product-breadcrumb a:hover {
  color: var(--iv-accent) !important;
}

.iv-breadcrumb i,
body.iv-public-ui .product-breadcrumb .breadcrumb-separator {
  color: var(--muted-light);
  font-size: 0.66rem;
}

.iv-breadcrumb .iv-breadcrumb__home {
  color: currentColor;
  font-size: 0.92rem;
}

.iv-page-header {
  --iv-hero-title: #292c2a;
  --iv-hero-copy: #4d5550;
  --iv-hero-border: rgba(17, 24, 19, 0.09);
  --iv-hero-input: rgba(255, 255, 255, 0.88);
  --iv-hero-input-border: rgba(17, 24, 19, 0.12);
  --iv-hero-input-copy: #5d6660;
  --iv-hero-mark: url("../img/logos/Logomark-dark.svg");
  width: 100vw;
  position: relative;
  z-index: 20;
  margin-block: 0;
  margin-inline: calc(50% - 50vw);
  padding: 0;
}

.iv-page-header .iv-breadcrumb {
  width: 100%;
}

.iv-page-header__hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(220px, 19vw, 300px);
  overflow: visible;
  border-bottom: 1px solid var(--iv-hero-border);
  background:
    radial-gradient(circle at 82% 25%, rgba(67, 189, 120, 0.12), transparent 29rem),
    linear-gradient(105deg, #ffffff 0%, #fbfdfb 55%, #edf9f1 100%);
}

[data-theme="dark"] .iv-page-header {
  --iv-hero-title: #f4f6f5;
  --iv-hero-copy: rgba(235, 241, 237, 0.72);
  --iv-hero-border: rgba(255, 255, 255, 0.08);
  --iv-hero-input: rgba(39, 39, 42, 0.96);
  --iv-hero-input-border: rgba(255, 255, 255, 0.18);
  --iv-hero-input-copy: #d9dfdb;
  --iv-hero-mark: url("../img/logos/Logomark-white.svg");
}

[data-theme="dark"] .iv-page-header__hero {
  background:
    radial-gradient(circle at 82% 25%, rgba(0, 192, 93, 0.14), transparent 28rem),
    linear-gradient(105deg, #0b0d0c 0%, #0b100d 56%, #0c1c13 100%);
}

.iv-page-header__hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset-block: 0;
  inset-inline-end: clamp(-55px, -2vw, -18px);
  width: clamp(300px, 31vw, 520px);
  background: var(--iv-hero-mark) center / contain no-repeat;
  opacity: 0.035;
  pointer-events: none;
}

[data-theme="dark"] .iv-page-header__hero::after {
  opacity: 0.07;
}

.iv-page-header__inner {
  width: min(calc(100% - (var(--iv-gutter) * 2)), var(--iv-page-shell, var(--iv-shell)));
  margin-inline: auto;
  padding: clamp(44px, 4vw, 60px) 0;
}

.iv-page-header__content {
  position: relative;
  z-index: 1;
  max-width: min(76%, 920px);
  padding: 0;
  padding-inline-start: clamp(10px, 1.5vw, 24px);
  border: 0;
  border-radius: 0;
  background: transparent;
}

.iv-page-header__title-row {
  display: flex;
  align-items: center;
  gap: clamp(13px, 2vw, 22px);
}

.iv-page-header__icon {
  display: inline-grid;
  width: auto;
  height: auto;
  flex: 0 0 auto;
  place-items: center;
  color: #43bd78;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  filter: drop-shadow(0 8px 22px rgba(0, 192, 93, 0.18));
}

.iv-page-header h1 {
  margin: 0;
  color: var(--iv-hero-title);
  font-size: clamp(2.15rem, 4vw, 3.55rem);
  font-weight: 680;
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-wrap: balance;
}

.iv-page-header__content>p {
  max-width: 72ch;
  margin: 16px 0 0;
  color: var(--iv-hero-copy);
  font-size: clamp(0.94rem, 1.5vw, 1.1rem);
  line-height: 1.7;
}

.iv-page-header__tools {
  display: grid;
  gap: 14px;
  width: 100%;
  margin-top: clamp(22px, 3vw, 30px);
}

.iv-page-header__search,
.iv-page-header__search>form,
.iv-page-header__search :where(.search-autocomplete, .search-box) {
  width: 100%;
  min-width: 0;
}

.iv-page-header__search>form {
  margin: 0 !important;
}

.iv-page-header__search .search-input-form {
  display: block;
}

.iv-page-header__search :where(.search-box, .search-input) {
  min-height: 56px;
  border: 1px solid var(--iv-hero-input-border) !important;
  border-radius: 16px !important;
  background: var(--iv-hero-input) !important;
  box-shadow: 0 16px 38px rgba(15, 23, 18, 0.09);
}

.iv-page-header__search .search-box :where(input, .input-group-text) {
  border: 0 !important;
  background: transparent !important;
  color: var(--iv-hero-title) !important;
}

.iv-page-header__search .search-input {
  color: var(--iv-hero-title) !important;
}

.iv-page-header__search .search-box .input-group-text {
  padding-inline: 20px 10px;
}

.iv-page-header__search .search-box input {
  padding-inline: 14px 20px;
}

.iv-page-header__search .search-autocomplete--plain .search-input {
  padding-inline: 52px 20px !important;
}

.iv-page-header__search .search-autocomplete--plain .search-icon {
  right: auto;
  left: auto;
  inset-inline-start: 19px;
}

.iv-page-header__search :where(input, .search-input)::placeholder {
  color: var(--iv-hero-input-copy) !important;
  opacity: 1;
}

.iv-page-header__search .search-icon {
  color: var(--iv-hero-input-copy);
}

.iv-page-header__search .global-search-results__form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  min-height: 0;
  border: 0 !important;
  background: transparent !important;
}

body.iv-list-view .qa-header--actions-only {
  justify-content: flex-end;
}

[dir="rtl"] .iv-breadcrumb__item>i,
[dir="rtl"] body.iv-public-ui .product-breadcrumb .breadcrumb-separator {
  transform: rotate(180deg);
}

/* Listing shells */
body.iv-list-view--filtered {
  --iv-page-shell: var(--iv-filtered-shell);
  --iv-list-shell: var(--iv-filtered-shell);
}

body.iv-list-view :where(.shop-section, .academy-courses-section, .hiring-section, .community-section, .case-bank-section, .global-search-results, .articles, .featured-blog) {
  width: min(100%, var(--iv-list-shell, var(--iv-shell)));
  margin-inline: auto;
  padding: clamp(36px, 5vw, 68px) var(--iv-gutter);
  background: transparent;
}

body.iv-list-view .iv-page-header+ :where(.shop-section, .academy-courses-section, .hiring-section, .community-section, .case-bank-section, .global-search-results),
body.iv-list-view .iv-page-header+.blogs-page>.featured-blog {
  padding: 24px 5rem;
  padding-top: 34px;
}


@media (max-width:1200px) {

  body.iv-list-view .iv-page-header+ :where(.shop-section, .academy-courses-section, .hiring-section, .community-section, .case-bank-section, .global-search-results),
  body.iv-list-view .iv-page-header+.blogs-page>.featured-blog {
    padding: 16px 1rem;
    padding-bottom: 30px;

  }
}

body.iv-list-view .iv-page-header+#favorites-page {
  padding-top: 24px !important;
}

body.iv-list-view .shop-section>.row,
body.iv-list-view .academy-courses-section>.container-fluid,
body.iv-list-view .case-bank-section>.container-fluid,
body.iv-list-view .global-search-results>.container-fluid {
  padding-inline: 0;
}

body.iv-list-view .hiring-heading,
body.iv-list-view .academy-courses-section>.container-fluid>.row:first-child,
body.iv-list-view .case-bank-section>.container-fluid>.row:first-child {
  margin-bottom: 28px;
}

body.iv-list-view :where(.hiring-heading, .academy-courses-section, .case-bank-section) h2,
body.iv-list-view .global-search-results__header h1 {
  margin: 0 0 8px;
  color: var(--iv-title);
  font-size: clamp(1.8rem, 3.2vw, 2.65rem);
  font-weight: 760;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

body.iv-list-view :where(.hiring-heading, .academy-courses-section, .case-bank-section) p,
body.iv-list-view .global-search-results__header p {
  color: var(--iv-copy);
}

body.iv-list-view .catalog-toolbar,
body.iv-list-view .search-input-form,
.iv-list-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
}

body.iv-list-view .catalog-toolbar {
  min-height: 58px;
  margin-bottom: 24px !important;
  padding: 8px;
  border: 1px solid var(--iv-border);
  border-radius: var(--iv-radius-md);
  background: var(--iv-surface);
}

@media (min-width: 1200px) {
  body.iv-list-view .catalog-toolbar {
    flex-wrap: nowrap !important;
  }
}

body.iv-list-view .catalog-toolbar-search {
  min-width: min(100%, 320px);
  flex: 1 1 420px !important;
}

body.iv-list-view .iv-list-search {
  width: min(100%, 720px);
  margin: 0 0 24px;
}

body.iv-list-view .catalog-toolbar .control-box,
body.iv-list-view .search-input-form,
body.iv-list-view .global-search-results__form {
  min-height: 42px;
  border-color: var(--iv-border);
  border-radius: var(--iv-radius-sm);
  background: var(--iv-surface-soft);
}

body.iv-list-view .catalog-toolbar .form-select-control,
body.iv-list-view .catalog-toolbar input,
body.iv-list-view .search-input-form input,
body.iv-list-view .global-search-results__form input {
  color: var(--iv-title);
}

body.iv-list-view .catalog-toolbar-filter,
.iv-filter-trigger {
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid #087a43;
  border-radius: var(--iv-radius-sm);
  background: #087a43;
  color: #fff !important;
  font-weight: 650;
}

body.iv-list-view .catalog-toolbar-filter {
  display: none !important;
}

.iv-filter-trigger {
  display: none !important;
}

body.iv-list-view .catalog-toolbar-filter:hover,
.iv-filter-trigger:hover {
  border-color: #066737;
  background: #066737;
  color: #fff !important;
}

body.iv-list-view .qa-ask-btn {
  color: #fff !important;
}

.iv-result-summary,
body.iv-list-view :where(.hiring-count, .answers-num, .courses-count, .supplier-catalog__count) {
  color: var(--iv-copy);
  font-size: 0.88rem;
  font-weight: 600;
}

/* Card foundation */
.iv-card,
body.iv-list-view :where(.catalog-product-card, .course-card, .hiring-job-card, .qa-card, .blog-card, .training-video-card, .global-search-card) {
  position: relative;
  min-width: 0;
  height: 100%;
  border: 1px solid var(--iv-border);
  border-radius: var(--iv-radius-lg);
  background: var(--iv-surface);
  color: var(--iv-title);
  overflow: hidden;
  box-shadow: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.iv-card:hover,
body.iv-list-view :where(.catalog-product-card, .course-card, .hiring-job-card, .qa-card, .blog-card, .training-video-card, .global-search-card):hover {
  border-color: color-mix(in srgb, var(--iv-accent) 30%, var(--iv-border));
  box-shadow: var(--iv-shadow-raised);
  transform: translateY(-3px);
}

.iv-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--iv-surface-soft);
}

.iv-card__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 260ms ease;
}

.iv-card:hover .iv-card__media img {
  transform: scale(1.025);
}

.iv-card__body {
  min-width: 0;
  padding: 20px;
}

.iv-card__eyebrow {
  margin: 0 0 8px;
  color: var(--iv-accent-ink);
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.iv-card__title {
  margin: 0;
  color: var(--iv-title);
  font-size: 1.03rem;
  font-weight: 740;
  line-height: 1.35;
}

.iv-card__title a {
  color: inherit;
  text-decoration: none;
}

.iv-card__excerpt,
.iv-card__byline {
  color: var(--iv-copy);
  font-size: 0.84rem;
  line-height: 1.65;
}

.iv-card__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: var(--iv-copy);
  font-size: 0.76rem;
}

.iv-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.iv-card__meta i {
  color: var(--iv-accent);
}

.iv-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 5px 10px;
  border: 1px solid color-mix(in srgb, var(--iv-accent) 25%, var(--iv-border));
  border-radius: 999px;
  background: var(--iv-accent-soft);
  color: var(--iv-accent-ink);
  font-size: 0.7rem;
  font-weight: 720;
}

.iv-card__badge--success {
  border-color: color-mix(in srgb, var(--iv-success) 28%, var(--iv-border));
  background: var(--iv-success-soft);
  color: var(--iv-success);
}

.iv-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.iv-card__tags span {
  padding: 5px 9px;
  border: 1px solid var(--iv-border);
  border-radius: 999px;
  background: var(--iv-surface-soft);
  color: var(--iv-copy);
  font-size: 0.69rem;
  font-weight: 650;
}

.iv-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.iv-card__action {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border: 0;
  border-radius: var(--iv-radius-sm);
  background: var(--iv-accent);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 720;
  text-decoration: none;
}

/* Commerce cards remain dense and transactional. */
body.iv-list-view .catalog-product-card.iv-card {
  display: flex;
  flex-direction: column;
  padding: 12px;
  border-radius: var(--iv-radius-lg);
}

body.iv-list-view .catalog-product-card .catalog-product-card__media {
  aspect-ratio: 1 / 1;
  border-radius: var(--iv-radius-md);
  background: linear-gradient(145deg, var(--iv-surface-soft), var(--iv-surface));
}

body.iv-list-view .catalog-product-card .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 16px 2px 2px;
}

body.iv-list-view .catalog-product-card.iv-card--used {
  border-color: color-mix(in srgb, var(--iv-info) 18%, var(--iv-border));
}

body.iv-list-view .catalog-product-card.iv-card--used::before,
body.iv-list-view .catalog-product-card.iv-card--student::before {
  position: absolute;
  z-index: 3;
  inset-block-start: 22px;
  inset-inline-start: 22px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 750;
}

body.iv-list-view .catalog-product-card.iv-card--used::before {
  content: attr(data-card-label);
  background: var(--iv-info);
}

body.iv-list-view .catalog-product-card.iv-card--student::before {
  content: attr(data-card-label);
  background: var(--iv-accent-ink);
}

/* Course cards use a landscape learning cover. */
.iv-card--course {
  display: flex;
  flex-direction: column;
}

.iv-card--course .iv-card__media {
  aspect-ratio: 16 / 10;
}

.iv-card--course .iv-card__badge {
  position: absolute;
  left: auto;
  right: auto;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  inset-inline-end: auto;
  width: max-content;
  max-width: calc(100% - 24px);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(8, 80, 45, 0.82);
  color: #fff;
  white-space: nowrap;
  backdrop-filter: blur(8px);
}

.iv-card--course .iv-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.iv-card--course .iv-card__meta {
  margin: 18px 0;
}

/* Jobs are information-first; no oversized media area. */
body.iv-list-view .hiring-job-card.iv-card--job {
  padding: 20px;
  border-radius: var(--iv-radius-lg);
}

body.iv-list-view .hiring-job-card.iv-card--job .jop-details {
  border: 0;
  gap: 8px;
}

body.iv-list-view .hiring-job-card.iv-card--job .jop-details li {
  border: 1px solid var(--iv-border);
  border-radius: var(--iv-radius-sm);
  background: var(--iv-surface-soft);
}

/* Questions are horizontal discussion summaries. */
.iv-card--question {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
}

.iv-question-card__stats {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 20px;
  border-inline-end: 1px solid var(--iv-border);
  background: var(--iv-surface-soft);
}

.iv-question-card__stats span {
  display: grid;
  justify-items: center;
  color: var(--iv-copy);
  font-size: 0.69rem;
}

.iv-question-card__stats strong {
  color: var(--iv-title);
  font-size: 1rem;
}

.iv-card--question .iv-card__badge {
  margin-bottom: 12px;
}

.iv-card--question .iv-card__excerpt {
  margin: 10px 0 16px;
}

.iv-card__footer--author {
  padding-top: 16px;
  border-top: 1px solid var(--iv-border);
  color: var(--iv-copy);
  font-size: 0.72rem;
}

.iv-card__author {
  display: flex;
  align-items: center;
  gap: 9px;
}

.iv-card__author img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
}

.iv-card__author>span {
  display: grid;
}

.iv-card__author strong {
  color: var(--iv-title);
}

/* Editorial cards keep generous media and reading metadata. */
body.iv-list-view .blog-card.iv-card--article {
  display: flex;
  flex-direction: column;
}

body.iv-list-view .blog-card.iv-card--article .blog-img {
  aspect-ratio: 16 / 9;
  margin: 0;
  border-radius: 0;
}

body.iv-list-view .blog-card.iv-card--article .blog-body {
  flex: 1;
  padding: 22px;
}

/* Video cards are media-first and keep a visible play affordance. */
.iv-card--video .iv-card__media {
  aspect-ratio: 16 / 9;
}

.iv-video-card__play {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.58);
  color: #fff;
  transform: translate(-50%, -50%);
  backdrop-filter: blur(8px);
}

.iv-video-card__duration {
  position: absolute;
  inset-block-end: 10px;
  inset-inline-end: 10px;
  padding: 4px 7px;
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 0.68rem;
}

.iv-card--video .iv-card__title {
  margin: 14px 0 8px;
}

/* Case Bank discovery surface */
body.iv-list-view--case-bank {
  --iv-page-shell: var(--iv-filtered-shell);
  --iv-list-shell: var(--iv-filtered-shell);
}

body.iv-list-view--case-bank .case-bank-section {
  padding-block: clamp(34px, 5vw, 64px);
  padding-inline: var(--iv-gutter);
  background:
    radial-gradient(circle at 8% 18%, color-mix(in srgb, var(--iv-accent) 7%, transparent), transparent 25rem),
    var(--iv-page);
}

body.iv-list-view--case-bank .case-bank-filter-panel {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 36px);
  padding: 14px 16px;
  border: 1px solid var(--iv-border);
  border-radius: var(--iv-radius-lg);
  background: var(--iv-surface);
  box-shadow: var(--iv-shadow-raised);
}

body.iv-list-view--case-bank .case-bank-filter-panel__copy {
  min-width: 0;
  flex: 0 1 360px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.case-bank-filter-panel__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--iv-accent-soft);
  color: var(--iv-accent-ink);
  font-size: 1rem;
}

body.iv-list-view--case-bank .case-bank-filter-panel__copy h2,
body.iv-list-view--case-bank .case-bank-results-header h2,
body.iv-list-view--case-bank .case-bank-overview h2,
body.iv-list-view--case-bank .case-bank-on-demand h3 {
  margin: 0;
  color: var(--iv-title);
  text-transform: none;
}

body.iv-list-view--case-bank .case-bank-filter-panel__copy h2 {
  font-size: clamp(0.94rem, 1.2vw, 1.08rem);
  font-weight: 740;
  letter-spacing: -0.015em;
  white-space: nowrap;
}

body.iv-list-view--case-bank :where(.case-bank-filter-panel__copy, .case-bank-results-header, .case-bank-overview, .case-bank-on-demand)>p,
body.iv-list-view--case-bank :where(.case-bank-filter-panel__copy, .case-bank-results-header, .case-bank-overview__heading, .case-bank-on-demand) p {
  margin: 7px 0 0;
  color: var(--iv-copy);
  font-size: 0.88rem;
  line-height: 1.6;
}

body.iv-list-view--case-bank .case-bank-filter-panel__copy p {
  margin-top: 3px;
  overflow: hidden;
  font-size: 0.74rem;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.case-bank-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--iv-accent-ink);
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.case-bank-category-nav {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 9px;
  padding-block: 3px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--iv-accent) 42%, var(--iv-border)) transparent;
}

.case-bank-category-nav::-webkit-scrollbar {
  height: 4px;
}

.case-bank-category-nav::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: color-mix(in srgb, var(--iv-accent) 42%, var(--iv-border));
}

.case-bank-category-chip {
  flex: 0 0 auto;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 9px 8px 13px;
  border: 1px solid var(--iv-border);
  border-radius: 999px;
  background: var(--iv-surface-soft);
  color: var(--iv-copy);
  font-size: 0.8rem;
  font-weight: 650;
  text-decoration: none;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.case-bank-category-chip strong {
  min-width: 25px;
  min-height: 25px;
  display: inline-grid;
  place-items: center;
  padding-inline: 6px;
  border-radius: 999px;
  background: var(--iv-surface);
  color: var(--iv-title);
  font-size: 0.68rem;
}

.case-bank-category-chip:hover,
.case-bank-category-chip:focus-visible {
  border-color: color-mix(in srgb, var(--iv-accent) 52%, var(--iv-border));
  color: var(--iv-accent-ink);
  transform: translateY(-1px);
}

.case-bank-category-chip.is-active {
  border-color: #087a43;
  background: #087a43;
  color: #fff;
  box-shadow: 0 10px 24px rgba(8, 122, 67, 0.18);
}

.case-bank-category-chip.is-active strong {
  background: rgba(255, 255, 255, 0.17);
  color: #fff;
}

body.iv-list-view--case-bank .case-bank-results-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin: clamp(34px, 5vw, 54px) 0 20px;
}

body.iv-list-view--case-bank .case-bank-results-header h2 {
  margin-top: 8px;
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  font-weight: 760;
  letter-spacing: -0.035em;
}

.case-bank-clear {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--iv-border);
  border-radius: 999px;
  background: var(--iv-surface);
  color: var(--iv-title);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.case-bank-clear:hover {
  border-color: var(--iv-accent);
  color: var(--iv-accent-ink);
}

.case-bank-content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 320px);
  align-items: start;
  gap: clamp(22px, 3vw, 34px);
}

.case-bank-results-column {
  min-width: 0;
}

.case-bank-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 22px;
}

.case-bank-empty {
  grid-column: 1 / -1;
}

body.iv-list-view--case-bank .training-video-card {
  min-width: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  margin: 0;
  border-color: var(--iv-border);
  border-radius: var(--iv-radius-lg);
  background: var(--iv-surface);
  box-shadow: none;
  overflow: hidden;
}

body.iv-list-view--case-bank .training-video-card:hover {
  border-color: color-mix(in srgb, var(--iv-accent) 45%, var(--iv-border));
  box-shadow: var(--iv-shadow-raised);
  transform: translateY(-3px);
}

body.iv-list-view--case-bank .training-video-card .training-video {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 9;
  border-radius: 0;
  background: var(--iv-surface-soft);
}

body.iv-list-view--case-bank .training-video-card .training-video img {
  width: 100%;
  height: 100%;
  transition: transform 0.35s ease;
}

body.iv-list-view--case-bank .training-video-card:hover .training-video img {
  transform: scale(1.035);
}

body.iv-list-view--case-bank .training-video-card .card-body {
  max-width: none;
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 20px;
}

body.iv-list-view--case-bank .training-video-card .iv-card__meta {
  justify-content: space-between;
}

body.iv-list-view--case-bank .training-video-card .iv-card__title {
  margin: 16px 0 9px;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  font-weight: 730;
  line-height: 1.35;
}

body.iv-list-view--case-bank .training-video-card .iv-card__excerpt {
  margin: 0;
  color: var(--iv-copy);
  font-size: 0.83rem;
  line-height: 1.65;
}

.iv-video-card__views {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.iv-video-card__cta {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 20px;
  color: var(--iv-accent-ink);
  font-size: 0.8rem;
  font-weight: 740;
  text-decoration: none;
}

.iv-video-card__cta i {
  transition: transform 0.2s ease;
}

.iv-video-card__cta:hover i {
  transform: translateX(3px);
}

[dir="rtl"] .iv-video-card__cta i {
  transform: rotate(180deg);
}

[dir="rtl"] .iv-video-card__cta:hover i {
  transform: rotate(180deg) translateX(3px);
}

@media (min-width: 992px) {
  .case-bank-video-grid--single {
    grid-template-columns: 1fr;
  }

  body.iv-list-view--case-bank .case-bank-video-grid--single .training-video-card {
    min-height: 350px;
    display: grid;
    grid-template-columns: minmax(310px, 0.56fr) minmax(250px, 0.44fr);
  }

  body.iv-list-view--case-bank .case-bank-video-grid--single .training-video {
    height: 100%;
    aspect-ratio: auto;
  }

  body.iv-list-view--case-bank .case-bank-video-grid--single .card-body {
    padding: clamp(24px, 3vw, 34px);
  }
}

.case-bank-pagination .storefront-pagination {
  width: 100%;
}

.case-bank-overview {
  position: sticky;
  top: 96px;
  padding: 20px;
  border: 1px solid var(--iv-border);
  border-radius: var(--iv-radius-xl);
  background: var(--iv-surface);
  box-shadow: var(--iv-shadow-raised);
}

.case-bank-overview__heading {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--iv-border);
}

.case-bank-overview__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--iv-accent-soft);
  color: var(--iv-accent-ink);
}

body.iv-list-view--case-bank .case-bank-overview h2 {
  font-size: 1rem;
  font-weight: 740;
}

.case-bank-overview .iv-status-grid {
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 16px;
}

.case-bank-overview .iv-status-card {
  min-height: 88px;
  padding: 14px;
}

.case-bank-on-demand {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  margin-top: 16px;
  padding: 15px;
  border: 1px solid color-mix(in srgb, var(--iv-accent) 22%, var(--iv-border));
  border-radius: var(--iv-radius-md);
  background: var(--iv-accent-soft);
}

.case-bank-on-demand>span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #087a43;
  color: #fff;
}

body.iv-list-view--case-bank .case-bank-on-demand h3 {
  font-size: 0.88rem;
  font-weight: 740;
}

@media (max-width: 1199.98px) {
  body.iv-list-view--case-bank .case-bank-filter-panel {
    display: grid;
    grid-template-columns: 1fr;
  }

  .case-bank-category-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .case-bank-content-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
  }

  .case-bank-video-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991.98px) {
  .case-bank-content-layout {
    grid-template-columns: 1fr;
  }

  .case-bank-overview {
    position: static;
  }

  .case-bank-overview .iv-status-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  body.iv-list-view--case-bank .case-bank-filter-panel {
    padding: 14px;
    border-radius: var(--iv-radius-lg);
  }

  body.iv-list-view--case-bank .case-bank-filter-panel__copy {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .case-bank-filter-panel__icon {
    width: 42px;
    height: 42px;
  }

  .case-bank-category-nav {
    width: calc(100% + 28px);
    margin-inline: -14px;
    padding-inline: 14px;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .case-bank-category-nav::-webkit-scrollbar {
    display: none;
  }

  .case-bank-category-chip {
    flex: 0 0 auto;
  }

  body.iv-list-view--case-bank .case-bank-results-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .case-bank-overview .iv-status-grid {
    grid-template-columns: 1fr;
  }
}

/* Search result cards deliberately stay compact. */
.iv-card--search {
  min-height: 112px;
  display: grid !important;
  grid-template-columns: 82px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 14px;
  padding: 14px;
  color: var(--iv-title);
  text-decoration: none;
}

.iv-card--search .iv-card__media {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: var(--iv-radius-sm);
  color: var(--iv-accent);
  font-size: 1.35rem;
}

.iv-card--search .iv-card__body {
  display: grid;
  gap: 5px;
  padding: 0;
}

.iv-card--search .iv-card__body span {
  color: var(--iv-copy);
  font-size: 0.76rem;
}

.iv-card__arrow {
  color: var(--iv-accent);
}

[dir="rtl"] .iv-card__arrow,
[dir="rtl"] .iv-status-card__arrow {
  transform: rotate(180deg);
}

/* Status cards */
.iv-status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
}

.iv-status-card {
  --iv-status-color: var(--iv-copy);
  --iv-status-soft: var(--iv-surface-soft);
  min-width: 0;
  min-height: 112px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--iv-border);
  border-radius: var(--iv-radius-md);
  background: var(--iv-surface);
  color: var(--iv-title);
  text-decoration: none;
}

.iv-status-card--success {
  --iv-status-color: var(--iv-success);
  --iv-status-soft: var(--iv-success-soft);
}

.iv-status-card--warning {
  --iv-status-color: var(--iv-warning);
  --iv-status-soft: var(--iv-warning-soft);
}

.iv-status-card--danger {
  --iv-status-color: var(--iv-danger);
  --iv-status-soft: var(--iv-danger-soft);
}

.iv-status-card--info {
  --iv-status-color: var(--iv-info);
  --iv-status-soft: var(--iv-info-soft);
}

.iv-status-card__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--iv-status-soft);
  color: var(--iv-status-color);
}

.iv-status-card__content {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.iv-status-card__label,
.iv-status-card__caption {
  color: var(--iv-copy);
  font-size: 0.73rem;
}

.iv-status-card__value {
  overflow-wrap: anywhere;
  color: var(--iv-title);
  font-size: 1.25rem;
  line-height: 1.2;
}

.iv-status-card--state .iv-status-card__value,
.iv-status-card--summary .iv-status-card__value {
  font-size: 0.96rem;
}

.iv-status-grid--single {
  grid-template-columns: 1fr;
}

/* Filter rails and drawers */
@media (min-width: 992px) {
  body.iv-list-view--filtered .iv-filter-layout {
    display: grid;
    grid-template-columns: clamp(320px, 20vw, 360px) minmax(0, 1fr);
    align-items: stretch;
    gap: clamp(20px, 2vw, 30px);
    margin-inline: 0;
  }

  body.iv-list-view--filtered .iv-filter-layout>.iv-filter-column,
  body.iv-list-view--filtered .iv-filter-layout>.iv-results-column {
    width: 100%;
    max-width: none;
    padding-inline: 0;
  }

  body.iv-list-view--filtered .iv-filter-column,
  body.iv-list-view--filtered .iv-filter-column>.iv-filter-shell {
    min-width: 0;
    height: 100%;
  }
}

body.iv-list-view .hiring-filter,
.iv-filter-panel {
  position: sticky;
  top: calc(var(--header-h, 72px) + 22px);

  padding: 20px 14px 20px 20px;
  border: 1px solid var(--iv-border);
  border-radius: var(--iv-radius-lg);
  background: var(--bg-card);
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-color: color-mix(in srgb, var(--iv-accent) 58%, var(--iv-border-strong)) transparent;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
}

[dir="rtl"] body.iv-list-view .hiring-filter,
[dir="rtl"] .iv-filter-panel {
  padding: 20px 20px 20px 14px;
}

body.iv-list-view .hiring-filter::-webkit-scrollbar,
.iv-filter-panel::-webkit-scrollbar {
  width: 9px;
}

body.iv-list-view .hiring-filter::-webkit-scrollbar-track,
.iv-filter-panel::-webkit-scrollbar-track {
  margin-block: 16px;
  background: transparent;
}

body.iv-list-view .hiring-filter::-webkit-scrollbar-thumb,
.iv-filter-panel::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: color-mix(in srgb, var(--iv-accent) 58%, var(--iv-border-strong));
  background-clip: padding-box;
}

body.iv-list-view .hiring-filter::-webkit-scrollbar-thumb:hover,
.iv-filter-panel::-webkit-scrollbar-thumb:hover {
  background: var(--iv-accent);
  background-clip: padding-box;
}

body.iv-list-view .hiring-filter_heading {
  padding-bottom: 15px;
  border-bottom: 1px solid var(--iv-border);
}

body.iv-list-view .iv-filter-panel>form {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

body.iv-list-view .hiring-group-wrapper {
  flex: 1 0 auto;
}

body.iv-list-view .hiring-group_title>p {
  margin: 0 0 10px;
}

body.iv-list-view .hiring-filter_heading p,
body.iv-list-view .hiring-group_title>p {
  color: var(--iv-title);
  font-weight: 720;
}

body.iv-list-view .hiring-filter .clear-btn {
  color: var(--iv-accent-ink);
  font-size: 0.75rem;
  font-weight: 700;
}

body.iv-list-view .hiring-filter .filter-list,
body.iv-list-view .hiring-filter .radio-list {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
}

body.iv-list-view .hiring-filter :where(.filter-list, .radio-list) li {
  min-height: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 3px;
  border: 1px solid transparent;
  border-radius: 9px;
}

body.iv-list-view .hiring-filter :where(.filter-list, .radio-list) label {
  min-width: 0;
  flex: 1;
  margin: 0;
  color: var(--iv-title) !important;
  line-height: 1.45;
  cursor: pointer;
}

body.iv-list-view .hiring-filter :where(.filter-list, .radio-list) li:has(input:checked) {
  border-color: color-mix(in srgb, var(--iv-accent) 28%, var(--iv-border));
  background: var(--iv-accent-soft);
}

body.iv-list-view .hiring-filter input[type="checkbox"],
body.iv-list-view .hiring-filter input[type="radio"] {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin: 0 !important;
  accent-color: var(--iv-accent);
  cursor: pointer;
}

body.iv-list-view .hiring-group .salary-range .dual-range {
  position: relative;
  height: 24px;
  margin: 8px 0 20px;
}

body.iv-list-view .hiring-group .salary-range .range-track {
  position: absolute;
  inset-inline: 0;
  top: 50%;
  z-index: 1;
  width: 100%;
  height: 4px;
  border-radius: 999px;
  transform: translateY(-50%);
}

body.iv-list-view .hiring-group .salary-range .custom-salary-range {
  position: absolute;
  top: 0;
  z-index: 2;
  width: 100%;
  height: 28px;
  margin: 0;
  pointer-events: none;
  appearance: none;
  background: transparent !important;
}

body.iv-list-view .hiring-group .salary-range .custom-salary-range::-webkit-slider-thumb {
  width: 24px;
  height: 24px;
  border: 2px solid var(--iv-surface);
  border-radius: 50%;
  appearance: none;
  background: var(--iv-accent);
  box-shadow: 0 2px 6px rgb(0 0 0 / 18%);
  cursor: pointer;
  pointer-events: auto;
}

body.iv-list-view .hiring-group .salary-range .custom-salary-range::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border: 2px solid var(--iv-surface);
  border-radius: 50%;
  background: var(--iv-accent);
  box-shadow: 0 2px 6px rgb(0 0 0 / 18%);
  cursor: pointer;
  pointer-events: auto;
}

.iv-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
}

.iv-filter-chips li {
  list-style: none;
}

.iv-filter-chips label {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 6px 11px;
  border: 1px solid var(--iv-border);
  border-radius: 999px;
  color: var(--iv-copy);
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 650;
}

.iv-filter-chips input:checked+label {
  border-color: var(--iv-accent);
  background: var(--iv-accent-soft);
  color: var(--iv-accent-ink);
}

body.iv-list-view .hiring-filter button[type="submit"] {
  min-height: 44px;
  border: 0;
  border-radius: var(--iv-radius-sm);
  background: var(--iv-accent);
  color: #fff !important;
  font-weight: 720;
}

.iv-filter-shell--mobile .hiring-filter button[type="submit"] {
  position: sticky;
  z-index: 3;
  bottom: calc(-18px + env(safe-area-inset-bottom));
  box-shadow: 0 -10px 24px var(--iv-surface);
}

body.iv-list-view .hiring-group .salary-range .range-track {
  background: linear-gradient(to right, var(--iv-border-strong), var(--iv-accent), var(--iv-border-strong));
}

body.iv-list-view :where(.shop-filter-offcanvas, .community-filter-offcanvas) .offcanvas {
  width: min(92vw, 430px);
  border-inline-start: 1px solid var(--iv-border);
  background: var(--iv-surface);
  color: var(--iv-title);
}

body.iv-list-view :where(.shop-filter-offcanvas, .community-filter-offcanvas) .offcanvas-header {
  min-height: 68px;
  border-bottom: 1px solid var(--iv-border);
}

body.iv-list-view :where(.shop-filter-offcanvas, .community-filter-offcanvas) .offcanvas-body {
  padding: 18px;
}

body.iv-list-view .shop-filter-footer {
  position: sticky;
  inset-block-end: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  padding: 14px 18px calc(14px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--iv-border);
  background: var(--iv-surface);
}

.iv-applied-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin: -4px 0 22px;
}

.iv-applied-filters__label {
  color: var(--iv-muted);
  font-size: 0.76rem;
  font-weight: 720;
}

.iv-applied-filters__chips {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  gap: 7px;
}

.iv-filter-chip {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border: 1px solid color-mix(in srgb, var(--iv-accent) 24%, var(--iv-border));
  border-radius: 999px;
  background: var(--iv-accent-soft);
  color: var(--iv-title);
  font-size: 0.73rem;
  font-weight: 650;
  text-decoration: none;
}

.iv-filter-chip:hover,
.iv-filter-chip:focus-visible {
  border-color: var(--iv-accent);
  color: var(--iv-accent-ink);
}

.iv-applied-filters__clear {
  color: var(--iv-accent-ink);
  font-size: 0.75rem;
  font-weight: 720;
}

.iv-result-summary {
  margin: 18px 0 24px;
  color: var(--iv-muted);
  font-size: 0.82rem;
  font-weight: 680;
}

/* Detail foundation */
body.iv-detail-view :where(.jop-page-details, .community-answer-content, .single-blog-content, .selected-course-section) {
  width: min(100%, var(--iv-shell));
  margin-inline: auto;
  padding: clamp(34px, 5vw, 64px) var(--iv-gutter);
  background: transparent;
}

body.iv-detail-view :where(.jop-main, .qa-card, .answer-card, .answer-card-area, .single-blog-content .content, .overview-card, .enroll-card, .job-box, .question-stats-card, .related-tags-card) {
  border: 1px solid var(--iv-border);
  border-radius: var(--iv-radius-lg);
  background: var(--iv-surface);
  box-shadow: none;
}

body.iv-detail-view .jop-main {
  padding: clamp(22px, 3vw, 34px);
}

body.iv-detail-view .job-sidebar,
body.iv-detail-view .enroll-card {
  position: sticky;
  top: calc(var(--header-h, 72px) + 22px);
}

body.iv-detail-view .job-box.about-practice .apply-btn,
body.iv-detail-view .apply-btn,
body.iv-detail-view .post-btn {
  min-height: 44px;
  border-radius: var(--iv-radius-sm);
  background: var(--iv-accent);
  color: #fff;
  font-weight: 720;
}

body.iv-detail-view .community-answer-hero {
  display: none;
}

body.iv-detail-view .community-answer-content {
  margin-top: 0;
}

body.iv-detail-view .community-btn,
body.iv-detail-view .blog-btn {
  width: min(100%, var(--iv-shell));
  margin-inline: auto;
  padding: 20px var(--iv-gutter);
  background: transparent;
}

body.iv-detail-view .community-answer-content .qa-card,
body.iv-detail-view .answer-card,
body.iv-detail-view .answer-card-area {
  padding: clamp(20px, 3vw, 30px);
}

body.iv-detail-view .single-blog-header {
  width: min(calc(100% - (var(--iv-gutter) * 2)), var(--iv-shell));
  min-height: clamp(280px, 42vw, 520px);
  margin: 28px auto 0;
  border-radius: var(--iv-radius-xl);
}

body.iv-detail-view .single-blog-content {
  margin-top: -90px;
}

body.iv-detail-view .single-blog-content .content {
  padding: clamp(24px, 4vw, 48px);
  box-shadow: var(--iv-shadow-raised);
}

body.iv-detail-view .single-blog-content .hero-section h2 {
  color: var(--iv-title);
  font-size: clamp(2rem, 4vw, 3.35rem);
  letter-spacing: -0.04em;
  line-height: 1.08;
}

body.iv-detail-view .single-blog-content .blog-article {
  max-width: 74ch;
  font-size: 1rem;
  line-height: 1.85;
}

body.iv-detail-view .selected-course-section .video-player {
  border: 1px solid var(--iv-border);
  border-radius: var(--iv-radius-lg);
  box-shadow: var(--iv-shadow-raised);
}

.iv-detail-section {
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--iv-border);
  border-radius: var(--iv-radius-lg);
  background: var(--iv-surface);
}

.iv-detail-section__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--iv-title);
}

.iv-detail-section__header :where(h2, h3, h4, h5, h6) {
  margin: 0;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.iv-detail-section__header i {
  color: var(--iv-accent-ink);
}

body.iv-detail-view :where(.like-btn, .answer-like-btn) {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--iv-border);
  border-radius: 50%;
  background: var(--iv-surface-soft);
  color: var(--iv-copy);
}

body.iv-detail-view :where(.like-btn, .answer-like-btn).liked {
  border-color: color-mix(in srgb, var(--iv-accent) 45%, var(--iv-border));
  color: var(--iv-accent-ink);
}

.iv-card--video.iv-card--compact {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  min-height: 92px;
}

.iv-card--video.iv-card--compact .iv-card__media {
  min-height: 92px;
  aspect-ratio: auto;
}

.iv-card--video.iv-card--compact .iv-card__body {
  padding: 12px;
}

.iv-card--video.iv-card--compact .iv-card__title {
  margin-top: 6px;
  font-size: 0.84rem;
}

.iv-card--video.iv-card--compact .iv-card__excerpt,
.iv-card--video.iv-card--compact .iv-video-card__duration {
  display: none;
}

.iv-card--article.iv-card--compact {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  min-height: 112px;
}

.iv-card--article.iv-card--compact .iv-card__media {
  min-height: 112px;
  aspect-ratio: auto;
}

.iv-card--article.iv-card--compact .iv-card__body {
  padding: 11px;
}

.iv-card--article.iv-card--compact :where(.blog-tags, .iv-card__excerpt, .blog-author-name) {
  display: none;
}

.iv-card--article.iv-card--compact .iv-card__title {
  font-size: 0.82rem;
}

.iv-card--article.iv-card--compact .blog-meta,
.iv-card--article.iv-card--compact .blog-author {
  margin-top: 7px;
  font-size: 0.66rem;
}

.iv-share-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--iv-border);
  border-radius: var(--iv-radius-sm);
  background: var(--iv-surface);
  color: var(--iv-title);
  font-size: 0.78rem;
  font-weight: 680;
}

.iv-share-button:hover {
  border-color: color-mix(in srgb, var(--iv-accent) 35%, var(--iv-border));
  color: var(--iv-accent-ink);
}

.iv-share-button--compact span:not(.visually-hidden) {
  display: none;
}

/* Supplier and favorites join the listing system without unnecessary filters. */
body.iv-list-view .supplier-storefront {
  padding-top: 32px;
  background: var(--iv-page);
}

body.iv-list-view .supplier-hero {
  border-radius: var(--iv-radius-xl);
  box-shadow: var(--iv-shadow-raised);
}

body.iv-list-view #favorites-page {
  width: min(calc(100% - (var(--iv-gutter) * 2)), var(--iv-shell));
  max-width: none;
  padding: clamp(36px, 5vw, 64px) 0 !important;
}

body.iv-list-view button.selectable-university-col {
  appearance: none;
  background: transparent;
  color: inherit;
}

body.iv-list-view button.selectable-university-col:focus-visible {
  border-color: var(--iv-accent);
  box-shadow: 0 0 0 3px var(--iv-accent-soft);
}

@media (max-width: 991.98px) {

  body.iv-list-view .catalog-toolbar-filter,
  .iv-filter-trigger {
    display: inline-flex !important;
  }

  body.iv-list-view .hiring-filter,
  body.iv-list-view .iv-filter-panel {
    position: static;
    height: auto;
    max-height: none;
  }

  body.iv-list-view--filtered .iv-filter-layout {
    display: block;
    margin-inline: 0;
  }

  body.iv-list-view--filtered .iv-filter-column {
    display: none !important;
  }

  body.iv-list-view--filtered .iv-results-column {
    width: 100%;
    max-width: none;
    padding-inline: 0;
  }

  body.iv-list-view .hiring-content>.col-xl-3,
  body.iv-list-view .shop-section>.row>.col-xl-3 {
    display: none;
  }

  body.iv-list-view .iv-filter-shell--mobile,
  body.iv-list-view .iv-filter-shell--mobile .iv-filter-panel {
    min-height: 100%;
    height: 100%;
  }

  body.iv-detail-view .job-sidebar,
  body.iv-detail-view .enroll-card {
    position: static;
  }
}

@media (max-width: 767.98px) {
  :root {
    --iv-gutter: 16px;
  }

  body.iv-list-view :where(.shop-section, .academy-courses-section, .hiring-section, .community-section, .case-bank-section, .global-search-results, .articles, .featured-blog) {
    padding-block: 30px;
  }

  body.iv-list-view .catalog-toolbar {
    align-items: stretch !important;
    flex-direction: column;
    padding: 10px;
  }

  body.iv-list-view--shop .shop-section .catalog-toolbar,
  body.iv-list-view--used-devices .shop-section .catalog-toolbar {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  body.iv-list-view--shop .shop-section .catalog-toolbar-search,
  body.iv-list-view--shop .shop-section .catalog-toolbar-filter,
  body.iv-list-view--used-devices .shop-section .catalog-toolbar-search,
  body.iv-list-view--used-devices .shop-section .catalog-toolbar-filter {
    grid-column: 1 / -1;
  }

  body.iv-list-view--shop .shop-section .catalog-toolbar>.catalog-toolbar-control:not(.catalog-toolbar-search),
  body.iv-list-view--used-devices .shop-section .catalog-toolbar>.catalog-toolbar-control:not(.catalog-toolbar-search) {
    min-width: 0;
  }

  body.iv-list-view--shop .shop-section .catalog-toolbar>.catalog-toolbar-control:not(.catalog-toolbar-search) .catalog-toolbar-label span,
  body.iv-list-view--used-devices .shop-section .catalog-toolbar>.catalog-toolbar-control:not(.catalog-toolbar-search) .catalog-toolbar-label span {
    display: none;
  }

  .iv-page-header__inner {
    padding-block: 34px;
  }

  .iv-page-header h1 {
    font-size: clamp(1.75rem, 8vw, 2.3rem);
  }

  .iv-page-header__hero {
    min-height: 180px;
  }

  .iv-page-header__hero::after {
    inset-inline-end: -68px;
    width: 230px;
    opacity: 0.035;
  }

  [data-theme="dark"] .iv-page-header__hero::after {
    opacity: 0.07;
  }

  .iv-page-header__content {
    max-width: 100%;
  }

  .iv-page-header__content>p {
    margin-top: 12px;
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .iv-page-header__search :where(.search-box, .search-input) {
    min-height: 50px;
    border-radius: 13px !important;
  }

  .iv-page-header__search .global-search-results__form {
    grid-template-columns: 1fr;
  }

  body.iv-list-view .catalog-toolbar>*,
  body.iv-list-view .catalog-toolbar .control-box,
  body.iv-list-view .catalog-toolbar-filter {
    width: 100%;
  }

  body.iv-list-view .catalog-toolbar-search {
    min-width: 0;
    min-height: 46px;
    height: auto;
    flex: 0 0 auto !important;
  }

  body.iv-list-view .catalog-toolbar-search :where(.search-autocomplete, .search-box) {
    min-height: 46px;
    height: auto;
  }

  body.iv-list-view--community .qa-actions {
    width: 100%;
    gap: 12px;
  }

  body.iv-list-view--community .qa-actions :where(.qa-filter-btn, .qa-ask-btn) {
    min-width: 0;
    height: 54px;
    min-height: 54px;
    margin: 0;
    padding: 0 16px;
    justify-content: center;
    gap: 8px;
    line-height: 1;
    white-space: nowrap;
  }

  body.iv-list-view--community .qa-actions .qa-filter-btn {
    flex: 0 1 42%;
  }

  body.iv-list-view--community .qa-actions .qa-ask-btn {
    flex: 1 1 58%;
  }

  body.iv-list-view--community .qa-actions :where(.qa-filter-btn, .qa-ask-btn) i {
    flex: 0 0 auto;
  }

  .iv-card--question {
    grid-template-columns: 1fr;
  }

  .iv-question-card__stats {
    grid-template-columns: repeat(3, 1fr);
    border-inline-end: 0;
    border-bottom: 1px solid var(--iv-border);
  }

  body.iv-detail-view .jop-page-details .row>.col-8 {
    width: 100%;
  }

  body.iv-detail-view .jop-page-details .row>.col-4 {
    display: none;
  }

  body.iv-detail-view .single-blog-header {
    min-height: 260px;
  }

  body.iv-detail-view .single-blog-content {
    margin-top: -52px;
  }

  body.iv-detail-view .fixed-apply-btn {
    inset-inline: 14px;
    bottom: calc(70px + env(safe-area-inset-bottom));
    width: auto;
    border-radius: 12px;
    box-shadow: var(--iv-shadow-floating);
  }
}

@media (max-width: 480px) {
  .iv-card__body {
    padding: 16px;
  }

  body.iv-list-view .catalog-product-card.iv-card {
    padding: 8px;
    border-radius: 15px;
  }

  body.iv-list-view .catalog-product-card .card-body {
    padding-top: 12px;
  }

  .iv-card--search {
    grid-template-columns: 64px minmax(0, 1fr) 16px;
    min-height: 94px;
    padding: 10px;
  }

  .iv-card--search .iv-card__media {
    width: 64px;
    height: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {

  body.iv-public-ui *,
  body.iv-public-ui *::before,
  body.iv-public-ui *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Shared support contact modal. */
.support-contact-modal {
  --support-modal-surface: var(--bg, #fff);
  --support-modal-surface-soft: var(--bg-card, #f6f8f7);
  --support-modal-border: var(--border, #e5e9e7);
  --support-modal-title: var(--text, #18201c);
  --support-modal-copy: var(--muted, #69736d);
  --support-modal-accent: var(--accent, #00c05d);
  --support-modal-accent-ink: #087a43;
  --bs-modal-width: 920px;
  --bs-modal-zindex: 10030;
}

body:has(.support-contact-modal[aria-modal="true"]) .modal-backdrop {
  --bs-backdrop-zindex: 10029;
}

[data-theme="dark"] .support-contact-modal {
  --support-modal-accent-ink: #62dda0;
}

.support-contact-modal__dialog {
  width: min(calc(100% - 28px), var(--bs-modal-width));
  margin-inline: auto;
}

.support-contact-modal__content {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--support-modal-border);
  border-radius: 24px;
  background: var(--support-modal-surface);
  box-shadow: 0 28px 80px rgba(8, 27, 18, 0.2);
  color: var(--support-modal-title);
}

.support-contact-modal__content::before {
  position: absolute;
  inset: 0 0 auto;
  height: 112px;
  background:
    radial-gradient(circle at 78% 18%, color-mix(in srgb, var(--support-modal-accent) 20%, transparent), transparent 52%),
    linear-gradient(135deg, color-mix(in srgb, var(--support-modal-accent) 11%, transparent), transparent 72%);
  content: "";
  pointer-events: none;
}

.support-contact-modal__close {
  position: absolute;
  z-index: 2;
  inset-block-start: 16px;
  inset-inline-end: 16px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--support-modal-border);
  border-radius: 50%;
  background: color-mix(in srgb, var(--support-modal-surface) 90%, transparent);
  color: var(--support-modal-copy);
  cursor: pointer;
  transition: border-color .18s ease, color .18s ease, transform .18s ease;
}

.support-contact-modal__close:hover,
.support-contact-modal__close:focus-visible {
  border-color: color-mix(in srgb, var(--support-modal-accent) 55%, var(--support-modal-border));
  color: var(--support-modal-accent-ink);
  outline: 3px solid color-mix(in srgb, var(--support-modal-accent) 20%, transparent);
  outline-offset: 2px;
  transform: rotate(4deg);
}

.support-contact-modal__body {
  padding: 32px;
}

.support-contact-modal__layout {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: 32px;
}

.support-contact-modal__intro,
.support-contact-modal__form {
  min-width: 0;
  position: relative;
  z-index: 1;
}

.support-contact-modal__form {
  padding-top: 34px;
}

.support-contact-modal__form h3 {
  margin: 0 0 20px;
  color: var(--support-modal-title);
  font-size: 20px;
  font-weight: 700;
}

.support-contact-modal__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.support-contact-modal__field {
  min-width: 0;
}

.support-contact-modal__field--wide {
  grid-column: 1 / -1;
}

.support-contact-modal__field label {
  display: block;
  margin-bottom: 7px;
  color: var(--support-modal-title);
  font-size: 13px;
  font-weight: 650;
}

.support-contact-modal__field label span {
  color: var(--support-modal-copy);
  font-weight: 400;
}

.support-contact-modal__field input,
.support-contact-modal__field textarea {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid var(--support-modal-border);
  border-radius: 10px;
  background: var(--support-modal-surface-soft);
  color: var(--support-modal-title);
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
}

.support-contact-modal__field textarea {
  resize: vertical;
  min-height: 130px;
}

.support-contact-modal__field input:focus,
.support-contact-modal__field textarea:focus {
  border-color: var(--support-modal-accent);
  outline: 3px solid color-mix(in srgb, var(--support-modal-accent) 18%, transparent);
  outline-offset: 1px;
}

.support-contact-modal__field [aria-invalid="true"] {
  border-color: #d64545;
}

.support-contact-modal__error {
  display: block;
  margin-top: 6px;
  color: #c62828;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.support-contact-modal__feedback {
  padding: 12px;
  margin: 0 0 16px;
  border: 1px solid var(--support-modal-border);
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.support-contact-modal__feedback.is-success {
  background: color-mix(in srgb, var(--support-modal-accent) 12%, var(--support-modal-surface));
  color: var(--support-modal-accent-ink);
}

.support-contact-modal__feedback.is-error {
  background: color-mix(in srgb, #d64545 10%, var(--support-modal-surface));
  color: #c62828;
}

[data-theme="dark"] .support-contact-modal__error,
[data-theme="dark"] .support-contact-modal__feedback.is-error {
  color: #ff9d9d;
}

.support-contact-modal__submit {
  width: 100%;
  margin-top: 20px;
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: 650;
}

.support-contact-modal__submit span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.support-contact-modal [hidden] {
  display: none !important;
}

.support-contact-modal__hero {
  position: relative;
  z-index: 1;
  padding-inline-end: 38px;
}

.support-contact-modal__icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  place-items: center;
  border-radius: 15px;
  background: color-mix(in srgb, var(--support-modal-accent) 15%, var(--support-modal-surface));
  color: var(--support-modal-accent-ink);
  font-size: 20px;
}

.support-contact-modal__eyebrow {
  display: block;
  margin-bottom: 5px;
  color: var(--support-modal-accent-ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.support-contact-modal__hero h2 {
  margin: 0;
  color: var(--support-modal-title);
  font-size: clamp(24px, 4vw, 30px);
  font-weight: 750;
  letter-spacing: -.025em;
  line-height: 1.2;
}

.support-contact-modal__hero p {
  margin: 10px 0 0;
  color: var(--support-modal-copy);
  font-size: 14px;
  line-height: 1.65;
}

.support-contact-modal__options {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.support-contact-modal__option {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  min-height: 70px;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--support-modal-border);
  border-radius: 16px;
  background: var(--support-modal-surface-soft);
  color: var(--support-modal-title);
  text-decoration: none;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.support-contact-modal__option:hover,
.support-contact-modal__option:focus-visible {
  border-color: color-mix(in srgb, var(--support-modal-accent) 58%, var(--support-modal-border));
  box-shadow: 0 12px 28px color-mix(in srgb, var(--support-modal-accent) 11%, transparent);
  color: var(--support-modal-title);
  outline: none;
  transform: translateY(-2px);
}

.support-contact-modal__option-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 13px;
  background: color-mix(in srgb, var(--support-modal-accent) 13%, var(--support-modal-surface));
  color: var(--support-modal-accent-ink);
  font-size: 17px;
}

.support-contact-modal__option-copy {
  min-width: 0;
}

.support-contact-modal__option-copy small,
.support-contact-modal__option-copy strong {
  display: block;
}

.support-contact-modal__option-copy small {
  margin-bottom: 2px;
  color: var(--support-modal-copy);
  font-size: 11px;
  font-weight: 650;
}

.support-contact-modal__option-copy strong {
  overflow-wrap: anywhere;
  color: var(--support-modal-title);
  font-size: 14px;
  font-weight: 750;
}

.support-contact-modal__arrow {
  color: var(--support-modal-copy);
  font-size: 12px;
}

[dir="rtl"] .support-contact-modal__arrow {
  transform: scaleX(-1);
}

.support-contact-modal__note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 18px 0 0;
  color: var(--support-modal-copy);
  font-size: 11px;
  text-align: center;
}

.support-contact-modal__note i {
  color: var(--support-modal-accent-ink);
}

@media (max-width: 767px) {
  .support-contact-modal__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .support-contact-modal__form {
    padding-top: 0;
  }
}

@media (max-width: 575px) {
  .support-contact-modal__body {
    padding: 24px 18px 20px;
  }

  .support-contact-modal__content {
    border-radius: 20px;
  }

  .support-contact-modal__fields {
    grid-template-columns: minmax(0, 1fr);
  }

  .support-contact-modal__hero {
    padding-inline-end: 32px;
  }

  .support-contact-modal__option {
    grid-template-columns: 40px minmax(0, 1fr) auto;
    padding: 11px;
  }

  .support-contact-modal__option-icon {
    width: 40px;
    height: 40px;
  }
}

/* Invoice downloads render their busy state without changing the button size. */
.invoice-download-link__content {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
}

.invoice-download-link.is-loading {
    cursor: wait;
    opacity: 0.72;
    pointer-events: none;
}
