body {
  font-family: 'Unbounded';
  margin: 0;
  padding: 0;
  background-color: #f1f3f4;
  color: #151515;
  box-sizing: border-box;
  }
  
  *,
  *::before,
  *::after {
  box-sizing: border-box;
  }
  
  img {
  max-width: 100%;
  display: block;
  }
  
  a {
    text-decoration: none;
    color: inherit;
  }
  
  .container p a, .container li a {
    color: #2563eb;
    text-decoration: none;
}

@media (max-width: 1024px) {
  .layout-grid {
      grid-template-columns: 1fr !important;
  }
}

  p a:hover, li a:hover {
      text-decoration: underline;
  }
  
  header a {
    text-decoration: none;
    color: inherit;
  }
  header a:hover {
    text-decoration: none;
    color: inherit;
  } 
  
  ul,
  ol {
  margin: 0;
  padding-left: 28px;
  }
  
  h1 {
    font-size: 30px;
    line-height: 1.5;
  }
  h2, h3 , h4, li {
    line-height: 1.5;
  }

  ul, li {
    line-height: 1.5;
    margin-bottom: 5px;
  }
  

 
  
  .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  }
  
  button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  }
  
  #top-banner {
  width: 100%;
  background-color: #000;
  overflow: hidden;
  }
  
  .banner-wrapper {
  width: 100%;
  height: 243px;
  }
  
  .top-ad-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  }
  
  #main-content {
  padding-top: 20px;
  }
  

  
  .article-container {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 25px 30px;
  box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.25);
  }
  
  /* === HEADER === */
  .site-header {
  background-color: #2563eb;
  padding: 20px 0;
  box-shadow: 0px 10px 40px 0px rgba(109, 141, 173, 0.25);
  position: sticky;
  top: 0;
  z-index: 100;
  }
  
  .header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  }
  
  .logo-wrapper {
  position: relative;
  width: 182px;
  height: 40px;
  }

  .main-nav li a {
    color: #ffffff !important;
    text-decoration: none !important;
}
  
  .logo-part {
  position: absolute;
  }
  
  .vertical-divider {
  width: 1px;
  height: 20px;
  background-color: #ffffff;
  margin: 0 20px;
  }
  
  .main-nav {
  display: flex;
  gap: 30px;
  flex-grow: 1;
  margin-left: 40px;
  }
  
  .nav-link {
  color: #ffffff;
  font-size: 16px;
  font-weight: 400;
  transition: opacity 0.3s ease;
  }
  
  .nav-link:hover {
  opacity: 0.8;
  }
  
  .header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  }
  
  .icon-group {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  }
  
  .icon-group img {
  width: 24px;
  height: 24px;
  }
  
  .mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  }
  
  .mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: all 0.3s ease;
  }
  
  /* Breadcrumbs */
  .breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #7f8c8d;
  margin-bottom: 20px;
  flex-wrap: wrap;
  }
  
  .crumb-item.active {
  color: #7f8c8d;
  }
  
  /* Typography */
  .article-title {
  font-size: 32px;
  font-weight: 700;
  color: #151515;
  margin-bottom: 20px;
  line-height: 1.2;
  }
  

  
  /* Meta */
  .article-meta {
  display: flex;
  gap: 20px;
  align-items: center;
  padding-bottom: 20px;

  }
  
  .meta-left {
  display: flex;
  align-items: center;
  gap: 15px;
  }
  
  .author {
    display: flex;
    align-items: center;
    gap: 10px;
  }


  .author-avatar img{
  width: 46px;
  height: 46px;
  border-radius: 50%;
  }
  
  .meta-text {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  }
  
  
  
  .publish-time {
  color: #474747;
  font-size: 13px;
  }
  
  .meta-right {
  display: flex;
  gap: 20px;
  font-size: 13px;
  }
  
  .stat-item {
  display: flex;
  align-items: center;
  gap: 5px;
  }
  
  .stat-item img {
  width: 15px;
  height: 15px;
  }
  
  /* Tags */
  .article-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  }
  
  .tag {
  border: 1px solid #2563eb;
  color: #2563eb;
  padding: 5px 15px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 500;
  }
  
  /* TOC */
  .toc-box {
  background-color: #ffffff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.05);
  }
  
  .toc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  font-weight: 700;
  }
  
  .toc-list li {
  position: relative;
  padding-left: 15px;
  margin-bottom: 8px;
  color: rgba(0, 0, 0, 0.6);
  font-size: 15px;

  cursor: pointer;
  }
  
  .toc-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: rgba(0, 0, 0, 0.6);
  }
  

  p {
  line-height: 1.6;
  }
  
  .content-image {
  margin: 40px 0;
  border-radius: 10px;
  overflow: hidden;
  }
  
  /* FAQ */
  .faq-section {
  margin-top: 30px;
  }
  
  .faq-section h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #151515;
  }
  
  .faq-item {
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.25);
  margin-bottom: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  }
  
  .faq-item:hover {
  box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.2);
  }
  
  .faq-question {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.3s ease;
  line-height: 1.6;
  }
  
  .faq-question span {
  flex: 1;
  }
  
  .faq-question img {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
  }
  
  .faq-item.closed .faq-question {
  color: #000;
  }
  
  .faq-item:not(.closed) .faq-question {
  color: #2563eb;
  }
  
  .faq-item:not(.closed) .faq-question img {
  transform: rotate(0deg);
  }
  
  .faq-answer {
  padding: 0 20px 20px 20px;
  color: rgba(0, 0, 0, 0.8);
  line-height: 1.6;
  display: none;
  }
  
  .faq-item:not(.closed) .faq-answer {
  display: block;
  }
  
  /* Sidebar */

  .sidebar {
    width: 277px;
    flex-shrink: 0;
    position: -webkit-sticky; 
    position: sticky;
    top: 100px; 
    height: fit-content; 
    align-self: flex-start;
  }
  
  .visualr img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.25);
  }


  @media (max-width: 900px) {
  .layout-grid {
  grid-template-columns: 1fr;
  
  }
  

  }
  
  /* Read Also Section */
  #read-also {
    padding: 20px 0 60px;
  background-color: #f1f3f4;
  }
  
  .read-also-wrapper {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.25);
  }
  
  .read-also-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  }
  
  .read-also-header h2 {
  font-size: 24px;
  color: #000;
  }
  
  .show-more-link {
  background-color: #2563eb;
  color: white;
  padding: 12px 40px;
  border-radius: 10px;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background-color 0.3s ease;
  }
  
  .show-more-link:hover {
  background-color: #1d4ed8;
  }
  
  .show-more-container {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 20px;
  }
  
  .cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  }
  
  .card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .card:hover {

  box-shadow: 0px 4px 15px 0px rgba(0, 0, 0, 0.3);
  }
  
  .card-image {
  position: relative;
  height: 274px;
  overflow: hidden;
  }
  
  .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  }
  
  .card:hover .card-image img {
  transform: scale(1.05);
  }
  
  .card-tag {
  position: absolute;
  bottom: 30px;
  left: 20px;
  background-color: #2563eb;
  color: white;
  padding: 5px 15px;
  border-radius: 5px;
  font-size: 12px;
  }
  
  .card-content {
  padding: 15px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  }
  
  .card-content h3 {
    font-size: 18px;
    margin: 0;
    color: #151515;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 2.8em;
  }
  
  .card-content p {
    font-size: 14px;
    color: #151515;
    flex-grow: 1;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 4.6em;
  }
  
  .card-meta {
  display: flex;
  gap: 15px;
  color: #7f8c8d;
  font-size: 12px;
  border-top: 1px solid #eee;
  padding-top: 15px;
  justify-content: space-between;
  }
  
  .meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  }
  
  .meta-item img {
  width: 14px;
  height: 14px;
  }
  
  .meta-right {
  display: flex;
  gap: 15px;
  }
  
  /* Footer */
  .site-footer {
  background-color: #000000;
  color: #ffffff;
  padding: 60px 0 20px 0;
  }
  
  .footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 1.2fr 0.8fr 1.2fr; 
    gap: 30px; 
    margin-bottom: 60px;
  }
  
  .footer-logo {
  width: 186px;
  margin-bottom: 20px;
  }
  
  .footer-desc {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 20px;
  max-width: 320px;
  }
  
  .social-links {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  }
  
  .social-links img {
  width: 20px;
  height: 20px;
  }
  
  .email-link {
  display: flex;
  align-items: center;
  gap: 8px;
  }
  
  .footer-link {
  display: block;
  color: #ffffff;
  margin-bottom: 12px;
  font-size: 16px;
  transition: color 0.3s ease;
  }
  
  .footer-link:hover {
  color: #2563eb;
  }
  
  .footer-link.sub-link {
  color: #d2d2d2;
  font-size: 14px;
  }
  
  .footer-link.sub-link:hover {
  color: #2563eb;
  }
  
  .footer-bottom {
  text-align: center;
  color: #7e7e7e;
  font-size: 14px;
  border-top: 1px solid #333;
  padding-top: 20px;
  }
  
  .btn-outline {
  border: 1px solid #ffffff;
  color: #ffffff;
  border-radius: 20px;
  padding: 10px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  }
  
  .btn-outline:hover {
  background-color: #ffffff;
  color: #000000;
  }
  


  @media (max-width: 1024px) {
  .layout-grid {
  grid-template-columns: 1fr;
  }

  
  .footer-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  }
  }



   
  @media (max-width: 768px) {

    .author-name {
      font-size: 12px;
    }
    
 
  /* Header */
  .site-header {
  padding: 15px 0;
  }
  
  .header-content {
  flex-wrap: wrap;
  }
  
  .vertical-divider {
  display: none;
  }
  
  .main-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: #2563eb;
  flex-direction: column;
  padding: 20px;
  gap: 15px;
  margin-left: 0;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  }
  
  .main-nav.active {
  display: flex;
  }
  
  .main-nav .nav-link {
  font-size: 18px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
  
  .mobile-menu-btn {
  display: flex;
  }
  
  .header-actions .icon-group {
  display: none;
  }
  
  /* Article */
  .article-container {
  padding: 20px;
  }
  
  .article-title {
  font-size: 24px;
  }
  
  .article-lead {
  font-size: 16px;
  }
  
  .article-meta {
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  }
  
 
  
  /* TOC */
  .toc-box {
  padding: 20px;
  }
  
  .toc-list li {
  font-size: 14px;
  }
  
  /* Article Body */
  .article-body h2 {
  font-size: 20px;
  }

  .article-body h3 {
    font-size: 18px;
    }

    .article-body h4 {
      font-size: 16px;
      }
  
  .article-body p {
  font-size: 14px;
  }
  
  /* FAQ */
  .faq-section {
  margin-top: 40px;
  }
  
  .faq-question {
  padding: 15px 20px;
  font-size: 16px;
  }
  
  .faq-answer {
  padding: 0 20px 20px;
  font-size: 14px;
  }
  
  /* Read Also */
  .read-also-wrapper {
  padding: 20px;
  }
  
  .read-also-header h2 {
  font-size: 20px;
  }
  
  .cards-grid {
  grid-template-columns: 1fr;
  gap: 20px;
  }
  
  .card-image {
  height: 220px;
  }
  
  .show-more-link {
  width: 100%;
  max-width: 300px;
  justify-content: center;
  }
  
  /* Footer */
  .footer-grid {
  grid-template-columns: 1fr;
  text-align: center;
  gap: 30px;
  }
  
  .brand-col {
  align-items: center;
  display: flex;
  flex-direction: column;
  }
  
  .footer-logo {
  margin: 0 auto 20px auto;
  }
  
  .footer-desc {
  max-width: 100%;
  }
  
  .social-links {
  justify-content: center;
  }
  }
  
  /* Mobile (max-width: 480px) */
  @media (max-width: 480px) {
  .container {
  padding: 0 15px;
  }
  
  /* Header */
  .site-header {
  padding: 10px 0;
  }
  
  .logo-wrapper {
  width: 140px;
  height: 35px;
  }
  
  /* Article */
  .article-container {
  padding: 15px;
  border-radius: 8px;
  }
  
  .article-title {
  font-size: 20px;
  }
  
  .article-lead {
  font-size: 14px;
  }
  
  .breadcrumbs {
  font-size: 12px;
  gap: 5px;
  }
  
  .breadcrumbs img {
  width: 14px;
  height: 14px;
  }
  
  .article-tags {
  gap: 8px;
  }
  
  .tag {
  font-size: 12px;
  padding: 4px 10px;
  }
  
  /* TOC */
  .toc-box {
  padding: 15px;
  }
  
  .toc-list li {
  font-size: 13px;
  margin-bottom: 6px;
  }
  
  /* Article Body */
  .article-body h2 {
  font-size: 18px;
  }

  .article-body h3 {
    font-size: 16px;
    }
    .article-body h4 {
      font-size: 14px;
      }

  .article-body p {
  font-size: 13px;
  }
  
  /* FAQ */
  .faq-section h2 {
  font-size: 20px;
  }
  
  .faq-question {
  font-size: 14px;
  line-height: 1.5;
  }
  
  .faq-question img {
  width: 18px;
  height: 18px;
  }
  
  .faq-answer {
  padding: 0 15px 15px;
  font-size: 12px;
  }
  
  /* Read Also */
  .read-also-wrapper {
  padding: 15px;
  border-radius: 8px;
  }
  
  .read-also-header h2 {
  font-size: 18px;
  }
  
  .card-image {
  height: 200px;
  }
  
  .card-content {
  padding: 15px;
  }
  
  .card-content h3 {
  font-size: 16px;
  }
  
  .card-content p {
  font-size: 13px;
  }
  
  .card-meta {
  font-size: 11px;
  }
  
  .meta-item img {
  width: 12px;
  height: 12px;
  }
  
  .show-more-link {
  padding: 10px 30px;
  font-size: 14px;
  }
  
  /* Footer */

  
  .footer-grid {
  gap: 25px;
  margin-bottom: 40px;
  }
  
  .footer-logo {
  width: 150px;
  }
  
  .footer-desc {
  font-size: 13px;
  }
  
  .footer-link {
  font-size: 14px;
  }
  
  .footer-link.sub-link {
  font-size: 13px;
  }
  
  .btn-outline {
  padding: 8px 20px;
  font-size: 13px;
  }
  }
  
  /* Extra Small Mobile (max-width: 360px) */
  @media (max-width: 360px) {
  .container {
  padding: 0 10px;
  }
  
  .site-header {
  padding: 8px 0;
  }
  
  .logo-wrapper {
  width: 120px;
  height: 30px;
  }
  
  .article-container {
  padding: 12px;
  }
  
  .article-title {
  font-size: 18px;
  }
  
  .article-lead {
  font-size: 13px;
  }
  
  .toc-box {
  padding: 12px;
  }
  
  .toc-list li {
  font-size: 12px;
  }
  
  .article-body h2 {
  font-size: 16px;
  }
  
  .article-body p {
  font-size: 12px;
  }
  
  .faq-question {
  padding: 12px;
  font-size: 14px;
  }
  
  .faq-answer {
  padding: 0 12px 12px;
  font-size: 12px;
  }
  
  .read-also-wrapper {
  padding: 12px;
  }
  
  .card-image {
  height: 180px;
  }
  
  .footer-logo {
  width: 130px;
  }
  }
  
  /* Print Styles */
  @media print {
  .site-header,
  #top-banner,
  #read-also,
  .header-actions {
  display: none !important;
  }
  
  .layout-grid {
  display: block;
  }
  
  .article-container {
  box-shadow: none;
  border: 1px solid #ccc;
  }
  
  body {
  background-color: #ffffff;
  }
  }
  
  /* High Contrast Mode Support */
  @media (prefers-contrast: high) {
  .tag,
  .show-more-link {
  border: 2px solid #ffffff;
  }
  
  .article-container,
  .faq-item,
  .card {
  border: 2px solid #000000;
  }
  
  .nav-link {
  text-decoration: underline;
  }
  }
  
  /* Reduced Motion Support */
  @media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
  }
  }
  
 


  .main-nav ul {
    display: flex;
    gap: 30px;
    flex-grow: 1;
    color: white;
    list-style: none;
    font-weight: 400;
}

