/* Самостоятельная секция: размеры и цвета взяты из общей системы темы. */
.help-section { padding: 20px 0 32px; }
.help-band {
	display: grid;
	grid-template-columns: minmax(210px, 280px) minmax(0, 1fr) 185px;
	min-height: 140px;
	/*border: 1px solid var(--color-border);*/
	border-radius: var(--radius);
	background: var(--color-surface);
	box-shadow: var(--shadow-dark);
	overflow: hidden;
}
.help-band--with-image { grid-template-columns: 180px minmax(200px, 250px) minmax(0, 1fr) 185px; }
.help-band > * { min-width: 0; }
.help-band__image { position: relative; min-height: 140px; }
.help-band__image img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.help-band__image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 35%, #f8faf6); pointer-events: none; }
.help-band__heading { position: relative; align-self: center; padding: 22px 22px 22px 64px; }
.help-band--with-image .help-band__heading { padding-left: 24px; }
.help-band__question { position: absolute; top: 20px; left: 14px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--color-surface); box-shadow: var(--shadow-dark); font-size: 21px; color: var(--color-primary); }
.help-band--with-image .help-band__question { left: -22px; }
.help-band__heading h2 { margin: 0 0 7px; font-family: var(--font-montserrat); font-size: 20px; font-weight: 700; line-height: 1.2; color: var(--color-primary); overflow-wrap: anywhere; }
.help-band__heading p { margin: 0; font-size: 12px; line-height: 1.5; color: var(--color-soft); }

/* Нативные details доступны с клавиатуры и работают даже без JavaScript. */
.help-band__faq { padding: 17px 20px; border-inline: 1px solid var(--color-border); }
.help-band__faq details:not(:last-child) { border-bottom: 1px solid var(--color-border); }
.help-band__faq summary { position: relative; padding: 11px 24px 11px 0; list-style: none; cursor: pointer; font-size: 13px; font-weight: 500; line-height: 1.45; color: var(--color-ink); overflow-wrap: anywhere; }
.help-band__faq summary::-webkit-details-marker { display: none; }
.help-band__faq summary::after { content: ''; position: absolute; right: 3px; top: 16px; width: 6px; height: 6px; border-right: 1px solid var(--color-primary); border-bottom: 1px solid var(--color-primary); transform: rotate(45deg); }
.help-band__faq details[open] summary::after { transform: rotate(225deg); top: 20px; }
.help-band__faq summary:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.help-band__answer { padding-bottom: 12px; font-size: 13px; line-height: 1.55; color: var(--color-soft); overflow-wrap: anywhere; }
.help-band__answer > :first-child { margin-top: 0; }
.help-band__answer > :last-child { margin-bottom: 0; }
.help-band__contact { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 16px; text-align: center; }
.help-band__contact > .dashicons { width: 30px; height: 30px; font-size: 30px; color: var(--color-primary); }
.help-band__contact p { margin: 0; font-size: 12px; line-height: 1.45; color: var(--color-soft); }
.help-band__contact .snt-button-transparent { width: 100%; min-height: 34px; padding: 8px 12px; font-size: 12px; }
.help-band__contact .icon{
	width: 45px;
	height: 45px;
	fill: var(--color-primary);
}

/* На планшете и телефоне контакт остаётся доступным, а не скрывается. */
@media (max-width: 1100px) {
	.help-band, .help-band--with-image { grid-template-columns: minmax(220px, 1fr) minmax(0, 2fr); }
	.help-band__image { display: none; }
	.help-band--with-image .help-band__heading { padding-left: 64px; }
	.help-band--with-image .help-band__question { left: 14px; }
	.help-band__faq { border-right: 0; grid-column: 2; grid-row: 1 / 3; }
	.help-band__contact { border-top: 1px solid var(--color-border); grid-column: 1; }
}
@media (max-width: 680px) {
	.help-band, .help-band--with-image { grid-template-columns: minmax(0, 1fr); }
	.help-band__heading { padding-block: 24px; }
	.help-band__faq { grid-column: 1; grid-row: auto; border: 0; border-top: 1px solid var(--color-border); padding: 10px 20px; }
	.help-band__contact { grid-row: auto; }
	.help-band__contact .snt-button-transparent { max-width: 220px; }
}
