.help-options {
	padding: 120px 0;
	background: #fff;
	max-width: 1320px;
    margin: 0 auto;

	@media screen and (max-width: 768px) {
		padding: 40px 20px;
	}
}

.help-header {
	display: flex;
	gap: 20px;
	margin-bottom: 60px;
	justify-content: space-between;
    flex-direction: row;
    align-items: flex-start;

	@media screen and (max-width: 768px) {
		margin-bottom: 30px;
	}
}

.help-title {
	font-family: 'Closer Text', sans-serif;
	font-weight: 500;
	font-size: 42px;
	line-height: 110%;
	letter-spacing: -0.02em;
	color: #013026;
	margin: 0;

	@media screen and (max-width: 768px) {
		font-size: 32px;
		letter-spacing: -0.01em;
	}
}

.help-subtitle {
	font-family: 'Closer Text', sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 130%;
	letter-spacing: -0.01em;
	margin: 0;
	color: #004735;
	flex: 0 1 300px;
    padding-right: 125px;

	@media screen and (max-width: 768px) {
		flex: unset;
		padding-right: 35px;
		font-size: 14px;
	}
}

/* Карточки */
.help-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(315px, 1fr));
	gap: 20px;
	margin-bottom: 60px;

	@media screen and (max-width: 768px) {
		grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
		gap: 14px;
		margin-bottom: 30px;
	}
}

.help-card {
	background: #CFE2E0;
	border-radius: 20px;
	padding: 40px 30px 30px;
	text-align: center;

	@media screen and (max-width: 768px) {
		padding: 30px;
	}
	/* transition: transform 0.3s ease, background 0.3s ease; */
}
/* .help-card:hover {
	transform: translateY(-5px);
	background: #d7e8df;
} */

.help-icon {
	margin-bottom: 40px;

	@media screen and (max-width: 768px) {
		margin-bottom: 30px;
	}
}
.help-icon img {
	/* width: 80px; */
	height: auto;
	object-fit: contain;
}

/* Тексты */
.help-card h3 {
	font-family: 'Closer Text', sans-serif;
	font-weight: 500;
	font-size: 21px;
	line-height: 120%;
	letter-spacing: -0.02em;
	text-align: left;
	margin-bottom: 12px;
	color: #013026;

	@media screen and (max-width: 768px) {
		letter-spacing: -0.01em;
	}
}
.help-card p {
	font-family: 'Closer Text', sans-serif;
	font-weight: 400;
	font-size: 14px;
	line-height: 130%;
	letter-spacing: -0.01em;
	color: #004735;
	text-align: left;
}

/* Кнопка */
.help-footer {
	text-align: center;
}
.help-btn {
	display: inline-block;
	padding: 30px 0;
	border-radius: 20px;
	border: 1px solid #004735;
	color: #013026;
	text-decoration: none;
	transition: all 0.3s ease;
	font-family: 'Closer Text', sans-serif;
	font-weight: 500;
	font-size: 16px;
	line-height: 120%;
	letter-spacing: -0.01em;
	width: 100%;

	@media screen and (max-width: 768px) {
		padding: 16px 0;
        border-radius: 12px;
	}
}
.help-btn:hover {
	background: #004d40;
	color: #fff;
}

/* Адаптив */
@media (max-width: 768px) {
	.help-header {
		flex-direction: column;
		align-items: flex-start;
	}
}


/* === Gutenberg Editor Preview Styles === */

.editor-styles-wrapper {
    .help-editor-preview {
        background: #fff;
        padding: 60px 40px;
        border-radius: 24px;
        border: 1px solid #e0e0e0;

        .help-editor-header {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            gap: 20px;
            margin-bottom: 40px;

            .help-editor-title {
                font-size: 28px;
                font-weight: 600;
                color: #004d40;
                border: none;
                background: transparent;
                width: 100%;
                max-width: 480px;
                outline: none;
            }

            .help-editor-subtitle {
                width: 100%;
                max-width: 420px;
                border: none;
                background: transparent;
                font-size: 15px;
                color: #333;
                line-height: 1.5;
                resize: none;
                outline: none;
            }
        }

        .help-editor-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 20px;
            margin-bottom: 40px;
        }

        .help-editor-card {
            background: #e1eee6;
            padding: 20px;
            border-radius: 20px;
            text-align: center;
            position: relative;
            transition: 0.2s ease;

            &:hover {
                background: #d5e6db;
            }

            .help-icon-upload {
                cursor: pointer;
                display: flex;
                align-items: center;
                justify-content: center;
                width: 100%;
                height: 100px;
                background: rgba(255, 255, 255, 0.5);
                border-radius: 12px;
                margin-bottom: 16px;
                overflow: hidden;

                .help-icon-img {
                    width: 70px;
                    height: auto;
                    object-fit: contain;
                }

                .help-icon-placeholder {
                    font-size: 32px;
                    color: #004d40;
                    font-weight: 600;
                }
            }

            .help-card-title {
                width: 100%;
                font-weight: 600;
                font-size: 16px;
                text-align: center;
                border: none;
                background: transparent;
                margin-bottom: 6px;
                outline: none;
            }

            .help-card-desc {
                width: 100%;
                min-height: 50px;
                font-size: 14px;
                line-height: 1.5;
                color: #333;
                border: none;
                background: transparent;
                resize: none;
                outline: none;
                text-align: center;
            }
        }

        .help-editor-footer {
            text-align: center;

            .help-btn-text {
                display: inline-block;
                padding: 10px 30px;
                border: 2px solid #004d40;
                border-radius: 30px;
                font-weight: 600;
                color: #004d40;
                background: transparent;
                text-align: center;
                margin-bottom: 10px;
                transition: all 0.3s ease;

                &:focus {
                    outline: none;
                    border-color: #007f5f;
                }
            }

            .help-btn-link {
                display: block;
                width: 100%;
                text-align: center;
                border: none;
                font-size: 13px;
                color: #666;
                background: transparent;
                outline: none;
            }
        }
    }
}