
  body {
  font-family: 'Unbounded';
  margin: 0;
  padding: 0;
  background-color: #f1f3f4;
  color: #151515;
  box-sizing: border-box;
  }
  
  *,
  *::before,
  *::after {
  box-sizing: inherit;
  }
  
  img {
  max-width: 100%;
  display: block;
  }
  
  a {
  text-decoration: none;
  color: inherit;
  }
  
  .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  }
  
  /* === TOP BANNER === */
  .top-banner {
  width: 100%;
  margin: 0 auto;
  }
  
  .banner-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  }
  
  /* === 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;
  }
  
  .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;
  }
  
  /* === LAYOUT === */
  .layout-grid {
  display: grid;
  grid-template-columns: 1fr 276px;
  gap: 20px;
  padding: 20px 0;
  align-items: start;
  }
  
  .main-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
  }
  
  /* === HEADER CARD === */
  .header-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.25);
  padding: 24px 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  }
  
  .breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #7f8c8d;
  flex-wrap: wrap;
  }
  
  .crumb-sep {
  width: 16px;
  height: 16px;
  }
  
  .page-title {
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  color: #000000;
  }
  
  .tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  }
  
  .tag {
  height: 36px;
  padding: 0 16px;
  border-radius: 8px;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  font-family: 'Unbounded';
  cursor: pointer;
  border: none;
  white-space: nowrap;
  }
  
  .tag.active {
  background-color: #2563eb;
  color: #ffffff;
  }
  
  .tag:not(.active) {
  background-color: transparent;
  border: 1px solid #2563eb;
  color: #2563eb;
  }
  
  .tag:not(.active):hover {
  background-color: rgba(37, 99, 235, 0.1);
  }
  
  /* === CARDS GRID === */
  .cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  
  }

  .card:hover  {
    box-shadow: 0px 4px 15px 0px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .tool-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .tool-card:hover {
 
  box-shadow: 0px 4px 15px 0px rgba(0, 0, 0, 0.3);
  }
  
  .card-image-wrapper {
  height: 190px;
  overflow: hidden;
  }
  
  .card-image {
  object-fit: cover;
  transition: transform 0.3s ease;
  }
  
  .tool-card:hover .card-image {
  transform: scale(1.05);
  }
  
  .card-content {
  padding: 14px 16px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex-grow: 1;
  min-height: 0;
  }
  
  .card-title {
  font-size: 18px;
  font-weight: 700;
  color: #151515;
  margin: 0 0 14px 0;
  }
  

  
  .card-actions {
  display: flex;
  gap: 10px;
  width: 100%;
  justify-content: center;
  margin-top: auto;
  }
  
  .btn-read {
  background-color: #2563eb;
  color: #ffffff;
  border-radius: 6px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.3s ease;
  }
  
  .btn-read:hover {
  background-color: #1d4ed8;
  }
  
  .btn-icon {
  width: 47px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background-color: #2563eb;
  transition: background-color 0.3s ease;
  }
  
  .btn-icon:hover {
  background-color: #1d4ed8;
  }
  
  .btn-icon img {
  width: 20px;
  height: 20px;
  }
  
  /* === PAGINATION === */
  .pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 20px 0;
  }
  
  .page-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
  }

  
  .page-link a {
    display: block;
    width: 100%;
    height: 100%;
    text-align: center;
    line-height: 41px; 
  }
  
  .page-link.active {
  background-color: #2563eb;
  color: #ffffff;
  border: 1px solid #2563eb;
  }
  
  .page-link:not(.active):not(.next) {
  background-color: #ffffff;
  color: #2563eb;
  border: 1px solid #2563eb;
  }
  
  .page-link:not(.active):not(.next):hover {
  background-color: rgba(37, 99, 235, 0.1);
  }
  
  .page-dots {
  font-size: 20px;
  color: #000;
  padding: 0 5px;
  }
  

  
  /* === FAQ SECTION === */
  .faq-section {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.25);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  }
  
  .faq-intro {
  text-align: center;
  max-width: 745px;
  margin: 0 auto;
  }
  
  .faq-title {
  font-size: 24px;
  color: #2563eb;
  margin: 0 0 20px 0;
  }
  
  .faq-desc {
  font-size: 16px;
  color: #000000;
  margin: 0;
  line-height: 1.6;
  }
  
  .faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  }
  
  .faq-item {
  border-radius: 15px;
  background-color: #ffffff;
  box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  transition: all 0.3s ease;
  }
  
  .faq-item:hover {
  box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.2);
  }
  
  .faq-header {
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  min-height: 89px;
  user-select: none;
  }
  
  .faq-question {
  font-size: 18px;
  font-weight: 500;
  color: #000000;
  transition: color 0.3s ease;
  line-height: 1.5;
  }
  
  .faq-item.open .faq-question {
  color: #2563eb;
  }
  
  .faq-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
  }
  
  .faq-item.open .faq-icon {
    transform: rotate(0deg);
    }
  
  .faq-body {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
  padding: 0 30px;
  }
  
  .faq-item.open .faq-body {
  max-height: 500px;
  opacity: 1;
  padding: 0 30px 30px 30px;
  }
  
  .faq-body p {
  color: rgba(0, 0, 0, 0.8);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  }
  
