@charset "UTF-8";
/*
Theme Name: StuTheme-mod12
Theme URI: https://stuexample.com
Author: Stunivers
Description: Le thème du blog Stunivers - Module 12 (Gestion des cookies RGPD).
Version: 0.12.0
*/
.error404 {
  position: relative;
  width: 100vw; /* Prend toute la largeur de l'écran */
  height: 100vh; /* Prend toute la hauteur de l'écran */
  background-size: cover; /* L'image couvre toute la zone sans être déformée */
  background-position: center; /* Centrer l'image */
  background-repeat: no-repeat; /* Ne pas répéter l'image */
}

html {
  margin-top: 0 !important;
}

.content-404 {
  display: flex; /* Utilisation de flexbox */
  flex-direction: column; /* Empiler les éléments verticalement */
  justify-content: center; /* Centre horizontalement */
  align-items: center; /* Centre verticalement */
  text-align: center; /* Centrer le texte à l'intérieur de content-404 */
  color: white; /* Couleur du texte */
  font-size: 3rem;
  height: 100%; /* Prendre toute la hauteur du parent */
  filter: drop-shadow(4px 4px 7px rgba(0, 0, 0, 0.8));
}

.content-404 h1 {
  font-size: 4rem;
}

.logo-404 {
  width: 10vw;
  min-width: 200px;
}

.featured-grid {
  margin-bottom: 1.5rem;
}

.featured-card {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}
.featured-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}
.featured-card:hover img {
  transform: scale(1.05);
}
[data-theme=dark] .featured-card {
  background-color: #344961;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
[data-theme=dark] .featured-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}
.featured-card img {
  transition: transform 0.3s ease;
}
.featured-card h3 {
  transition: color 0.2s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: black;
}
.featured-card:hover a.text-dark h3, .featured-card:hover .featured-card-title-link h3 {
  color: #1E90FF !important;
}
[data-theme=dark] .featured-card h3, body.dark-mode .featured-card h3 {
  color: white !important;
}
[data-theme=dark] .featured-card:hover a.text-dark h3, [data-theme=dark] .featured-card:hover .featured-card-title-link h3, body.dark-mode .featured-card:hover a.text-dark h3, body.dark-mode .featured-card:hover .featured-card-title-link h3 {
  color: #1E90FF !important;
}
.featured-card > a {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}
.featured-card .ratio {
  height: 40%;
  flex-shrink: 0;
  position: relative;
}
.featured-card .ratio::before {
  padding-top: 0 !important;
  height: 0 !important;
  display: none !important;
}
.featured-card .ratio img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.featured-card > a > div:last-child {
  flex-grow: 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.featured-card-large {
  max-height: 650px;
  height: 650px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.featured-card-large .ratio {
  height: 260px !important;
  min-height: 260px !important;
  max-height: 260px !important;
  flex-shrink: 0;
  position: relative !important;
  overflow: hidden !important;
}
.featured-card-large .ratio img {
  min-height: 260px !important;
}
.featured-card-large > div.p-3.p-md-4 {
  padding-top: 12px !important;
  padding-bottom: 4px !important;
}
@media (max-width: 767.98px) {
  .featured-card-large {
    height: auto;
    max-height: none;
    min-height: 400px;
  }
  .featured-card-large .ratio {
    min-height: 160px;
  }
  .featured-card-large > div.p-3.p-md-4 {
    padding-top: 24px !important;
    padding-bottom: 24px !important;
  }
}

.featured-card-small {
  height: 325px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
@media (max-width: 767.98px) {
  .featured-card-small {
    height: 250px;
    max-height: 250px;
  }
}

.featured-card-small > a {
  height: 155px !important;
  max-height: 155px !important;
  min-height: 155px !important;
  width: 100% !important;
  flex-shrink: 0 !important;
  align-self: flex-start !important;
  overflow: hidden !important;
}

.featured-card-small .ratio-small {
  height: 165px !important;
  min-height: 165px !important;
  max-height: 165px !important;
  width: 100% !important;
  flex-shrink: 0;
  position: relative !important;
  overflow: hidden !important;
}
.featured-card-small .ratio-small img {
  height: 100% !important;
  width: 100% !important;
  min-height: 165px !important;
  object-fit: cover !important;
  display: block !important;
}

.featured-card-small h3.small-card-title {
  padding-bottom: 35px;
}

.featured-column-right {
  height: 650px;
}
@media (max-width: 767.98px) {
  .featured-column-right {
    height: auto;
  }
}

.featured-card-large h3 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}
@media (min-width: 768px) {
  .featured-card-large h3 {
    font-size: 2rem;
  }
}
@media (min-width: 992px) {
  .featured-card-large h3 {
    font-size: 2.25rem;
  }
}

.featured-card-excerpt-link {
  position: relative;
  margin-top: 0px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.featured-card-excerpt-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5rem;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgb(255, 255, 255));
}
[data-theme=dark] .featured-card-excerpt-link::after {
  background: linear-gradient(to bottom, rgba(52, 73, 97, 0), rgb(52, 73, 97));
}

.featured-card-excerpt {
  margin-bottom: 0;
  padding-bottom: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(0, 0, 0, 0.75);
  display: -webkit-box;
  display: -moz-box;
  display: box;
  -webkit-line-clamp: 7;
  -moz-line-clamp: 7;
  line-clamp: 7;
  -webkit-box-orient: vertical;
  -moz-box-orient: vertical;
  box-orient: vertical;
  overflow: hidden;
}
@media (min-width: 768px) {
  .featured-card-excerpt {
    font-size: 1.05rem;
    line-height: 1.8;
  }
}
[data-theme=dark] .featured-card-excerpt {
  color: rgba(255, 255, 255, 0.85);
}

.featured-card-title-link {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.featured-card-title-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5rem;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgb(255, 255, 255));
}
[data-theme=dark] .featured-card-title-link::after {
  background: linear-gradient(to bottom, rgba(52, 73, 97, 0), rgb(52, 73, 97));
}

.featured-card-small h3 {
  font-size: 1.25rem;
  display: -webkit-box;
  display: -moz-box;
  display: box;
  -webkit-line-clamp: 2;
  -moz-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  -moz-box-orient: vertical;
  box-orient: vertical;
  overflow: hidden;
  max-height: 2.6em;
}
@media (min-width: 768px) {
  .featured-card-small h3 {
    font-size: 1.5rem;
  }
}

.featured-card-meta {
  margin-top: 0.5rem;
  margin-bottom: 0;
  font-size: 0.9rem;
  opacity: 0.8;
  color: black;
}
.featured-card-meta p {
  margin: 0;
  line-height: 1.8;
  color: black;
}
.featured-card-meta p:first-child {
  margin-bottom: 0.25rem;
  color: black;
}
.featured-card-meta * {
  color: black !important;
}
[data-theme=dark] .featured-card-meta, body.dark-mode .featured-card-meta {
  color: rgba(255, 255, 255, 0.85) !important;
}
[data-theme=dark] .featured-card-meta p, body.dark-mode .featured-card-meta p {
  color: rgba(255, 255, 255, 0.85) !important;
}
[data-theme=dark] .featured-card-meta p:first-child, body.dark-mode .featured-card-meta p:first-child {
  color: rgba(255, 255, 255, 0.85) !important;
}
[data-theme=dark] .featured-card-meta *, body.dark-mode .featured-card-meta * {
  color: rgba(255, 255, 255, 0.85) !important;
}

