/**
 * Field Audio Styles - InstantCMS
 * Includes:
 * 1. Audio player card & HTML5 audio styling
 * 2. Compact animated equalizer (in player header)
 * 3. Large cosmic wave equalizer overlay (over cover image)
 * 4. Glowing Play/Pause button (over cover image)
 */

:root {
    --audio-gold: #dfb15b;
    --audio-gold-light: #ffd787;
    --audio-gold-glow: rgba(223, 177, 91, 0.5);
    --audio-player-bg: #12162a;
    --audio-player-border: rgba(223, 177, 91, 0.35);
    --audio-btn-bg: #dfb15b;
    --audio-btn-color: #0d1124;
}

/* ==========================================================================
   1. Аудиоплеер карточка
   ========================================================================== */
.astro-audio-meta .badge,
.astro-audio-meta .badge-secondary,
.astro-audio-player-card .badge,
.astro-audio-player-card .badge-secondary,
.astro-audio-size-badge {
    background: transparent !important;
    background-color: transparent !important;
    color: #eee !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.02em;
}

.astro-audio-player-card {
    background: var(--audio-player-bg) !important;
    border: 0 !important;
    border-radius: 0;
    padding: 1rem 1.25rem;
    margin: 1.25rem 0;
    transition: all 0.3s ease;
}

.astro-audio-player-card:hover {
    border-color: rgba(223, 177, 91, 0.6) !important;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6), 0 0 25px rgba(223, 177, 91, 0.15) !important;
}

