

/* Blog Page Styles - Gold/Black Theme */
.blog-area {
  padding: 80px 0 60px 0;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #232526 100%);
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  color: #ffffff;
}

.blog-area::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="blog-pattern" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="rgba(255,215,0,0.1)"/><circle cx="80" cy="80" r="1" fill="rgba(255,165,0,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,215,0,0.1)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,165,0,0.1)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,215,0,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23blog-pattern)"/></svg>');
  opacity: 0.3;
}

.blog-area::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.blog-header {
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.blog-header::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #FFD700, #FFA500);
  border-radius: 2px;
}

.blog-title {
  background: linear-gradient(90deg, #FFD700, #FFA500);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 20px;
  text-shadow: none;
  position: relative;
  display: inline-block;
}

.blog-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 3px;
  background: linear-gradient(90deg, #FFD700, #FFA500);
  border-radius: 2px;
}

.blog-desc {
  color: #e0e0e0;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.blog-categories {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 60px;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.blog-categories::before {
  content: '';
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, #FFD700, #FFA500);
  border-radius: 1px;
}

.blog-categories a {
  background: rgba(255, 255, 255, 0.1);
  color: #e0e0e0;
  padding: 15px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 215, 0, 0.3);
  backdrop-filter: blur(15px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.blog-categories a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s ease;
}

.blog-categories a:hover,
.blog-categories a.active {
  background: linear-gradient(90deg, #FFD700, #FFA500);
  color: #000000;
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(255, 215, 0, 0.4);
  border-color: rgba(255, 215, 0, 0.8);
}

.blog-categories a:hover::before,
.blog-categories a.active::before {
  left: 100%;
}

.blog-posts {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 35px;
  position: relative;
  z-index: 1;
}

.blog-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  transition: all 0.4s ease;
  position: relative;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.blog-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #FFD700, #FFA500);
  z-index: 1;
}

.blog-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 50px rgba(255, 215, 0, 0.2);
  border-color: rgba(255, 215, 0, 0.5);
}

.blog-card-img {
  display: block;
  width: 100%;
  height: 350px;
  overflow: hidden;
  position: relative;
}

.blog-card-img::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 165, 0, 0.2) 100%);
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.blog-card:hover .blog-card-img::before {
  opacity: 1;
}

.blog-card-content {
  padding: 30px;
  position: relative;
}

.blog-card-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 30px;
  right: 30px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.3), transparent);
}

.blog-card-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  font-size: 0.95rem;
  flex-wrap: wrap;
  align-items: center;
  padding: 12px 18px;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.05) 0%, rgba(255, 165, 0, 0.05) 100%);
  border-radius: 15px;
  border-left: 3px solid #FFD700;
}

.blog-card-date {
  color: #FFD700;
  font-weight: 600;
}

.blog-card-category {
  background: linear-gradient(90deg, #FFD700, #FFA500);
  color: #000000;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.blog-card-title {
  margin-bottom: 15px;
  line-height: 0.7;
}

.blog-card-title a {
  color: #ffffff;
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 700;
  transition: color 0.3s ease;
}

.blog-card-title a:hover {
  color: #FFD700;
}

.blog-card-excerpt {
  color: #b0b0b0;
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.blog-card-btn {
  display: inline-block;
  background: linear-gradient(90deg, #FFD700, #FFA500);
  color: #000000;
  padding: 15px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.blog-card-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.blog-card-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(255, 215, 0, 0.4);
  color: #000000;
}

.blog-card-btn:hover::before {
  left: 100%;
}

.blog-pagination {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 50px;
}

.blog-pagination .page-numbers {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  color: #e0e0e0;
  padding: 12px 18px;
  margin: 0 5px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current {
  background: linear-gradient(90deg, #FFD700, #FFA500);
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

/* Single Blog Post Styles - Gold/Black Theme */
.single-blog-post {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #232526 100%);
  min-height: 100vh;
  padding: 80px 0;
  position: relative;
  color: #ffffff;
  overflow: hidden;
}

.single-blog-post::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(255, 215, 0, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 165, 0, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(255, 215, 0, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.single-blog-post::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,215,0,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,165,0,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,215,0,0.1)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,165,0,0.1)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,215,0,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.single-blog-container {
  max-width: 1000px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  position: relative;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 215, 0, 0.2);
  z-index: 1;
}

.single-blog-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #FFD700, #FFA500);
  z-index: 2;
}

.single-blog-hero {
  width: 100%;
  height: 500px;
  overflow: hidden;
  position: relative;
  border-radius: 0 0 20px 20px;
}

.single-blog-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  z-index: 1;
}

.single-blog-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 165, 0, 0.2) 100%);
  opacity: 0.6;
  z-index: 1;
}

.single-blog-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 0;
  transition: transform 0.5s ease;
}