.featured-posts h2 {
  color: black;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}
[data-theme=dark] .featured-posts h2, body.dark-mode .featured-posts h2 {
  color: white !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5) !important;
}

[data-theme=dark] .featured-card .text-dark h3, body.dark-mode .featured-card .text-dark h3 {
  color: white !important;
}
[data-theme=dark] .featured-card h3, body.dark-mode .featured-card h3 {
  color: white !important;
}
[data-theme=dark] .featured-card a.text-dark, body.dark-mode .featured-card a.text-dark {
  color: white !important;
}
[data-theme=dark] .featured-card a.text-dark .featured-card-meta, body.dark-mode .featured-card a.text-dark .featured-card-meta {
  color: black !important;
}
[data-theme=dark] .featured-card a.text-dark .featured-card-meta *, body.dark-mode .featured-card a.text-dark .featured-card-meta * {
  color: black !important;
}

#ariane-container {
  font-weight: bold;
  font-size: 1.4rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  text-decoration: none;
  color: white !important;
  text-decoration: none !important;
  position: relative;
  z-index: 1 !important;
  pointer-events: none !important;
}
#ariane-container .breadcrumb {
  pointer-events: none !important;
}
#ariane-container .breadcrumb a {
  pointer-events: auto !important;
}

.breadcrumb a {
  color: white !important;
  text-decoration: none !important;
}

.author-profile-section {
  padding: 2rem 0;
}

.author-profile-card {
  background: linear-gradient(135deg, #87CEFA 0%, #1E90FF 100%);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.author-profile-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.author-avatar-wrapper {
  position: relative;
  display: inline-block;
}

.author-avatar-large {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 4px solid white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  object-fit: cover;
  transition: transform 0.3s ease;
}
.author-avatar-large:hover {
  transform: scale(1.05);
}

.author-name {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  margin-bottom: 0;
}
@media (min-width: 768px) {
  .author-name {
    font-size: 2.5rem;
  }
}

.author-bio p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: white;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
  margin-bottom: 0;
}

.author-stats {
  margin-top: 1.5rem;
}

