div.across ul
{
    width:100%;
    display:block;
    list-style:none
}
div.across ul li
{
    float:left;
    display:block;
    width:9em
}
/* ------------------------------------------------------------------
   Documentation home page (index.md). Everything is scoped under .nh so the
   rest of the site is unaffected.
   ------------------------------------------------------------------ */
.nh {
    --nh-green: #005b0c;
    --nh-green-dark: #003d08;
    --nh-green-soft: #e8f3ea;
    --nh-ink: #1b1f23;
    --nh-muted: #57606a;
    --nh-border: #d8dee4;
    --nh-surface: #ffffff;
    --nh-radius: 12px;
    color: var(--nh-ink);
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: 48px;
}
.nh a { text-decoration: none; }
.nh h1, .nh h2, .nh h3 { font-weight: 600; letter-spacing: -0.01em; }
.nh code { background: var(--nh-green-soft); color: var(--nh-green-dark); padding: 1px 5px; border-radius: 4px; }


/* Hero */
.nh-hero {
    display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 32px; align-items: center;
    padding: 40px; border-radius: 16px; color: #fff;
    background:
        radial-gradient(circle at 85% 15%, rgba(255, 255, 255, .12), transparent 45%),
        linear-gradient(135deg, var(--nh-green-dark) 0%, var(--nh-green) 55%, #0a7a3b 100%);
}
.nh-eyebrow { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.nh-hero h1 { margin: 0 0 16px; font-size: 40px; line-height: 1.15; color: #fff; }
.nh-lead { font-size: 17px; margin: 0 0 24px; opacity: .92; max-width: 36em; }
.nh-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.nh-btn {
    display: inline-block; padding: 9px 18px; border-radius: 8px; font-weight: 600;
    color: #fff !important; border: 1px solid rgba(255, 255, 255, .45); transition: background .15s;
}
.nh-btn:hover, .nh-btn:focus { background: rgba(255, 255, 255, .12); }
.nh-btn-primary { background: #fff; border-color: #fff; color: var(--nh-green-dark) !important; }
.nh-btn-primary:hover, .nh-btn-primary:focus { background: var(--nh-green-soft); }
.nh-popular { margin: 0; font-size: 13px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.nh-popular span { opacity: .75; margin-right: 2px; }
.nh-popular a {
    color: #fff; background: rgba(255, 255, 255, .12); padding: 3px 10px; border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .2);
}
.nh-popular a:hover, .nh-popular a:focus { background: rgba(255, 255, 255, .22); }
.nh-hero-code {
    background: #fff; border-radius: 10px; overflow: hidden;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .25);
}
.nh-code-title {
    display: flex; align-items: center; gap: 6px; padding: 8px 12px;
    background: #f3f5f7; border-bottom: 1px solid var(--nh-border); color: var(--nh-muted); font-size: 12px;
}
.nh-code-title span { width: 10px; height: 10px; border-radius: 50%; background: #d0d7de; }
.nh-code-title span:nth-child(3) { margin-right: 6px; }
.nh-hero-code { min-width: 0; }
.nh-hero-code pre { overflow-x: auto; word-wrap: normal; white-space: pre; margin: 0; border: 0; border-radius: 0; background: #fff; font-size: 13px; }
.nh-hero-code pre code { white-space: pre; word-wrap: normal; background: none; color: inherit; padding: 0; }

/* Sections */
.nh-section { margin-top: 40px; }
.nh-grid { display: grid; gap: 16px; }
.nh-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: row dense; }

/* Cards */
.nh-card {
    background: var(--nh-surface); border: 1px solid var(--nh-border); border-radius: var(--nh-radius);
    padding: 20px; transition: border-color .15s, box-shadow .15s;
}
.nh-card:hover, .nh-card:focus-within {
    border-color: var(--nh-green); box-shadow: 0 6px 20px rgba(0, 91, 12, .12);
}
.nh-card h2 { font-size: 18px; margin: 12px 0 4px; }
.nh-card h2 a { color: var(--nh-ink); }
.nh-card h2 a:hover { color: var(--nh-green); }
.nh-card h3 {
    font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
    color: var(--nh-muted); margin: 16px 0 6px;
}
.nh-card p { color: var(--nh-muted); margin: 0 0 12px; }
.nh-card ul { list-style: none; padding: 0; margin: 0; }
.nh-card li { padding: 3px 0; }
.nh-card li a { color: var(--nh-green); }
.nh-card li a::before { content: "\203A"; margin-right: 8px; opacity: .6; }
.nh-card li a:hover { text-decoration: underline; }

/* Writing tests is the main message, so it gets the tall, highlighted card */
.nh-card-featured {
    grid-row: span 2; border: 2px solid var(--nh-green);
    background: linear-gradient(180deg, var(--nh-green-soft) 0%, var(--nh-surface) 55%);
}
.nh-card-featured h2 { font-size: 22px; }
.nh-card-featured > ul:first-of-type li { padding: 5px 0; font-size: 16px; font-weight: 600; }

.nh-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 10px; background: var(--nh-green-soft);
}
.nh-card-featured .nh-icon { background: var(--nh-green); }
.nh-card-featured .nh-icon svg { stroke: #fff; }
.nh-icon svg {
    width: 22px; height: 22px; fill: none; stroke: var(--nh-green);
    stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

.nh-community { margin-top: 32px; text-align: center; color: var(--nh-muted); }
.nh-community a { color: var(--nh-green); font-weight: 600; }

@media (max-width: 991px) {
    .nh-hero { grid-template-columns: minmax(0, 1fr); padding: 28px 20px; }
    .nh-hero h1 { font-size: 30px; }
    .nh-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .nh-grid-3 { grid-template-columns: minmax(0, 1fr); }
    .nh-card-featured { grid-row: auto; }
}
@media (prefers-reduced-motion: reduce) {
    .nh-card, .nh-btn { transition: none; }
}

/* Archive: a low-key, full-width strip at the bottom */
.nh-card-wide { grid-column: 1 / -1; background: #f6f8fa; }
.nh-card-wide ul { columns: 3 220px; column-gap: 24px; }

/* ------------------------------------------------------------------
   Contribution links on narrow screens (nunit/docs#768).

   The default template renders "Improve this Doc" / "View Source" inside the
   fixed right-hand affix column and hides that column below 992px (Bootstrap
   `hidden-sm` on the wrapper, plus `.sideaffix { display: none }` under 768px
   in docfx.css). custom_template/partials/affix.tmpl.partial drops the
   `hidden-sm` class; these rules turn the column into a plain footer row under
   the article on phones and tablets. The "In this article" nav keeps its own
   `hidden-xs hidden-sm` classes, so only the contribution links appear. The query is
   limited to `screen` so the print rule in docfx.css, which hides the affix,
   still wins when an article is printed or saved as a PDF.
   ------------------------------------------------------------------ */
@media screen and (max-width: 991px) {
    .sideaffix {
        display: block;
        position: static;
        margin-top: 0;
        max-height: none;
        overflow: visible;
        font-size: inherit;
    }
    .sideaffix > div.contribution {
        margin: 24px 0 0;
        padding-top: 12px;
        border-top: 1px solid #e7e7e7;
    }
    .sideaffix > div.contribution > ul.nav {
        display: flex;
        flex-wrap: wrap;
        gap: 4px 8px;
    }
    .sideaffix > div.contribution > ul.nav > li > a.contribution-link {
        display: inline-block;
        padding: 8px 12px;
        border: 1px solid #e7e7e7;
        border-radius: 4px;
    }
}