/* ====================================================
   FLAVOR NEWS — Teaser list
   ==================================================== */
.fn-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.fn-teaser {
  display: flex;
  gap: 1.5rem;
  background: #fff;
  border: 1px solid #e4e0f0;
  border-radius: 12px;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}

.fn-teaser:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(124,58,237,.1);
}

.fn-teaser__img {
  flex: 0 0 260px;
  overflow: hidden;
}

.fn-teaser__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}

.fn-teaser:hover .fn-teaser__img img {
  transform: scale(1.04);
}

.fn-teaser__body {
  flex: 1;
  padding: 1.25rem 1.25rem 1.25rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.fn-teaser__date {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  color: #7c3aed;
  background: rgba(124,58,237,.08);
  padding: .2rem .6rem;
  border-radius: 999px;
  margin-bottom: .5rem;
  width: fit-content;
}

.fn-teaser__title {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: .45rem;
}

.fn-teaser__title a {
  color: #1e1b34;
  text-decoration: none;
  transition: color .2s;
}

.fn-teaser__title a:hover {
  color: #7c3aed;
}

.fn-teaser__excerpt {
  font-size: .92rem;
  color: #6b6880;
  line-height: 1.6;
  margin-bottom: .75rem;
}

.fn-teaser__more {
  font-size: .85rem;
  font-weight: 700;
  color: #7c3aed;
  text-decoration: none;
  transition: color .2s;
  width: fit-content;
}

.fn-teaser__more:hover {
  color: #c026d3;
}

/* Pagination */
.fn-pagination {
  margin-top: 2rem;
}

.fn-pagination ul {
  display: flex;
  list-style: none;
  justify-content: center;
  gap: .35rem;
  padding: 0;
  margin: 0;
}

.fn-pagination li a,
.fn-pagination li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 .6rem;
  border: 1px solid #e4e0f0;
  border-radius: 8px;
  background: #fff;
  color: #1e1b34;
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
}

.fn-pagination li a:hover {
  border-color: #7c3aed;
  color: #7c3aed;
}

.fn-pagination li span.current {
  background: linear-gradient(135deg, #7c3aed 0%, #c026d3 100%);
  color: #fff;
  border-color: transparent;
}

.fn-empty {
  text-align: center;
  color: #6b6880;
  padding: 3rem 1rem;
}


/* ====================================================
   FLAVOR NEWS — Ticker
   ==================================================== */
.fn-ticker {
  display: flex;
  align-items: center;
  background: #faf9ff;
  border-bottom: 1px solid #e4e0f0;
  overflow: hidden;
  font-size: .9rem;
  height: 40px;
}

.fn-ticker__track {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.fn-ticker__content {
  display: flex;
  white-space: nowrap;
  will-change: transform;
}

.fn-ticker__item {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: 0 1.5rem;
  text-decoration: none;
  font-weight: 700;
  background: linear-gradient(135deg, #7c3aed, #c026d3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: opacity .2s;
}

.fn-ticker__item:hover {
  opacity: .7;
}

.fn-ticker__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #c026d3);
  flex-shrink: 0;
  /* dot should not be clipped by text gradient */
  -webkit-text-fill-color: initial;
}


/* ====================================================
   RESPONSIVE
   ==================================================== */
@media (max-width: 700px) {
  .fn-teaser {
    flex-direction: column;
    gap: 0;
  }

  .fn-teaser__img {
    flex: none;
    height: 200px;
  }

  .fn-teaser__body {
    padding: 1rem;
  }

  .fn-teaser__title {
    font-size: 1.05rem;
  }

  .fn-ticker {
    height: 36px;
    font-size: .82rem;
  }
}
