body.page-blog-article {
  --ba-g: #1b4d3e;
  --ba-gd: #123629;
  --ba-gl: #2a6b56;
  --ba-go: #c9944a;
  --ba-gol: #ddb06e;
  --ba-iv: #f8f2e8;
  --ba-bg: #f6f8f6;
  --ba-paper: #fff;
  --ba-ink: #1b3a30;
  --ba-muted: #5d6f68;
  --ba-line: #e4ebe6;
  background: var(--ba-bg);
  color: var(--ba-ink);
  overflow-x: clip;
}

body.page-blog-article #preloader {
  background: var(--ba-gd);
}

body.page-blog-article nav,
body.page-blog-article nav.scrolled {
  background: #123629;
  backdrop-filter: none;
  box-shadow: 0 1px 0 rgba(201, 148, 74, .18);
}

body.page-blog-article footer {
  background: var(--ba-gd);
}

body.page-blog-article #blog-detail {
  padding: calc(28px + 70px + var(--site-scroller-h)) 0 80px;
  background: var(--ba-bg);
  max-width: 100%;
}

.ba-wrap {
  width: min(100% - 40px, 1180px);
  margin: 0 auto;
  max-width: 100%;
  min-width: 0;
}

.ba-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #7a8a82;
  margin-bottom: 22px;
  position: static;
  height: auto;
  background: none;
  box-shadow: none;
  padding: 0;
}

.ba-crumb a {
  color: #7a8a82;
  text-decoration: none;
}

.ba-crumb a:hover {
  color: var(--ba-go);
}

.ba-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 36px;
  align-items: start;
}

.ba-main,
.ba-side,
.ba-head,
.ba-prose {
  min-width: 0;
  max-width: 100%;
}

.ba-main {
  overflow-x: clip;
}

.ba-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ba-go);
  margin-bottom: 8px;
}

.ba-series-part {
  font-size: 12px;
  font-weight: 650;
  color: var(--ba-g);
  margin: 0 0 12px;
}

.ba-series {
  margin: 8px 0 8px;
  padding: 20px 18px 16px;
  background: var(--ba-gd);
  border-radius: 16px;
  color: #fff;
}

.ba-series h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
  letter-spacing: 0;
  text-transform: none;
}

.ba-series-sub {
  font-size: 12px;
  color: var(--ba-gol);
  margin: 0 0 14px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.ba-series-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.ba-series-link {
  display: block;
  padding: 12px 14px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(201, 148, 74, .28);
  border-radius: 12px;
  text-decoration: none;
  color: #fff;
  min-width: 0;
}

.ba-series-link:hover {
  background: rgba(201, 148, 74, .16);
}

.ba-series-link span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ba-go);
  margin-bottom: 6px;
}

.ba-series-link strong {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.35;
  color: #fff;
}

.ba-series-link em {
  display: block;
  margin-top: 6px;
  font-style: normal;
  font-size: 12px;
  color: rgba(255, 255, 255, .62);
}

.ba-series-later {
  list-style: none;
  padding: 10px 0 0;
  margin: 8px 0 0;
  border-top: 1px solid rgba(201, 148, 74, .22);
}

.ba-series-later li + li {
  margin-top: 8px;
}

.ba-series-later a {
  display: flex;
  gap: 10px;
  align-items: baseline;
  color: rgba(255, 255, 255, .88);
  text-decoration: none;
  font-size: 13.5px;
  line-height: 1.4;
}

.ba-series-later a:hover {
  color: var(--ba-gol);
}

.ba-series-later span {
  flex: none;
  font-size: 11px;
  font-weight: 700;
  color: var(--ba-go);
}

.ba-kicker::before {
  content: '';
  width: 28px;
  height: 3px;
  background: var(--ba-go);
  border-radius: 2px;
}

.ba-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(30px, 4.2vw, 46px);
  font-weight: 700;
  line-height: 1.18;
  color: var(--ba-gd);
  letter-spacing: -.02em;
  margin: 0 0 10px;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
}

.ba-sub {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 500;
  color: var(--ba-gl);
  line-height: 1.35;
  margin: 0 0 22px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.ba-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-bottom: 18px;
}

.ba-byline img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--ba-go);
}

.ba-byline-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--ba-gd);
}

.ba-byline-role {
  font-size: 12px;
  color: var(--ba-muted);
  line-height: 1.45;
}

.ba-byline-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-left: auto;
  font-size: 13px;
  color: var(--ba-muted);
}

.ba-byline-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ba-byline-meta svg {
  color: var(--ba-go);
}

.ba-hero {
  margin: 0 0 28px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--ba-iv);
}

.ba-hero img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.ba-prose {
  color: #3d4f47;
  font-size: 16px;
  line-height: 1.8;
}

.ba-prose > h1:first-child {
  display: none;
}

.ba-prose p {
  margin: 0 0 1.15em;
  color: #3d4f47;
  font-size: 16px;
  line-height: 1.85;
}

