body {
  font-family: 'Unbounded';
  margin: 0;
  padding: 0;
  background-color: #f1f3f4;
  color: #151515;
  box-sizing: border-box;
  }
  

  
  p, ul , li {
    line-height: 1.5;
  }


  *,
  *::before,
  *::after {
  box-sizing: inherit;
  }
  
  img {
  max-width: 100%;
  display: block;
  }
  
  .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  }
  
  .card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  }
  
  button {
  cursor: pointer;
  border: none;
  font-family: inherit;
  }
  
  a {
    text-decoration: none;
    color: inherit;
  }
  
  p a, 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;
  } 
  
  #top-banner {
  width: 100%;
  background-color: #2c2c2c;
  }
  
  .banner-wrapper {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  }
  
  .banner-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  }
  
  /* === HEADER === */

  
  .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;
  }
  
  #main-content {
  padding-top: 20px;
  }
  
  /* === НОВАЯ СТРУКТУРА БЕЗ КОЛОНОК === */
  .promt-layout {
  display: block;
  width: 100%;
  }
  
  .promt-main-column {
  width: 100%;
  max-width: 100%;
  }
  
  /* Article Header */
  .article-header {
  padding: 24px;
  position: relative;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.25);
  margin-bottom: 20px;
  width: 100%;
  }
  
  .breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #9ca3af;
  font-size: 14px;
  margin-bottom: 16px;
  flex-wrap: wrap;
  }
  
  .breadcrumb-separator {
  color: #9ca3af;
  margin: 0 4px;
  }
  
  .article-header h1 {
  font-size: 28px;
  font-weight: 700;
  color: #151515;
  margin: 0 0 20px 0;
  line-height: 1.3;
  word-wrap: break-word;
  }
  
  .meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  }
  
  .meta-info {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  color: #6b7280;
  flex-wrap: wrap;
  }
  
  .author {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  color: #151515;
  font-weight: 500;
  }
  
  .stats {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #6b7280;
  white-space: nowrap;
  }
  
  .stat-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  }
  
  .stat-item img {
  width: 16px;
  height: 16px;
  opacity: 0.6;
  }

  @media (max-width: 1000px) {
    .visual img {
      width: 50% !important;
    }
  } 
  
  .generate-btn {
  width: 100%;
  background-color: #2563eb;
  color: white;
  padding: 16px 32px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 16px;
  box-shadow: 0px 4px 12px rgba(37, 99, 235, 0.25);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
  margin-bottom: 16px;
  }
  
  .generate-btn:hover {
  background-color: #1d4ed8;

  box-shadow: 0px 6px 16px rgba(37, 99, 235, 0.35);
  }
  
  .generate-btn:active {
  transform: translateY(0);
  }
  
  .tags-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
 
  }
  
  .tag {
  border: 1px solid #2563eb;
  color: #2563eb;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  background-color: transparent;
  transition: all 0.3s ease;
  cursor: pointer;
  }
  
  .tag:hover {
  background-color: #2563eb;
  color: #ffffff;
  }
  
  /* Article Body */
  .article-body {
  padding: 0;
  width: 100%;
  }
  
  .main-image-wrapper {
  position: relative;
  height: 500px;
  padding: 30px;
  border-radius: 10px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  }
  
  .main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  max-width: 100%;
  }
  
  .article-text-content {
  padding: 30px;
  width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
  }
  
  .intro-text {
  font-size: 18px;
  line-height: 1.5;
  color: #151515;
  margin-bottom: 30px;
  }
  
  .prompt-block {
  margin-bottom: 20px;
  width: 100%;
  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;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  }
  
  .prompt-content {
  flex: 1;
  color: #6c6c6c;
  font-size: 16px;
  line-height: 1.6;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
  }
  
  .prompt-content p {
  margin: 0;
  word-break: 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;
  }
  
  /* Read Also Section */
  #read-also {
  padding: 40px 0;
  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;
  margin: 0;
  }
  
  .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: 30px;
  }
  
  .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-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: 20px;
  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;
  margin-top: 0;

  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;
  margin-top: 0;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 3.6em;
  }
  
  .card-meta {
  display: flex;
  justify-content: space-between;
  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: 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;
  }
  
  .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;
  transition: background-color 0.3s ease;
  }
  
  .btn-primary:hover {
  background-color: #1d4ed8;
  }
  
  /* ============================================ */
  /* === RESPONSIVE / ADAPTIVE STYLES === */
  /* ============================================ */
  
  /* Tablet Large (max-width: 1024px) */
  @media (max-width: 1024px) {
  .cards-grid {
  grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  }
  
  .promt-main-column {
  width: 100%;
  }
  }
  
  /* 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;
  }
  
  /* Article Header */
  .article-header {
  padding: 20px;
  }
  
  .article-header h1 {
  font-size: 24px;
  }
  
  .meta-row {
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  }
  
  .generate-btn {
  margin-left: 0;
  width: 100%;
  margin-bottom: 16px;
  }
  
  .breadcrumbs {
  font-size: 12px;
  gap: 5px;
  }
  
  .breadcrumbs img {
  width: 14px;
  height: 14px;
  }
  
  .tags-row {
  gap: 8px;
  }
  
  
  
  /* Article Body */
  .main-image-wrapper {
  height: 350px;
  padding: 20px;
  }
  
  .slider-controls {
  bottom: 180px;
  left: 30px;
  right: 30px;
  }
  
  .control-btn {
  width: 24px;
  height: 24px;
  }
  
  .control-btn img {
  width: 16px;
  height: 16px;
  }
  
  .dot {
  width: 30px;
  height: 7px;
  }
  
  .article-text-content {
  padding: 20px;
  }
  
  .intro-text {
  font-size: 16px;
  }
  
  .prompt-block h3 {
  font-size: 18px;
  }
  
  .prompt-box {
  padding: 15px;
  flex-direction: column;
  gap: 15px;
  align-items: flex-end;
  }
  
  .prompt-content {
  font-size: 14px;
  }
  
  .copy-icon {
  width: 20px;
  height: 20px;
  }
  
  /* 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;
  }
  
  .card-content {
  padding: 15px;
  }
  
  .card-content h3 {
  font-size: 16px;
  }
  
  .card-content p {
  font-size: 13px;
  }
  
  .show-more-link {
  max-width: 300px;
  justify-content: center;
  padding: 12px 30px;
  }
  
  /* 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 Header */
  .article-header {
  padding: 16px;
  border-radius: 10px;
  }
  
  .article-header h1 {
  font-size: 20px;
  margin-bottom: 16px;
  }
  
  .meta-row {
  gap: 20px;
  margin-bottom: 0px;
  }
  


  .meta-info {
  gap: 16px;
  }
  
  .stats {
  gap: 12px;
  }
  
  .stat-item {
  font-size: 13px;
  color: #6b7280;
  }
  
  .stat-item img {
  width: 14px;
  height: 14px;
  }
  
  .generate-btn {
  padding: 14px 24px;
  font-size: 15px;
  margin-bottom: 16px;
  }
  
  .tags-row {
  gap: 8px;
  }
  
  .tag {
  font-size: 13px;
  padding: 6px 12px;
  }
  
  .breadcrumbs {
  font-size: 12px;
  }
  
  /* Article Body */
  .main-image-wrapper {
  height: 280px;
  padding: 15px;
  border-radius: 8px;
  }
  
  .slider-controls {
  bottom: 150px;
  left: 20px;
  right: 20px;
  }
  
  .control-btn {
  width: 22px;
  height: 22px;
  }
  
  .dot {
  width: 25px;
  height: 6px;
  }
  
  .article-text-content {
  padding: 15px;
  padding-top: 0;
  }
  
  .intro-text {
  font-size: 14px;
  margin-bottom: 20px;
  }
  
  .prompt-block {
  margin-bottom: 20px;
  }
  
  .prompt-block h3 {
  font-size: 16px;
  margin-bottom: 10px;
  }
  
  .prompt-box {
  padding: 12px;
  border-radius: 8px;
  align-items: flex-end;
  }
  
  .prompt-content {
  font-size: 13px;
  }
  
  /* Read Also */
  #read-also {
    padding: 20px 0 40px;
  }
  
  .read-also-wrapper {
  padding: 15px;
  border-radius: 8px;
  }
  
  .read-also-header {
  margin-bottom: 20px;
  }
  
  .read-also-header h2 {
  font-size: 18px;
  }
  
  .card-image {
  height: 200px;
  }
  
  .card-content {
  padding: 12px;
  }
  
  .card-content h3 {
  font-size: 15px;
  }
  
  .card-content p {
  font-size: 12px;
  }
  
  .card-meta {
  font-size: 11px;
  }
  
  .meta-item img {
  width: 12px;
  height: 12px;
  }
  
  .show-more-link {
  padding: 10px 25px;
  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;
  }
  
  .btn-primary {
  padding: 8px 16px;
  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-header {
  padding: 14px;
  }
  
  .article-header h1 {
  font-size: 16px;
  }
  
  .main-image-wrapper {
  height: 240px;
  padding: 10px;
  }
  
  .slider-controls {
  bottom: 130px;
  left: 15px;
  right: 15px;
  }
  
  .control-btn {
  width: 20px;
  height: 20px;
  }
  
  .dot {
  width: 20px;
  height: 5px;
  }
  
  .article-text-content {
  padding: 12px;
  }
  
  .intro-text {
  font-size: 13px;
  }
  
  .prompt-block h3 {
  font-size: 15px;
  }
  
  .prompt-content {
  font-size: 12px;
  }
  
  .card-image {
  height: 180px;
  }
  
  .card-content h3 {
  font-size: 14px;
  }
  
  .footer-logo {
  width: 130px;
  }
  }
  
  /* Print Styles */
  @media print {
  .site-header,
  #top-banner,
  #read-also,
  .header-actions,
  .show-more-container {
  display: none !important;
  }
  
  .promt-layout {
  display: block;
  }
  
  .card {
  box-shadow: none;
  border: 1px solid #ccc;
  }
  
  body {
  background-color: #ffffff;
  }
  }
  
  /* High Contrast Mode Support */
  @media (prefers-contrast: high) {
  .btn-primary,
  .tag,
  .show-more-link {
  border: 2px solid #ffffff;
  }
  
  .card,
  .article-header,
  .article-body {
  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;
  }
  }
  
  /* Стрелки по центру вертикально */
  .slider-arrows {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  padding: 30px;
  }
  
  .slider-arrows .arrow-box {
  pointer-events: auto;
  }
  
  /* Точки внизу */
  .slider-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  pointer-events: auto;
  }
  
  .dot {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  }
  
  .dot.active {
  background: #007bff;
  transform: scale(1.2);
  }
  
  .arrow-box {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: background 0.3s, transform 0.2s;
  }
  
  @media (max-width: 480px) {
  .slider-arrows {
  padding: 15px;
  }
  }
  
  .article-body,
  .prompt-content,
  .card-content {
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
  }
  
  .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;
  }
  
  /* === КНОПКА НАВЕРХ === */
  .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: 20px;
  width: 45px;
  height: 45px;
  }
  
  .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;
  }

  .layout-grid {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 20px;
    align-items: start;
  
    }
    
    .promt-main-column {
    width: 100%;
    min-width: 0;
    }
    
    .sidebar {
      width: 277px;
      flex-shrink: 0;
      position: -webkit-sticky;
      position: sticky;
      top: 90px;
      height: fit-content;
      align-self: flex-start;
  }
    
    @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%;
        max-width: 100%;
        flex: none;
        margin-top: 20px;
    }
}
@media (max-width: 1024px) {
  .sidebar {
      width: 100%;
      
      margin: 0 auto;
  }
}

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

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

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




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

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #9ca3af;
  font-size: 14px;
  margin-bottom: 16px;
  flex-wrap: nowrap;
  overflow: hidden;
}

