/* Category previews: a small directory of useful published guides. */
.help-category-directory { background: #fff; }
.help-directory-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 52px; }
.help-directory-empty-state { grid-column: 1 / -1; }
.help-directory-category { min-width: 0; display: flex; flex-direction: column; }
.help-directory-heading { display: flex; align-items: center; gap: 11px; padding-bottom: 17px; border-bottom: 1px solid #e1e8e4; }
.help-directory-icon { display: flex; align-items: center; justify-content: center; flex: 0 0 32px; width: 32px; height: 32px; background: #eef8f2; border-radius: 8px; }
.help-directory-icon img { width: 21px; height: 21px; }
.help-directory-heading h3 { min-width: 0; flex: 1; margin: 0; color: #101c35; font-size: 17px; font-weight: 600; line-height: 1.45; overflow-wrap: anywhere; }
.help-directory-heading h3 a { color: inherit; text-decoration: none; }
.help-directory-heading h3 a:hover { color: #026738; }
.help-directory-count { flex-shrink: 0; color: #738079; font-size: 11px; white-space: nowrap; }
.help-directory-links { list-style: none; margin: 12px 0 18px; padding: 0; }
.help-directory-links a { display: grid; grid-template-columns: minmax(0, 1fr) 17px; align-items: start; gap: 12px; padding: 10px 0; color: #41576a; font-size: 14px; line-height: 1.65; text-decoration: none; }
.help-directory-links a:hover { color: #026738; }
.help-directory-links a > span { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; }
.help-directory-links img { width: 17px; height: 17px; margin-top: 3px; }
.help-directory-empty { color: #738079; font-size: 13px; line-height: 1.65; padding: 22px 0; margin: 0 0 12px; }
.help-directory-all { display: inline-flex; align-items: center; align-self: flex-start; gap: 7px; margin-top: auto; color: #026738; font-size: 13px; font-weight: 600; text-decoration: none; }
.help-directory-all img { width: 16px; height: 16px; }
.help-directory-all:hover { color: #03522e; text-decoration: underline; text-underline-offset: 4px; }
.help-directory-category a:focus-visible { outline: 2px solid #07824d; outline-offset: 4px; border-radius: 3px; }

/* One readable row style for article and blog lists. */
.content-list { display: grid; gap: 12px; }
.content-list-item { display: grid; grid-template-columns: 40px minmax(0, 1fr) 18px; align-items: center; gap: 15px; min-height: 78px; padding: 15px 18px; border: 1px solid #dce5e0; border-radius: 10px; background: #fff; color: #101c35; text-decoration: none; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.content-list-item:hover { color: #026738; border-color: #a5cbb7; background: #fcfefc; box-shadow: 0 3px 12px rgba(16, 65, 39, .05); }
.content-list-item:focus-visible { outline: 2px solid #07824d; outline-offset: 3px; }
.content-list-icon { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: #edf7f1; }
.content-list-icon img { width: 22px; height: 22px; }
.content-list-copy { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.content-list-title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; font-size: 15px; font-weight: 600; line-height: 1.5; }
.content-list-summary { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #718078; font-size: 12.5px; line-height: 1.65; }
.content-list-meta { display: block; color: #28714a; font-size: 11px; line-height: 1.5; }
.content-list-arrow { display: flex; align-items: center; justify-content: center; }
.content-list-arrow img { width: 18px; height: 18px; }
.help-popular-section .help-immediate-card { height: auto; border: 1px solid #dce5e0; background: #f7fbf8; box-shadow: none; }

@media (max-width: 991px) {
    .help-directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; }
}

@media (max-width: 767px) {
    .help-directory-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
    .help-directory-heading h3 { font-size: 16px; }
    .content-list-item { grid-template-columns: 34px minmax(0, 1fr) 16px; gap: 11px; padding: 14px; }
    .content-list-icon { width: 34px; height: 34px; border-radius: 8px; }
    .content-list-icon img { width: 20px; height: 20px; }
    .content-list-title { font-size: 14px; }
    .content-list-summary { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; white-space: normal; overflow-wrap: anywhere; }
    .content-list-arrow img { width: 16px; height: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    .content-list-item { transition: none; }
}