.stat-badge {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.stat-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.stat-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: #1E90FF;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-value-small {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1E90FF;
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.85rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.author-social-links {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.social-links-label {
  color: white;
  font-weight: 600;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.social-link {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.9);
  color: #1E90FF;
  text-decoration: none;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.social-link:hover {
  background: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  color: #1E90FF;
}

.section-title-author {
  font-size: 1.75rem;
  font-weight: 700;
  color: black;
  text-align: center;
}
@media (min-width: 768px) {
  .section-title-author {
    font-size: 2rem;
    text-align: left;
  }
}

.author-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
@media (min-width: 768px) {
  .author-categories {
    justify-content: flex-start;
  }
}

.category-badge-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 1.5rem;
  background: white;
  border: 2px solid #1E90FF;
  border-radius: 15px;
  text-decoration: none;
  color: #1E90FF;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  min-width: 150px;
}
.category-badge-author:hover {
  background: linear-gradient(135deg, #87CEFA 0%, #1E90FF 100%);
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  border-color: transparent;
}

.category-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.category-count {
  font-size: 0.85rem;
  opacity: 0.8;
}

[data-theme=dark] .author-profile-card,
body.dark-mode .author-profile-card {
  background: linear-gradient(135deg, #3b3e52 0%, rgb(37.6595744681, 39.5744680851, 52.3404255319) 100%);
}

[data-theme=dark] .stat-badge,
body.dark-mode .stat-badge {
  background: rgba(52, 73, 97, 0.95);
  color: white;
}

[data-theme=dark] .stat-value,
[data-theme=dark] .stat-value-small,
body.dark-mode .stat-value,
body.dark-mode .stat-value-small {
  color: #9fcffc;
}

[data-theme=dark] .stat-label,
body.dark-mode .stat-label {
  color: rgba(255, 255, 255, 0.8);
}

[data-theme=dark] .social-link,
body.dark-mode .social-link {
  background: rgba(52, 73, 97, 0.9);
  color: white;
}
[data-theme=dark] .social-link:hover,
body.dark-mode .social-link:hover {
  background: #344961;
  color: white;
}

[data-theme=dark] .section-title-author,
body.dark-mode .section-title-author {
  color: white;
}

[data-theme=dark] .category-badge-author,
body.dark-mode .category-badge-author {
  background: #344961;
  border-color: #3b3e52;
  color: white;
}
[data-theme=dark] .category-badge-author:hover,
body.dark-mode .category-badge-author:hover {
  background: linear-gradient(135deg, #3b3e52 0%, rgb(37.6595744681, 39.5744680851, 52.3404255319) 100%);
  color: white;
}

@media (max-width: 767px) {
  .author-profile-card {
    padding: 1.5rem;
  }
  .author-avatar-large {
    width: 120px;
    height: 120px;
  }
  .author-name {
    font-size: 1.75rem;
  }
  .author-bio p {
    font-size: 1rem;
  }
  .stat-badge {
    padding: 0.75rem;
  }
  .stat-value {
    font-size: 1.5rem;
  }
  .category-badge-author {
    min-width: 120px;
    padding: 0.75rem 1rem;
  }
}
.author-avatar {
  max-width: 50vw;
  min-width: 20vw;
  max-height: 50vh;
  min-height: 20vw;
  object-fit: contain;
  border-radius: 20px;
  margin-top: 20px;
  border: solid 1px #ccc;
  filter: drop-shadow(10px 10px 15px rgba(0, 0, 0, 0.5));
}

.author-bio {
  font-size: 2rem;
}

.post-item a {
  text-decoration: none;
  color: #066;
}

.post-item {
  background-color: #fff;
  border: solid 1px #ccc;
  filter: drop-shadow(10px 10px 15px rgba(0, 0, 0, 0.5));
  padding: 20px;
  border-radius: 20px;
}

.post-item-dark {
  background-color: #344961;
}

.post-item-dark a {
  color: white;
}

.page-numbers {
  text-decoration: none;
  color: inherit;
}

#comments {
  display: none;
}

.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 1rem;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
  max-height: 50vh;
  overflow-y: auto;
}
.cookie-consent-banner.show {
  transform: translateY(0);
}
.body-light .cookie-consent-banner {
  background-color: white;
  border-top: 2px solid #ccc;
  color: black;
}
.body-dark .cookie-consent-banner {
  background-color: #344961;
  border-top: 2px solid rgba(255, 255, 255, 0.2);
  color: white;
}
@media (max-width: 768px) {
  .cookie-consent-banner {
    padding: 0.75rem;
  }
}

.cookie-consent-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}
@media (min-width: 768px) {
  .cookie-consent-content {
    flex-direction: row;
    gap: 2rem;
  }
}

.cookie-consent-message {
  flex: 1;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  text-align: center;
}
@media (min-width: 768px) {
  .cookie-consent-message {
    text-align: left;
    font-size: 1rem;
  }
}

.cookie-consent-policy-link {
  text-decoration: underline;
  font-weight: 600;
  margin-left: 0.25rem;
  transition: opacity 0.3s ease;
}
.body-light .cookie-consent-policy-link {
  color: #1E90FF;
}
.body-light .cookie-consent-policy-link:hover {
  opacity: 0.8;
}
.body-dark .cookie-consent-policy-link {
  color: #4A90E2;
}
.body-dark .cookie-consent-policy-link:hover {
  opacity: 0.8;
}

.cookie-consent-buttons {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
  width: 100%;
}
@media (min-width: 768px) {
  .cookie-consent-buttons {
    width: auto;
  }
}

.cookie-consent-accept,
.cookie-consent-reject {
  padding: 0.625rem 1.5rem;
  border: none;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  flex: 1;
}
@media (min-width: 768px) {
  .cookie-consent-accept,
  .cookie-consent-reject {
    flex: none;
    padding: 0.75rem 2rem;
    font-size: 1rem;
  }
}
.cookie-consent-accept:hover,
.cookie-consent-reject:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.cookie-consent-accept:active,
.cookie-consent-reject:active {
  transform: translateY(0);
}

.body-light .cookie-consent-accept {
  background-color: #1E90FF;
  color: white;
}
.body-light .cookie-consent-accept:hover {
  background-color: #1873CC;
}
.body-dark .cookie-consent-accept {
  background-color: #4A90E2;
  color: white;
}
.body-dark .cookie-consent-accept:hover {
  background-color: #357ABD;
}

.body-light .cookie-consent-reject {
  background-color: transparent;
  color: black;
  border: 2px solid #ccc;
}
.body-light .cookie-consent-reject:hover {
  background-color: rgba(0, 0, 0, 0.05);
}
.body-dark .cookie-consent-reject {
  background-color: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
}
.body-dark .cookie-consent-reject:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.cookie-consent-banner.hidden {
  display: none;
}

.cookie-consent-icon {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 9998;
  width: 48px;
  height: 48px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-consent-icon:hover {
  transform: scale(1.1);
  opacity: 0.9;
}
.cookie-consent-icon:active {
  transform: scale(0.95);
}
.cookie-consent-icon img {
  width: 100%;
  height: 100%;
  display: block;
  transition: filter 0.3s ease;
}
.body-light .cookie-consent-icon img {
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 4px rgba(255, 255, 255, 0.6));
}
.body-dark .cookie-consent-icon img {
  filter: invert(1) drop-shadow(0 0 8px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 4px rgba(0, 0, 0, 0.6));
}
.cookie-consent-icon.hidden {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

@media (max-width: 768px) {
  .cookie-consent-icon {
    width: 40px;
    height: 40px;
    bottom: 1rem;
    left: 1rem;
  }
}
.footer-background {
  border-top: 1px solid #ccc;
}

.footer-background-dark {
  background: radial-gradient(ellipse at bottom, #1B2735 0%, #090A0F 100%);
  overflow: hidden;
}

.footer-background-light {
  background: radial-gradient(ellipse at bottom, #87CEFA 0%, #1E90FF 100%);
  overflow: hidden;
}

.footer-fav {
  height: 35vh; /* Le logo prendra toute la largeur disponible */
  width: 35vw; /* Mais il ne dépassera pas 120px */
  min-width: 200px;
  min-height: 200px;
  margin-top: 40px;
  margin-bottom: 40px;
  filter: drop-shadow(2px 2px 4px rgba(255, 255, 255, 0.7));
  transition: transform 0.3s ease, filter 0.3s ease;
}
.global-home-link:hover .footer-fav {
  transform: scale(1.1) translateY(-2px);
  filter: drop-shadow(4px 4px 8px rgba(255, 255, 255, 0.9));
}

.footer-social-links img {
  height: 1.875rem;
  margin-right: 0.625rem;
  filter: brightness(0) invert(1);
  transition: opacity 0.3s ease;
}

.footer-social-links img:hover {
  opacity: 0.8;
}

/* Pour le dernier élément de la liste */
.footer-social-links:last-child img {
  margin-right: 0;
}

/* Formattage du texte pour le footer en light mode */
.footer-text {
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  font-weight: bold;
}

body {
  height: 100vh;
  margin: 0;
  padding: 0;
  min-width: 320px;
}

.body-dark {
  background-color: #161b28;
  color: white;
}

.body-light {
  background: white;
}

.post {
  border-radius: 30px;
  padding-left: 30px;
  padding-right: 30px;
  padding-top: 10px;
  margin-top: -100px;
}

.post-dark {
  background-color: #344961;
  color: white;
  border: 1px solid #444;
}

.pagination {
  font-size: 2rem;
  margin-bottom: 50px;
}

.page-numbers {
  font-weight: bold;
  padding-left: 12px;
  padding-right: 12px;
  border: 1px solid #444;
  border-radius: 5px;
  margin-left: 2px;
  margin-right: 2px;
}

.current {
  font-weight: normal !important;
  border: none !important;
}

.post-light {
  background-color: #eee;
  border: 1px solid #eee;
}

.global-text-light {
  color: black !important;
}

.global-text-dark {
  color: white !important;
}

.custom-logo {
  height: 100%;
  width: 100%;
}

.global-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 40px;
  filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.3));
  flex-shrink: 0;
}

.global-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.global-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #9fcffc;
  transition: 0.4s;
  border-radius: 34px;
  border: 1px solid #ffffff;
}

.global-slider:before {
  position: absolute;
  content: "";
  height: 32px;
  width: 32px;
  border-radius: 50%;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.4s;
}

input:checked + .global-slider {
  background-color: #3b3e52;
}

input:checked + .global-slider:before {
  transform: translateX(20px);
}

.global-search {
  width: 40px;
  height: 40px;
  margin: 0;
  filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.3));
  cursor: pointer;
  object-fit: contain;
}

.global-search:hover {
  cursor: pointer;
  opacity: 0.8;
}

.global-search-mobile {
  margin-top: 10px;
  margin-bottom: 0px;
}

.global-home-link {
  display: inline-block;
  text-decoration: none;
}

.search-results-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: black;
  margin-bottom: 1rem;
}
@media (min-width: 768px) {
  .search-results-title {
    font-size: 2rem;
  }
}

[data-theme=dark] .search-results-title,
body.dark-mode .search-results-title {
  color: white;
}