#header {
  position: sticky;
  top: 0;
  z-index: 1000;
}


/* === PROS CONS === */
.pros-cons-block {
  margin-bottom: 30px;
}

.pc-grid {
  display: flex;
  gap: 20px;
  border: 1px solid #eee;
  border-radius: 10px;
  box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.05);
  padding: 20px;
}

.pc-col {
  flex: 1;
}

.pc-col h4 {
  font-size: 18px;
  margin-bottom: 20px;
  margin-top: 0;
}

.pc-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pc-col ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 13px;
  color: #2e3246;
  line-height: 1.5;
  font-weight: 300 !important;
}

.pc-col ul li img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}


/* === PROMPT BOX === */
.prompt-block {
margin: 20px 0;
font-family: 'Courier New', monospace;
  }
  
  .prompt-block h3 {
  font-size: 20px;
  margin-bottom: 15px;
  }
  
  .prompt-box {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.1);
  border: 1px solid #eee;
  padding: 20px;
  display: flex;
  gap: 20px;
  }
  
  .prompt-content {
  flex: 1;
  color: #6c6c6c;
  font-size: 16px;
  line-height: 1.6;
  }
  
  .prompt-content p {
  margin: 0;
  }
  
  .copy-icon {
  width: 24px;
  height: 24px;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s ease;
  }
  
  .copy-icon:hover {
  opacity: 1;
  }



