/*--------------------------------------------------------------
# Blog Page Styles - Enhanced Design
--------------------------------------------------------------*/

/* Blog Hero Section */
.blog-hero.hero {
  width: 100%;
  min-height: 55vh;
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #2d2d2d 100%);
  position: relative;
  padding: 180px 0 100px 0;
  overflow: hidden;
}

.blog-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(124,218,0,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>') center/100px;
  opacity: 0.4;
}

.blog-hero .container {
  position: relative;
  z-index: 2;
  padding: 0 20px;
}

.blog-hero .breadcrumbs {
  margin-bottom: 32px;
}

.blog-hero .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 15px;
  justify-content: center;
}

.blog-hero .breadcrumbs li {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.blog-hero .breadcrumbs li a {
  color: var(--color-secondary);
  transition: 0.3s;
  text-decoration: none;
  font-weight: 600;
}

.blog-hero .breadcrumbs li a:hover {
  color: var(--color-secondary-hover);
  text-decoration: none;
}

.blog-hero .breadcrumbs li + li {
  padding-left: 12px;
}

.blog-hero .breadcrumbs li + li::before {
  display: inline-block;
  padding-right: 12px;
  color: rgba(255, 255, 255, 0.5);
  content: "/";
  font-weight: 400;
}

.blog-hero .breadcrumbs li.current {
  color: #fff;
  font-weight: 600;
}

.blog-hero h1,
.blog-hero-title {
  font-size: 56px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -0.8px;
  font-family: 'Poppins', sans-serif;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  padding: 0 15px;
}

.blog-hero .subtitle,
.blog-hero-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.65;
  max-width: 800px;
  margin: 0 auto;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  padding: 0 15px;
}

/* Large Desktop (1200px+) */
@media (min-width: 1200px) {
  .blog-hero h1,
  .blog-hero-title {
    font-size: 58px;
    letter-spacing: -0.9px;
  }
  
  .blog-hero .subtitle,
  .blog-hero-subtitle {
    font-size: 17px;
    max-width: 880px;
  }
}

/* Tablet Landscape (992px - 1199px) */
@media (max-width: 1199px) and (min-width: 992px) {
  .blog-hero.hero {
    padding: 160px 0 90px 0;
  }
  
  .blog-hero h1,
  .blog-hero-title {
    font-size: 50px;
    letter-spacing: -0.7px;
  }
  
  .blog-hero .subtitle,
  .blog-hero-subtitle {
    font-size: 16px;
    max-width: 740px;
  }
}

/* Tablet Portrait (768px - 991px) */
@media (max-width: 991px) {
  .blog-hero.hero {
    padding: 140px 0 70px 0;
    min-height: 45vh;
  }
  
  .blog-hero .breadcrumbs {
    margin-bottom: 28px;
  }
  
  .blog-hero .breadcrumbs ol {
    font-size: 14px;
  }
  
  .blog-hero h1,
  .blog-hero-title {
    font-size: 44px;
    margin-bottom: 22px;
    letter-spacing: -0.6px;
    line-height: 1.25;
  }
  
  .blog-hero .subtitle,
  .blog-hero-subtitle {
    font-size: 15px;
    max-width: 660px;
    line-height: 1.6;
  }
}

/* Mobile Landscape (576px - 767px) */
@media (max-width: 767px) {
  .blog-hero.hero {
    padding: 130px 0 60px 0;
    min-height: 42vh;
  }
  
  .blog-hero .container {
    padding: 0 15px;
  }
  
  .blog-hero .breadcrumbs {
    margin-bottom: 24px;
  }
  
  .blog-hero .breadcrumbs ol {
    font-size: 13px;
  }
  
  .blog-hero h1,
  .blog-hero-title {
    font-size: 36px;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    line-height: 1.3;
    padding: 0 10px;
  }
  
  .blog-hero .subtitle,
  .blog-hero-subtitle {
    font-size: 14px;
    line-height: 1.6;
    max-width: 100%;
    padding: 0 10px;
  }
}

