/* Base Styles */
:root {
  --primary: #e63946;
  --primary-dark: #c1121f;
  --primary-light: #ff6b7a;
  --dark: #1d1e20;
  --darker: #121212;
  --light: #f8f9fa;
  --gray: #6c757d;
  --dark-gray: #343a40;
  --light-gray: #adb5bd;
  --accent: #4361ee;
  --success: #4cc9f0;
  --border-radius: 12px;
  --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.4);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  background: linear-gradient(135deg, var(--darker) 0%, #1a1a1a 100%);
  background-attachment: fixed;
  color: var(--light);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
header {
  background-color: rgba(29, 30, 32, 0.95);
  backdrop-filter: blur(10px);
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(230, 57, 70, 0.2);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-group {
  display: flex;
  flex-direction: column;
}

.logo {
  color: var(--primary);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
  letter-spacing: -0.5px;
  background: linear-gradient(45deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
  animation: shine 3s linear infinite;
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}

.logo-text {
  color: var(--light-gray);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 1px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 1000;
}

.menu-toggle span {
  width: 28px;
  height: 3px;
  background-color: var(--light);
  margin: 3px 0;
  transition: var(--transition);
  border-radius: 2px;
}

nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

nav a {
  color: var(--light);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 1rem;
  position: relative;
  transition: var(--transition);
  border-radius: var(--border-radius);
  text-decoration: none;
}

nav a:hover,
nav a.active {
  color: var(--primary);
  background-color: rgba(230, 57, 70, 0.1);
}

/* Blog Section */
.blog-container {
  padding: 5rem 0;
  position: relative;
}

.blog-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 300px;
  background: linear-gradient(135deg, rgba(230, 57, 70, 0.1) 0%, transparent 70%);
  z-index: -1;
}

.blog-header {
  text-align: center;
  margin-bottom: 3.5rem;
  position: relative;
  padding: 1rem 0;
}

.blog-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 2px;
}

.section-title {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 2.8rem;
  color: var(--light);
  position: relative;
  font-weight: 800;
  letter-spacing: -0.8px;
  background: linear-gradient(90deg, var(--light) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.blog-subtitle {
  color: var(--light-gray);
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  text-align: center;
  font-weight: 400;
  position: relative;
}

.blog-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
  gap: 1.5rem;
  background: rgba(29, 30, 32, 0.7);
  padding: 1.8rem 2.2rem;
  border-radius: calc(var(--border-radius) * 1.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.blog-controls::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.search-box {
  position: relative;
  flex: 1;
  max-width: 400px;
}

.search-box i {
  position: absolute;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--light-gray);
  font-size: 1.1rem;
  transition: color 0.3s ease;
  z-index: 2;
}

.search-box input {
  width: 100%;
  padding: 1.1rem 1.2rem 1.1rem 3.2rem;
  border-radius: calc(var(--border-radius) * 1.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background-color: rgba(20, 20, 22, 0.8);
  color: var(--light);
  font-family: inherit;
  font-size: 1.05rem;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  position: relative;
}

.search-box input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.25);
}

.search-box input::placeholder {
  color: var(--gray);
}

.filter-dropdown select {
  padding: 1.1rem 2.5rem 1.1rem 1.5rem;
  border-radius: calc(var(--border-radius) * 1.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background-color: rgba(20, 20, 22, 0.8);
  color: var(--light);
  font-family: inherit;
  font-size: 1.05rem;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/Polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1.2rem center;
  background-size: 1.1rem;
  min-width: 180px;
}

.filter-dropdown select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.25);
}

.filter-dropdown select option {
  background-color: var(--dark);
  color: var(--light);
}

/* Flexbox implementation for blog grid */
.blog-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
  padding: 1.5rem 0;
  justify-content: center;
}

.blog-post {
  flex: 1 1 360px;
  max-width: 360px;
  background: linear-gradient(145deg, rgba(30, 30, 32, 0.95) 0%, rgba(20, 20, 22, 0.98) 100%);
  border-radius: calc(var(--border-radius) * 2.5);
  overflow: hidden;
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  min-height: 450px;
  max-height: 450px;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.blog-post::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(230, 57, 70, 0.03) 0%, transparent 40%);
  z-index: 0;
  pointer-events: none;
}

.blog-post:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 15px 40px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(230, 57, 70, 0.2);
  border-color: rgba(230, 57, 70, 0.3);
}

.blog-post:hover::after {
  opacity: 1;
}