.search-filters-applied {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.filter-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, #87CEFA 0%, #1E90FF 100%);
  color: white;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

[data-theme=dark] .filter-badge,
body.dark-mode .filter-badge {
  background: linear-gradient(135deg, #3b3e52 0%, rgb(37.6595744681, 39.5744680851, 52.3404255319) 100%);
}

.section-separator-wrapper {
  margin-top: 4rem;
  margin-bottom: 3rem;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: black;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}
@media (min-width: 768px) {
  .section-title {
    font-size: 2.25rem;
  }
}
@media (min-width: 992px) {
  .section-title {
    font-size: 2.5rem;
  }
}

body:not(.dark-mode):not([data-theme=dark]) h2.section-title,
body:not(.dark-mode):not([data-theme=dark]) .section-title {
  color: black !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

[data-theme=dark] h2.section-title,
body.dark-mode h2.section-title,
body[data-theme=dark] h2.section-title,
body.dark-mode .section-separator-wrapper h2.section-title,
body.dark-mode .section-title,
[data-theme=dark] .section-title {
  color: white !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5) !important;
}

.section-separator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 0 auto;
  max-width: 600px;
  position: relative;
}

.separator-line {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(to right, rgba(135, 206, 250, 0.2), #87CEFA, #1E90FF, #87CEFA, rgba(135, 206, 250, 0.2));
  position: relative;
  min-height: 4px;
}
.separator-line::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  bottom: -2px;
  background: linear-gradient(to right, rgba(135, 206, 250, 0.1), rgba(135, 206, 250, 0.4), rgba(30, 144, 255, 0.6), rgba(135, 206, 250, 0.4), rgba(135, 206, 250, 0.1));
  filter: blur(6px);
  z-index: -1;
}
[data-theme=dark] .separator-line {
  background: linear-gradient(to right, rgba(159, 207, 252, 0.3), rgba(159, 207, 252, 0.6), rgba(30, 144, 255, 0.8), rgba(159, 207, 252, 0.6), rgba(159, 207, 252, 0.3));
}
[data-theme=dark] .separator-line::before {
  background: linear-gradient(to right, rgba(159, 207, 252, 0.2), rgba(159, 207, 252, 0.4), rgba(30, 144, 255, 0.6), rgba(159, 207, 252, 0.4), rgba(159, 207, 252, 0.2));
}

.separator-line-left {
  background: linear-gradient(to right, rgba(135, 206, 250, 0.3), #87CEFA, #1E90FF);
  min-height: 4px;
}
[data-theme=dark] .separator-line-left {
  background: linear-gradient(to right, rgba(159, 207, 252, 0.4), rgba(159, 207, 252, 0.7), rgba(30, 144, 255, 0.9));
}

.separator-line-right {
  background: linear-gradient(to left, rgba(135, 206, 250, 0.3), #87CEFA, #1E90FF);
  min-height: 4px;
}
[data-theme=dark] .separator-line-right {
  background: linear-gradient(to left, rgba(159, 207, 252, 0.4), rgba(159, 207, 252, 0.7), rgba(30, 144, 255, 0.9));
}

.separator-decoration {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #87CEFA, #1E90FF);
  box-shadow: 0 0 15px rgba(30, 144, 255, 0.7), 0 0 25px rgba(135, 206, 250, 0.5), 0 0 35px rgba(135, 206, 250, 0.3), inset 0 0 10px rgba(255, 255, 255, 0.3);
  position: relative;
  flex-shrink: 0;
  animation: separatorPulse 2s ease-in-out infinite;
  border: 2px solid rgba(255, 255, 255, 0.5);
}
.separator-decoration::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 5px rgba(255, 255, 255, 0.6);
}
[data-theme=dark] .separator-decoration {
  background: linear-gradient(135deg, rgba(159, 207, 252, 0.9), rgb(30, 144, 255));
  box-shadow: 0 0 20px rgba(30, 144, 255, 0.8), 0 0 30px rgba(159, 207, 252, 0.6), 0 0 40px rgba(159, 207, 252, 0.4), inset 0 0 10px rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(159, 207, 252, 0.6);
}
@media (min-width: 768px) {
  .separator-decoration {
    width: 20px;
    height: 20px;
  }
  .separator-decoration::before {
    width: 10px;
    height: 10px;
  }
}

@keyframes separatorPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.9;
  }
}
@media (max-width: 767.98px) {
  .section-separator-wrapper {
    margin-top: 3rem;
    margin-bottom: 2rem;
  }
  .section-title {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  .section-separator {
    gap: 0.75rem;
    max-width: 100%;
  }
  .separator-line {
    height: 3px;
    min-height: 3px;
  }
  .separator-decoration {
    width: 16px;
    height: 16px;
  }
  .separator-decoration::before {
    width: 8px;
    height: 8px;
  }
}
.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2rem;
  margin-bottom: 2rem;
  padding: 0 1rem;
}

.category-filter-btn {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background-color: white;
  color: black;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 25px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  white-space: nowrap;
  cursor: pointer;
}
.category-filter-btn:hover {
  background-color: #87CEFA;
  color: white;
  border-color: #87CEFA;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(30, 144, 255, 0.3);
  text-decoration: none;
}
.category-filter-btn.active {
  background: linear-gradient(135deg, #87CEFA, #1E90FF);
  color: white;
  border-color: #1E90FF;
  box-shadow: 0 4px 12px rgba(30, 144, 255, 0.4);
}
[data-theme=dark] .category-filter-btn {
  background-color: #344961;
  color: white;
  border-color: rgba(255, 255, 255, 0.2);
}
[data-theme=dark] .category-filter-btn:hover {
  background-color: rgba(159, 207, 252, 0.3);
  border-color: rgba(159, 207, 252, 0.5);
  color: #9fcffc;
}
[data-theme=dark] .category-filter-btn.active {
  background: linear-gradient(135deg, rgba(159, 207, 252, 0.8), rgb(30, 144, 255));
  color: white;
  border-color: rgba(30, 144, 255, 0.8);
}
@media (max-width: 767.98px) {
  .category-filter-btn {
    font-size: 0.85rem;
    padding: 0.4rem 1rem;
  }
}

.category-filter-btn-all {
  font-weight: 600;
}

.last-posts .top-article {
  height: 24rem;
  width: 100vw;
  object-fit: cover;
}

.main-post .top-article {
  height: 24rem;
  width: 100vw;
  object-fit: cover;
}

.last-posts a {
  text-decoration: none;
  color: inherit;
}

.btn {
  color: white !important;
}

.post-card {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  height: 100%;
}
.post-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}
[data-theme=dark] .post-card {
  background-color: #344961;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
[data-theme=dark] .post-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.post-card-image-wrapper {
  padding: 0;
  overflow: hidden;
  position: relative;
  width: 100%;
}
.post-card-image-wrapper::before {
  content: "";
  display: block;
  padding-top: 56.25%;
}

.post-card-image-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  text-decoration: none;
}

.post-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.post-card:hover .post-card-image {
  transform: scale(1.05);
}

.post-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) {
  .post-card-body {
    padding: 1.75rem;
  }
}
@media (min-width: 992px) {
  .post-card-body {
    padding: 2rem;
  }
}

.post-card-title-link {
  text-decoration: none;
  color: inherit;
  display: block;
  margin-bottom: 0.75rem;
}
.post-card-title-link:hover {
  text-decoration: none;
}

.post-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 0.75rem 0;
  color: black;
  transition: color 0.2s ease;
  display: -webkit-box;
  display: -moz-box;
  display: box;
  -webkit-line-clamp: 2;
  -moz-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  -moz-box-orient: vertical;
  box-orient: vertical;
  overflow: hidden;
  max-height: 2.6em;
}
.post-card:hover .post-card-title {
  color: #1E90FF;
}
[data-theme=dark] .post-card-title {
  color: white;
}
.post-card:hover [data-theme=dark] .post-card-title {
  color: #9fcffc;
}
@media (min-width: 768px) {
  .post-card-title {
    font-size: 1.75rem;
  }
}

.post-card-excerpt-link {
  text-decoration: none;
  color: inherit;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}
