/* ============================================================
   BLOG.CSS — Full Redesign
   Matches home page design tokens (Plus Jakarta Sans, #fc2c00)
   Includes: Blog Index (bi-*) + Blog Detail (bd-*) styles
   ============================================================ */

/* ── Reset helpers ── */
.blog-detail-list { word-wrap: break-word; }

/* ============================================================
   BLOG INDEX PAGE — BairesDev Layout (bi-*)
   ============================================================ */
.py80 {
    padding: 80px 0;
}
/* ── Hero ── */
.bi-hero h1    { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; margin-bottom: 14px; }
.bi-hero-sub   { font-size: 17px; color: #555; margin: 0; line-height: 1.7; }
.bi-eyebrow    {
  font-size: 11px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: #fc2c00; margin-bottom: 10px;
}
.highlight {
    color: #fc2c00;
}
/* ── Search ── */
.bi-search-wrap  { max-width: 380px; margin-left: auto; }
.bi-search-inner { position: relative; }
.bi-search-icon  {
  position: absolute; left: 16px; top: 50%;
  transform: translateY(-50%); color: #999;
  font-size: 14px; pointer-events: none;
}
.bi-search-input {
  width: 100%; padding: 12px 18px 12px 42px;
  border: 1px solid #EFEFEF; border-radius: 100px;
  font-size: 14px; font-family: "Plus Jakarta Sans", sans-serif;
  background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.06);
  outline: none; transition: border-color .25s, box-shadow .25s;
}
.bi-search-input:focus {
  border-color: #fc2c00;
  box-shadow: 0 0 0 3px rgba(252,44,0,.1);
}

/* ── Category Tabs ── */
.bi-tabs-section {
  border-bottom: 2px solid #F0F0F0;
  background: #fff;
  position: sticky; top: 0; z-index: 100;
  /* box-shadow: 0 2px 8px rgba(0,0,0,.04); */
}
/* Breadcrumb — tabs section ke andar */
.bi-tabs-section .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 9px 0 10px;
  background: none;
  border-radius: 0;
  list-style: none;
}

.bi-tabs-section .breadcrumb-item {
  display: flex;
  align-items: center;
  font-size: 12.5px;
  color: #888;
}

.bi-tabs-section .breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  padding: 0 7px;
  color: #ddd;
  font-size: 13px;
}

.bi-tabs-section .breadcrumb-item a {
  color: #fc2c00;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.bi-tabs-section .breadcrumb-item a:hover {
  color: #d42300;
}

