/* Custom overrides for jcsix694dev */

/* Hero logo: no thumbnail frame, transparent background, larger size. */
#hero .image img.img-thumbnail {
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
  width: 100%;
  max-width: 320px;
}

/* No hover effect on the hero logo. */
#hero .image.animate img:hover,
#hero .image img:hover {
  box-shadow: none !important;
  filter: none !important;
}

/* Project card hover: no zoom on the card or image, just a gradual lighten of
   the whole card (image, text and background together) with a soft shadow. */
#projects .card {
  cursor: pointer;
  transition: filter 0.3s ease, box-shadow 0.3s ease !important;
}

/* Kill the theme's image zoom and card lift. */
#projects .card .card-img-top,
#projects .card:hover .card-img-top {
  transform: none !important;
  transition: none !important;
}

#projects .card:hover {
  transform: none !important;
  filter: brightness(1.15);
  box-shadow: 0 10px 30px rgb(15 80 100 / 20%) !important;
}

/* Tags rendered as pill buttons under the date on single/detail pages. */
#single .title .tags-ul {
  margin-top: 1rem;
}

#single .title .tags-ul li {
  margin: 0.25rem;
}

#single .title .tags-ul a {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border-radius: 2rem;
  font-size: 0.85rem;
  line-height: 1.2;
  text-decoration: none;
  color: var(--text-color);
  background-color: var(--secondary-background-color);
  border: 1px solid var(--secondary-color);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

#single .title .tags-ul a:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--background-color); /* inverts: dark text on light primary, light text on dark primary */
}
