/* Public offer — interactive legal document (.fst-offer-*) */
body.fst-offer-page .page-title,
body.fst-offer-page .entry-title,
body.fst-offer-page .article-header .entry-title,
body.fst-offer-page .article-meta,
body.fst-offer-page .article-header .breadcrumb,
body.fst-offer-page .breadcrumb:not(.fst-crumbs) {
  display: none !important;
}

body.fst-offer-page .site-content.fixed,
body.fst-offer-page .site-content {
  max-width: 1300px !important;
  width: 100% !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

body.fst-offer-page .site-content-inner,
body.fst-offer-page .content-area,
body.fst-offer-page #primary,
body.fst-offer-page .site-main,
body.fst-offer-page .entry-content,
body.fst-offer-page .site-main > article,
body.fst-offer-page article.type-page,
body.fst-offer-page article.post {
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
}

.fst-offer {
  --fst-offer-accent: #b32245;
  --fst-offer-accent-hot: #d81b60;
  --fst-offer-ink: #1c1917;
  --fst-offer-body: #44403c;
  --fst-offer-muted: #78716c;
  --fst-offer-line: rgba(28, 25, 23, 0.08);
  --fst-offer-paper: #ffffff;
  --fst-offer-wash: #f8f6f7;
  --fst-offer-callout-bg: #fdf2f4;
  --fst-offer-callout-bg-alt: #fdf8f9;
  --fst-offer-sticky-top: 96px;
  --fst-offer-scroll-mt: 108px;
  /* Same stack as blog .fs-article (style.css) — no serif/Times */
  --fst-offer-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  color: var(--fst-offer-body);
  font-family: var(--fst-offer-font);
  font-size: 1rem;
  line-height: 1.65;
  padding: 8px 0 56px;
  box-sizing: border-box;
}

.fst-offer *,
.fst-offer *::before,
.fst-offer *::after {
  box-sizing: border-box;
}

.fst-offer a {
  color: var(--fst-offer-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.fst-offer a:hover {
  color: var(--fst-offer-accent-hot);
}

.fst-offer-dochead {
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--fst-offer-line);
}

.fst-offer-h1 {
  margin: 0 0 12px;
  font-family: var(--fst-offer-font);
  font-size: clamp(1.65rem, 2.8vw, 2.25rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--fst-offer-ink);
}

.fst-offer-lead {
  margin: 0 0 18px;
  max-width: 46rem;
  font-size: 1.02rem;
  color: var(--fst-offer-muted);
  line-height: 1.55;
}

.fst-offer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.fst-offer-meta__chip,
.fst-offer-meta__badge,
.fst-offer-print {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.fst-offer-meta__chip {
  background: var(--fst-offer-wash);
  color: var(--fst-offer-body);
  border: 1px solid var(--fst-offer-line);
}

.fst-offer-meta__badge {
  background: rgba(179, 34, 69, 0.08);
  color: var(--fst-offer-accent);
  border: 1px solid rgba(179, 34, 69, 0.18);
}

.fst-offer-print {
  margin-left: auto;
  border: 1px solid var(--fst-offer-line);
  background: var(--fst-offer-paper);
  color: var(--fst-offer-ink);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.fst-offer-print:hover {
  border-color: var(--fst-offer-accent);
  color: var(--fst-offer-accent);
  background: var(--fst-offer-callout-bg-alt);
}

.fst-offer-layout {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(0, 2fr);
  gap: 36px 40px;
  align-items: start;
}

.fst-offer-aside {
  position: sticky;
  top: var(--fst-offer-sticky-top);
  align-self: start;
}

.fst-offer-toc-mobile {
  display: none;
  margin-bottom: 16px;
}

.fst-offer-toc-mobile__label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fst-offer-muted);
}

.fst-offer-toc-select {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--fst-offer-line);
  border-radius: 10px;
  background: var(--fst-offer-paper);
  color: var(--fst-offer-ink);
  font: inherit;
  font-weight: 600;
}

.fst-offer-toc {
  padding: 18px 16px 18px 0;
  border-right: 1px solid var(--fst-offer-line);
}

.fst-offer-toc__caption {
  margin: 0 0 12px;
  padding-left: 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fst-offer-muted);
}

.fst-offer-toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fst-offer-toc__list li {
  margin: 0;
}

.fst-offer-toc__list a {
  display: grid;
  grid-template-columns: 1.6rem 1fr;
  gap: 8px;
  align-items: start;
  padding: 9px 12px 9px 12px;
  margin: 0;
  border-left: 2px solid transparent;
  color: var(--fst-offer-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.35;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.fst-offer-toc__list a:hover {
  color: var(--fst-offer-ink);
  background: var(--fst-offer-wash);
}

.fst-offer-toc__list a.is-active {
  color: var(--fst-offer-accent);
  font-weight: 700;
  border-left-color: var(--fst-offer-accent);
  background: var(--fst-offer-callout-bg-alt);
}

.fst-offer-toc__num {
  font-variant-numeric: tabular-nums;
  opacity: 0.75;
}

.fst-offer-article {
  background: var(--fst-offer-paper);
  border: 1px solid var(--fst-offer-line);
  border-radius: 4px;
  padding: clamp(22px, 3vw, 36px) clamp(18px, 3vw, 40px);
  box-shadow: 0 1px 0 rgba(28, 25, 23, 0.03);
}

.fst-offer-section {
  scroll-margin-top: var(--fst-offer-scroll-mt);
  padding: 8px 0 28px;
  border-bottom: 1px solid var(--fst-offer-line);
}

.fst-offer-section:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.fst-offer-h2-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 14px;
}

.fst-offer-h2 {
  margin: 0;
  flex: 1;
  font-family: var(--fst-offer-font);
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--fst-offer-ink);
  scroll-margin-top: var(--fst-offer-scroll-mt);
}

