/* Help pages (/help). Desktop (Views/Help/*.cshtml, Site.Master): a sidebar (search, categories, this article's sections,
   contact) and the content, inside the site's 980px column. Phones (*.mobile.cshtml, Site.mobile.Master): one column,
   .help-page--mobile. Site colours: links #006699, accent #d9950e, panels #f6f2e4. */

/* The title strip shows the site's "Help" title image (#titleHelp in tds.images*.css), like every other page; the page's
   own heading (a category, search results) starts the content instead. */
.help-page-heading { font-size: 22px; color: #333; margin: 0 0 14px; }

.help-page { font-family: Arial, Helvetica, sans-serif; color: #333; }
.help-page:not(.help-page--mobile) { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 32px; align-items: start; padding: 24px 20px 40px; }

/* Desktop: "How can we help?" across the top. Visitors can type a question; search ignores the little words. */
.help-ask { margin: 24px 20px 0; padding: 18px 22px 20px; border: 1px solid #ddd8c6; border-left: 5px solid #d9950e; border-radius: 6px; background: #fbf9f2; font-family: Arial, Helvetica, sans-serif; }
.help-ask-title { display: block; margin-bottom: 10px; font-size: 20px; font-weight: bold; color: #333; }
.help-ask .help-search { margin: 0; }
.help-ask .help-search input { padding: 11px 14px; font-size: 17px; }
.help-ask .help-search button { padding: 0 24px; font-size: 16px; }

/* Search */
.help-search { display: flex; gap: 6px; margin-bottom: 16px; }
.help-search input { flex: 1; min-width: 0; padding: 7px 9px; border: 1px solid #b9b39e; border-radius: 4px; font-size: 14px; }
.help-search button { padding: 7px 12px; border: 0; border-radius: 4px; background: #006699; color: #fff; font-weight: bold; cursor: pointer; }

/* Sidebar: categories and articles, this article's sections */
.help-sidebar { position: sticky; top: 12px; font-size: 14px; }
.help-nav-home { display: block; margin-bottom: 10px; font-weight: bold; color: #006699; }
.help-nav-category { margin-bottom: 12px; }
.help-nav-category > a { font-weight: bold; color: #333; text-decoration: none; }
.help-nav-category ul, .help-toc-list { list-style: none; margin: 4px 0 0; padding: 0; }
.help-nav-category li a, .help-toc-list li a { display: block; padding: 4px 8px; border-left: 3px solid transparent; color: #006699; text-decoration: none; }
.help-nav-category li a:hover, .help-toc-list li a:hover { background: #f6f2e4; }
.help-nav-category li.current a { border-left-color: #d9950e; background: #f6f2e4; font-weight: bold; }
.help-toc { margin-top: 18px; padding-top: 12px; border-top: 1px solid #ddd8c6; }
.help-toc-title { font-weight: bold; margin-bottom: 4px; }

/* Can't find it? Contact us */
.help-contact { margin-top: 20px; padding: 10px 12px; border-left: 4px solid #006699; background: #eef6fa; font-size: 14px; }
.help-contact-title { font-weight: bold; margin-bottom: 4px; }
.help-contact a { color: #006699; font-weight: bold; }

/* Categories and article cards */
.help-category { margin-bottom: 26px; }
.help-category h2 { font-size: 19px; margin: 0 0 4px; }
.help-category h2 a { color: #333; text-decoration: none; }
.help-category-summary { color: #666; margin: 0 0 10px; }
.help-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.help-card { display: block; padding: 14px; border: 1px solid #ddd8c6; border-left: 4px solid #d9950e; border-radius: 4px; background: #fff; text-decoration: none; }
.help-card:hover { background: #f6f2e4; }
.help-card-title { display: block; font-weight: bold; color: #006699; margin-bottom: 4px; }
.help-card-summary { display: block; color: #555; font-size: 14px; }

/* The article (rendered Markdown) */
.help-breadcrumb { font-size: 13px; color: #777; margin-bottom: 10px; }
.help-breadcrumb a { color: #006699; }
.help-quick-start { float: right; margin: 0 0 12px 16px; padding: 8px 12px; border: 1px solid #006699; border-radius: 4px; color: #006699; font-weight: bold; text-decoration: none; }
.help-quick-start::before { content: "\2193  "; }
.help-article { font-size: 15px; line-height: 1.5; }
.help-article h1 { font-size: 24px; color: #006699; margin: 0 0 12px; }
.help-article h2 { font-size: 20px; color: #333; margin: 30px 0 10px; padding-top: 10px; border-top: 1px solid #ddd8c6; scroll-margin-top: 12px; }
.help-article h3 { font-size: 16px; color: #333; margin: 20px 0 6px; }
.help-article img { max-width: 100%; height: auto; margin: 6px 10px 10px 0; border: 1px solid #ccc; border-radius: 10px; vertical-align: top; }
/* Notes and warnings (Markdown blockquotes): a light blue box with an "i", so they read as a tip, not as a heading or the
   orange "How can we help?" box. */
.help-article blockquote { position: relative; margin: 16px 0; padding: 10px 16px 10px 48px; border: 1px solid #c3dbe7; border-radius: 6px; background: #f0f7fb; font-size: 14px; color: #333; }
.help-article blockquote::before { content: "i"; position: absolute; left: 15px; top: 12px; width: 20px; height: 20px; border-radius: 50%; background: #006699; color: #fff; font: bold italic 14px/20px Georgia, "Times New Roman", serif; text-align: center; }
.help-article blockquote p { margin: 4px 0; }
.help-article blockquote ul { margin: 4px 0; padding-left: 20px; }
.help-article table { border-collapse: collapse; margin: 10px 0 16px; }
.help-article th, .help-article td { border: 1px solid #ddd8c6; padding: 6px 10px; text-align: left; vertical-align: top; }
.help-article th { background: #f6f2e4; }
.help-article a { color: #006699; }

/* Search results */
.help-results { padding-left: 20px; }
.help-results li { margin-bottom: 16px; }
.help-result-title { font-weight: bold; color: #006699; }
.help-result-section { color: #333; }
.help-result-snippet { margin: 2px 0 0; color: #555; font-size: 14px; }

/* Phones (the .mobile views): one column; "In this article" folds away; screenshots two to a row. */
.help-page--mobile { padding: 10px 0 30px; }
.help-page--mobile .help-cards { grid-template-columns: 1fr; }
.help-page--mobile .help-search { width: 100%; margin: 4px 0 14px; }
.help-page--mobile .help-search input { box-sizing: border-box; width: auto; margin: 0; padding: 9px 10px; font-size: 16px; }   /* 16px: iPhones don't zoom in on focus */
.help-page--mobile .help-search button { flex: none; margin: 0; padding: 0 16px; font-size: 15px; }
.help-page--mobile .help-toc { margin: 0 0 12px; padding: 8px 10px; border: 1px solid #ddd8c6; border-radius: 4px; }
.help-page--mobile .help-toc summary { font-weight: bold; cursor: pointer; }
.help-page--mobile .help-quick-start { float: none; display: inline-block; margin: 0 0 12px; }
.help-page--mobile .help-article img { width: 46%; margin-right: 2%; }
.help-page--mobile .help-nav { margin-top: 24px; padding-top: 12px; border-top: 1px solid #ddd8c6; font-size: 15px; }
.help-page--mobile > .help-nav-home { margin-top: 18px; }
.help-more { margin-top: 24px; padding-top: 12px; border-top: 1px solid #ddd8c6; font-size: 15px; }
.help-more-title { font-weight: bold; margin-bottom: 4px; }
.help-more ul { list-style: none; margin: 0 0 14px; padding: 0; }
.help-more li a { display: block; padding: 6px 8px; border-left: 3px solid transparent; color: #006699; text-decoration: none; }
