/*
Theme Name: Ava News Portal
Theme URI: https://vidab.ir/ava-news
Author: ویدا ارتباط بهتاش
Author URI: https://vidab.ir
Description: پوسته خبری، تحلیلی و رسانه‌ای مدرن با چیدمان شبکه‌ای، نوار استوری زنده، تابلو هوشمند ارز و طلا، اوقات شرعی، پخش‌کننده پادکست، موقعیت‌های ابزارک نامحدود و کاملاً راست‌چین (RTL).
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ava-news
Tags: news, grid-layout, rtl-language-support, dark-mode, custom-header, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* Local Vazirmatn Font (100% Offline, Fast & Zero External Requests) */
@font-face {
  font-family: 'Vazirmatn';
  src: url('assets/fonts/vazirmatn/Vazirmatn-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('assets/fonts/vazirmatn/Vazirmatn-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('assets/fonts/vazirmatn/Vazirmatn-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('assets/fonts/vazirmatn/Vazirmatn-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('assets/fonts/vazirmatn/Vazirmatn-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('assets/fonts/vazirmatn/Vazirmatn-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('assets/fonts/vazirmatn/Vazirmatn-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}


:root {
  --font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --color-primary: #1d4ed8;
  --color-primary-dark: #1e40af;
  --color-bg-light: #f8fafc;
  --color-bg-dark: #020617;
}

html {
  direction: rtl;
  font-family: var(--font-family);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--color-bg-light);
  color: #0f172a;
  font-family: var(--font-family);
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s ease, color 0.3s ease;
}

html.dark body, body.dark, .dark {
  background-color: var(--color-bg-dark);
  color: #f1f5f9;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #94a3b8;
  border-radius: 9999px;
}

html.dark body, body.dark, .dark ::-webkit-scrollbar-thumb {
  background: #334155;
}

/* Scrollbar Hidden Utility */
.scrollbar-none {
  -ms-overflow-style: none !important;
  scrollbar-width: none !important;
}

.scrollbar-none::-webkit-scrollbar {
  display: none !important;
}

/* Aspect Ratio Utilities */
.aspect-4\/3 {
  aspect-ratio: 4 / 3 !important;
}

.aspect-\[9\/16\] {
  aspect-ratio: 9 / 16 !important;
}

/* Modals & Drawers Visibility Safeguards */
#mobile-nav-drawer.hidden,
#bookmarks-drawer.hidden,
#quick-article-modal.hidden,
#radio-modal.hidden,
#story-viewer-modal.hidden,
#submit-news-modal.hidden,
#gallery-lightbox-modal.hidden {
  display: none !important;
  pointer-events: none !important;
}

#mobile-nav-drawer:not(.hidden) {
  display: block !important;
  pointer-events: auto !important;
}

#bookmarks-drawer:not(.hidden),
#quick-article-modal:not(.hidden),
#radio-modal:not(.hidden),
#story-viewer-modal:not(.hidden),
#submit-news-modal:not(.hidden),
#gallery-lightbox-modal:not(.hidden) {
  display: flex !important;
  pointer-events: auto !important;
}

/* Mobile Drawer RTL Smooth Sliding */
#mobile-nav-drawer {
  touch-action: pan-y;
}

#mobile-drawer-panel {
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#mobile-drawer-panel.translate-x-0 {
  transform: translateX(0) !important;
}

#mobile-drawer-panel.translate-x-full {
  transform: translateX(100%) !important;
}

/* Mega Menu Submenu Smooth Fade */
nav .group:hover>.sub-menu {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0);
}

nav .sub-menu {
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

/* Mobile Safe Areas for PWA */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  #mobile-bottom-nav {
    padding-bottom: calc(0.375rem + env(safe-area-inset-bottom));
  }
}

/* Story Viewer Modal Custom Enhancements */
#story-viewer-modal {
  touch-action: manipulation;
}

#story-viewer-canvas {
  max-width: 420px;
  height: min(92vh, 760px);
}

@media (max-width: 640px) {
  #story-viewer-canvas {
    max-width: 100vw;
    height: 100vh;
    border-radius: 0 !important;
  }
}

/* Footer Robust Grid & Layout Support */
#colophon {
  background-color: #0f172a !important;
  color: #cbd5e1 !important;
}

#colophon a {
  text-decoration: none;
}