.fst-offer-copy {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--fst-offer-muted);
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.fst-offer-copy:hover,
.fst-offer-copy.is-copied {
  color: var(--fst-offer-accent);
  background: var(--fst-offer-callout-bg-alt);
  border-color: rgba(179, 34, 69, 0.18);
}

.fst-offer-article p {
  margin: 0 0 14px;
  font-family: var(--fst-offer-font);
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--fst-offer-body);
}

.fst-offer-article p:last-child {
  margin-bottom: 0;
}

.fst-offer-article ul {
  margin: 0 0 14px;
  padding-left: 1.25rem;
  font-family: var(--fst-offer-font);
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--fst-offer-body);
}

.fst-offer-article li {
  margin: 0 0 8px;
}

.fst-offer-article li:last-child {
  margin-bottom: 0;
}

.fst-offer-callout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  margin: 18px 0 20px;
  padding: 16px 18px;
  background: linear-gradient(180deg, var(--fst-offer-callout-bg) 0%, var(--fst-offer-callout-bg-alt) 100%);
  border-left: 3px solid var(--fst-offer-accent);
  border-radius: 0 10px 10px 0;
}

.fst-offer-callout__icon {
  color: var(--fst-offer-accent);
  margin-top: 2px;
}

.fst-offer-callout__title {
  margin: 0 0 6px !important;
  font-family: var(--fst-offer-font) !important;
  font-size: 0.92rem !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  color: var(--fst-offer-ink) !important;
}

.fst-offer-callout__text p {
  margin: 0 !important;
  font-size: 0.98rem !important;
  color: var(--fst-offer-body) !important;
}

.fst-offer-req {
  margin: 8px 0 18px;
  padding: 18px 20px;
  background: var(--fst-offer-wash);
  border: 1px solid var(--fst-offer-line);
  border-radius: 10px;
}

.fst-offer-req p {
  margin: 0 0 12px;
}

.fst-offer-req p:last-child {
  margin-bottom: 0;
}

.fst-offer-closing {
  margin-top: 8px !important;
  font-size: 0.95rem !important;
  color: var(--fst-offer-muted) !important;
}

@media (max-width: 980px) {
  .fst-offer-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .fst-offer-aside {
    position: static;
  }

  .fst-offer-toc {
    display: none;
  }

  .fst-offer-toc-mobile {
    display: block;
  }

  .fst-offer-print {
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  .fst-offer-article {
    padding: 18px 14px;
    border-radius: 2px;
  }

  .fst-offer-callout {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* —— Print —— */
@media print {
  body.fst-offer-page .site-header,
  body.fst-offer-page #masthead,
  body.fst-offer-page .super-header,
  body.fst-offer-page .fs-hdr,
  body.fst-offer-page .fs-topbar,
  body.fst-offer-page .site-footer,
  body.fst-offer-page .fs-ft,
  body.fst-offer-page .fst-offer-aside,
  body.fst-offer-page .fst-offer-toc,
  body.fst-offer-page .fst-offer-toc-mobile,
  body.fst-offer-page .fst-offer-print,
  body.fst-offer-page .fst-offer-copy,
  body.fst-offer-page .fst-offer-meta__badge,
  body.fst-offer-page .fst-crumbs,
  body.fst-offer-page .chaty,
  body.fst-offer-page .chaty-widget,
  body.fst-offer-page #chaty,
  body.fst-offer-page .whatsapp_icon_style,
  body.fst-offer-page [class*="chaty"],
  body.fst-offer-page .fst-totop,
  body.fst-offer-page .fst-cookies,
  body.fst-offer-page .fs-modal,
  body.fst-offer-page .header,
  body.fst-offer-page .footer,
  body.fst-offer-page .sidebar {
    display: none !important;
  }

  body.fst-offer-page,
  body.fst-offer-page .site-content,
  body.fst-offer-page .entry-content,
  .fst-offer,
  .fst-offer-layout,
  .fst-offer-article {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
    border: 0 !important;
    color: #000 !important;
  }

  .fst-offer-article p,
  .fst-offer-h1,
  .fst-offer-h2,
  .fst-offer-lead,
  .fst-offer-callout__title,
  .fst-offer-callout__text p {
    color: #000 !important;
  }

  .fst-offer-callout {
    background: #fff !important;
    border-left: 2px solid #000 !important;
    border-radius: 0 !important;
  }

  .fst-offer-section {
    scroll-margin-top: 0;
    page-break-inside: auto;
  }

  .fst-offer-requisites,
  .fst-offer-req {
    page-break-inside: avoid;
    break-inside: avoid;
  }

  .fst-offer a {
    color: #000 !important;
    text-decoration: underline;
  }
}
