/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS files
 * in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *
 *= require_tree .
 *= require_self
 */

@font-face {
  font-family: "Nunito Regular";
  font-weight: 400;
  src: url("/assets/Nunito-Regular-0bf871d1.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Nunito Light";
  font-weight: 300;
  src: url("/assets/Nunito-Light-82ada290.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Nunito SemiBold";
  font-weight: 600;
  src: url("/assets/Nunito-SemiBold-b5d5b97d.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Nunito Bold";
  font-weight: 700;
  src: url("/assets/Nunito-Bold-5c212198.woff2") format("woff2");
  font-display: swap;
}

/* Стили для блога */
.blog-content {
  color: #374151;
  line-height: 1.7;
}

.blog-content h1 {
  font-size: 2.25rem;
  font-weight: 700;
  color: #111827;
  margin-top: 2rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.blog-content h2 {
  font-size: 1.875rem;
  font-weight: 600;
  color: #111827;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
  border-bottom: 2px solid #e5e7eb;
  padding-bottom: 0.5rem;
}

.blog-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #111827;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.blog-content h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.blog-content p {
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.blog-content ul {
  margin-top: 1rem;
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
  list-style-type: disc;
}

.blog-content ul li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
  position: relative;
}

.blog-content ul li::marker {
  color: #3b82f6;
  font-weight: 600;
}

.blog-content ol {
  margin-top: 1rem;
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
  list-style-type: decimal;
}

.blog-content ol li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
  position: relative;
}

.blog-content ol li::marker {
  color: #3b82f6;
  font-weight: 600;
}

.blog-content blockquote {
  border-left: 4px solid #3b82f6;
  padding-left: 1rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: #6b7280;
  background-color: #f9fafb;
  padding: 1rem 1.5rem;
  border-radius: 0.375rem;
}

.blog-content code {
  background-color: #f3f4f6;
  padding: 0.125rem 0.25rem;
  border-radius: 0.25rem;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  font-size: 0.875em;
  color: #dc2626;
}

.blog-content pre {
  background-color: #1f2937;
  color: #f9fafb;
  padding: 1rem;
  border-radius: 0.5rem;
  overflow-x: auto;
  margin: 1.5rem 0;
}

.blog-content pre code {
  background-color: transparent;
  padding: 0;
  color: inherit;
}

.blog-content a {
  color: #3b82f6;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.blog-content a:hover {
  color: #1d4ed8;
  text-decoration-thickness: 2px;
}

.blog-content strong {
  font-weight: 600;
  color: #111827;
}

.blog-content em {
  font-style: italic;
  color: #6b7280;
}

.blog-content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin: 1.5rem 0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.blog-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.blog-content th {
  background-color: #f9fafb;
  padding: 0.75rem;
  text-align: left;
  font-weight: 600;
  color: #111827;
  border-bottom: 1px solid #e5e7eb;
}

.blog-content td {
  padding: 0.75rem;
  border-bottom: 1px solid #e5e7eb;
}

.blog-content tr:hover {
  background-color: #f9fafb;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  .blog-content h1 {
    font-size: 1.875rem;
  }
  
  .blog-content h2 {
    font-size: 1.5rem;
  }
  
  .blog-content h3 {
    font-size: 1.25rem;
  }
  
  .blog-content h4 {
    font-size: 1.125rem;
  }
  
  .blog-content ul,
  .blog-content ol {
    padding-left: 1.25rem;
  }
} 