.layout-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 20px;
  align-items: start;
  padding: 20px 0;
  min-width: 0; 
}

.pad {
  margin-bottom: 20px;
}

.layout-grid > * {
  min-width: 0;
}


.article-body {
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}




.article-body img, 
.article-body iframe, 
.article-body video,
.article-body table {
  max-width: 100%;
  height: auto;
  display: block;
  
}

.article-body p img {
 
width: 1024px;
}
.article-body table {
  display: block;
  overflow-x: auto;
  white-space: nowrap;
}


.article-body pre {
  max-width: 100%;
  overflow-x: auto;
  white-space: pre-wrap; 
}


.sidebar {
  display: flex;
  flex-direction: column;

  max-width: 100%; 
}
@media (max-width: 430px) {
  .visual img {
      width: 50%;
  }
}
@media (max-width: 768px) {
  .sidebar {
      width: 100%;
      max-width: 100%;
      flex: 1 1 100%;
      box-sizing: border-box;
      margin: 20px auto 0;
  }
}

@media (max-width: 1024px) {
.sidebar {
  width: 100%;
  
}
}

@media (max-width: 900px) {



  .main-column {
      width: 100%;
  }
}

/* комменты начало */
.comments-wrapper #commentform p {
  margin-bottom: 20px;
}


.comments-wrapper #commentform input[type="text"],
.comments-wrapper #commentform input[type="email"],
.comments-wrapper #commentform input[type="url"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  background-color: #fefeff;
  box-sizing: border-box;
  font-family: 'Unbounded', sans-serif;
  font-size: 14px;
  color: #151515;
  margin-top: 5px;
}