.single-blog-hero:hover .single-blog-image {
  transform: scale(1.1);
}

/* Hero overlay content */
.single-blog-hero-content {
  position: absolute;
  bottom: 30px;
  left: 30px;
  right: 30px;
  z-index: 2;
  color: #ffffff;
}

.single-blog-hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 15px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
  line-height: 1.2;
}

.single-blog-hero-meta {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.single-blog-hero-date {
  color: #FFD700;
  font-weight: 600;
  font-size: 1.1rem;
}

.single-blog-hero-author {
  color: #e0e0e0;
  font-size: 1rem;
}

.single-blog-hero-category {
  background: linear-gradient(90deg, #FFD700, #FFA500);
  color: #000000;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.single-blog-content {
  padding: 60px;
  position: relative;
  background: rgba(255, 255, 255, 0.02);
}

.single-blog-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #FFD700, #FFA500);
  border-radius: 2px;
}

/* Reading progress bar */
.single-blog-post::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: var(--scroll-progress, 0%);
  height: 4px;
  background: linear-gradient(90deg, #FFD700, #FFA500);
  z-index: 1000;
  transition: width 0.1s ease;
}

.single-blog-header {
  margin-bottom: 40px;
  text-align: center;
  padding: 30px 0;
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.single-blog-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
  font-size: 0.95rem;
  flex-wrap: wrap;
  align-items: center;
  padding: 15px 20px;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.05) 0%, rgba(255, 165, 0, 0.05) 100%);
  border-radius: 15px;
  border-left: 3px solid #FFD700;
  border-left: 4px solid var(--color-primary);
}

.single-blog-date {
  color: #FFD700;
  font-weight: 600;
}

.single-blog-author {
  color: #e0e0e0;
}

.single-blog-category {
  background: linear-gradient(90deg, #FFD700, #FFA500);
  color: #000000;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.single-blog-title {
  color: #ffffff;
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 25px;
  background: linear-gradient(90deg, #FFD700, #FFA500);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.single-blog-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 3px;
  background: linear-gradient(90deg, #FFD700, #FFA500);
  border-radius: 2px;
}

.single-blog-excerpt {
  color: #e0e0e0;
  font-size: 1.2rem;
  line-height: 1.7;
  font-style: italic;
  padding: 20px 25px;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.05) 0%, rgba(255, 165, 0, 0.05) 100%);
  border-radius: 12px;
  border-left: 4px solid #FFD700;
  margin-bottom: 30px;
  position: relative;
}

.single-blog-excerpt::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 15px;
  font-size: 3rem;
  color: #FFD700;
  font-family: serif;
}

.single-blog-body {
  color: #e0e0e0;
  line-height: 1.9;
  font-size: 1.15rem;
  margin-bottom: 50px;
  position: relative;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.single-blog-body::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.3), transparent);
}

.single-blog-body h2,
.single-blog-body h3,
.single-blog-body h4 {
  color: #ffffff;
  margin-top: 40px;
  margin-bottom: 20px;
  position: relative;
  padding-left: 20px;
}

.single-blog-body h2::before,
.single-blog-body h3::before,
.single-blog-body h4::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 20px;
  background: linear-gradient(90deg, #FFD700, #FFA500);
  border-radius: 2px;
}

.single-blog-body h2 {
  font-size: 2rem;
  font-weight: 700;
}

.single-blog-body h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

.single-blog-body h4 {
  font-size: 1.25rem;
  font-weight: 600;
}

.single-blog-body p {
  margin-bottom: 25px;
  text-align: justify;
}

.single-blog-body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 30px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 215, 0, 0.2);
}

.single-blog-body blockquote {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.05) 0%, rgba(255, 165, 0, 0.05) 100%);
  border-left: 4px solid #FFD700;
  padding: 20px 25px;
  margin: 30px 0;
  border-radius: 0 12px 12px 0;
  font-style: italic;
  position: relative;
}

.single-blog-body blockquote::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 15px;
  font-size: 3rem;
  color: #FFD700;
  font-family: serif;
}

.single-blog-body ul,
.single-blog-body ol {
  margin: 25px 0;
  padding-left: 30px;
}

.single-blog-body li {
  margin-bottom: 10px;
  position: relative;
}

.single-blog-body ul li::before {
  content: '•';
  color: #FFD700;
  font-weight: bold;
  position: absolute;
  left: -20px;
}

.single-blog-body ol li::before {
  content: counter(list-item) '.';
  color: #FFD700;
  font-weight: bold;
  position: absolute;
  left: -25px;
}

.single-blog-body img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 20px 0;
}

.single-blog-footer {
  margin-top: 60px;
  padding-top: 40px;
  position: relative;
  border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.single-blog-footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, #FFD700, #FFA500);
  border-radius: 1px;
}

