/* =================================================================
   BLOG PAGE SPECIFIC STYLES
   Unique styles only - shared styles in shared.css
   ================================================================= */

/* ===== Blog Search Bar - Neon Theme ===== */
.blog-search-container {
  max-width: 700px;
  margin: 0 auto 40px;
  padding: 0 20px;
}

.search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.blog-search-input {
  width: 100%;
  padding: 16px 55px 16px 50px;
  border: 2px solid var(--color-border);
  border-radius: 12px;
  font-family: 'Merienda', cursive;
  font-size: 1rem;
  color: var(--color-text-primary);
  background: var(--color-bg-alt);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
}

.blog-search-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 20px rgba(17, 153, 158, 0.3), 0 0 40px rgba(17, 153, 158, 0.1);
  background: var(--color-bg-card);
  transform: translateY(-2px);
}

.blog-search-input::placeholder {
  color: var(--color-text-tertiary);
  font-style: italic;
}

.search-icon {
  position: absolute;
  left: 18px;
  font-size: 1.4rem;
  color: var(--color-text-tertiary);
  pointer-events: none;
  transition: all 0.3s ease;
}

.blog-search-input:focus ~ .search-icon,
.search-wrapper:focus-within .search-icon {
  color: var(--color-primary);
  transform: scale(1.1);
}

.search-shortcut {
  position: absolute;
  right: 55px;
  padding: 5px 10px;
  font-size: 0.7rem;
  font-weight: 600;
  font-family: 'Fira Code', monospace;
  color: var(--color-text-tertiary);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  pointer-events: none;
  transition: all 0.3s ease;
}

.blog-search-input:focus ~ .search-shortcut {
  opacity: 0;
  transform: scale(0.9);
}

.search-clear-btn {
  position: absolute;
  right: 12px;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  color: var(--color-text-tertiary);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.search-clear-btn:hover {
  color: #ff6b6b;
  background: rgba(255, 107, 107, 0.1);
  transform: scale(1.05) rotate(90deg);
}

.search-clear-btn:active {
  transform: scale(0.95) rotate(90deg);
}

.search-clear-btn i {
  font-size: 1.5rem;
}

.search-results-count {
  text-align: center;
  margin-top: 16px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  letter-spacing: 0.3px;
}

.search-results-count .highlight {
  color: var(--color-primary);
  font-weight: 700;
  padding: 2px 6px;
  background: rgba(17, 153, 158, 0.1);
  border-radius: 4px;
}

/* No results state */
.no-results {
  text-align: center;
  padding: 80px 20px;
  animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.no-results i {
  font-size: 5rem;
  color: var(--color-border);
  margin-bottom: 24px;
  opacity: 0.4;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.05); }
}

.no-results h3 {
  font-size: 1.6rem;
  color: var(--color-text-primary);
  margin-bottom: 12px;
  font-weight: 600;
}

.no-results p {
  color: var(--color-text-secondary);
  font-size: 1rem;
}

/* Error and loading states */
.error-message {
  text-align: center;
  padding: 60px 20px;
  color: #ff6b6b;
  font-size: 1.1rem;
  background: rgba(255, 107, 107, 0.05);
  border: 2px dashed rgba(255, 107, 107, 0.3);
  border-radius: 12px;
  margin: 40px auto;
  max-width: 600px;
}

.loading-state {
  text-align: center;
  padding: 100px 20px;
  color: var(--color-text-secondary);
}

.loading-state .spinner {
  width: 50px;
  height: 50px;
  margin: 0 auto 20px;
  border: 4px solid var(--color-border);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-state p {
  font-size: 1.1rem;
  color: var(--color-text-tertiary);
}

/* ===== Blog Post List ===== */
.post-list {
  display: grid;
  gap: 32px;
  padding: 20px 0;
}

/* ===== Modern Horizontal Blog Card Layout ===== */
.blog-card--horizontal {
  position: relative;
  display: flex;
  gap: 0;
  padding: 0;
  overflow: hidden;
  min-height: 240px;
  border-radius: 16px;
  background: #ffffff;
  border: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card--horizontal:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(17, 153, 158, 0.15);
}

.blog-card__image-wrapper {
  flex: 0 0 320px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #e4f9f5 0%, #b3e0dc 100%);
}

.blog-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
}

