:root {
  --help-bg-section: #f2f8f0;   /* Светлый фон */
  --help-text-main: #2a4d29;    /* Темно-зеленый */
  --help-text-muted: #7a8c68;   /* Пастельный оливковый */
  --help-accent: #6a8c42;       /* Акцентный зеленый */
}

/* ===== Section ===== */
.help-section {
  background: var(--help-bg-section);
  padding: 56px 20px;
}

.help-container {
  max-width: 1400px;
  margin: 0 auto;
}

/* ===== Header ===== */
.help-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
}

.help-section-title {
  font-size: clamp(28px, 3vw, 36px);
  margin: 0 0 8px;
  font-weight: 700;
  color: var(--help-text-main);
}

.help-section-subtitle {
  font-size: 16px;
  color: var(--help-text-muted);
}

/* ===== Grid ===== */
.help-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  content-visibility: auto;
}

/* ===== Card ===== */
.help-card {
  contain: layout style paint;
}

.help-link {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}

/* ===== Media ===== */
.help-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 10px;
}

.help-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== Content ===== */
.help-content {
  padding-inline: 4px;
}

.help-title {
  font-size: 20px;
  line-height: 1.35;
  margin: 0 0 6px;
  transition: color 0.25s ease;
  color: var(--help-text-main);
}

.help-meta {
  font-size: 14px;
  color: var(--help-text-muted);
}

/* ===== Hover (safe) ===== */
@media (hover: hover) {
  .help-link:hover .help-title {
    color: var(--help-accent);
    text-decoration: underline;
    text-underline-offset: 4px;
  }
}

/* ===== Focus ===== */
.help-link:focus-visible {
  outline: 2px solid var(--help-accent);
  outline-offset: 4px;
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

/* ===== Mobile ===== */
@media (max-width: 900px) {
  .help-grid {
    grid-template-columns: 1fr;
  }
}