.post-card-excerpt-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5rem;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgb(255, 255, 255));
}
[data-theme=dark] .post-card-excerpt-link::after {
  background: linear-gradient(to bottom, rgba(52, 73, 97, 0), rgb(52, 73, 97));
}
.post-card-excerpt-link:hover {
  text-decoration: none;
}

.post-card-excerpt {
  color: rgba(0, 0, 0, 0.7);
  line-height: 1.6;
  margin-bottom: 0;
  padding-bottom: 1.5rem;
  font-size: 0.95rem;
  display: -webkit-box;
  display: -moz-box;
  display: box;
  -webkit-line-clamp: 3;
  -moz-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  -moz-box-orient: vertical;
  box-orient: vertical;
  overflow: hidden;
  max-height: 4.8em;
}
[data-theme=dark] .post-card-excerpt {
  color: rgba(255, 255, 255, 0.8);
}

.post-card-meta {
  margin-top: 0.5rem;
  margin-bottom: 0;
  font-size: 0.9rem;
  opacity: 0.8;
  color: black;
}
.post-card-meta p {
  margin: 0;
  line-height: 1.8;
  color: black;
}
.post-card-meta .post-card-meta-line1 {
  margin-bottom: 0.25rem;
  color: black;
}
.post-card-meta .post-card-meta-line2 {
  margin-top: 0;
  color: black;
}
.post-card-meta * {
  color: black !important;
}
[data-theme=dark] .post-card-meta, body.dark-mode .post-card-meta {
  color: rgba(255, 255, 255, 0.85) !important;
}
[data-theme=dark] .post-card-meta p, body.dark-mode .post-card-meta p {
  color: rgba(255, 255, 255, 0.85) !important;
}
[data-theme=dark] .post-card-meta .post-card-meta-line1, body.dark-mode .post-card-meta .post-card-meta-line1 {
  color: rgba(255, 255, 255, 0.85) !important;
}
[data-theme=dark] .post-card-meta .post-card-meta-line2, body.dark-mode .post-card-meta .post-card-meta-line2 {
  color: rgba(255, 255, 255, 0.85) !important;
}
[data-theme=dark] .post-card-meta *, body.dark-mode .post-card-meta * {
  color: rgba(255, 255, 255, 0.85) !important;
}

@media (max-width: 767.98px) {
  .post-card {
    margin-bottom: 1.5rem;
  }
  .post-card-body {
    padding: 1.25rem;
  }
  .post-card-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
  }
  .post-card-excerpt {
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    -webkit-line-clamp: 2;
  }
  .post-card-meta {
    margin-bottom: 1rem;
    font-size: 0.85rem;
  }
  .post-card-button {
    width: 100%;
    text-align: center;
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.post-card {
  animation: fadeInUp 0.5s ease-out;
}

.trend-label {
  margin-top: 0.75rem;
  text-align: center;
}

.trend-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, #87CEFA 0%, #1E90FF 100%);
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.trend-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

[data-theme=dark] .trend-badge,
body.dark-mode .trend-badge {
  background: linear-gradient(135deg, #3b3e52 0%, rgb(37.6595744681, 39.5744680851, 52.3404255319) 100%);
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
}
[data-theme=dark] .trend-badge:hover,
body.dark-mode .trend-badge:hover {
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
}

.user-logged-in {
  margin-top: 32px; /* Ajuste selon la hauteur de la barre admin */
}

/* Définition de la taille du logo personnalisé dans le header */
.header-fav {
  height: 80px;
  width: 80px;
  margin-top: 20px;
  margin-bottom: 20px;
  margin-right: 20px;
  filter: drop-shadow(2px 2px 4px rgba(255, 255, 255, 0.7));
  transition: transform 0.3s ease, filter 0.3s ease;
}
.global-home-link:hover .header-fav {
  transform: scale(1.1) translateY(-2px);
  filter: drop-shadow(4px 4px 8px rgba(255, 255, 255, 0.9));
}

/* Media Query pour changer la taille du logo dans une résolution plus petite que 380px */
@media (max-width: 379px) {
  .header-fav {
    height: 50px;
    width: 50px;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-right: 10px;
  }
}
/* Définition d'un trait solide en bas du block header */
#header-background {
  border-bottom: 1px solid #ccc;
  position: relative;
  z-index: 1;
}

/* Couleur du block header en dark mode */
.header-background-dark {
  background: radial-gradient(ellipse at bottom, #1B2735 0%, #090A0F 100%);
  overflow: hidden;
  position: relative;
}
.header-background-dark > * {
  position: relative;
  z-index: 1;
}
.header-background-dark .language-switcher-dropdown {
  z-index: 999998;
}

/* Couleur du block header en light mode */
.header-background-light {
  background: radial-gradient(ellipse at bottom, #87CEFA 0%, #1E90FF 100%);
  overflow: hidden;
  position: relative;
}
.header-background-light > * {
  position: relative;
  z-index: 1;
}
.header-background-light .language-switcher-dropdown {
  z-index: 999998;
}
.header-background-light .airplanes-rockets-svg .airplane *,
.header-background-light .airplanes-rockets-svg .rocket * {
  stroke: #333333;
  stroke-width: 2;
  stroke-opacity: 0.8;
}

/* Taille et couleur du titre du site en dark mode */
.header-title-menu-dark {
  color: white;
  font-size: 2.2rem;
  margin-left: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

/* Taille et couleur du titre du site en light mode */
.header-title-menu-light {
  color: white;
  font-size: 2.2rem;
  margin-left: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

/* Définition de la couleur du texte pour le menu header */
.header-menu {
  color: white;
}

/* Définition du comportement des liens pour le menu header */
.header-menu a {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  text-decoration: none;
  color: inherit;
}

/* Définition du comportement du menu dans un cadre desktop */
#header-menu-desktop ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 20px;
}

/* Définition du comportement du menu dans un cadre desktop */
#header-menu-desktop li {
  display: inline-block;
  font-size: 1.6rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

/* Taille du bouton du menu burger et curseur */
.language-switcher-dropdown {
  position: relative;
  display: inline-block;
  z-index: 999998;
}
.language-switcher-dropdown .language-switcher-btn {
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: background-color 0.3s;
  width: 56px;
  height: 56px;
}
.language-switcher-dropdown .language-switcher-btn:hover {
  background-color: rgba(0, 0, 0, 0.1);
}
.language-switcher-dropdown .language-switcher-btn:focus {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}
.language-switcher-dropdown .language-switcher-btn .language-icon {
  width: 48px;
  height: 48px;
  transition: opacity 0.3s;
  opacity: 0.9;
}
.language-switcher-dropdown .language-switcher-btn:hover .language-icon {
  opacity: 1;
}
.language-switcher-dropdown .language-switcher-btn[aria-expanded=true] {
  background-color: rgba(0, 0, 0, 0.2);
}
.language-switcher-dropdown .language-switcher-btn[aria-expanded=true] .language-icon {
  opacity: 1;
}
body.dark-mode .language-switcher-dropdown .language-switcher-btn .language-icon, [data-theme=dark] .language-switcher-dropdown .language-switcher-btn .language-icon, #header-background.header-background-dark .language-switcher-dropdown .language-switcher-btn .language-icon {
  filter: none !important;
  opacity: 1;
}
body.dark-mode .language-switcher-dropdown .language-switcher-btn:hover .language-icon, [data-theme=dark] .language-switcher-dropdown .language-switcher-btn:hover .language-icon, #header-background.header-background-dark .language-switcher-dropdown .language-switcher-btn:hover .language-icon {
  opacity: 1;
}
body.dark-mode .language-switcher-dropdown .language-switcher-btn[aria-expanded=true] .language-icon, [data-theme=dark] .language-switcher-dropdown .language-switcher-btn[aria-expanded=true] .language-icon, #header-background.header-background-dark .language-switcher-dropdown .language-switcher-btn[aria-expanded=true] .language-icon {
  opacity: 1;
}
.language-switcher-dropdown .language-dropdown-menu {
  position: fixed;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  z-index: 999999 !important;
  overflow: hidden;
}
.language-switcher-dropdown .language-dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.language-switcher-dropdown .language-dropdown-menu .lang-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  text-decoration: none;
  color: #333;
  transition: background-color 0.2s ease;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 100000;
  cursor: pointer;
}
.language-switcher-dropdown .language-dropdown-menu .lang-dropdown-item:last-child {
  border-bottom: none;
}
.language-switcher-dropdown .language-dropdown-menu .lang-dropdown-item:hover {
  background-color: rgba(0, 0, 0, 0.05);
}
.language-switcher-dropdown .language-dropdown-menu .lang-dropdown-item.active {
  background-color: rgba(30, 144, 255, 0.1);
  color: #1E90FF;
  font-weight: 600;
}
.language-switcher-dropdown .language-dropdown-menu .lang-dropdown-item.active .lang-flag {
  transform: scale(1.1);
}
.language-switcher-dropdown .language-dropdown-menu .lang-dropdown-item .lang-flag {
  font-size: 1.2em;
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
  transition: transform 0.2s ease;
}
.language-switcher-dropdown .language-dropdown-menu .lang-dropdown-item .lang-flag.fi {
  width: 1.2em;
  height: 1.2em;
}
.language-switcher-dropdown .language-dropdown-menu .lang-dropdown-item .lang-name {
  font-size: 0.95em;
  flex: 1;
}
[data-theme=dark] .language-switcher-dropdown .language-dropdown-menu, body.dark-mode .language-switcher-dropdown .language-dropdown-menu {
  background: #344961;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}
[data-theme=dark] .language-switcher-dropdown .language-dropdown-menu .lang-dropdown-item, body.dark-mode .language-switcher-dropdown .language-dropdown-menu .lang-dropdown-item {
  color: white;
  border-bottom-color: rgba(255, 255, 255, 0.1);
}
[data-theme=dark] .language-switcher-dropdown .language-dropdown-menu .lang-dropdown-item:hover, body.dark-mode .language-switcher-dropdown .language-dropdown-menu .lang-dropdown-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
}
[data-theme=dark] .language-switcher-dropdown .language-dropdown-menu .lang-dropdown-item.active, body.dark-mode .language-switcher-dropdown .language-dropdown-menu .lang-dropdown-item.active {
  background-color: rgba(159, 207, 252, 0.2);
  color: #9fcffc;
}
#header-burger {
  width: 60px;
  max-width: 80px;
  height: auto;
  margin: auto;
  cursor: pointer;
}