@media (min-width: 1024px) {
  #colophon .lg\:grid-cols-12 {
    display: grid !important;
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
  }

  #colophon .lg\:col-span-5 {
    grid-column: span 5 / span 5 !important;
  }

  #colophon .lg\:col-span-3 {
    grid-column: span 3 / span 3 !important;
  }

  #colophon .lg\:col-span-4 {
    grid-column: span 4 / span 4 !important;
  }
}

/* ==========================================================================
   WordPress Widgets Styling (Theme Standard)
   ========================================================================== */
.widget {
  direction: rtl;
  text-align: right;
  font-family: var(--font-family);
  margin-bottom: 1.5rem;
}

.widget .widget-title,
.widget h2.widgettitle,
.widget h3.widgettitle {
  font-size: 0.95rem;
  font-weight: 900;
  color: #0f172a;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

html.dark body, body.dark, .dark .widget .widget-title,
html.dark body, body.dark, .dark .widget h2.widgettitle,
html.dark body, body.dark, .dark .widget h3.widgettitle {
  color: #f8fafc;
  border-color: #1e293b;
}

.widget ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.widget ul li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.82rem;
  line-height: 1.6;
  color: #334155;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s ease;
}

html.dark body, body.dark, .dark .widget ul li {
  border-color: #1e293b;
  color: #94a3b8;
}

.widget ul li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.widget ul li a {
  color: inherit;
  text-decoration: none;
  flex: 1;
  transition: color 0.2s ease, transform 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

.widget ul li a::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #3b82f6;
  flex-shrink: 0;
}

.widget ul li a:hover {
  color: #1d4ed8;
  transform: translateX(-4px);
}

html.dark body, body.dark, .dark .widget ul li a:hover {
  color: #60a5fa;
}

/* Category & Archive Count Badges */
.widget_categories li,
.widget_archive li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
}

/* Search Widget Form */
.widget_search form,
.wp-block-search {
  position: relative;
  width: 100%;
}

.widget_search .search-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.widget_search label,
.wp-block-search__label {
  display: block;
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: #1e293b;
}

html.dark body, body.dark, .dark .widget_search label,
html.dark body, body.dark, .dark .wp-block-search__label {
  color: #f1f5f9;
}

.widget_search .search-field,
.wp-block-search__input {
  width: 100%;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 0.65rem 1rem;
  font-size: 0.82rem;
  font-family: inherit;
  color: #0f172a;
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

html.dark body, body.dark, .dark .widget_search .search-field,
html.dark body, body.dark, .dark .wp-block-search__input {
  background-color: #1e293b;
  border-color: #334155;
  color: #f8fafc;
}

.widget_search .search-field:focus,
.wp-block-search__input:focus {
  border-color: #2563eb;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

html.dark body, body.dark, .dark .widget_search .search-field:focus,
html.dark body, body.dark, .dark .wp-block-search__input:focus {
  background-color: #0f172a;
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.2);
}

.widget_search .search-submit,
.wp-block-search__button {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  color: #ffffff;
  border: none;
  border-radius: 1rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.82rem;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
}

.widget_search .search-submit:hover,
.wp-block-search__button:hover {
  background: linear-gradient(135deg, #1e40af, #1d4ed8);
  transform: translateY(-1px);
}

/* Tag Cloud Widget */
.widget_tag_cloud .tagcloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.widget_tag_cloud .tagcloud a {
  display: inline-block;
  background-color: #f1f5f9;
  color: #334155;
  font-size: 0.75rem !important;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  text-decoration: none;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
}

html.dark body, body.dark, .dark .widget_tag_cloud .tagcloud a {
  background-color: #1e293b;
  color: #cbd5e1;
  border-color: #334155;
}

.widget_tag_cloud .tagcloud a:hover {
  background-color: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
  transform: scale(1.05);
}

/* ==========================================================================
   Mobile Native App Experience (نوار ابزار چسبان اپلیکیشن موبایل و مخفی‌سازی منو)
   ========================================================================== */

/* 1. Strict mobile suppression of Desktop Main Navigation Bar */
@media (max-width: 767px) {
  #site-navigation,
  .site-navigation,
  header.site-header > nav,
  header > nav {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }
}

/* 2. Mobile Sticky App Bar Hardware-Accelerated Smooth Transitions & Solid Stacking */
#mobile-sticky-app-bar {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 9990 !important;
  background-color: #ffffff !important;
  border-bottom: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08) !important;
  will-change: transform, opacity;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.24s ease-out;
}

