
/* =========================================================
   BLOG BADGES — CATEGORY TAGS AND NEW BADGE
   ========================================================= */


/* BLOG BADGES. CATEGORY TAGS */

.blog-card .blog-tag,
.article-more-tag.blog-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: fit-content;
  max-width: 100%;
  padding: 7px 13px;

  border: 1px solid transparent;
  border-radius: 999px;

  background: #ebe2d7;
  color: #685746;

  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.01em;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;

  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.blog-card .blog-tag:hover,
.article-more-tag.blog-tag:hover {
  transform: translateY(-1px);
  text-decoration: none;
}


/* BLOG BADGES. THE DATING EXPERTS */

.blog-card .blog-tag[data-section="experts"],
.article-more-tag.blog-tag[data-section="experts"] {
  background: #f1dfca;
  color: #78502f;
}

.blog-card .blog-tag[data-section="experts"]:hover,
.article-more-tag.blog-tag[data-section="experts"]:hover {
  background: #e8cfb2;
}


/* BLOG BADGES. DATING DECODED */

.blog-card .blog-tag[data-section="dating-decoded"],
.article-more-tag.blog-tag[data-section="dating-decoded"] {
  background: #f1ddda;
  color: #874e49;
}

.blog-card .blog-tag[data-section="dating-decoded"]:hover,
.article-more-tag.blog-tag[data-section="dating-decoded"]:hover {
  background: #e8cbc6;
}


/* BLOG BADGES. THE RESEARCH HUB */

/* LM BLOG CATEGORY — RESEARCH HUB */
.blog-card .blog-tag[data-section="research-hub"],
.article-more-tag.blog-tag[data-section="research-hub"] {
  background: #f5e4d2;
  color: #98643d;
}

.blog-card .blog-tag[data-section="research-hub"]:hover,
.article-more-tag.blog-tag[data-section="research-hub"]:hover {
  background: #ecd4bb;
}


/* BLOG BADGES. DISABILITY & DATING */

.blog-card .blog-tag[data-section="dating-with-a-disability"],
.article-more-tag.blog-tag[data-section="dating-with-a-disability"] {
  background: #e1e7ee;
  color: #526780;
}

.blog-card .blog-tag[data-section="dating-with-a-disability"]:hover,
.article-more-tag.blog-tag[data-section="dating-with-a-disability"]:hover {
  background: #d1dce8;
}


/* BLOG BADGES. RELATIONSHIP COACHING */

.blog-card .blog-tag[data-section="relationship-coaching"],
.article-more-tag.blog-tag[data-section="relationship-coaching"] {
  background: #e5e1ed;
  color: #665a7c;
}

.blog-card .blog-tag[data-section="relationship-coaching"]:hover,
.article-more-tag.blog-tag[data-section="relationship-coaching"]:hover {
  background: #d8d1e5;
}

/* LM BLOG CATEGORY — DATING ATLAS */
.blog-card .blog-tag[data-section="dating-atlas"],
.article-more-tag.blog-tag[data-section="dating-atlas"] {
  background: #e1e9dc;
  color: #5d7557;
}

.blog-card .blog-tag[data-section="dating-atlas"]:hover,
.article-more-tag.blog-tag[data-section="dating-atlas"]:hover {
  background: #d1dfca;
}

/* LM BLOG CATEGORY — Love Beyond Labels */
.blog-card .blog-tag[data-section="love-beyond-labels"],
.article-more-tag.blog-tag[data-section="love-beyond-labels"] {
  background: #f0dfe8;
  color: #895b73;
}

.blog-card .blog-tag[data-section="love-beyond-labels"]:hover,
.article-more-tag.blog-tag[data-section="love-beyond-labels"]:hover {
  background: #e8cfdd;
}


/* BLOG BADGES. NEW BADGE POSITION */

.blog-media,
.article-more-media {
  position: relative;
  display: block;
}


/* BLOG BADGES. NEW BADGE */

.lm-new-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 10;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 7px 15px;
  overflow: hidden;
  isolation: isolate;

  border-radius: 6px;

  background: #e8d6bd;
  color: #352b22;

  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  line-height: 1.2;
  text-decoration: none;

  box-shadow:
    0 0 0 1px rgba(190, 153, 103, 0.25),
    0 0 12px rgba(207, 169, 113, 0.2);

  pointer-events: none;

  animation: newBadgeGlow 4s ease-in-out infinite;
}


/* BLOG BADGES. NEW BADGE SHINE */

.lm-new-badge::after {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    110deg,
    transparent 20%,
    rgba(255, 255, 255, 0.45) 50%,
    transparent 80%
  );

  transform: translateX(-150%);
  animation: newBadgeShine 5s ease-in-out infinite;
  pointer-events: none;
}


/* BLOG BADGES. NEW BADGE ANIMATIONS */

@keyframes newBadgeGlow {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(190, 153, 103, 0.25),
      0 0 10px rgba(207, 169, 113, 0.15);
  }

  50% {
    box-shadow:
      0 0 0 1px rgba(190, 153, 103, 0.4),
      0 0 18px rgba(207, 169, 113, 0.38);
  }
}

@keyframes newBadgeShine {
  0%, 65%, 100% {
    transform: translateX(-150%);
  }

  35% {
    transform: translateX(150%);
  }
}


/* =========================================================
   BLOG BADGES. RESPONSIVE - 600px
   ========================================================= */

@media (max-width: 600px) {
  .blog-card .blog-tag,
  .article-more-tag.blog-tag {
    padding: 6px 11px;
    font-size: 11px;
  }
}


/* =========================================================
   BLOG BADGES. REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  .lm-new-badge,
  .lm-new-badge::after {
    animation: none;
  }
}

/* BLOG BADGES. END */