/* Définition du padding du menu mobile */
#header-menu-mobile {
  padding-top: 30px;
  padding-bottom: 30px;
}

/* Définition du comportement des ul du menu mobile */
#header-menu-mobile ul {
  list-style-type: none;
  padding-left: 0;
}

/* Définition d'une marge haute entre chaque li du menu mobile */
#header-menu-mobile li {
  margin-top: 20px;
}

/* Définition du comportement des liens du menu mobile */
#header-menu-mobile a {
  text-decoration: none;
  font-size: 2rem;
}

/* Encapsulation du switch darkmode et de la recherche en mode mobile dans un bloc avec marge */
#header-switch-search-mobile {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 15px;
}
#header-switch-search-mobile .language-switcher-dropdown,
#header-switch-search-mobile .global-switch,
#header-switch-search-mobile .global-search-mobile {
  display: flex;
  align-items: center;
  justify-content: center;
}
#header-switch-search-mobile .global-search-mobile {
  margin-top: 0;
  margin-bottom: 0;
}

.global-search-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.global-search-btn:hover {
  opacity: 0.8;
}
.global-search-btn:focus {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
  border-radius: 4px;
}

.burger-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.burger-btn:hover {
  opacity: 0.8;
}
.burger-btn:focus {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
  border-radius: 4px;
}

.search-input {
  border-radius: 20px;
  width: 100%;
  border: none;
}

#search-container {
  background: radial-gradient(ellipse at bottom, #87CEFA 0%, #1E90FF 100%);
  padding: 2rem 0;
  border-top: 1px solid #ccc;
  color: white;
}

[data-theme=dark] #search-container,
body.dark-mode #search-container {
  background: radial-gradient(ellipse at bottom, #1B2735 0%, #090A0F 100%);
  border-top-color: rgba(255, 255, 255, 0.1);
}

.search-form {
  position: relative;
}

.search-main-field {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.search-field {
  flex: 1;
  padding: 0.75rem 1.25rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 25px;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.95);
  color: #333;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.search-field:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.8);
  background: white;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}
.search-field::placeholder {
  color: rgba(0, 0, 0, 0.5);
}

[data-theme=dark] .search-field,
body.dark-mode .search-field {
  background: rgba(52, 73, 97, 0.8);
  border-color: rgba(255, 255, 255, 0.2);
  color: white;
}
[data-theme=dark] .search-field:focus,
body.dark-mode .search-field:focus {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(52, 73, 97, 0.95);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}
[data-theme=dark] .search-field::placeholder,
body.dark-mode .search-field::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.search-submit-btn {
  padding: 0.75rem 2rem;
  background: linear-gradient(135deg, #87CEFA 0%, #1E90FF 100%);
  color: white;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.search-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.search-submit-btn:active {
  transform: translateY(0);
}

[data-theme=dark] .search-submit-btn,
body.dark-mode .search-submit-btn {
  background: linear-gradient(135deg, #3b3e52 0%, rgb(37.6595744681, 39.5744680851, 52.3404255319) 100%);
}

.search-advanced-toggle {
  text-align: center;
}

.search-advanced-btn {
  background: none;
  border: none;
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border-radius: 15px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}
.search-advanced-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: white;
}
.search-advanced-btn.active {
  background: rgba(255, 255, 255, 0.2);
}

[data-theme=dark] .search-advanced-btn,
body.dark-mode .search-advanced-btn {
  color: white;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}
[data-theme=dark] .search-advanced-btn:hover,
body.dark-mode .search-advanced-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}
[data-theme=dark] .search-advanced-btn.active,
body.dark-mode .search-advanced-btn.active {
  background: rgba(255, 255, 255, 0.15);
}

.toggle-icon {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

.search-advanced-filters {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

[data-theme=dark] .search-advanced-filters,
body.dark-mode .search-advanced-filters {
  background: rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.1);
}

.search-advanced-filters .form-label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: white;
  font-size: 0.9rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

[data-theme=dark] .search-advanced-filters .form-label,
body.dark-mode .search-advanced-filters .form-label {
  color: white;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.search-advanced-filters .form-control,
.search-advanced-filters .form-select {
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.95);
  color: #333;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.search-advanced-filters .form-control:focus,
.search-advanced-filters .form-select:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.8);
  background: white;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}
.search-advanced-filters .form-control option,
.search-advanced-filters .form-select option {
  background: white;
  color: #333;
}

[data-theme=dark] .search-advanced-filters .form-control,
[data-theme=dark] .search-advanced-filters .form-select,
body.dark-mode .search-advanced-filters .form-control,
body.dark-mode .search-advanced-filters .form-select {
  background: rgba(52, 73, 97, 0.8);
  border-color: rgba(255, 255, 255, 0.2);
  color: white;
}
[data-theme=dark] .search-advanced-filters .form-control:focus,
[data-theme=dark] .search-advanced-filters .form-select:focus,
body.dark-mode .search-advanced-filters .form-control:focus,
body.dark-mode .search-advanced-filters .form-select:focus {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(52, 73, 97, 0.95);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}
[data-theme=dark] .search-advanced-filters .form-control option,
[data-theme=dark] .search-advanced-filters .form-select option,
body.dark-mode .search-advanced-filters .form-control option,
body.dark-mode .search-advanced-filters .form-select option {
  background: #344961;
  color: white;
}

.search-advanced-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}