.comments-wrapper #commentform input[type="text"]:focus,
.comments-wrapper #commentform input[type="email"]:focus,
.comments-wrapper #commentform input[type="url"]:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}


.comments-wrapper #commentform textarea#comment {
  width: 100%;
  padding: 12px;
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  background-color: #fefeff;
  box-sizing: border-box;
  font-family: 'Unbounded', sans-serif;
  font-size: 14px;
  color: #151515;
  height: 120px;
  resize: vertical;
  display: block; 
  margin-top: 5px;
}

.comments-wrapper #commentform textarea#comment:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}


.comments-wrapper #commentform input[type="submit"] {
  background-color: #2563eb;
  color: #ffffff;
  border-radius: 8px;
  padding: 12px 30px;
  border: none;
  font-family: 'Unbounded', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  width: auto; 
}

.comments-wrapper #commentform input[type="submit"]:hover {
  background-color: #1d4ed8;

  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}


.comments-wrapper #commentform p.comment-form-cookies-consent {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: #6b7280;
}

.comments-wrapper #commentform p.comment-form-cookies-consent input {
  width: 18px;
  height: 18px;
  cursor: pointer;
}


.comments-wrapper #commentform label {
  font-weight: 600;
  color: #151515;
  font-size: 14px;
  margin-bottom: 5px;
  display: block;
}


.comments-wrapper {
  background: white;
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.25);
  width: 100%;
}




.comments-wrapper {
  background: white;
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.25);
}

.comments-header {
  margin-bottom: 24px;
}

.comments-header h2 {
  font-size: 24px;
  margin-bottom: 8px;
}

.comments-header p {
  font-size: 14px;
  color: #7f8c8d;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #9ca3af;
  font-size: 14px;
}

.form-input {
  width: 100%;
  padding: 12px;
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  background-color: #fefeff;
  box-sizing: border-box;
  font-family: 'Unbounded';
  font-size: 14px;
}

.form-input:focus {
  outline: none;
  border-color: #2563eb;
}

.textarea {
  height: 120px;
  resize: vertical;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.checkbox-wrapper {
  width: 20px;
  height: 20px;
  border: 1px solid #767676;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkbox-wrapper input {
  width: 14px;
  height: 14px;
  cursor: pointer;
}

.captcha-placeholder {
  margin-bottom: 20px;
}

.captcha-box {
  background: #f9f9f9;
  border: 1px solid #d3d3d3;
  padding: 10px 20px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  width: 300px;
  justify-content: space-between;
}

.captcha-check {
  width: 24px;
  height: 24px;
  border: 2px solid #c1c1c1;
  border-radius: 2px;
  background: white;
}

.captcha-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 10px;
  color: #555;
}

.captcha-logo img {
  width: 32px;
}

.submit-btn {
  width: 100%;
}

/* комменты конец */


/* === КНОПКА НАВЕРХ === */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: #2563eb;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background-color: #1d4ed8;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.5);
}

.scroll-to-top:active {
  transform: translateY(-1px);
}

.scroll-to-top svg {
  width: 24px;
  height: 24px;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
  .scroll-to-top {
      bottom: 20px;
      right: 18px;
      width: 50px;
      height: 50px;
  }
  
  .scroll-to-top svg {
      width: 20px;
      height: 20px;
  }
}



/* === КНОПКА AI АССИСТЕНТ === */
.ai-assistant-btn {
  position: fixed;
  bottom: 95px; 
 right: 30px;
  width: 50px;
  height: 50px;
  background-color: #2563eb;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1; 
  visibility: visible; 
  transform: translateY(0); 
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.ai-assistant-btn:hover {
  background-color: #1d4ed8;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.5);
}

.ai-assistant-btn:active {
  transform: translateY(-1px);
}

.ai-assistant-btn img {
  width: 24px;
  height: 24px;
}


/* === SU Button === */
.su-button {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #2563eb;
  color: #ffffff !important;
  padding: 12px 30px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0px 1px 5px 0px rgba(37, 99, 235, 0.3);
  margin: 0 auto 20px; 
  width: fit-content; 
}

.su-button:hover {
  background-color: #1d4ed8;
 
  box-shadow: 0px 4px 12px 0px rgba(37, 99, 235, 0.4);
}

.su-button:active {
  transform: translateY(0);
}

/* Адаптивность */
@media (max-width: 768px) {
  .su-button {
      padding: 10px 24px;
      font-size: 14px;
  }
}

@media (max-width: 480px) {
  .su-button {
    padding: 15px 0px;
    font-size: 13px;
    width: 100%;
    max-width: 280px;
  }
}

/* === Card Link === */
.card {
  position: relative;
}

.card-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  display: block;
}

