.blog-page.taka-single-post-page {
  position: relative;
  overflow: visible;
  min-height: 70vh;
  padding-top: 55px !important;
  color: #172033;
  background:
    linear-gradient(180deg, rgba(240, 248, 255, 0.9) 0, rgba(255, 255, 255, 0) 420px),
    #ffffff;
}

body.admin-bar .blog-page.taka-single-post-page {
  padding-top: 87px !important;
}

.taka-reading-progress {
  position: fixed;
  z-index: 10000;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  pointer-events: none;
  background: rgba(10, 37, 64, 0.08);
}

body.admin-bar .taka-reading-progress {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .taka-reading-progress {
    top: 46px;
  }
}

.taka-reading-progress span {
  display: block;
  width: 0%;
  height: 100%;
  transform-origin: left center;
  background: linear-gradient(90deg, #0a4fff 0%, #02c7d6 100%);
  transition: width 120ms ease;
}

.taka-single-container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.taka-single-hero {
  padding: 18px 0 58px;
}

.taka-single-featured {
  position: relative;
  display: block;
  width: min(1120px, 100%);
  aspect-ratio: 1120 / 500;
  margin: 0 auto 38px;
  overflow: hidden;
  border-radius: 24px;
  background: #eaf5ff;
  box-shadow: 0 24px 70px rgba(10, 37, 64, 0.12);
}

.taka-single-featured::after {
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, rgba(9, 30, 54, 0) 0%, rgba(9, 30, 54, 0.2) 100%);
}

.taka-single-featured img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.taka-single-placeholder {
  display: grid;
  align-content: end;
  gap: 12px;
  padding: 44px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(8, 58, 136, 0.94), rgba(0, 194, 212, 0.88)),
    #0a4fff;
}

.taka-single-placeholder strong {
  max-width: 760px;
  font-size: 46px;
  line-height: 1.04;
}

.taka-single-placeholder span {
  width: max-content;
  max-width: 100%;
  padding: 8px 12px;
  border-radius: 999px;
  color: #0b2545;
  font-size: 13px;
  font-weight: 800;
  background: #ffffff;
}

.taka-breadcrumb {
  margin: 0 0 30px;
  color: #0a4b89;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.taka-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.taka-breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.taka-breadcrumb li + li::before {
  content: "/";
  color: #6a7a93;
}

.taka-breadcrumb a {
  color: inherit;
  text-decoration: none;
  transition: color 180ms ease;
}

.taka-breadcrumb a:hover {
  color: #00a9c7;
}

.taka-single-title-wrap {
  width: min(920px, 100%);
}

.taka-single-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 14px;
  margin: 0 0 18px;
  border: 1px solid rgba(10, 79, 255, 0.15);
  border-radius: 999px;
  color: #064bb5;
  font-size: 13px;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.78);
}

.taka-single-post .taka-single-title-wrap h1 {
  max-width: 920px;
  margin: 0 0 24px;
  color: #111827;
  font-size: 58px;
  font-weight: 950;
  line-height: 1.04;
  letter-spacing: 0;
}

.taka-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.taka-post-meta li {
  display: grid;
  gap: 4px;
  min-width: 145px;
  padding: 13px 16px;
  border: 1px solid rgba(10, 37, 64, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 34px rgba(10, 37, 64, 0.06);
}

.taka-post-meta span {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.taka-post-meta time,
.taka-post-meta strong,
.taka-post-meta a {
  color: #132238;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
}

.taka-post-meta a:hover {
  color: #0066ff;
}

.taka-single-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(280px, 340px);
  align-items: start;
  gap: 64px;
  padding-bottom: 42px;
}

.taka-article-column {
  min-width: 0;
}

.taka-single-post-page .single-post-content.taka-post-content {
  color: #334155;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.78;
}

.taka-single-post-page .taka-post-content > *:first-child {
  margin-top: 0;
}

.taka-single-post-page .taka-post-content p,
.taka-single-post-page .taka-post-content li {
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

.taka-single-post-page .taka-post-content p {
  margin: 0 0 24px;
}

.taka-single-post-page .taka-post-content h2,
.taka-single-post-page .taka-post-content h3 {
  scroll-margin-top: 118px;
  color: #111827;
  letter-spacing: 0;
}

.taka-single-post-page .taka-post-content h2 {
  margin: 58px 0 18px;
  font-size: 36px;
  font-weight: 950;
  line-height: 1.15;
}

.taka-single-post-page .taka-post-content h3 {
  margin: 38px 0 14px;
  font-size: 26px;
  font-weight: 900;
  line-height: 1.22;
}

.taka-single-post-page .taka-post-content h4 {
  margin: 34px 0 12px;
  color: #162033;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.25;
}

.taka-single-post-page .taka-post-content a {
  color: #005ce6;
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.taka-single-post-page .taka-post-content ul,
.taka-single-post-page .taka-post-content ol {
  margin: 0 0 28px;
  padding-left: 28px;
}

.taka-single-post-page .taka-post-content blockquote {
  margin: 38px 0;
  padding: 24px 28px;
  border: 1px solid rgba(10, 79, 255, 0.14);
  border-left: 5px solid #02b9d2;
  border-radius: 20px;
  color: #172033;
  background: #f7fbff;
  box-shadow: 0 16px 44px rgba(10, 37, 64, 0.06);
}

.taka-single-post-page .taka-post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 18px 46px rgba(10, 37, 64, 0.08);
}

.taka-single-post-page .taka-post-content figure {
  max-width: 100%;
  margin: 38px auto;
}

.taka-single-post-page .taka-post-content figcaption {
  margin-top: 10px;
  color: #64748b;
  font-size: 14px;
  text-align: center;
}

.taka-single-post-page .taka-post-content table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}

.taka-single-post-page .taka-post-content th,
.taka-single-post-page .taka-post-content td {
  padding: 12px 14px;
  border: 1px solid #d9e4f2;
}

.taka-post-sidebar {
  min-width: 0;
}

.taka-sidebar-sticky {
  position: sticky;
  top: 116px;
  display: grid;
  gap: 18px;
}

body.admin-bar .taka-sidebar-sticky {
  top: 148px;
}

.taka-toc,
.taka-share-card,
.taka-sidebar-cta {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 48px rgba(10, 37, 64, 0.08);
}

.taka-toc {
  overflow: hidden;
}

.taka-toc-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 58px;
  padding: 17px 18px;
  border: 0;
  color: #111827;
  font: inherit;
  font-size: 18px;
  font-weight: 950;
  text-align: left;
  cursor: default;
  background: #ffffff;
}

