.icv-dc {
  --icv-dc-blue: #1d6ce3;
  --icv-dc-navy: #004369;
  --icv-dc-dark: #1a2332;
  --icv-dc-muted: #6b7280;
  --icv-dc-line: #e2e8f0;
  --icv-dc-soft: #f8fafc;
  --icv-dc-radius: 16px;

  background: #fff;
  padding: clamp(40px, 5vw, 72px) 0 clamp(56px, 7vw, 88px);
}

.icv-dc .container {
  max-width: 1140px;
}

.icv-dc__intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(40px, 5vw, 56px);
}

.icv-dc__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--icv-dc-blue);
}

.icv-dc__eyebrow-icon {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 14px;
  flex-shrink: 0;
}

.icv-dc__eyebrow-icon::before,
.icv-dc__eyebrow-icon::after {
  content: "";
  position: absolute;
  top: 0;
  width: 5px;
  height: 14px;
  background: var(--icv-dc-blue);
  border-radius: 1px;
  transform: skewX(-18deg);
}

.icv-dc__eyebrow-icon::before {
  left: 0;
}

.icv-dc__eyebrow-icon::after {
  left: 8px;
}

.icv-dc__title {
  margin: 0 0 14px;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 700;
  color: var(--icv-dc-navy);
  line-height: 1.25;
}

.icv-dc__lead {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--icv-dc-muted);
}

.icv-dc-section {
  margin-bottom: clamp(40px, 5vw, 56px);
}

.icv-dc-section:last-child {
  margin-bottom: 0;
}

.icv-dc-section__head {
  margin-bottom: clamp(20px, 3vw, 28px);
  padding-bottom: 14px;
  border-bottom: 2px solid var(--icv-dc-line);
}

.icv-dc-section__title {
  margin: 0;
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  font-weight: 700;
  color: var(--icv-dc-dark);
}

.icv-dc-section__head:has(.icv-dc-section__desc) .icv-dc-section__title {
  margin-bottom: 8px;
}

.icv-dc-section__desc {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--icv-dc-muted);
}

.icv-dc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 28px);
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (max-width: 767px) {
  .icv-dc-grid {
    grid-template-columns: 1fr;
  }
}

.icv-dc-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--icv-dc-radius);
  border: 1px solid var(--icv-dc-line);
  background: #fff;
  box-shadow: 0 4px 24px rgba(0, 67, 105, 0.08);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.icv-dc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(29, 108, 227, 0.14);
}

.icv-dc-card__head {
  flex-shrink: 0;
  padding: clamp(14px, 2vw, 18px) clamp(16px, 2.5vw, 22px) clamp(12px, 1.8vw, 14px);
  border-bottom: 2px solid var(--icv-dc-line);
  background: #fff;
}

.icv-dc-card__title {
  margin: 0;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--icv-dc-dark);
  line-height: 1.3;
}

.icv-dc-card__preview {
  position: relative;
  flex: 1 1 auto;
  aspect-ratio: 4 / 3;
  min-height: 260px;
  background: linear-gradient(145deg, #eef4fc 0%, #f5f7fa 45%, #e8f0fe 100%);
  overflow: hidden;
}

/* Portrait PDF: fill card width (like landscape previews); bottom clips in card */
.icv-dc-card__preview--fit-width iframe {
  top: 0;
  left: 0;
  width: calc(100% + 48px);
  height: calc(100% + 48px);
  transform: none;
}

.icv-dc-card__preview--fit-width::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 24px;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(145deg, #eef4fc 0%, #f5f7fa 45%, #e8f0fe 100%);
}

.icv-dc-card__preview-link {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.icv-dc-card__preview-link:hover,
.icv-dc-card__preview-link:focus {
  color: inherit;
  text-decoration: none;
}

.icv-dc-card__preview-link:focus-visible {
  outline: 3px solid var(--icv-dc-blue);
  outline-offset: -3px;
}

.icv-dc-card__preview iframe {
  position: absolute;
  top: 0;
  left: 0;
  /* Extra size clips browser PDF scrollbars outside the card */
  width: calc(100% + 40px);
  height: calc(100% + 40px);
  max-width: none;
  border: 0;
  background: #fff;
  pointer-events: none;
}

.icv-dc-card__preview-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0, 67, 105, 0.88);
  backdrop-filter: blur(4px);
  pointer-events: none;
}

.icv-dc-card__preview-badge i {
  font-size: 0.875rem;
}

.icv-dc-card__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 24px;
  text-align: center;
  color: var(--icv-dc-muted);
}

.icv-dc-card__placeholder-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 12px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--icv-dc-blue);
  background: rgba(29, 108, 227, 0.12);
}

.icv-dc-card__placeholder-text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  max-width: 240px;
}

.icv-dc-empty {
  padding: clamp(28px, 4vw, 40px);
  border-radius: var(--icv-dc-radius);
  border: 1px dashed #c5d4e8;
  background: var(--icv-dc-soft);
  text-align: center;
}

.icv-dc-empty p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--icv-dc-muted);
}
