/*
 * TotalDesign presentation for Reading Navigator public controls and the
 * child-owned follow-source card. All progress and sticky behavior belongs to
 * gik25-microdata; this stylesheet changes only the visual language.
 */

.td-single-hybrid .tdrn-global-progress {
  --tdrn-global-progress-height: 4px;
  --tdrn-global-progress-track: rgb(11 28 58 / 0.08);
  --tdrn-global-progress-color: #0b1c3a;
}

.td-single-hybrid .tdrn-global-progress__bar {
  background: linear-gradient(90deg, #7fa7c9, #0b1c3a);
}

.td-single-hybrid .tdrn__pin {
  border-color: rgb(11 28 58 / 0.22);
  color: #0b1c3a;
}

.td-single-hybrid .tdrn__pin[aria-pressed="true"] {
  border-color: #0b1c3a;
  background: #0b1c3a;
  color: #0b1c3a;
}

.td-single-hybrid .tdrn__pin[aria-pressed="true"] svg {
  color: #fff;
}

.td-single-follow-source {
  width: 100%;
  margin: 28px 0 6px;
}

.td-follow-source-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  width: 100%;
  padding: 20px;
  border: 1px solid #d7e0e9;
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgb(127 167 201 / 0.24), transparent 46%),
    linear-gradient(135deg, #f8fbfd, #eef3f7);
  color: #0b1c3a;
}

.td-follow-source-card__mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: #0b1c3a;
  color: #fff;
  box-shadow: 0 12px 28px rgb(11 28 58 / 0.16);
}

.td-follow-source-card__mark svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}

.td-follow-source-card__mark path:first-child {
  fill: currentColor;
  stroke: none;
}

.td-follow-source-card__copy {
  min-width: 0;
}

.td-follow-source-card__eyebrow,
.td-follow-source-card__title,
.td-follow-source-card__description {
  margin: 0;
}

.td-follow-source-card__eyebrow {
  margin-bottom: 3px;
  color: #557ba8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.td-follow-source-card .td-follow-source-card__title {
  margin: 0;
  color: #0b1c3a;
  font-family: inherit;
  font-size: 20px;
  font-weight: 750;
  line-height: 1.2;
  text-transform: none;
}

.td-follow-source-card__description {
  margin-top: 5px;
  color: #4f5c6b;
  font-size: 15px;
  line-height: 1.45;
}

.td-follow-source-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 15px;
  border: 1px solid #0b1c3a;
  border-radius: 999px;
  background: #fff;
  color: #0b1c3a;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.td-follow-source-card__cta:hover,
.td-follow-source-card__cta:focus-visible {
  background: #0b1c3a;
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

.td-follow-source-card__cta:focus-visible {
  outline: 2px solid #7fa7c9;
  outline-offset: 3px;
}

.td-follow-source-card__cta svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

@media (max-width: 680px) {
  .td-follow-source-card {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    padding: 18px;
  }

  .td-follow-source-card__mark {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .td-follow-source-card__cta {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media print {
  .td-follow-source-card {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .td-follow-source-card__cta {
    transition: none;
  }
}
