html { scroll-behavior: smooth; }
:target { scroll-margin-top: 104px; }

.a2t-post-detail-page .section-bleed,
.a2t-post-detail-page .x-content { background: #f9fbff; }

@media (min-width: 761px) {
  .a2t-post-detail-page .a2t-site-header { height: 64px !important; }
  .a2t-post-detail-page .a2t-nav-shell { width: min(1390px, calc(100% - 48px)) !important; }
  .a2t-post-detail-page .a2t-theme-toggle,
  .a2t-post-detail-page .a2t-desktop-profile-icon { width: 38px !important; height: 38px !important; border-radius: 12px !important; }
  .a2t-post-detail-page .a2t-nav-cta { min-height: 42px !important; padding-right: 22px !important; padding-left: 22px !important; }
  .a2t-post-detail-page .a2t-global-breadcrumb-shell { width: min(1390px, calc(100% - 48px)); padding-top: 20px; }
  .a2t-post-detail-page .a2t-global-breadcrumb { font-size: 13px; }
}

.a2t-blog-reader-pro {
  width: min(1390px, calc(100% - 48px));
  margin: 0 auto;
  padding: 24px 0 72px;
  color: #071126;
}

.a2t-blog-pro-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 24px;
  align-items: start;
}

.a2t-reader-main-column {
  display: grid;
  min-width: 0;
  gap: 24px;
  align-content: start;
}

.a2t-reader-card {
  border: 1px solid #dfe6f0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 30px rgba(12,35,76,.035);
}

.a2t-article-pro { min-width: 0; overflow: hidden; }
.a2t-article-hero { padding: 26px 34px 0; }

