/* === Styles de base === */
body {
    font-family: Arial, sans-serif;
    background: #f9f9f9;
    margin: 0;
    padding: 0;
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
  }

body {
  min-height: 100vh; /* assure une hauteur min de la fenêtre */
}

main, .blog-layout {
  flex: 1; /* le contenu prend l’espace dispo */
}

/* Footer toujours en bas */
footer {
  margin-top: auto;
}

  /* === Liste des articles === */
  .blog-list {
    max-width: 800px;
    margin: 20px auto;
  }
  
  .blog-card,
  .blog-article {
    background: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }
  
  /* === Métadonnées article === */
  .blog-meta {
    font-size: 0.9em;
    color: #777;
    margin-bottom: 10px;
  }
  .blog-meta i {
    margin-right: 5px;
    color: #888;
  }
  
  /* === Titre article === */
  .blog-card h2 a,
  .blog-article h1 {
    color: #333;
    text-decoration: none;
  }
  .blog-card h2 a:hover {
    color: var(--current-primary, #0d6efd);
    text-decoration: underline;
  }
  
  /* === Extrait === */
  .blog-content {
    line-height: 1.6;
    margin-top: 20px;
  }
  /* -- Menu des catégories -- */
  .blog-cats {
    margin: 20px auto;
    text-align: center;
  }
  
  .blog-cats label {
    font-weight: 600;
    margin-right: 8px;
    color: #444;
  }
  
  .blog-cats select {
    padding: 8px 14px;
    border-radius: 12px;
    border: 1px solid #ccc;
    font-size: 15px;
    font-weight: 500;
    background: #fff;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
    appearance: none; /* supprime flèche native */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23444' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 18px;
    padding-right: 40px;
  }
  
  .blog-cats select:hover {
    border-color: var(--current-primary, #6f3bbd);
    box-shadow: 0 0 5px rgba(111, 59, 189, 0.3);
  }
  
  .blog-cats select:focus {
    border-color: var(--current-primary, #6f3bbd);
    box-shadow: 0 0 8px rgba(111, 59, 189, 0.5);
  }
  
  
  /* === Stats article (likes & commentaires) === */
  .blog-stats {
    margin-top: 10px;
    font-size: 0.9em;
    color: #444;
  }
  .blog-stats span {
    margin-right: 12px;
  }
  .blog-stats i {
    color: #007bff;
    margin-right: 4px;
  }
  
  /* === Bouton Lire l'article === */
  .read-more {
    display: inline-block;
    margin-top: 12px;
    padding: 8px 18px;
    border-radius: 18px;
    background: #007bff;
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
  }
  .read-more:hover {
    background: #0056b3;
    color: #fff;
  }
  
  /* === Bouton Like (style forum) === */

.like-form {
    margin-top: 10px;
  }
  
  .like-form .like-btn {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    font-size: 0.95rem;
    color: #444;
    display: inline-flex;
    align-items: center;
    gap: 4px;
  }
  
  .like-form .like-btn i {
    color: #e0245e; /* rouge style forum */
  }
  
  .like-form .like-btn:hover i {
    transform: scale(1.2);
  }
  
  
  /* === Zone commentaires === */
  .comments {
    max-width: 800px;
    margin: 30px auto;
  }
  .comment {
    display: flex;
    background: #fff;
    padding: 15px;
    margin-bottom: 12px;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  }
  .comment img.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin-right: 10px;
  }
  .comment-body {
    flex: 1;
  }
  .comment-body strong {
    display: block;
    color: #333;
  }
  .comment-body span {
    font-size: 0.85em;
    color: #666;
  }
  
  /* === Formulaire commentaire === */
  .comment-form textarea {
    width: 100%;
    min-height: 80px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    margin-bottom: 8px;
    font-family: inherit;
    font-size: 14px;
  }
  .comment-form button {
    background: #007bff;
    color: #fff;
    padding: 8px 16px;
    border: none;
    border-radius: 18px;
    cursor: pointer;
  }
  .comment-form button:hover {
    background: #0056b3;
  }
  
  /* === Pagination === */
  .pagination {
    text-align: center;
    margin: 20px 0;
  }
  .pagination a {
    padding: 6px 12px;
    margin: 0 3px;
    border: 1px solid #ccc;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
  }
  .pagination a.active {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
  }
  
  /* === Lightbox === */
  .lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
  }
  .lightbox-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  }
  .lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
  }
  .lightbox-close:hover {
    color: #ff4081;
  }
  