.astro-audio-title {
    color: var(--audio-gold) !important;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.astro-audio-element-wrap {
    margin: 0.75rem 0;
}

.astro-audio-element-wrap audio {
    width: 100%;
    height: 48px;
    border-radius: 30px;
    outline: none;
    color-scheme: dark !important;
    accent-color: var(--audio-gold) !important;
}

.astro-audio-element-wrap audio::-webkit-media-controls-panel {
    background: linear-gradient(135deg, rgba(24, 30, 58, 0.98) 0%, rgba(14, 18, 36, 0.98) 100%) !important;
    border: 1px solid rgba(223, 177, 91, 0.35) !important;
    border-radius: 30px !important;
    color-scheme: dark !important;
    padding: 0 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(223, 177, 91, 0.15) !important;
}

.astro-audio-element-wrap audio::-webkit-media-controls-timeline {
    color-scheme: dark !important;
    margin: 0 10px !important;
    padding: 0 !important;
    height: 6px !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    align-self: center !important;
    cursor: pointer !important;
}

.astro-audio-element-wrap audio::-webkit-media-controls-current-time-display,
.astro-audio-element-wrap audio::-webkit-media-controls-time-remaining-display {
    color: var(--audio-gold) !important;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    text-shadow: 0 0 6px rgba(223, 177, 91, 0.3);
}

.astro-audio-element-wrap audio::-webkit-media-controls-play-button {
    filter: brightness(0) saturate(100%) invert(77%) sepia(52%) saturate(583%) hue-rotate(357deg) brightness(97%) contrast(92%) !important;
    cursor: pointer;
    transition: transform 0.15s ease;
}

.astro-audio-element-wrap audio::-webkit-media-controls-play-button:hover {
    transform: scale(1.1);
}

.astro-audio-element-wrap audio::-webkit-media-controls-volume-slider {
    color-scheme: dark !important;
    cursor: pointer !important;
}

.astro-audio-element-wrap audio::-webkit-media-controls-mute-button {
    filter: brightness(0) saturate(100%) invert(77%) sepia(52%) saturate(583%) hue-rotate(357deg) brightness(97%) contrast(92%) !important;
    cursor: pointer;
    transition: transform 0.15s ease;
}

.astro-audio-element-wrap audio::-webkit-media-controls-mute-button:hover {
    transform: scale(1.1);
}

/* ==========================================================================
   2. Компактный эквалайзер в строке плеера
   ========================================================================== */
.astro-eq-compact {
    display: inline-flex;
    align-items: flex-end;
    gap: 3px;
    height: 22px;
    padding: 0 6px;
    vertical-align: middle;
}

.astro-eq-compact .astro-eq-bar {
    display: inline-block;
    width: 3px;
    height: 4px;
    min-height: 4px;
    border-radius: 2px;
    background: linear-gradient(to top, var(--audio-gold, #dfb15b) 0%, #ffd787 75%, #ffffff 100%);
    box-shadow: 0 0 6px rgba(223, 177, 91, 0.4);
    transition: height 0.25s ease, opacity 0.25s ease;
    opacity: 0.45;
}

.astro-eq-compact.is-playing .astro-eq-bar {
    opacity: 1;
}

.astro-eq-compact.is-paused .astro-eq-bar {
    height: 4px !important;
    opacity: 0.35;
    animation: none !important;
}

.astro-eq-compact.is-playing .bar-1 {
    animation: astroEqB1 0.48s ease-in-out infinite alternate;
}

.astro-eq-compact.is-playing .bar-2 {
    animation: astroEqB2 0.62s ease-in-out infinite alternate;
}

.astro-eq-compact.is-playing .bar-3 {
    animation: astroEqB3 0.38s ease-in-out infinite alternate;
}

.astro-eq-compact.is-playing .bar-4 {
    animation: astroEqB4 0.71s ease-in-out infinite alternate;
}

.astro-eq-compact.is-playing .bar-5 {
    animation: astroEqB5 0.44s ease-in-out infinite alternate;
}

.astro-eq-compact.is-playing .bar-6 {
    animation: astroEqB6 0.58s ease-in-out infinite alternate;
}

.astro-eq-compact.is-playing .bar-7 {
    animation: astroEqB7 0.36s ease-in-out infinite alternate;
}

.astro-eq-compact.is-playing .bar-8 {
    animation: astroEqB8 0.68s ease-in-out infinite alternate;
}

.astro-eq-compact.is-playing .bar-9 {
    animation: astroEqB9 0.52s ease-in-out infinite alternate;
}

.astro-eq-compact.is-playing .bar-10 {
    animation: astroEqB10 0.42s ease-in-out infinite alternate;
}

.astro-eq-compact.is-playing .bar-11 {
    animation: astroEqB11 0.65s ease-in-out infinite alternate;
}

.astro-eq-compact.is-playing .bar-12 {
    animation: astroEqB12 0.46s ease-in-out infinite alternate;
}

.astro-eq-compact.is-playing .bar-13 {
    animation: astroEqB13 0.39s ease-in-out infinite alternate;
}

.astro-eq-compact.is-playing .bar-14 {
    animation: astroEqB14 0.59s ease-in-out infinite alternate;
}

.astro-eq-compact.is-playing .bar-15 {
    animation: astroEqB15 0.45s ease-in-out infinite alternate;
}

.astro-eq-compact.is-playing .bar-16 {
    animation: astroEqB16 0.64s ease-in-out infinite alternate;
}

@keyframes astroEqB1 {
    0% {
        height: 4px;
    }

    100% {
        height: 17px;
    }
}

@keyframes astroEqB2 {
    0% {
        height: 5px;
    }

    100% {
        height: 21px;
    }
}

@keyframes astroEqB3 {
    0% {
        height: 4px;
    }

    100% {
        height: 13px;
    }
}

@keyframes astroEqB4 {
    0% {
        height: 6px;
    }

    100% {
        height: 22px;
    }
}

@keyframes astroEqB5 {
    0% {
        height: 4px;
    }

    100% {
        height: 18px;
    }
}

@keyframes astroEqB6 {
    0% {
        height: 5px;
    }

    100% {
        height: 20px;
    }
}

@keyframes astroEqB7 {
    0% {
        height: 4px;
    }

    100% {
        height: 12px;
    }
}

@keyframes astroEqB8 {
    0% {
        height: 6px;
    }

    100% {
        height: 22px;
    }
}

@keyframes astroEqB9 {
    0% {
        height: 5px;
    }

    100% {
        height: 19px;
    }
}

@keyframes astroEqB10 {
    0% {
        height: 4px;
    }

    100% {
        height: 15px;
    }
}

@keyframes astroEqB11 {
    0% {
        height: 6px;
    }

    100% {
        height: 22px;
    }
}

@keyframes astroEqB12 {
    0% {
        height: 4px;
    }

    100% {
        height: 17px;
    }
}

@keyframes astroEqB13 {
    0% {
        height: 4px;
    }

    100% {
        height: 14px;
    }
}

@keyframes astroEqB14 {
    0% {
        height: 5px;
    }

    100% {
        height: 21px;
    }
}

@keyframes astroEqB15 {
    0% {
        height: 4px;
    }

    100% {
        height: 16px;
    }
}

@keyframes astroEqB16 {
    0% {
        height: 5px;
    }

    100% {
        height: 20px;
    }
}

/* ==========================================================================
   3. Крупный космический эквалайзер над обложкой записи
   ========================================================================== */
.audio-cover-wrap {
    position: relative;
    max-width: 820px;
    margin: 0 auto 1.5rem auto;
    text-align: center;
}

.audio-cover-inner,
.astro-cover-container {
    position: relative !important;
    overflow: hidden !important;
    border-radius: 16px !important;
    display: inline-block !important;
    max-width: 100% !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.65), 0 0 20px rgba(223, 177, 91, 0.15);
    border: 1px solid rgba(223, 177, 91, 0.35);
}

.astro-cosmic-equalizer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    border-radius: inherit;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    transition: opacity 0.5s ease;
}

.astro-cosmic-wave-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Центральное светящееся ядро */
.astro-wave-core {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 235, 170, 0.8) 0%, rgba(223, 177, 91, 0.35) 45%, transparent 70%);
    box-shadow: 0 0 30px rgba(223, 177, 91, 0.7);
    pointer-events: none;
    transition: all 0.4s ease;
    opacity: 0.3;
}