.blog-card--horizontal:hover .blog-card__image {
  transform: scale(1.1) rotate(1deg);
  opacity: 0.95;
}

.blog-card__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 32px;
  position: relative;
  background: #ffffff;
}

.blog-card__header {
  margin-bottom: 16px;
}

.blog-card__title {
  font-size: 1.75rem;
  color: #11999e;
  margin: 0 0 12px 0;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: color 0.3s ease;
}

.blog-card--horizontal:hover .blog-card__title {
  color: #0d7a7e;
}

.blog-card__meta {
  display: flex;
  gap: 16px;
  font-family: 'Fira Code', monospace;
  font-size: 0.8rem;
  color: #8892b0;
  font-weight: 500;
}

.blog-card__meta .meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 0;
}

.blog-card__meta .meta-item i {
  font-size: 1rem;
  opacity: 0.7;
}

.blog-card__body {
  flex: 1;
  margin-bottom: 20px;
}

.blog-card__excerpt {
  font-size: 1rem;
  line-height: 1.7;
  color: #5c706f;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-weight: 400;
}

.blog-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding-top: 16px;
  border-top: 1px solid rgba(17, 153, 158, 0.1);
}

.blog-card__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  flex: 1;
}

.blog-card__tags .tag {
  font-size: 0.75rem;
  padding: 6px 14px;
  background-color: rgba(17, 153, 158, 0.08);
  color: #11999e;
  border-radius: 20px;
  font-weight: 600;
  transition: all 0.25s ease;
  border: 1px solid rgba(17, 153, 158, 0.15);
  letter-spacing: 0.02em;
}

.blog-card__tags .tag:hover {
  background-color: #11999e;
  color: #ffffff;
  border-color: #11999e;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(17, 153, 158, 0.25);
}

/* ===== Clickable Overlay ===== */
.blog-card__link {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  cursor: pointer;
}

/* ===== Featured Badge ===== */
.featured-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 24px;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
  backdrop-filter: blur(10px);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
  }
  50% {
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
  }
}

