body {
  font-family: 'Raleway', Arial, sans-serif;
}

.navbar {
  display: flex !important;
  justify-content: space-between !important;
  box-sizing: border-box;
  width: 100%;
  padding: 0.5rem 200px 0 !important;
  margin: 0 !important;
  background: var(--hero-top-violet, #120823) !important;
  border: 0 !important;
}

.navbar .logo {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.navbar .logo img {
  display: block;
  width: auto;
  height: 109.6px;
  max-width: min(403.2px, 55vw);
  object-fit: fill;
}

.navbar .lang-switch {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
}

.navbar .lang-btn {
  box-sizing: border-box;
  display: flex;
  width: 37.8px;
  height: 37.8px;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
  border: 2.5px solid #3a3757;
  border-radius: 50%;
  background: #232042;
  opacity: 0.5;
  cursor: pointer;
}

.navbar .lang-btn.active {
  border-color: #fff;
  opacity: 1;
}

.navbar .lang-btn .flag {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.article-hero {
  box-sizing: border-box;
  min-height: 0 !important;
  position: relative;
  margin-top: -1px !important;
  padding: 2rem 2rem 1.5rem;
  padding-bottom: 12px !important;
  background: linear-gradient(135deg, #7c6ee6 0%, #b7aaff 100%);
  color: #fff;
  text-align: center;
}

.article-hero .hero-title {
  margin: 0 0 2.5rem;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.12;
  transform: translateY(50px);
}

.article-hero .hero-title-accent {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0.25em auto 0;
  background: linear-gradient(90deg, #ff6ec7 0%, #c86bf0 55%, #7c6ee6 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-size: 0.48em;
  line-height: 1.2;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.article-hero::after {
  display: block;
  height: 1.35em;
  content: "";
}

.article-container {
  box-sizing: border-box;
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.article-content {
  color: #444;
  font-size: 1.05rem;
  line-height: 1.8;
}

.article-content h2 {
  margin: 2rem 0 1rem;
  padding-bottom: 0.5rem;
  border: 0 !important;
  background-image: linear-gradient(90deg, #ff6ec7 0%, #c86bf0 55%, #7c6ee6 100%) !important;
  background-position: bottom;
  background-size: 100% 3px;
  background-repeat: no-repeat;
  color: #232042;
  font-size: 1.8rem;
  font-weight: 700;
}

.article-content h3 {
  margin: 1.5rem 0 0.8rem;
  padding-bottom: 0.35rem;
  background-image: linear-gradient(90deg, #ff6ec7 0%, #c86bf0 55%, #7c6ee6 100%);
  background-position: bottom;
  background-size: 100% 2px;
  background-repeat: no-repeat;
  color: #232042;
  font-size: 1.3rem;
  font-weight: 600;
}

.article-content p {
  margin-bottom: 1.2rem;
}

.article-content ul {
  margin: 1.2rem 0;
  padding-left: 2rem;
}

.article-content li {
  margin-bottom: 0.6rem;
}

.article-content .highlight-box {
  margin: 2rem 0;
  padding: 1.5rem;
  border-left: 4px solid #7c6ee6;
  border-radius: 4px;
  background: #f5f2ff;
}

.article-cta {
  margin: 3rem 0 0;
  padding: 2rem;
  border-radius: 12px;
  background: #f5f2ff;
  text-align: center;
}

.article-cta p {
  margin: 0 0 1.25rem;
  color: #232042;
  font-size: 1.15rem;
  font-weight: 600;
}

.article-content .article-cta .article-cta-button {
  display: inline-block;
  padding: 0.9rem 1.6rem;
  border-radius: 2rem;
  background-color: #0099ff !important;
  background-image: none !important;
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 2px 12px 0 #0099ff33;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}

.article-content .article-cta .article-cta-button:hover {
  transform: translateY(-2px);
  background-color: #007be5 !important;
  box-shadow: 0 4px 24px 0 #0099ff55;
}

.article-cta-button:focus-visible {
  outline: 3px solid #232042;
  outline-offset: 3px;
}

.hero .hero-content {
  max-width: 900px !important;
  text-align: center;
  transform: translateY(-85px);
}

.blog-hero-title {
  margin: 0 0 1rem !important;
  padding: 0 !important;
  color: #fff;
  font-size: 3.2rem !important;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -2px !important;
  text-align: center;
}

.blog-hero-title .electric-text {
  color: inherit;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.blog-hero-title .hero-accent {
  display: inline-block;
  background: linear-gradient(90deg, #ff6ec7 0%, #c86bf0 55%, #7c6ee6 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-size: 1.25em;
  font-weight: 900;
  line-height: 1.02;
  text-shadow: 0 10px 30px rgba(200, 107, 240, 0.12);
}

.blog-hero-subtitle {
  max-width: 780px;
  margin: 18px auto 35px !important;
  color: #d1d1e0;
  font-size: 1.15rem !important;
  line-height: 1.45;
  text-align: center;
}

.footer {
  box-sizing: border-box;
  width: 100%;
  margin: 0 !important;
  padding: 64px 24px 28px !important;
  border: 0 !important;
  background: var(--hero-top-violet, #120823) !important;
  color: #fff !important;
  text-align: center;
}

.footer .footer-contacts {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 0 0 1.5rem;
}

.footer .footer-icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  margin: 0;
  border-radius: 50%;
  background: transparent;
  text-decoration: none;
}

.footer .footer-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer .footer-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 32px 0 0;
}

.footer .footer-logo img {
  width: 96px;
  height: auto;
  max-width: 100%;
  opacity: 0.8;
  filter: brightness(0) invert(1);
}

.footer #footer-copyright {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  margin-top: 100px !important;
  color: #c9c3e6 !important;
  font-size: 0.78rem !important;
  font-weight: 400;
  line-height: 1.7;
  opacity: 0.8;
}

.footer #footer-copyright a {
  color: inherit !important;
}

@media (max-width: 900px) {
  .article-hero .hero-title {
    font-size: 1.8rem !important;
  }
}

@media (max-width: 600px) {
  .article-hero {
    padding: 1.75rem 1rem 1rem;
  }

  .article-hero .hero-title {
    font-size: clamp(1.375rem, 6.7vw, 1.625rem) !important;
    margin-bottom: 2rem !important;
    transform: translateY(40px);
  }

  .article-container {
    padding: 2.5rem 1.25rem;
  }

  .article-content h2 {
    font-size: 1.5rem;
  }

  .hero .hero-content {
    transform: translateY(-37px);
  }

  .blog-hero-title {
    padding-right: 1.2rem !important;
    font-size: 1.9rem !important;
    letter-spacing: -0.2px !important;
  }

  .blog-hero-title .hero-accent {
    font-size: 1.05em;
    text-shadow: 0 6px 18px rgba(255, 138, 102, 0.08);
  }

  .blog-hero-subtitle {
    display: block !important;
    overflow: visible !important;
    font-size: 1.2rem !important;
    line-height: 1.35;
    text-overflow: clip !important;
    -webkit-box-orient: initial !important;
    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
  }

  .navbar {
    margin: 0 !important;
    padding: 14px 20px 10px !important;
  }

  .navbar .logo {
    flex: 0 0 auto;
    position: relative;
    width: 96px;
    height: 24px;
    overflow: hidden;
    margin: 0 !important;
    padding: 0 !important;
  }

  .navbar .logo img {
    position: absolute;
    top: -36px;
    left: -8px;
    width: 89.6px;
    height: 89.6px;
    max-width: none;
  }

  .navbar .lang-switch {
    margin: 0 !important;
    padding: 0 !important;
  }

  .navbar .lang-btn {
    width: 30.6px;
    height: 30.6px;
  }

  .footer {
    padding: 48px 16px 20px !important;
  }

  .footer .footer-logo {
    margin-top: 28px;
  }

  .footer .footer-logo img {
    width: 76px;
  }

  .footer #footer-copyright {
    margin-top: 56px !important;
  }
}
