/*
 * MPS: visible, server-rendered SEO content in the established page locations.
 * Load after site.css. The strip is a sibling BEFORE .site-header, so the
 * existing mobile navigation positioning remains unchanged.
 *
 * Strip: .seo-strip > .wrap > details.header_seo_text.seo-strip__details
 *   summary.seo-strip__summary > .header_seo_text_title + .seo-strip__action
 *   .header_seo_text_desc > .header_seo_text_desc_wrapp
 * The title may be h1 when that is the page's original H1 location.
 *
 * Body: section.seo-body > .wrap.seo-body__grid
 *   .seo-body__intro > .section-label + h2.block_title_big
 *   .block_text.seo-body__content > .block_text_text / .block_text_title /
 *     .block_text_paragraf (keep the original heading hierarchy in the HTML).
 *
 * Footer: .site-footer > .wrap > section.footer_block_first.seo-footer
 *   .footer_title + .footer_text
 * All article content is in the initial HTML; only native details controls
 * disclosure. No line clamps, fixed heights, off-screen text or JS injection.
 */

.seo-strip {
  background: #111515;
  color: #b9c2b3;
  border-bottom: 1px solid #ffffff12;
}

.seo-strip .header_seo_text {
  width: 100%;
  min-width: 0;
  margin: 0;
}

.seo-strip__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 44px;
  padding: 10px 0;
  cursor: pointer;
  list-style: none;
}

.seo-strip__summary::-webkit-details-marker {
  display: none;
}

.seo-strip__summary::marker {
  content: "";
}

.seo-strip .header_seo_text_title,
.seo-strip h1.header_seo_text_title {
  display: block;
  min-width: 0;
  margin: 0;
  padding: 0;
  color: #c4ccc0;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: .005em;
  text-transform: none;
  overflow-wrap: break-word;
}

.seo-strip__action {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  color: #a6b29e;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
  white-space: nowrap;
}

.seo-strip__icon {
  position: relative;
  display: block;
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  color: var(--accent);
}

.seo-strip__icon::before,
.seo-strip__icon::after {
  position: absolute;
  top: 5.5px;
  left: 0;
  width: 12px;
  height: 1px;
  background: currentColor;
  content: "";
}

.seo-strip__icon::after {
  transform: rotate(90deg);
}

.seo-strip__details[open] .seo-strip__icon::after {
  transform: rotate(0deg);
}

.seo-strip__summary:hover .seo-strip__action {
  color: var(--paper);
}

.seo-strip__summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 1px;
}

.seo-strip .header_seo_text_desc {
  margin: 0;
  padding: 6px 0 24px;
  color: #b6c0af;
  font-size: 13px;
  line-height: 1.85;
  letter-spacing: 0;
}

.seo-strip .header_seo_text_desc_wrapp {
  width: 100%;
  max-width: 100ch;
  margin: 0;
  padding: 0 0 0 18px;
  border-left: 1px solid #ed764e80;
  overflow-wrap: break-word;
}

.seo-strip .header_seo_text_desc_wrapp p {
  margin: 0 0 12px;
  font-size: inherit;
  line-height: inherit;
}

.seo-strip .header_seo_text_desc_wrapp > :last-child {
  margin-bottom: 0;
}

.seo-strip .header_seo_text_desc_wrapp a {
  color: var(--paper);
  text-decoration: underline;
  text-decoration-color: #a3af9670;
  text-underline-offset: 4px;
}

.seo-strip__when-open,
.seo-strip__details[open] .seo-strip__when-closed {
  display: none;
}

.seo-strip__details[open] .seo-strip__when-open {
  display: inline;
}

