.article-page {
  background: #f4f8fb;
  color: #1f2933;
  font-family: Manrope, Arial, sans-serif;
  line-height: 1.65;
}

.article-shell {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
}

.article-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #e7edf2;
  backdrop-filter: blur(12px);
}

.article-header__inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.article-brand {
  display: flex;
  flex-direction: column;
  min-width: 132px;
  color: #111827;
  font-weight: 800;
  line-height: 1.05;
  text-decoration: none;
}

.article-brand span {
  display: block;
  color: #6b7280;
  font-size: 12px;
  font-weight: 500;
}

.article-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex: 1;
  font-size: 14px;
}

.article-nav a {
  padding: 8px 0;
  color: #111827;
  font-weight: 600;
  text-decoration: none;
}

.article-nav a:hover,
.article-nav a:focus {
  color: #0aa9bb;
  outline: none;
}

.article-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.article-phone {
  color: #111827;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.article-callback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: #0ab7c9;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.article-callback:hover,
.article-callback:focus {
  background: #0896a5;
  color: #fff;
  outline: none;
}

.article-breadcrumbs {
  margin: 0 0 18px;
  color: #64748b;
  font-size: 14px;
}

.article-breadcrumbs a {
  color: #0aa9bb;
  text-decoration: none;
}

.article-main {
  padding: 46px 0 64px;
}

.article-card {
  background: #fff;
  border: 1px solid #e8eef3;
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(18, 32, 45, 0.08);
  padding: clamp(24px, 5vw, 56px);
}

.article-card h1 {
  margin: 0 0 18px;
  color: #111827;
  font-size: 32px;
  line-height: 1.16;
  letter-spacing: 0;
}

.article-card h2 {
  margin: 34px 0 16px;
  padding-top: 24px;
  border-top: 1px solid #e6edf3;
  color: #111827;
  font-size: 25px;
  line-height: 1.25;
  letter-spacing: 0;
}

.article-card h3,
.article-card h4,
.article-card h5 {
  margin: 28px 0 12px;
  color: #111827;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: 0;
}

.article-card p,
.article-card li {
  color: #334155;
  font-size: 17px;
}

.article-card p {
  margin: 0 0 16px;
}

.article-card p:empty {
  display: none;
}

.article-card a {
  color: #0aa9bb;
  font-weight: 700;
}

.article-card img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 14px auto 24px;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(18, 32, 45, 0.12);
}

.article-card iframe {
  max-width: 100%;
}

.article-card ul,
.article-card ol {
  margin: 12px 0 22px;
  padding-left: 24px;
}

.article-card li + li {
  margin-top: 8px;
}

.article-card strong {
  color: #111827;
}

.article-card blockquote {
  margin: 22px 0;
  padding: 18px 20px;
  border-left: 4px solid #0ab7c9;
  border-radius: 8px;
  background: #f3fbfd;
  color: #26384d;
}

.article-card table {
  width: 100%;
  margin: 22px 0;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 8px;
  font-size: 15px;
}

.article-card th,
.article-card td {
  padding: 12px 14px;
  border: 1px solid #dde8ef;
  text-align: left;
  vertical-align: top;
}

.article-card th {
  background: #eef7fa;
  color: #102235;
}

.article-card > p:has(+ img),
.article-card > p:has(+ picture),
.article-card > p:has(+ a img) {
  width: fit-content;
  margin-top: 20px;
  margin-bottom: 10px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #e6f8fb;
  color: #047989;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.article-card > p:has(+ img[width="800"][height="450"]) {
  min-width: 34px;
  text-align: center;
}

.article-card img[width="800"][height="450"] {
  display: inline-block;
  width: calc(50% - 12px);
  margin: 12px 10px 22px 0;
  vertical-align: top;
}

.article-card img[width="300"],
.article-card img[height="300"],
.article-card img[width="301"],
.article-card img[height="200"] {
  width: min(340px, 100%);
}

.article-card .wp-caption,
.article-card figure {
  max-width: 100%;
  margin: 20px auto;
}

.article-card figcaption,
.article-card .wp-caption-text {
  margin-top: 8px;
  color: #64748b;
  font-size: 14px;
  text-align: center;
}

.article-card a[role="button"],
.article-card .elementor-button,
.article-card .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin: 8px 8px 18px 0;
  padding: 0 16px;
  border-radius: 999px;
  background: #0ab7c9;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.article-card .ez-toc-section,
.article-card .ez-toc-section-end {
  display: none;
}

.article-author-social {
  max-width: 680px;
  margin: 42px auto 0;
  padding: 28px;
  border: 1px solid #dbe7ef;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(18, 32, 51, 0.08);
  text-align: center;
}

.article-author-social h2 {
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  color: #081827;
  font-size: 25px;
  line-height: 1.25;
}

.article-author-social img {
  width: 88px;
  height: 88px;
  max-width: 88px;
  margin: 0 auto 16px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 10px 26px rgba(18, 32, 51, 0.14);
}

.article-author-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  margin: 6px 5px 0;
  padding: 0;
  border-radius: 999px;
  background: #0ab7c9;
  color: #fff;
  font-size: 0;
  line-height: 1;
  text-decoration: none;
  vertical-align: middle;
  box-shadow: 0 8px 18px rgba(18, 32, 51, 0.12);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.article-author-social a:hover,
.article-author-social a:focus {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(18, 32, 51, 0.16);
  outline: none;
}

.article-author-social a[href*="facebook"] {
  background: #1877f2;
}

.article-author-social a[href*="x.com"] {
  background: #111827;
}

.article-author-social a[href*="vk.com"] {
  background: #2787f5;
}

.article-author-social a[href*="instagram"] {
  background: linear-gradient(135deg, #f58529 0%, #dd2a7b 50%, #515bd4 100%);
}

.article-author-social a svg {
  display: block;
  width: 18px;
  height: 18px;
  max-width: 18px;
  max-height: 18px;
  flex: 0 0 18px;
}

.article-author-social a svg path {
  fill: currentColor;
}

.article-card .elementor-alert,
.article-card .elementor-widget-alert {
  margin: 18px 0;
  padding: 16px;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  background: #f8fbff;
}

.article-footer {
  padding: 34px 0 92px;
  color: #64748b;
  font-size: 14px;
}

.article-footer a {
  color: #0aa9bb;
}

@media (max-width: 760px) {
  .article-shell {
    width: min(100% - 20px, 1080px);
  }

  .article-header__inner {
    min-height: auto;
    padding: 14px 0;
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .article-nav {
    width: 100%;
    overflow-x: auto;
    gap: 14px;
    padding-bottom: 4px;
    white-space: nowrap;
  }

  .article-actions {
    width: 100%;
    justify-content: space-between;
  }

  .article-main {
    padding: 22px 0 42px;
  }

  .article-card {
    padding: 22px 16px;
  }

  .article-card h1 {
    font-size: 25px;
  }

  .article-card h2 {
    font-size: 23px;
  }

  .article-card p,
  .article-card li {
    font-size: 16px;
  }

  .article-card img {
    margin: 12px auto 18px;
  }

  .article-card img[width="800"][height="450"] {
    display: block;
    width: 100%;
    margin-right: 0;
  }

  .article-card table {
    display: block;
    overflow-x: auto;
  }
}
