/* ===== Blog Banner Overrides ===== */

.banner-blog .banner-img {
  max-width: 620px;
  top: 50%;
  transform: translateY(-50%);
  animation: none;
  -webkit-animation: none;
  right: 60px;
}
.banner-blog .banner-img img {
  width: 100%;
  height: auto;
}

.banner-article {
  height: auto !important;
  min-height: unset !important;
  padding: 70px 0 60px;
}
.banner-article .d-table,
.banner-article .d-table-cell {
  display: block !important;
}
.banner-article .banner-img {
  position: absolute;
  top: 50%;
  right: 60px;
  transform: translateY(-50%);
  max-width: 460px;
  animation: none;
  -webkit-animation: none;
}
.banner-article .banner-img img {
  width: 100%;
  height: auto;
}

/* ===== Blog Hub CSS ===== */

.blog-section .section-title {
  text-align: center;
  margin-bottom: 50px;
}

.blog-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  margin-bottom: 30px;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  height: calc(100% - 30px);
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.14);
}
.blog-card-img {
  position: relative;
  overflow: hidden;
  height: 200px;
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.blog-card:hover .blog-card-img img {
  transform: scale(1.05);
}
.blog-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #fd1616;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 3px;
  letter-spacing: 0.3px;
}
.blog-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-card-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: #001935;
  margin-bottom: 10px;
  line-height: 1.4;
}
.blog-card-body h3 a {
  color: #001935;
  text-decoration: none;
}
.blog-card-body h3 a:hover {
  color: #fd1616;
}
.blog-card-body p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 14px;
}
.blog-meta {
  display: flex;
  gap: 14px;
  font-size: 12px;
  color: #999;
  margin-bottom: 14px;
}
.blog-meta i {
  margin-right: 4px;
  color: #fd1616;
}
.blog-read-more {
  font-size: 14px;
  font-weight: 600;
  color: #fd1616;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
}
.blog-read-more:hover {
  color: #001935;
}

.blog-pagination {
  text-align: center;
  margin-top: 40px;
}
.blog-pagination ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-flex;
  gap: 8px;
}
.blog-pagination ul li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 2px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  color: #001935;
  text-decoration: none;
  transition: 0.3s;
}
.blog-pagination ul li.active a,
.blog-pagination ul li a:hover {
  background: #fd1616;
  border-color: #fd1616;
  color: #fff;
}

/* ===== Article Page CSS ===== */

.article-breadcrumb ol {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  color: #999;
}
.article-breadcrumb ol li::after {
  content: '›';
  margin-left: 6px;
}
.article-breadcrumb ol li:last-child::after {
  content: '';
}
.article-breadcrumb ol li a {
  color: #fd1616;
  text-decoration: none;
}
.article-breadcrumb ol li a:hover {
  text-decoration: underline;
}

.article-body h2 {
  font-size: 22px;
  font-weight: 700;
  color: #001935;
  margin: 36px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid #f0f0f0;
}
.article-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: #001935;
  margin: 24px 0 10px;
}
.article-body p {
  font-size: 15px;
  color: #444;
  line-height: 1.8;
  margin-bottom: 16px;
}
.article-body ul,
.article-body ol {
  padding-left: 22px;
  margin-bottom: 16px;
}
.article-body ul li,
.article-body ol li {
  font-size: 15px;
  color: #444;
  line-height: 1.8;
  margin-bottom: 6px;
}
.article-body a {
  color: #fd1616;
  text-decoration: none;
}
.article-body a:hover {
  text-decoration: underline;
}

.article-note {
  background: #fff8f0;
  border-left: 4px solid #fd1616;
  padding: 14px 18px;
  border-radius: 0 6px 6px 0;
  margin: 20px 0;
  font-size: 14px;
  color: #555;
  line-height: 1.7;
}
.article-note i {
  color: #fd1616;
  font-size: 18px;
  vertical-align: middle;
  margin-right: 6px;
}

