

/* Start:/local/components/sings/detail/templates/.default/style.css?17853327504639*/
:root {
    --brand-main: #26899e;
    --brand-light: #e0f2f4;
    --brand-accent: #d1eef0;
    --text-main: #2c3e50;
    --bg-player: #dff1f3;
}

.psalm-detail-container {
    width: 100%;
    padding: 20px 15px;
    display: flex;
    justify-content: center;
    background-color: #f9fcff;
}

.psalm-wrapper {
    max-width: 800px;
    width: 100%;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* Заголовок */
.psalm-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: var(--brand-main);
    margin-bottom: 25px;
}

.copy-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #ccc;
    transition: color 0.3s;
}
.copy-btn:hover { color: var(--brand-main); }

/* Табы */
.psalm-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--brand-light);
}

.tab-trigger {
    padding: 10px 20px;
    border: none;
    background: none;
    cursor: pointer;
    font-weight: 600;
    color: #777;
    position: relative;
}

.tab-trigger.active {
    color: var(--brand-main);
}
.tab-trigger.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--brand-main);
}

.tab-content { display: none; }
.tab-content.active { display: block; animation: fadeIn 0.4s; }

.psalm-text-body {
    white-space: pre-wrap;
    line-height: 1.8;
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 15px;
}

.psalm-origin-path {
    text-align: right;
    font-style: italic;
    color: var(--brand-main);
    opacity: 0.8;
}

/* ПРЕМИАЛЬНЫЙ ПЛЕЕР (Стиль как на скриншоте 3) */
.audio-section { margin-top: 40px; }
.section-title { color: var(--text-main); font-size: 1.2rem; margin-bottom: 20px; }

.custom-player-wrapper {
    background: var(--bg-player);
    border-radius: 10px;
    padding: 12px 20px;
    margin-bottom: 15px;
    max-width: 600px; /* чуть шире чем на скрине */
}

.audio-info-top {
    display: flex;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--brand-main);
    margin-bottom: 8px;
    font-weight: 500;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.play-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--brand-main);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

.player-body { flex-grow: 1; }

.time-row {
    font-size: 0.8rem;
    color: #6a8d92;
    margin-bottom: 5px;
    display: flex;
    gap: 3px;
}

.progress-bar-container {
    height: 4px;
    background: rgba(38, 137, 158, 0.2);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: var(--brand-main);
    width: 0%;
    border-radius: 2px;
}

.download-btn {
    color: var(--brand-main);
    opacity: 0.7;
    transition: 0.3s;
}
.download-btn:hover { opacity: 1; transform: translateY(1px); }

/* Видео */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}
.video-card {
    border: 1px solid var(--brand-light);
    border-radius: 10px;
    overflow: hidden;
}
.video-iframe {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}
.video-iframe iframe {
    position: absolute;
    top:0; left:0; width:100%; height:100%;
}
.video-meta { padding: 12px; }
.video-title { font-weight: bold; display: block; margin-bottom: 8px; font-size: 0.9rem; }
.video-text { font-size: 0.8rem; color: #666; }
.video-desc-wrap.collapsed .video-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.desc-toggle {
    background: none; border: none; color: var(--brand-main);
    font-size: 0.75rem; cursor: pointer; padding: 0; margin-top: 5px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Адаптив */
@media (max-width: 600px) {
    .psalm-wrapper { padding: 15px; }
    .video-grid { grid-template-columns: 1fr; }
    .psalm-header { font-size: 1.2rem; flex-direction: column; text-align: center; }
}

/* End */
/* /local/components/sings/detail/templates/.default/style.css?17853327504639 */