.search-advanced-actions .btn {
  padding: 0.75rem 2rem;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.search-advanced-actions .btn-primary {
  background: linear-gradient(135deg, #87CEFA 0%, #1E90FF 100%);
  color: white;
}
.search-advanced-actions .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.search-advanced-actions .btn-secondary {
  background: #6c757d;
  color: white;
}
.search-advanced-actions .btn-secondary:hover {
  background: #5a6268;
  transform: translateY(-2px);
}

[data-theme=dark] .search-advanced-actions .btn-primary,
body.dark-mode .search-advanced-actions .btn-primary {
  background: linear-gradient(135deg, #3b3e52 0%, rgb(37.6595744681, 39.5744680851, 52.3404255319) 100%);
}

@media (max-width: 767px) {
  .search-main-field {
    flex-direction: column;
  }
  .search-submit-btn {
    width: 100%;
  }
  .search-advanced-actions {
    flex-direction: column;
  }
  .search-advanced-actions .btn {
    width: 100%;
  }
}
.reading-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: linear-gradient(90deg, #87CEFA, #1E90FF);
  z-index: 9999;
  transition: width 0.1s ease-out;
  box-shadow: 0 2px 4px rgba(30, 144, 255, 0.3);
}
[data-theme=dark] .reading-progress-bar, body.dark-mode .reading-progress-bar {
  background: linear-gradient(90deg, #9fcffc, rgba(30, 144, 255, 0.8));
  box-shadow: 0 2px 4px rgba(159, 207, 252, 0.4);
}

.single-post-section {
  padding: 2rem 0;
}
@media (min-width: 768px) {
  .single-post-section {
    padding: 3rem 0;
  }
}

.single-post-card {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-bottom: 3rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}
[data-theme=dark] .single-post-card, body.dark-mode .single-post-card {
  background-color: #344961;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.single-post-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
[data-theme=dark] .single-post-card:hover, body.dark-mode .single-post-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.single-post-image-wrapper {
  width: 100%;
  overflow: hidden;
}
.single-post-image-wrapper .single-post-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.single-post-card:hover .single-post-image-wrapper .single-post-image {
  transform: scale(1.02);
}

.single-post-card-body {
  padding: 2rem;
}
@media (min-width: 768px) {
  .single-post-card-body {
    padding: 2.5rem;
  }
}
@media (min-width: 992px) {
  .single-post-card-body {
    padding: 3rem;
  }
}

.single-post-header {
  margin-bottom: 2rem;
}

.single-post-meta-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: rgba(0, 0, 0, 0.7);
}
[data-theme=dark] .single-post-meta-top, body.dark-mode .single-post-meta-top {
  color: rgba(255, 255, 255, 0.7);
}
.single-post-meta-top .single-post-category {
  font-weight: 600;
  color: #87CEFA;
}
[data-theme=dark] .single-post-meta-top .single-post-category, body.dark-mode .single-post-meta-top .single-post-category {
  color: #9fcffc;
}
.single-post-meta-top .meta-separator {
  opacity: 0.5;
}
.single-post-meta-top .reading-time {
  font-weight: 500;
}

.single-post-title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: black;
}
[data-theme=dark] .single-post-title, body.dark-mode .single-post-title {
  color: white;
}
@media (min-width: 768px) {
  .single-post-title {
    font-size: 2.5rem;
  }
}
@media (min-width: 992px) {
  .single-post-title {
    font-size: 3rem;
  }
}

.single-post-subtitle {
  font-size: 0.95rem;
  color: rgba(0, 0, 0, 0.6);
}
[data-theme=dark] .single-post-subtitle, body.dark-mode .single-post-subtitle {
  color: rgba(255, 255, 255, 0.6);
}

.single-post-toc-wrapper {
  margin: 2rem 0;
}
.single-post-toc-wrapper .table-of-contents {
  background: rgba(0, 0, 0, 0.02);
  border-left: 4px solid #87CEFA;
  border-radius: 8px;
  padding: 1.5rem;
}
[data-theme=dark] .single-post-toc-wrapper .table-of-contents, body.dark-mode .single-post-toc-wrapper .table-of-contents {
  background: rgba(255, 255, 255, 0.05);
  border-left-color: #9fcffc;
}
.single-post-toc-wrapper .table-of-contents .toc-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: black;
}
[data-theme=dark] .single-post-toc-wrapper .table-of-contents .toc-title, body.dark-mode .single-post-toc-wrapper .table-of-contents .toc-title {
  color: white;
}
.single-post-toc-wrapper .table-of-contents .toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.single-post-toc-wrapper .table-of-contents .toc-list .toc-item {
  margin-bottom: 0.75rem;
}
.single-post-toc-wrapper .table-of-contents .toc-list .toc-item.toc-item-level-1 {
  font-weight: 600;
  font-size: 1.05em;
}
.single-post-toc-wrapper .table-of-contents .toc-list .toc-item.toc-item-level-2 {
  padding-left: 0;
}
.single-post-toc-wrapper .table-of-contents .toc-list .toc-item.toc-item-level-3 {
  padding-left: 1.5rem;
  font-size: 0.95em;
}
.single-post-toc-wrapper .table-of-contents .toc-list .toc-item a {
  color: rgba(0, 0, 0, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}
[data-theme=dark] .single-post-toc-wrapper .table-of-contents .toc-list .toc-item a, body.dark-mode .single-post-toc-wrapper .table-of-contents .toc-list .toc-item a {
  color: rgba(255, 255, 255, 0.7);
}
.single-post-toc-wrapper .table-of-contents .toc-list .toc-item a:hover {
  color: #87CEFA;
  text-decoration: underline;
}
[data-theme=dark] .single-post-toc-wrapper .table-of-contents .toc-list .toc-item a:hover, body.dark-mode .single-post-toc-wrapper .table-of-contents .toc-list .toc-item a:hover {
  color: #9fcffc;
}

.single-post-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(0, 0, 0, 0.85);
}
[data-theme=dark] .single-post-content, body.dark-mode .single-post-content {
  color: rgba(255, 255, 255, 0.9);
}
.single-post-content p {
  margin-bottom: 1.5rem;
}
.single-post-content h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  line-height: 1.3;
  color: black;
}
[data-theme=dark] .single-post-content h2, body.dark-mode .single-post-content h2 {
  color: white;
}
@media (min-width: 768px) {
  .single-post-content h2 {
    font-size: 2rem;
  }
}
.single-post-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
  line-height: 1.4;
  color: black;
}
[data-theme=dark] .single-post-content h3, body.dark-mode .single-post-content h3 {
  color: white;
}
@media (min-width: 768px) {
  .single-post-content h3 {
    font-size: 1.75rem;
  }
}
.single-post-content ul, .single-post-content ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}
.single-post-content ul li, .single-post-content ol li {
  margin-bottom: 0.75rem;
}
.single-post-content a {
  color: #87CEFA;
  text-decoration: underline;
  transition: color 0.2s ease;
}
[data-theme=dark] .single-post-content a, body.dark-mode .single-post-content a {
  color: #9fcffc;
}
.single-post-content a:hover {
  color: #1E90FF;
}
[data-theme=dark] .single-post-content a:hover, body.dark-mode .single-post-content a:hover {
  color: rgb(30, 144, 255);
}
.single-post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 2rem auto;
  display: block;
}
.single-post-content blockquote {
  border-left: 4px solid #87CEFA;
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: rgba(0, 0, 0, 0.7);
}
[data-theme=dark] .single-post-content blockquote, body.dark-mode .single-post-content blockquote {
  border-left-color: #9fcffc;
  color: rgba(255, 255, 255, 0.7);
}
.single-post-content code {
  background: rgba(0, 0, 0, 0.05);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-size: 0.9em;
}
[data-theme=dark] .single-post-content code, body.dark-mode .single-post-content code {
  background: rgba(255, 255, 255, 0.1);
}
.single-post-content pre {
  background: rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  border-radius: 8px;
  overflow-x: auto;
  margin: 2rem 0;
}
[data-theme=dark] .single-post-content pre, body.dark-mode .single-post-content pre {
  background: rgba(255, 255, 255, 0.1);
}

