/* ==========================================================================
   Block: content — v7.1.0 (Empty Content Loading State + Layout)
   CSS nền tảng, các style động (màu sắc, typography, khoảng cách) 
   được xử lý và render trực tiếp từ file render.php
   ========================================================================== */

.pf-content-wrapper {
  line-height: 1.7;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  box-sizing: border-box;
  /* Đảm bảo transition mượt mà nếu có hover shadow/bg sau này */
  transition: all 0.3s ease;
}

/* Spacing đầu/cuối để không bị dư khoảng trống */
.pf-content-wrapper > *:first-child { margin-top: 0; }
.pf-content-wrapper > *:last-child  { margin-bottom: 0; }

/* Headings chung */
.pf-content-wrapper h1,
.pf-content-wrapper h2,
.pf-content-wrapper h3,
.pf-content-wrapper h4,
.pf-content-wrapper h5,
.pf-content-wrapper h6 {
  margin-top: 1.5em;
  margin-bottom: 0.6em;
  line-height: 1.3;
  font-weight: 700;
}

/* Paragraph */
.pf-content-wrapper p {
  margin-top: 0;
  margin-bottom: 1.25em;
}

/* Links */
.pf-content-wrapper a {
  text-decoration: underline;
  transition: color 0.2s ease;
}

/* Images */
.pf-content-wrapper img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  vertical-align: middle;
}

/* WP-like alignment helpers (Căn lề ảnh kiểu WordPress) */
.pf-content-wrapper .alignleft,
.pf-content-wrapper img.alignleft,
.pf-content-wrapper figure.alignleft {
  float: left;
  margin: 0.5em 1.2em 0.5em 0;
}
.pf-content-wrapper .alignright,
.pf-content-wrapper img.alignright,
.pf-content-wrapper figure.alignright {
  float: right;
  margin: 0.5em 0 0.5em 1.2em;
}
.pf-content-wrapper .aligncenter,
.pf-content-wrapper img.aligncenter,
.pf-content-wrapper figure.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Figure & caption */
.pf-content-wrapper figure { margin: 0 0 1.25em 0; }
.pf-content-wrapper figcaption,
.pf-content-wrapper .wp-caption-text {
  color: rgba(0,0,0,0.6);
  font-size: 0.925em;
}

/* Đảm bảo caption/ảnh không tràn */
.pf-content-wrapper .wp-caption {
  max-width: 100% !important;
  width: auto !important;
}
.pf-content-wrapper .wp-caption img {
  width: 100%;
  height: auto;
  display: block;
}

/* Blockquote */
.pf-content-wrapper blockquote {
  margin: 0 0 1.25em;
  padding: 10px 20px;
  border-left: 4px solid #ccc;
  background-color: #f9f9f9;
  font-style: italic;
}

/* Lists */
.pf-content-wrapper ul,
.pf-content-wrapper ol {
  margin-bottom: 1.25em;
  padding-left: 2em;
}

/* Code */
.pf-content-wrapper pre {
  overflow-x: auto; /* tránh tràn ngang ở mobile */
}
.pf-content-wrapper code,
.pf-content-wrapper pre code {
  padding: 2px 4px;
  font-size: 90%;
  color: #c7254e;
  background-color: #f9f2f4;
  border-radius: 4px;
  white-space: pre; /* giữ định dạng code */
  word-wrap: normal;
}