.ba-prose p:first-of-type::first-letter {
  all: unset;
}

.ba-prose h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(22px, 2.3vw, 28px);
  font-weight: 700;
  color: var(--ba-gd);
  margin: 1.8em 0 .7em;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  gap: 12px;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  scroll-margin-top: calc(96px + var(--site-scroller-h));
}

.ba-prose h2::before {
  content: attr(data-n);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--ba-go);
  letter-spacing: .04em;
  flex: none;
}

.ba-prose h2.ba-h-plain {
  font-size: 20px;
  align-items: center;
  gap: 10px;
}

.ba-prose h2.ba-h-plain::before {
  content: '';
  width: 22px;
  height: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' fill='none' stroke='%231b4d3e' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M8 6h13M8 12h13M8 18h13M3 6h.01M3 12h.01M3 18h.01'/%3E%3C/svg%3E") center/contain no-repeat;
}

.ba-prose h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px;
  color: var(--ba-gd);
  margin: 1.4em 0 .6em;
}

.ba-prose ul,
.ba-prose ol {
  margin: 0 0 1.3em;
  padding-left: 1.2em;
}

.ba-prose li {
  margin: 0 0 .45em;
  color: #3d4f47;
}

.ba-prose strong {
  color: var(--ba-gd);
  font-weight: 650;
}

.ba-prose img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  margin: 8px 0 18px;
}

.ba-prose a {
  color: var(--ba-g);
}

.ba-takeaways {
  list-style: none;
  padding: 22px 24px 16px;
  margin: 0 0 28px;
  background: #eef5f1;
  border-radius: 16px;
}

.ba-takeaways li {
  position: relative;
  padding-left: 28px;
  margin: 0 0 10px;
  font-size: 14.5px;
  line-height: 1.55;
}

.ba-takeaways li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #dceee4 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b4d3e' stroke-width='3'%3E%3Cpath d='M5 12.5 9.2 17 19 7'/%3E%3C/svg%3E") center/12px no-repeat;
}

.ba-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 8px 0 28px;
  border-radius: 12px;
  box-shadow: 0 0 0 1px var(--ba-line);
  background: #fff;
}

.ba-prose table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin: 8px 0 28px;
  font-size: 13.5px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 0 0 1px var(--ba-line);
}

.ba-table-wrap table {
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  max-width: none;
}

.ba-prose th,
.ba-prose td {
  text-align: left;
  padding: 12px 14px;
  vertical-align: top;
  border-bottom: 1px solid var(--ba-line);
}

.ba-prose th {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  background: var(--ba-g);
}

.ba-prose tr:last-child td {
  border-bottom: 0;
}

.ba-prose tbody tr:nth-child(even) {
  background: #f4f8f6;
}

.ba-salah,
.ba-prose blockquote {
  margin: 0 0 24px;
  padding: 16px 18px 16px 18px;
  background: var(--ba-iv);
  border: 1px solid #ead9b8;
  border-radius: 14px;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-style: normal;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ba-ink);
}

.ba-salah::before,
.ba-prose blockquote::before {
  content: 'Vinod Patil Ki Salah';
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ba-go);
  margin-bottom: 8px;
}

.ba-continue {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 28px;
  padding: 11px 18px;
  background: var(--ba-go);
  color: var(--ba-gd) !important;
  text-decoration: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
}

.ba-continue::after {
  content: '→';
}

.ba-continue:hover {
  background: var(--ba-gol);
}

.ba-side {
  position: sticky;
  top: calc(86px + var(--site-scroller-h));
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: calc(100dvh - 86px - var(--site-scroller-h) - 16px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 148, 74, .4) transparent;
  z-index: 2;
}

.ba-card {
  background: var(--ba-paper);
  border: 1px solid var(--ba-line);
  border-radius: 16px;
  padding: 18px 18px 16px;
}

.ba-card h3,
.ba-card h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ba-gd);
  margin: 0 0 12px;
}

.ba-toc-card {
  background: var(--ba-gd);
  border-color: transparent;
}

.ba-toc-card h3 {
  color: #fff;
  margin-bottom: 16px;
}

.ba-toc {
  list-style: none;
  padding: 0 0 0 14px;
  margin: 0;
  border-left: 2px solid rgba(201, 148, 74, .35);
}

.ba-toc li {
  position: relative;
}

.ba-toc li + li {
  margin-top: 12px;
}

.ba-toc a {
  display: flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  color: rgba(255, 255, 255, .78);
  font-size: 13.5px;
  line-height: 1.35;
  margin-left: -15px;
}

.ba-toc a:hover,
.ba-toc a.is-active {
  color: #fff;
}

.ba-toc-n {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--ba-gd);
  background: var(--ba-go);
}

.ba-cta-card {
  background: var(--ba-iv);
  border-color: #ead9b8;
}