.astro-cosmic-equalizer-overlay.is-playing .astro-wave-core {
    opacity: 0.9;
    animation: astroCorePulse 2.4s ease-in-out infinite alternate;
}

/* Астрологический орбитальный круг */
.astro-zodiac-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 170px;
    height: 170px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px dashed rgba(223, 177, 91, 0.45);
    box-shadow: 0 0 15px rgba(223, 177, 91, 0.15);
    pointer-events: none;
    opacity: 0.25;
    transition: opacity 0.4s ease;
}

.astro-cosmic-equalizer-overlay.is-playing .astro-zodiac-orbit {
    opacity: 0.75;
    animation: astroRotateOrbit 24s linear infinite;
}

/* Астрологические оси / перекрестие */
.astro-zodiac-crosshair {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 210px;
    height: 210px;
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0.15;
    transition: opacity 0.4s ease;
}

.astro-zodiac-crosshair::before,
.astro-zodiac-crosshair::after {
    content: '';
    position: absolute;
    background: linear-gradient(to right, transparent, rgba(223, 177, 91, 0.4) 50%, transparent);
}

.astro-zodiac-crosshair::before {
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    transform: translateY(-50%);
}

.astro-zodiac-crosshair::after {
    left: 50%;
    top: 0;
    width: 1px;
    height: 100%;
    transform: translateX(-50%);
    background: linear-gradient(to bottom, transparent, rgba(223, 177, 91, 0.4) 50%, transparent);
}

.astro-cosmic-equalizer-overlay.is-playing .astro-zodiac-crosshair {
    opacity: 0.55;
    animation: astroRotateOrbitReverse 36s linear infinite;
}

/* Концентрические разливающиеся прозрачные волны из центра */
.astro-wave-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    transform: translate(-50%, -50%) scale(0.2);
    border-radius: 50%;
    border: 2px solid rgba(223, 177, 91, 0.8);
    box-shadow: 0 0 20px rgba(223, 177, 91, 0.5), inset 0 0 15px rgba(223, 177, 91, 0.3);
    background: radial-gradient(circle, transparent 65%, rgba(223, 177, 91, 0.08) 85%, rgba(223, 177, 91, 0.18) 100%);
    pointer-events: none;
    opacity: 0;
}

