/*line*/
.progress-line-container {
            --dashed-line: 3px dotted var(--accent-color);
            --solid-line: 4px solid var(--accent-color);
            --step-element-box-shadow: 0 5px 10px 2px var(--shadow);


            width: 100%;
            max-width: 1280px;
            margin: 30px auto;
            padding: 30px 0;
        }

        .pl-steps-wrapper {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 24px;
            position: relative;
            width: 80%;
            margin: 0 auto;
        }

        .pl-steps-wrapper .pl-step {
            display: flex;
            flex-direction: row;
            justify-content: flex-start;
            align-items: center;
            gap: 10px;
            width: 100%;
            position: relative;
            box-sizing: border-box;
        }

        .pl-steps-wrapper .pl-step:hover .step-num {
            transform: translateX(0) scale(1.05) rotate(2deg);
        }
        .pl-steps-wrapper .pl-step:hover .step-icon {
            transform: translateX(0) scale(1.05) rotate(1deg);
        }


        .pl-steps-wrapper.with-solid-line .pl-step::before {
            border-left: var(--solid-line);
        }

        .pl-steps-wrapper:not(.with-solid-line) .pl-step::before {
            border-left: var(--dashed-line);
        }

        .pl-steps-wrapper:not(.with-step-nums) .pl-step .step-icon {
            display: block;
        }

        .pl-steps-wrapper.with-step-nums .pl-step .step-num {
            display: flex;
        }

        .pl-steps-wrapper:not(.with-step-nums) .pl-step:not(:last-child)::before {
            content: "";
            width: 1px;
            height: 120%;
            position: absolute;
            left: 44px;
            top: 50%;
            z-index: 1;
        }

        .pl-steps-wrapper.with-step-nums .pl-step:not(:last-child)::before {
            content: "";
            width: 1px;
            height: 120%;
            position: absolute;
            left: 23px;
            top: 40%;
            z-index: 1;
        }

        .pl-step .step-num {
            display: none;
            /*display: flex;*/
            align-items: center;
            justify-content: center;
            align-self: flex-start;
            width: 48px;
            min-width: 48px;
            height: 48px;
            border: var(--solid-line);
            border-radius: 50px;
            padding: 10px;
            z-index: 3;
            background-color: var(--accent-color);
            color: var(--contrast-color);
            font-size: 24px;
            -webkit-box-shadow: var(--step-element-box-shadow);
            -moz-box-shadow: var(--step-element-box-shadow);
            box-shadow: var(--step-element-box-shadow);
        }

        .pl-step .step-icon {
            display: none;
            align-self: flex-start;
            width: 88px;
            min-width: 88px;
            height: 88px;

            border: var(--solid-line);
            border-radius: 9px;
            padding: 16px;
            z-index: 3;
            background-color: var(--app-background);
            -webkit-box-shadow: var(--step-element-box-shadow);
            -moz-box-shadow: var(--step-element-box-shadow);
            box-shadow: var(--step-element-box-shadow);

            color: var(--text-color);
        }

        .pl-step .step-icon img, .pl-step .step-icon svg {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        .pl-step .pl-step-info {
            margin-left: 10px;
        }

        .pl-step .pl-step-info .step-title {
            font-weight: bold;
        }

        .pl-step .pl-step-info .step-text {
            margin-top: 10px;
            color: var(--text-grey-2);
        }

        @media (width >= 1200px) {
            .pl-steps-wrapper {
                flex-direction: row;
                align-items: flex-start;
                gap: 32px;
                width: 100%;
                margin: 0;
                padding-top: 50px;
            }

            .pl-steps-wrapper .pl-step {
                flex-direction: column;
            }

            .pl-steps-wrapper .pl-step:hover .step-num {
                transform: translateX(-50%) scale(1.05) rotate(2deg);
            }
            .pl-steps-wrapper .pl-step:hover .step-icon {
                transform: translateX(-50%) scale(1.05) rotate(1deg);
            }

            .pl-steps-wrapper.with-solid-line .pl-step::before {
                border-top: var(--solid-line);
            }

            .pl-steps-wrapper:not(.with-solid-line) .pl-step::before {
                border-top: var(--dashed-line);
            }

            .pl-steps-wrapper:not(.with-step-nums) .pl-step:not(:last-child)::before {
                content: "";
                width: 100%;
                height: 0;
                left: 60%;
                top: 0;
            }

            .pl-steps-wrapper.with-step-nums .pl-step:not(:last-child)::before {
                content: "";
                width: 100%;
                height: 0;
                left: 60%;
                top: 0;
            }

            .pl-step .step-num {
                width: 58px;
                min-width: 58px;
                height: 58px;
                position: absolute;
                top: -28px;
                left: 50%;
                transform: translateX(-50%);
            }

            .pl-step .step-icon {
                position: absolute;
                top: -44px;
                left: 50%;
                transform: translateX(-50%);
            }

            .pl-step .pl-step-info {
                margin: 80px 0 0 0;
                text-align: center;
            }
        }
/*cards*/
.program-cards-container {
	--card-element-box-shadow: 0 5px 10px 2px var(--shadow);
	--card-title-border-left: 6px solid var(--accent-light-color);
	--card-title-bg-color: rgba(3,3,3, 0.4);

	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: flex-start;
	gap: 16px;
	width: 100%;
	max-width: 1280px;
	margin: 30px auto;
	padding: 30px 0;
}

.pc-card {
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: none;
	flex-grow: 1;
	height: 240px;
	min-height: 240px;
	box-sizing: border-box;
	position: relative;
	overflow: hidden;
	-webkit-box-shadow: var(--card-element-box-shadow);
	-moz-box-shadow: var(--card-element-box-shadow);
	box-shadow: var(--card-element-box-shadow);
}

.pc-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pc-card .pc-card-title {
	display: block;
	width: 100%;
	min-height: 32px;
	position: absolute;
	left: 0;
	bottom: 0;
	box-sizing: border-box;
	color: white;
	font-weight: bold;
font-size: 1.8rem;
	/*font-size: 24px;*/
	background-color: var(--card-title-bg-color);
	padding: 16px;
}

.pc-card .pc-card-title a {
	text-decoration: none;
	color: var(--contrast-color);
}

@media (width >= 680px) {
	.pc-card {
		max-width: 308px;
		height: 380px;
		min-height: 380px;
	}
	.pc-card-empty {
		height: 0;
		max-width: 308px;
		min-width: 308px;
		flex-grow: 1;
	}

	.pc-card::before{
		content: "";
		display: block;
		width: 100%;
		height: 5px;
		position: absolute;
		left: -100%;
		bottom: 0;
		z-index: 1;
		transition: left ease-in-out .3s;
		background-color: var(--accent-color);
	}
	.pc-card:hover::before{
		left: 0;
	}

	.pc-card:hover img{
		transform: scale(1);
		filter: blur(1px);
	}

	.pc-card img{
		width: 100%;
		height: 100%;
		object-fit: cover;
		transition: all ease .3s;
		filter: blur(0px);
		transform: scale(1.03);
	}
}

/* Стили раскладки для блока статистики (с графиками) */
.stat-block-container {
	display: grid;
	gap: 10px;
	grid-template-areas:
		"fond-profits fond-income"
		"fond-profits fond-target";

	width: 100%;
	max-width: 1280px;
	margin: 30px auto;
}

@media screen and (width < 1120px) {
	.stat-block-container {
		grid-template-areas:
		"fond-income fond-target"
		"fond-profits fond-profits";
	}
}

@media screen and (width <= 720px) {

	.stat-block-container {
		display: flex;
		flex-direction: column;
		max-width: 100%;
	}
}

.sb-block {
	display: flex;
	flex-direction: column;
	padding: 20px 30px;
	background-color: var(--element-background);
	color: var(--text-color);
	box-shadow: 0 3px 5px 2px rgba(0, 0, 0, 0.1);
}

.sb-block h2 {
	display: block;
	max-width: 90%;
}

.sb-block-fond-target {
	grid-area: fond-target;
	max-height: fit-content;
}

.sb-block-fond-income {
	grid-area: fond-income;
	justify-content: space-between;
}

.sb-block-fond-profits {
	grid-area: fond-profits;
}


/* Trine charts Trine charts Trine charts */
/* Trine charts Trine charts Trine charts */
.trine-chart {
    --axis-line: 1px dotted var(--disabled-color);
    --box-shadow: 0 3px 5px 2px var(--shadow);

    display: block;
    width: fit-content;
    min-width: 360px;
    margin: 30px 0 20px 0;
    max-width: 100%;
}

.trine-chart .bars-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 26px;
    width: 90%;
    overflow: hidden;
}