.ba-cta-card h4 {
  text-transform: none;
  letter-spacing: 0;
  font-size: 17px;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  color: var(--ba-go);
}

.ba-cta-card p {
  font-size: 13.5px;
  color: var(--ba-muted);
  line-height: 1.55;
  margin: 0 0 14px;
}

.ba-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 12px;
  background: var(--ba-gd);
  color: #fff !important;
  text-decoration: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
}

.ba-wa:hover {
  background: var(--ba-g);
}

.ba-cta-note {
  margin-top: 10px;
  font-size: 12px;
  color: #8a9a93;
}

.ba-author {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.ba-author img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--ba-go);
}

.ba-author strong {
  display: block;
  font-size: 14px;
  color: var(--ba-gd);
}

.ba-author span {
  font-size: 12px;
  color: var(--ba-muted);
  line-height: 1.4;
}

.ba-author-bio {
  font-size: 13.5px;
  color: #4d5f57;
  line-height: 1.6;
  margin: 0 0 14px;
}

.ba-profile {
  display: block;
  text-align: center;
  padding: 10px 12px;
  border: 1.5px solid var(--ba-go);
  color: var(--ba-go);
  text-decoration: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
}

.ba-profile:hover {
  background: var(--ba-go);
  color: var(--ba-gd);
}

.ba-related-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.ba-related-head h3 {
  margin: 0;
}

.ba-related-head a {
  font-size: 12px;
  color: var(--ba-go);
  text-decoration: none;
}

.ba-related-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px;
  text-decoration: none;
  color: inherit;
  padding: 8px 0;
  border-top: 1px solid var(--ba-line);
}

.ba-related-item:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.ba-related-item img {
  width: 72px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
}

.ba-related-item strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 13.5px;
  line-height: 1.35;
  color: var(--ba-gd);
}

.ba-related-item span {
  display: block;
  margin-top: 4px;
  font-size: 11.5px;
  color: var(--ba-muted);
}

.ba-proj-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 210px;
  padding: 20px 18px;
  border-radius: 16px;
  text-decoration: none;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(18, 54, 41, .25) 0%, rgba(18, 54, 41, .88) 100%),
    var(--ba-proj) center/cover no-repeat;
}

.ba-proj-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 14px;
}

.ba-proj-btn {
  display: inline-flex;
  align-self: flex-start;
  padding: 8px 14px;
  background: var(--ba-go);
  color: var(--ba-gd);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
}

.ba-proj-card:hover .ba-proj-btn {
  background: var(--ba-gol);
}

@media (max-width: 980px) {
  .ba-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .ba-side {
    position: static;
    max-height: none;
    overflow: visible;
    z-index: auto;
  }

  .ba-byline-meta {
    margin-left: 0;
    width: 100%;
  }
}

@media (max-width: 720px) {
  body.page-blog-article #blog-detail {
    padding: calc(20px + 70px + var(--site-scroller-h)) 0 56px;
  }

  .ba-wrap {
    width: min(100% - 24px, 1180px);
  }

  .ba-crumb {
    gap: 6px;
    font-size: 11px;
    margin-bottom: 16px;
  }

  .ba-crumb span:last-child {
    flex: 1 1 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .ba-kicker {
    margin-bottom: 8px;
  }

  .ba-title {
    font-size: 26px;
    line-height: 1.2;
    letter-spacing: -.015em;
  }

  .ba-sub {
    font-size: 17px;
    margin-bottom: 16px;
  }

  .ba-byline {
    align-items: flex-start;
    gap: 10px 12px;
    margin-bottom: 14px;
  }

  .ba-byline-role {
    font-size: 11.5px;
  }

  .ba-hero {
    margin-bottom: 20px;
    border-radius: 12px;
  }

  .ba-prose,
  .ba-prose p {
    font-size: 15.5px;
    line-height: 1.75;
  }

  .ba-prose h2 {
    font-size: 20px;
    gap: 8px;
    margin: 1.5em 0 .6em;
    scroll-margin-top: calc(88px + var(--site-scroller-h));
  }

  .ba-prose h3 {
    font-size: 17px;
  }

  .ba-prose table {
    display: table;
    width: max(100%, max-content);
    max-width: none;
    overflow: visible;
  }

  .ba-prose th,
  .ba-prose td {
    padding: 10px 11px;
  }

  .ba-takeaways {
    padding: 16px 16px 10px;
  }

  .ba-continue {
    width: 100%;
    justify-content: center;
    margin-bottom: 22px;
  }

  .ba-card {
    padding: 16px;
  }

  .ba-wa {
    padding: 12px 10px;
    text-align: center;
    line-height: 1.3;
  }

  .ba-proj-card {
    min-height: 180px;
  }

  .ba-proj-title {
    font-size: 20px;
  }

  .ba-series-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .ba-title {
    font-size: 24px;
  }

  .ba-sub {
    font-size: 16px;
  }

  .ba-byline img {
    width: 42px;
    height: 42px;
  }
}