.blog-post::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.post-image {
  position: relative;
  height: 200px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.post-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 60%);
  z-index: 1;
  pointer-events: none;
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  transform: scale(1.02);
}

.blog-post:hover .post-image img {
  transform: scale(1.05);
}

.post-category {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  padding: 0.5rem 1.2rem;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 2;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  transform: translateY(0);
}

.post-category.security {
  background: linear-gradient(135deg, #e63946 0%, #c1121f 100%);
  color: white;
}

.post-category.development {
  background: linear-gradient(135deg, #4361ee 0%, #3a56d4 100%);
  color: white;
}

.post-category.tutorials {
  background: linear-gradient(135deg, #4cc9f0 0%, #3fafd6 100%);
  color: white;
}

.blog-post:hover .post-category {
  transform: translateY(-3px);
  box-shadow: 
    0 6px 18px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.2);
}

.post-category.security {
  background: linear-gradient(135deg, #e63946 0%, #c1121f 100%);
  color: white;
}

.post-category.development {
  background: linear-gradient(135deg, #4361ee 0%, #3a56d4 100%);
  color: white;
}

.post-category.tutorials {
  background: linear-gradient(135deg, #4cc9f0 0%, #3fafd6 100%);
  color: white;
}

.post-category.raporlama {
  background: linear-gradient(135deg, #e63946 0%, #c1121f 100%);
  color: white;
}

.blog-post:hover .post-category {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.post-content {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.post-meta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.3rem;
  font-size: 0.9rem;
}

.post-date,
.read-time {
  color: var(--light-gray);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 500;
  position: relative;
}

.post-date::after,
.read-time::after {
  content: '';
  position: absolute;
  right: -0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background-color: var(--primary);
  border-radius: 50%;
}

.read-time::after {
  display: none;
}

.post-date i,
.read-time i {
  color: var(--primary);
  font-size: 1rem;
}

.post-content h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--light);
  font-weight: 800;
  line-height: 1.35;
  transition: all 0.3s ease;
  letter-spacing: -0.3px;
  position: relative;
}

.post-content h3::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 45px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 1px;
}

.blog-post:hover .post-content h3 {
  color: var(--primary-light);
}

.post-excerpt {
  color: var(--light-gray);
  margin-bottom: 1.7rem;
  line-height: 1.65;
  flex: 1;
  font-size: 1rem;
  position: relative;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: auto;
}

.tag {
  background: rgba(230, 57, 70, 0.1);
  color: var(--primary-light);
  padding: 0.4rem 1rem;
  border-radius: 30px;
  font-size: 0.8rem;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  border: 1px solid rgba(230, 57, 70, 0.15);
  font-weight: 500;
}

.tag:hover {
  background: linear-gradient(135deg, rgba(230, 57, 70, 0.25) 0%, rgba(230, 57, 70, 0.35) 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(230, 57, 70, 0.2);
  border-color: rgba(230, 57, 70, 0.3);
}

.tag:hover {
  background: rgba(230, 57, 70, 0.25);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(230, 57, 70, 0.2);
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 3rem;
  padding: 1.5rem 0;
  position: relative;
}

.pagination::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(29, 30, 32, 0.8);
  color: var(--light-gray);
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.page-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.page-link:hover {
  color: white;
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(230, 57, 70, 0.3);
  border-color: rgba(230, 57, 70, 0.2);
}

.page-link:hover::before {
  opacity: 1;
}

.page-link.active {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  box-shadow: 0 6px 18px rgba(230, 57, 70, 0.4);
  border-color: transparent;
  transform: translateY(-4px);
}

/* Footer */
footer {
  background-color: rgba(29, 30, 32, 0.9);
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(5px);
  margin-top: 4rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright {
  color: var(--light-gray);
  font-size: 0.95rem;
}

.social-links {
  display: flex;
  gap: 1.8rem;
}

.social-links a {
  color: var(--light-gray);
  font-size: 1.3rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
}

.social-links a:hover {
  color: var(--primary);
  background-color: rgba(230, 57, 70, 0.15);
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width: 992px) {
  :root {
    --border-radius: 12px;
  }
  
  .logo {
    font-size: 2.1rem;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
  
  .blog-controls {
    flex-direction: column;
    align-items: stretch;
  }
  
  .search-box {
    max-width: 100%;
  }
  
  .blog-grid {
    gap: 2.2rem;
  }
  
  .blog-post {
    flex: 1 1 340px;
    max-width: 340px;
  }
  
  .post-image {
    height: 190px;
  }
  
  .blog-post {
    min-height: 430px;
    max-height: 430px;
  }
  
  .filter-dropdown select {
    min-width: auto;
  }
}

@media (max-width: 768px) {
  :root {
    --border-radius: 10px;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .header-content {
    flex-direction: row;
    gap: 1.5rem;
  }
  
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: rgba(25, 25, 27, 0.98);
    backdrop-filter: blur(15px);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 999;
    box-shadow: -8px 0 25px rgba(0, 0, 0, 0.3);
  }
  
  nav.active {
    right: 0;
  }
  
  nav ul {
    flex-direction: column;
    gap: 0;
    padding: 80px 0 0 0;
    height: 100%;
    align-items: stretch;
  }
  
  nav li {
    width: 100%;
  }
  
  nav a {
    padding: 1.3rem 2.2rem;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 1.1rem;
    gap: 1.1rem;
  }
  
  .language-switch {
    margin: 1rem 2rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    justify-content: center;
    flex-direction: column-reverse;
  }
  
  .switch-container {
    justify-content: center;
    flex-direction: column-reverse;
  }
  
  nav a:hover,
  nav a.active {
    background-color: rgba(230, 57, 70, 0.12);
  }
  
  .blog-container {
    padding: 3.5rem 0;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .blog-subtitle {
    font-size: 1.1rem;
  }
  
  .blog-grid {
    flex-direction: column;
    align-items: center;
  }
  
  .blog-post {
    max-width: 100%;
    width: 100%;
  }
  
  .post-image {
    height: 200px;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 1.8rem;
  }
  
  .post-meta {
    flex-direction: column;
    gap: 1rem;
  }
  
  .pagination {
    flex-wrap: wrap;
    gap: 0.6rem;
  }
  
  .page-link {
    width: 40px;
    height: 40px;
  }
  
  .blog-post {
    min-height: 390px;
    max-height: 390px;
  }
  
  .blog-controls {
    padding: 1.5rem;
  }
  
  /* Hamburger menu animation */
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}

@media (max-width: 576px) {
  :root {
    --border-radius: 8px;
  }
  
  .container {
    width: 95%;
    padding: 0 15px;
  }
  
  .blog-container {
    padding: 2.8rem 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .blog-subtitle {
    font-size: 1rem;
  }
  
  .logo {
    font-size: 1.9rem;
  }
  
  nav {
    width: 100%;
  }
  
  nav ul {
    padding: 70px 0 0 0;
  }
  
  nav a {
    padding: 1.1rem 1.7rem;
    font-size: 1.05rem;
    gap: 0.9rem;
  }
  
  .post-content {
    padding: 1.7rem;
  }
  
  .post-content h3 {
    font-size: 1.3rem;
  }
  
  .post-excerpt {
    font-size: 0.95rem;
  }
  
  .post-image {
    height: 190px;
  }
  
  .search-box input,
  .filter-dropdown select {
    padding: 1rem 1rem 1rem 2.8rem;
    font-size: 1rem;
  }
  
  .blog-controls {
    padding: 1.3rem;
  }
  
  .tag {
    padding: 0.3rem 0.9rem;
    font-size: 0.75rem;
  }
  
  .blog-post {
    min-height: 420px;
    max-height: 420px;
  }
  
  .page-link {
    width: 38px;
    height: 38px;
  }
}

/* Global link styles to ensure no underline */
a[href] {
  text-decoration: none;
}

a:hover,
a:active,
a:focus {
  text-decoration: none;


/* Blog Post Detail Styles */
.blog-post-detail {
  background: linear-gradient(145deg, rgba(30, 30, 32, 0.95) 0%, rgba(20, 20, 22, 0.98) 100%);
  border-radius: calc(var(--border-radius) * 2.5);
  overflow: hidden;
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 3rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.post-header {
  position: relative;
}

.post-title {
  font-size: 2.5rem;
  margin: 1.5rem 0;
  color: var(--light);
  font-weight: 800;
  line-height: 1.3;
  padding: 0 2rem;
  letter-spacing: -0.5px;
  text-align: center;
  background: linear-gradient(90deg, var(--light) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.post-content-detail {
  padding: 0 2.5rem 2.5rem;
  position: relative;
  z-index: 1;
  color: var(--light-gray);
  line-height: 1.8;
}

.post-content-detail h2 {
  font-size: 2rem;
  margin: 2.5rem 0 1.5rem;
  color: var(--light);
  font-weight: 700;
  position: relative;
  padding-bottom: 1rem;
  letter-spacing: -0.3px;
  text-align: center;
}

.post-content-detail h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 2px;
}

.post-content-detail h3 {
  font-size: 1.6rem;
  margin: 2rem 0 1.2rem;
  color: var(--light);
  font-weight: 600;
  letter-spacing: -0.2px;
  text-align: center;
}

.post-content-detail p {
  margin-bottom: 1.8rem;
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.post-content-detail ul,
.post-content-detail ol {
  margin: 1.5rem auto;
  padding-left: 1.5rem;
  max-width: 700px;
  text-align: left;
}

.post-content-detail li {
  margin-bottom: 1rem;
  line-height: 1.7;
  font-size: 1.05rem;
}

.post-content-detail ul li {
  list-style-type: disc;
}

.post-content-detail ol li {
  list-style-type: decimal;
}

.post-content-detail blockquote {
  border-left: 5px solid var(--primary);
  padding: 1.5rem 2rem;
  margin: 2.5rem auto;
  background: rgba(230, 57, 70, 0.08);
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  font-style: italic;
  color: var(--light);
  max-width: 85%;
  text-align: center;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.post-content-detail blockquote::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 20px;
  width: 30px;
  height: 30px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0.2;
}

.post-content-detail blockquote::after {
  content: """";
  position: absolute;
  top: -15px;
  left: 30px;
  font-size: 2rem;
  color: var(--primary-light);
  font-family: Georgia, serif;
}

.post-content-detail blockquote p {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 500;
}

.code-block {
  background: rgba(20, 20, 22, 0.9);
  border-radius: var(--border-radius);
  padding: 1.8rem;
  margin: 2rem auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow-x: auto;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  max-width: 90%;
  text-align: left;
  position: relative;
}

.code-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 30px;
  background: linear-gradient(to right, rgba(230, 57, 70, 0.3) 0%, transparent 100%);
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  opacity: 0.5;
}

.code-block pre {
  margin: 0;
  font-family: "Fira Code", "Consolas", monospace;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--light);
}

.code-block code {
  color: var(--light);
}

.post-navigation {
  display: flex;
  justify-content: space-between;
  padding: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--primary-light);
  font-weight: 500;
  transition: var(--transition);
  padding: 1rem 1.5rem;
  border-radius: var(--border-radius);
  background: rgba(230, 57, 70, 0.05);
  border: 1px solid rgba(230, 57, 70, 0.1);
  text-decoration: none;
}

.nav-link:hover {
  background: linear-gradient(135deg, rgba(230, 57, 70, 0.2) 0%, rgba(230, 57, 70, 0.3) 100%);
  transform: translateY(-3px);
  color: var(--primary);
  box-shadow: 0 5px 15px rgba(230, 57, 70, 0.2);
}

.nav-link.prev {
  margin-right: auto;
}

.nav-link.next {
  margin-left: auto;
}

.nav-link i {
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .post-title {
    font-size: 2rem;
    padding: 0 1.5rem;
  }
  
  .post-content-detail {
    padding: 0 1.5rem 1.5rem;
  }
  
  .post-content-detail h2 {
    font-size: 1.7rem;
  }
  
  .post-content-detail h3 {
    font-size: 1.4rem;
  }
  
  .post-content-detail p {
    font-size: 1.05rem;
  }
  
  .code-block {
    padding: 1.2rem;
    max-width: 100%;
  }
  
  .code-block pre {
    font-size: 0.9rem;
  }
  
  .post-navigation {
    flex-direction: column;
    gap: 1.2rem;
    padding: 1.5rem;
  }
  
  .nav-link.prev,
  .nav-link.next {
    margin: 0;
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .post-title {
    font-size: 1.8rem;
    padding: 0 1rem;
  }
  
  .post-content-detail {
    padding: 0 1rem 1rem;
  }
  
  .post-content-detail h2 {
    font-size: 1.5rem;
  }
  
  .post-content-detail h3 {
    font-size: 1.3rem;
  }
  
  .post-content-detail p {
    font-size: 1rem;
  }
  
  .post-content-detail ul,
  .post-content-detail ol {
    margin-left: 1rem;
  }
  
  .code-block {
    padding: 1rem;
  }
  
  .code-block pre {
    font-size: 0.85rem;
  }
  
  .post-content-detail blockquote {
    padding: 1.2rem 1.5rem;
    max-width: 95%;
  }
  
  .post-content-detail blockquote p {
    font-size: 1.1rem;
  }
}