/* ===== Like Button Component ===== */
.like-button {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #ffffff 0%, #fff5f5 100%);
  border: 2px solid rgba(255, 107, 107, 0.2);
  border-radius: 28px;
  padding: 10px 18px;
  font-family: 'Merienda', cursive;
  font-weight: 700;
  font-size: 0.9rem;
  color: #5c706f;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.like-button:hover {
  border-color: rgba(255, 107, 107, 0.4);
  background: linear-gradient(135deg, #fff5f5 0%, #ffe5e5 100%);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(255, 107, 107, 0.25);
}

.like-button__icon {
  font-size: 1.4rem;
  transition: all 0.3s ease;
  color: #ff6b6b;
}

.like-button__count {
  font-size: 0.9rem;
  min-width: 24px;
  text-align: center;
  font-weight: 700;
}

.like-button--liked {
  border-color: rgba(255, 107, 107, 0.3);
  background: linear-gradient(135deg, #fff5f5 0%, #ffe5e5 100%);
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.2);
}

.like-button--liked .like-button__icon {
  color: #ff6b6b;
}

.like-button--liked .like-button__count {
  color: #ff6b6b;
}

.like-button--liked:hover {
  background: linear-gradient(135deg, #ffe5e5 0%, #ffd5d5 100%);
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.3);
  transform: translateY(-3px) scale(1.05);
}

@keyframes heartBeat {
  0% { transform: scale(1); }
  15% { transform: scale(1.4); }
  30% { transform: scale(1.1); }
  45% { transform: scale(1.35); }
  60% { transform: scale(1.15); }
  75% { transform: scale(1.25); }
  100% { transform: scale(1); }
}

.like-button--animating .like-button__icon {
  animation: heartBeat 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Loading/Error States ===== */
.loading-state,
.error-state {
  text-align: center;
  padding: 60px 20px;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid #e4f9f5;
  border-top-color: #11999e;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.error-state i {
  font-size: 4rem;
  color: #ff6b6b;
  margin-bottom: 20px;
}

.error-state h3 {
  color: #ff6b6b;
  margin-bottom: 15px;
}

.no-posts-message {
  text-align: center;
  font-size: 1.2rem;
  color: #8892b0;
  padding: 60px 20px;
}

/* ===== Reading Progress Bar ===== */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #11999e 0%, #30e3cb 100%);
  z-index: 9999;
  transition: width 0.1s ease-out;
  box-shadow: 0 0 10px rgba(17, 153, 158, 0.5);
}

/* ===== Share Button & Toast ===== */
.share-post-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  margin: 30px 0;
  border: 2px solid var(--color-primary);
  border-radius: 50px;
  background: transparent;
  color: var(--color-primary);
  font-family: 'Merienda', cursive;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.share-post-btn:hover {
  background: var(--color-primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(17, 153, 158, 0.3);
}

.share-post-btn i {
  font-size: 1.3rem;
}

.toast-notification {
  position: fixed;
  bottom: 30px;
  right: 30px;
  padding: 16px 24px;
  background: var(--color-primary);
  color: white;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  font-family: 'Merienda', cursive;
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10000;
  animation: slideInUp 0.4s ease, fadeOut 0.4s ease 2.6s forwards;
}

.toast-notification i {
  font-size: 1.5rem;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeOut {
  to {
    opacity: 0;
    transform: translateY(20px);
  }
}

/* ===== Single Post View ===== */
body.single-post-view .dev-header,
body.single-post-view .dev-nav,
body.single-post-view .dev-footer {
  display: none;
}

.single-post__back-btn {
  position: fixed;
  top: 30px;
  left: 30px;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #ffffff;
  border: 2px solid #11999e;
  border-radius: 25px;
  padding: 10px 20px;
  color: #11999e;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.single-post__back-btn:hover {
  background-color: #11999e;
  color: #ffffff;
  transform: translateX(-5px);
}

.single-post {
  max-width: 850px;
  margin: 0 auto;
  padding: 80px 20px;
}

.single-post__hero {
  text-align: center;
  margin-bottom: 60px;
}

.post-category {
  display: inline-block;
  background-color: #e4f9f5;
  color: #11999e;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 15px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.post-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: #11999e;
  margin: 20px 0;
  line-height: 1.2;
}

.single-post__content {
  font-size: 1.1rem;
  line-height: 1.9;
}

.single-post__content p {
  font-size: 1.2rem;
  line-height: 1.9;
  margin-bottom: 25px;
}

.single-post__content h3 {
  font-size: 1.8rem;
  color: #11999e;
  margin-top: 40px;
}

.single-post__content h4 {
  font-size: 1.4rem;
  color: #3d4a49;
  margin-top: 30px;
}

pre {
  background-color: #eaf2f1;
  border: 1px solid #dce5e4;
  border-radius: 8px;
  padding: 20px;
  overflow-x: auto;
}

code {
  font-family: 'Fira Code', monospace;
  font-size: 1rem;
  color: #3d4a49;
}

.post-footer {
  text-align: center;
  margin-top: 80px;
}

/* ===== Navigation Between Posts ===== */
.nav-posts {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}

.nav-post {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  background-color: #ffffff;
  border: 1px solid #dce5e4;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.nav-post:hover {
  border-color: #11999e;
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(17, 153, 158, 0.15);
}

.nav-label {
  font-size: 0.85rem;
  color: #5c706f;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-title {
  font-size: 1.1rem;
  color: #11999e;
  font-weight: 700;
}

.nav-post-next {
  text-align: right;
}

/* =================================================================
   DARK MODE OVERRIDES
   ================================================================= */

/* Search bar dark mode - Neon Enhancement */
body:not(.light-mode) .blog-search-input {
  background: rgba(10, 14, 39, 0.6);
  border-color: rgba(100, 255, 218, 0.2);
  color: #e0e6ed;
  backdrop-filter: blur(10px);
}

body:not(.light-mode) .blog-search-input:focus {
  border-color: #64ffda;
  box-shadow: 0 0 30px rgba(100, 255, 218, 0.4), 
              0 0 60px rgba(100, 255, 218, 0.2),
              inset 0 0 20px rgba(100, 255, 218, 0.05);
  background: rgba(10, 14, 39, 0.8);
  border-width: 2px;
}

body:not(.light-mode) .blog-search-input::placeholder {
  color: #4a6382;
  font-weight: 300;
}

body:not(.light-mode) .search-icon {
  color: #4a6382;
}

body:not(.light-mode) .blog-search-input:focus ~ .search-icon,
body:not(.light-mode) .search-wrapper:focus-within .search-icon {
  color: #64ffda;
  filter: drop-shadow(0 0 8px rgba(100, 255, 218, 0.8));
}

body:not(.light-mode) .search-shortcut {
  background: rgba(100, 255, 218, 0.1);
  color: #64ffda;
  border-color: rgba(100, 255, 218, 0.3);
  box-shadow: 0 0 10px rgba(100, 255, 218, 0.2);
}

body:not(.light-mode) .search-clear-btn {
  color: #4a6382;
}

body:not(.light-mode) .search-clear-btn:hover {
  background: rgba(255, 107, 107, 0.15);
  color: #ff6b6b;
}

body:not(.light-mode) .search-results-count {
  color: #a8b2d1;
}

body:not(.light-mode) .search-results-count .highlight {
  color: #64ffda;
  background: rgba(100, 255, 218, 0.1);
  text-shadow: 0 0 15px rgba(100, 255, 218, 0.6);
  box-shadow: 0 0 20px rgba(100, 255, 218, 0.3);
}

body:not(.light-mode) .no-results i {
  color: rgba(100, 255, 218, 0.3);
}

body:not(.light-mode) .no-results h3 {
  color: #ccd6f6;
}

body:not(.light-mode) .no-results p {
  color: #a8b2d1;
}

body:not(.light-mode) .error-message {
  color: #ff6b6b;
  background: rgba(255, 107, 107, 0.1);
  border-color: rgba(255, 107, 107, 0.4);
}

body:not(.light-mode) .loading-state {
  color: #a8b2d1;
}

body:not(.light-mode) .loading-state .spinner {
  border-color: rgba(100, 255, 218, 0.2);
  border-top-color: #64ffda;
  box-shadow: 0 0 20px rgba(100, 255, 218, 0.3);
}

body:not(.light-mode) .reading-progress {
  background: linear-gradient(90deg, #64ffda 0%, #00ffff 50%, #ff00ff 100%);
  box-shadow: 0 0 15px rgba(100, 255, 218, 0.8), 0 0 30px rgba(100, 255, 218, 0.4);
}

body:not(.light-mode) .share-post-btn {
  border-color: #64ffda;
  color: #64ffda;
}

body:not(.light-mode) .share-post-btn:hover {
  background: #64ffda;
  color: #0a192f;
  box-shadow: 0 0 30px rgba(100, 255, 218, 0.6);
}

body:not(.light-mode) .toast-notification {
  background: linear-gradient(135deg, #64ffda 0%, #00ffff 100%);
  color: #0a192f;
  box-shadow: 0 0 30px rgba(100, 255, 218, 0.5);
}

body:not(.light-mode) .blog-card--horizontal {
  background: linear-gradient(135deg, rgba(17, 34, 64, 0.95) 0%, rgba(19, 47, 76, 0.95) 100%);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(100, 255, 218, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

body:not(.light-mode) .blog-card--horizontal:hover {
  border-color: rgba(100, 255, 218, 0.3);
  box-shadow: 0 12px 40px rgba(100, 255, 218, 0.15);
  transform: translateY(-8px);
}

body:not(.light-mode) .blog-card__content {
  background: transparent;
}

body:not(.light-mode) .blog-card__image-wrapper {
  background: linear-gradient(135deg, rgba(17, 34, 64, 0.8) 0%, rgba(19, 47, 76, 0.8) 100%);
}

body:not(.light-mode) .blog-card__title {
  color: #ccd6f6;
  font-weight: 700;
}

body:not(.light-mode) .blog-card--horizontal:hover .blog-card__title {
  color: #64ffda;
}

body:not(.light-mode) .blog-card__meta {
  color: #8892b0;
}

body:not(.light-mode) .blog-card__excerpt {
  color: #a8b2d1;
}

body:not(.light-mode) .blog-card__footer {
  border-top-color: rgba(100, 255, 218, 0.1);
}

body:not(.light-mode) .blog-card__tags .tag {
  background-color: rgba(100, 255, 218, 0.1);
  color: #64ffda;
  border-color: rgba(100, 255, 218, 0.2);
}

body:not(.light-mode) .blog-card__tags .tag:hover {
  background-color: #64ffda;
  color: #0a192f;
  box-shadow: 0 4px 12px rgba(100, 255, 218, 0.3);
}

body:not(.light-mode) .like-button {
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.15) 0%, rgba(255, 182, 193, 0.15) 100%);
  border-color: rgba(255, 107, 107, 0.5);
  color: #ffb6c1;
  box-shadow: 0 2px 8px rgba(255, 107, 107, 0.2);
}

body:not(.light-mode) .like-button__icon {
  color: #ff6b6b;
}

body:not(.light-mode) .like-button:hover {
  border-color: rgba(255, 107, 107, 0.7);
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.25) 0%, rgba(255, 182, 193, 0.25) 100%);
  box-shadow: 0 6px 16px rgba(255, 107, 107, 0.4);
}

body:not(.light-mode) .like-button--liked {
  border-color: rgba(255, 107, 107, 0.8);
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.35) 0%, rgba(255, 182, 193, 0.35) 100%);
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.5);
}

