:root {
  --blog-card-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  --blog-hover-shadow: 0 30px 60px rgba(10, 36, 114, 0.1);
  --blog-active-color: #0a2472;
}

.blog-page-header {
  background: #f8faff;
  padding: 80px 0;
  margin-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.blog-meta-lux {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.blog-meta-pill {
  background: #fff;
  color: var(--blog-active-color);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(10, 36, 114, 0.08);
  box-shadow: 0 4px 12px rgba(10, 36, 114, 0.03);
  display: flex;
  align-items: center;
}

.blog-meta-pill i {
  color: var(--blog-cp-primary);
}

.blog-meta-pill-small {
  background: #fff;
  color: var(--blog-active-color);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  border: 1px solid rgba(10, 36, 114, 0.08);
  box-shadow: 0 4px 12px rgba(10, 36, 114, 0.03);
  display: flex;
  align-items: center;
}

.blog-meta-pill-small i {
  color: var(--blog-cp-primary);
}

.blog-meta {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-subtitle {
  color: #00acee;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 14px;
  margin-bottom: 10px;
  display: block;
}

.blog-title-main {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: #0a2472;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.blog-title-main::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, #00acee, #0a2472);
  border-radius: 2px;
}

.blog-card-lux {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(12, 172, 238, 0.08);
  box-shadow: var(--blog-card-shadow);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card-lux:hover {
  transform: translateY(-10px);
  box-shadow: var(--blog-hover-shadow);
  border-color: rgba(12, 172, 238, 0.2);
}

.blog-image-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.blog-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.blog-category-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  color: var(--blog-active-color);
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.blog-content-lux {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 13px;
  color: #64748b;
}

.blog-title-lux {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--blog-active-color);
  margin-bottom: 15px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-decoration: none;
  transition: color 0.3s;
}

.blog-title-lux:hover {
  color: #ea1b24;
}

.blog-excerpt {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.read-more-lux {
  color: #ea1b24;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.3s;
}

.read-more-lux:hover {
  gap: 8px;
}

/* Sidebar Styling */
.blog-detail-lux {
  background: #fff;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 15px 45px rgba(10, 36, 114, 0.05);
  position: relative;
}

.blog-detail-img-wrapper {
  width: 100%;
  height: 600px;
  overflow: hidden;
}

.blog-detail-img-full {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 10s ease;
}

.blog-detail-inner-content {
  padding: 50px 60px;
  position: relative;
}

.blog-details-p p {
  margin-bottom: 25px;
}

.author-box-lux {
  margin-top: 60px;
  background: #f8faff;
  border-radius: 24px;
  padding: 35px;
  display: flex;
  align-items: center;
  gap: 25px;
  border: 1px solid rgba(10, 36, 114, 0.05);
}

.author-img-large {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .author-box-lux {
    flex-direction: column;
    text-align: center;
    padding: 25px;
  }
}

.floating-share-wrapper {
  position: absolute;
  left: -80px;
  top: 50px;
}

@media (max-width: 1300px) {
  .floating-share-wrapper { left: -60px; }
}

@media (max-width: 1200px) {
  .floating-share-wrapper { display: none; }
  .blog-detail-inner-content { padding: 40px 30px; }
  .blog-detail-img-wrapper { height: 400px; }
}

.blog-detail-title {
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  font-weight: 700;
  color: var(--blog-active-color);
  margin-bottom: 30px;
  line-height: 1.3;
}

.sidebar-card-lux {
  background: #fff;
  border-radius: 24px;
  padding: 30px;
  border: 1px solid rgba(12, 172, 238, 0.08);
  box-shadow: var(--blog-card-shadow);
  margin-bottom: 30px;
}

.sidebar-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--blog-active-color);
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f1f5f9;
  position: relative;
}

.sidebar-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 50px;
  height: 2px;
  background: #ea1b24;
}

.cat-list-lux {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cat-item-lux a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  color: #475569;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
  border-bottom: 1px solid #f8f9fa;
}

.cat-item-lux:last-child a {
  border-bottom: none;
}

.cat-item-lux a:hover {
  color: #ea1b24;
  padding-left: 5px;
}

.cat-icon {
  width: 35px;
  height: 35px;
  border-radius: 10px;
  object-fit: cover;
}

.tag-cloud-lux {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-badge-lux {
  background: #f1f5f9;
  color: #475569;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s;
}

.tag-badge-lux:hover {
  background: var(--blog-active-color);
  color: #fff;
}

/* Paginator */
.paginator-lux {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.share-post-lux {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 15px;
}

/* Reading Progress Bar */
#reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: var(--blog-active-gradient);
  z-index: 9999;
}

/* Related Posts Section */
.related-posts-section {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(10, 36, 114, 0.05);
}

.related-title {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: var(--blog-active-color);
  margin-bottom: 30px;
  text-align: center;
}

.related-card-lux {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.03);
  transition: transform 0.3s ease;
  height: 100%;
}

.related-card-lux:hover {
  transform: translateY(-5px);
}

.related-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.related-content {
  padding: 15px;
}

.related-post-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--blog-active-color);
  text-decoration: none;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Floating Share for Desktop */
.floating-share-lux {
  position: sticky;
  top: 150px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 10;
  padding-right: 20px;
}

@media (max-width: 1200px) {
  .floating-share-lux {
    display: none;
  }
}

.share-btn-round {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #f8faff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  text-decoration: none;
}

.share-btn-round:hover {
  background: var(--blog-active-gradient);
  color: #fff !important;
  transform: scale(1.1);
}

.pagination-lux {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
}

.pagination-lux li a, .pagination-lux li span {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e2e8f0;
  color: #64748b;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}

.pagination-lux li.active span {
  background: var(--blog-active-color);
  border-color: var(--blog-active-color);
  color: #fff;
}

.pagination-lux li a:hover {
  border-color: var(--blog-active-color);
  color: var(--blog-active-color);
  background: rgba(10, 36, 114, 0.02);
}