.taka-toc-toggle i {
  position: relative;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.taka-toc-toggle i::before,
.taka-toc-toggle i::after {
  position: absolute;
  top: 7px;
  left: 2px;
  width: 12px;
  height: 2px;
  border-radius: 999px;
  content: "";
  background: #0f172a;
  transition: transform 180ms ease;
}

.taka-toc-toggle i::after {
  transform: rotate(90deg);
}

.taka-toc.is-open .taka-toc-toggle i::after {
  transform: rotate(0deg);
}

.taka-toc-body {
  padding: 0 18px 18px;
}

.taka-toc-body ol {
  display: grid;
  gap: 4px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.taka-toc-body li {
  margin: 0;
}

.taka-toc-body li.is-child {
  padding-left: 16px;
}

.taka-toc-body a {
  position: relative;
  display: block;
  padding: 9px 10px 9px 14px;
  border-radius: 12px;
  color: #5b6b82;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.taka-toc-body a::before {
  position: absolute;
  top: 13px;
  left: 0;
  width: 4px;
  height: 14px;
  border-radius: 999px;
  content: "";
  background: transparent;
}

.taka-toc-body a:hover,
.taka-toc-body a.is-active {
  color: #0747a6;
  background: #eef7ff;
  transform: translateX(2px);
}

.taka-toc-body a.is-active::before {
  background: linear-gradient(180deg, #0a4fff, #02c7d6);
}

.taka-toc-body p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.5;
}

.taka-share-card,
.taka-sidebar-cta {
  padding: 18px;
}

.taka-share-card h2,
.taka-sidebar-cta h2 {
  margin: 0;
  color: #111827;
  font-size: 18px;
  font-weight: 950;
  line-height: 1.22;
}

.taka-share-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.taka-share-links a {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(10, 79, 255, 0.14);
  border-radius: 14px;
  color: #0f4fbf;
  font-size: 14px;
  font-weight: 950;
  text-decoration: none;
  background: #f7fbff;
  transition: transform 180ms ease, color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.taka-share-links a:hover {
  border-color: transparent;
  color: #ffffff;
  background: linear-gradient(135deg, #0a4fff, #02c7d6);
  transform: translateY(-2px);
}

.taka-sidebar-cta {
  display: grid;
  gap: 14px;
  overflow: hidden;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(3, 33, 82, 0.96), rgba(0, 126, 184, 0.94)),
    #08264d;
}

.taka-sidebar-cta span {
  width: max-content;
  max-width: 100%;
  padding: 7px 10px;
  border-radius: 999px;
  color: #bff8ff;
  font-size: 12px;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.12);
}

.taka-sidebar-cta h2 {
  color: #ffffff;
}

.taka-sidebar-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  width: max-content;
  max-width: 100%;
  padding: 0 18px;
  border-radius: 14px;
  color: #08264d;
  font-size: 14px;
  font-weight: 950;
  text-decoration: none;
  background: #ffffff;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.taka-sidebar-cta a:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.taka-single-bottom {
  width: min(1180px, calc(100% - 48px)) !important;
  margin: 42px auto 0 !important;
  padding: 34px 0 110px !important;
  border-top: 1px solid #e7eef7;
}

.taka-post-navigation {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 54px;
}

.taka-post-navigation div:last-child {
  text-align: right;
}

.taka-post-navigation a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  max-width: 100%;
  padding: 0 18px;
  border: 1px solid #dbe7f5;
  border-radius: 14px;
  color: #143056;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  background: #ffffff;
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease;
}