/* Mobile Portrait (up to 575px) */
@media (max-width: 575px) {
  .blog-hero.hero {
    padding: 120px 0 55px 0;
    min-height: 40vh;
  }
  
  .blog-hero .breadcrumbs {
    margin-bottom: 22px;
  }
  
  .blog-hero .breadcrumbs ol {
    font-size: 12px;
  }
  
  .blog-hero .breadcrumbs li + li {
    padding-left: 10px;
  }
  
  .blog-hero .breadcrumbs li + li::before {
    padding-right: 10px;
  }
  
  .blog-hero h1,
  .blog-hero-title {
    font-size: 30px;
    margin-bottom: 18px;
    letter-spacing: -0.4px;
    line-height: 1.3;
    padding: 0 5px;
  }
  
  .blog-hero .subtitle,
  .blog-hero-subtitle {
    font-size: 13px;
    line-height: 1.55;
    padding: 0 5px;
  }
}

/* Extra Small Mobile (up to 375px) */
@media (max-width: 375px) {
  .blog-hero.hero {
    padding: 110px 0 50px 0;
  }
  
  .blog-hero h1,
  .blog-hero-title {
    font-size: 26px;
    margin-bottom: 16px;
    letter-spacing: -0.3px;
  }
  
  .blog-hero .subtitle,
  .blog-hero-subtitle {
    font-size: 12px;
    line-height: 1.55;
  }
}

/* Blog Article Section */
.blog-article {
  background: #000;
  padding: 80px 0;
}

.blog-article .container {
  max-width: 1200px;
}

/* Article Header */
.article-header {
  margin-bottom: 50px;
}

.article-header img {
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  width: 100%;
  max-height: 500px;
  height: auto;
  object-fit: cover;
  object-position: center;
  display: block;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding: 32px 28px;
  background: linear-gradient(135deg, #1a1a1a 0%, #252525 100%);
  border-radius: 14px;
  border-left: 5px solid #7cda00;
  margin-top: 35px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.article-meta .badge {
  font-size: 13px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.article-meta .badge.bg-primary {
  background: var(--color-secondary) !important;
  color: #000;
  box-shadow: 0 3px 12px rgba(124, 218, 0, 0.3);
}

.article-meta .badge.bg-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 18px rgba(124, 218, 0, 0.4);
}

.article-meta .badge.bg-secondary {
  background: rgba(124, 218, 0, 0.12) !important;
  color: var(--color-secondary);
  border: 1.5px solid rgba(124, 218, 0, 0.5);
}

.article-meta .badge.bg-secondary:hover {
  background: rgba(124, 218, 0, 0.18) !important;
  border-color: var(--color-secondary);
  transform: translateY(-2px);
}

.article-meta .text-muted {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  padding: 6px 0;
}

.article-meta i {
  font-size: 16px;
  color: #7cda00;
}

/* Blog Content */
.blog-content {
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  line-height: 1.9;
  font-family: 'Roboto', sans-serif;
}

.blog-content p {
  margin-bottom: 1.75rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.9;
}

.blog-content p.lead {
  font-size: 21px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 400;
  margin-bottom: 3rem;
  margin-top: 2rem;
  padding: 35px 40px;
  border-left: 5px solid #7cda00;
  background: linear-gradient(135deg, #1a1a1a 0%, #242424 50%, #2d2d2d 100%);
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
}

.blog-content p.lead::before {
  content: '"';
  position: absolute;
  top: 15px;
  left: 15px;
  font-size: 80px;
  font-family: Georgia, serif;
  color: rgba(124, 218, 0, 0.1);
  line-height: 1;
  font-weight: 700;
}

.blog-content h2 {
  font-size: 38px;
  font-weight: 700;
  color: #fff;
  margin-top: 60px;
  margin-bottom: 25px;
  line-height: 1.3;
  position: relative;
  padding-bottom: 18px;
  font-family: 'Poppins', sans-serif;
}

.blog-content h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 70px;
  height: 4px;
  background: #7cda00;
  border-radius: 2px;
}

.blog-content h3 {
  font-size: 28px;
  font-weight: 600;
  color: #fff;
  margin-top: 40px;
  margin-bottom: 18px;
  line-height: 1.4;
  font-family: 'Poppins', sans-serif;
}

.blog-content h4 {
  font-size: 22px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  margin-top: 30px;
  margin-bottom: 15px;
}

.blog-content ul,
.blog-content ol {
  margin-bottom: 1.5rem;
  padding-left: 30px;
}

.blog-content li {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 17px;
  line-height: 1.7;
}

.blog-content blockquote {
  background: #1a1a1a;
  border-left: 5px solid #7cda00;
  padding: 30px 40px;
  margin: 40px 0;
  font-style: italic;
  border-radius: 10px;
}

.blog-content blockquote p {
  margin-bottom: 0;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.95);
}

.blog-content .alert {
  background: rgba(124, 218, 0, 0.08);
  border: 1px solid rgba(124, 218, 0, 0.3);
  border-radius: 12px;
  padding: 25px;
  margin-top: 40px;
}

.blog-content .alert-heading {
  color: var(--color-secondary);
  font-size: 20px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.blog-content .alert-heading i {
  font-size: 24px;
}

.blog-content .alert p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.9);
}