/* Actions sous les articles */
.action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: none;
  border-radius: 6px;
  background: none;
  color: inherit;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: none;
  transition: color 0.2s ease;
}

.like-btn i {
  color: #e91e63;
}
.edit-btn i {
  color: #4caf50;
}
.comment-btn i {
  color: #2196f3;
}

.action-btn:hover {
  color: #555;
}

/* ==================== */
/*   BLOG LAYOUT GLOBAL */
/* ==================== */

/* Articles */
/* Conteneur principal : largeur centrée avec marge à droite */
.blog-list {
  width: 100%;
  max-width: 900px;   /* ajuste la largeur max des articles */
  margin: 0 auto;     /* centre → marge égale gauche/droite */
}

.blog-card {
  width: 100%;
  margin-bottom: 20px;
}

.blog-article {
  max-width: 900px;       /* largeur max confortable sur grand écran */
  margin: 0 auto;         /* centre horizontalement */
  padding: 0 20px;        /* marges intérieures pour éviter que le texte colle aux bords */
  box-sizing: border-box; /* inclut le padding dans la largeur */
}

.comments {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.blog-meta {
  font-size: 0.85em;
  color: #666;
  margin-bottom: 8px;
}

.blog-stats {
  margin-top: auto;
  font-size: 0.9em;
  color: #666;
}

.blog-info h2 {
  margin-top: 0;
}

.blog-info p {
  line-height: 1.6;
  margin: 10px 0;
  text-align: justify;
}

.blog-card {
  background: #fff;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  position: relative;
  overflow: hidden;   /* ✅ empêche l’image de dépasser */
}

/* Clearfix pour que le parent englobe bien l’image flottante */
.blog-card::after {
  content: "";
  display: table;
  clear: both;
}

/* Image flottante à gauche */
.blog-thumb {
  float: left;
  width: 200px;             
  max-height: 150px;        
  margin: 0 15px 10px 0;    
}

.blog-thumb img {
  width: 100%;
  height: auto;             /* conserve les proportions */
  max-height: 150px;        /* limite la hauteur */
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

/* Colonne des articles */
.blog-list {
  width: 100%;
  padding-right: 20px;   /* 🔹 assure une marge interne à droite */
  box-sizing: border-box;
}

/* Bouton moins imposant en bas à droite */
.read-more {
  display: inline-block;
  font-size: 0.8em;
  padding: 5px 12px;
  background: #0d6efd;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease;
  position: absolute;
  bottom: 15px;
  right: 15px;
}

.read-more:hover {
  background: #0b5ed7;
}

/* Conteneur principal */
.blog-layout {
  display: grid;
  grid-template-columns: 280px 1fr; /* sidebar + contenu */
  gap: 20px;
  max-width: 1180px;   /* 🔹 réduit légèrement la largeur max */
  margin: 20px auto;   /* centre */
  padding: 0 40px;     /* 🔹 espace gauche/droite renforcé */
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .blog-card {
    grid-template-columns: 1fr;
  }
  .blog-thumb img {
    height: auto;
  }
}

.blog-card:hover .blog-thumb img {
  transform: scale(1.05);
}

.blog-stats {
  font-size: 0.85em;
  color: #555;
  margin-top: auto; /* pousse en bas */
}

.blog-stats span {
  margin-right: 12px;
}

.blog-stats i {
  margin-right: 4px;
  color: var(--current-primary, #0d6efd);
}


/* ==================== */
/*      BLOG HEADER     */
/* ==================== */
.blog-header {
  width: 100%;
  max-height: 400px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.blog-header img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  /* Ombre légère en bas */
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* ==================== */
/*   BLOG CONTENT TEXT  */
/* ==================== */
.blog-content p {
  margin: 0 0 1em;
  line-height: 1.6; /* lisibilité */
}

/* ==================== */
/*     BLOG ACTIONS     */
/* ==================== */
.blog-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

/* Boutons */
.action-btn,
.like-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: none;
  border-radius: 6px;
  background: none;
  color: inherit;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s ease;
  box-shadow: none;
}

.like-btn i {
  color: #e91e63; /* rose pour like */
}

.edit-btn i {
  color: #4caf50; /* vert pour modifier */
}

.comment-btn i {
  color: #0d6efd; /* bleu pour commenter */
}

.action-btn:hover,
.like-btn:hover {
  color: #555;
}

/* ==================== */
/*       TIMELINE       */
/* ==================== */
.blog-timeline {
  background: #fff;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.timeline-groups {
  margin-top: 8px;
}

.timeline-month {
  margin-bottom: 8px;
}

.timeline-header {
  cursor: pointer;
  padding: 4px 6px;
  font-weight: bold;
  color: #444;
  display: flex;
  align-items: center;
  gap: 6px;
  border-radius: 4px;
}

.timeline-header:hover {
  background: #f5f5f5;
  color: var(--current-primary, #0d6efd);
}

.timeline-header .count {
  font-weight: normal;
  color: #888;
  margin-left: auto;
}

.timeline-list {
  margin: 4px 0 10px 18px;
  padding: 0;
  list-style: none;
}

.timeline-list li {
  margin-bottom: 4px;
  font-size: 0.9em;
}

.timeline-list li .date {
  color: #888;
  font-size: 0.8em;
  margin-right: 6px;
}

.blog-summary {
  background: #f5f5f5;
  padding: 12px 16px;
  border-left: 4px solid var(--current-primary, #0d6efd);
  border-radius: 6px;
  margin-bottom: 20px;
  font-style: italic;
  color: #444;
}

.blog-post-container {
  max-width: 900px;   /* largeur max confortable */
  margin: 0 auto;     /* centre horizontalement */
  padding: 0 15px;    /* petites marges internes pour éviter le texte collé */
  box-sizing: border-box;
}

/* ==================== */
/*  MODE SOMBRE — BLOG  */
/* ==================== */

html.dark {
  background: #121212;
  color: #e0e0e0;
  color-scheme: dark;
}

/* Cartes & articles */
html.dark .blog-card,
html.dark .blog-article,
html.dark .comment,
html.dark .blog-timeline {
  background: #1e1e1e !important;
  color: #e6e6e6 !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

/* Titres */
html.dark .blog-card h2 a,
html.dark .blog-article h1 {
  color: #fff !important;
  text-shadow: 0 1px 0 rgba(0,0,0,0.2);
}

/* Texte du contenu */
html.dark .blog-content p,
html.dark .blog-content li,
html.dark .blog-content h2,
html.dark .blog-content h3,
html.dark .blog-info p {
  color: #e6e6e6;
}

/* Métadonnées & stats */
html.dark .blog-meta,
html.dark .blog-meta i,
html.dark .comment-body span,
html.dark .blog-stats {
  color: #b3b3b3 !important;
}

/* Catégories */
html.dark .blog-cats a {
  color: #e6e6e6;
  background: #2a2a2a;
}
html.dark .blog-cats a:hover { background: #383838; color: #fff; }
html.dark .blog-cats a.active {
  background: var(--current-primary, #6f3bbd);
  color: #fff !important;
}

/* Résumé encadré */
html.dark .blog-summary {
  background: #232323;
  color: #e0e0e0;
  border-left-color: var(--current-primary, #6f3bbd);
}

/* Formulaire */
html.dark .comment-form textarea {
  background: #1b1b1b;
  border: 1px solid #3a3a3a;
  color: #eee;
}

/* Pagination */
html.dark .pagination a {
  background: #1e1e1e;
  border: 1px solid #3a3a3a;
  color: #ddd;
}
html.dark .pagination a.active {
  background: var(--current-primary, #0d6efd);
  border-color: var(--current-primary, #0d6efd);
  color: #fff;
}

/* Boutons / actions */
html.dark .read-more {
  background: #0d6efd;
  color: #fff;
}
html.dark .read-more:hover {
  background: #0b5ed7;
}
html.dark .action-btn:hover,
html.dark .like-btn:hover {
  color: #d0d0d0;
}

/* Timeline hover */
html.dark .timeline-header:hover {
  background: #232323;
  color: var(--current-primary, #0d6efd);
}

/* Icônes */
html.dark .blog-stats i { color: var(--current-primary, #0d6efd); }
html.dark .like-btn i   { color: #e91e63; }

@media (max-width: 768px) {
  .blog-layout {
    display: block;        /* plus de grille */
    padding: 0 15px;       /* marge plus fine */
  }

  .blog-timeline {
    margin-bottom: 20px;   /* espace entre chrono et contenu */
  }

  .blog-card,
  .blog-article,
  .comments {
    max-width: 100%;
    padding: 15px;
  }

  .blog-thumb {
    float: none;
    width: 100%;
    margin: 0 0 15px 0;
    max-height: unset;
  }

  .blog-thumb img {
    width: 100%;
    max-height: unset;
    border-radius: 8px;
  }
}

     
html.dark {
  background: #121212 !important;
  color: #e0e0e0 !important;
}

html.dark .blog-card,
html.dark .blog-article,
html.dark .comment,
html.dark .blog-timeline {
  background: #1e1e1e !important;
  color: #e6e6e6 !important;
}

html.dark a {
  color: #9bbcff !important;
}

/* -- poubelle commentaires --*/
.btn-delete-comment {
  color: #e74c3c;
  font-size: 14px;
  margin-left: 10px;
  text-decoration: none;
}
.btn-delete-comment:hover {
  color: #c0392b;
}

/* ============================= */
/* Chronologie (timeline)        */
/* ============================= */
.blog-timeline {
  background: var(--current-bg, #fff);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  padding: 16px;
  font-family: "Segoe UI", Roboto, system-ui, sans-serif;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  margin-bottom: 20px;
}

.blog-timeline h3 {
  font-size: 1.2em;
  font-weight: 600;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  color: var(--current-primary, #6f3bbd);
}

.blog-timeline h3 i {
  margin-right: 8px;
}

/* Années */
.timeline-year {
  margin-bottom: 10px;
  border-left: 3px solid var(--current-primary, #6f3bbd);
  padding-left: 10px;
}

.timeline-year-header {
  cursor: pointer;
  font-weight: 600;
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(0,0,0,0.03);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.2s;
}

.timeline-year-header:hover {
  background: rgba(0,0,0,0.06);
}

.timeline-year-header i {
  margin-right: 6px;
  color: var(--current-primary, #6f3bbd);
}

.timeline-year-header .count {
  font-size: 0.85em;
  color: #777;
  margin-left: auto;
}

/* Animation accordéon */
.timeline-year-content,
.timeline-list {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
}

.timeline-year-content.open,
.timeline-list.open {
  max-height: 1000px; /* assez grand pour contenir */
  opacity: 1;
}
/* Mois */
.timeline-month {
  margin: 6px 0 6px 14px;
}

.timeline-header {
  cursor: pointer;
  padding: 5px 8px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.2s;
}

.timeline-header:hover {
  background: rgba(0,0,0,0.04);
}

.timeline-header i {
  margin-right: 6px;
  color: #888;
}

.timeline-header .month-label {
  flex-grow: 1;
  color: #333;
  text-decoration: none;
  font-weight: 500;
}

.timeline-header .month-label:hover {
  color: var(--current-primary, #6f3bbd);
}

.timeline-header .count {
  font-size: 0.8em;
  color: #777;
}

/* Liste des articles */
.timeline-list {
  margin: 6px 0 8px 28px;
  padding: 0;
  list-style: none;
}

.timeline-list li {
  margin: 4px 0;
  display: flex;
  align-items: center;
  font-size: 0.92em;
}

.timeline-list .date {
  min-width: 50px;
  color: #999;
  font-size: 0.85em;
}

.timeline-list a,
.timeline-list a:hover,
.timeline-list a:focus,
.timeline-list a:active {
  text-decoration: none !important; /* supprime le souligné natif */
}

.timeline-list a {
  color: var(--current-text, #222);
  text-decoration: none !important; /* désactive le souligné */
  position: relative;
  transition: color 0.3s ease;
}

.timeline-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--current-primary, #6f3bbd);
  transition: width 0.3s ease;
}

.timeline-list a:hover {
  color: var(--current-primary, #6f3bbd);
}

.timeline-list a:hover::after {
  width: 100%;
}

/* Dark mode */
html.dark .blog-timeline {
  background: #1e1e1e;
  border-color: rgba(255,255,255,0.1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

html.dark .timeline-year-header,
html.dark .timeline-header {
  background: rgba(255,255,255,0.05);
}

html.dark .timeline-year-header:hover,
html.dark .timeline-header:hover {
  background: rgba(255,255,255,0.08);
}

html.dark .timeline-header .month-label {
  color: #ddd;
}

html.dark .timeline-list a {
  color: #eee;
}


/* -- pastilles des tags -- */
.blog-tags {
  margin: 10px 0;
}
/* Style commun */
.tag-pill {
  display: inline-block;
  margin: 3px;
  padding: 5px 12px;
  font-size: 0.85em;
  border-radius: 20px;
  text-decoration: none !important;
  color: #fff !important;
  transition: background 0.2s ease;
}

/* Mode clair */
body:not(.dark) .tag-pill,
html[data-theme="light"] .tag-pill {
  background: #0285ff;
}
body:not(.dark) .tag-pill:hover,
html[data-theme="light"] .tag-pill:hover {
  background: #006fd4;
}

/* Mode sombre */
body.dark .tag-pill,
html[data-theme="dark"] .tag-pill {
  background: #ec6090;
}
body.dark .tag-pill:hover,
html[data-theme="dark"] .tag-pill:hover {
  background: #d94f7d;
}

.tag-input {
  display: block;
  width: 100%;
  max-width: 600px;
  margin: 10px 0 20px;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
}

.btn-back {
  display: inline-block;
  margin-bottom: 15px;
  padding: 6px 12px;
  background: #0285ff;
  color: #fff;
  border-radius: 6px;
  text-decoration: none !important;
  transition: background 0.2s;
}
body.dark .btn-back {
  background: #ec6090;
  color: #fff !important;
}
.btn-back:hover {
  background: #006fd4;
  color: #fff;
}
body.dark .btn-back:hover {
  background: #d94f7d;
  color: #fff !important;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  margin: 2px;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 1em;   /* plus petit texte */
  background: #0285ff;
  color: #fff;
  line-height: 1.2;
  cursor: default;
}
body.dark .tag-pill {
  background: #ec6090;
  font-size: 1em;
  color: #fff !important;
}

.tag-pill .remove-tag {
  margin-left: 6px;
  font-size: 0.9em;
  cursor: pointer;
}

.tag-editor {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3px;
  border: 1px solid #ccc;
  padding: 4px;
  border-radius: 6px;
  background: #fff;
}
body.dark .tag-editor {
  background: #222;
  border-color: #444;
}

.tag-editor input {
  border: none;
  flex: 1;
  padding: 4px;
  font-size: 0.8em;
  min-width: 80px;
  outline: none;
  background: transparent;
  color: inherit;
}

.tag-suggestions-box {
  margin-top: 10px;
  margin-bottom: 20px;  /* <-- espace en bas */
  font-size: 0.85em;
  color: #666;
}
body.dark .tag-suggestions-box {
  color: #aaa;
}


.tag-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 5px;
}

.tag-suggestion {
  background: #f0f0f0;
  color: #333;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 0.75em;
  cursor: pointer;
  transition: background 0.2s;
}
.tag-suggestion:hover {
  background: #0285ff;
  color: #fff;
}

body.dark .tag-suggestion {
  background: #333;
  color: #ddd;
}
body.dark .tag-suggestion:hover {
  background: #ec6090;
}


/* --- bloc modif commentaires --- */
.btn-edit-comment {
  color: #337ab7;
  margin-left: 5px;
}

.btn-edit-comment:hover {
  color: #23527c;
}
.comment-edited {
  color: #888;
  font-size: 0.8em;
  margin-left: 4px;
}

/* --- Fix visibilité tags écrasés par le header --- */
.blog-tags .tag-pill{display:inline-flex!important;align-items:center!important;justify-content:center!important;background:#0285ff!important;color:#fff!important;border-radius:20px!important;margin:3px!important;padding:5px 12px!important;font-size:.85em!important;text-decoration:none!important;overflow:visible!important;white-space:nowrap!important}
body.dark .blog-tags .tag-pill{background:#ec6090!important;color:#fff!important}
.blog-tags .tag-pill:hover{background:#006fd4!important;color:#fff!important}
body.dark .blog-tags .tag-pill:hover{background:#d94f7d!important}
