:root {
    --podcast-player-bg: #fff;
    /* цвет кнопок/основного текста */
    --player-color: #CD3852;
    --player-btn-hover: #ee405d;
    --player-btn-active: #8d2738;
    /* background заполненной части ползунков прогрессбара/полоски звука */
    --podcast-player-gradient: linear-gradient(180deg, #CD3852 0%, #B40A28 100%);
}

.podcast-player {
    max-width: 1495px;
    margin: auto;
    background: var(--podcast-player-bg);
    box-shadow: 0 7px 19px rgba(0,0,0,.13);
    border-radius: 5px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    visibility: hidden;
    opacity: 0;
    transition: opacity .3s linear;
}
.podcast-player.active {
    visibility: visible;
    opacity: 1;
    transition: opacity .3s linear;
}
.podcast-player__content {
    padding: 16px 38px;
}
/* Progress bar */
.podcast-player__progress-bar_wrap {
    margin-bottom: 12px;
}
.timelineWrapper {
    height: 4px;
    box-shadow: inset 0px 4px 4px rgba(0, 0, 0, 0.15);
    border-radius: 120px;
    cursor: pointer;
}
.timelineProgress {
    height: 4px;
    background: var(--podcast-player-gradient);
    border-radius: 120px;
}
/* Progress bar */
.podcast-player__main-content {
    display: grid;
    grid-template-columns: 155px 147px auto 25px 25px;
    column-gap: 56px;

    padding: 0 10px;
}

.podcast-player__btn {
    display: flex;
    justify-content: center;
    align-items: center;

    padding: 0;
    border: 0;

    color: var(--player-color);

    background-color: transparent;
    outline: none;
    cursor: pointer;

    transition: transform .2s linear;
}
.podcast-player__btn:hover:not(:disabled),
.podcast-player__btn:focus:not(:disabled) {
    color: var(--player-btn-hover);
}
.podcast-player__btn:active:not(:disabled) {
    color: var(--player-btn-active);
}
.podcast-player__btn:disabled {
    opacity: .5;
    cursor: default;
}
.podcast-player__btn_type_next {
    transform: scaleX(-1);
}

/* кнопка воспроизведения */
.podcast-player__btn_type_play.play .podcast-player__play-icon {
    display: block;
}
.podcast-player__btn_type_play.play .podcast-player__play-icon_type_pause {
    display: none;
}
.podcast-player__btn_type_play:not(.play) .podcast-player__play-icon {
    display: none;
}
.podcast-player__btn_type_play:not(.play) .podcast-player__play-icon_type_pause  {
    display: block;
}

/* Упреаление воспроизведением */
.podcast-player__podcast-manipulation {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/* Управление звуком */
.podcast-player__sound-manipulation {
    display: flex;
    align-items: center;
}
#soundSlider-block,
.player-volume {
    width: 100%;
}
.player-volume {
    display: grid;
    grid-template-columns: max-content auto;
    column-gap: 11px;
    align-items: center;
}
.podcast-player #soundSlider-block .player-volume .icon-volume {
    display: flex;
    align-items: center;
    float: none;

    height: 27px;
    margin: 0;
    
    color: var(--player-color) !important;
}
.icon-volume__icon {
    display: block;
}
.icon-volume__icon_type_mute {
    display: none;
}
.icon-volume.muted .icon-volume__icon {
    display: none;
}
.icon-volume.muted .icon-volume__icon_type_mute {
    display: block;
}
.volumeWrapper {
    width: 100%;
    height: 2px;
    background: #d8d8d8;
    position: relative;
}
.podcast-player .volumeHandler {
    position: absolute;
    background: var(--podcast-player-gradient);
    width: 10px;
    height: 10px;
    padding: 0;
    border: none;
    border-radius: 50%;
    transform: translate(-50%, -45%);
    cursor: pointer;
}
.podcast-player .volumeLine {
    height: 2px;
    width: 100%;
    background: var(--podcast-player-gradient);
}
/* Описание подкаста + продолжительность */
.podcast-player__podcast-description {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.podcast-description__main {
    display: flex;
    max-width: 100%;
    width: 100%;
}
.podcast-description__img-container {
    flex-shrink: 0;
}
.podcast-description__img {
    max-width: 66px;
    max-height: 66px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin-right: 18px;
}
.podcast-description__info {
    display: flex;
    flex-wrap: wrap;

    flex-grow: 1;
}
.podcast-description__header {
    display: -webkit-box;

    flex-basis: 100%;
    max-width: 100%;
    height: 40px;
    margin-bottom: auto;

    font-size: 16px;
    line-height: 20px;
    color: var(--player-color);

    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.info__paragraph {
    margin: 0;
    margin-bottom: 10px;

    font-weight: 500;
    font-size: 14px;
    line-height: 17px;
    color: rgba(0 0 0 /.6);
}
.podcast-description__paragraph {
    font-weight: 500;
    font-size: 14px;
    line-height: 14px;
    margin: 0;
}
/* Шаринг */
.podcast-player__share {
    position: relative;
    display: flex;
    align-items: center;
}
.sharing__init-button {
    color: #000;
}
.sharing__init-button,
.sharing__init-button_img {
    max-width: 100%;
}
.podcast-player__share .social-share {
    position: absolute;
    z-index: 1;
    /* width: 85px; */
    height: 45px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    left: 50%;
    transform: translate3d(-50%,-50%,0);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.podcast-player__share .social-share.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity .3s linear;
}
.social-share .share {
    display: inline-flex;
    align-items: center;
    float: none;

    background: var(--podcast-player-bg);
    border-radius: 3px;
}
.social-share .share img {
    width: 24px;
    height: 24px;
}
/* Закрытие плеера */
.podcast-player__close {
    display: flex;
    align-items: center;
}
.close__button {
    position: relative;

    width: 100%;
    height: 25px;
}
.close__button::before,
.close__button::after {
    content: "";

    position: absolute;
    top: 50%;
    left: 50%;

    width: 31px;
    height: 4px;

    border-radius: 2px;
    background-color: currentColor;
}
.close__button::before {
    transform: translateX(-50%) rotate(-45deg);
}
.close__button::after {
    transform: translateX(-50%) rotate(45deg);
}
/* Закрытие плеера */
@media screen and (max-width: 1526px) {
    .podcast-player {
        max-width: 100%;
        margin: 0px 15px;
    }
}
@media screen and (max-width: 1280px) {
    .podcast-player__main-content {
        column-gap: 30px;
    }
}
@media screen and (max-width: 1156px) {
    .podcast-player__content {
        padding: 16px 30px;
        column-gap: 30px;
    }
}
@media screen and (max-width: 991px) {
    .podcast-player__main-content {
        grid-template-columns: 155px auto 25px 25px;
        column-gap: 20px;
    }
    .podcast-player__sound-manipulation {
        display: none;
    }
}
@media screen and (max-width: 870px) {
    .podcast-player__main-content {
        column-gap: 25px;
    }
}
@media screen and (max-width: 805px) {
    .podcast-player {
        margin: 0;
    }
}
@media screen and (max-width: 767px) {
    .podcast-player__main-content {
        grid-template-columns: 125px auto 25px 25px;
        column-gap: 15px;
    }
    .podcast-player__content {
        padding-left: 20px;
        padding-right: 20px;
    }
    .podcast-description__header {
        padding: 0;
    }
    .podcast-description__img-container {
        display: flex;
        align-items: center;
    }
    .podcast-player__main-content {
        grid-template-columns: 115px auto 25px 25px;
    }
}
@media screen and (max-width: 575px) {
    .podcast-player__content {
        position: relative;

        display: grid;
        grid-template-columns: auto 25px;
        column-gap: 16px;

        padding-top: 17px;
        padding-bottom: 18px;
    }
    .podcast-player__progress-bar_wrap {
        grid-column: 1 / 2;
    }
    .podcast-player__main-content {
        grid-row: 2 / 3;
        grid-column: 1 / -1;

        grid-template-columns: 66px auto 35px 25px;
        grid-template-rows: 27px 33px;
        row-gap: 6px;

        padding: 0;
    }
    .podcast-player__podcast-manipulation {
        position: relative;
        z-index: 1;

        grid-row: 2 / 3;
        grid-column: 2 / 3;
        max-width: 105px;
    }
    .podcast-player__btn_type_play .podcast-player__play-icon {
        width: auto;
        height: 34px;
    }
    .podcast-player__share {
        grid-row: 2 / 3;
        grid-column: 4 / -1;
    }
    .podcast-player__share .social-share {
        transform: translate3d(-130%, 20%, 0);
    }
    .podcast-player__podcast-description {
        grid-row: 1 / -1;
        grid-column: 1 / 4;

        display: grid;
        grid-template-columns: 66px auto 35px;
        grid-template-rows: 27px 33px;
        row-gap: 6px;
    }
    .podcast-description__main {
        grid-row: 1 / -1;
        grid-column: 1 / -1;

        display: grid;
        grid-template-columns: 66px auto;
        grid-template-rows: 27px 33px;
        row-gap: 6px;
        column-gap: 16px;
    }
    .podcast-description__img-container {
        grid-column: 1 / 2;
        grid-row: 1 / -1;
    }
    .podcast-description__img {
        margin: 0;
    }
    .podcast-description__info {
        grid-row: 1 / 2;
    }
    .podcast-description__header {
        height: 15px;

        font-size: 12px;
        font-weight: bold;
        line-height: 15px;

        -webkit-line-clamp: 1;
    }
    .info__paragraph {
        margin: 0;

        font-size: 10px;
    }
    .podcast-description__duration {
        grid-row: 2 / 3;
        grid-column: 3 / -1;
    }
    .podcast-player__close {
        position: absolute;
        top: 5px;
        right: 5px;

        display: flex;

        width: 45px;
        height: 45px;
    }
    .close__button {
        flex-grow: 1;
        height: 100%;
    }
}

.podcast-player_page_podcast {
    --player-color: #82379E;
    --player-btn-hover: #a043c2;
    --player-btn-active: #652a7a;
    --podcast-player-gradient: linear-gradient(180deg, #82379E 0%, #652a7a 100%);
}
.podcast-player_page_podcast .podcast-player__btn_type_next {
    transform: none;
}
.podcast-player_page_podcast #soundSlider-block .player-volume .icon-volume::before {
    content: none;
}
.podcast-player_page_podcast .close__button::before,
.podcast-player_page_podcast .close__button::after {
    content: none;
}
.podcast-player.podcast-player_page_podcast #soundSlider-block .player-volume .icon-volume {
    color: var(--player-color) !important;
}