.astro-cosmic-equalizer-overlay.is-playing .astro-wave-ring.ring-1 {
    animation: astroCosmicRipple 3.6s cubic-bezier(0.2, 0.6, 0.35, 1) infinite;
    animation-delay: 0s;
}

.astro-cosmic-equalizer-overlay.is-playing .astro-wave-ring.ring-2 {
    animation: astroCosmicRipple 3.6s cubic-bezier(0.2, 0.6, 0.35, 1) infinite;
    animation-delay: 0.9s;
}

.astro-cosmic-equalizer-overlay.is-playing .astro-wave-ring.ring-3 {
    animation: astroCosmicRipple 3.6s cubic-bezier(0.2, 0.6, 0.35, 1) infinite;
    animation-delay: 1.8s;
}

.astro-cosmic-equalizer-overlay.is-playing .astro-wave-ring.ring-4 {
    animation: astroCosmicRipple 3.6s cubic-bezier(0.2, 0.6, 0.35, 1) infinite;
    animation-delay: 2.7s;
}

.astro-cosmic-equalizer-overlay.is-paused .astro-wave-ring {
    opacity: 0.12;
    animation-play-state: paused;
}

@keyframes astroCosmicRipple {
    0% {
        transform: translate(-50%, -50%) scale(0.2);
        opacity: 0;
        border-width: 3px;
        border-color: rgba(255, 235, 170, 0.95);
        box-shadow: 0 0 12px rgba(223, 177, 91, 0.8), inset 0 0 10px rgba(223, 177, 91, 0.5);
    }

    18% {
        opacity: 0.85;
    }

    60% {
        border-color: rgba(223, 177, 91, 0.5);
        box-shadow: 0 0 30px rgba(223, 177, 91, 0.4), inset 0 0 20px rgba(223, 177, 91, 0.2);
    }

    100% {
        transform: translate(-50%, -50%) scale(1.65);
        opacity: 0;
        border-width: 1px;
        border-color: rgba(223, 177, 91, 0.05);
        box-shadow: 0 0 50px rgba(223, 177, 91, 0);
    }
}

@keyframes astroCorePulse {
    0% {
        transform: translate(-50%, -50%) scale(0.85);
        box-shadow: 0 0 20px rgba(223, 177, 91, 0.5);
        opacity: 0.7;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.25);
        box-shadow: 0 0 45px rgba(223, 177, 91, 0.9);
        opacity: 1;
    }
}

@keyframes astroRotateOrbit {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes astroRotateOrbitReverse {
    0% {
        transform: translate(-50%, -50%) rotate(360deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
}

/* ==========================================================================
   4. Сияющая кнопка Play/Pause над обложкой записи
   ========================================================================== */
.astro-cover-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: radial-gradient(circle at 35% 35%, rgba(35, 42, 75, 0.75), rgba(12, 16, 35, 0.88));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 2px solid rgba(223, 177, 91, 0.85);
    box-shadow: 0 0 25px rgba(223, 177, 91, 0.45), 0 8px 30px rgba(0, 0, 0, 0.7), inset 0 0 15px rgba(223, 177, 91, 0.25);
    color: var(--audio-gold, #dfb15b);
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1),
        box-shadow 0.3s ease,
        border-color 0.3s ease,
        opacity 0.35s ease,
        visibility 0.35s ease,
        background 0.3s ease;
    outline: none !important;
    padding: 0;
    margin: 0;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

/* Пульсирующее золотое сияние кнопки когда не играет (на паузе или до старта) */
.astro-cover-play-btn.is-paused,
.astro-cover-play-btn:not(.is-playing) {
    opacity: 0.95;
    visibility: visible;
    pointer-events: auto;
    animation: astroCoverPlayGlow 3s infinite ease-in-out;
}

@keyframes astroCoverPlayGlow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(223, 177, 91, 0.4), 0 8px 30px rgba(0, 0, 0, 0.7), inset 0 0 12px rgba(223, 177, 91, 0.2);
        border-color: rgba(223, 177, 91, 0.8);
    }

    50% {
        box-shadow: 0 0 38px rgba(246, 211, 101, 0.75), 0 0 60px rgba(223, 177, 91, 0.35), 0 8px 35px rgba(0, 0, 0, 0.7), inset 0 0 22px rgba(246, 211, 101, 0.4);
        border-color: rgba(255, 235, 170, 1);
    }
}

.astro-cover-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: radial-gradient(circle at 35% 35%, rgba(45, 55, 95, 0.88), rgba(15, 20, 45, 0.94));
    border-color: #ffd875;
    color: #fff2c4;
    box-shadow: 0 0 40px rgba(246, 211, 101, 0.85), 0 0 70px rgba(223, 177, 91, 0.5), inset 0 0 24px rgba(246, 211, 101, 0.5);
}