.card-image,
.card-content,
.card-tag,
.card-meta {
  position: relative;
  z-index: 1;
}

/* TOC */
.toc-box {
  background-color: #ffffff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.05);
  margin: 0 0 20px;
}

.toc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  font-weight: 700;
  cursor: pointer;
}

.toc-toggle-icon {
  width: 20px;
  height: 20px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.toc-toggle-icon.rotated {
  transform: rotate(180deg);
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.toc-list.collapsed {
  max-height: 0;
}

.toc-list li {
  position: relative;
  padding-left: 15px;
  margin-bottom: 8px;
  color: rgba(0, 0, 0, 0.6);
  font-size: 15px;
  cursor: pointer;
}

.toc-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: rgba(0, 0, 0, 0.6);
}

.toc-list li a:hover {
  color: #2563eb !important;
}


.toc-link {
  color: inherit !important;
  text-decoration: none;
}

.toc-link:hover {
  color: #2563eb;
}

.toc-sub-item {
  padding-left: 30px;
}



.author-name {
  color: #000;
}

.author-name a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.author-name a:hover {
  color: #2563eb;
}

.tag {
  border: 1px solid #2563eb;
  color: #2563eb;
  padding: 5px 15px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.tag:hover {
  background-color: #2563eb;
  color: #ffffff;
}

/* === Breadcrumbs для статей === */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #9ca3af;
  font-size: 14px;
  margin-bottom: 16px;
  flex-wrap: nowrap;
  overflow: hidden;
}

.crumb-item {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 300px;
  flex-shrink: 1;
  min-width: 0;
}



.crumb-item a:hover {
  color: #2563eb;
}

.crumb-item.active {
  max-width: 400px;
}

.crumb-icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  opacity: 0.6;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
  .crumb-item {
      max-width: 150px;
  }
  
  .crumb-item.active {
      max-width: 200px;
  }
  
  .breadcrumbs {
      gap: 5px;
  }
  
  .crumb-icon {
      width: 14px;
      height: 14px;
  }

  .author-time {
    font-size: 12px;
  }

  .author-avatar img {
    width: 50px;
  }
}

@media (max-width: 480px) {
  .crumb-item {
      max-width: 100px;
      font-size: 12px;
  }
  
  .crumb-item.active {
      max-width: 150px;
  }
}


@media (max-width: 480px) {
 
  h1 {
    font-size: 24px;
  }

  .toc-header {
    font-size: 15px;
  }

  li {
    font-size: 14px;
  }

  .toc-list li {
    font-size: 14px;
  }

  .read-also-header {
    margin-bottom: 15px;
  }
}


@media (max-width: 430px) {
  .visualr img {
    width: 50%;
  }
} 

@media (max-width: 768px) {
  .ai-assistant-btn {
      bottom: 80px; 
      right: 20px;
      width: 45px;
      height: 45px;
  }
  
  .ai-assistant-btn img {
      width: 20px;
      height: 20px;
  }
  
  .scroll-to-top {
      bottom: 20px;
      right: 18px;
      width: 50px;
      height: 50px;
  }
}


.author {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.author-avatar {
  flex-shrink: 0;
}

.author-name {
  white-space: nowrap;
}

.author-time {
  white-space: nowrap;
  flex-shrink: 0;
}



.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  max-height: 1000px; 
}


@media (max-width: 768px) {
  .toc-list {
      max-height: 0;
  }
  
  .toc-list.active {
      max-height: 1000px;
  }
}

@media (min-width: 769px) {
  .toc-list.collapsed {
      max-height: 0;
  }
}



.pc-grid ul li a {
  color: #2563eb;
  text-decoration: none;
}


.pc-col ul li {
  display: flex;
 
  gap: 10px;
  margin-bottom: 12px;
  font-size: 13px;
  color: #2e3246;
  line-height: 1.5;
}

.pc-col ul li img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.pc-col ul li .pc-text {
  flex: 1;
  min-width: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
  line-height: 1.5;
}


/* промт блок адаптив*/
.prompt-block {
  margin: 20px 0;
  overflow: hidden; 
}

.prompt-box {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.1);
  border: 1px solid #eee;
  padding: 20px;
  display: flex;
  gap: 20px;
  max-width: 100%; 
  box-sizing: border-box;
}

.prompt-content {
  flex: 1;
  color: #6c6c6c;
  font-size: 16px;
  line-height: 1.6;
  min-width: 0; 
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
  max-width: 100%;
}