/* === SIDEBAR === */
.sidebar-column {
  width: 276px;
  flex-shrink: 0;
  position: sticky;
  top: 90px; 
  align-self: flex-start; 
}

.visualr img {
  border-radius: 10px;
  width: 100%;
  height: auto;
  box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.25);
}
  
  /* === 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-primary {
  background-color: #2563eb;
  color: #ffffff;
  border-radius: 6px;
  padding: 10px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  cursor: pointer;
  border: none;
  font-size: 14px;
  transition: background-color 0.3s ease;
  }
  
  .btn-primary:hover {
  background-color: #1d4ed8;
  }
  
  .icon-btn:hover {
    background-color: #1d4ed8;
    transition: background-color 0.3s ease;
  }


  .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;
  }
  
  .sidebar-column {
  width: 100%;
  
  margin: 0 auto;
  }
  
  .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) {
  /* 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;
  }
  
  /* Header Card */
  .header-card {
  padding: 20px;
  }
  
  .page-title {
  font-size: 20px;
  }
  
  .tags-list {
  gap: 8px;
  }
  
  .tag {
  height: 32px;
  padding: 0 12px;
  font-size: 13px;
  }
  
  /* Cards Grid */
  .cards-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  }
  
  .card-image-wrapper {
  height: 160px;
  }
  
  .card-title {
  font-size: 16px;
  }
  

  
  .btn-read {
  height: 42px;
  font-size: 13px;
  }
  
  .btn-icon {
  width: 42px;
  height: 42px;
  }
  
  /* Pagination */
  .pagination {
  gap: 8px;
  }
  
  .page-link {
  width: 40px;
  height: 40px;
  font-size: 13px;
  }
  
  /* FAQ Section */
  .faq-section {
  padding: 25px;
  }
  
  .faq-title {
  font-size: 20px;
  }
  
  .faq-desc {
  font-size: 14px;
  }
  
  .faq-header {
  padding: 15px 20px;
  min-height: 70px;
  }
  
  .faq-question {
  font-size: 16px;
  }
  
  .faq-body {
  padding: 0 20px;
  }
  
  .faq-item.open .faq-body {
  padding: 0 20px 20px 20px;
  }
  
  .faq-body p {
  font-size: 14px;
  }
  
  /* Sidebar */
  .sidebar-column {
  max-width: 100%;
  }
  
  /* 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;
  }
  
  /* Header Card */
  .header-card {
  padding: 15px;
  border-radius: 8px;
  }
  
  .breadcrumbs {
  font-size: 12px;
  }
  
  .crumb-sep {
  width: 14px;
  height: 14px;
  }
  
  .page-title {
  font-size: 18px;
  }
  
  .tags-list {
  gap: 6px;
  }
  
  .tag {
  height: 30px;
  padding: 0 10px;
  font-size: 12px;
  border-radius: 6px;
  }
  

  
  .card-image-wrapper {
  height: 180px;
  }
  

  
  .card-title {
  font-size: 16px;
  margin-bottom: 10px;
  }
  

 
  .btn-read {
  height: 44px;
  width: 100%;
  }
  
  .btn-icon {
  width: 44px;
  height: 44px;
  }
  
  /* Pagination */
  .pagination {
  gap: 6px;
  }
  
  .page-link {
  width: 36px;
  height: 36px;
  font-size: 12px;
  border-radius: 8px;
  }
  
  .page-dots {
  font-size: 16px;
  }
  

  
  /* FAQ Section */
  .faq-section {
  padding: 20px;
  border-radius: 8px;
  }
  
  .faq-title {
  font-size: 18px;
  }
  
  .faq-desc {
  font-size: 13px;
  line-height: 1.5;
  }
  
  .faq-header {
  padding: 15px;
  min-height: 60px;
  }
  
  .faq-question {
    font-size: 14px;
    line-height: 1.5;
  }
  
  .faq-icon {
  width: 20px;
  height: 20px;
  }
  
  .faq-body {
  padding: 0 15px;
  }
  
  .faq-item.open .faq-body {
  padding: 0 15px 15px 15px;
  }
  
  .faq-body p {
    font-size: 12px;
  }
  
  /* 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;
  }
  
  /* Buttons */
  .btn-primary {
  padding: 8px 16px;
  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;
  }
  
  .header-card {
  padding: 12px;
  }
  
  .page-title {
  font-size: 16px;
  }
  
  .tag {
  height: 28px;
  padding: 0 8px;
  font-size: 11px;
  }
  
  .cards-grid {
  gap: 12px;
  }
  
  .card-image-wrapper {
  height: 160px;
  }
  
  .card-title {
  font-size: 15px;
  }
  

  
  .faq-section {
  padding: 15px;
  }
  
  .faq-title {
  font-size: 16px;
  }
  
  .faq-desc {
  font-size: 12px;
  }
  
  .faq-header {
  padding: 12px;
  }
  
  .faq-question {
  font-size: 14px;
  }
  
  .footer-logo {
  width: 130px;
  }
  }
  
  /* Print Styles */
  @media print {
  .site-header,
  .top-banner,
  .sidebar-column,
  .pagination,
  .header-actions {
  display: none !important;
  }
  
  .layout-grid {
  display: block;
  }
  
  .header-card,
  .cards-grid,
  .faq-section,
  .tool-card {
  box-shadow: none;
  border: 1px solid #ccc;
  }
  
  body {
  background-color: #ffffff;
  }
  }
  
  /* High Contrast Mode Support */
  @media (prefers-contrast: high) {
  .btn-read,
  .tag.active,
  .page-link.active {
  border: 2px solid #ffffff;
  }
  
  .header-card,
  .faq-section,
  .tool-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;
  }
  }
  
 
  .card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .card-image img {
    width: 100%;
    object-fit: cover;
  }

  .card-header h3 {
    font-size: 18px;
    margin: 0;
    text-align: center;
  }
  .card-desc {
    font-size: 12px;
    color: #555;
    text-align: center;
    flex: 1;
    line-height: 1.4
  }
  .card-price {
    color: #2563eb;
    font-weight: 600;
    text-align: center;
    margin-bottom: 15px;
  }

  .card-btn {
    flex: 1;
  }
  .icon-btn {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background-color: #2563eb;
  }
  .show-more-container {
    display: flex;
    justify-content: center;
  }
  .show-more-btn {
    width: 216px;
    height: 46px;
    border-radius: 10px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }
  @media (max-width: 1024px) {
    .cards-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }


  @media (max-width: 768px) {
    .card-header h3 {
      font-size: 14px;
  }
  .card-desc {
    font-size: 10px;
  }
  }

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