.taka-post-navigation a:hover {
  border-color: #88d9ee;
  color: #005ce6;
  transform: translateY(-2px);
}

.taka-related-heading {
  margin-bottom: 22px;
}

.taka-related-heading span {
  color: #0b63ce;
  font-size: 13px;
  font-weight: 950;
}

.taka-related-heading h2 {
  margin: 6px 0 0;
  color: #111827;
  font-size: 34px;
  font-weight: 950;
  line-height: 1.14;
}

.single-post-page .taka-related-posts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 0;
}

.single-post-page .taka-related-posts article {
  padding: 12px;
  border: 1px solid #e4edf8;
  border-radius: 20px;
  text-align: left;
  background: #ffffff;
  box-shadow: 0 14px 40px rgba(10, 37, 64, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.single-post-page .taka-related-posts article:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 52px rgba(10, 37, 64, 0.1);
}

.single-post-page .taka-related-posts .blog-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  margin: 0 0 14px;
  overflow: hidden;
  border-radius: 16px;
}

.single-post-page .taka-related-posts h2 {
  max-width: none;
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
  text-align: left;
}

.single-post-page .taka-related-posts h2 a {
  color: #111827;
  text-decoration: none;
}

.single-post-page .taka-related-posts h2 a:hover {
  color: #005ce6;
}

@media (max-width: 1080px) {
  .taka-single-layout {
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 38px;
  }

  .taka-single-post .taka-single-title-wrap h1 {
    font-size: 48px;
  }
}

@media (max-width: 920px) {
  .blog-page.taka-single-post-page {
    padding-top: 46px !important;
  }

  body.admin-bar .blog-page.taka-single-post-page {
    padding-top: 92px !important;
  }

  .taka-single-container {
    width: min(100% - 36px, 720px);
  }

  .taka-single-hero {
    padding-bottom: 42px;
  }

  .taka-single-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .taka-post-sidebar {
    order: -1;
  }

  .taka-sidebar-sticky,
  body.admin-bar .taka-sidebar-sticky {
    position: static;
    top: auto;
  }

  .taka-toc-toggle {
    cursor: pointer;
  }

  .taka-toc.is-enhanced .taka-toc-body {
    display: none;
  }

  .taka-toc.is-enhanced.is-open .taka-toc-body {
    display: block;
  }

  .taka-share-card,
  .taka-sidebar-cta {
    display: none;
  }

  .taka-single-post .taka-single-title-wrap h1 {
    font-size: 40px;
  }

  .taka-single-post-page .taka-post-content h2 {
    font-size: 30px;
  }

  .taka-single-post-page .taka-post-content h3 {
    font-size: 24px;
  }

  .single-post-page .taka-related-posts {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .blog-page.taka-single-post-page {
    padding-top: 46px !important;
  }

  body.admin-bar .taka-reading-progress {
    top: 46px;
  }

  .taka-single-container,
  .taka-single-bottom {
    width: calc(100% - 28px) !important;
  }

  .taka-single-featured {
    aspect-ratio: 4 / 3;
    margin-bottom: 26px;
    border-radius: 18px;
  }

  .taka-single-placeholder {
    padding: 26px;
  }

  .taka-single-placeholder strong {
    font-size: 30px;
  }

  .taka-breadcrumb {
    margin-bottom: 22px;
    font-size: 12px;
  }

  .taka-single-kicker {
    margin-bottom: 14px;
  }

  .taka-single-post .taka-single-title-wrap h1 {
    margin-bottom: 18px;
    font-size: 32px;
    line-height: 1.12;
  }

  .taka-post-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .taka-post-meta li {
    min-width: 0;
    padding: 12px;
  }

  .taka-post-meta time,
  .taka-post-meta strong,
  .taka-post-meta a {
    font-size: 14px;
  }

  .taka-single-post-page .single-post-content.taka-post-content {
    font-size: 17px;
    line-height: 1.72;
  }

  .taka-single-post-page .taka-post-content h2 {
    margin-top: 44px;
    font-size: 28px;
  }

  .taka-single-post-page .taka-post-content h3 {
    font-size: 22px;
  }

  .taka-post-navigation {
    grid-template-columns: 1fr;
    margin-bottom: 40px;
  }

  .taka-post-navigation div:last-child {
    text-align: left;
  }

  .taka-related-heading h2 {
    font-size: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .taka-reading-progress span,
  .taka-breadcrumb a,
  .taka-toc-body a,
  .taka-share-links a,
  .taka-sidebar-cta a,
  .taka-post-navigation a,
  .single-post-page .taka-related-posts article {
    transition: none;
  }
}