.prompt-content p {
  margin: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.copy-icon {
  width: 24px;
  height: 24px;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s ease;
  flex-shrink: 0; 
}

.copy-icon:hover {
  opacity: 1;
}

@media (max-width: 768px) {
  .prompt-box {
      padding: 15px;
      gap: 12px;
      flex-direction: row; 
  }
  
  .prompt-content {
      font-size: 14px;
      line-height: 1.5;
  }
  
  .copy-icon {
      width: 20px;
      height: 20px;
  }
}

@media (max-width: 480px) {
  .prompt-box {
      padding: 12px;
      gap: 10px;
  }
  
  .prompt-content {
      font-size: 13px;
      line-height: 1.4;
  }
  

  @media (max-width: 375px) {
      .prompt-box {
          flex-direction: column;
      }
      
      .copy-icon {
          align-self: flex-end;
          margin-top: -30px;
          margin-right: 10px;
          z-index: 1;
      }
  }
}


@media (max-width: 360px) {
  .prompt-content {
      font-size: 12px;
  }
  
  .prompt-box {
      padding: 10px;
  }
}


.article-body p, .article-body li {
  font-weight: 300;
}


/* === Стили для комментариев === */



.comments-area h3 {
  margin-bottom: 30px;
  font-size: 24px;
  font-weight: 700;
}

/* Список комментариев */
.commentlist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.commentlist > li {
  margin-bottom: 30px;
}

/* Тело комментария */
.comment-body {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 25px;
  position: relative;
}

/* Мета-информация комментария */
.comment-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.comment-author {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 16px;
  color: #1a1a1a;
}

.comment-author .avatar {
  border-radius: 50%;
  width: 48px;
  height: 48px;
}

.comment-author .fn {
  font-style: normal;
}

.comment-metadata {
  font-size: 14px;
  color: #666;
}

.comment-metadata a {
  color: #666;
  text-decoration: none;
}

.comment-metadata a:hover {
  color: #2563eb;
}

/* Содержимое комментария */
.comment-content {
  margin: 15px 0;
  padding-left: 60px;
  font-size: 15px;
  line-height: 1.6;
  color: #333;
}

/* Кнопка ответа */
.reply {
  margin-top: 15px;
  padding-left: 60px;
}

.reply a {
  display: inline-block;
  padding: 8px 20px;
  background: #2563eb;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.reply a:hover {
  background: #1d4ed8;
  
}

/* Вложенные комментарии (ответы) */
.children {
  list-style: none;
  padding-left: 60px;
  margin-top: 20px;
}

.children .comment-body {
  background: #fff;
  border: 2px solid #e5e7eb;
}

/* Форма комментариев */

.comment-reply-title {
  margin-bottom: 25px;
  font-size: 20px;
  font-weight: 700;
}

.comment-form p {
  margin-bottom: 20px;
}

.comment-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 14px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 15px;
  transition: border-color 0.3s ease;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: #2563eb;
}

.comment-form textarea {
  min-height: 120px;
  resize: vertical;
}

.comment-form .submit {
  background: #2563eb;
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.comment-form .submit:hover {
  background: #1d4ed8;

}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
  .comment-meta {
      flex-direction: column;
      align-items: flex-start;
      gap: 10px;
  }
  
  .comment-content,
  .reply {
      padding-left: 0;
  }
  
  .children {
      padding-left: 20px;
  }
  
  .comment-body {
      padding: 20px;
  }
}

.comment-metadata a {
  color: #666 !important;
}

.reply a {
  color: white !important;
  text-decoration: none !important;
}

.comment-metadata a:hover {
  color: #2563eb !important;
  transition: opacity 0.3s ease;
  text-decoration: none !important;
}

.reply a:hover {
  background: #1d4ed8;
  text-decoration: none !important;
}


/* === TABLE STYLES === */

/* Wrapper для таблиц с прокруткой */
.table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 20px 0;
  border-radius: 8px;

}

/* Основная таблица */
.article-body table,
.text-block table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background-color: #ffffff;
  box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
  display: table;
}

/* Заголовок таблицы */
.article-body thead,
.text-block thead {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
}

/* Ячейки заголовка */
.article-body th,
.text-block th {
  padding: 15px;
  text-align: left;
  font-weight: 600;
  font-size: 14px;
  border-bottom: 2px solid #1d4ed8;
  color: #ffffff;
}

/* Ячейки тела таблицы */
.article-body td,
.text-block td {
  padding: 12px 15px;
  border-bottom: 1px solid #e5e7eb;
  font-size: 14px;
  color: #374151;
  line-height: 1.5;
}

/* Hover эффект для строк */
.article-body tbody tr:hover,
.text-block tbody tr:hover {
  background-color: #f9fafb;
  transition: background-color 0.2s ease;
}

/* Последняя строка без границы */
.article-body tbody tr:last-child td,
.text-block tbody tr:last-child td {
  border-bottom: none;
}

/* Чередование строк (зебра) */
.article-body tbody tr:nth-child(even),
.text-block tbody tr:nth-child(even) {
  background-color: #fafafa;
}

.article-body tbody tr:nth-child(even):hover,
.text-block tbody tr:nth-child(even):hover {
  background-color: #f3f4f6;
}

/* Caption таблицы */
.article-body caption,
.text-block caption {
  padding: 12px 15px;
  font-size: 16px;
  font-weight: 700;
  color: #1f2937;
  background-color: #f3f4f6;
  border-bottom: 2px solid #e5e7eb;
  text-align: left;
  caption-side: top;
}

/* Ссылки в таблицах */
.article-body table a,
.text-block table a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
}

.article-body table a:hover,
.text-block table a:hover {
  text-decoration: underline;
  color: #1d4ed8;
}

/* Списки в таблицах */
.article-body table ul,
.article-body table ol,
.text-block table ul,
.text-block table ol {
  margin: 0;
  padding-left: 18px;
}

.article-body table li,
.text-block table li {
  margin-bottom: 4px;
  font-size: inherit;
}

/* Выравнивание текста в ячейках */
.article-body th.text-center,
.article-body td.text-center,
.text-block th.text-center,
.text-block td.text-center {
  text-align: center;
}

.article-body th.text-right,
.article-body td.text-right,
.text-block th.text-right,
.text-block td.text-right {
  text-align: right;
}

/* Статусы в таблицах */
.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.status-active {
  background-color: #d1fae5;
  color: #065f46;
}

.status-partial {
  background-color: #fef3c7;
  color: #92400e;
}

.status-blocked {
  background-color: #fee2e2;
  color: #991b1b;
}

/* Кнопки в таблицах */
.article-body table .btn,
.text-block table .btn {
  padding: 6px 12px;
  font-size: 13px;
  border-radius: 5px;
}

/* === АДАПТИВНОСТЬ ДЛЯ ТАБЛИЦ === */

