

/* Start:/local/templates/topheats_blog/assets/css/blog.css?178345355817677*/
:root {
  --th-font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --th-container: 1180px;
  --th-content: 830px;
  --th-text: #1b1e26;
  --th-text-muted: #5f6672;
  --th-text-soft: #9aa1ad;
  --th-accent: #3f5a9f;
  --th-bg: #f6f7f9;
  --th-panel: #ffffff;
  --th-line: #e6e8ec;
  --th-line-soft: #eef0f3;
  --th-radius-md: 10px;
  --th-radius-lg: 12px;
  --th-radius-pill: 999px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body.th-blog {
  background: var(--th-bg);
  color: var(--th-text);
  font-family: var(--th-font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

button,
input,
textarea,
select {
  font: inherit;
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--th-accent);
  outline-offset: 4px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.wrap {
  max-width: var(--th-container);
  margin: 0 auto;
  padding: 0 32px;
}

.wrap--narrow {
  max-width: var(--th-content);
}

.bl-header {
  height: 64px;
  border-bottom: 1px solid var(--th-line);
  background: rgba(246, 247, 249, 0.88);
  backdrop-filter: saturate(120%) blur(8px);
}

.bl-header__inner {
  max-width: var(--th-container);
  width: 100%;
  height: 100%;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.bl-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.bl-logo {
  width: auto;
  height: 26px;
}

.bl-brand__tag {
  padding-left: 11px;
  border-left: 1px solid var(--th-line);
  color: var(--th-text-soft);
  font-size: 13px;
  font-weight: 600;
}

.bl-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--th-text-muted);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.15s;
}

.bl-back:hover {
  color: var(--th-text);
}

.bl-back svg {
  color: var(--th-text-soft);
  flex: 0 0 auto;
}

.bl-eyebrow,
.bl-cat {
  color: var(--th-text-soft);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bl-eyebrow {
  letter-spacing: 0.12em;
}

.bl-cat {
  display: inline-flex;
  align-items: center;
}

.bl-cat--feature {
  color: var(--th-accent);
}

.bl-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--th-text-soft);
  font-size: 13px;
  font-weight: 500;
  flex-wrap: wrap;
}

.bl-meta__dot {
  width: 2.5px;
  height: 2.5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.6;
}

.bl-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  background: var(--th-text);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.bl-thumb,
.bl-ph {
  display: block;
  overflow: hidden;
  border-radius: var(--th-radius-md);
  background: #eceef2;
}

.bl-thumb {
  position: relative;
}

.bl-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.bl-ph {
  position: relative;
  background: repeating-linear-gradient(-45deg, #ebedf1 0, #ebedf1 8px, #e2e5ea 8px, #e2e5ea 16px);
}

.bl-ph__label {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 3px 9px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.7);
  color: #8a93a6;
  font-family: "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;
  font-size: 10.5px;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.bl-intro {
  padding: 72px 0 0;
}

.bl-intro h1 {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.05;
}

.bl-intro p {
  max-width: 480px;
  margin-top: 16px;
  color: var(--th-text-muted);
  font-size: 16px;
  line-height: 1.55;
}

.bl-search {
  max-width: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  margin-top: 28px;
}

.bl-search input {
  min-width: 0;
  height: 42px;
  border: 1px solid var(--th-line);
  border-radius: var(--th-radius-pill);
  padding: 0 18px;
  background: #fff;
  color: var(--th-text);
  font-size: 14px;
  outline: none;
}

.bl-search input:focus-visible {
  border-color: var(--th-accent);
  box-shadow: 0 0 0 3px rgba(63, 90, 159, 0.12);
}

.bl-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  padding: 40px 0 20px;
  border-bottom: 1px solid var(--th-line);
}

.bl-chip {
  position: relative;
  border: 0;
  padding: 0;
  background: none;
  color: var(--th-text-soft);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s;
}

a.bl-chip {
  display: inline-flex;
}

.bl-chip:hover {
  color: var(--th-text);
}

.bl-chip--active {
  color: var(--th-text);
  font-weight: 600;
}

.bl-chip--active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -21px;
  left: 0;
  height: 1.5px;
  background: var(--th-text);
}

.bl-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  padding: 44px 0 48px;
  border-bottom: 1px solid var(--th-line);
}

.bl-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--th-line);
  border-radius: var(--th-radius-lg);
  background: #fff;
  transition: box-shadow 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
}