.seo-body {
  padding: 88px 0;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.seo-body__grid {
  display: grid;
  grid-template-columns: minmax(210px, .75fr) minmax(0, 1.65fr);
  align-items: start;
  gap: 90px;
}

.seo-body__intro {
  min-width: 0;
  max-width: 340px;
}

.seo-body__intro .section-label {
  display: block;
  margin-bottom: 22px;
}

.seo-body__heading,
.seo-body__intro .block_title_big {
  margin: 0;
  color: var(--ink);
  font-size: clamp(27px, 2.65vw, 37px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.035em;
  overflow-wrap: break-word;
}

.seo-body__content,
.seo-body .block_text {
  width: 100%;
  max-width: 80ch;
  min-width: 0;
  margin: 0;
  color: #56614e;
  font-size: 14px;
  line-height: 1.95;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.seo-body .firstscreen_seo_text,
.seo-body .block_text_text,
.seo-body .block_text_paragraf {
  margin: 0 0 22px;
  padding: 0;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

.seo-body__content p,
.seo-body .block_text p {
  margin: 0 0 18px;
  font-size: inherit;
  line-height: inherit;
}

.seo-body__content h2,
.seo-body .block_text h2 {
  margin: 36px 0 18px;
  color: var(--ink);
  font-size: 27px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -.025em;
}

.seo-body__content h3,
.seo-body .block_text h3,
.seo-body .block_text_title {
  margin: 32px 0 14px;
  padding: 0;
  color: var(--ink);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -.02em;
}

.seo-body__content > :first-child,
.seo-body .block_text > :first-child {
  margin-top: 0;
}

.seo-body__content > :last-child,
.seo-body .block_text > :last-child,
.seo-body .block_text_paragraf > :last-child,
.seo-body .block_text_text > :last-child {
  margin-bottom: 0;
}

.seo-body__content ul,
.seo-body__content ol,
.seo-body .block_text ul,
.seo-body .block_text ol {
  margin: 18px 0 22px;
  padding-left: 21px;
}

.seo-body__content li,
.seo-body .block_text li {
  padding-left: 5px;
  margin-bottom: 10px;
}

.seo-body__content li::marker,
.seo-body .block_text li::marker {
  color: #ad684b;
}

.seo-body__content a,
.seo-body .block_text a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: #9aab8d;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.seo-body__content a:hover,
.seo-body .block_text a:hover {
  color: #995035;
  text-decoration-color: currentColor;
}

.seo-footer {
  display: grid;
  grid-template-columns: minmax(210px, .75fr) minmax(0, 1.65fr);
  align-items: start;
  gap: 90px;
  margin-top: 38px;
  padding-top: 30px;
  border-top: 1px solid #ffffff1f;
  color: #aab7a1;
}

.seo-footer .footer_title {
  max-width: 340px;
  margin: 0;
  color: #d4dbca;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -.015em;
  overflow-wrap: break-word;
}

.seo-footer .footer_text {
  width: 100%;
  max-width: 92ch;
  min-width: 0;
  margin: 0;
  color: inherit;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.seo-footer .footer_text p {
  margin: 0 0 14px;
  font-size: inherit;
  line-height: inherit;
}

.seo-footer .footer_text > :last-child {
  margin-bottom: 0;
}

.seo-footer .footer_text a {
  color: #d4dbca;
  text-decoration: underline;
  text-decoration-color: #7d8c6f;
  text-underline-offset: 4px;
}

.seo-footer .footer_text a:hover {
  color: var(--accent);
}

@media (max-width: 1150px) {
  .seo-body__grid,
  .seo-footer {
    grid-template-columns: minmax(180px, .7fr) minmax(0, 1.5fr);
    gap: 55px;
  }
}

@media (max-width: 850px) {
  .seo-body {
    padding: 72px 0;
  }

  .seo-body__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .seo-body__intro {
    max-width: 600px;
  }

  .seo-body__intro .section-label {
    margin-bottom: 18px;
  }

  .seo-body__heading,
  .seo-body__intro .block_title_big {
    font-size: 31px;
  }

  .seo-body__content,
  .seo-body .block_text {
    max-width: 80ch;
  }

  .seo-footer {
    gap: 36px;
  }
}

@media (max-width: 640px) {
  .seo-strip__summary {
    min-height: 52px;
    gap: 16px;
    padding: 10px 0;
  }

  .seo-strip .header_seo_text_title,
  .seo-strip h1.header_seo_text_title {
    font-size: 11px;
    line-height: 1.55;
  }

  .seo-strip__action {
    gap: 8px;
    font-size: 10px;
  }

  .seo-strip .header_seo_text_desc {
    padding: 6px 0 22px;
    font-size: 13px;
    line-height: 1.85;
  }

  .seo-strip .header_seo_text_desc_wrapp {
    padding-left: 14px;
  }

  .seo-body {
    padding: 56px 0;
  }

  .seo-body__grid {
    gap: 27px;
  }

  .seo-body__heading,
  .seo-body__intro .block_title_big {
    font-size: 29px;
  }

  .seo-body__content,
  .seo-body .block_text {
    font-size: 13px;
    line-height: 1.9;
  }

  .seo-body__content h2,
  .seo-body .block_text h2 {
    margin-top: 30px;
    font-size: 24px;
  }

  .seo-body__content h3,
  .seo-body .block_text h3,
  .seo-body .block_text_title {
    margin-top: 27px;
    font-size: 20px;
  }

  .seo-body__content li,
  .seo-body .block_text li {
    padding-left: 3px;
  }

  .seo-footer {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 30px;
    padding-top: 26px;
  }

  .seo-footer .footer_title {
    max-width: none;
    font-size: 18px;
  }

  .seo-footer .footer_text {
    font-size: 12px;
    line-height: 1.9;
  }
}

@media (forced-colors: active) {
  .seo-strip__summary:focus-visible {
    outline-color: Highlight;
  }

  .seo-strip__icon::before,
  .seo-strip__icon::after {
    background: ButtonText;
  }

  .seo-body__content a,
  .seo-body .block_text a,
  .seo-footer .footer_text a,
  .seo-strip .header_seo_text_desc_wrapp a {
    text-decoration-color: LinkText;
  }
}