/* Tables (cơ bản) */
.pf-content-wrapper table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.25em;
}
.pf-content-wrapper th,
.pf-content-wrapper td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
}
.pf-content-wrapper th { background-color: #f2f2f2; }

/* Khung cuộn ngang cho bảng rộng (được bọc bằng JS) */
.pf-content-wrapper .pf-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.pf-content-wrapper .pf-table-scroll table {
  width: max-content; /* nội dung quyết định độ rộng */
  min-width: 100%;    /* nhưng không nhỏ hơn container */
}

/* Pagination (generic) */
.pf-content-wrapper .pagination,
.pf-content-wrapper .page-links,
.pf-content-wrapper .nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 20px 0;
}
.pf-content-wrapper .pagination a,
.pf-content-wrapper .pagination span,
.pf-content-wrapper .page-links a,
.pf-content-wrapper .page-links .current,
.pf-content-wrapper .nav-links a,
.pf-content-wrapper .nav-links span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.pf-content-wrapper .pagination a:hover,
.pf-content-wrapper .page-links a:hover,
.pf-content-wrapper .nav-links a:hover {
  background: #f3f4f6;
}

/* Responsive embed 16:9 (được bọc bằng JS) */
.pf-content-wrapper .pf-embed {
  position: relative;
  width: 100%;
  max-width: 100%;
}
.pf-content-wrapper .pf-embed::before {
  content: "";
  display: block;
  /* 16:9 */
  padding-top: 56.25%;
}
.pf-content-wrapper .pf-embed > iframe,
.pf-content-wrapper .pf-embed > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Bảo đảm iframe/object đơn lẻ vẫn co theo chiều ngang nếu không bọc được */
.pf-content-wrapper iframe,
.pf-content-wrapper video,
.pf-content-wrapper object,
.pf-content-wrapper embed {
  max-width: 100%;
}

/* Clearfix cho float */
.pf-content-wrapper::after {
  content: "";
  display: table;
  clear: both;
}

/* =========================
    Responsive tweaks (mobile)
    ========================= */
@media (max-width: 767.98px) {
  /* Bỏ float và căn giữa ảnh trên mobile */
  .pf-content-wrapper .alignleft,
  .pf-content-wrapper img.alignleft,
  .pf-content-wrapper figure.alignleft,
  .pf-content-wrapper .alignright,
  .pf-content-wrapper img.alignright,
  .pf-content-wrapper figure.alignright {
    float: none !important;
    display: block;
    margin: 0.5em auto !important;
    max-width: 100%;
  }

  /* Bảng: giảm padding cell một chút trên điện thoại */
  .pf-content-wrapper th,
  .pf-content-wrapper td {
    padding: 6px;
  }
}
/* ========================================================================== 
   Content v7.0.0 — Long content / Read More parity with Product Content
   ========================================================================== */
.pf-content-inner{position:relative;min-width:0}
.pf-content-inner>*:first-child{margin-top:0}
.pf-content-inner>*:last-child{margin-bottom:0}
.pf-content-clip{position:relative;min-width:0;overflow:visible}

.pfct-mode-height .pf-content-clip{transition:max-height var(--pfct-duration,260ms) ease}
.pfct-mode-height.pfct-collapsed .pf-content-clip{max-height:var(--pfct-collapse-h,520px);overflow:hidden}
.pfct-mode-height.pfct-expanded .pf-content-clip{max-height:none;overflow:visible}

.pfct-mode-blocks.pfct-collapsed .pfct-block-overflow{display:none!important}
.pfct-mode-blocks.pfct-expanded .pfct-block-overflow{display:revert!important}
.pfct-mode-blocks.pfct-collapsed:not(.pfct-blocks-ready) .pf-content-clip{max-height:var(--pfct-collapse-h,520px);overflow:hidden}

