/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

@import url("/assets/fonts-2a600d15.css");

/*
 * Basic prose typography for ActionText rich-text output (article body).
 * actiontext.css (installed by `action_text:install`) already covers Trix
 * editor chrome + attachment layout; these rules add the article-detail
 * reading styles on top, scoped to .trix-content.
 */
.trix-content h1,
.trix-content h2,
.trix-content h3 {
  font-weight: 700;
  color: #14213d;
  margin-top: 1.4em;
  margin-bottom: 0.5em;
  line-height: 1.3;
}

.trix-content h1 {
  font-size: 1.6em;
}

.trix-content h2 {
  font-size: 1.35em;
}

.trix-content h3 {
  font-size: 1.15em;
}

.trix-content p {
  margin-top: 0;
  margin-bottom: 1.1em;
  color: #4b5563;
}

.trix-content ul,
.trix-content ol {
  margin-bottom: 1.1em;
  padding-left: 1.4em;
}

.trix-content ul {
  list-style: disc;
}

.trix-content ol {
  list-style: decimal;
}

.trix-content li {
  margin-bottom: 0.3em;
}

.trix-content blockquote {
  font-style: italic;
  color: #4b5563;
  margin-bottom: 1.1em;
}

.trix-content a {
  color: #1e8578;
  text-decoration: underline;
}

.trix-content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin: 1em 0;
}

/* Brand logo marquee (hero "brands we source" strip) — gentle auto-scroll, pause on hover. */
@keyframes brand-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.brand-marquee {
  animation: brand-marquee 34s linear infinite;
}
.brand-marquee-wrap:hover .brand-marquee {
  animation-play-state: paused;
}
@media (prefers-reduced-motion: reduce) {
  .brand-marquee { animation: none; }
}
