.blog-card {
  border: 1px solid #f1f5f9;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(209, 44, 114, 0.1);
}

.blog-card h5 {
  transition: color 0.2s ease;
}

.blog-card:hover h5 {
  color: var(--accent) !important;
}

/* Поиск и фильтры */
.blog-card .form-control:focus,
.blog-card .form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(209, 44, 114, 0.1);
}

.input-group-text {
  border-color: #e2e8f0;
}

/* Страница статьи */
.article-content {
  line-height: 1.8;
  font-size: 1.05rem;
}

.article-content p {
  margin-bottom: 1.2rem;
}

.article-content ul, 
.article-content ol {
  margin-bottom: 1.2rem;
  padding-left: 1.5rem;
}

.article-content li {
  margin-bottom: 0.5rem;
}

.article-content h2, 
.article-content h3, 
.article-content h4 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 1.5rem 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.article-content blockquote,
.article-quote {
  border-left: 4px solid var(--accent);
  padding-left: 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: #64748b;
  background: #fdf2f8;
  padding: 1.5rem;
  border-radius: 0 12px 12px 0;
}

.article-quote footer {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  font-style: normal;
  color: #94a3b8;
}

/* Карусель в статье */
.article-content .carousel {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.article-content .carousel-control-prev,
.article-content .carousel-control-next {
  width: 50px;
  height: 50px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  opacity: 0.8;
}

.article-content .carousel-control-prev { left: 10px; }
.article-content .carousel-control-next { right: 10px; }

.article-content .carousel-control-prev-icon,
.article-content .carousel-control-next-icon {
  filter: invert(1) grayscale(100);
}

.article-content .carousel-indicators {
  bottom: 15px;
}

.article-content .carousel-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 0 4px;
}

/* Details/Раскрывашка */
.article-content details {
  background: #f8fafc;
  border-radius: 12px;
  padding: 1rem 1.5rem;
  border: 1px solid #e2e8f0;
}

.article-content details[open] {
  background: #fff;
}

.article-content summary {
  user-select: none;
}

.article-content summary::-webkit-details-marker {
  display: none;
}

.article-content summary::before {
  content: '▶ ';
  font-size: 0.8em;
  color: var(--accent);
}

.article-content details[open] summary::before {
  content: '▼ ';
}

/* Видео */
.article-content .ratio {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Figure с изображением */
.article-content figure {
  margin: 1.5rem 0;
}

.article-content figcaption {
  text-align: center;
}

.article-content code {
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}

.article-content pre {
  background: #1e293b;
  color: #e2e8f0;
  padding: 1rem;
  border-radius: 8px;
  overflow-x: auto;
}

.article-content pre code {
  background: none;
  padding: 0;
}

.article-meta {
  color: #6c757d;
  font-size: 0.9rem;
}