.pf-content-fade{display:none;position:absolute;z-index:20;left:0;right:0;bottom:0;height:var(--pfct-fade-h,110px);pointer-events:none;background:linear-gradient(to bottom,transparent 0%,var(--pfct-fade-color,#fff) 92%)}
.pfct-collapsed.pfct-has-fade .pf-content-fade{display:block}
.pfct-expanded .pf-content-fade{display:none!important}

.pf-content-toggle-wrap[hidden]{display:none!important}
.pf-content-toggle-wrap{position:relative;z-index:4;width:100%;box-sizing:border-box}
.pf-content-toggle{appearance:none;-webkit-appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:0;cursor:pointer;text-decoration:none;box-sizing:border-box;transition:color .18s ease,background-color .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease}
.pf-content-toggle:focus-visible{outline:3px solid color-mix(in srgb,currentColor 30%,transparent);outline-offset:2px}
.pf-content-toggle-icon{display:inline-block;width:8px;height:8px;border-right:1.7px solid currentColor;border-bottom:1.7px solid currentColor;transform:rotate(45deg) translateY(-2px);transform-origin:center;transition:transform var(--pfct-duration,260ms) ease}
.pfct-expanded .pf-content-toggle-icon{transform:rotate(225deg) translate(-1px,-1px)}

.pf-content-inner::after{content:"";display:table;clear:both}


/* ==========================================================================
   Content v7.0.1 — Empty content loading state
   Không render H1/paragraph/list mẫu khi object chưa có content.
   ========================================================================== */
.pf-content-wrapper.pfct-empty-state {
  width: 100%;
}

.pf-content-empty-state {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 96px;
  width: 100%;
  padding: 24px 18px;
  box-sizing: border-box;
  border: 1px dashed #d7dee8;
  border-radius: 10px;
  background: #f8fafc;
  color: #64748b;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
}

.pf-content-loading-spinner {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border: 2px solid #dbe4ee;
  border-top-color: #0ea5e9;
  border-radius: 50%;
  box-sizing: border-box;
  animation: pf-content-loading-spin .8s linear infinite;
}

.pf-content-loading-text {
  display: inline-block;
}

@keyframes pf-content-loading-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .pf-content-loading-spinner {
    animation: none;
    border-color: #dbe4ee;
    border-top-color: #0ea5e9;
  }
}

/* ========================================================================
   Content v7.1.1 — Table of Contents (4 visual themes)
   ======================================================================== */
.pf-content-wrapper .pf-content-inner .pfct-toc {
  --pfct-toc-width:320px;
  --pfct-toc-border:#b6b6b6;
  --pfct-toc-text:#263648;
  --pfct-toc-accent:#a35d20;
  position:relative;
  width:100%;
  max-width:100%;
  box-sizing:border-box;
  margin:18px 0 24px;
  padding:15px 18px;
  font-size:13px !important;
  line-height:1.65 !important;
  font-weight:400 !important;
  color:var(--pfct-toc-text);
  background:#f7f7f7;
  border:1px solid var(--pfct-toc-border);
  border-radius:4px;
  text-align:left;
  overflow-wrap:anywhere;
}
.pf-content-wrapper .pf-content-inner .pfct-toc--left,
.pf-content-wrapper .pf-content-inner .pfct-toc--right { width:min(var(--pfct-toc-width), 50%); }
.pf-content-wrapper .pf-content-inner .pfct-toc--left {float:left;margin:6px 22px 18px 0;clear:left}
.pf-content-wrapper .pf-content-inner .pfct-toc--right {float:right;margin:6px 0 18px 22px;clear:right}
.pf-content-wrapper .pf-content-inner .pfct-toc--center {width:min(100%,var(--pfct-toc-width));margin:20px auto 25px;clear:both}
.pf-content-wrapper .pf-content-inner .pfct-toc--full {float:none;clear:both}
.pf-content-wrapper .pf-content-inner .pfct-toc__title,
.pf-content-wrapper .pf-content-inner .pfct-toc summary {
  display:block;
  margin:0 0 7px;
  padding:0;
  color:var(--pfct-toc-accent);
  font-size:16px !important;
  font-weight:700 !important;
  line-height:1.4 !important;
}
.pf-content-wrapper .pf-content-inner .pfct-toc summary {display:list-item;cursor:pointer;list-style-position:inside}
.pf-content-wrapper .pf-content-inner .pfct-toc details:not([open]) summary {margin-bottom:0}
.pf-content-wrapper .pf-content-inner .pfct-toc ol {
  display:block;
  list-style:none !important;
  margin:0 !important;
  padding:0 !important;
  counter-reset:pfct-toc-counter;
  font-size:inherit !important;
  font-weight:400 !important;
  line-height:1.65 !important;
}
.pf-content-wrapper .pf-content-inner .pfct-toc .pfct-toc__sublist {padding-left:20px !important;}
.pf-content-wrapper .pf-content-inner .pfct-toc li {
  display:list-item;
  position:relative;
  margin:0 !important;
  padding:2px 0 !important;
  list-style:none !important;
  font-size:inherit !important;
  line-height:1.5 !important;
  font-weight:400 !important;
}
.pf-content-wrapper .pf-content-inner .pfct-toc li::before {
  counter-increment:pfct-toc-counter;
  content:counters(pfct-toc-counter, '.') '. ';
  color:var(--pfct-toc-text);
  font-weight:500;
}
.pf-content-wrapper .pf-content-inner .pfct-toc--no-num li::before {content:none}
.pf-content-wrapper .pf-content-inner .pfct-toc a,
.pf-content-wrapper .pf-content-inner .pfct-toc a:visited {
  color:var(--pfct-toc-text) !important;
  font-size:inherit !important;
  font-weight:inherit !important;
  line-height:inherit !important;
  text-decoration:none !important;
  background:none !important;
  border:0 !important;
  transition:color .15s ease;
}
.pf-content-wrapper .pf-content-inner .pfct-toc a:hover {color:var(--pfct-toc-accent) !important;text-decoration:underline !important}
.pf-content-wrapper .pf-content-inner :is(h1,h2,h3,h4,h5,h6)[id] {scroll-margin-top:90px}

/* Style 02 — Minimal: no box, clean lines */
.pf-content-wrapper .pf-content-inner .pfct-toc--minimal {
  background:transparent;
  border:0;
  border-bottom:1px solid #d9e0e8;
  border-radius:0;
  padding:10px 4px 16px;
  --pfct-toc-accent:#2563eb;
}
/* Style 03 — Accent: colored vertical stripe */
.pf-content-wrapper .pf-content-inner .pfct-toc--accent {
  background:#eff6ff;
  border:1px solid #bfdbfe;
  border-left:5px solid #2563eb;
  border-radius:8px;
  --pfct-toc-accent:#1d4ed8;
  --pfct-toc-text:#1e3a5f;
  box-shadow:0 4px 12px rgba(37,99,235,.04);
}
/* Style 04 — Dark: night card */
.pf-content-wrapper .pf-content-inner .pfct-toc--dark {
  background:#101827;
  border:1px solid #374151;
  border-radius:12px;
  --pfct-toc-accent:#f8c874;
  --pfct-toc-text:#e5e7eb;
  box-shadow:0 8px 22px rgba(0,0,0,.13);
}
@media(max-width:767.98px){
  .pf-content-wrapper .pf-content-inner .pfct-toc--full,
  .pf-content-wrapper .pf-content-inner .pfct-toc--left,
  .pf-content-wrapper .pf-content-inner .pfct-toc--right,
  .pf-content-wrapper .pf-content-inner .pfct-toc--center {
    display:block;
    float:none;
    clear:both;
    width:100%;
    max-width:100%;
    margin:16px 0 22px;
    padding:14px 12px;
  }
}

/* v7.1.1: checkbox H1–H6 trong Inspector */
.pfct-levels-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px 12px;align-items:center;min-width:0; }
.pfct-levels-grid .pc-check { display:inline-flex;white-space:nowrap;gap:5px;align-items:center;margin:0; }
.pfct-levels-grid .pc-check input { margin:0; }
@media (max-width:380px) { .pfct-levels-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }


/* ============================================================================
   Content v7.2.0 — TOC box, typography overrides + sticky side drawer.
   Presets remain defaults; explicit user overrides win. Scoped to this block.
   ============================================================================ */
.pf-content-wrapper .pf-content-inner .pfct-toc--classic{
  --pfct-theme-bg:#f7f7f7;--pfct-theme-border:#b6b6b6;--pfct-theme-radius:4px;
  --pfct-theme-padding:15px 18px;--pfct-theme-text:#263648;--pfct-theme-title:#a35d20;
  --pfct-theme-hover:#a35d20;--pfct-theme-border-width:1px;--pfct-theme-border-style:solid;--pfct-theme-shadow:none;
}
.pf-content-wrapper .pf-content-inner .pfct-toc--minimal{
  --pfct-theme-bg:transparent;--pfct-theme-border:#d9e0e8;--pfct-theme-radius:0px;
  --pfct-theme-padding:10px 4px 16px;--pfct-theme-text:#263648;--pfct-theme-title:#2563eb;
  --pfct-theme-hover:#2563eb;--pfct-theme-border-width:0 0 1px 0;--pfct-theme-border-style:solid;--pfct-theme-shadow:none;
}
.pf-content-wrapper .pf-content-inner .pfct-toc--accent{
  --pfct-theme-bg:#eff6ff;--pfct-theme-border:#bfdbfe;--pfct-theme-radius:8px;
  --pfct-theme-padding:15px 18px;--pfct-theme-text:#1e3a5f;--pfct-theme-title:#1d4ed8;
  --pfct-theme-hover:#1d4ed8;--pfct-theme-border-width:1px;--pfct-theme-border-style:solid;
  --pfct-theme-shadow:0 4px 12px rgba(37,99,235,.04);
}
.pf-content-wrapper .pf-content-inner .pfct-toc--dark{
  --pfct-theme-bg:#101827;--pfct-theme-border:#374151;--pfct-theme-radius:12px;
  --pfct-theme-padding:15px 18px;--pfct-theme-text:#e5e7eb;--pfct-theme-title:#f8c874;
  --pfct-theme-hover:#f8c874;--pfct-theme-border-width:1px;--pfct-theme-border-style:solid;
  --pfct-theme-shadow:0 8px 22px rgba(0,0,0,.13);
}
.pf-content-wrapper .pf-content-inner .pfct-toc {
  --pfct-final-bg:var(--pfct-user-bg,var(--pfct-theme-bg,#f7f7f7));
  --pfct-final-text:var(--pfct-user-text,var(--pfct-theme-text,#263648));
  --pfct-final-title:var(--pfct-user-title,var(--pfct-theme-title,#a35d20));
  --pfct-final-hover:var(--pfct-user-hover,var(--pfct-theme-hover,#a35d20));
  --pfct-final-border:var(--pfct-user-border,var(--pfct-theme-border,#b6b6b6));
  background:var(--pfct-final-bg) !important;
  color:var(--pfct-final-text) !important;
  border-color:var(--pfct-final-border) !important;
  border-width:var(--pfct-user-border-width,var(--pfct-theme-border-width,1px)) !important;
  border-style:var(--pfct-user-border-style,var(--pfct-theme-border-style,solid)) !important;
  border-radius:var(--pfct-user-radius,var(--pfct-theme-radius,4px)) !important;
  padding:var(--pfct-user-padding,var(--pfct-theme-padding,15px 18px)) !important;
  box-shadow:var(--pfct-user-shadow,var(--pfct-theme-shadow,none)) !important;
  --pfct-toc-text:var(--pfct-final-text);
  --pfct-toc-accent:var(--pfct-final-title);
  margin:var(--pfct-user-margin,18px 0 24px) !important;
  font-family:inherit;
}
.pf-content-wrapper .pf-content-inner .pfct-toc .pfct-toc__title,
.pf-content-wrapper .pf-content-inner .pfct-toc summary {
  color:var(--pfct-final-title) !important;
  font-size:var(--pfct-title-size,16px) !important;
  font-weight:var(--pfct-title-weight,700) !important;
  font-style:var(--pfct-title-style,normal) !important;
  line-height:var(--pfct-title-line,1.4) !important;
  letter-spacing:var(--pfct-title-tracking,normal) !important;
  text-transform:var(--pfct-title-transform,none) !important;
}
.pf-content-wrapper .pf-content-inner .pfct-toc ol,
.pf-content-wrapper .pf-content-inner .pfct-toc li,
.pf-content-wrapper .pf-content-inner .pfct-toc li > a {
  font-size:var(--pfct-item-size,13px) !important;
  font-weight:var(--pfct-item-weight,400) !important;
  font-style:var(--pfct-item-style,normal) !important;
  line-height:var(--pfct-item-line,1.55) !important;
  letter-spacing:var(--pfct-item-tracking,normal) !important;
  text-transform:var(--pfct-item-transform,none) !important;
}
.pf-content-wrapper .pf-content-inner .pfct-toc li {padding:var(--pfct-item-spacing,2px) 0 !important;}
.pf-content-wrapper .pf-content-inner .pfct-toc .pfct-toc__sublist {padding-left:var(--pfct-nested-indent,20px) !important;}
.pf-content-wrapper .pf-content-inner .pfct-toc li > a,
.pf-content-wrapper .pf-content-inner .pfct-toc li > a:visited {color:var(--pfct-final-text) !important;}
.pf-content-wrapper .pf-content-inner .pfct-toc li > a:hover,
.pf-content-wrapper .pf-content-inner .pfct-toc li > a:focus-visible {color:var(--pfct-final-hover) !important;}
/* preserve classic layout (float side spacing) unless custom margin set */
.pf-content-wrapper .pf-content-inner .pfct-toc--left {margin:var(--pfct-user-margin,6px 22px 18px 0) !important;}
.pf-content-wrapper .pf-content-inner .pfct-toc--right {margin:var(--pfct-user-margin,6px 0 18px 22px) !important;}
.pf-content-wrapper .pf-content-inner .pfct-toc--center {margin:var(--pfct-user-margin,20px auto 25px) !important;}
/* Static (non-sticky) nav needs no nested wrapper chrome. */
.pf-content-wrapper .pf-content-inner .pfct-toc .pfct-toc__trigger {display:none;}

/* Without JS, sticky layout falls back to a readable regular TOC.
   JS applies is-ready to activate the fixed dock. */
.pf-content-wrapper .pf-content-inner .pfct-toc--sticky-left.is-ready,
.pf-content-wrapper .pf-content-inner .pfct-toc--sticky-right.is-ready {
  position:fixed !important;
  top:var(--pfct-sticky-top,110px) !important;
  left:auto !important;right:auto !important;
  margin:0 !important;
  padding:0 !important;
  width:var(--pfct-trigger-size,46px) !important;
  height:var(--pfct-trigger-size,46px) !important;
  max-width:none !important;
  background:none !important;
  box-shadow:none !important;
  border:0 !important;
  border-radius:0 !important;
  float:none !important;
  clear:none !important;
  visibility:hidden;
  pointer-events:none;
  z-index:1010;
  overflow:visible;
}
.pf-content-wrapper .pf-content-inner .pfct-toc--sticky-left.is-ready {left:var(--pfct-sticky-edge,12px) !important;}
.pf-content-wrapper .pf-content-inner .pfct-toc--sticky-right.is-ready {right:var(--pfct-sticky-edge,12px) !important;}
.pf-content-wrapper .pf-content-inner .pfct-toc.is-ready.is-in-view{visibility:visible;pointer-events:auto;}
.pf-content-wrapper .pf-content-inner .pfct-toc--sticky-left.is-ready .pfct-toc__trigger,
.pf-content-wrapper .pf-content-inner .pfct-toc--sticky-right.is-ready .pfct-toc__trigger {
  display:flex !important;align-items:center;justify-content:center;
  box-sizing:border-box;width:100%;height:100%;margin:0;padding:0;
  border:1px solid var(--pfct-final-border,#b6b6b6);
  border-radius:50%;
  background:var(--pfct-sticky-button-color,var(--pfct-final-bg,#f7f7f7)) !important;
  color:var(--pfct-sticky-icon-color,var(--pfct-final-title,#2563eb)) !important;
  cursor:pointer;font-size:23px;line-height:1;box-shadow:0 4px 14px rgba(0,0,0,.15);
}
.pf-content-wrapper .pf-content-inner .pfct-toc--sticky-left.is-ready .pfct-toc__trigger--rounded,
.pf-content-wrapper .pf-content-inner .pfct-toc--sticky-right.is-ready .pfct-toc__trigger--rounded {border-radius:12px;}
.pf-content-wrapper .pf-content-inner .pfct-toc--sticky-left.is-ready .pfct-toc__trigger--square,
.pf-content-wrapper .pf-content-inner .pfct-toc--sticky-right.is-ready .pfct-toc__trigger--square {border-radius:2px;}
.pf-content-wrapper .pf-content-inner .pfct-toc.is-ready .pfct-toc__trigger:focus-visible {
  outline:3px solid var(--pfct-final-title,#2563eb);outline-offset:3px;
}
.pf-content-wrapper .pf-content-inner .pfct-toc.is-ready .pfct-toc__panel {
  position:absolute;top:0;
  margin:0;
  box-sizing:border-box;
  padding:var(--pfct-user-padding,var(--pfct-theme-padding,15px 18px));
  width:min(var(--pfct-toc-width,320px),calc(100vw - var(--pfct-trigger-size,46px) - var(--pfct-sticky-edge,12px) - 18px));
  max-width:calc(100vw - 85px);
  max-height:min(var(--pfct-sticky-max-height,560px),calc(100dvh - var(--pfct-sticky-top,110px) - 20px));
  overflow-y:auto;overscroll-behavior:contain;
  background:var(--pfct-final-bg,#f7f7f7);
  color:var(--pfct-final-text,#263648);
  border:var(--pfct-user-border-width,var(--pfct-theme-border-width,1px)) var(--pfct-user-border-style,var(--pfct-theme-border-style,solid)) var(--pfct-final-border,#b6b6b6);
  border-radius:var(--pfct-user-radius,var(--pfct-theme-radius,8px));
  box-shadow:var(--pfct-user-shadow,0 12px 28px rgba(0,0,0,.16));
  opacity:0;visibility:hidden;pointer-events:none;
  transition:opacity .15s ease,transform .15s ease;
}
.pf-content-wrapper .pf-content-inner .pfct-toc--sticky-left.is-ready .pfct-toc__panel {left:calc(var(--pfct-trigger-size,46px) + 8px);transform:translateX(-7px);}
.pf-content-wrapper .pf-content-inner .pfct-toc--sticky-right.is-ready .pfct-toc__panel {right:calc(var(--pfct-trigger-size,46px) + 8px);transform:translateX(7px);}
.pf-content-wrapper .pf-content-inner .pfct-toc.is-ready.is-open .pfct-toc__panel {opacity:1;visibility:visible;pointer-events:auto;transform:translateX(0);}
.pf-content-wrapper .pf-content-inner .pfct-toc.is-ready .pfct-toc__panel[inert] {pointer-events:none;}
@media(max-width:767.98px){
  .pf-content-wrapper .pf-content-inner .pfct-toc.is-ready {--pfct-sticky-top:90px;--pfct-sticky-edge:8px;}
  .pf-content-wrapper .pf-content-inner .pfct-toc.is-ready .pfct-toc__panel {
    padding:var(--pfct-user-padding,12px 14px);
    max-height:min(var(--pfct-sticky-max-height,560px),calc(100dvh - 100px));
    max-width:calc(100vw - 80px);
  }
}
@media(prefers-reduced-motion:reduce){
  .pf-content-wrapper .pf-content-inner .pfct-toc.is-ready .pfct-toc__panel{transition:none;}
}
