
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
}

.header-spacer {
  height: 120px;
}

@media (max-width: 1024px) {
  .header-spacer {
    height: 80px;
  }
}


/* Menu header  */

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-slide-in {
  animation: fadeSlideIn 0.5s ease forwards;
}


/* taxonomy культур + вредители  */
  .culture-full-description.expanded {
    max-height: 2000px;
    opacity: 1;
    margin-top: 0;
  }
  

  .pest-full-description.expanded {
    max-height: 2000px;
    opacity: 1;
    margin-top: 0;
  }

  .line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }


.has-submenu.dropdown-open > ul {
  opacity: 1 !important;
  visibility: visible !important;
  transform: scale(1) translate(0, 0) !important;
}


/* FAQ STYLE  */
.faq-item.active .faq-accent {
  height: 100%;
}
.faq-item.active .faq-arrow {
transform: rotate(180deg);
}
.faq-item.active .faq-hint {
  opacity: 0;
}
.faq-item:hover .faq-toggle > div:first-child > div {
  transform: scale(1.1) rotate(10deg);
}

.prose-green a {
  color: #059669;
}
.prose-green a:hover {
  color: #047857;
}
.prose-green ul {
  list-style-type: none;
  padding-left: 0;
}
.prose-green ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}
.prose-green ul li:before {
  content: "🌿";
  position: absolute;
  left: 0;
  font-size: 0.875rem;
}



/* gallery  */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeIn {
  animation: fadeIn 0.6s ease-out forwards;
}


/* breadcrumbs  */

.rank-math-breadcrumb {
  font-size: 14px;
  line-height: 1.6;
}


.rank-math-breadcrumb p {
  display: block;
  flex-wrap: wrap;
  gap: 6px;
}


.rank-math-breadcrumb a {
  color: #059669;
  font-weight: 600;
}

.rank-math-breadcrumb a:hover {
  text-decoration: underline;
}


.rank-math-breadcrumb span:last-child {
  color: #111827;
  font-weight: 600;
  word-break: break-word;
}

.rank-math-breadcrumb span:last-child {
    max-width: 300px;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: bottom;
} 