body.single-post {
  --bcg-navy: #0b2239;
  --bcg-blue: #1774ba;
  --bcg-red: #e72328;
  --bcg-ink: #22313d;
  --bcg-muted: #60717f;
  --bcg-line: #dde7ee;
  --bcg-ice: #f4f8fb;
  --bcg-white: #fff;
  background: var(--bcg-white);
  color: var(--bcg-ink);
}

.bcg-single-post,
.bcg-single-post button,
.bcg-single-post input,
.bcg-single-post textarea,
.bcg-single-post select {
  font-family: Manrope, Inter, Arial, sans-serif;
}

.bcg-post-hero {
  padding: 76px 24px 62px;
  background-color: var(--bcg-navy);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 32px 32px;
}

.bcg-post-hero__inner { width: min(100%, 980px); margin: 0 auto; }
.bcg-breadcrumb { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 30px; color: #b8cad8; font-size: 13px; font-weight: 650; }
.bcg-breadcrumb a { color: #dce9f2; text-decoration: none; }
.bcg-breadcrumb a:hover { color: #fff; }
.bcg-post-categories { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.bcg-post-categories a { padding: 7px 11px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.bcg-post-categories a:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.bcg-post-hero h1 { max-width: 900px; margin: 0; color: #fff; font-size: clamp(38px, 5.4vw, 66px); font-weight: 750; letter-spacing: -.035em; line-height: 1.08; }
.bcg-post-intro { max-width: 780px; margin-top: 22px; color: #d9e5ed; font-size: 18px; line-height: 1.7; }
.bcg-post-intro p { margin: 0; }
.bcg-post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 26px; color: #bfd0dc; font-size: 13px; font-weight: 650; }

.bcg-post-shell { width: min(calc(100% - 40px), 900px); margin: 0 auto; padding: 54px 0 84px; }
.bcg-featured-image { margin: 0 0 42px; overflow: hidden; border-radius: 20px; box-shadow: 0 18px 44px rgba(11,34,57,.12); }
.bcg-featured-image img { display: block; width: 100%; max-height: 560px; object-fit: cover; }

.bcg-post-content { color: var(--bcg-ink); font-size: 17px; font-weight: 400; line-height: 1.82; }
.bcg-post-content > :first-child { margin-top: 0; }
.bcg-post-content > :last-child { margin-bottom: 0; }
.bcg-post-content p { margin: 0 0 1.45em; }
.bcg-post-content h2,
.bcg-post-content h3,
.bcg-post-content h4 { color: var(--bcg-navy); font-weight: 750; letter-spacing: -.018em; }
.bcg-post-content h2 { margin: 1.75em 0 .58em; font-size: clamp(28px, 4vw, 36px); line-height: 1.22; }
.bcg-post-content h3 { margin: 1.6em 0 .55em; font-size: 25px; line-height: 1.3; }
.bcg-post-content h4 { margin: 1.45em 0 .5em; font-size: 20px; line-height: 1.35; }
.bcg-post-content a { color: var(--bcg-blue); text-decoration-color: rgba(23,116,186,.35); text-underline-offset: 3px; }
.bcg-post-content a:hover { color: var(--bcg-navy); }
.bcg-post-content ul,
.bcg-post-content ol { margin: 0 0 1.55em; padding-left: 1.4em; }
.bcg-post-content li { margin-bottom: .45em; padding-left: .25em; }
.bcg-post-content li::marker { color: var(--bcg-blue); font-weight: 800; }
.bcg-post-content blockquote { margin: 2em 0; padding: 22px 26px; border-left: 4px solid var(--bcg-blue); border-radius: 0 12px 12px 0; background: var(--bcg-ice); color: #334b5e; font-size: 19px; font-weight: 550; line-height: 1.7; }
.bcg-post-content blockquote p:last-child { margin-bottom: 0; }
.bcg-post-content figure { margin: 2.2em 0; }
.bcg-post-content figure img,
.bcg-post-content > img { display: block; max-width: 100%; height: auto; margin-right: auto; margin-left: auto; border-radius: 16px; }
.bcg-post-content figcaption { margin-top: 10px; color: var(--bcg-muted); font-size: 13px; line-height: 1.5; text-align: center; }
.bcg-post-content table { width: 100%; margin: 2em 0; overflow: hidden; border: 1px solid var(--bcg-line); border-collapse: separate; border-spacing: 0; border-radius: 12px; font-size: 14px; }
.bcg-post-content th { padding: 13px 15px; background: var(--bcg-navy); color: #fff; font-weight: 750; text-align: left; }
.bcg-post-content td { padding: 13px 15px; border-top: 1px solid var(--bcg-line); background: #fff; }
.bcg-post-content tr:nth-child(even) td { background: #f7fafc; }
.bcg-post-content code { padding: 2px 6px; border-radius: 5px; background: #eef3f6; color: #8f2630; font-size: .9em; }
.bcg-post-content pre { overflow-x: auto; margin: 2em 0; padding: 20px; border-radius: 12px; background: var(--bcg-navy); color: #e8f1f6; }
.bcg-post-content pre code { padding: 0; background: transparent; color: inherit; }

.bcg-post-tags { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; margin-top: 48px; padding: 22px 0; border-top: 1px solid var(--bcg-line); border-bottom: 1px solid var(--bcg-line); }
.bcg-post-tags > span { padding-top: 7px; color: var(--bcg-navy); font-size: 13px; font-weight: 800; text-transform: uppercase; }
.bcg-post-tags > div { display: flex; flex-wrap: wrap; gap: 8px; }
.bcg-post-tags a { padding: 7px 11px; border: 1px solid #c9d9e5; border-radius: 999px; color: #3d5668; font-size: 12px; font-weight: 700; text-decoration: none; }
.bcg-post-tags a:hover { border-color: var(--bcg-blue); color: var(--bcg-blue); }

.bcg-post-navigation { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 34px 0 0; }
.bcg-post-navigation a { min-width: 0; padding: 20px; border: 1px solid var(--bcg-line); border-radius: 14px; color: var(--bcg-navy); text-decoration: none; transition: transform .2s, border-color .2s, box-shadow .2s; }
.bcg-post-navigation a:hover { transform: translateY(-2px); border-color: #9fc7e1; box-shadow: 0 12px 28px rgba(11,34,57,.08); }
.bcg-post-navigation span { display: block; margin-bottom: 7px; color: var(--bcg-blue); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.bcg-post-navigation strong { display: block; overflow: hidden; font-size: 15px; line-height: 1.45; text-overflow: ellipsis; }
.bcg-post-navigation__next { text-align: right; }
.bcg-post-navigation__next:only-child { grid-column: 2; }

.bcg-single-post .comments-area { margin-top: 54px; padding: 34px; border: 1px solid var(--bcg-line); border-radius: 18px; background: var(--bcg-ice); }
.bcg-single-post .comments-title,
.bcg-single-post .comment-reply-title { margin: 0 0 12px; color: var(--bcg-navy); font-size: clamp(25px, 3vw, 32px); font-weight: 750; line-height: 1.25; }
.bcg-single-post .comment-notes,
.bcg-single-post .logged-in-as,
.bcg-single-post .must-log-in { margin: 0 0 24px; color: var(--bcg-muted); font-size: 13px; line-height: 1.6; }
.bcg-single-post .logged-in-as a,
.bcg-single-post .comment-notes a { color: var(--bcg-blue); }
.bcg-single-post .comment-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.bcg-single-post .comment-form > p { margin: 0; }
.bcg-single-post .comment-reply-title,
.bcg-single-post .comment-notes,
.bcg-single-post .logged-in-as,
.bcg-single-post .must-log-in,
.bcg-single-post .comment-form-comment,
.bcg-single-post .comment-form-cookies-consent,
.bcg-single-post .form-submit { grid-column: 1 / -1; }
.bcg-single-post .comment-form label { display: block; margin-bottom: 8px; color: var(--bcg-navy); font-size: 13px; font-weight: 750; }
.bcg-single-post .comment-form input[type="text"],
.bcg-single-post .comment-form input[type="email"],
.bcg-single-post .comment-form input[type="url"],
.bcg-single-post .comment-form textarea { width: 100%; border: 1px solid #bdceda; border-radius: 10px; background: #fff; color: var(--bcg-ink); font-size: 15px; line-height: 1.55; outline: none; transition: border-color .2s, box-shadow .2s; }
.bcg-single-post .comment-form input[type="text"],
.bcg-single-post .comment-form input[type="email"],
.bcg-single-post .comment-form input[type="url"] { height: 48px; padding: 0 14px; }
.bcg-single-post .comment-form textarea { min-height: 160px; padding: 13px 14px; resize: vertical; }
.bcg-single-post .comment-form input:focus,
.bcg-single-post .comment-form textarea:focus { border-color: var(--bcg-blue); box-shadow: 0 0 0 3px rgba(23,116,186,.13); }
.bcg-single-post .required { color: var(--bcg-red); }
.bcg-single-post .comment-form-cookies-consent { display: flex; align-items: flex-start; gap: 9px; }
.bcg-single-post .comment-form-cookies-consent input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--bcg-blue); }
.bcg-single-post .comment-form-cookies-consent label { margin: 0; color: var(--bcg-muted); font-size: 12px; font-weight: 500; }
.bcg-single-post .bcg-comment-submit,
.bcg-single-post input[type="submit"].submit { min-height: 46px; padding: 12px 20px; border: 1px solid var(--bcg-red); border-radius: 9px; background: var(--bcg-red); color: #fff; font-size: 14px; font-weight: 800; cursor: pointer; transition: background .2s, border-color .2s, transform .2s; }
.bcg-single-post .bcg-comment-submit:hover,
.bcg-single-post input[type="submit"].submit:hover { transform: translateY(-1px); border-color: var(--bcg-navy); background: var(--bcg-navy); }
.bcg-single-post .comment-list { margin: 0 0 36px; padding: 0; list-style: none; }
.bcg-single-post .comment-list .comment { margin-top: 18px; padding: 20px; border: 1px solid var(--bcg-line); border-radius: 12px; background: #fff; }
.bcg-single-post .comment-list .children { margin: 16px 0 0 24px; padding: 0; list-style: none; }
.bcg-single-post .comment-author { display: flex; align-items: center; gap: 11px; }
.bcg-single-post .comment-author .avatar { border-radius: 50%; }
.bcg-single-post .comment-metadata { margin: 6px 0 12px 43px; font-size: 12px; }
.bcg-single-post .comment-content { color: var(--bcg-ink); font-size: 14px; line-height: 1.7; }
.bcg-single-post .reply a { color: var(--bcg-blue); font-size: 12px; font-weight: 800; text-decoration: none; }

@media (max-width: 767px) {
  .bcg-post-hero { padding: 48px 18px 42px; }
  .bcg-breadcrumb { margin-bottom: 22px; }
  .bcg-post-hero h1 { font-size: 36px; }
  .bcg-post-intro { font-size: 16px; }
  .bcg-post-shell { width: min(calc(100% - 32px), 900px); padding: 34px 0 56px; }
  .bcg-featured-image { margin-bottom: 30px; border-radius: 14px; }
  .bcg-post-content { font-size: 16px; line-height: 1.75; }
  .bcg-post-content h2 { font-size: 27px; }
  .bcg-post-content h3 { font-size: 22px; }
  .bcg-post-content table { display: block; overflow-x: auto; white-space: nowrap; }
  .bcg-post-tags { grid-template-columns: 1fr; gap: 10px; }
  .bcg-post-navigation { grid-template-columns: 1fr; }
  .bcg-post-navigation__next,
  .bcg-post-navigation__next:only-child { grid-column: 1; text-align: left; }
  .bcg-single-post .comments-area { margin-top: 40px; padding: 24px 18px; border-radius: 14px; }
  .bcg-single-post .comment-form { grid-template-columns: 1fr; }
  .bcg-single-post .comment-form > p { grid-column: 1; }
  .bcg-single-post .comment-list .children { margin-left: 12px; }
}