.bl-card:hover {
  transform: translateY(-3px);
  border-color: #dfe3ea;
  box-shadow: 0 14px 34px rgba(35, 54, 95, 0.1);
}

.bl-card__media {
  aspect-ratio: 16 / 10;
}

.bl-card__media .bl-thumb {
  height: 100%;
  border-radius: 0;
}

.bl-card:hover .bl-thumb img,
.bl-row:hover .bl-thumb img,
.ar-card:hover .bl-thumb img {
  transform: scale(1.045);
}

.bl-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 20px 22px;
}

.bl-card__src {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bl-card__src .bl-avatar {
  width: 30px;
  height: 30px;
  font-size: 11px;
}

.bl-card__srcmeta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.bl-card__srcname {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--th-text);
  font-size: 13.5px;
  font-weight: 600;
}

.bl-verified {
  width: 14px;
  height: 14px;
  color: var(--th-accent);
  flex: 0 0 auto;
}

.bl-card__stat {
  color: var(--th-text-soft);
  font-size: 12.5px;
  font-weight: 500;
}

.bl-card h2 {
  display: -webkit-box;
  overflow: hidden;
  color: var(--th-text);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.24;
  transition: color 0.15s;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.bl-card:hover h2 {
  color: var(--th-accent);
}

.bl-card__excerpt {
  display: -webkit-box;
  overflow: hidden;
  color: var(--th-text-muted);
  font-size: 14.5px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.bl-card__link {
  position: absolute;
  inset: 0;
}

.bl-list {
  padding-top: 4px;
}

.bl-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px;
  gap: 36px;
  align-items: center;
  padding: 32px 0;
  border-bottom: 1px solid var(--th-line-soft);
}

.bl-row__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.bl-row__catrow {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.bl-row__date {
  color: var(--th-text-soft);
  font-size: 12.5px;
  font-weight: 500;
}

.bl-row h4 {
  font-size: 21px;
  font-weight: 600;
  line-height: 1.25;
  transition: color 0.15s;
}

.bl-row:hover h4 {
  color: var(--th-accent);
}

.bl-row__excerpt {
  max-width: 560px;
  display: -webkit-box;
  overflow: hidden;
  color: var(--th-text-muted);
  font-size: 14.5px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.bl-row__media {
  aspect-ratio: 16 / 11;
}

.bl-more {
  display: flex;
  justify-content: center;
  padding: 48px 0 8px;
}

.bl-loadbtn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--th-line);
  border-radius: var(--th-radius-pill);
  padding: 11px 24px;
  background: none;
  color: var(--th-text-muted);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.15s, border-color 0.15s, background 0.15s, opacity 0.15s;
}

.bl-loadbtn:hover {
  border-color: var(--th-text-soft);
  background: #fff;
  color: var(--th-text);
}

.bl-loadbtn[disabled] {
  cursor: progress;
  opacity: 0.65;
}

.bl-loadbtn[data-state="error"] {
  border-color: #d89b9b;
  color: #9f3f3f;
}

.bl-empty {
  padding: 64px 0;
  color: var(--th-text-muted);
  text-align: center;
}

.bl-empty h2 {
  color: var(--th-text);
  font-size: 24px;
  line-height: 1.2;
}

.bl-empty h1 {
  color: var(--th-text);
  font-size: 32px;
  line-height: 1.15;
}

.bl-empty p {
  max-width: 420px;
  margin: 12px auto 0;
}

.ar-head {
  padding: 56px 0 0;
}

.ar-crumbs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 26px;
  color: var(--th-text-soft);
  font-size: 13px;
  font-weight: 500;
  flex-wrap: wrap;
}

.ar-crumbs a {
  color: var(--th-text-muted);
  transition: color 0.15s;
}

.ar-crumbs a:hover {
  color: var(--th-text);
}

.ar-catrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.ar-title {
  font-size: 38px;
  font-weight: 700;
  line-height: 1.12;
  text-wrap: balance;
}

.ar-lede {
  margin-top: 20px;
  color: var(--th-text-muted);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.55;
}

.ar-byline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding-bottom: 32px;
}

.ar-byline .bl-avatar {
  width: 36px;
  height: 36px;
  font-size: 12px;
}

.ar-byline__name {
  color: var(--th-text);
  font-size: 14.5px;
  font-weight: 600;
}

.ar-cover {
  aspect-ratio: 16 / 8;
  margin-bottom: 44px;
}

.ar-cover > img,
.ar-card__media > img,
.bl-card__media img,
.bl-row__media img {
  position: absolute;
  inset: 0;
}