.a2t-article-kicker-pro {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 11px;
  border: 1px solid #cfe0ff;
  border-radius: 999px;
  background: #edf4ff;
  color: #075df5;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.a2t-article-title-pro {
  margin: 12px 0 14px;
  color: #071126;
  font-size: clamp(2.15rem, 3.25vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -.052em;
  line-height: 1.02;
}

.a2t-article-meta-pro {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 0;
  margin-bottom: 20px;
  color: #53627a;
  font-size: 12px;
}
.a2t-meta-group { display: contents; }

.a2t-article-meta-pro span,
.a2t-article-meta-pro a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 24px;
  padding: 0 14px;
  border: 0;
  border-right: 1px solid #d8e0ec;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-weight: 500;
  text-decoration: none;
}
.a2t-article-meta-pro > :first-child { padding-left: 0; }
.a2t-article-meta-pro > :last-child { border-right: 0; }
.a2t-meta-byline > :first-child { padding-left: 0; }
.a2t-meta-stats > :last-child { border-right: 0; }
.a2t-article-meta-pro i { color: #435673; font-size: 13px; }

.a2t-article-image-pro {
  height: clamp(210px, 16vw, 235px);
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, #03194d, #075ed5);
}
.a2t-article-image-pro img { display: block; width: 100%; height: 100%; object-fit: cover; }
.a2t-article-image-pro figcaption { display: none; }

.a2t-article-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 58px;
  border-bottom: 1px solid #e4e9f1;
}
.a2t-share-wrap, .a2t-share-grid { display: flex; align-items: center; }
.a2t-share-wrap { gap: 18px; }
.a2t-share-wrap strong { font-size: 12px; font-weight: 750; }
.a2t-share-grid { gap: 10px; }
.a2t-share-grid button {
  display: grid;
  width: 32px;
  height: 32px;
  padding: 0;
  place-items: center;
  border: 1px solid #dce3ed;
  border-radius: 50%;
  background: #fff;
  color: #071126;
  cursor: pointer;
  transition: border-color .18s ease, color .18s ease, transform .18s ease;
}
.a2t-share-grid button:hover { border-color: #1268ff; color: #1268ff; transform: translateY(-1px); }
.a2t-copy-link.copied { background: #ecfdf5; color: #16a34a; }

.a2t-like-button-pro {
  display: inline-flex;
  width: auto;
  flex: 0 0 auto;
  align-items: center;
  min-height: 34px;
  margin: 0;
  padding: 0 0 0 16px;
  overflow: hidden;
  border: 1px solid #1268ff;
  border-radius: 999px;
  background: #fff;
  color: #1268ff;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}
.a2t-like-button-pro span { margin: 0 12px 0 7px; }
.a2t-like-button-pro b { display: grid; min-width: 40px; min-height: 32px; padding: 0 9px; place-items: center; border-left: 1px solid #c7d9ff; }
.a2t-like-button-pro.liked { background: #f5f8ff; }

.a2t-excerpt-pro,
.a2t-content-pro { margin: 0 34px; }
.a2t-excerpt-pro {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  padding: 12px 0;
  border-left: 0;
  border-bottom: 1px solid #e4e9f1;
  border-radius: 0;
  background: transparent;
  color: #53627a;
  font-size: 13px;
  font-weight: 400 !important;
  line-height: 1.55;
}
.a2t-excerpt-pro h2 { margin: 0 0 3px; color: #071126; font-size: 15px; font-weight: 750; letter-spacing: -.02em; }
.a2t-excerpt-pro p { margin: 0; font-weight: 400 !important; }
.a2t-section-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 9px;
  background: #edf4ff;
  color: #1268ff;
  font-size: 16px;
}

.a2t-content-pro {
  position: relative;
  padding: 2px 0 8px;
  color: #344158;
  font-size: 12.5px;
  line-height: 1.52;
}
.a2t-content-pro::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 25px;
  bottom: 22px;
  left: 16px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, #bfd4ff 0%, #d9e5f8 86%, transparent 100%);
}
.a2t-content-pro > * { max-width: 100%; }
.a2t-content-pro h1,
.a2t-content-pro h2,
.a2t-content-pro h3,
.a2t-content-pro h4 {
  position: relative;
  margin: 0;
  padding: 11px 0 3px 52px;
  color: #071126;
  font-size: 16px;
  font-weight: 750;
  letter-spacing: -.025em;
  line-height: 1.2;
  scroll-margin-top: 104px;
}
.a2t-content-pro h2::before,
.a2t-content-pro h3::before,
.a2t-content-pro h4::before {
  content: none;
  display: none;
}
.a2t-content-heading-icon {
  position: absolute;
  left: 0;
  top: 8px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  z-index: 1;
  border: 1px solid #dbe8ff;
  border-radius: 50%;
  background: #edf4ff;
  color: #1268ff;
  font-size: 14px;
  font-weight: 800;
}
.a2t-main-content-icon {
  background: #1268ff;
  border-color: #1268ff;
  color: #ffffff;
  box-shadow: 0 0 0 4px #ffffff;
}
.a2t-content-pro p,
.a2t-content-pro ul,
.a2t-content-pro ol,
.a2t-content-pro blockquote,
.a2t-content-pro pre { margin: 0 0 7px 52px; }
.a2t-content-pro ul, .a2t-content-pro ol { padding-left: 18px; }
.a2t-content-pro li { margin: 2px 0; }
.a2t-content-pro a { color: #1268ff; text-underline-offset: 3px; }
.a2t-content-pro blockquote { padding: 12px 15px; border-left: 3px solid #1268ff; border-radius: 9px; background: #f6f9ff; }
.a2t-content-pro pre {
  overflow-x: auto;
  padding: 14px 18px;
  border: 1px solid #e1e7f0;
  border-radius: 10px;
  background: #f8fafc;
  color: #24314a;
  font-size: 12px;
  line-height: 1.5;
}
.a2t-content-pro code { padding: 2px 5px; border-radius: 5px; background: #f0f4fa; color: #075df5; font-size: .9em; }
.a2t-content-pro pre code { padding: 0; background: transparent; }
.a2t-heading-chain { margin-left: 7px; color: #1268ff; font-size: .75em; opacity: 0; text-decoration: none; }
.a2t-content-pro h2:hover .a2t-heading-chain,
.a2t-content-pro h3:hover .a2t-heading-chain,
.a2t-content-pro h4:hover .a2t-heading-chain { opacity: 1; }

.a2t-article-footer-pro { display: grid; gap: 12px; margin: 10px 34px 0; padding: 18px 0 22px; border-top: 1px solid #e4e9f1; }
.a2t-tag-row { display: flex; flex-wrap: wrap; gap: 7px; }
.a2t-tag { padding: 5px 9px; border-radius: 999px; background: #edf4ff; color: #1268ff; font-size: 11px; font-weight: 700; text-decoration: none; }
.a2t-action-row { display: flex; gap: 10px; flex-wrap: wrap; }

.a2t-reader-aside {
  position: relative;
  top: auto !important;
  align-self: stretch;
  min-width: 0;
}
.a2t-reader-rail {
  position: sticky;
  top: 80px;
  display: grid;
  gap: 16px;
  max-height: calc(100vh - 96px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #d6deea transparent;
}
.a2t-reader-rail::-webkit-scrollbar { width: 5px; }
.a2t-reader-rail::-webkit-scrollbar-track { background: transparent; }
.a2t-reader-rail::-webkit-scrollbar-thumb { border-radius: 99px; background: #d6deea; }
.a2t-toc-card { padding: 20px !important; }
.a2t-toc-card h2,
.a2t-related-box h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 15px; color: #071126; font-size: 17px; font-weight: 750; letter-spacing: -.02em; }
.a2t-toc-card h2 i { color: #1268ff; font-size: 18px; }
.a2t-toc-card h2 { margin-bottom: 8px; }
.a2t-toc-list {
  display: grid;
  gap: 0;
  max-height: 360px;
  overflow: auto;
  counter-reset: a2t-toc;
}
.a2t-toc-list a {
  position: relative;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  min-height: 42px;
  padding: 11px 28px 10px 0 !important;
  align-items: center;
  border: 0 !important;
  border-left: 0 !important;
  border-bottom: 1px solid #e8edf4 !important;
  border-radius: 0 !important;
  color: #53627a;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
  transition: color .18s ease, background .18s ease, box-shadow .18s ease;
  counter-increment: a2t-toc;
}
.a2t-toc-list a:last-child { border-bottom: 0 !important; }
.a2t-toc-list a::before {
  content: counter(a2t-toc, decimal-leading-zero);
  position: static;
  display: block;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: #9aa7ba;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .05em;
  transform: none;
  transition: color .18s ease;
}
.a2t-toc-list a::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  display: block;
  width: 0;
  height: 2px;
  border-radius: 99px;
  background: #1268ff;
  transform: translateY(-50%);
  transition: width .18s ease;
}
.a2t-toc-list a:hover { background: transparent; color: #071126; }
.a2t-toc-list a.active {
  border: 0 !important;
  border-left: 0 !important;
  background: transparent !important;
  color: #1268ff !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}
.a2t-toc-list a:hover::before { color: #607087; }
.a2t-toc-list a.active::before { color: #1268ff; transform: none; }
.a2t-toc-list a.active::after { width: 16px; }
.a2t-toc-list a.depth-2 { padding-left: 22px; font-size: 12.5px; }
.a2t-toc-list a.depth-3 { padding-left: 32px; font-size: 12px; }

.a2t-side-cta-pro {
  position: relative;
  min-height: 178px;
  padding: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, #f7faff, #edf4ff);
}
.a2t-side-cta-pro::after { content: ""; position: absolute; right: -45px; bottom: -65px; width: 160px; height: 160px; border-radius: 50%; background: rgba(18,104,255,.07); }
.a2t-cta-icon { float: left; display: grid; width: 46px; height: 46px; margin: 0 14px 9px 0; place-items: center; border-radius: 11px; background: #1268ff; color: #fff; font-size: 19px; }
.a2t-side-cta-pro h3 { margin: 2px 0 11px; color: #071126; font-size: 19px; line-height: 1.15; letter-spacing: -.035em; }
.a2t-side-cta-pro p { clear: both; margin: 0 0 12px; color: #53627a; font-size: 12px; line-height: 1.5; }
.a2t-side-cta-pro .a2t-btn-dark { position: relative; z-index: 1; display: inline-flex; min-height: 40px; padding: 0 25px; align-items: center; border-radius: 8px; background: #071126; color: #fff; font-size: 13px; font-weight: 700; text-decoration: none; }

.a2t-related-box { padding: 18px; }
.a2t-related-box h3 i { color: #071126; }
.a2t-related-list { display: grid; }
.a2t-related-list a { position: relative; display: grid; gap: 2px; padding: 9px 4px 9px 28px; border-bottom: 1px solid #e5eaf2; color: #071126; text-decoration: none; }
.a2t-related-list a::before { content: ""; position: absolute; left: 6px; top: 17px; width: 7px; height: 7px; border-radius: 50%; background: #1268ff; }
.a2t-related-list strong { font-size: 12.5px; line-height: 1.25; }
.a2t-related-list span { color: #69778c; font-size: 11px; }
.a2t-view-all { display: inline-flex; margin-top: 15px; color: #1268ff; font-size: 12px; font-weight: 700; text-decoration: none; }

.a2t-comments-pro {
  width: min(1036px, calc(100% - 402px));
  margin: 0 calc((100% - min(1390px, calc(100% - 48px))) / 2) 80px;
  padding: 28px 38px;
  border: 1px solid #dfe6f0;
  border-radius: 18px;
  background: #fff;
}
.a2t-blog-reader-pro > .a2t-comments-pro {
  width: 100%;
  margin: 24px 0 0;
  padding: 28px 38px;
  border: 1px solid #dfe6f0;
  border-radius: 18px;
  box-shadow: 0 8px 30px rgba(12,35,76,.035);
}
#comments-section.a2t-comments-pro {
  width: 100% !important;
  max-width: none !important;
  margin: 24px 0 0 !important;
}
.a2t-comments-pro h2 { margin: 0 0 18px; color: #071126; font-size: 24px; letter-spacing: -.035em; }
.a2t-comments-pro textarea { width: 100%; min-height: 110px; padding: 14px; border: 1px solid #dfe6f0; border-radius: 12px; font: inherit; }

html[data-theme="dark"] .a2t-post-detail-page .x-content { background: #060911; }
html[data-theme="dark"] .a2t-blog-reader-pro { color: #f5f7fb; }
html[data-theme="dark"] .a2t-reader-card,
html[data-theme="dark"] .a2t-comments-pro { border-color: #202a3b; background: #0b101a; }
html[data-theme="dark"] .a2t-article-title-pro,
html[data-theme="dark"] .a2t-excerpt-pro h2,
html[data-theme="dark"] .a2t-content-pro h1,
html[data-theme="dark"] .a2t-content-pro h2,
html[data-theme="dark"] .a2t-content-pro h3,
html[data-theme="dark"] .a2t-content-pro h4,
html[data-theme="dark"] .a2t-toc-card h2,
html[data-theme="dark"] .a2t-related-box h3,
html[data-theme="dark"] .a2t-related-list a,
html[data-theme="dark"] .a2t-comments-pro h2 { color: #f5f7fb; }
html[data-theme="dark"] .a2t-content-pro,
html[data-theme="dark"] .a2t-excerpt-pro { color: #aab5c7; }
html[data-theme="dark"] .a2t-side-cta-pro { background: linear-gradient(135deg, #101827, #0d1830); }
html[data-theme="dark"] .a2t-side-cta-pro h3 { color: #fff; }
html[data-theme="dark"] .a2t-share-grid button,
html[data-theme="dark"] .a2t-like-button-pro { background: #0b101a; color: #82adff; }
html[data-theme="dark"] .a2t-content-pro pre { border-color: #273247; background: #080d17; color: #d7deea; }

@media (max-width: 980px) {
  .a2t-blog-pro-layout { grid-template-columns: 1fr; }
  .a2t-reader-aside { position: static; }
  .a2t-reader-rail { position: static; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); max-height: none; overflow: visible; }
  .a2t-toc-card { grid-column: 1 / -1; }
  .a2t-comments-pro { width: min(100% - 48px, 1390px); margin: 0 auto 70px; }
}

@media (max-width: 760px) {
  .a2t-post-detail-page .a2t-global-breadcrumb-shell { display: none !important; }
  .a2t-blog-reader-pro {
    width: 100%;
    padding: 0 0 52px;
  }
  .a2t-blog-pro-layout { display: block; }
  .a2t-article-pro {
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .a2t-article-hero { padding: 18px 18px 0; }
  .a2t-article-kicker-pro { min-height: 24px; padding: 0 9px; font-size: 10px; }
  .a2t-article-title-pro {
    margin: 12px 0 16px;
    font-size: clamp(1.65rem, 7.2vw, 2.05rem);
    letter-spacing: -.04em;
    line-height: 1.06;
  }
  .a2t-article-meta-pro {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 11.5px;
  }
  .a2t-meta-group {
    display: flex;
    min-width: 0;
    flex-wrap: wrap;
    gap: 7px 14px;
  }
  .a2t-meta-stats {
    padding-top: 9px;
    border-top: 1px solid #e7ecf3;
    color: #66758b;
  }
  .a2t-article-meta-pro span,
  .a2t-article-meta-pro a {
    min-height: 22px;
    padding: 0;
    border-right: 0;
  }
  .a2t-meta-category { display: none !important; }
  .a2t-article-meta-pro i { font-size: 12px; }
  .a2t-article-image-pro {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
  }
  .a2t-article-toolbar {
    min-height: 0;
    padding: 10px 0 12px;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
  }
  .a2t-share-wrap { min-width: 0; flex: 1 1 auto; align-items: center; flex-direction: row; gap: 0; }
  .a2t-share-wrap strong { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .a2t-share-grid { gap: 5px; }
  .a2t-share-grid button { width: 36px; height: 36px; min-height: 36px; }
  .a2t-like-button-pro { min-height: 36px; padding-left: 11px; align-self: center; }
  .a2t-like-button-pro span { display: none; }
  .a2t-like-button-pro b { min-width: 34px; min-height: 34px; padding: 0 7px; }
  .a2t-excerpt-pro,
  .a2t-content-pro { margin-right: 16px; margin-left: 16px; }
  .a2t-excerpt-pro {
    display: block;
    margin-top: 16px;
    padding: 16px;
    border: 1px solid #e2eaf6;
    border-radius: 14px;
    background: #f6f9ff;
    font-size: .93rem;
    line-height: 1.6;
  }
  .a2t-excerpt-pro .a2t-section-icon { display: none; }
  .a2t-excerpt-pro h2 { margin-bottom: 6px; font-size: 1.12rem; line-height: 1.2; }
  .a2t-content-pro {
    padding: 5px 0 10px;
    font-size: 1rem;
    line-height: 1.68;
  }
  .a2t-content-pro::before { display: none; }
  .a2t-content-pro h1,
  .a2t-content-pro h2,
  .a2t-content-pro h3,
  .a2t-content-pro h4 {
    padding: 24px 0 7px;
    line-height: 1.18;
  }
  .a2t-content-pro h2 { font-size: 1.38rem; }
  .a2t-content-pro h3 { font-size: 1.18rem; }
  .a2t-content-pro h4 { font-size: 1.05rem; }
  .a2t-content-pro p,
  .a2t-content-pro ul,
  .a2t-content-pro ol,
  .a2t-content-pro blockquote,
  .a2t-content-pro pre {
    margin-right: 0;
    margin-bottom: 14px;
    margin-left: 0;
  }
  .a2t-content-pro ul,
  .a2t-content-pro ol { padding-left: 22px; }
  .a2t-content-pro li { margin: 5px 0; }
  .a2t-content-heading-icon,
  .a2t-main-content-icon { display: none; }
  .a2t-heading-chain { display: none; }
  .a2t-content-pro pre { padding: 14px; font-size: .83rem; }
  .a2t-content-pro blockquote { padding: 13px 15px; }
  .a2t-article-footer-pro { margin: 8px 16px 0; padding-bottom: 18px; }
  .a2t-action-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .a2t-action-row > * { justify-content: center; text-align: center; }
  .a2t-reader-aside { grid-template-columns: 1fr; }
  .a2t-reader-rail { grid-template-columns: 1fr; }
  .a2t-toc-card { display: none !important; }
  .a2t-reader-rail { margin: 16px; gap: 12px; }
  .a2t-side-cta-pro,
  .a2t-related-box { border-radius: 16px; }
  .a2t-comments-pro { width: calc(100% - 32px); padding: 20px 16px; }
  .a2t-blog-reader-pro > .a2t-comments-pro { width: calc(100% - 32px); margin: 16px !important; padding: 20px 16px; }
}

@media (max-width: 380px) {
  .a2t-article-hero { padding-right: 15px; padding-left: 15px; }
  .a2t-article-title-pro { font-size: clamp(1.58rem, 7.3vw, 1.82rem); }
  .a2t-share-grid { gap: 4px; }
  .a2t-share-grid button { width: 34px; height: 34px; min-height: 34px; }
  .a2t-like-button-pro { min-height: 34px; }
  .a2t-like-button-pro b { min-height: 32px; }
  .a2t-excerpt-pro,
  .a2t-content-pro { margin-right: 14px; margin-left: 14px; }
  .a2t-action-row { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 760px) {
  html[data-theme="dark"] .a2t-meta-stats { border-top-color: #253044; }
  html[data-theme="dark"] .a2t-excerpt-pro { border-color: #253044; background: #101827; }
}