.breadcrumb-current {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 400px;
  flex-shrink: 1;
  min-width: 0;
}

.crumb-arrow {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
  .breadcrumb-current {
      max-width: 200px;
  }
}

@media (max-width: 480px) {
  .breadcrumb-current {
      max-width: 150px;
      font-size: 12px;
  }
  
  .breadcrumbs {
      gap: 5px;
  }
  
  .crumb-arrow {
      width: 14px;
      height: 14px;
  }
}


@media (max-width: 480px) {
  .breadcrumbs a {
 
      font-size: 12px;
      white-space: nowrap;
 
     
  }
}

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

  h2 {
    font-size: 24px;
  }

  h3 {
    font-size: 17px;
  }


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

  li {
    font-size: 14px;
  }
}


@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-avatar img{
  width: 46px;
  height: 46px;
  border-radius: 50%;
  }

  /* Мобильная версия для автора */
@media (max-width: 768px) {
  .author {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
      width: 100%;
  }
  
  .author-avatar {
      flex-shrink: 0;
      min-width: 40px;
  }
  
  .author-avatar img {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      object-fit: cover;
      display: block;
  }
  
  .author-name {
      flex: 1;
      min-width: 0;
      word-wrap: break-word;
      overflow-wrap: break-word;
  }
  
  .author-name b,
  .author-name a {
      white-space: normal;
      word-break: break-word;
  }
  
  .author-time {
      white-space: nowrap;
      flex-shrink: 0;
  }
  
  .meta-info {
      flex-wrap: wrap;
      gap: 10px;
  }
  
  .meta-row {
      flex-wrap: wrap;
  }
}


@media (max-width: 480px) {
  .author {
      gap: 8px;
  }
  
  .author-avatar img {
      width: 32px;
      height: 32px;
  }
  
  .author-name {
      width: 100%;
      order: 1;
  }
  

}


@media (max-width: 768px) {
  .prompt-box {
      position: relative;
      flex-direction: column;
  }
  
  .copy-icon {
      position: absolute;
      top: 15px;
      right: 15px;
      width: 20px;
      height: 20px;
      opacity: 0.6;
      z-index: 10;
  }
  
  .prompt-content {
      padding-right: 40px; 
  }
}


@media (max-width: 480px) {
  .copy-icon {
  
      right: 10px;
  
  }
  
  .prompt-content {
      padding-right: 35px;
  }
}



    .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;
        font-weight: 300 !important;
    }
    
    .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;
    }

    .mobile-nav-list a {
      text-decoration: none;
      color: inherit;
    }

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


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

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

    .sidebar {
      padding:  0 15px;
    }
  

  }


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