.bi-tabs-section .breadcrumb-item.active {
  color: #888;
  font-weight: 400;
}
.bi-tabs-wrap {
  display: flex; align-items: center;
  overflow-x: auto; scrollbar-width: none;
}
.bi-tabs-wrap::-webkit-scrollbar { display: none; }
.bi-tab:first-child{
  padding-left: 4px;
} 
.bi-tab {
  flex-shrink: 0;
  background: none; border: none;
  border-bottom: 3px solid transparent;
  padding: 16px 22px;
  font-size: 14px; font-weight: 600;
  color: #555; cursor: pointer; white-space: nowrap;
  font-family: "Plus Jakarta Sans", sans-serif;
  transition: color .2s, border-color .2s;
  margin-bottom: -2px;
  text-decoration: none;
}
.bi-tab:hover  { color: #fc2c00; }
.bi-tabs-scroll .bi-tab.active { color: #fc2c00; border-bottom-color: #fc2c00; margin: 0;}

/* ── Featured Card ── */
.bi-featured-card {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
  border: 1px solid #F0F0F0; min-height: 360px;
}
.bi-featured-img-wrap { overflow: hidden; position: relative; }
.bi-featured-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  display: block; transition: transform .5s ease;
}
.bi-featured-card:hover .bi-featured-img-wrap img { transform: scale(1.04); }
.bi-featured-body {
  padding: 40px 36px;
  display: flex; flex-direction: column; justify-content: center;
  background: #fff;
}
.bi-featured-tag {
  display: inline-block; font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: #fc2c00; background: #fff5f2;
  border: 1px solid #ffd0c5; border-radius: 100px;
  padding: 4px 12px; margin-bottom: 14px; width: fit-content;
}
.bi-featured-title {
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  font-weight: 700; color: #111; line-height: 1.35;
  margin-bottom: 14px; text-decoration: none; display: block;
}
.bi-featured-title:hover { color: #fc2c00; }
.bi-featured-excerpt { font-size: 15px; color: #555; line-height: 1.7; margin-bottom: 22px; flex: 1; }
.bi-featured-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; color: #fc2c00;
  text-decoration: none; transition: gap .25s; width: fit-content;
}
.bi-featured-link:hover { gap: 12px; color: #d42300; }

/* ── Skeleton Loader ── */
.bi-featured-loading {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  width: 100%; min-height: 360px;
}
.bi-skeleton-img  { background: #f0f0f0; width: 100%; height: 100%; }
.bi-skeleton-body { padding: 40px 36px; background: #fff; }
.bi-skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 6px; height: 16px;
}
.bi-skeleton-line { margin-bottom: 0; }
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Category Section ── */
.bi-cat-section { padding: 40px 0; border-top: 1px solid #F0F0F0; }
.bi-cat-header  {
  display: flex; align-items: center;
  justify-content: space-between; margin-bottom: 24px;
}
.bi-cat-name {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2.5px; color: #111;
}
.bi-cat-viewall {
  font-size: 13px; font-weight: 700; color: #fc2c00;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 5px;
  transition: gap .25s;
}
.bi-cat-viewall:hover { gap: 9px; color: #d42300; }
.bi-cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

/* ── Blog Card (Index) ── */
.bi-card {
  display: flex; flex-direction: column;
  background: #fff; border-radius: 14px;
  border: 1px solid #F0F0F0;
  box-shadow: 0 2px 6px rgba(182,178,178,.2);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
  text-decoration: none; color: inherit; cursor: pointer;
}
.bi-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.09);
  color: inherit; text-decoration: none;
}
.bi-card-img {
  width: 100%; height: 240px; display: block;
}
.bi-card-img-placeholder {
  width: 100%; height: 185px;
  background: linear-gradient(135deg, #fff5f2, #ffeae6);
  display: flex; align-items: center; justify-content: center;
}
.bi-card-img-placeholder i { font-size: 1.8rem; color: #fc2c00; opacity: .3; }
.bi-card-body { padding: 18px 20px; flex: 1; display: flex; flex-direction: column; }
.bi-card-tag {
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  color: #fc2c00; margin-bottom: 8px;
}
.bi-card-title {
  font-size: 22px; font-weight: 500; color: #111;
  line-height: 1.5; flex: 1; margin-bottom: 14px;
}
.bi-card-footer {
  border-top: 1px solid #F0F0F0;
  padding-top: 11px;
  display: flex; align-items: center; justify-content: space-between;
}
.bi-card-read {
  font-size: 12px; font-weight: 600; color: #555;
  display: inline-flex; align-items: center; gap: 5px;
  transition: color .2s, gap .2s;
}
.bi-card:hover .bi-card-read { color: #fc2c00; gap: 8px; }

/* ── Filter Grid (search/category view) ── */
.bi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.bi-empty { grid-column: 1/-1; text-align: center; padding: 60px 20px; color: #777; }

/* ============================================================
   BLOG LISTING PAGE — Old styles (kept for compat)
   ============================================================ */

section.blogmain { margin-top: 2rem; }

/* Old search */
.blog-search-wrap  { max-width: 560px; margin: 0 auto; }
.blog-search-inner { position: relative; display: flex; align-items: center; }
.blog-search-icon  { position: absolute; left: 18px; color: #999; font-size: 15px; pointer-events: none; }
.blog-search-input {
  width: 100%; padding: 13px 20px 13px 46px;
  border: 1px solid #EFEFEF; border-radius: 100px;
  font-size: 15px; font-family: "Plus Jakarta Sans", sans-serif;
  background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.06);
  outline: none; transition: border-color .25s, box-shadow .25s;
}
.blog-search-input:focus { border-color: #fc2c00; box-shadow: 0 0 0 3px rgba(252,44,0,.1); }

/* Old filter pills */
.blog-filters-wrap { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.blog-filter-btn {
  border: 1px solid #E0E0E0; background: #fff; color: #333;
  border-radius: 100px; padding: 7px 20px;
  font-size: 13px; font-weight: 600;
  font-family: "Plus Jakarta Sans", sans-serif; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.blog-filter-btn:hover,
.blog-filter-btn.active {
  background: #fc2c00; color: #fff; border-color: #fc2c00;
  box-shadow: 0 4px 12px rgba(252,44,0,.25);
}
#view-more-categories {
  color: #fc2c00; background: none; border: none;
  font-size: 13px; font-weight: 600; cursor: pointer;
  font-family: "Plus Jakarta Sans", sans-serif; padding: 7px 12px;
}
.filter-btn         { margin: 5px; border-radius: 20px; border-color: #000; color: #000; }
.filter-btn.active  { background-color: #fc2c00; color: #fff; border-color: #fc2c00; }
#categories-filters .btn:hover { background-color: #fc2c00; border-color: #fc2c00; color: #fff; }
#categories-filters .btn-link { border: 1px solid #000; border-radius: 24px; color: #000; text-decoration: none; }

/* Old blog grid */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* Old blog cards */
.blog-card {
  display: flex; flex-direction: column;
  background: #fff; border-radius: 14px;
  border: 1px solid #F0F0F0;
  box-shadow: 0 2px 6px rgba(182,178,178,.25);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.08); border-color: #D8D8D8; }
.blog-card-img { width: 100%; height: 200px; object-fit: cover; display: block; border-radius: 14px 14px 0 0; }
.blog-card-img-placeholder {
  width: 100%; height: 200px;
  background: linear-gradient(135deg, #fff5f2 0%, #ffeae6 100%);
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px 14px 0 0;
}
.blog-card-img-placeholder i { font-size: 2rem; color: #fc2c00; opacity: .35; }
.blog-card-body { padding: 20px 22px; flex: 1; display: flex; flex-direction: column; }
.blog-card-title { font-size: 16px; font-weight: 700; color: #111; line-height: 1.5; margin: 0 0 auto; flex: 1; }
.blog-card-title a { color: inherit; text-decoration: none; transition: color .2s; }
.blog-card-title a:hover { color: #fc2c00; }
.blog-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid #F0F0F0; margin-top: 16px; padding-top: 12px;
}
.blog-card-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: #111;
  text-decoration: none; transition: gap .25s, color .25s;
}
.blog-card-link:hover { gap: 10px; color: #fc2c00; }
.blog-card-arrow { font-size: .95rem; transition: transform .25s; }
.blog-card:hover .blog-card-arrow { transform: translateX(3px); }
.blog-empty { grid-column: 1 / -1; text-align: center; padding: 60px 20px; color: #555; font-size: 16px; }
#load-more { cursor: pointer; font-weight: 600; }

/* Old card compat */
.card { border-radius: 10px; overflow: hidden; transition: transform .3s ease, box-shadow .3s ease; }
.card:hover { transform: scale(1.05); box-shadow: 0 4px 20px rgba(0,0,0,.1); }
.card-img-top { height: auto; width: 100%; object-fit: cover; }
.card-title { margin-bottom: 16px; }
.aiservciesdata1 h5.card-title a { color: #000; text-decoration: none; font-size: 18px; }
h5.card-title a:hover { color: #fc2c00; text-decoration: underline; }
.loadmore { margin-top: 2rem; }
.link_btn { margin: 0 auto; display: block; }

/* ============================================================
   BLOG DETAIL — HERO (bd-*)
   ============================================================ */

.bd-hero { border-bottom: 1px solid #F0F0F0; }
.bd-title {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 700; line-height: 1.15;
  margin-bottom: 12px; color: #111;
}
.bd-subdesc {
  font-size: 16px; color: #555;
  font-style: italic; margin-bottom: 18px; line-height: 1.7;
}
.bd-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.bd-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0; border: 2px solid #EFEFEF;
}
.bd-meta-text {
    display: flex;
    flex-direction: column;
    font-size: 14px;
    color: #555;
}
.bd-author a { color: #111; font-weight: 600; text-decoration: none; }
.bd-author a:hover { color: #fc2c00; }
.bd-sep  { color: #bbb; }
.bd-date { color: #777; }

/* Featured image */
.bd-featured-wrap { background: #fff; margin-bottom: 28px; }
.bd-featured-img {
  width: 100%; height:auto; object-fit: cover;
  border-radius: 12px; display: block;
}

/* Body section */
.bd-body-section { padding: 40px 0 60px; }

/* Share bar */
.bd-share {
  display: flex; align-items: center; gap: 10px;
  padding: 20px 0; margin-top: 28px;
  border-top: 1px solid #F0F0F0; flex-wrap: wrap;
}
.bd-share-label { font-weight: 700; font-size: 14px; color: #333; }
.bd-share-btn {
  width: 36px; height: 36px; border-radius: 8px;
  border: 1px solid #EFEFEF;
  display: flex; align-items: center; justify-content: center;
  color: #444; font-size: 14px; text-decoration: none;
  transition: all .25s ease;
}
.bd-share-btn:hover {
  background: #fc2c00; border-color: #fc2c00; color: #fff;
  transform: translateY(-2px); box-shadow: 0 4px 12px rgba(252,44,0,.25);
}

/* Author card */
.bd-author-card {
  display: flex; border-radius: 14px;
  border: 1px solid #EFEFEF;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  overflow: hidden; margin-top: 28px;
}
.bd-author-left {
  background: #F7F8FD; padding: 28px 20px;
  text-align: center; display: flex; flex-direction: column;
  align-items: center; min-width: 160px; gap: 10px;
}
.bd-author-avatar {
  width: 80px; height: 80px; border-radius: 50%; object-fit: cover;
  border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.1);
}
.bd-author-name { font-size: 15px; font-weight: 700; color: #111; margin: 0; }
.bd-author-socials { display: flex; gap: 8px; justify-content: center; }
.bd-author-socials a {
  color: #fc2c00; font-size: 14px; width: 30px; height: 30px;
  border-radius: 6px; border: 1px solid #EFEFEF;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; transition: all .2s;
}
.bd-author-socials a:hover { background: #fc2c00; color: #fff; border-color: #fc2c00; }
.bd-author-right { padding: 24px; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.bd-author-label {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: #fc2c00; margin-bottom: 6px;
}
.bd-author-bio { font-size: 14px; color: #555; line-height: 1.7; margin-bottom: 16px; }

/* ============================================================
   BLOG DETAIL — CONTENT TYPOGRAPHY
   ============================================================ */

.blog-detail-list p { font-size: 17px; line-height: 1.85; margin: 10px 0; letter-spacing: .4px; }
.blog-detail-list span { font-size: 17px; }
.blog-detail-list em   { font-size: 17px; color: #ba1515; padding-right: 4px; }

.blog-detail-list h2 {
  font-size: clamp(1.25rem, 3vw, 1.6rem); font-weight: 700; color: #111;
  margin-top: 40px; margin-bottom: 10px; padding: 10px 0 6px; line-height: 1.35;
}
.blog-detail-list h3 {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem); font-weight: 600; color: #222;
  margin-top: 28px; margin-bottom: 8px; padding: 8px 0 4px; line-height: 1.4;
}
.blog-detail-list h4 { font-size: clamp(1rem, 2vw, 1.15rem); font-weight: 600; color: #333; margin-bottom: 6px; }
.blog-detail-list h5 { font-size: clamp(.95rem, 1.8vw, 1.05rem); font-weight: 500; color: #444; margin-bottom: 5px; }

.blog-detail-list p a,
div.blog-detail-list a { color: #fc2c00; text-decoration: underline; font-weight: 500; transition: color .3s ease; }
.blog-detail-list p a:hover,
div.blog-detail-list a:hover { color: #d42300; text-decoration: none; }

.blog-detail-list ul { margin: 16px 0 16px 32px; padding: 0; }
.blog-detail-list ul li { padding: 5px 0; font-size: 17px; list-style-type: disc; line-height: 1.8; }
.blog-detail-list ul li a  { color: #fc2c00 !important; text-decoration: none; }
.blog-detail-list ul li a:hover { text-decoration: underline; }
.blog-detail-list ol li { padding: 5px 0; font-size: 17px; line-height: 1.8; }

.blog-detail-list .table { margin: 28px 0 24px; }
.blog-detail-list .table tr th { font-size: 16px; font-weight: 600; color: #52231a; }
.blog-detail-list .table tr td { font-size: 15px; }

.blog-detail-list pre {
  font-size: 15px; font-weight: 500; border: 1px solid #eee;
  padding: 18px; background-color: #fff5f2; border-radius: 8px; overflow-x: auto;
}

.blog-detail-list img { width: 100%; margin: 28px auto; display: flex; height: auto; border-radius: 8px; }
.blog-detail-list .img_80  { width: 80%; }
.blog-detail-list .img_60  { width: 60%; }
.blog-detail-list .img_40  { width: 40%; }
.blog-detail-list .img_long { width: auto; height: auto; }
.blog-detail-list h4 a { color: #000; text-decoration: none; }

/* Special blocks */
.quote {
  font-size: 17px; font-style: italic; color: #212529; font-weight: 600;
  margin: 24px 0 24px 16px; letter-spacing: .5px;
  background-color: #fff5f2; border-left: 4px solid #fc2c00;
  padding: .9rem 1.3rem; border-radius: 0 8px 8px 0;
}
p.highlight strong { color: #fc2c00 !important; font-size: 18px; }
p.smallhighligt { margin: 32px 0 0 !important; color: #fc2c00; font-size: 17px !important; font-weight: bold; }

.highlight_content {
  margin: 18px 0 !important; display: flex; color: #000;
  font-size: 17px !important; font-weight: 500;
  padding: 8px 0 8px 44px; position: relative; width: 90%;
}
.highlight_content::before {
  content: ""; position: absolute; left: 22px; top: 0;
  width: 3px; height: 100%; background-color: #fc2c00;
}
.highlight_content a    { color: #fc2c00 !important; text-decoration: none; display: contents; }
.highlight_content a:hover { text-decoration: underline; }
.highlight_content strong { color: #fc2c00 !important; display: contents !important; }

.blog-sec-detail p.highlight { margin: 28px 0; color: #fc2c00; font-size: 17px; font-weight: bold; }
.blog-sec-detail strong,
.blog-sec-detail b { font-weight: 500 !important; color: #212529 !important; font-size: 17px; }
.blog-sec-detail .imp_h { color: #fc2c00 !important; }

div.imp_box {
  border-radius: 10px; padding: 10px 14px 10px 18px;
  border-left: 4px solid #d42300; box-shadow: 0 2px 6px rgba(0,0,0,.07);
  margin: 24px 0; width: 92%; line-height: 1.8; letter-spacing: .8px; font-size: 16px;
}
h2.imp_h { color: #d42300 !important; }

.callout-box {
  background-color: #f6f9fc; border-left: 5px solid #007bff;
  padding: 14px 18px; margin: 18px 0; font-size: 15px;
  line-height: 1.6; color: #333; border-radius: 4px;
}
.callout-box strong { color: #000; }

.mid-cta {
  background-color: #f9f9f9; padding: 36px 20px; text-align: center;
  border-radius: 8px; margin: 48px 0; box-shadow: 0 4px 6px rgba(0,0,0,.1);
}
.mid-cta-content h3 { font-size: 22px; color: #333; margin-bottom: 12px; }
.mid-cta-content p  { font-size: 15px; color: #555; margin-bottom: 20px; }
.cta-button {
  background-color: #f96a35; color: #fff; padding: 11px 28px;
  font-size: 15px; text-decoration: none; border-radius: 4px;
  transition: background-color .3s ease;
}
.cta-button:hover { background-color: #e55b2c; }

.faq_list h5 { margin-top: 10px; padding-top: 10px; border-top: 2px solid #f6ecec; color: #fc2c00 !important; font-size: 17px; }
.faq_list h3 { font-weight: 600; font-size: clamp(1.1rem, 2.5vw, 1.35rem); margin-top: 28px; margin-bottom: 8px; padding: 8px 0 4px; line-height: 1.4; border-top: 2px solid #f6ecec; color: #222 !important; }
.faq_list p  { padding-bottom: 8px; font-size: 15px !important; }

a.underlinetext {
  background-image: linear-gradient(180deg, transparent 92%, #fc2c00 0%);
  background-size: 100% 100%; background-repeat: no-repeat;
  text-decoration: none; transition: background-size .4s ease;
  border-bottom: 0 solid #666; color: #444;
}
a.underlinetext:hover { background-size: 0% 100%; }

/* ============================================================
   TABLE OF CONTENTS — Sidebar
   ============================================================ */

.blogdetailrightcontent { position: sticky; top: 7rem; }
.blogdetailrightcontent h4,
.blogdetailrightcontent h3,
.blogdetailrightcontent .toc-title {
  font-size: 15px; font-weight: 700; color: #fc2c00;
  margin-bottom: 12px; padding-bottom: 8px;
  border-bottom: 2px solid #ffeae6;
  text-transform: uppercase; letter-spacing: .8px;
}
.blogdetailrightcontent ul {
  margin: 0; padding: 0; max-height: 70vh; overflow-y: auto;
  scrollbar-width: thin; scrollbar-color: #e1d5d2 #f5f5f5;
}
.blogdetailrightcontent ul::-webkit-scrollbar { width: 4px; }
.blogdetailrightcontent ul::-webkit-scrollbar-track { background: #f5f5f5; border-radius: 4px; }
.blogdetailrightcontent ul::-webkit-scrollbar-thumb { background: #fc2c00; border-radius: 4px; }
.blogdetailrightcontent ul li { list-style: none; border-bottom: 1px solid #F5F5F5; font-size: 13px; line-height: 1.5; }
.blogdetailrightcontent ul li a {
  display: block; color: #444; text-decoration: none;
  padding: 7px 4px; transition: color .2s, padding-left .2s;
  font-size: 13px; line-height: 1.5;
}
.blogdetailrightcontent ul li a:hover { color: #fc2c00; padding-left: 6px; }
.blogdetailrightcontent ul ul li a { padding-left: 14px; font-size: 12px; color: #666; }
.blogdetailrightcontent ul ul li a:hover { color: #fc2c00; padding-left: 18px; }

.tablecontent {
  background-color: #f7f8fd; margin-top: 0; padding: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,.06); border-radius: 12px; border: 1px solid #EFEFEF;
}
.tablecontent h4 {
  font-size: 14px; font-weight: 700; color: #fc2c00;
  margin-bottom: 10px; padding-bottom: 8px;
  border-bottom: 2px solid #ffeae6; text-transform: uppercase; letter-spacing: .8px;
}
.tablecontent ul { height: auto; max-height: 60vh; overflow-y: auto; margin: 0; padding: 0; }
.tablecontent ul li { padding: 5px 0; font-size: 13px; border-bottom: 1px solid #F5F5F5; }
.tablecontent ul li a { text-decoration: none; color: #444; font-size: 13px; transition: color .2s; }
.tablecontent ul li a:hover { color: #fc2c00; }

.relateedservices {
  background-color: #f7f8fd;  padding: 16px 18px;
  box-shadow: 0 2px 8px rgba(0,0,0,.06); border-radius: 12px; border: 1px solid #EFEFEF;
}
.relateedservicesdata {
  background-color: #f7f8fd; margin-top: 16px; padding: 16px 18px;
  box-shadow: 0 2px 8px rgba(0,0,0,.06); border-radius: 12px; border: 1px solid #EFEFEF;
}
.relateedservicesdata p {
    font-size: 16px;
}
.relateedservices h2 { font-size: 20px; margin-bottom: 10px; }
.relateedservices h4 { color: #fc2c00; font-size: 15px; margin-bottom: 10px; }
.relateedservices p  { font-size: 14px; line-height: 1.6; margin-bottom: 12px; }
.relateedservices .btn-default { font-size: 14px; padding: 6px 14px; color: #fff !important; }
.relateedservices img { width: 90%; height: auto; display: block; margin: 0 0 14px; border-radius: 8px; }
.relateedservices ul { max-height: 300px; overflow-y: auto; margin: 0; padding: 0; }
div.relateedservices ul li { border-bottom: 1px solid #edeef3; padding: 8px 0; font-size: 13px; line-height: 1.5; }
div.relateedservices ul li:last-child { border-bottom: none; }
div.relateedservices a { color: #fc2c00; text-decoration: none; font-weight: 500; transition: color .3s; }
div.relateedservices a:hover { color: #d42300; text-decoration: underline; }

/* Mobile TOC button */
.sidetablecontent {
  position: fixed; top: 50%; right: -46px;
  transform: translateY(-50%) rotate(270deg); z-index: 999;
}
.sidetablecontent .btn { font-size: 12px; padding: 6px 14px; }
@media screen and (min-width: 992px) { .sidetablecontent { display: none; } }

.closemodal {
  position: absolute; right: 0; top: 0;
  background-color: #fc2c00; border-radius: 50%; padding: 8px; line-height: 19px;
}
.closemodal .btn-close {
  background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
  opacity: 1;
}

/* ============================================================
   AUTHOR / PROFILE (compat)
   ============================================================ */

.blog-meta        { display: flex; align-items: center; margin-bottom: 16px; }
.authorimg img    { width: 44px; border-radius: 50%; margin-right: 10px; height: 44px; object-fit: cover; }
.authorimg a      { color: #4a4a4a; }
.authormain       { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.authorname       { border-right: 1px solid #a7a7a7; padding-right: 10px; }
.authorname span  { font-weight: 700; color: #4a4a4a; font-size: 14px; }
.authorpublished  { padding-left: 10px; font-size: 14px; color: #777; }
.blog-meta span   { font-weight: 700; color: #4a4a4a; font-size: 14px; }
.blog-meta span a { color: #4a4a4a; font-weight: 700; }

.maincategory { margin-bottom: 14px; }
.maincategory .categorydata {
    color: #fc2c00;
    margin-right: 8px;
    text-decoration: none;
    padding: 5px 14px;
    /* border-radius: 100px; */
    font-size: 12px;
    /* font-weight: 600; */
    background: #ebeef3;
    /* border: 1px solid #fc2c00; */
    display: inline-block;
    margin-bottom: 6px;
    transition: background .2s, color .2s;
}
.maincategory .categorydata:hover { background: #fc2c00; color: #fff; }

.featuredimg img { width: 100%; margin: 0 auto; display: block; height: auto; border-radius: 8px; }

.profilecardmain {
  border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,.06);
  border: 1px solid #EFEFEF; margin-top: 20px; overflow: hidden;
}
.profilecarditems { background-color: #F7F8FD; border-radius: 10px 0 0 10px; }
.profile-card     { text-align: center; padding: 32px 16px; }
.profile-img      { width: 90px; height: 90px; border-radius: 50%; object-fit: cover; }
.profile-card-content { padding: 32px 20px; }
.profile-card-content h5 { font-size: 20px; margin-bottom: 10px; }
.profile-card-content p  { font-size: 15px; color: #555; }
.social-icons a {
  margin: 0 6px; color: #fc2c00; font-size: 16px;
  width: 32px; height: 32px; border-radius: 6px; border: 1px solid #EFEFEF;
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; transition: all .2s;
}
.social-icons a:hover { background: #fc2c00; color: #fff; border-color: #fc2c00; }
.view-articles { margin-top: 20px; }
.view-articles .btn-outline-dark { color: #212529; border-color: #fc2c00; border-radius: 27px; }

.social-btn-blog {
  display: flex; align-items: center; gap: 10px;
  padding: 20px 0; margin-top: 28px; border-top: 1px solid #F0F0F0; flex-wrap: wrap;
}
.social-btn-blog p { font-weight: 700; font-size: 14px; color: #333; margin: 0; }
.social-btn-blog a {
  width: 36px; height: 36px; border-radius: 8px; border: 1px solid #EFEFEF;
  display: flex; align-items: center; justify-content: center;
  color: #444; font-size: 14px; text-decoration: none; transition: all .25s;
}
.social-btn-blog a:hover { background: #fc2c00; border-color: #fc2c00; color: #fff; }
#bi-filter-view .bi-grid::before{
    display: none;
}
/* ============================================================
   VIDEO EMBED
   ============================================================ */

.video-container { text-align: center; max-width: 560px; margin: auto 0 20px; }
.video-container h4 { font-size: 15px; padding-bottom: 5px; }
.video-title { font-size: 17px; font-weight: bold; text-align: center; margin-bottom: 24px; color: #333; }
.youtube-wrapper { position: relative; display: inline-block; cursor: pointer; }
.youtube-wrapper img { width: 100%; height: auto; border-radius: 8px; }
.play-button {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%); background: rgba(0,0,0,.7);
  width: 70px; height: 70px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.play-button i { color: #fff; font-size: 28px; }
.solution-section { padding: 28px 0; }

/* ============================================================
   MISC
   ============================================================ */

.margin30top { margin-top: 28px; }
figure   { margin: 1.8rem 0; }
figcaption { font-size: .85rem; color: #555; margin-top: -2rem; text-align: center; }
caption { text-align: center; margin-top: 1.2rem; }
.hde { font-weight: 500; }
.toc { margin: 14px 0 20px; padding: 10px 14px; border: 1px solid #e6e6e6; border-radius: 8px; }
.toc ul { margin: 8px 0 0; padding-left: 16px; }
.section-divider { margin: 24px 0; border: 0; border-top: 1px solid #eee; }
.note    { margin: 10px 0 14px; padding: 10px 12px; border-left: 4px solid #ddd; background: #fafafa; }
.callout { margin: 12px 0 16px; padding: 12px 14px; border: 1px solid #eee; background: #fcfcfc; border-radius: 8px; }

.btn-primary { color: #fff; background-color: #fc2c00; border-color: #fc2c00; }
.btn-primary:hover,
.btn-primary:focus { color: #fff; background-color: #fc2c00; border-color: #fc2c00; box-shadow: none; }

/* ══════════════════════════════
   PAGINATION — Theme #fc2c00
══════════════════════════════ */
.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 40px 0 20px;
  padding: 0;
  list-style: none;
}
/* Search input — wider + smaller font */
.blog-autosuggest input.form-control {
  width: 290px;
  height: 38px;
  padding: 0 14px 0 36px;
  border: 1.5px solid #e8e8e8;
  border-radius: 8px;
  font-size: 12.5px;
  color: #333;
  background: #fafafa;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.blog-autosuggest input.form-control:focus {
  border-color: #fc2c00;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(252,44,0,.07);
}

/* Breadcrumb — pill tags */
.bi-tabs-section .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 10px 0 12px;
  background: none;
  border-radius: 0;
  list-style: none;
}

.bi-tabs-section .breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
}

/* chevron separator */
.bi-tabs-section .breadcrumb-item + .breadcrumb-item::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid #ccc;
  border-top: 1.5px solid #ccc;
  transform: rotate(45deg);
  margin-right: 2px;
}

/* linked items — pill style */
.bi-tabs-section .breadcrumb-item a {
  display: inline-flex;
  align-items: center;
  font-size: 11.5px;
  font-weight: 600;
  color: #fc2c00;
  text-decoration: none;
  background: #fff5f2;
  border: 1px solid #ffd0c5;
  border-radius: 100px;
  padding: 3px 10px;
  transition: background 0.2s, color 0.2s;
}
.bi-tabs-section .breadcrumb-item a:hover {
  background: #fc2c00;
  color: #fff;
  border-color: #fc2c00;
}

/* last / active item */
/* .bi-tabs-section .breadcrumb-item.active {
  display: inline-flex;
  align-items: center;
  font-size: 11.5px;
  font-weight: 400;
  color: #888;
  background: #f5f5f5;
  border: 1px solid #e8e8e8;
  border-radius: 100px;
  padding: 3px 10px;
} */
.pagination a,
.pagination span.current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  background: #fff;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

/* Hover state */
.pagination a:hover {
  background: #fff5f2;
  border-color: #fc2c00;
  color: #fc2c00;
}

/* Active / current page */
.pagination span.current {
  background: #fc2c00;
  border-color: #fc2c00;
  color: #fff;
  cursor: default;
  pointer-events: none;
}

/* Prev / Next links */
.pagination a:first-child,
.pagination a:last-child {
  padding: 0 14px;
  font-size: 13px;
  color: #fc2c00;
  border-color: #fc2c00;
  background: #fff5f2;
}

.pagination a:first-child:hover,
.pagination a:last-child:hover {
  background: #fc2c00;
  color: #fff;
}
/* ══════════════════════════════════════
   BREADCRUMB SECTION
══════════════════════════════════════ */
.bi-breadcrumb-section {
  background: #fafafa;
  border-bottom: 1px solid #F0F0F0;
  padding: 18px 0;
}

.bi-breadcrumb-section .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  background: none;
  list-style: none;
}

.bi-breadcrumb-section .breadcrumb-item {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
}
.latestblog1 img {
    border-radius: 20px 20px 0 0;
    height: 220px;
    width: 100%;
}
.latestblog1 {
    background-color: #fff;
    border-radius: 20px;
    border: 1px solid #cfcfcf;
    height: 450px;
}
div.swiper-slide p {
    font-size: 16px !important;
}
.latestblogcontent1 h6 {
    font-size: 20px;
    padding-top: 12px;
    margin-bottom: 14px;
}
div.swiper-slide p {
    font-size: 16px !important;
}
.latestblogcontent1 p {
    color: #9c9fa6;
}
.latestblogcontent1 .viewaiservcies {
    position: absolute;
    bottom: 11px;
    font-size: 20px;
    padding: 8px 0 8px 0;
    color: #000;
    text-decoration: none;
}
.latestblogcontent1 .viewaiservcies:hover i.far {
    color: #fc2c00;
}
.latestblog1 .latestblogcontent1 {
    padding: 0 15px 0 15px;
}
/* chevron arrow separator */
.bi-breadcrumb-section .breadcrumb-item + .breadcrumb-item::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid #ccc;
  border-top: 1.5px solid #ccc;
  transform: rotate(45deg);
  margin-right: 6px;
  flex-shrink: 0;
}
.bi-breadcrumb-section .breadcrumb-item a{
  text-decoration: none;
}
/* linked breadcrumb items — pill style */
/* .bi-breadcrumb-section .breadcrumb-item a {
  display: inline-flex;
  align-items: center;
  font-size: 11.5px;
  font-weight: 600;
  color: #fc2c00;
  text-decoration: none;
  background: #fff5f2;
  border: 1px solid #ffd0c5;
  border-radius: 100px;
  padding: 3px 11px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
} */
/* .bi-breadcrumb-section .breadcrumb-item a:hover {
  background: #fc2c00;
  color: #fff;
  border-color: #fc2c00;
} */

/* active (last) item */
/* .bi-breadcrumb-section .breadcrumb-item.active {
  display: inline-flex;
  align-items: center;
  font-size: 11.5px;
  font-weight: 400;
  color: #777;
  background: #f0f0f0;
  border: 1px solid #e2e2e2;
  border-radius: 100px;
  padding: 3px 11px;
} */

/* Bootstrap ka default separator override */
.bi-breadcrumb-section .breadcrumb-item + .breadcrumb-item {
  padding-left: 0;
}
.bi-card-tag ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
}

.bi-card-tag ul li {
  padding: 0;
  list-style: none;
}

.bi-badge {
  display: inline-flex;
  align-items: center;
  font-size: 8px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fc2c00;
  border: 1px solid #ffd0c5;
  border-radius: 100px;
  padding: 3px 10px;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  line-height: 1.5;
}

.bi-card:hover .bi-badge {
 /* background: #fc2c00;
  color: #fff;
  border-color: #fc2c00;*/
}
@media (max-width: 576px) {
  .bi-breadcrumb-section {
    padding: 14px 0;
  }
  .bi-breadcrumb-section .breadcrumb-item a,
  .bi-breadcrumb-section .breadcrumb-item.active {
    font-size: 11px;
    padding: 2px 9px;
  }
    .bi-badge {
    font-size: 9px;
    padding: 2px 8px;
    letter-spacing: 0.8px;
  }

  .bi-card-tag ul {
    gap: 4px;
  }
}
/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ── Index responsive ── */
@media (max-width: 991px) {
  .bi-featured-card     { grid-template-columns: 1fr; min-height: auto; }
  .bi-featured-img-wrap { height: 240px; }
  .bi-featured-body     { padding: 26px 22px; }
  .bi-featured-loading  { grid-template-columns: 1fr; }
  .bi-skeleton-img      { height: 220px; }
  .bi-cat-grid          { grid-template-columns: repeat(2, 1fr); }
  .bi-grid              { grid-template-columns: repeat(2, 1fr); }
  .blog-grid            { grid-template-columns: repeat(2, 1fr); }
    .bi-tabs-wrap {
    flex-wrap: wrap;
  }
  .bi-tabs-scroll {
    width: 100%;
    flex: unset;
    order: 1;
  }
.bi-search-toggle-wrap {
    order: 2;
    width: 100%;
    border-left: none !important;
    border-top: 1px solid #F0F0F0;
    margin-left: 0;
    justify-content: flex-start;
    padding: 10px 0 !important;
}
.bi-tabs-section {
    position: static;
}
  .blog-autosuggest {
    width: 100%;
  }
  .blog-autosuggest input.form-control {
    width: 100%;
  }
}
@media (max-width: 576px) {
  .bi-hero h1           { font-size: 1.7rem; }
  .bi-tab               { padding: 13px 15px; font-size: 13px; }
  .bi-cat-grid          { grid-template-columns: 1fr; }
  .bi-grid              { grid-template-columns: 1fr; }
  .bi-featured-body     { padding: 20px 16px; }
  .bi-featured-img-wrap { height: 200px; }
  .blog-grid            { grid-template-columns: 1fr; }
}

/* ── Detail responsive ── */
@media screen and (max-width: 991px) {
  .bd-featured-img    { max-height: 280px; border-radius: 8px; }
  .bd-body-section    { padding: 24px 0 40px; }
  .table-content-main { display: none !important; }

  .blog-detail-list p    { font-size: 16px; line-height: 1.75; }
  .blog-detail-list h2   { margin-top: 24px; padding: 6px 0; }
  .blog-detail-list h3   { padding: 6px 0; }
  .blog-detail-list ul   { margin: 12px 0 14px 18px; }
  .blog-detail-list ul li { font-size: 15px; padding: 4px 0; }
  .blog-detail-list img  { width: 100%; margin: 18px auto; }
  .blog-detail-list .img_80,
  .blog-detail-list .img_60,
  .blog-detail-list .img_40  { width: 100%; }
  .blog-detail-list .img_long { width: 100%; height: auto; }

  div.imp_box  { width: 100%; font-size: 15px; }
  .blog-sec-detail p.highlight { margin: 20px 0; font-size: 16px; }
  .highlight_content { font-size: 15px !important; padding-left: 36px; width: 100%; }
  .margin30top { margin-top: 18px; }
}
@media screen and (max-width: 767px) {
  .bd-author-card   { flex-direction: column; }
  .bd-author-left   { min-width: unset; padding: 20px 14px; }
  .bd-author-right  { padding: 18px; }
  .profilecarditems { border-radius: 10px 10px 0 0; }
  .authormain       { flex-direction: column; gap: 2px; }
  .authorname       { border-right: none; padding-right: 0; }
  .authorpublished  { padding-left: 0; }
}
@media screen and (max-width: 576px) {
  .bd-title     { font-size: 1.35rem; }
  .bd-subdesc   { font-size: 15px; }
  .bd-meta-text { font-size: 13px; }
  .blog-detail-list p  { font-size: 15px; }
  .blog-detail-list h2 { font-size: 1.2rem; }
  .blog-detail-list h3 { font-size: 1.05rem; }
  .maincategory .categorydata { font-size: 11px; padding: 4px 10px; }
    .pagination a,
  .pagination span.current {
    min-width: 34px;
    height: 34px;
    font-size: 13px;
    padding: 0 8px;
    border-radius: 6px;
  }
   /* .blog-autosuggest input.form-control {
    width: 150px;
    font-size: 12px;
  } */


  .pagination a:first-child,
  .pagination a:last-child {
    padding: 0 10px;
  }
}
@media screen and (max-width: 480px) {
  .maincategory .categorydata { display: inline-block; margin-bottom: 6px; }
  .blog-detail-list .img_80,
  .blog-detail-list .img_60,
  .blog-detail-list .img_40,
  .blog-detail-list .img_long { width: 100%; height: auto; }
  .margin30top { margin-top: 16px; }
}
@media (max-width: 360px) {
  .pagination {
    gap: 4px;
  }

  .pagination a,
  .pagination span.current {
    min-width: 30px;
    height: 30px;
    font-size: 12px;
  }
}