@media (max-width: 768px) {
  .table-wrapper {
      margin: 15px -20px;
      padding: 0 20px;
      border-radius: 8px;
  }
  
  .article-body table,
  .text-block table {
      font-size: 12px;
      margin: 15px 0;
  }
  
  .article-body th,
  .text-block th,
  .article-body td,
  .text-block td {
      padding: 8px 10px;
  }
  
  .article-body caption,
  .text-block caption {
      font-size: 14px;
      padding: 10px 12px;
  }
}

@media (max-width: 480px) {
  .table-wrapper {
      margin: 15px -15px;
      padding: 0 15px;
  }
  
  .article-body table,
  .text-block table {
      font-size: 11px;
  }
  
  .article-body th,
  .text-block th,
  .article-body td,
  .text-block td {
      padding: 6px 8px;
  }
  
  .article-body th,
  .text-block th {
      font-size: 12px;
  }
  
  .status-badge {
      padding: 3px 8px;
      font-size: 11px;
  }
}

/* Стили для печати */
@media print {
  .article-body table,
  .text-block table {
      box-shadow: none;
      border: 1px solid #ccc;
  }
  
  .article-body thead,
  .text-block thead {
      background-color: #f3f4f6 !important;
      color: #000000 !important;
      -webkit-print-color-adjust: exact;
      print-color-adjust: exact;
  }
  
  .article-body tbody tr:nth-child(even),
  .text-block tbody tr:nth-child(even) {
      background-color: #fafafa !important;
      -webkit-print-color-adjust: exact;
      print-color-adjust: exact;
  }
}



@media (max-width: 768px) {
  .comments-wrapper,
  .readdd {
      padding: 25px;
      border-radius: 8px;
  }
  
  .posts-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 15px;
  }
}

@media (max-width: 480px) {

  .comments-wrapper,
  .readdd {
      padding: 15px;
      border-radius: 8px;
  }
  
  .posts-grid {
      grid-template-columns: 1fr;
      gap: 15px;
  }
  
  .section-title {
      font-size: 20px;
      margin-bottom: 20px;
  }
}

@media (max-width: 360px) {
  .comments-wrapper,
  .readdd {
      padding: 15px;
  }
}




@media (max-width: 770px) {
  .no-padding {
    padding: 0;
    border-radius: 0;
  }
  
  .no-border {
    border-radius: 0 !important;
  }
  
  #hero-section {
    padding-top: 0px;
  }

  .site-footer {
    padding: 40px 15px 15px;
    }

    .sidebar {
      padding:  0 15px;
    }
  
    .layout-grid {
      padding-top: 0;
    }

  }


  #comments-section {
    padding: 5px 0;
  }


/* Кнопка "Сгенерировать" в статьях */
.article-generate-button {
  margin: 20px 0  0  0;
}

.generate-btn {
  display: inline-flex;
  width: 100%;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #2563eb;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  justify-content: center;
}

.generate-btn:hover {
  background: #1d4ed8;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}


/* Кнопка отправки комментария */
.comments-wrapper #commentform input[type="submit"],
.comments-wrapper .submit {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-color: #2563eb !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 12px 30px !important;
    font-family: 'Unbounded', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    width: auto !important;
    display: inline-block !important;
    box-shadow: none !important;
    text-shadow: none !important;
    -webkit-border-radius: 8px !important;
    -webkit-box-shadow: none !important;
}

.comments-wrapper #commentform input[type="submit"]:hover,
.comments-wrapper .submit:hover {
    background-color: #1d4ed8 !important;
    -webkit-transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3) !important;
}

.comments-wrapper #commentform input[type="submit"]:active,
.comments-wrapper .submit:active {
    -webkit-transform: translateY(0) !important;
    transform: translateY(0) !important;
}


.comments-wrapper #commentform input[type="checkbox"],
.comments-wrapper #wp-comment-cookies-consent {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    width: 18px !important;
    height: 18px !important;
    border: 2px solid #767676 !important;
    border-radius: 4px !important;
    background-color: #ffffff !important;
    cursor: pointer !important;
    margin-top: 2px !important;
    padding: 0 !important;
    position: relative !important;
    -webkit-border-radius: 4px !important;
    flex-shrink: 0 !important;
}

.comments-wrapper #commentform input[type="checkbox"]:checked,
.comments-wrapper #wp-comment-cookies-consent:checked {
    background-color: #2563eb !important;
    border-color: #2563eb !important;
    margin-top: 2px !important;
}

.comments-wrapper #commentform input[type="checkbox"]:checked::after,
.comments-wrapper #wp-comment-cookies-consent:checked::after {
    content: '✓' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    -webkit-transform: translate(-50%, -50%) !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: bold !important;
}


.comments-wrapper #commentform input[type="text"],
.comments-wrapper #commentform input[type="email"],
.comments-wrapper #commentform textarea {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    border-radius: 8px !important;
    -webkit-border-radius: 8px !important;
}


.comments-wrapper #commentform input,
.comments-wrapper #commentform textarea,
.comments-wrapper #commentform button {
    -webkit-tap-highlight-color: transparent !important;
    outline: none !important;
}


@media screen and (max-width: 768px) {
    .comments-wrapper #commentform input,
    .comments-wrapper #commentform textarea,
    .comments-wrapper #commentform select {
        font-size: 16px !important;
    }
}

@media (max-width: 1024px) {
  .pc-grid {
      flex-direction: column;
  }
}

@media (max-width: 1024px) {
  .visual img {
    width: 50% !important;
  }
} 

@media (max-width: 1024px) {
  .sidebar {
  width: 100% !important;
  margin: 0 auto !important;
  }
 }

 .visual img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.25);
}

.article-body p img {
  border-radius: 10px;
}



/* стили для блока стихов */
blockquote {
  margin: 30px 0;
  padding: 30px 40px;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-left: 4px solid #2563eb;
  border-radius: 0 10px 10px 0;
  position: relative;
  font-style: italic;
  color: #374151;
  line-height: 1.8;
  box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}




blockquote::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 60px;
  color: #000000;
  opacity: 0.5;
  font-family: Georgia, serif;
  line-height: 1;
  pointer-events: none;
}

