/*
// ===========================
// Animation slideInUp
// ===========================
*/
@keyframes slideInUp {
  from {
  transform: translate3d(0, 100%, 0);
  opacity: 0;
  visibility: visible;
  }
  to {
  transform: translate3d(0, 0, 0);
  opacity: 1;
  }
}

.animated {
  opacity: 0;
  transition: opacity 0.4s ease-out;
}

.animated.slideInUp {
  animation: slideInUp 0.8s ease forwards;
  opacity: 1;
}

/*
// ===========================
// line-clamp
// ===========================
*/
.line-clamp-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/*
// ===========================
// Banner Block Styles
// ===========================
*/
/* .phearum-banner {
  background-color: #9A480E;
}
@media (max-width: 768px) {
  .phearum-banner .phearum-banner-media {
  display: none;
  }
}
.phearum-banner .phearum-banner-overlay {
  background-color: #333;
  opacity: 0.1;
  transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
} */

/*
// ===========================
// Single Heading Title Style
// ===========================
*/
.wp-block-heading {
  font-family: var(--font-mono);
}
.widget .wp-block-heading {
  font-family: var(--font-heading);
}
.section-heading-title,
.banner-heading-title,
.banner-sub-heading-title {
  font-family: var(--font-heading);
}
.entry-header .page-title,
.wp-block-heading.has-text-align-center {
  font-family: var(--font-heading);
}

/* Accessibility */
.phearum-block-slider-prev:focus,
.phearum-block-slider-next:focus,
.phearum-block-slider-dots:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
  background-color: inherit;
}

/* Featured Badge */
.featured-badge {
  width: 2rem;
  height: 2rem;
  margin: 2px;
  background: linear-gradient(135deg, hsl(var(--color-primary)), hsl(var(--color-secondary)));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(251, 191, 36, 0.3);
  animation: gentle-pulse 2s infinite;
}

.featured-icon {
  width: 1rem;
  height: 1rem;
  color: white;
}

@keyframes gentle-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Buttons */
.wp-block-buttons .default-primary-button {
  margin: 1rem 0;
}
.wp-block-buttons .default-primary-button .wp-block-button__link {
  background-color: hsl(var(--color-secondary));
  border-radius: 0.5rem;
  padding: 1rem 2rem;
}
.wp-block-buttons .default-primary-button .wp-block-button__link:hover {
  background-color: hsl(var(--color-secondary)/0.9);
}
