.blog-section {
  padding: 80px 0;
  position: relative;
  border-bottom: 1px solid #e5e5e5;
  background-color: #fff;
  font-family: 'Inter', sans-serif;
}

.blog-section a {
  color: #EB6B2A;
  text-decoration: none;
}

.blog-grid-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(to right, rgba(0,0,0,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,0,0,0.05) 1px, transparent 1px);
  background-size: 100px 100px;
  z-index: 0;
}

:root {
  --container-pad: clamp(1.5rem, 5vw, 6rem);
}

.blog-container {
  width: 100%;
  max-width: 100%;    
  margin-inline: auto;
  padding-inline: var(--container-pad);
  position: relative;
  z-index: 1;
}

.blog-header-row {
  display: flex;
  gap: 40px;
  margin-bottom: 60px;
  align-items: end;
}

.blog-title-col {
  flex: 0 0 350px;
}

.blog-title {
  font-size: 72px;
  color: #EB6B2A;
  font-weight: 700;
  margin: 0 0 10px;
  line-height: 1.1;
  text-transform: uppercase;
}

.blog-subtitle {
  font-size: 32px;
  font-weight: 400;
  color: #111;
  line-height: 1.2;
}

.featured-post {
  flex: 1;
  display: flex;
  background: #f4f4f4;
  border-radius: 8px;
  overflow: hidden;
  max-height: 500px;
}

.featured-image {
  flex: 0 0 35%;
  min-height: 250px;
}

.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-content {
  flex: 0 0 65%;
  padding: 30px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.post-date {
  font-size: 12px;
  color: #555;
  margin-bottom: 12px;
}

.featured-title {
  font-size: 34px;
  color: #EB6B2A;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 15px;
}

.featured-desc {
  font-size: 16px;
  color: #222;
  margin-bottom: 20px;
  line-height: 1.2;
  max-width: 680px;
}

.btn-read {
  display: inline-block;
  padding: 10px 20px;
  background: #EB6B2A;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 400;
  align-self: flex-start;
  transition: background 0.3s;
  font-size: 14px;
}
.btn-read:hover {
  background: #d55519;
}

.btn-read-outline {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid #d55519;
  color: #111;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 400;
  align-self: flex-start;
  transition: all 0.3s;
  font-size: 14px;
}
.btn-read-outline:hover {
  border-color: #d55519;
  background: #d55519;
  color: #fff;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.blog-card {
  display: flex;
  background: #f4f4f4;
  border-radius: 8px;
  overflow: hidden;
  max-height: 350px;
}

.blog-card-image {
  flex: 0 0 50%;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-content {
  flex: 0 0 50%;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.blog-card-title {
  font-size: 20px;
  color: #111;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 30px;
}

@media (max-width: 1024px) {
  .blog-header-row {
    flex-direction: column;
  }
  .blog-title-col {
    padding-top: 20px;
    flex: auto;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .featured-post, .blog-card {
    flex-direction: column;
    max-height: none;
  }
  .featured-image, .blog-card-image {
    min-height: 250px;
    flex: auto;
  }
  .blog-card-content{
    flex: auto;
  }
  .blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: 330px;
  }
}

/* Article Detail Styles */
.article-hero {
  margin-top: 40px;
  margin-bottom: 40px;
  background: #f4f4f4;
}

/* AI Summary Card */
.ai-summary-card {
  background: #1f1f1f;
  border-radius: 12px;
  padding: 22px 28px;
  margin: 0 auto 40px;
  max-width: 980px;
  box-sizing: border-box;
}

.ai-summary-title {
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  margin: 0 0 16px 0;
  line-height: 1.3;
}

.ai-summary-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.ai-summary-buttons a{
  color: #000;
}

.ai-summary-btn {
  background: #ffffff;
  color: #111111;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s ease, transform 0.2s ease;
  border: 1px solid #ffffff;
}

.ai-summary-btn:hover {
  background: #e8e8e8;
  transform: translateY(-1px);
  color: #000000;
}

.ai-summary-btn img,
.ai-summary-btn svg {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}

.article-hero .featured-title {
  font-size: 34px;
  font-weight: 400;
  line-height: 1.2;
  max-width: 680px;
}

.article-content {
  max-width: 980px;
  margin: 0 auto 80px;
  font-size: 18px;
  line-height: 1.2;
  color: #111;  
}

.article-content p {
  margin-bottom: 24px;
  font-size: 16px;
  font-weight: 400;
}

.article-quote {
  font-size: 24px;
  color: #EB6B2A;
  margin: 40px 0;
  padding-left: 0;
  font-weight: 400;
}

.article-subtitle {
  font-size: 24px;
  color: #EB6B2A;
  font-weight: 400;
  margin: 40px 0 20px;
}

.article-list {
  margin: 0 0 30px;
  padding-left: 20px;
}

.article-list li {
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 400;
  list-style-type: disc;
}

/* Article Table Responsive Styles */
.article-table {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
  margin: 30px 0 !important;
  border-collapse: collapse !important;
  /* background-color: #ffffff !important;
  border: 1px solid #e0e0e0 !important; */
  border-radius: 8px;
  /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04); */
}

.article-table th {
  background-color: #f4f4f4 !important;
  color: #111111 !important;
  font-weight: 600 !important;
  padding: 14px 18px !important;
  border: 1px solid #e0e0e0 !important;
  text-align: left !important;
  white-space: nowrap !important;
}

.article-table td {
  padding: 14px 18px !important;
  border: 1px solid #e0e0e0 !important;
  background-color: #ffffff !important;
  color: #222222 !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
  min-width: 150px;
  vertical-align: top;
}

.article-table tr:nth-child(even) td {
  background-color: #fafafa !important;
}

.article-table::-webkit-scrollbar {
  height: 6px;
}
.article-table::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}
.article-table::-webkit-scrollbar-thumb {
  background: #EB6B2A;
  border-radius: 3px;
}

.related-articles-section {
  padding: 60px 0;
  border-top: 1px solid #e5e5e5;
}

.related-articles-grid {
  margin-top: 40px;
}

/* Swiper Pagination Bullets Custom Colors */
.related-swiper .swiper-pagination-bullet {
  background: #cccccc !important;
  opacity: 0.6;
  width: 8px;
  height: 8px;
  transition: all 0.3s ease;
}

.related-swiper .swiper-pagination-bullet-active {
  background: #EB6B2A !important;
  opacity: 1 !important;
  width: 20px;
  border-radius: 4px;
}

/* Author Box Section */
.author-box {
  display: flex;
  align-items: center;
  gap: 24px;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-left: 4px solid #EB6B2A;
  border-radius: 8px;
  padding: 28px 32px;
  margin: 50px 0 30px;
}

.author-avatar {
  flex: 0 0 70px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border: 2px solid #EB6B2A;
}

.author-avatar img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.author-info {
  flex: 1;
}

.author-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #EB6B2A;
  display: block;
  margin-bottom: 4px;
}

.author-name {
  font-size: 20px;
  font-weight: 600;
  color: #111;
  margin: 0 0 8px 0;
  line-height: 1.2;
}

.author-bio {
  font-size: 15px;
  line-height: 1.6;
  color: #444;
  margin: 0;
}

@media (max-width: 600px) {
  .author-box {
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 24px 20px;
    gap: 16px;
  }
}

/* Stats Grid Styles */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.stat-card {
  background: #f8f9fa;
  padding: 24px 20px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid #e5e5e5;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.stat-card h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #EB6B2A;
}

.stat-card p {
  font-size: 14px;
  margin: 0;
  color: #555;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }
}