.astro-cover-play-btn:active {
    transform: translate(-50%, -50%) scale(0.96);
}

.astro-cover-play-btn .astro-btn-icon {
    display: block;
    transition: transform 0.25s ease, filter 0.25s ease;
    filter: drop-shadow(0 0 8px rgba(246, 211, 101, 0.65));
}

.astro-cover-play-btn .icon-play {
    margin-left: 4px;
}

.astro-cover-play-btn.is-paused .icon-play,
.astro-cover-play-btn:not(.is-playing) .icon-play {
    display: block;
}

.astro-cover-play-btn.is-paused .icon-pause,
.astro-cover-play-btn:not(.is-playing) .icon-pause {
    display: none;
}

.astro-cover-play-btn.is-playing .icon-play {
    display: none;
}

.astro-cover-play-btn.is-playing .icon-pause {
    display: block;
}

/* Когда играет - кнопка скрыта по умолчанию и появляется при наведении */
.astro-cover-play-btn.is-playing {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.audio-list-card__image-wrap:hover .astro-cover-play-btn.is-playing,
.audio-cover-inner:hover .astro-cover-play-btn.is-playing,
.audio-cover-wrap:hover .astro-cover-play-btn.is-playing,
.astro-cover-container:hover .astro-cover-play-btn.is-playing,
.astro-cover-play-btn.is-playing:hover {
    opacity: 0.95;
    visibility: visible;
    pointer-events: auto;
}

/* Кнопка на обложке в списке карточек (всегда видна, плавно реагирует) */
.astro-cover-play-btn--list {
    width: 60px;
    height: 60px;
    z-index: 10;
    display: flex !important;
}

.astro-cover-play-btn--list .astro-btn-icon {
    width: 28px;
    height: 28px;
}

.astro-cover-play-btn--list.is-paused,
.astro-cover-play-btn--list:not(.is-playing) {
    opacity: 0.95;
    visibility: visible;
    pointer-events: auto;
    display: flex !important;
}

.astro-cover-play-btn--list.is-playing {
    opacity: 0.8;
    visibility: visible;
    pointer-events: auto;
    display: flex !important;
}

.audio-list-card__image-wrap:hover .astro-cover-play-btn--list.is-playing {
    opacity: 1;
}


/* ==========================================================================
   5. Блок рекомендаций к прослушиванию
   ========================================================================== */
:root {
    --astro-border: rgba(223, 177, 91, 0.35);
    --astro-gold: #dfb15b;
    --astro-gold-light: #ffd787;
    --astro-silver: #d0d8e8;
}

.astro-recommendations-block {
    background: rgba(14, 18, 35, 0.75) !important;
    border: 1px dashed var(--astro-border, rgba(223, 177, 91, 0.35)) !important;
    font-size: 0.92rem;
    color: var(--astro-silver, #d0d8e8);
    border-radius: 12px;
    line-height: 1.55;
}

.astro-recommendations-block .row {
    margin-left: -6px;
    margin-right: -6px;
}

.astro-recommendations-block .row>[class*="col-"] {
    padding-left: 6px;
    padding-right: 6px;
}

.astro-recom-label {
    color: var(--astro-gold, #dfb15b) !important;
    font-weight: 600;
}

.astro-recom-text {
    color: var(--astro-silver, #d0d8e8);
}

.audio-recommendations-form-card {
    background: rgba(223, 177, 91, 0.05);
    border: 1px dashed rgba(223, 177, 91, 0.4) !important;
    border-radius: 10px;
}

.audio-recommendations-form-card textarea {
    font-size: 0.88rem;
    resize: vertical;
}

/* ==========================================================================
   6. Карточка списка (audio_list)
   ========================================================================== */
.audio-list-card {

    background: var(--audio-player-bg, rgba(18, 22, 42, 0.95)) !important;
    border: 1px solid var(--audio-player-border, rgba(223, 177, 91, 0.3)) !important;
    overflow: hidden;
}

.audio-list-card__image-wrap {
    overflow: hidden;
    position: relative;
    display: block;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.audio-list-card__img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    transition: transform 0.3s ease;
}

.audio-list-card:hover .audio-list-card__img {
    transform: scale(1.03);
}

.audio-list-card__placeholder {
    height: 210px;
    background: linear-gradient(135deg, #14182b 0%, #0c0e1a 100%);
    border: none !important;
    box-shadow: none !important;
}

.audio-list-card__placeholder-icon {
    font-size: 3rem;
    opacity: 0.7;
}

.audio-list-card__title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.45;
}

.audio-list-card__title-link {
    color: var(--audio-gold, #dfb15b) !important;
}

.astro-audio-player-card--list {
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background: var(--audio-player-bg, rgba(14, 18, 35, 0.95)) !important;
    border: none !important;
    box-shadow: none !important;
}

.audio-list-card__player-slot {
    display: none;
    animation: astroPlayerFadeIn 0.3s ease;
}

@keyframes astroPlayerFadeIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.audio-list-card__btn-page,
.btn-astro-list-play,
.audio-list-card__actions .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--audio-btn-bg, #dfb15b) !important;
    border: none !important;
    color: var(--audio-btn-color, #0d1124) !important;
    font-weight: 600 !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-astro-list-play {
    cursor: pointer;
}

.audio-list-card__btn-page:hover,
.btn-astro-list-play:hover,
.audio-list-card__actions .btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.btn-astro-list-play.is-hidden,
.btn-astro-list-play.d-none {
    display: none !important;
}

/* ==========================================================================
   7. Страница отдельной аудиозаписи (audio_item)
   ========================================================================== */
.audio_item .audio-item-card {
    background: var(--audio-player-bg, rgba(18, 22, 42, 0.96));
    border: 1px solid var(--audio-player-border, rgba(223, 177, 91, 0.3)) !important;
    color: #e8ecf5;
}

.audio_item .audio-item-card__header {
    border-bottom: 1px solid var(--audio-player-border, rgba(223, 177, 91, 0.2));
    background: rgba(12, 15, 30, 0.6);
}

.audio_item .audio-item-card__title {
    font-size: 1.35rem;
    color: var(--audio-gold, #dfb15b);
    font-weight: 600;
}

.audio_item .audio-item-card__back-btn {
    border-color: var(--audio-player-border, rgba(223, 177, 91, 0.4));
    color: #d0d8e8;
}

.audio_item .audio-item-card__back-btn:hover {
    border-color: var(--audio-gold, #dfb15b);
    color: #ffffff;
}

.audio_item .audio-cover-inner {
    display: inline-block;
    max-width: 100%;
}

.audio_item .audio-cover-img {
    border: 1px solid var(--audio-player-border, rgba(223, 177, 91, 0.3));
    max-height: 420px;
    width: 100%;
    object-fit: cover;
    display: block;
}

.audio_item .audio-content-body {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #d0d8e8;
}

.audio_item .field_label {
    color: var(--audio-gold, #dfb15b);
}

.audio_item .tags_bar {
    border-color: rgba(223, 177, 91, 0.2) !important;
}

.audio_item .info_bar {
    border-color: rgba(223, 177, 91, 0.2) !important;
    color: #8c9bb5;
}

.audio_item .info_bar__items {
    gap: 15px;
}

.audio_item .audio-item-catalog-link {
    color: var(--audio-gold, #dfb15b);
    border-color: var(--audio-gold, #dfb15b);
}

.audio_item .audio-item-catalog-link:hover {
    background: var(--audio-gold, #dfb15b);
    color: #0d1124;
}