/* ========= Post page polish (The Food Prices) ========= */

/* Base spacing & readable text */
.entry-content > p{
  margin: 0 0 1rem 0;
  color:#1f2937;
}
.entry-content em, .entry-content strong{ color:#111827; }

/* --- Info cards (About / Tips / Related) --- */
.entry-content .csp-eat,
.entry-content .csp-tips,
.entry-content .csp-related{
  background:#fbfcfe;
  border:1px solid #e6ecf2;
  border-radius:16px;
  padding:16px 18px;
  box-shadow:0 1px 0 rgba(17,24,39,.02);
}
.entry-content .csp-tips h2,
.entry-content .csp-related h2{
  margin:0 0 10px 0;
  font-size:18px;
  color:#0f172a;
}
.entry-content .csp-tips ul,
.entry-content .csp-related ul{ margin:0 0 0 18px; }

/* --- Share row (если используешь) --- */
.entry-content .tfp-share{
  border:1px solid #e6ecf2!important;
  background:#ffffff;
  border-radius:16px;
  padding:14px 16px;
}
.entry-content .tfp-share h3{
  margin:0 0 8px 0; font-size:16px;
}
.entry-content .tfp-share a{
  display:inline-block;
  margin:6px 6px 0 0;
  padding:8px 10px;
  border:1px solid #e6ecf2;
  border-radius:999px;
  text-decoration:none;
  color:#1f2937;
}
.entry-content .tfp-share a:hover{ background:#f8fafc; }

/* ========= Menu table ========= */
.entry-content table.csp-prices{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  background:#fff;
  border:1px solid #e6ecf2;
  border-radius:16px;
  overflow:hidden;
  font-size:15px;
  margin:14px 0 18px;
}

.entry-content .csp-prices thead th{
  background:linear-gradient(180deg,#f8fafc 0%,#f2f6fb 100%);
  color:#1f2937;
  font-weight:700;
  text-align:left;
  padding:14px 16px;
  border-bottom:1px solid #e6ecf2;
  position:sticky; top:0; z-index:1;
}

.entry-content .csp-prices tbody td{
  padding:12px 16px;
  border-bottom:1px solid #f1f5f9;
  vertical-align:middle;
}
.entry-content .csp-prices tbody tr:nth-child(even) td{ background:#fcfdff; }
.entry-content .csp-prices tbody tr:hover td{ background:#f9fbff; }

/* Section headers inside tbody (th colspan="4") */
.entry-content .csp-prices tbody th[colspan]{
  background:#0f172a;
  color:#fff;
  padding:10px 16px;
  font-size:14px;
  letter-spacing:.2px;
  text-transform:uppercase;
  border-bottom:0;
}

/* Column widths */
.entry-content .csp-prices td:nth-child(2),
.entry-content .csp-prices th:nth-child(2){ width:110px; }
.entry-content .csp-prices td:nth-child(4),
.entry-content .csp-prices th:nth-child(4){ width:120px; }

/* Price — tabular figures */
.entry-content .csp-prices td:nth-child(3){
  font-variant-numeric:tabular-nums;
  font-weight:600;
  white-space:nowrap;
}

/* Calories badge */
.entry-content .csp-prices td:nth-child(4){ white-space:nowrap; }
.entry-content .csp-prices td:nth-child(4) .kcal{
  display:inline-block;
  padding:4px 8px;
  border-radius:999px;
  background:#f1f5f9;
  border:1px solid #e5e7eb;
  font-size:12px;
  line-height:1;
  color:#475569;
}

/* Size chip */
.entry-content .size-chip{
  display:inline-block;
  padding:4px 10px;
  border-radius:999px;
  background:#f8fafc;
  border:1px solid #e6ecf2;
  font-size:12px;
  line-height:1;
  color:#334155;
  text-transform:capitalize;
}
.entry-content .size-chip.is-default{
  background:#eef6ff;
  border-color:#d8e3ff;
  color:#1e3a8a;
  font-weight:600;
}
/* На всякий случай оставим стиль для старого "is-empty" */
.entry-content .size-chip.is-empty{
  color:#64748b;
  font-style:italic;
}

/* Title capitalization for Item column (простая капитализация) */
.entry-content .csp-prices tbody td:first-child{
  text-transform:capitalize;
  color:#0f172a;
}

/* Mobile: turn rows into cards */
@media (max-width: 720px){
  .entry-content .csp-prices thead{ display:none; }
  .entry-content .csp-prices,
  .entry-content .csp-prices tbody,
  .entry-content .csp-prices tr,
  .entry-content .csp-prices td{ display:block; width:100%; }
  .entry-content .csp-prices tbody th[colspan]{ position:sticky; top:0; }
  .entry-content .csp-prices tr{ padding:10px 12px; }
  .entry-content .csp-prices td{ border:none; padding:6px 0; }
  .entry-content .csp-prices td:nth-child(1)::before{ content:"Item: "; font-weight:600; color:#334155; }
  .entry-content .csp-prices td:nth-child(2)::before{ content:"Size: "; font-weight:600; color:#334155; }
  .entry-content .csp-prices td:nth-child(3)::before{ content:"Price: "; font-weight:600; color:#334155; }
  .entry-content .csp-prices td:nth-child(4)::before{ content:"Calories: "; font-weight:600; color:#334155; }
}

/* ========= FAQ styling ========= */
/* Ожидается обёртка .csp-faq и пары h3 + p */
.entry-content .csp-faq{
  margin:20px 0 0;
  border:1px solid #e6ecf2;
  border-radius:16px;
  background:#fbfcfe;
  overflow:hidden;
  counter-reset: faq;
}
.entry-content .csp-faq > h3{
  margin:0;
  padding:14px 16px 14px 48px;
  font-size:18px;
  line-height:1.35;
  color:#0f172a;
  border-bottom:1px solid #eef2f7;
  position:relative;
}
.entry-content .csp-faq > h3::before{
  counter-increment: faq;
  content:"Q" counter(faq);
  position:absolute; left:14px; top:50%; transform:translateY(-50%);
  width:26px; height:26px; border-radius:999px;
  display:grid; place-items:center;
  background:#e8f0ff; color:#1d4ed8; font-weight:700; font-size:12px;
}
.entry-content .csp-faq > h3 + p{
  margin:0; padding:12px 16px 16px 48px;
  color:#475569;
  border-bottom:1px solid #f1f5f9;
}
.entry-content .csp-faq > p:last-child{ border-bottom:none; }
.entry-content .csp-faq > h3:hover{ background:#f8fbff; }

/* ========= Related Restaurants ========= */
.entry-content .csp-related{
  background:#fbfcfe;
  border:1px solid #e6ecf2;
  border-radius:16px;
  padding:16px 18px;
}
.entry-content .csp-related h2{
  margin:0 0 12px 0;
  font-size:18px; color:#0f172a;
}
.entry-content .csp-related ul{
  list-style:none; margin:0; padding:0;
  display:grid; gap:12px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.entry-content .csp-related li{ margin:0; }
.entry-content .csp-related li a{
  display:flex; align-items:center; gap:12px;
  padding:12px 14px;
  background:#fff;
  border:1px solid #e6ecf2;
  border-radius:12px;
  text-decoration:none; color:#0f172a;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.entry-content .csp-related li a:hover{
  border-color:#d6e1ee;
  box-shadow:0 1px 0 rgba(17,24,39,.02), 0 4px 14px rgba(15,23,42,.06);
  transform: translateY(-1px);
}
.entry-content .brand-avatar{
  width:28px; height:28px; flex:0 0 28px;
  border-radius:999px;
  display:grid; place-items:center;
  background:#e8f0ff; color:#1d4ed8;
  font-weight:700; font-size:13px;
}

/* ===== TFP Share — универсальные стили, без привязки к .entry-content ===== */
.tfp-share{
  border:1px solid #e6ecf2;
  background:#fff;
  border-radius:16px;
  padding:14px 16px;
  margin:20px 0;
  box-shadow:0 1px 0 rgba(17,24,39,.02);
}
.tfp-share .tfp-share__title{
  margin:0 0 10px 0;
  font-size:16px;
  color:#0f172a;
}

/* Кнопки в «пилюлях» + автоиконки */
.tfp-share a{
  display:inline-flex; align-items:center; gap:8px;
  margin:6px 6px 0 0;
  padding:8px 12px;
  border:1px solid #e6ecf2;
  border-radius:999px;
  background:#fff;
  color:#0f172a;
  text-decoration:none;
  line-height:1.1;
  transition:border-color .2s, background-color .2s, box-shadow .2s, transform .2s;
  will-change: transform;
}

.tfp-share a:hover{
  background:#f8fafc;
  border-color:#dbe5ef;
  transform:translateY(-1px);
  box-shadow:0 1px 0 rgba(17,24,39,.02), 0 4px 14px rgba(15,23,42,.06);
}

.tfp-share a:focus-visible{
  outline:none;
  box-shadow:0 0 0 3px rgba(29,78,216,.2);
  border-color:#93c5fd;
}

/* -------- Иконки через CSS mask (монохромные, наследуют currentColor) -------- */
.tfp-share a::before{
  content:"";
  width:16px; height:16px; flex:0 0 16px;
  background: currentColor;
  -webkit-mask: no-repeat center / contain;
  mask: no-repeat center / contain;
}

/* Facebook */
.tfp-share a[href*="facebook.com"]::before{
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path d="M279.14 288l14.22-92.66h-88.91v-60.13c0-25.35 12.42-50.06 52.24-50.06h40.42V6.26S260.43 0 225.36 0c-73.22 0-121.08 44.38-121.08 124.72v70.62H22.89V288h81.39v224h100.2V288z"/></svg>');
          mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path d="M279.14 288l14.22-92.66h-88.91v-60.13c0-25.35 12.42-50.06 52.24-50.06h40.42V6.26S260.43 0 225.36 0c-73.22 0-121.08 44.38-121.08 124.72v70.62H22.89V288h81.39v224h100.2V288z"/></svg>');
}
.tfp-share a[href*="facebook.com"]:hover{ color:#1d4ed8; background:#eff6ff; border-color:#dbeafe; }

/* X (Twitter) */
.tfp-share a[href*="twitter.com"]::before{
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 1227"><path d="M714 692l327 409H908L621 784l-327 317H9l357-348L0 126h335l215 277 306-277h264z"/></svg>');
          mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 1227"><path d="M714 692l327 409H908L621 784l-327 317H9l357-348L0 126h335l215 277 306-277h264z"/></svg>');
}
.tfp-share a[href*="twitter.com"]:hover{ color:#111827; background:#f3f4f6; border-color:#e5e7eb; }

/* Reddit */
.tfp-share a[href*="reddit.com"]::before{
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M440 204c-17 0-32 7-43 18-31-20-74-33-121-34l24-111 77 17c0 23 19 41 41 41 23 0 41-19 41-41s-19-41-41-41c-16 0-29 9-36 22l-86-19c-6-1-12 3-14 9l-27 125c-48 1-92 14-124 34-11-11-26-18-43-18-57 0-76 76-24 103-1 6-1 11-1 17 0 77 94 140 210 140s210-63 210-140c0-6 0-12-1-17 52-27 33-103-24-103zM166 296c0-23 19-41 41-41s41 19 41 41-19 41-41 41-41-19-41-41zm233 77c-29 29-86 39-143 39s-114-10-143-39c-10-10-10-26 0-36s26-10 36 0c19 19 62 28 107 28s88-9 107-28c10-10 26-10 36 0s10 26 0 36zm-8-77c-23 0-41-19-41-41s19-41 41-41 41 19 41 41-19 41-41 41z"/></svg>');
          mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M440 204c-17 0-32 7-43 18-31-20-74-33-121-34l24-111 77 17c0 23 19 41 41 41 23 0 41-19 41-41s-19-41-41-41c-16 0-29 9-36 22l-86-19c-6-1-12 3-14 9l-27 125c-48 1-92 14-124 34-11-11-26-18-43-18-57 0-76 76-24 103-1 6-1 11-1 17 0 77 94 140 210 140s210-63 210-140c0-6 0-12-1-17 52-27 33-103-24-103zM166 296c0-23 19-41 41-41s41 19 41 41-19 41-41 41-41-19-41-41zm233 77c-29 29-86 39-143 39s-114-10-143-39c-10-10-10-26 0-36s26-10 36 0c19 19 62 28 107 28s88-9 107-28c10-10 26-10 36 0s10 26 0 36zm-8-77c-23 0-41-19-41-41s19-41 41-41 41 19 41 41-19 41-41 41z"/></svg>');
}
.tfp-share a[href*="reddit.com"]:hover{ color:#b45309; background:#fff7ed; border-color:#ffedd5; }

/* Telegram */
.tfp-share a[href*="t.me"]::before{
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path d="M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm121 169L327 354c-3 12-11 15-22 9l-62-46-30 29c-3 3-6 5-11 5l4-64 116-105c5-4-1-6-7-2l-143 90-62-20c-13-4-13-13 3-19l242-93c11-4 21 3 17 19z"/></svg>');
          mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path d="M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm121 169L327 354c-3 12-11 15-22 9l-62-46-30 29c-3 3-6 5-11 5l4-64 116-105c5-4-1-6-7-2l-143 90-62-20c-13-4-13-13 3-19l242-93c11-4 21 3 17 19z"/></svg>');
}
.tfp-share a[href*="t.me"]:hover{ color:#0c4a6e; background:#e0f2fe; border-color:#bae6fd; }

/* WhatsApp */
.tfp-share a[href*="whatsapp.com"]::before{
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M380.9 97.1C339 55.2 283.2 32 224.8 32 103.5 32 4 131.5 4 252.8c0 43.8 11.4 86.5 33 124.1L0 480l106.9-36.6c36.2 19.8 76.9 30.2 117.9 30.2h.1c121.3 0 220.8-99.5 220.8-220.8 0-58.4-23.2-114.2-64.8-155.7zM224.9 438.6h-.1c-37.4 0-73.9-10.1-105.6-29.2l-7.6-4.5-63.4 21.7 21-61.8-5-8c-20.4-32.5-31.1-70-31.1-108.5C33 147.7 119.8 61 224.8 61c51.4 0 99.7 20 136.1 56.4 36.4 36.5 56.5 84.9 56.5 136.5 0 105-86.9 190.7-192.5 190.7zm101.6-138.9c-5.6-2.8-33.1-16.2-38.2-18-5.1-1.9-8.8-2.8-12.5 2.8-3.7 5.6-14.3 18-17.5 21.7-3.2 3.7-6.4 4.2-12 1.4-5.6-2.8-23.5-8.7-44.8-27.8-16.5-14.8-27.7-33.1-31-38.7-3.2-5.6-.3-8.6 2.4-11.3 2.5-2.5 5.6-6.4 8.4-9.6 2.8-3.7 3.7-6.4 5.6-10 1.9-3.7.9-7-0.5-9.8-1.4-2.8-12.5-30.2-17.1-41.3-4.5-10.8-9.1-9.3-12.5-9.4-3.2-.1-7-.1-10.7-.1s-9.8 1.4-14.9 7c-5.1 5.6-19.5 19.1-19.5 46.6s20 54 22.8 57.8c2.8 3.7 38.9 59.3 94.3 83.2 13.2 5.7 23.5 9.1 31.5 11.6 13.2 4.2 25.2 3.6 34.6 2.2 10.6-1.6 33.1-13.5 37.7-26.5 4.6-13 4.6-24.1 3.2-26.5-1.3-2.5-5.1-4-10.7-6.8z"/></svg>');
          mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M380.9 97.1C339 55.2 283.2 32 224.8 32 103.5 32 4 131.5 4 252.8c0 43.8 11.4 86.5 33 124.1L0 480l106.9-36.6c36.2 19.8 76.9 30.2 117.9 30.2h.1c121.3 0 220.8-99.5 220.8-220.8 0-58.4-23.2-114.2-64.8-155.7zM224.9 438.6h-.1c-37.4 0-73.9-10.1-105.6-29.2l-7.6-4.5-63.4 21.7 21-61.8-5-8c-20.4-32.5-31.1-70-31.1-108.5C33 147.7 119.8 61 224.8 61c51.4 0 99.7 20 136.1 56.4 36.4 36.5 56.5 84.9 56.5 136.5 0 105-86.9 190.7-192.5 190.7zm101.6-138.9c-5.6-2.8-33.1-16.2-38.2-18-5.1-1.9-8.8-2.8-12.5 2.8-3.7 5.6-14.3 18-17.5 21.7-3.2 3.7-6.4 4.2-12 1.4-5.6-2.8-23.5-8.7-44.8-27.8-16.5-14.8-27.7-33.1-31-38.7-3.2-5.6-.3-8.6 2.4-11.3 2.5-2.5 5.6-6.4 8.4-9.6 2.8-3.7 3.7-6.4 5.6-10 1.9-3.7.9-7-0.5-9.8-1.4-2.8-12.5-30.2-17.1-41.3-4.5-10.8-9.1-9.3-12.5-9.4-3.2-.1-7-.1-10.7-.1s-9.8 1.4-14.9 7c-5.1 5.6-19.5 19.1-19.5 46.6s20 54 22.8 57.8c2.8 3.7 38.9 59.3 94.3 83.2 13.2 5.7 23.5 9.1 31.5 11.6 13.2 4.2 25.2 3.6 34.6 2.2 10.6-1.6 33.1-13.5 37.7-26.5 4.6-13 4.6-24.1 3.2-26.5-1.3-2.5-5.1-4-10.7-6.8z"/></svg>');
}
.tfp-share a[href*="whatsapp.com"]:hover{ color:#065f46; background:#ecfdf5; border-color:#d1fae5; }

/* LinkedIn */
.tfp-share a[href*="linkedin.com"]::before{
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M100.3 448H7V148.9h93.3V448zM53.8 108.1C24.1 108.1 0 83.5 0 53.8S24.1-.5 53.8-.5s53.8 24.1 53.8 54-24.1 54.8-53.8 54.8zM447.9 448h-93V302.4c0-34.7-.7-79.3-48.3-79.3-48.3 0-55.7 37.7-55.7 76.6V448h-93V148.9h89.3v40.8h1.3c12.4-23.5 42.6-48.3 87.8-48.3 93.9 0 111.3 61.9 111.3 142.3V448z"/></svg>');
          mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M100.3 448H7V148.9h93.3V448zM53.8 108.1C24.1 108.1 0 83.5 0 53.8S24.1-.5 53.8-.5s53.8 24.1 53.8 54-24.1 54.8-53.8 54.8zM447.9 448h-93V302.4c0-34.7-.7-79.3-48.3-79.3-48.3 0-55.7 37.7-55.7 76.6V448h-93V148.9h89.3v40.8h1.3c12.4-23.5 42.6-48.3 87.8-48.3 93.9 0 111.3 61.9 111.3 142.3V448z"/></svg>');
}
.tfp-share a[href*="linkedin.com"]:hover{ color:#1d4ed8; background:#eff6ff; border-color:#dbeafe; }

/* Email */
.tfp-share a[href^="mailto:"]::before{
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M502.3 190.8c3.9-3.1 9.7-.2 9.7 4.7V400c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V195.5c0-4.9 5.7-7.8 9.7-4.7 22.4 17.4 52.3 39.5 154.1 113.6 21.1 15.4 56.7 47.8 92.2 47.6 35.6 .3 72-32.8 92.3-47.6 101.9-74.1 131.8-96.3 154.3-113.6zM256 320c23.2 .4 56.6-29.2 73.4-41.3 132.6-96.5 142.8-104.7 173.2-128.7 5.8-4.5 9.4-11.5 9.4-19V112c0-26.5-21.5-48-48-48H48C21.5 64 0 85.5 0 112v19c0 7.5 3.6 14.5 9.4 19 30.4 23.9 40.6 32.2 173.2 128.7 16.8 12.1 50.3 41.7 73.4 41.3z"/></svg>');
          mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M502.3 190.8c3.9-3.1 9.7-.2 9.7 4.7V400c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V195.5c0-4.9 5.7-7.8 9.7-4.7 22.4 17.4 52.3 39.5 154.1 113.6 21.1 15.4 56.7 47.8 92.2 47.6 35.6 .3 72-32.8 92.3-47.6 101.9-74.1 131.8-96.3 154.3-113.6zM256 320c23.2 .4 56.6-29.2 73.4-41.3 132.6-96.5 142.8-104.7 173.2-128.7 5.8-4.5 9.4-11.5 9.4-19V112c0-26.5-21.5-48-48-48H48C21.5 64 0 85.5 0 112v19c0 7.5 3.6 14.5 9.4 19 30.4 23.9 40.6 32.2 173.2 128.7 16.8 12.1 50.3 41.7 73.4 41.3z"/></svg>');
}
.tfp-share a[href^="mailto:"]:hover{ color:#334155; background:#f1f5f9; border-color:#e2e8f0; }

/* Copy / Native share */
.tfp-share a[data-tfp-copy]::before,
.tfp-share a[data-tfp-native-share]::before{
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M320 448H48c-26.5 0-48-21.5-48-48V160c0-26.5 21.5-48 48-48h80V48C128 21.5 149.5 0 176 0h144c26.5 0 48 21.5 48 48v64h80c26.5 0 48 21.5 48 48v192c0 26.5-21.5 48-48 48H320zm-32-352V64H176v32h112z"/></svg>');
          mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M320 448H48c-26.5 0-48-21.5-48-48V160c0-26.5 21.5-48 48-48h80V48C128 21.5 149.5 0 176 0h144c26.5 0 48 21.5 48 48v64h80c26.5 0 48 21.5 48 48v192c0 26.5-21.5 48-48 48H320zm-32-352V64H176v32h112z"/></svg>');
}
.tfp-share a[data-tfp-copy]:hover{ color:#1e3a8a; background:#eef2ff; border-color:#e0e7ff; }
.tfp-share a[data-tfp-copy].is-copied{ color:#065f46; background:#ecfdf5; border-color:#86efac; }

/* Компактность на мобилке */
@media (max-width: 640px){
  .tfp-share a{ padding:8px 10px; }
}

/* ToC — компактные строки, 2 строки + многоточие, переносы */
.tfp-toc .tfp-toc__list a{
  font-size:15px; line-height:1.35;
  padding:6px 10px; border-radius:10px;
  hyphens:auto; word-break:break-word;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}
.tfp-toc .tfp-toc__list a.is-active{
  background:#eef6ff; color:#1e3a8a; font-weight:600;
  box-shadow:inset 0 0 0 1px #dbeafe;
}
/* H3 — визуально вторичный уровень */
.tfp-toc .tfp-toc__list li[data-level="h3"] a{
  padding-left:18px; font-size:14px; opacity:.95;
}