.article-faq {
  margin-top: 10px;
}
.faq-item {
  background: #f8f9fb;
  border-radius: 6px;
  padding: 18px 20px;
  margin-bottom: 12px;
}
.faq-item h3 {
  font-size: 15px;
  font-weight: 700;
  color: #001935;
  margin: 0 0 8px;
}
.faq-item p {
  font-size: 14px;
  color: #555;
  margin: 0;
  line-height: 1.7;
}

.article-sources {
  background: #f0f4f8;
  border-radius: 8px;
  padding: 24px;
  margin-top: 36px;
}
.article-sources h3 {
  font-size: 17px;
  font-weight: 700;
  color: #001935;
  margin-bottom: 14px;
}
.article-sources ul {
  padding-left: 20px;
  margin-bottom: 16px;
}
.article-sources ul li {
  font-size: 14px;
  margin-bottom: 8px;
}
.article-sources ul li a {
  color: #fd1616;
  text-decoration: none;
}
.article-sources ul li a:hover {
  text-decoration: underline;
}
.article-disclaimer {
  font-size: 13px;
  color: #888;
  line-height: 1.6;
  margin: 0;
}

/* ===== Article Sidebar ===== */

.article-sidebar {
  padding-left: 20px;
}
.sidebar-widget {
  background: #fff;
  border-radius: 8px;
  padding: 22px;
  margin-bottom: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}
.sidebar-widget h3 {
  font-size: 17px;
  font-weight: 700;
  color: #001935;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #fd1616;
}
.sidebar-facts {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-facts li {
  font-size: 14px;
  color: #444;
  padding: 6px 0;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sidebar-facts li:last-child {
  border-bottom: none;
}
.sidebar-facts li i {
  color: #fd1616;
  font-size: 16px;
  flex-shrink: 0;
}
.sidebar-cta {
  background: #001935;
  color: #fff;
}
.sidebar-cta h3 {
  color: #fff;
  border-bottom-color: #fd1616;
}
.sidebar-cta p {
  font-size: 14px;
  color: #ccc;
  margin-bottom: 16px;
}
.sidebar-author {
  text-align: center;
}
.sidebar-author-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fd1616;
  margin-bottom: 12px;
}
.sidebar-author h4 {
  font-size: 16px;
  font-weight: 700;
  color: #001935;
  margin-bottom: 6px;
}
.sidebar-author p {
  font-size: 13px;
  color: #666;
  margin: 0;
  line-height: 1.6;
}
.sidebar-related {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-related li {
  border-bottom: 1px solid #f0f0f0;
}
.sidebar-related li:last-child {
  border-bottom: none;
}
.sidebar-related li a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 0;
  font-size: 14px;
  color: #444;
  text-decoration: none;
  transition: color 0.2s;
}
.sidebar-related li a:hover {
  color: #fd1616;
}
.sidebar-related li a i {
  color: #fd1616;
  font-size: 16px;
  flex-shrink: 0;
}

/* ===== Author Bio ===== */

.author-bio-section {
  background: #f8f9fb;
  border-top: 1px solid #eee;
}
.author-bio-card {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  background: #fff;
  border-radius: 10px;
  padding: 32px 36px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
}
.author-bio-photo {
  flex-shrink: 0;
}
.author-bio-content {
  flex: 1;
}
.author-bio-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #fd1616;
  margin-bottom: 4px;
}

/* ===== Responsive ===== */

@media (max-width: 991px) {
  .article-sidebar {
    padding-left: 0;
    margin-top: 40px;
  }
  .banner-article .banner-img,
  .banner-blog .banner-img {
    display: none;
  }
  .banner-article {
    padding: 50px 0 40px;
  }
}

@media (max-width: 767px) {
  .article-body .theme-btn {
    display: none;
  }
  .sidebar-author {
    display: none;
  }
}

@media (max-width: 576px) {
  .author-bio-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 20px;
    gap: 20px;
  }
}