.ar-body {
  padding-bottom: 8px;
}

.ar-body > * + * {
  margin-top: 26px;
}

.ar-body p {
  color: #313748;
  font-size: 18px;
  line-height: 1.72;
}

.ar-body h2 {
  margin-top: 48px;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.2;
}

.ar-body h3 {
  margin-top: 36px;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.28;
}

.ar-body h4 {
  margin-top: 30px;
  color: var(--th-text);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
}

.ar-body strong {
  color: var(--th-text);
  font-weight: 600;
}

.ar-body a {
  color: var(--th-accent);
  font-weight: 500;
  box-shadow: inset 0 -1px 0 rgba(63, 90, 159, 0.3);
}

.ar-body a:hover {
  box-shadow: inset 0 -1.5px 0 var(--th-accent);
}

.ar-body blockquote,
.ar-quote {
  margin: 40px 0;
  padding: 2px 0 2px 26px;
  border-left: 2px solid var(--th-text);
  color: var(--th-text);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.45;
}

.ar-body ul,
.ar-body ol {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.ar-body li {
  position: relative;
  padding-left: 26px;
  color: #313748;
  font-size: 18px;
  line-height: 1.6;
}

.ar-body li + li {
  margin-top: 12px;
}

.ar-body ul > li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 4px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--th-text-soft);
}

.ar-body ol {
  counter-reset: article-list;
}

.ar-body ol > li {
  counter-increment: article-list;
}

.ar-body ol > li::before {
  content: counter(article-list) ".";
  position: absolute;
  top: 0;
  left: 0;
  color: var(--th-text-soft);
  font-weight: 700;
}

.ar-body figure,
.ar-figure {
  margin: 40px 0;
}

.ar-body figure img,
.ar-figure__media {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--th-radius-md);
  object-fit: cover;
}

.ar-body figcaption,
.ar-figure figcaption {
  margin-top: 12px;
  color: var(--th-text-soft);
  font-size: 13px;
  font-weight: 500;
  text-align: center;
}

.ar-body :not(pre) > code {
  padding: 0.12em 0.35em;
  border: 1px solid var(--th-line-soft);
  border-radius: 5px;
  background: #eef0f3;
  color: var(--th-text);
  font-family: "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.88em;
}

.ar-body pre {
  overflow: auto;
  margin: 34px 0;
  padding: 18px;
  border-radius: var(--th-radius-md);
  background: #101620;
  color: #f7f9fc;
  font-family: "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;
  font-size: 14px;
  line-height: 1.65;
}

.ar-body pre code {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: inherit;
}

.ar-body table {
  width: 100%;
  margin: 34px 0;
  border-collapse: collapse;
  border: 1px solid var(--th-line);
  background: var(--th-panel);
  font-size: 15px;
  line-height: 1.55;
}

.ar-body th,
.ar-body td {
  padding: 11px 13px;
  border: 1px solid var(--th-line);
  text-align: left;
  vertical-align: top;
}

.ar-body th {
  background: #f0f3f8;
  color: var(--th-text);
  font-weight: 700;
}

.ar-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--th-line);
}

.ar-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ar-tag {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--th-line);
  border-radius: var(--th-radius-pill);
  padding: 0 13px;
  background: #fff;
  color: var(--th-text-muted);
  font-size: 12.5px;
  font-weight: 500;
}

.ar-tag:hover {
  border-color: var(--th-text-soft);
  color: var(--th-text);
}

.ar-share {
  display: flex;
  gap: 8px;
}

.ar-share button {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--th-line);
  border-radius: 50%;
  background: #fff;
  color: var(--th-text-muted);
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.ar-share button:hover {
  border-color: var(--th-text-soft);
  color: var(--th-text);
}

.ar-share button[data-copied="true"] {
  background: var(--th-text);
  color: #fff;
}

.ar-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 64px;
  border-radius: var(--th-radius-lg);
  padding: 38px;
  background: var(--th-text);
  color: #fff;
}

.ar-cta h3 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

.ar-cta p {
  max-width: 460px;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
}

.ar-cta__btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  border-radius: var(--th-radius-pill);
  padding: 0 26px;
  background: #fff;
  color: var(--th-text);
  font-size: 14.5px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 0.15s;
}

.ar-cta__btn:hover {
  transform: translateY(-1px);
}

.ar-related {
  margin-top: 80px;
}