.blog-content .alert-link {
  color: var(--color-secondary);
  font-weight: 600;
  text-decoration: underline;
}

.blog-content .alert-link:hover {
  color: var(--color-secondary-hover);
}

.blog-content a {
  color: var(--color-secondary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: 0.3s;
}

.blog-content a:hover {
  color: var(--color-secondary-hover);
  border-bottom-color: var(--color-secondary-hover);
}

.blog-content code {
  background: #1a1a1a;
  color: #7cda00;
  padding: 4px 10px;
  border-radius: 5px;
  font-size: 16px;
  font-family: 'Courier New', monospace;
}

.blog-content pre {
  background: #1a1a1a;
  border: 1px solid #2d2d2d;
  border-left: 4px solid #7cda00;
  border-radius: 10px;
  padding: 25px;
  overflow-x: auto;
  margin: 30px 0;
}

.blog-content pre code {
  background: none;
  padding: 0;
  border-radius: 0;
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 991px) {
  .blog-content {
    font-size: 17px;
  }
  
  .blog-content p {
    font-size: 17px;
  }
  
  .blog-content p.lead {
    font-size: 19px;
    line-height: 1.75;
    padding: 30px 32px;
    margin-top: 1.5rem;
  }
  
  .blog-content p.lead::before {
    font-size: 70px;
    top: 12px;
    left: 12px;
  }
  
  .blog-content h2 {
    font-size: 32px;
  }
  
  .blog-content h3 {
    font-size: 24px;
  }
  
  .article-header img {
    max-height: 420px;
  }
  
  .article-meta {
    padding: 28px 24px;
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .blog-content {
    font-size: 16px;
  }
  
  .blog-content p {
    font-size: 16px;
  }
  
  .blog-content p.lead {
    font-size: 17px;
    line-height: 1.7;
    padding: 25px 28px;
    margin-top: 1.5rem;
    margin-bottom: 2.5rem;
  }
  
  .blog-content p.lead::before {
    font-size: 60px;
    top: 10px;
    left: 10px;
  }
  
  .blog-content h2 {
    font-size: 28px;
    margin-top: 40px;
  }
  
  .blog-content h3 {
    font-size: 22px;
  }
  
  .blog-content blockquote {
    padding: 20px 25px;
    font-size: 18px;
  }
  
  .article-header {
    margin-bottom: 40px;
  }
  
  .article-header img {
    max-height: 320px;
    border-radius: 12px;
  }
  
  .article-meta {
    padding: 24px 20px;
    gap: 14px;
    margin-top: 28px;
  }
  
  .article-meta .badge {
    font-size: 12px;
    padding: 8px 16px;
  }
  
  .article-meta .text-muted {
    font-size: 13px;
  }
}

@media (max-width: 576px) {
  .article-header img {
    max-height: 260px;
    border-radius: 10px;
  }
  
  .article-meta {
    padding: 20px 18px;
    gap: 12px;
    justify-content: center;
    text-align: center;
  }
  
  .article-meta .badge {
    font-size: 11px;
    padding: 7px 14px;
  }
  
  .article-meta .text-muted {
    font-size: 12px;
  }
  
  .article-meta i {
    font-size: 14px;
  }
  
  .blog-content p.lead {
    font-size: 15px;
    line-height: 1.65;
    padding: 20px 22px;
    margin-top: 1.25rem;
    margin-bottom: 2rem;
    border-radius: 10px;
  }
  
  .blog-content p.lead::before {
    font-size: 50px;
    top: 8px;
    left: 8px;
  }
}

/* Conclusion Box */
.conclusion-box {
  margin: 60px 0;
  padding: 40px;
  background: linear-gradient(135deg, #1f1f1f 0%, #2d2d2d 100%);
  border-radius: 15px;
  border: 2px solid #333;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.conclusion-box h2 {
  margin-top: 0 !important;
}

.conclusion-box h2::after {
  display: none;
}

/* Related Articles Section */
.related-articles {
  background: #0a0a0a;
  padding: 80px 0;
}

.related-articles .section-title {
  text-align: center;
  margin-bottom: 60px;
}

.related-articles .section-title h2 {
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 15px;
  font-family: 'Poppins', sans-serif;
  position: relative;
  padding-bottom: 20px;
}

.related-articles .section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: #7cda00;
  border-radius: 2px;
}

.related-articles .section-title p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}

.related-articles .card,
.blog-card {
  background: #1a1a1a;
  border: 1px solid #2d2d2d;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.related-articles .card:hover,
.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(124, 218, 0, 0.2);
  border-color: #7cda00;
}

.related-articles .card-img-top,
.blog-card-img {
  height: 240px;
  width: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.related-articles .card:hover .card-img-top,
.blog-card:hover .blog-card-img {
  transform: scale(1.08);
}

.related-articles .card-body,
.blog-card-body {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.related-articles .badge,
.blog-card-category {
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 25px;
  background: rgba(124, 218, 0, 0.15) !important;
  color: #7cda00;
  border: 1px solid #7cda00;
  font-family: 'Poppins', sans-serif;
  display: inline-block;
  margin-bottom: 15px;
}

.related-articles .card-title,
.blog-card-title {
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 15px 0;
  line-height: 1.4;
  font-family: 'Poppins', sans-serif;
}

.blog-card-title a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.related-articles .card-text,
.blog-card-excerpt {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid #2d2d2d;
  font-size: 13px;
  color: #888;
}

.blog-card-meta i {
  color: #7cda00;
  margin-right: 5px;
}

.related-articles .btn-outline-primary,
.blog-card-link {
  color: #7cda00;
  border-color: #7cda00;
  padding: 10px 24px;
  font-weight: 600;
  font-size: 15px;
  border-radius: 50px;
  transition: all 0.3s;
  font-family: 'Poppins', sans-serif;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  margin-top: auto;
}

.blog-card-link {
  border: none;
  padding: 0;
  margin-top: 15px;
}

.blog-card-link i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-link i {
  transform: translateX(6px);
}

.related-articles .btn-outline-primary:hover {
  background: #7cda00;
  border-color: #7cda00;
  color: #000;
  transform: scale(1.05);
}

@media (max-width: 991px) {
  .related-articles {
    padding: 60px 0;
  }
  
  .related-articles .section-title h2 {
    font-size: 36px;
  }
  
  .related-articles .card-title,
  .blog-card-title {
    font-size: 20px;
  }
  
  .related-articles .card-text,
  .blog-card-excerpt {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .related-articles {
    padding: 40px 0;
  }
  
  .related-articles .section-title {
    margin-bottom: 40px;
  }
  
  .related-articles .section-title h2 {
    font-size: 30px;
  }
  
  .related-articles .card-img-top,
  .blog-card-img {
    height: 200px;
  }
  
  .related-articles .card-body,
  .blog-card-body {
    padding: 25px 20px;
  }
  
  .related-articles .card-title,
  .blog-card-title {
    font-size: 18px;
  }
  
  .related-articles .card-text,
  .blog-card-excerpt {
    font-size: 14px;
  }
}

/* Footer Blog Links Styling */
.footer-blog ul li img {
  border-radius: 6px;
  margin-right: 12px;
}

.footer-blog ul li a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.5;
  transition: 0.3s;
}

.footer-blog ul li a:hover {
  color: var(--color-secondary);
}

/* Smooth Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.blog-article [data-aos="fade-up"] {
  animation: fadeInUp 0.8s ease-out;
}

/* Print Styles */
@media print {
  .blog-hero,
  .related-articles,
  header,
  footer {
    display: none;
  }
  
  .blog-content {
    color: #000;
  }
  
  .blog-content p,
  .blog-content li {
    color: #000;
  }
}
