
/* /src/homepage/ui/homepage.css */
@keyframes home-review-ticker-scroll {
  to {
    transform: translateX(-50%);
  }
}

.home-review-ticker {
  animation: home-review-ticker-scroll 375s linear infinite;
}
.home-source {
  color: var(--color-inksoft);
  font-size: clamp(0.975rem, 0.94rem + 0.14vw, 1.05rem);
  line-height: 1.72;
}
.home-source-panel {
  border: 1px solid color-mix(in srgb, var(--color-ink) 15%, transparent);
  border-top: 4px solid var(--color-brass);
  border-radius: var(--radius-2xl, 1rem);
  background: var(--color-paper);
  padding: clamp(1.1rem, 0.8rem + 1vw, 1.75rem);
  box-shadow: var(--shadow-soft);
}
.home-source h2 {
  position: relative;
  margin: 0 0 0.9rem;
  padding-left: 1.1rem;
  color: var(--color-ink);
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 1.2rem + 0.7vw, 1.9rem);
  font-weight: 600;
  line-height: 1.15;
}
.home-source h2::before {
  position: absolute;
  inset: -1px auto -1px 0;
  width: 0.3rem;
  background: var(--color-brass);
  content: "";
}
.home-source a {
  color: var(--color-brassdeep);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.home-source table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}
.home-source tr {
  border-top: 1px solid color-mix(in srgb, var(--color-ink) 15%, transparent);
}
.home-source td,
.home-source th {
  padding: 0.8rem;
  text-align: left;
  vertical-align: top;
}
.home-source td + td {
  border-left: 1px solid color-mix(in srgb, var(--color-ink) 15%, transparent);
}
.home-source ul {
  margin: 0;
  padding-left: 1.25rem;
  list-style: square;
}
.home-source-date {
  width: 10rem;
  color: var(--color-ink);
  font-weight: 600;
}
.home-source-courses th {
  color: var(--color-ink);
  font-family: var(--font-serif);
  font-size: 1.15rem;
}
.home-source-courses td:last-child {
  width: 35%;
  color: var(--color-inksoft);
}
.home-source-description {
  margin-top: 0.3rem;
  font-size: 0.9rem;
}
@media (max-width: 767px) {
  .home-source tr,
  .home-source td {
    display: block;
    width: 100%;
  }
  .home-source td + td {
    border-top: 1px solid color-mix(in srgb, var(--color-ink) 15%, transparent);
    border-left: 0;
  }
  .home-source-date,
  .home-source-courses td:last-child {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-review-ticker {
    animation: none;
  }
}