.ar-related h3 {
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--th-line);
  color: var(--th-text-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ar-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ar-card {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.ar-card__media {
  aspect-ratio: 16 / 11;
}

.ar-card h4 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.32;
  transition: color 0.15s;
}

.ar-card:hover h4 {
  color: var(--th-accent);
}

.bl-footer {
  margin-top: 72px;
  border-top: 1px solid var(--th-line);
}

.bl-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 28px 32px;
  color: var(--th-text-soft);
  font-size: 13px;
  font-weight: 500;
}

.bl-footer a {
  color: var(--th-text-muted);
}

.bl-footer a:hover {
  color: var(--th-text);
}

@media (max-width: 760px) {
  .wrap,
  .bl-header__inner {
    padding-right: 20px;
    padding-left: 20px;
  }

  .bl-intro {
    padding-top: 44px;
  }

  .bl-intro h1 {
    font-size: 32px;
  }

  .bl-filters {
    gap: 16px;
    padding-top: 36px;
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .bl-search {
    grid-template-columns: 1fr;
  }

  .bl-chip {
    white-space: nowrap;
  }

  .bl-cards {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 32px 0 36px;
  }

  .bl-card__media {
    aspect-ratio: 16 / 9;
  }

  .bl-row {
    grid-template-columns: minmax(0, 1fr) 124px;
    gap: 18px;
  }

  .bl-row h4 {
    font-size: 18px;
  }

  .bl-row__excerpt {
    -webkit-line-clamp: 2;
  }

  .ar-head {
    padding-top: 36px;
  }

  .ar-title {
    font-size: 30px;
  }

  .ar-lede {
    font-size: 17px;
  }

  .ar-cover {
    aspect-ratio: 16 / 9;
  }

  .ar-body p,
  .ar-body li {
    font-size: 17px;
  }

  .ar-body blockquote,
  .ar-quote {
    font-size: 19px;
  }

  .ar-related__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .ar-cta {
    padding: 28px;
  }

  .bl-brand__tag {
    display: none;
  }
}

@media (max-width: 520px) {
  .bl-header__inner {
    gap: 12px;
  }

  .bl-logo {
    max-width: 128px;
  }

  .bl-row {
    grid-template-columns: 1fr;
  }

  .bl-row__media {
    order: -1;
  }

  .ar-foot {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* End */


/* Start:/local/templates/topheats_shared/assets/css/common.css?17834507906426*/
:root {
  --th-font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --th-container: 1180px;
  --th-content: 830px;
  --th-text: #1b1e26;
  --th-text-muted: #5f6672;
  --th-text-soft: #9aa1ad;
  --th-accent: #3f5a9f;
  --th-bg: #f6f7f9;
  --th-panel: #ffffff;
  --th-line: #e6e8ec;
  --th-line-soft: #eef0f3;
  --th-radius-md: 10px;
  --th-radius-lg: 12px;
  --th-radius-pill: 999px;
}

body.th-blog,
body.th-docs {
  background: var(--th-bg);
  color: var(--th-text);
  font-family: var(--th-font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.th-header {
  height: 64px;
  border-bottom: 1px solid var(--th-line);
  background: rgba(246, 247, 249, 0.88);
  backdrop-filter: saturate(120%) blur(8px);
}

.th-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  max-width: var(--th-container);
  height: 100%;
  margin: 0 auto;
  padding: 0 32px;
}

.th-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.th-logo {
  display: block;
  width: auto;
  height: 26px;
  max-width: none;
}

.th-brand__tag {
  display: inline-flex;
  align-items: center;
  padding-left: 11px;
  border-left: 1px solid var(--th-line);
  color: var(--th-text-soft);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
}

.th-header__tools {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.th-header__link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--th-text-muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.15s ease;
}

.th-header__link:hover {
  color: var(--th-text);
}

.th-header__link svg {
  display: block;
  width: 15px;
  height: 15px;
  color: var(--th-text-soft);
  flex: 0 0 auto;
}

.th-footer {
  margin-top: 72px;
  border-top: 1px solid var(--th-line);
}

.th-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  width: 100%;
  max-width: var(--th-container);
  margin: 0 auto;
  padding: 28px 32px;
  color: var(--th-text-soft);
  font-size: 13px;
  font-weight: 500;
}

.th-footer__inner a {
  color: var(--th-text-muted);
}

.th-footer__inner a:hover {
  color: var(--th-text);
}

.th-article-body {
  max-width: var(--th-content);
  padding-bottom: 8px;
  color: #313748;
}

.th-article-body > :is(p, h2, h3, h4, ul, ol, blockquote, figure, pre, table) + :is(p, h2, h3, h4, ul, ol, blockquote, figure, pre, table) {
  margin-top: 26px;
}

.th-article-body > p {
  color: #313748;
  font-size: 18px;
  line-height: 1.72;
}

.th-article-body > h2 {
  margin-top: 48px;
  color: var(--th-text);
  font-size: 25px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
}

.th-article-body > h3 {
  margin-top: 36px;
  color: var(--th-text);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.28;
}

.th-article-body > h4 {
  margin-top: 30px;
  color: var(--th-text);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
}

.th-article-body :is(p, li, blockquote, td) strong {
  color: var(--th-text);
  font-weight: 600;
}

.th-article-body :is(p, li, blockquote, td) a {
  color: var(--th-accent);
  font-weight: 500;
  box-shadow: inset 0 -1px 0 rgba(63, 90, 159, 0.3);
}

.th-article-body :is(p, li, blockquote, td) a:hover {
  box-shadow: inset 0 -1.5px 0 var(--th-accent);
}

.th-article-body > blockquote {
  margin: 40px 0;
  padding: 2px 0 2px 26px;
  border-left: 2px solid var(--th-text);
  color: var(--th-text);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.45;
}

.th-article-body > ul,
.th-article-body > ol {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.th-article-body > :is(ul, ol) > li {
  position: relative;
  padding-left: 26px;
  color: #313748;
  font-size: 18px;
  line-height: 1.6;
}

.th-article-body > :is(ul, ol) > li + li {
  margin-top: 12px;
}

.th-article-body > ul > li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 4px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--th-text-soft);
}

.th-article-body > ol {
  counter-reset: article-list;
}

.th-article-body > ol > li {
  counter-increment: article-list;
}

.th-article-body > ol > li::before {
  content: counter(article-list) ".";
  position: absolute;
  top: 0;
  left: 0;
  color: var(--th-text-soft);
  font-weight: 700;
}

.th-article-body > figure {
  margin: 40px 0;
}

.th-article-body > figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--th-radius-md);
  object-fit: cover;
}