body:not(.light-mode) .like-button--liked:hover {
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.45) 0%, rgba(255, 182, 193, 0.45) 100%);
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.6);
}

body:not(.light-mode) .spinner {
  border-color: #132f4c;
  border-top-color: #64ffda;
}

body:not(.light-mode) .single-post__back-btn {
  background-color: #0a192f;
  border-color: #64ffda;
  color: #64ffda;
}

body:not(.light-mode) .single-post__back-btn:hover {
  background-color: #64ffda;
  color: #0a192f;
}

body:not(.light-mode) .post-category {
  background-color: rgba(100, 255, 218, 0.1);
  color: #64ffda;
}

body:not(.light-mode) .post-title {
  color: #ccd6f6;
}

body:not(.light-mode) .single-post__content h3 {
  color: #64ffda;
}

body:not(.light-mode) .single-post__content h4 {
  color: #ccd6f6;
}

body:not(.light-mode) pre {
  background-color: #011627;
  border: 1px solid #132f4c;
  box-shadow: 0 5px 15px rgba(2, 12, 27, 0.5);
}

body:not(.light-mode) code {
  color: #d6deeb;
}

body:not(.light-mode) .nav-post {
  background-color: #112240;
  border-color: #132f4c;
}

body:not(.light-mode) .nav-post:hover {
  border-color: #64ffda;
  box-shadow: 0 10px 30px rgba(100, 255, 218, 0.1);
}

body:not(.light-mode) .nav-label {
  color: #8892b0;
}

body:not(.light-mode) .nav-title {
  color: #64ffda;
}

/* =================================================================
   RESPONSIVE STYLES
   ================================================================= */
@media (max-width: 900px) {
  .blog-card--horizontal {
    flex-direction: column;
    min-height: auto;
  }
  
  .blog-card__image-wrapper {
    flex: 0 0 200px;
    width: 100%;
  }
  
  .blog-card__content {
    padding: 20px;
  }
  
  .nav-posts {
    flex-direction: column;
  }
}

@media (max-width: 767px) {
  .blog-card__title {
    font-size: 1.4rem;
  }
  
  .blog-card__footer {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .single-post__back-btn {
    top: 15px;
    left: 15px;
    padding: 8px 16px;
    font-size: 0.9rem;
  }
  
  .single-post__content p {
    font-size: 1.1rem;
  }
}