.single-blog-tags {
  margin-bottom: 40px;
  text-align: center;
}

.single-blog-tags h4 {
  color: #FFD700;
  margin-bottom: 15px;
  font-size: 1.2rem;
  font-weight: 600;
}

.tag-list {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.tag-list a {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 165, 0, 0.1) 100%);
  color: #FFD700;
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.tag-list a:hover {
  background: linear-gradient(90deg, #FFD700, #FFA500);
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3);
}

.single-blog-navigation {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  padding: 30px 0;
  border-top: 1px solid rgba(255, 215, 0, 0.2);
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
  position: relative;
}

.single-blog-navigation::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, #FFD700, #FFA500);
  border-radius: 1px;
}

.nav-previous a,
.nav-next a {
  color: #e0e0e0;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 12px 20px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.nav-previous a:hover,
.nav-next a:hover {
  color: #000000;
  background: linear-gradient(90deg, #FFD700, #FFA500);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3);
}

.single-blog-back {
  text-align: center;
}

.back-to-blog {
  display: inline-block;
  background: linear-gradient(90deg, #FFD700, #FFA500);
  color: #000000;
  padding: 18px 35px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.back-to-blog::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.back-to-blog:hover::before {
  left: 100%;
}

.back-to-blog:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
  color: var(--color-white);
}

/* Responsive Design */
@media (max-width: 768px) {
  .blog-title {
    font-size: 2rem;
  }
  
  .blog-desc {
    font-size: 1rem;
  }
  
  .blog-categories {
    gap: 10px;
  }
  
  .blog-categories a {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .blog-posts {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }
  
  .blog-card-content {
    padding: 20px;
  }
  
  .blog-card-title a {
    font-size: 1.2rem;
  }
  
  .single-blog-content {
    padding: 25px;
  }
  
  .single-blog-title {
    font-size: 2rem;
  }
  
  .single-blog-meta {
    flex-direction: column;
    gap: 8px;
  }
  
  .single-blog-navigation {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .blog-area {
    padding: 40px 0 20px 0;
  }
  
  .blog-title {
    font-size: 1.8rem;
  }
  
  .blog-categories {
    flex-direction: column;
    align-items: center;
  }
  
  .blog-categories a {
    width: 100%;
    max-width: 200px;
    text-align: center;
  }
  
  .single-blog-title {
    font-size: 1.8rem;
  }
  
  .single-blog-content {
    padding: 20px;
  }
} 

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  font-weight: 900;
  background-size: 200% 100%;
  animation: gradient-shift 3s ease-in-out infinite;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Enhanced tag styling */
.tag-list a {
  background: var(--gradient-primary);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.tag-list a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
  background: var(--gradient-primary-hover);
}

/* Enhanced navigation links */
.nav-previous a,
.nav-next a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 10px 20px;
  border-radius: 15px;
  background: var(--gradient-white-bg);
  border: 1px solid #e2e8f0;
}

.nav-previous a:hover,
.nav-next a:hover {
  color: white;
  background: var(--gradient-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

/* Reading progress bar */
.single-blog-post {
  position: relative;
}

.single-blog-post::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: var(--scroll-progress, 0%);
  height: 4px;
  background: var(--gradient-primary);
  z-index: 1000;
  transition: width 0.1s ease;
}

/* Enhanced category badge */
.single-blog-category {
  background: var(--gradient-primary);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
} 

/* Example of improved text contrast for readability */
.single-blog-body,
.blog-card-content,
.blog-card-excerpt {
  color: #f5f5f5 !important;
}

.single-blog-title,
.blog-card-title a {
  color: #fff !important;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.single-blog-meta,
.blog-card-meta {
  color: #eaeaea !important;
}

.single-blog-date,
.blog-card-date {
  color: #FFD700 !important;
  font-weight: 600;
}

.single-blog-author {
  color: #f5f5f5 !important;
}

.single-blog-category,
.blog-card-category {
  background: linear-gradient(90deg, #FFD700, #FFA500);
  color: #000 !important;
  font-weight: 700;
}

.single-blog-header,
.blog-header {
  color: #fff !important;
}

.blog-pagination .page-numbers {
  color: #fff !important;
  background: #181a1f !important;
  border: 1px solid #FFD700 !important;
}

.blog-pagination .page-numbers.current,
.blog-pagination .page-numbers:hover {
  background: linear-gradient(90deg, #FFD700, #FFA500) !important;
  color: #000 !important;
}

.single-blog-navigation .nav-previous a,
.single-blog-navigation .nav-next a {
  color: #fff !important;
  background: #232526 !important;
  border: 1px solid #FFD700 !important;
}

.single-blog-navigation .nav-previous a:hover,
.single-blog-navigation .nav-next a:hover {
  background: linear-gradient(90deg, #FFD700, #FFA500) !important;
  color: #000 !important;
}

.back-to-blog {
  color: #000 !important;
  background: linear-gradient(90deg, #FFD700, #FFA500) !important;
  font-weight: 700;
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

/* Ensure all links in blog content are readable */
.single-blog-body a {
  color: #FFD700 !important;
  text-decoration: underline;
}

/* Blockquotes */
.single-blog-body blockquote {
  color: #fff !important;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.08) 0%, rgba(255, 165, 0, 0.08) 100%) !important;
  border-left: 4px solid #FFD700 !important;
} 

/* Force all post content text to be highly readable */
.single-blog-body,
.single-blog-body p,
.single-blog-body span,
.single-blog-body li,
.single-blog-body div,
.single-blog-body * {
  color: #f5f5f5 !important;
} 

/* Refactored for theme variables */
.blog-area, .single-blog-post {
  background: var(--color-bg);
  color: var(--color-text);
}

.blog-area::before, .single-blog-post::after {
  /* keep pattern, but adjust opacity if needed */
}

.blog-header, .single-blog-header {
  color: var(--color-text);
}

.blog-title, .single-blog-title {
  background: var(--color-gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.blog-desc, .single-blog-excerpt {
  color: var(--color-text-light);
}

.blog-categories a, .blog-categories a.active, .blog-categories a:hover {
  background: var(--color-bg-alt);
  color: var(--color-text);
  border: 1px solid var(--color-accent);
}

.blog-categories a.active, .blog-categories a:hover {
  background: var(--color-gold-gradient);
  color: #000;
}

.blog-card, .single-blog-container {
  background: var(--color-bg-alt);
  color: var(--color-text);
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
  border: 1px solid var(--color-accent);
}

.blog-card-title a, .single-blog-title {
  color: var(--color-text);
}

.blog-card-meta, .single-blog-meta {
  color: var(--color-text-light);
  background: var(--color-bg-alt);
  border-left: 4px solid var(--color-accent);
}

.blog-card-date, .single-blog-date {
  color: var(--color-accent);
}

.blog-card-category, .single-blog-category {
  background: var(--color-gold-gradient);
  color: #000;
}

.blog-card-excerpt, .single-blog-body {
  color: var(--color-text-light);
}

.blog-card-btn, .back-to-blog {
  background: var(--color-gold-gradient);
  color: #000;
}

.blog-pagination .page-numbers {
  background: var(--color-bg-alt);
  color: var(--color-text);
  border: 1px solid var(--color-accent);
}
.blog-pagination .page-numbers.current, .blog-pagination .page-numbers:hover {
  background: var(--color-gold-gradient);
  color: #000;
}

.single-blog-navigation .nav-previous a, .single-blog-navigation .nav-next a {
  background: var(--color-bg-alt);
  color: var(--color-text);
  border: 1px solid var(--color-accent);
}
.single-blog-navigation .nav-previous a:hover, .single-blog-navigation .nav-next a:hover {
  background: var(--color-gold-gradient);
  color: #000;
}

.single-blog-body a {
  color: var(--color-accent);
}

.single-blog-body blockquote {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.08) 0%, rgba(255, 165, 0, 0.08) 100%);
  color: var(--color-text);
  border-left: 4px solid var(--color-accent);
} 

@media (max-width: 1000px){
    .blog-card-img {
  width: unset !important;
  height: unset !important;
}
    .blog-card-title { margin-bottom: 15px !important; line-height: 0.9 !important;}
    .single-blog-body h2 {font-size: 1.5rem !important;}
    .single-blog-body p { font-size: .9rem !important;}
    .single-blog-footer {margin-top: 100px !important;}
}
@media (max-width: 768px){
    .single-blog-body h2 { font-size: 1.2rem !important; }
    .single-blog-body p { font-size: .8rem !important;}
    .single-blog-body h3 { font-size: 1.3rem !important;}
    .single-blog-body li {font-size: .9rem !important;}
}
@media (max-width: 500px){
    .single-blog-hero {  height: 300px;}
    .single-blog-hero-title {font-size: 1.5rem !important;}
    .single-blog-hero-content {bottom: 10px !important;}
.single-blog-body h2 { font-size: 1rem !important; }
.single-blog-body h3 { font-size: 1rem !important;}
.single-blog-title {font-size: 2rem !important;}
}
@media (max-width: 360px){
    .single-blog-hero { width: unset !important; height:unset !important;}
    .blog-card-title { margin-bottom: 15px !important; line-height: 1.3 !important;font-size: 18px;}
    .single-blog-title {font-size: 1.6rem !important;}
     .single-blog-hero-title { font-size: 1.1rem !important; margin-bottom: 0 !important;}
    .single-blog-hero-meta {gap: 4px;}

}
    
