/*
 * Enlink Blog Reading UI (2026-10-26)
 * Scope: article pages and blog archive only.
 * Does not style WordPress admin, sales pages, or Django app.
 */
.enl-blog-main--single .enl-blog-article {
  box-shadow: 0 12px 35px rgba(28, 65, 108, .065);
}
.enl-blog-main--single .enl-blog-article__content {
  color: #294159;
  font-size: 16px;
  line-height: 1.95;
  letter-spacing: .012em;
}
.enl-blog-article__content > p:first-child {
  font-size: 16.5px;
  line-height: 1.95;
  background: linear-gradient(125deg,#f0f7ff 0%,#f8fbff 100%);
  border: 1px solid #dceaf9;
  border-left: 4px solid #227bd3;
  border-radius: 0 11px 11px 0;
  padding: 21px 23px;
  margin-bottom: 31px;
  color: #234767;
}
.enl-blog-article__content h2 {
  position: relative;
  padding: 17px 18px 17px 20px;
  border: 1px solid #dce9f6;
  border-left: 0;
  border-radius: 10px;
  background: linear-gradient(98deg,#ecf5ff 0%,#f7fbff 90%);
  box-shadow: 0 2px 7px rgba(37,91,147,.035);
  color: #163e66;
  margin-top: 54px;
  margin-bottom: 16px;
}
.enl-blog-article__content h2::before {
  content: "";
  position: absolute;
  width: 4px;
  left: 0;
  top: 13px;
  bottom: 13px;
  border-radius: 0 4px 4px 0;
  background: #287ad0;
}
.enl-blog-article__content h3 {
  position: relative;
  padding-left: 17px;
  color: #224c73;
  margin-top: 37px;
}
.enl-blog-article__content h3::before {
  content: "";
  position: absolute;
  width: 5px;
  height: 18px;
  border-radius: 5px;
  background: #55a2e9;
  left: 0;
  top: .42em;
}
.enl-blog-article__content h3.enl-blog-heading--step {
  border: 1px solid #dceaf8;
  border-left: 3px solid #2080d6;
  border-radius: 8px;
  background: #f7fbff;
  padding: 12px 15px;
}
.enl-blog-article__content h3.enl-blog-heading--step::before {
  display: none;
}
.enl-blog-article__content h3.enl-blog-heading--faq {
  border-radius: 8px;
  background: #f5f9ff;
  border: 1px solid #e0ecf8;
  padding: 12px 15px;
}
.enl-blog-article__content h3.enl-blog-heading--faq::before {
  display: none;
}
.enl-blog-article__content h2 + p,
.enl-blog-article__content h3 + p {
  color: #425b71;
  line-height: 1.92;
}
.enl-blog-article__content ul > li::marker,
.enl-blog-article__content ol > li::marker {
  color: #2174c6;
  font-weight: 800;
}
.enl-blog-article__content li {
  line-height: 1.9;
}
.enl-blog-article__content blockquote {
  border-left: 4px solid #4090d4;
  border-radius: 0 9px 9px 0;
  padding: 19px 22px;
  background: #f1f8ff;
  color: #2c5071;
}
.enl-blog-article__content .enl-blog-note {
  background: #eef7ff;
  border: 1px solid #d7eafb;
  border-left: 4px solid #317fca;
  border-radius: 0 10px 10px 0;
  padding: 18px 22px;
}
.enl-blog-article__content a:not(.enl-blog-codebox__copy) {
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.enl-blog-article__content a:hover {
  color: #0c4f98;
}
.enl-blog-article__content :not(pre) > code,
.enl-blog-article__content code:not(pre code) {
  color: #17568f;
  font-family: ui-monospace, "Cascadia Code", Consolas, "SFMono-Regular", Menlo, monospace;
  font-size: .91em;
  font-weight: 600;
  line-height: 1.65;
  background: #eef5fd;
  border: 1px solid #d5e4f4;
  padding: .14em .36em;
  border-radius: 5px;
  white-space: break-spaces;
  overflow-wrap: anywhere;
  word-break: normal;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.enl-blog-article__content pre {
  color: #edf5ff;
  background: #132236;
  border: 1px solid #263b56;
  border-radius: 11px;
  padding: 19px 22px;
  margin: 24px 0 30px;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: pre;
  tab-size: 2;
  box-shadow: 0 7px 20px rgba(18,36,58,.12);
  scrollbar-color: #6c89a6 #192d47;
  scrollbar-width: thin;
}
.enl-blog-article__content pre code,
.enl-blog-article__content .enl-blog-codebox pre code {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: inherit;
  font-family: ui-monospace, "Cascadia Code", Consolas, "SFMono-Regular", Menlo, monospace;
  font-size: 13.25px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0;
  white-space: pre;
  overflow-wrap: normal;
  word-break: normal;
  font-variant-ligatures: none;
}
.enl-blog-article__content .enl-blog-codebox {
  background: #132236;
  border: 1px solid #263b56;
  border-radius: 12px;
  box-shadow: 0 7px 20px rgba(18,36,58,.12);
  margin: 24px 0 30px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
.enl-blog-article__content .enl-blog-codebox__toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 15px 10px 19px;
  border-bottom: 1px solid #2b415c;
  background: #1d3048;
}
.enl-blog-article__content .enl-blog-codebox__label {
  color: #b6d8f6;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .055em;
}
.enl-blog-article__content .enl-blog-codebox__copy {
  flex-shrink: 0;
  cursor: pointer;
  padding: 5px 12px;
  min-height: 30px;
  border: 1px solid #597b9f;
  border-radius: 6px;
  background: #2d4867;
  color: #f0f7ff;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  transition: background .18s,border-color .18s;
}
.enl-blog-article__content .enl-blog-codebox__copy:hover,
.enl-blog-article__content .enl-blog-codebox__copy:focus-visible {
  background: #346698;
  border-color: #8ab6e1;
}
.enl-blog-article__content .enl-blog-codebox__copy:focus-visible {
  outline: 2px solid #c3e5ff;
  outline-offset: 2px;
}
.enl-blog-article__content .enl-blog-codebox pre {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  margin: 0;
  padding: 19px 22px 22px;
}
.enl-blog-article__content .enl-blog-table-wrap {
  width: 100%;
  max-width: 100%;
  margin: 26px 0 30px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #dbe6f2;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 4px 15px rgba(28,68,111,.05);
  scrollbar-color: #93b4d5 #f1f7fc;
  scrollbar-width: thin;
}
.enl-blog-article__content .enl-blog-table-wrap:focus-visible {
  outline: 2px solid #287ad0;
  outline-offset: 3px;
}
.enl-blog-article__content .enl-blog-table-wrap table {
  display: table;
  width: 100%;
  min-width: max-content;
  max-width: none;
  margin: 0;
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: auto;
  font-size: 13.5px;
  line-height: 1.7;
}
.enl-blog-article__content .enl-blog-table-wrap th,
.enl-blog-article__content .enl-blog-table-wrap td {
  border: 0;
  border-right: 1px solid #e5edf5;
  border-bottom: 1px solid #e5edf5;
  padding: 14px 16px;
  vertical-align: top;
  min-width: 95px;
  white-space: normal;
}
.enl-blog-article__content .enl-blog-table-wrap tr > :last-child { border-right: 0; }
.enl-blog-article__content .enl-blog-table-wrap tbody tr:last-child > * { border-bottom: 0; }
.enl-blog-article__content .enl-blog-table-wrap thead th {
  color: #1f527f;
  font-weight: 800;
  background: #eaf4ff;
  border-bottom-color: #d3e3f3;
}
.enl-blog-article__content .enl-blog-table-wrap tbody th { color: #284c70; background: #f5faff; }
.enl-blog-article__content .enl-blog-table-wrap tbody tr:nth-child(even) td { background: #f9fcff; }
.enl-blog-article__content .enl-blog-diagram__viewport {
  background: #f6faff;
  box-shadow: 0 5px 17px rgba(30,75,120,.05);
}
.enl-blog-article__content .enl-blog-diagram figcaption {
  color: #637990;
  font-size: 12.5px;
  line-height: 1.75;
}
.enl-blog-article__content .enl-blog-toc {
  border-color: #cfe0f2;
  background: linear-gradient(130deg,#f3f9ff,#fbfdff);
  box-shadow: 0 5px 18px rgba(32,80,120,.045);
}
.enl-blog-card {
  box-shadow: 0 6px 22px rgba(34,65,106,.045);
}
.enl-blog-card:hover { box-shadow: 0 12px 30px rgba(31,81,130,.10); }
@media (max-width:600px) {
  .enl-blog-main--single .enl-blog-article__content { font-size: 15px; line-height: 1.92; }
  .enl-blog-article__content > p:first-child {
    padding: 17px 16px;
    font-size: 15px;
    margin-bottom: 27px;
  }
  .enl-blog-article__content h2 { padding: 13px 12px 13px 16px; margin-top: 37px; }
  .enl-blog-article__content h3 { padding-left: 14px; }
  .enl-blog-article__content h3.enl-blog-heading--step,
  .enl-blog-article__content h3.enl-blog-heading--faq { padding: 11px 12px; }
  .enl-blog-article__content .enl-blog-codebox__toolbar { padding: 9px 12px; }
  .enl-blog-article__content .enl-blog-codebox pre { padding: 14px 15px 16px; }
  .enl-blog-article__content pre { padding: 15px; }
  .enl-blog-article__content pre code { font-size: 12.5px; }
  .enl-blog-article__content .enl-blog-table-wrap table {
    display: table;
    overflow: visible;
    width: 100%;
    min-width: max-content;
  }
  .enl-blog-article__content .enl-blog-table-wrap th,
  .enl-blog-article__content .enl-blog-table-wrap td { padding: 11px 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .enl-blog-article__content .enl-blog-codebox__copy { transition: none; }
}
