/* ============================================
   dzendog.ru — Custom Styles (Tailwind supplement)
   ============================================ */

/* Material Symbols */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  display: inline-block;
  vertical-align: middle;
}

/* Smooth scroll */
html { scroll-behavior: smooth; }

/* Zen gradient overlay */
.zen-gradient {
  background: linear-gradient(180deg, rgba(247, 250, 251, 0) 0%, rgba(247, 250, 251, 1) 100%);
}

/* Card hover lift */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.06);
}

/* Article content styling for rich text */
.article-content h2 {
  font-family: 'Source Serif 4', serif;
  font-size: 24px;
  font-weight: 500;
  color: #1a3a2e;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}
.article-content h2:first-child { margin-top: 0; }

.article-content h3 {
  font-family: 'Source Serif 4', serif;
  font-size: 20px;
  font-weight: 500;
  color: #2c2c2c;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.article-content p {
  margin-bottom: 1rem;
  line-height: 1.7;
  color: #2c2c2c;
}

.article-content ul,
.article-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  color: #2c2c2c;
}

.article-content li { margin-bottom: 0.375rem; }

.article-content blockquote {
  border-left: 3px solid #d4a574;
  padding: 1rem 1.25rem;
  background: #f1f4f5;
  margin: 1.5rem 0;
  border-radius: 0 0.5rem 0.5rem 0;
  font-style: italic;
  color: #5a5a5a;
}

.article-content .info-box {
  background: #e8f0e3;
  border: 1px solid #d0e0c8;
  padding: 1.25rem;
  border-radius: 0.5rem;
  margin: 1.5rem 0;
}

.article-content .info-box strong {
  color: #4c6151;
}

/* Reading progress bar */
.reading-progress {
  position: fixed;
  top: 72px;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #4c6151, #d4a574);
  z-index: 49;
  transition: width 0.1s linear;
}

/* Article sidebar */
.article-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
}

/* Pull quote */
.pull-quote {
  font-family: 'Source Serif 4', serif;
  font-size: 1.5rem;
  line-height: 1.4;
  color: #4c6151;
  padding: 1.5rem 0;
  margin: 2rem 0;
  border-top: 2px solid #d4a574;
  border-bottom: 2px solid #d4a574;
}

/* Breed card */
.breed-card-image-placeholder {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  background: #f1f4f5;
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp 0.5s ease-out; }

/* Smooth image loading */
img { transition: opacity 0.3s; }
img[loading="lazy"] { opacity: 0; }
img[loading="lazy"].loaded,
img[loading="lazy"]:not([src=""]) { opacity: 1; }

/* Breadcrumbs */
.breadcrumbs a { color: #6b6b6b; }
.breadcrumbs a:hover { color: #4c6151; }

/* ============================================
   EXPERT CONTENT v2.0 — Фаза 1
   ============================================ */

/* Expert info box */
.info-box--expert {
  background: linear-gradient(135deg, #f0f7f4 0%, #e8f0e3 100%);
  border-left: 4px solid #4c6151;
  padding: 1.25rem 1.5rem;
  border-radius: 0 0.5rem 0.5rem 0;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

.info-box--expert strong {
  color: #4c6151;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Expert intro */
.expert-intro {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #2c2c2c;
  margin: 1.5rem 0;
}

.expert-intro p {
  margin-bottom: 1rem;
}

.expert-intro strong {
  color: #4c6151;
}

/* Expert lists */
.expert-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.expert-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.expert-list li::before {
  content: '•';
  position: absolute;
  left: 0.5rem;
  color: #4c6151;
  font-weight: bold;
  font-size: 1.2rem;
  line-height: 1.3;
}

/* Expert treatment */
.expert-treatment {
  margin: 1rem 0;
}

.expert-treatment p {
  margin-bottom: 0.75rem;
  padding: 0.75rem 1rem;
  background: #f7fafb;
  border-radius: 0.375rem;
  border-left: 3px solid #d4a574;
}

.expert-treatment strong {
  color: #4c6151;
  display: block;
  margin-bottom: 0.25rem;
}

/* Expert sources */
.expert-sources {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e0e3e4;
}

.expert-sources h3 {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6b6b6b;
  margin-bottom: 0.75rem;
}

.expert-sources ul {
  list-style: none;
  padding: 0;
}

.expert-sources li {
  font-size: 0.85rem;
  color: #6b6b6b;
  margin-bottom: 0.5rem;
  padding-left: 1rem;
  position: relative;
}

.expert-sources li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: #d4a574;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  :root {
    --margin-desktop: 16px;
  }
  
  .expert-intro {
    font-size: 1rem;
  }
  
  .info-box--expert {
    padding: 1rem;
  }
}