.single-post-footer {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}
[data-theme=dark] .single-post-footer, body.dark-mode .single-post-footer {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.single-post-tags {
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}
.single-post-tags a {
  display: inline-block;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  padding: 0.4rem 0.8rem;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 20px;
  text-decoration: none;
  color: rgba(0, 0, 0, 0.7);
  transition: all 0.2s ease;
}
[data-theme=dark] .single-post-tags a, body.dark-mode .single-post-tags a {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
}
.single-post-tags a:hover {
  background: #87CEFA;
  color: white;
  transform: translateY(-2px);
}
[data-theme=dark] .single-post-tags a:hover, body.dark-mode .single-post-tags a:hover {
  background: #9fcffc;
  color: black;
}

.single-post-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.single-post-actions-left {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.single-post-share {
  position: relative;
}
.single-post-share .share-btn {
  padding: 0.6rem 1.2rem;
  background: linear-gradient(135deg, #87CEFA, #1E90FF);
  color: white;
  border: none;
  border-radius: 25px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}
[data-theme=dark] .single-post-share .share-btn, body.dark-mode .single-post-share .share-btn {
  background: linear-gradient(135deg, #9fcffc, rgba(30, 144, 255, 0.8));
  color: black;
}
.single-post-share .share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(30, 144, 255, 0.3);
}
.single-post-share .share-dropdown {
  position: absolute;
  bottom: 100%;
  right: 0;
  margin-bottom: 0.5rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  padding: 0.5rem 0;
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 100;
}
[data-theme=dark] .single-post-share .share-dropdown, body.dark-mode .single-post-share .share-dropdown {
  background: #344961;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}
[data-theme=dark] .single-post-share .share-dropdown .share-icon, body.dark-mode .single-post-share .share-dropdown .share-icon {
  filter: brightness(0) saturate(100%) invert(1);
}
.single-post-share .share-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.single-post-share .share-dropdown .share-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  color: black;
  transition: background 0.2s ease;
}
[data-theme=dark] .single-post-share .share-dropdown .share-link, body.dark-mode .single-post-share .share-dropdown .share-link {
  color: white;
}
.single-post-share .share-dropdown .share-link:hover {
  background: rgba(0, 0, 0, 0.05);
}
[data-theme=dark] .single-post-share .share-dropdown .share-link:hover, body.dark-mode .single-post-share .share-dropdown .share-link:hover {
  background: rgba(255, 255, 255, 0.1);
}
.single-post-share .share-dropdown .share-link .share-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: block;
  transition: filter 0.3s ease;
  filter: brightness(0) saturate(100%);
}
.single-post-share .share-dropdown .share-link span {
  flex: 1;
}

.single-post-navigation {
  margin-bottom: 3rem;
}
.single-post-navigation .nav-card {
  display: block;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  height: 100%;
}
[data-theme=dark] .single-post-navigation .nav-card, body.dark-mode .single-post-navigation .nav-card {
  background-color: #344961;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.single-post-navigation .nav-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transform: translateY(-4px);
}
[data-theme=dark] .single-post-navigation .nav-card:hover, body.dark-mode .single-post-navigation .nav-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}
.single-post-navigation .nav-card:hover .nav-title {
  color: #87CEFA;
}
[data-theme=dark] .single-post-navigation .nav-card:hover .nav-title, body.dark-mode .single-post-navigation .nav-card:hover .nav-title {
  color: #9fcffc;
}
.single-post-navigation .nav-card .nav-card-body {
  padding: 1.5rem;
}
@media (min-width: 768px) {
  .single-post-navigation .nav-card .nav-card-body {
    padding: 2rem;
  }
}
.single-post-navigation .nav-card .nav-direction {
  display: block;
  font-size: 0.85rem;
  color: rgba(0, 0, 0, 0.6);
  margin-bottom: 0.75rem;
  font-weight: 500;
}
[data-theme=dark] .single-post-navigation .nav-card .nav-direction, body.dark-mode .single-post-navigation .nav-card .nav-direction {
  color: rgba(255, 255, 255, 0.6);
}
.single-post-navigation .nav-card .nav-title {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.4;
  color: black;
  transition: color 0.3s ease;
}
[data-theme=dark] .single-post-navigation .nav-card .nav-title, body.dark-mode .single-post-navigation .nav-card .nav-title {
  color: white;
}
.single-post-navigation .nav-card.nav-next {
  text-align: right;
}

@media (max-width: 767.98px) {
  .single-post-card-body {
    padding: 1.5rem;
  }
  .single-post-title {
    font-size: 1.75rem;
  }
  .single-post-content {
    font-size: 1rem;
  }
  .single-post-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .single-post-share {
    width: 100%;
  }
  .single-post-share .share-btn {
    width: 100%;
  }
  .single-post-share .share-dropdown {
    right: auto;
    left: 0;
    width: 100%;
    bottom: 100%;
    top: auto;
    margin-bottom: 0.5rem;
    margin-top: 0;
  }
}