html.dark body, body.dark, .dark #mobile-sticky-app-bar,
.dark #mobile-sticky-app-bar {
  background-color: #0b1329 !important;
  border-bottom: 1px solid #1e293b !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5) !important;
}

#mobile-bottom-nav {
  z-index: 9990 !important;
  background-color: #ffffff !important;
}

html.dark body, body.dark, .dark #mobile-bottom-nav,
.dark #mobile-bottom-nav {
  background-color: #0b1329 !important;
}

/* Overlays, Drawers and Modals must sit above sticky bars */
#mobile-nav-drawer,
#mobile-search-overlay,
#submit-news-modal,
#radio-modal,
#story-viewer-modal,
#quick-article-modal,
#bookmarks-drawer {
  z-index: 100000 !important;
}

@media (min-width: 768px) {
  #mobile-sticky-app-bar,
  #mobile-search-overlay {
    display: none !important;
    pointer-events: none !important;
  }
}

/* =============================================================
   Newspaper Kiosk (پیش‌خوان روزنامه‌ها - اسلایدر و زوم)
   ============================================================= */
.kiosk-top-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.kiosk-select {
  flex: 1;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 8px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: #f8fafc;
  outline: none;
  cursor: pointer;
  color: #1e293b;
  transition: all 0.2s ease;
}

.kiosk-select:focus {
  border-color: #2563eb;
  background: #ffffff;
}

.kiosk-nav-arrows {
  display: flex;
  gap: 3px;
}

.btn-kiosk-arrow {
  width: 26px;
  height: 26px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  color: #334155;
  transition: all 0.2s ease;
}

.btn-kiosk-arrow:hover {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}

.widget-newspaper {
  overflow: hidden;
  box-sizing: border-box;
}

.newspaper-preview-box {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  padding: 8px;
  text-align: center;
  max-width: 290px;
  margin: 0 auto;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.newspaper-img-wrapper {
  position: relative;
  overflow: hidden;
  background: transparent;
  width: 100%;
  max-width: 240px;
  height: 310px;
  margin: 0 auto;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.kiosk-lightbox-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-decoration: none;
  overflow: hidden;
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

.newspaper-img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  margin: 0 auto;
  display: block;
  border-radius: 8px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.kiosk-lightbox-trigger:hover .newspaper-img {
  transform: scale(1.02);
}

.kiosk-zoom-overlay {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
  opacity: 0;
  transform: translateY(4px);
  transition: all 0.2s ease;
  pointer-events: none;
}

.kiosk-lightbox-trigger:hover .kiosk-zoom-overlay {
  opacity: 1;
  transform: translateY(0);
}

.newspaper-caption {
  padding: 8px 4px 2px 4px;
  background: transparent;
  border-top: 1px solid #f1f5f9;
  margin-top: 6px;
}

.caption-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
}

.paper-name {
  font-weight: 800;
  color: #1d4ed8;
  font-size: 12.5px;
}

.paper-date {
  color: #64748b;
  font-size: 9.5px;
  font-weight: 600;
}

.newspaper-headline-bar {
  margin-top: 4px;
  padding-top: 4px;
  border-top: 1px dashed #e2e8f0;
}

.headline-label {
  display: inline-block;
  font-size: 9px;
  font-weight: 800;
  color: #dc2626;
  margin-bottom: 1px;
}

.headline-text {
  margin: 0;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
  color: #1e293b;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.newspaper-thumbs-strip {
  display: flex;
  gap: 4px;
  margin-top: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
  max-width: 100%;
}

.np-thumb-btn {
  border: 1.5px solid #e2e8f0;
  border-radius: 6px;
  background: #ffffff;
  padding: 2px;
  cursor: pointer;
  width: 38px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.2s ease;
}

.np-thumb-btn:hover {
  border-color: #94a3b8;
  transform: translateY(-1px);
}

.np-thumb-btn.active {
  border-color: #2563eb;
  background: #eff6ff;
  box-shadow: 0 0 0 1.5px rgba(37, 99, 235, 0.2);
}

.np-thumb-btn img {
  width: 100%;
  height: 28px;
  object-fit: cover;
  border-radius: 4px;
}

.np-thumb-btn small {
  font-size: 7.5px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  text-align: center;
  margin-top: 1px;
  color: #334155;
}

/* In-Theme Fullscreen Newspaper Lightbox Modal */
.tabnak-np-modal {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 999999 !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 12px !important;
  box-sizing: border-box !important;
}

.tabnak-np-modal.active,
.tabnak-np-modal.is-open {
  display: flex !important;
}

.np-modal-backdrop {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
}

.np-modal-dialog {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
  z-index: 2;
  overflow: hidden;
  margin: auto;
  animation: npModalFadeIn 0.25s ease;
}

@keyframes npModalFadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.np-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  flex-shrink: 0;
}