/* === PAGINATION === */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 5px 0
}

.pagination ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.pagination li {
  margin: 0;
  padding: 0;
}

.page-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
  text-decoration: none;
}

.page-link.active {
  background-color: #2563eb;
  color: #ffffff;
  border: 1px solid #2563eb;
}

.page-link:not(.active):not(.next) {
  background-color: #ffffff;
  color: #2563eb;
  border: 1px solid #2563eb;
}

.page-link:not(.active):not(.next):hover {
  background-color: rgba(37, 99, 235, 0.1);
}

.page-link.next {
  background-color: transparent;
  border: none;
  font-size: 18px;
  color: #2563eb;
  cursor: pointer;
  width: 44px;
  height: 44px;
  background-color: #ffffff;
  border: 1px solid #2563eb;
}

.page-link.next:hover {
  color: #1d4ed8;
}

.page-dots {
  font-size: 20px;
  color: #000;
  padding: 0 5px;
  width: auto;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* === КНОПКА НАВЕРХ === */
.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;
}

/* Ограничение заголовка и описания в карточках */
.card-header h3 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 48px; 
  line-height: 1.4;
}

.card-desc {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 50.4px; 
  line-height: 1.4;
  margin-bottom: 15px;
  flex-grow: 0;
}







@media (max-width: 768px) {
  .card-header h3 {
      min-height: 42px; 
      font-size: 16px;
  }
  
  .card-desc {
     
      font-size: 13px;
  }
  

}

@media (max-width: 480px) {
  .card-header h3 {
      min-height: 38px;
      font-size: 15px;
  }
  
  .card-desc {
    
      font-size: 12px;
  }
  
 
}

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


@media (max-width: 400px) {
  .card-actions {
    width: 105%;
  }
  .icon-btn {
    width: 60px;
    height: 40px;
  }
}

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

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


 .page-link.next:hover {
  background-color: rgba(37, 99, 235, 0.1);
}