.th-article-body > figure figcaption {
  margin-top: 12px;
  color: var(--th-text-soft);
  font-size: 13px;
  font-weight: 500;
  text-align: center;
}

.th-article-body :is(p, li, td) > code {
  padding: 0.12em 0.35em;
  border: 1px solid var(--th-line-soft);
  border-radius: 5px;
  background: #eef0f3;
  color: var(--th-text);
  font-family: "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.88em;
}

.th-article-body > pre {
  overflow: auto;
  margin: 34px 0;
  padding: 18px;
  border-radius: var(--th-radius-md);
  background: #101620;
  color: #f7f9fc;
  font-family: "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;
  font-size: 14px;
  line-height: 1.65;
}

.th-article-body > pre code {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: inherit;
}

.th-article-body > table {
  width: 100%;
  margin: 34px 0;
  border-collapse: collapse;
  border: 1px solid var(--th-line);
  background: var(--th-panel);
  font-size: 15px;
  line-height: 1.55;
}

.th-article-body > table th,
.th-article-body > table td {
  padding: 11px 13px;
  border: 1px solid var(--th-line);
  text-align: left;
  vertical-align: top;
}

.th-article-body > table th {
  background: #f0f3f8;
  color: var(--th-text);
  font-weight: 700;
}

@media (max-width: 760px) {
  .th-header__inner,
  .th-footer__inner {
    padding-right: 20px;
    padding-left: 20px;
  }

  .th-brand__tag {
    display: none;
  }
}

@media (max-width: 520px) {
  .th-header__inner {
    gap: 12px;
  }

  .th-logo {
    max-width: 128px;
    height: auto;
  }
}

/* End */


/* Start:/local/templates/topheats_blog/styles.css?178302208336*/
@import url("/local/templates/topheats_blog/assets/css/blog.css");

/* End */


/* Start:/local/templates/topheats_blog/template_styles.css?178302208370*/
/* Styles are registered through Bitrix Asset API from header.php. */

/* End */
/* /local/templates/topheats_blog/assets/css/blog.css?178345355817677 */
/* /local/templates/topheats_shared/assets/css/common.css?17834507906426 */
/* /local/templates/topheats_blog/styles.css?178302208336 */
/* /local/templates/topheats_blog/template_styles.css?178302208370 */