.np-modal-title {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  color: #1e3a8a;
}

.np-modal-date {
  font-size: 10.5px;
  color: #64748b;
  margin-right: 8px;
}

.np-modal-close {
  background: #ef4444;
  color: #ffffff;
  border: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.np-modal-close:hover {
  background: #dc2626;
}

.np-modal-body {
  padding: 8px;
  overflow-y: auto;
  text-align: center;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.np-modal-body img {
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: 76vh;
  object-fit: contain;
  border-radius: 8px;
  display: block;
}

/* Dark Mode Support */
html.dark body, body.dark, .dark .kiosk-select,
.dark .kiosk-select {
  background: #1e293b;
  border-color: #334155;
  color: #f1f5f9;
}
html.dark body, body.dark, .dark .kiosk-select:focus,
.dark .kiosk-select:focus {
  border-color: #3b82f6;
  background: #0f172a;
}
html.dark body, body.dark, .dark .btn-kiosk-arrow,
.dark .btn-kiosk-arrow {
  background: #1e293b;
  border-color: #334155;
  color: #cbd5e1;
}
html.dark body, body.dark, .dark .btn-kiosk-arrow:hover,
.dark .btn-kiosk-arrow:hover {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}
html.dark body, body.dark, .dark .newspaper-preview-box,
.dark .newspaper-preview-box {
  background: #0f172a;
  border-color: #1e293b;
}
html.dark body, body.dark, .dark .newspaper-caption,
.dark .newspaper-caption {
  border-top-color: #1e293b;
}
html.dark body, body.dark, .dark .paper-name,
.dark .paper-name {
  color: #60a5fa;
}
html.dark body, body.dark, .dark .headline-text,
.dark .headline-text {
  color: #f1f5f9;
}
html.dark body, body.dark, .dark .newspaper-headline-bar,
.dark .newspaper-headline-bar {
  border-top-color: #334155;
}
html.dark body, body.dark, .dark .np-thumb-btn,
.dark .np-thumb-btn {
  background: #1e293b;
  border-color: #334155;
}
html.dark body, body.dark, .dark .np-thumb-btn:hover,
.dark .np-thumb-btn:hover {
  border-color: #64748b;
}
html.dark body, body.dark, .dark .np-thumb-btn.active,
.dark .np-thumb-btn.active {
  background: #1e3a8a;
  border-color: #3b82f6;
  box-shadow: 0 0 0 1.5px rgba(59, 130, 246, 0.4);
}
html.dark body, body.dark, .dark .np-thumb-btn small,
.dark .np-thumb-btn small {
  color: #cbd5e1;
}
html.dark body, body.dark, .dark .np-modal-dialog,
.dark .np-modal-dialog {
  background: #0f172a;
}
html.dark body, body.dark, .dark .np-modal-header,
.dark .np-modal-header {
  background: #1e293b;
  border-bottom-color: #334155;
}
html.dark body, body.dark, .dark .np-modal-title,
.dark .np-modal-title {
  color: #60a5fa;
}
html.dark body, body.dark, .dark .np-modal-body,
.dark .np-modal-body {
  background: #020617;
}

/* Audio Report Waveform Bar Animations */
@keyframes audioWavePulse {
  0%, 100% { height: 4px; }
  50% { height: 20px; }
}
.wave-active .wave-bar-1 { animation: audioWavePulse 0.8s ease-in-out infinite; }
.wave-active .wave-bar-2 { animation: audioWavePulse 0.6s ease-in-out infinite 0.15s; }
.wave-active .wave-bar-3 { animation: audioWavePulse 0.9s ease-in-out infinite 0.3s; }
.wave-active .wave-bar-4 { animation: audioWavePulse 0.7s ease-in-out infinite 0.1s; }
.wave-active .wave-bar-5 { animation: audioWavePulse 0.85s ease-in-out infinite 0.25s; }