blockquote::after {
  content: '"';
  position: absolute;
  bottom: -10px;
  right: 20px;
  font-size: 60px;
  color: #000000;
  opacity: 0.5;
  font-family: Georgia, serif;
  line-height: 1;
  pointer-events: none;
}


blockquote p {
  margin: 0 0 15px 0;
  padding-left: 40px;
  position: relative;
  font-size: 14px;
  line-height: 1.8;
}

blockquote p:last-child {
  margin-bottom: 0;
}


blockquote cite {
  display: block;
  margin-top: 20px;
  padding-left: 20px;
  font-size: 14px;
  color: #6b7280;
  font-style: normal;
  font-weight: 500;
}

blockquote cite::before {
  content: '— ';
  color: #2563eb;
}


blockquote.poetry {
  background: linear-gradient(135deg, #fef3c7 0%, #fffbeb 100%);
  border-left-color: #f59e0b;
  text-align: center;
  padding: 40px 50px;
}

blockquote.poetry::before {
  left: 50%;
  transform: translateX(-50%);
  font-size: 80px;
  opacity: 0.15;
}

blockquote.poetry p {
  padding-left: 0;
  margin-bottom: 10px;
  font-size: 17px;
  line-height: 2;
  color: #1f2937;
}


blockquote.minimal {
  background: transparent;
  border-left: 3px solid #2563eb;
  border-radius: 0;
  padding: 20px 30px;
  box-shadow: none;
}

blockquote.minimal:hover {
  transform: none;
  box-shadow: none;
}


blockquote.with-author {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 30px;
}

blockquote.with-author .quote-content {
  padding-left: 0;
}

blockquote.with-author .quote-author {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-left: 20px;
  border-top: 1px solid #e5e7eb;
  padding-top: 20px;
  margin-top: 10px;
}

blockquote.with-author .quote-author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

blockquote.with-author .quote-author-name {
  font-weight: 600;
  color: #151515;
  font-size: 14px;
}

blockquote.with-author .quote-author-role {
  font-size: 12px;
  color: #6b7280;
}

@media (max-width: 768px) {
  blockquote {
    padding: 25px 30px;
    margin: 25px 0;
  }
  
  blockquote::before {
    font-size: 40px;
    top: 15px;
    left: 15px;
  }

    blockquote::after {
    font-size: 40px;
    bottom: 0px;
    right: 20px;
  }
  
  blockquote p {
    font-size: 15px;
    padding-left: 15px;
  }
  
  blockquote.poetry {
    padding: 30px 25px;
  }
  
  blockquote.poetry::before {
    font-size: 60px;
  }
  
  blockquote.poetry p {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  blockquote {
    padding: 20px 25px;
    margin: 20px 0;
    border-left-width: 3px;
  }
  
  blockquote::before {
    font-size: 36px;
    top: 12px;
    left: 12px;
  }

   blockquote::after {
    font-size: 36px;
        bottom: -8px;
        right: 30px;
  }
  
  blockquote p {
    font-size: 14px;
    padding-left: 10px;
    line-height: 1.7;
  }
  
  blockquote cite {
    font-size: 13px;
    margin-top: 15px;
  }
  
  blockquote.poetry {
    padding: 25px 20px;
  }
  
  blockquote.poetry p {
    font-size: 14px;
    line-height: 1.9;
  }
}

@media (prefers-color-scheme: dark) {
  blockquote {
    border-left-color: #3b82f6;
    color: #000000;
  }
  
  blockquote.poetry {
    background: linear-gradient(135deg, #92400e 0%, #78350f 100%);
    border-left-color: #fbbf24;
    color: #f3f4f6;
  }
  
  blockquote.minimal {
    background: transparent;
    border-left-color: #3b82f6;
  }
  
  blockquote cite {
    color: #9ca3af;
  }
}

@media print {
  blockquote {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ccc;
    border-left-width: 4px;
  }
}



.banner-img {
    width: 100%;
    height: auto;
    object-fit: cover;
} 

@media (max-width: 768px) {
  .toc-list li {
    font-size: 12px !important;
  }
}

.toc-list li {
  list-style: none;
  padding-left: 15px; 
  margin-bottom: 8px;
  position: relative;
}

.toc-list .toc-h3 {
  padding-left: 30px;
  font-size: 14px; 
}

.toc-list .toc-h4 {
  padding-left: 40px;
  font-size: 13px; 
}

.toc-list li a.active {
  color: #2563eb;
  font-weight: bold;
}

.toc-list .toc-h3::before {
  left: 15px; 
}


.toc-list .toc-h4::before {
  left: 20px; 
}






/* === SU Image Carousel Styles === */
.su-image-carousel {
  position: relative;
  width: 100%;
  margin: 0 0 30px 0;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
}

.su-carousel-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 66.67%;
  height: 0;
}

.su-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  display: none;
}

.su-slide.active {
  opacity: 1;
  display: block;
}

.su-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.su-slide-link {
  display: block;
  width: 100%;
  height: 100%;
}

.su-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 10;
  color: #000;
}

.su-image-carousel:hover .su-carousel-arrow {
  opacity: 1;
}

.su-carousel-prev {
  left: 20px;
}

.su-carousel-next {
  right: 20px;
}

.su-carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.su-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid white;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 0;
  transition: all 0.3s;
}

.su-dot.active {
  background: white;
  transform: scale(1.2);
}

.su-dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
  .su-carousel-arrow {
      width: 32px;
      height: 32px;
  }
  
  .su-carousel-prev {
      left: 10px;
  }
  
  .su-carousel-next {
      right: 10px;
  }
  
  .su-carousel-dots {
      bottom: 15px;
  }
  
  .su-dot {
      width: 8px;
      height: 8px;
  }
}


/* === SU Lightbox === */
.su-lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 99999;
  align-items: center;
  justify-content: center;
}

.su-lightbox img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.su-lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: white;
  font-size: 40px;
  cursor: pointer;
}