#arrangement-wrapper {
    max-width: 100%;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000;
    border-radius: 20px;
    overflow: hidden;
}

.arrangement-item {
    height: 250px;
    position: relative;
    background-size: cover;
    background-position: center;
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.arrangement-item-mob {
    height: 100px;
    position: relative;
    background-size: cover;
    background-position: center;
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
}


/* Фильтр серого и затемнение */
.arrangement-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4); /* Полупрозрачный черный фон */
    filter: grayscale(50%); /* Применение фильтра серого цвета */
    z-index: 1; /* Положение под кнопкой и текстом */
}

/* Кнопка play/pause */
.play-pause {
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 0, 0, 0.8); /* Только красный контур */
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: border-color 0.3s;
    color: rgba(255, 0, 0, 0.8); /* Красный цвет текста */
    font-size: 24px;
    font-weight: bold;
    z-index: 2; /* Положение над затемнением */
}

.play-pause:hover {
    border-color: rgba(255, 0, 0, 1); /* Ярче при наведении */
    color: rgba(255, 0, 0, 1); /* Ярче текст при наведении */
}

/* Стрелка Play */
.play-pause::before {
    content: '▶'; /* Символ стрелки Play */
}

/* Две вертикальные полоски Pause */
.arrangement-item.playing .play-pause::before {
    content: '❚❚'; /* Символ паузы */
}
.arrangement-title {
    color: white;
    font-size: 26px;
    font-weight: bold;
    text-align: center;
    padding: 10px;
    z-index: 2; /* Положение над затемнением */
}
.arrangement-title-mob {
    color: black;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    padding: 10px;
    z-index: 2; /* Положение над затемнением */
}
.play-pause-mob {
    width: 30px;
    height: 30px;
    border: 2px solid rgba(255, 0, 0, 0.8); /* Только красный контур */
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: border-color 0.3s;
    color: rgba(255, 0, 0, 0.8); /* Красный цвет текста */
    font-size: 24px;
    font-weight: bold;
    z-index: 2; /* Положение над затемнением */
}

.play-pause-mob:hover {
    border-color: rgba(255, 0, 0, 1); /* Ярче при наведении */
    color: rgba(255, 0, 0, 1); /* Ярче текст при наведении */
}
/* Фильтр серого и затемнение */
.arrangement-item-mob::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4); /* Полупрозрачный черный фон */
    filter: grayscale(50%); /* Применение фильтра серого цвета */
    z-index: 1; /* Положение под кнопкой и текстом */
}
/* Стрелка Play */
.play-pause-mob::before {
    content: '▶'; /* Символ стрелки Play */
}

/* Две вертикальные полоски Pause */
.arrangement-item.playing .play-pause-mob::before {
    content: '❚❚'; /* Символ паузы */
}