/* Список и статья блога. Шапка и общее меню здесь не задаются. */

.tz-blog {
  max-width: 42rem;
  color: var(--ink, #333333);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.45;
}

.tz-blog h1,
.tz-blog h2,
.tz-blog h3 {
  margin: 0 0 8px;
  color: var(--ink, #333333);
  font-weight: 700;
  line-height: 1.3;
}

.tz-blog h1 { font-size: 22px; }

.tz-blog h2 {
  margin-top: 22px;
  font-size: 16px;
}

.tz-blog h3 {
  margin-top: 16px;
  font-size: 15px;
}

.tz-blog p,
.tz-blog ul {
  margin: 0 0 8px;
}

.tz-blog ul { padding-left: 1.2em; }

.tz-blog li { margin: 0 0 4px; }

.tz-blog a {
  color: var(--blue, #45618d);
  overflow-wrap: anywhere;
}

.tz-blog__topics {
  list-style: none;
  padding: 0;
}

.tz-blog__topics li {
  margin: 0 0 8px;
}

.tz-blog__rubric,
.tz-blog__back {
  color: var(--muted, #5c6568);
}

.tz-blog__back { margin-bottom: 12px; }

.tz-blog__body { margin-top: 12px; }

/* Article infographics: responsive size and access to full resolution. */
.tz-blog__infographic { margin: 24px 0; }
.tz-blog__infographic a { display: block; }
.tz-blog__infographic img { display: block; width: 100%; max-width: 100%; height: auto; }
.tz-blog__infographic figcaption { margin-top: 8px; color: var(--muted, #5c6568); font-size: 13px; line-height: 1.45; }

/* Blog-specific shell: ordinary product pages retain their existing sidebar. */
.av-frame--blog .av-col { width: 100%; margin-left: 0; }
.tz-blog-breadcrumbs { display: flex; flex-wrap: wrap; gap: 5px; margin: 18px 0 32px; color: #737b86; font: 14px/1.5 Arial, sans-serif; }
.tz-blog-breadcrumbs a { color: inherit; text-decoration: none; }
.tz-blog-breadcrumbs a:hover { text-decoration: underline; }
.tz-blog-nav { display: flex; flex: 0 0 auto; align-items: stretch; }
.tz-blog-nav__item { display: flex; align-items: stretch; }
.tz-blog-nav__toggle { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; min-width: 0; padding: 10px 12px; border: 0; background: var(--lime); color: #fff; font: 14px/18px Arial, sans-serif; text-transform: uppercase; white-space: nowrap; cursor: pointer; }
.tz-blog-nav__toggle--actions { background: #ce1f7e; }
.tz-blog-nav__toggle svg { width: 18px; height: 18px; flex: 0 0 18px; }
.tz-blog-nav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.tz-blog-nav__panel { position: absolute; top: calc(100% + 6px); left: 0; width: min(440px, 100%); max-height: min(560px, calc(100dvh - var(--blog-panel-top, 250px) - 20px)); overflow-y: auto; overscroll-behavior: contain; background: #f1f3f6; padding: 12px 16px; border: 1px solid #dce1e8; box-shadow: 0 8px 20px rgb(30 45 70 / 16%); }
.tz-blog-nav__panel[hidden], .tz-blog-card[hidden] { display: none !important; }
.tz-blog-nav__panel #av-side-list { height: auto; max-height: none; overflow: visible; direction: ltr; }
.tz-blog-nav__panel .av-side__list { margin: 0; }
.tz-blog-nav__panel a { color: #2d3540; }
.tz-blog[data-blog-list] { max-width: none; font-size: 17px; line-height: 1.35; }
.tz-blog[data-blog-list] > h1 { font-size: 36px; margin-bottom: 6px; }
.tz-blog__lead { font-size: 20px; font-weight: 700; }
.tz-blog__intro { color: #667080; margin-bottom: 22px !important; }
.tz-blog-feature { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; margin: 0 0 26px; background: #f0f1f4; }
.tz-blog-feature__copy { padding: 26px 24px; align-self: center; }
.tz-blog-feature__tag { color: #ce1f7e; text-transform: uppercase; font-size: 15px; font-weight: 700; margin-bottom: 16px !important; }
.tz-blog .tz-blog-feature h2 { margin: 0 0 18px; font-size: 31px; line-height: 1.13; color: #141922; }
.tz-blog-feature__copy > p:not(.tz-blog-feature__tag) { color: #5b6472; margin-bottom: 18px; }
.tz-blog-feature__image { display: block; width: 100%; height: 100%; min-height: 380px; object-fit: contain; object-position: center; }
.tz-blog .tz-blog-feature__button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 220px; padding: 10px 20px; background: var(--lime); color: #25324A; font-size: 16px; font-weight: 700; text-decoration: none; border-radius: 2px; }
.tz-blog-feature__button:hover { filter: brightness(.94); }
.tz-blog-filters { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 20px; margin-bottom: 18px; }
.tz-blog-filters button { border: 0; border-bottom: 1px solid #b0bfd2; background: none; padding: 0 0 6px; color: #24558a; font: inherit; cursor: pointer; }
.tz-blog-filters button[aria-pressed="true"] { color: #ce1f7e; border-bottom: 2px solid #ce1f7e; font-weight: 700; }
.tz-blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 16px; }
.tz-blog-card__link { display: block; text-decoration: none; }
.tz-blog-card img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 10px; }
.tz-blog .tz-blog-card__rubric { color: #24558a; text-transform: uppercase; font-size: 13px; margin-bottom: 7px; }
.tz-blog .tz-blog-card h2 { color: #171d29; font-size: 19px; line-height: 1.15; margin: 0 0 12px; }
.tz-blog-card__link:hover h2 { color: #ce1f7e; }
.tz-blog-card__excerpt { color: #667080; font-size: 16px; }
.tz-blog-nav button:focus-visible, .tz-blog-nav a:focus-visible, .tz-blog-breadcrumbs a:focus-visible, .tz-blog button:focus-visible, .tz-blog a:focus-visible { outline: 3px solid #9ab700; outline-offset: 3px; }
@media (max-width: 900px) { .tz-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tz-blog .tz-blog-feature h2 { font-size: 27px; } .tz-blog-feature__image { min-height: 330px; } }
@media (max-width: 600px) { .tz-blog-breadcrumbs { margin-bottom: 24px; font-size: 13px; } .tz-blog[data-blog-list] > h1 { font-size: 30px; } .tz-blog__lead { font-size: 18px; } .tz-blog__desktop-break { display: none; } .tz-blog-feature { grid-template-columns: 1fr; } .tz-blog-feature__copy { padding: 22px 18px; } .tz-blog .tz-blog-feature h2 { font-size: 27px; } .tz-blog-feature__image { height: auto; min-height: 0; aspect-ratio: 16 / 9; } .tz-blog-grid { grid-template-columns: 1fr; } .tz-blog-filters { justify-content: flex-start; font-size: 15px; } }
.tz-blog__cover { display: block; width: 100%; height: auto; aspect-ratio: 3.5 / 1; object-fit: cover; object-position: center; background: #f0f1f4; margin: 24px 0; }

/* Scoped knowledge shell; all other pages keep the homepage navigation/sidebar. */
.av-frame--help .av-col { width: 100%; min-width: 0; margin-left: 0; }
.tz-help-nav { position: relative; }
.tz-help-nav__row { display: flex; flex-wrap: nowrap; width: 100%; }
.tz-help-nav__row > .av-nav__list { flex: 1 1 auto; min-width: 0; }
.tz-help-nav .av-nav__list > li > a { font-size: 13px; padding-inline: 6px; }
.tz-help-nav .tz-blog-nav__panel { z-index: 20; }
.tz-help-nav .tz-blog-nav__toggle--actions { background: #ce1f7e; color: #fff; }
.tz-help-nav button:focus-visible, .tz-help-nav a:focus-visible, .tz-blog-toc a:focus-visible, .tz-blog__body h2:focus-visible { outline: 3px solid #45618d; outline-offset: 3px; }
.tz-blog-article-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 44px; align-items: start; }
.tz-blog-toc { position: sticky; top: 24px; border-left: 1px solid #dce1e8; padding-left: 24px; font: 16px/1.45 Arial, sans-serif; }
.tz-blog-toc h2 { margin: 0 0 18px; font-size: 20px; }
.tz-blog-toc ul { list-style: none; padding: 0; margin: 0; }
.tz-blog-toc li { margin-bottom: 14px; }
.tz-blog-toc a { color: #45618d; text-decoration: none; }
.tz-blog-toc a:hover { text-decoration: underline; }
.tz-blog-article-layout article.tz-blog { max-width: 56rem; min-width: 0; font-size: 18px; line-height: 1.55; }
.tz-blog-article-layout article.tz-blog > h1 { font-size: 42px; line-height: 1.15; margin: 0 0 24px; }
.tz-blog-article-layout .tz-blog__rubric { color: #ce1f7e; text-transform: uppercase; font-size: 14px; margin-bottom: 16px; }
.tz-blog-article__lead { font-size: 20px; line-height: 1.4; }
.tz-blog-article-layout article.tz-blog h2 { font-size: 28px; margin: 30px 0 18px; scroll-margin-top: 24px; }
.tz-blog-article-layout article.tz-blog h3 { font-size: 22px; }
.tz-blog-article-layout article.tz-blog p, .tz-blog-article-layout article.tz-blog ul { margin-bottom: 18px; }
@media (max-width: 900px) {
  .tz-blog-article-layout { grid-template-columns: 1fr; gap: 28px; }
  .tz-blog-toc { position: static; }
}
@media (max-width: 600px) {
  .tz-blog-article-layout article.tz-blog > h1 { font-size: 32px; }
  .tz-blog-article__lead { font-size: 18px; }
  .tz-blog__cover { aspect-ratio: 2.2 / 1; }
}

/* Shared type roles for blog list and long articles. */
.tz-blog { font-size:var(--type-body, 16px); line-height:1.5; }
.tz-blog[data-blog-list] > h1,
.tz-blog-article-layout article.tz-blog > h1 { font-size:var(--type-h1, 36px); line-height:1.2; }
.tz-blog h2 { font-size:var(--type-h2, 28px); line-height:1.25; }
.tz-blog h3 { font-size:var(--type-h3, 22px); line-height:1.3; }
.tz-blog__lead, .tz-blog-article__lead { font-size:var(--type-lead, 20px); line-height:1.4; }
.tz-blog-article-layout article.tz-blog { font-size:18px; line-height:1.55; }
.tz-blog-card__excerpt { font-size:var(--type-body, 16px); line-height:1.5; }
@media(max-width:600px) {
  .tz-blog[data-blog-list] > h1,
  .tz-blog-article-layout article.tz-blog > h1 { font-size:28px; }
  .tz-blog h2 { font-size:24px; }
  .tz-blog h3 { font-size:20px; }
  .tz-blog__lead, .tz-blog-article__lead { font-size:18px; }
}
.tz-blog[data-blog-list] { font-size:var(--type-body, 16px); line-height:1.5; }
.tz-blog .tz-blog-card h2 { font-size:18px; line-height:1.3; }
.tz-blog .tz-blog-feature h2 { font-size:var(--type-h2, 28px); line-height:1.25; }
.tz-blog-article-layout article.tz-blog h2 { font-size:var(--type-h2, 28px); }
.tz-blog-article-layout article.tz-blog h3 { font-size:var(--type-h3, 22px); }
.tz-blog-nav__toggle { font-size:var(--type-small, 14px); }
@media(max-width:600px) {
  .tz-blog .tz-blog-feature h2, .tz-blog-article-layout article.tz-blog h2 { font-size:24px; }
  .tz-blog-article-layout article.tz-blog h3 { font-size:20px; }
}
.tz-blog-filters button { font-size:var(--type-body, 16px); }
.tz-blog-breadcrumbs { margin:24px 0 16px; font-size:14px; line-height:20px; }
.tz-blog-feature__button { font-size:16px; line-height:20px; font-weight:700; }
@media(max-width:600px) {
  .tz-blog-breadcrumbs { margin:16px 0 12px; font-size:14px; }
  .tz-blog-article-layout article.tz-blog { font-size:16px; line-height:24px; }
}
