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;
  }
  
    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;
    }

    p , ul , li {
      font-weight: 300;
    }

    .article-container ul , .article-container ol  {
      margin: 0;
      padding-left: 28px;
    }
    
    h1 {
      font-size: 30px;
      line-height: 1.5;
      margin: 0;
    }
    h2, h3 , li {
      line-height: 1.5;
      padding: 5px 0;
      margin: 0;
    }
  
   
    
    .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);
    margin-bottom: 20px;
    }
    
  
    .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;
    }
    
    .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: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    }
    
    .card-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #151515;
    line-height: 1.4;
  
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 3.6em;
    }
    
    .card-content p {
    font-size: 14px;
    color: #151515;
    flex-grow: 1;
    line-height: 1.5;
  
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 3.6em; 
    }
    
    .card-meta {
    display: flex;
    gap: 15px;
    color: #7f8c8d;
    font-size: 12px;
    border-top: 1px solid #eee;
    padding-top: 15px;
    }
    
    .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: 10px;
    }
    
    .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;
    }
    

    
    /* Tablet (max-width: 1024px) */
    @media (max-width: 1024px) {
    .layout-grid {
    grid-template-columns: 1fr;
    }
    
  
    .cards-grid {
    grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    }
    }
    
    /* Tablet Small (max-width: 768px) */
    @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 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 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 */
    .site-footer {
    padding: 40px 0 15px 0;
    }
    
    .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;
  }
  

  .prompt-block {
  margin: 20px 0;
    }
    
    .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 0;
    min-width: 0; 
  }
  
  .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 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;
    }
  }
  
  @media (max-width: 1024px) {
  .sidebar {
    width: 100%;
 
    margin: 0 auto 20px;
  }
  }
  
  @media (max-width: 900px) {
    .layout-grid {
        grid-template-columns: 1fr; 
        gap: 0px;
    }
  
  
    .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-assistant-btn {
    position: fixed;
    bottom: 95px; 
    width: 50px;
    right: 30px;
    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 {
    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 {
    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 {
    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;
  }


  
  /* Table Styles */
  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;
}

thead {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
}

 th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    border-bottom: 2px solid #1d4ed8;
}

 td {
    padding: 12px 15px;
    border-bottom: 1px solid #e5e7eb;
    font-size: 14px;
    color: #374151;
    line-height: 1.5;
}
 tbody tr:hover {
    background-color: #f9fafb;
}

 tbody tr:last-child td {
    border-bottom: none;
}

/* Адаптивность для таблиц */
@media (max-width: 768px) {
    table {
        font-size: 12px;
    }
    
    th,
    td {
        padding: 8px 10px;
    }
}

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






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

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

    .sidebar {
      padding:  0 15px;
    }
  
  }

  .main-nav li {
    font-weight: 400 !important;
  }