.trine-chart.trine-chart-v .bars-wrapper {
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-end;
}

.trine-chart .bars-wrapper .bar {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100px;
    padding-left: 14px;
    border-left: 4px solid var(--accent-light-color);
    pointer-events: none;
}
.trine-chart.trine-chart-v .bars-wrapper .bar {
    max-width: none;
    border-left: none;
}

.trine-chart .bars-wrapper .bar .bar-line {
    display: none;
}

.trine-chart .bar .label {
    font-weight: bold;
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}
.trine-chart.trine-chart-v .bar .label {
    width: 70vw;
    position: relative;
}
.trine-chart.trine-chart-v .bar .label::before {
    display: block;
    content: "";
    width: 6px;
    height: 6px;
    background-color: var(--accent-light-color);
    position: absolute;
    top: 5px;
    left: -14px;
}

.trine-chart .bar .value {
    width: 90vw;
    margin-top: 4px;
}
.trine-chart.trine-chart-v .bar .value {
    margin-top: 8px;
}

.trine-chart .bar .value span:first-child {
    display: none;
}
.trine-chart.trine-chart-v .bar .value span:first-child {
    display: inline;
    margin-right: 5px;
}

@media (width >= 640px) {
    .trine-chart {
        padding-left: 10px;
        margin-bottom: 30px;
        margin-left: 20px;
        border-left: var(--axis-line);
        border-bottom: var(--axis-line);
    }
    .trine-chart.trine-chart-v {
        border-left: 1px dotted var(--disabled-color);
        border-bottom: none;
        width: 70%;
        margin: 50px 0 30px 180px;
    }

    .trine-chart .bars-wrapper {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: flex-end;
        justify-content: flex-start;
        gap: 6px;
        width: 100%;
        height: 200px;
        overflow: visible;
    }
    .trine-chart.trine-chart-v .bars-wrapper {
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: flex-start;
        justify-content: flex-end;
        gap: 16px;
        height: unset;
    }

    .trine-chart .bars-wrapper .bar {
        display: flex;
        justify-content: flex-end;
        align-items: flex-start;
        width: 60px;
        height: 100%;
        max-width: unset;
        position: relative;
        border: 1px solid transparent;
        border-bottom: none;
        pointer-events: unset;
        padding: 0;
    }
    .trine-chart.trine-chart-v .bars-wrapper .bar {
        justify-content: flex-end;
        height: 40px;
        width: 100%;
        padding: 0;
    }

    .trine-chart .bars-wrapper .bar .bar-line {
        display: block;
        width: 100%;
        height: 100%;
        transition: background-color ease-in-out .3s, width ease-in-out .3s;
        pointer-events: unset;
        box-shadow: var(--box-shadow);
        background-color: var(--accent-color);
    }
    .trine-chart.trine-chart-v .bars-wrapper .bar .bar-line {
        display: block;
        width: 100%;
        height: 100%;
        justify-content: flex-end;
    }

    .trine-chart .bars-wrapper .bar .bar-line:hover {
        background-color: var(--accent-light-color);
    }

    .trine-chart .bar .label {
        width: 100%;
        position: absolute;
        left: 0;
        bottom: -24px;
        text-align: center;
        color: var(--text-grey-2);
        font-size: 13px;
        font-weight: normal;
        transition: color ease-in-out .6s;

        user-select: none;
        -webkit-user-select: none;
        -ms-user-select: none;
    }
    .trine-chart.trine-chart-v .bar .label {
        width: 150px;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        height: 100%;
        left: -170px;
        top: 0;
        bottom: unset;
        text-align: end;
		line-height: 1.3;
        position: absolute;
    }
    .trine-chart.trine-chart-v .bars-wrapper .bar .label::before {
        display: none;
    }

    .trine-chart .bar .value {
        display: none;
    }

    .trine-chart .bar .bar-line:hover + .label {
        color: var(--text-color);
    }
}

#trine-chart-tooltip {
    position: fixed;
    pointer-events: none;
    background-color: var(--element-background);
    color: var(--text-grey-2);
    padding: 10px 14px;
    border: 1px solid var(--accent-color);
    border-radius: 3px;
    font-size: 14px;
    line-height: 1.4;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.2s ease;
    max-width: 250px;
    white-space: normal;
    word-wrap: break-word;
    box-shadow: var(--box-shadow);
}

#trine-chart-tooltip span:first-child {
    display: block;
    font-weight: bold;
}

#trine-chart-tooltip.active {
    opacity: 1;
}