/* Partner Network, FAQ and News, v9 partner-network.html / faq.html / blog.html. Scoped to .site[data-page="partner-network"], [data-page="faq"] and [data-page="blog"]. */

/*
   Ported from style.css's rules for these pages' own pieces — the partner strip and panel, the
   FAQ's closing prompt, the coming-soon cards — with tax-blog.css and the lux-v5, v7, v8 and v9
   rules that reach them, flattened: each value below is the one that wins v9's cascade. The banner,
   the type system (H2 Light, item titles in Inria Serif Italic, body Light at 16px, labels in
   Proof Blue), square corners, the panel's Soft Light Blue, the buttons, the prev/next pair and
   the footer are the shared sub-page layer's (site.css) and are not repeated.

   Colours are written out rather than read from site.css's tokens, as the other page files do:
   v8 F01 remapped the sub-pages' navy and ink to Proof Grey #545454, which the home page's tokens
   never took.
*/

/* ==== Partner Network ======================================================================= */

/* One section in v9: the head, the strip, then the invitation panel 60px under the strip. Here the
   panel is the next band (CtaBand's "panel"), so this section gives up its bottom padding and the
   panel its top, and the two read as the one section v9 draws. */
.site[data-page="partner-network"] .pn-wall { padding-bottom: 0; }
.site[data-page="partner-network"] .pn-wall + .cta-panel { padding-top: 0; }

/* The marks as one centred strip that wraps, every one the same height and none framed — v9's
   .partner-strip, which site.css's own .partner-strip (the interlocking tile wall) is not. */
.site[data-page="partner-network"] .pn-strip {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
    gap: 48px 56px; padding: 20px 0; margin-bottom: 60px;
}
.site[data-page="partner-network"] .pn-strip img {
    height: 34px; width: auto; opacity: .88;
    transition: opacity .3s ease, transform .3s ease;
}
.site[data-page="partner-network"] .pn-strip img:hover { opacity: 1; transform: translateY(-2px); }
@media (max-width: 720px) {
    .site[data-page="partner-network"] .pn-strip { gap: 30px 34px; }
    .site[data-page="partner-network"] .pn-strip img { height: 26px; }
}
@media (prefers-reduced-motion: reduce) {
    .site[data-page="partner-network"] .pn-strip img:hover { transform: none; }
}

/* The panel's heading is an h3 here, where v9 has an h4 (see CtaBand): v9's h4 size, and the
   shared layer's serif. Its words keep their column and the button its size as the panel wraps. */
.site[data-page="partner-network"] .partner-cta h3 { margin: 0; font-size: 1.3rem; line-height: 1.3; }
.site[data-page="partner-network"] .partner-cta > div { flex: 1 1 420px; min-width: 0; }
.site[data-page="partner-network"] .partner-cta p { max-width: 520px; }
.site[data-page="partner-network"] .partner-cta .btn { flex: none; }
@media (max-width: 560px) {
    .site[data-page="partner-network"] .partner-cta { padding: 28px 22px; }
}

/* ==== FAQ =================================================================================== */

/* The line and the button under the list: v9 sets them inline — centred, 50px down, the line at
   .92rem over 18px of room. The inline size beats every sheet's paragraph rule, so it holds here
   over the shared layer's 16px; the weight is still v8's Light. */
.site[data-page="faq"] .faq-more { margin-top: 50px; text-align: center; }
.site[data-page="faq"] .faq-more p {
    margin: 0 0 18px; font-size: .92rem; line-height: 1.7; font-weight: 400; color: #545454;
}

/* ==== News ================================================================================== */

/* v9's two coming-soon cards, side by side (tax-blog's grid), one column on a phone. */
.site:is([data-page="blog"], [data-page^="blog/"]) .nl-soon { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 760px) { .site:is([data-page="blog"], [data-page^="blog/"]) .nl-soon { grid-template-columns: minmax(0, 1fr); } }

/* tax-blog's h3 in place of style.css's h4, at the h4's size; lux-v5 took its weight to 400 and the
   shared layer sets the serif. The dashed Soft Light Blue card itself is site.css's, squared. */
.site[data-page="blog"] .coming-soon { width: 100%; }
.site[data-page="blog"] .coming-soon h3 { margin: 0 0 12px; font-size: 1.3rem; line-height: 1.3; }

/* ---- The posts ----
   v9 has none to draw yet, so the posts take the sub-pages' editorial column (v8 F20a): no fill
   and no shadow, a 2px Innovation Teal rule on top, the photograph square, the title in the item
   serif and the card's text Regular, as F34 keeps text under 16px. */
.site:is([data-page="blog"], [data-page^="blog/"]) .nl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 52px 40px; }
@media (max-width: 1000px) { .site:is([data-page="blog"], [data-page^="blog/"]) .nl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .site:is([data-page="blog"], [data-page^="blog/"]) .nl-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; } }

.site:is([data-page="blog"], [data-page^="blog/"]) .nl-card { display: flex; flex-direction: column; min-width: 0; border-top: 2px solid #0A89AA; padding-top: 24px; }
.site:is([data-page="blog"], [data-page^="blog/"]) .nl-ph { display: block; aspect-ratio: 16 / 10; overflow: hidden; margin-bottom: 20px; background: #EDF6F7; }
.site:is([data-page="blog"], [data-page^="blog/"]) .nl-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s cubic-bezier(.16, 1, .3, 1); }
.site:is([data-page="blog"], [data-page^="blog/"]) .nl-ph:hover img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .site:is([data-page="blog"], [data-page^="blog/"]) .nl-ph:hover img { transform: none; } }

.site:is([data-page="blog"], [data-page^="blog/"]) .nl-body { display: flex; flex-direction: column; flex: 1; }
.site:is([data-page="blog"], [data-page^="blog/"]) .nl-meta {
    margin: 0 0 10px; font-size: max(12px, .75rem); font-weight: 700; letter-spacing: .08em;
    text-transform: uppercase; line-height: 1.5; color: #545454;
}
.site:is([data-page="blog"], [data-page^="blog/"]) .nl-meta > * + *::before { content: "\00B7"; margin: 0 .6em; color: #0A89AA; }
.site:is([data-page="blog"], [data-page^="blog/"]) .nl-card h3 { margin: 0 0 12px; font-size: 1.25rem; line-height: 1.35; }
.site:is([data-page="blog"], [data-page^="blog/"]) .nl-card h3 a { color: inherit; transition: color .2s ease; }
.site:is([data-page="blog"], [data-page^="blog/"]) .nl-card h3 a:hover { color: #0A89AA; }
.site:is([data-page="blog"], [data-page^="blog/"]) .nl-excerpt p { margin: 0; font-size: max(15px, .94rem); line-height: 1.7; font-weight: 400; color: #545454; }
.site:is([data-page="blog"], [data-page^="blog/"]) .nl-excerpt p + p { margin-top: 10px; }

/* The link to the post and its topics, on the card's last line whatever the excerpt's length. */
.site:is([data-page="blog"], [data-page^="blog/"]) .nl-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: auto; padding-top: 18px; }
.site:is([data-page="blog"], [data-page^="blog/"]) .nl-foot .tag {
    font-size: max(12px, .75rem); font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    color: #0066B2; background: none; padding: 0; border-radius: 0;
}
.site:is([data-page="blog"], [data-page^="blog/"]) .nl-foot .tag:hover { color: #0A89AA; }

/* The topic filter as the Solution tabs are drawn (lux-v5 §3): words over a hairline, the current
   one underlined in Genero Yellow — no capsules, which v8 squared off everywhere else. */
.site:is([data-page="blog"], [data-page^="blog/"]) .nl-tags {
    display: flex; flex-wrap: wrap; gap: 0 28px; margin: 0 0 44px;
    border-bottom: 1px solid rgba(159, 162, 166, .45);
}
.site:is([data-page="blog"], [data-page^="blog/"]) .nl-tags a {
    padding: 14px 0 12px; margin-bottom: -1px; border-bottom: 2px solid transparent;
    font-size: max(12px, .76rem); font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    color: #545454; transition: color .25s ease, border-color .25s ease;
}
.site:is([data-page="blog"], [data-page^="blog/"]) .nl-tags a:hover { color: #0066B2; }
.site:is([data-page="blog"], [data-page^="blog/"]) .nl-tags a.is-active { color: #545454; border-bottom-color: #FFD41D; }

/* The page numbers: Home's button corner (4px, F18), Proof Blue for the page on show. */
.site:is([data-page="blog"], [data-page^="blog/"]) .nl-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 60px; }
.site:is([data-page="blog"], [data-page^="blog/"]) .nl-pager a {
    min-width: 40px; padding: 9px 14px; text-align: center; border: 1px solid rgba(159, 162, 166, .6); border-radius: 4px;
    font-size: .86rem; font-weight: 700; color: #545454; transition: border-color .2s ease, color .2s ease;
}
.site:is([data-page="blog"], [data-page^="blog/"]) .nl-pager a:hover { border-color: #0066B2; color: #0066B2; }
.site:is([data-page="blog"], [data-page^="blog/"]) .nl-pager a.is-active { background: #0066B2; border-color: #0066B2; color: #fff; }

.site:is([data-page="blog"], [data-page^="blog/"]) .nl-status { margin: 0; font-size: max(16px, 1rem); line-height: 1.72; font-weight: 400; color: #545454; }

/* =============================================================================================
   News, October 2026 design ("news", mockup v10 css/page-blog.css). The banner is subpage.css's.
   Mockup → here: .nw-filter = .nl-tags (links rather than radios: the filter is the server's),
   .nw-card = .nl-card, .nw-ph = .nl-ph, .nw-date = .nl-meta, .nw-ex = .nl-excerpt, .nw-foot =
   .nl-foot, .nw-cat = .nl-foot .tag. Sizes are the 1920 design's × 0.75 (≈ 1440).
   ============================================================================================= */

/* The tabs: capitals, the active one underlined 3px yellow over a 1px grey rule. */
.site:is([data-page="blog"], [data-page^="blog/"]) .nl-tags {
    position: relative; display: flex; flex-wrap: wrap; gap: 0 clamp(22px, 2.1vw, 40px);
    margin: clamp(-10px, -.6vw, 0px) 0 clamp(36px, 3.2vw, 61px); border-bottom: 1px solid #DCDDDD;
}
.site:is([data-page="blog"], [data-page^="blog/"]) .nl-tags a {
    position: relative; display: block; padding: 0 0 clamp(18px, 1.4vw, 26px); border: 0;
    font-family: var(--font-body); font-size: clamp(.72rem, .78vw, .95rem); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft);
}
.site:is([data-page="blog"], [data-page^="blog/"]) .nl-tags a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: #FFCE03; transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.site:is([data-page="blog"], [data-page^="blog/"]) .nl-tags a:hover { color: var(--teal); }
.site:is([data-page="blog"], [data-page^="blog/"]) .nl-tags a.is-active { color: #313131; border-bottom-color: transparent; }
.site:is([data-page="blog"], [data-page^="blog/"]) .nl-tags a.is-active::after { transform: none; }

/* The grid: three across (555 / gap 54 at 1920). Each card: a 3px teal rule, the photograph at 1.6:1,
   the date above the title, the title, the summary, then Read More and the category on one line at
   the foot. Since mockup v11 (feedback slide 6, 16 Nov 2026) the card's type is the Home page's
   Latest News card's — Montserrat SemiBold title, black, and the same sizes at every width. */
.site:is([data-page="blog"], [data-page^="blog/"]) .nl-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(48px, 4.5vw, 86px) 3.05%; }
.site:is([data-page="blog"], [data-page^="blog/"]) .nl-card { border-top: 3px solid var(--teal); padding-top: clamp(22px, 1.75vw, 34px); }
.site:is([data-page="blog"], [data-page^="blog/"]) .nl-ph { aspect-ratio: 1.6 / 1; margin-bottom: clamp(22px, 1.75vw, 34px); background: none; }
.site:is([data-page="blog"], [data-page^="blog/"]) .nl-meta {
    margin: 0 0 clamp(12px, 1.25vw, 24px); font-family: var(--font-body); font-size: clamp(12px, .885vw, 17px);
    font-weight: 700; line-height: 1.2; letter-spacing: .05em; text-transform: uppercase; color: #505050;
}
.site:is([data-page="blog"], [data-page^="blog/"]) .nl-card h3 {
    margin: 0 0 clamp(14px, 1.2vw, 24px); font-family: var(--font-body); font-style: normal; font-weight: 600;
    font-size: 1rem; line-height: 1.45; color: #000; letter-spacing: 0;
}
.site:is([data-page="blog"], [data-page^="blog/"]) .nl-excerpt p { font-size: .79rem; line-height: 1.75; font-weight: 400; color: #000; }
.site:is([data-page="blog"], [data-page^="blog/"]) .nl-foot { align-items: baseline; gap: 8px clamp(14px, 1.15vw, 22px); padding-top: clamp(26px, 2.3vw, 44px); }
.site:is([data-page="blog"], [data-page^="blog/"]) .nl-foot .tlink { color: #0A89AA; font-size: .72rem; font-weight: 700; border-bottom: 2px solid currentColor; padding-bottom: 6px; gap: 10px; }
.site:is([data-page="blog"], [data-page^="blog/"]) .nl-foot .tlink .ga-icon { width: 12px; }
.site:is([data-page="blog"], [data-page^="blog/"]) .nl-foot .tag { font-size: .95rem; font-weight: 600; letter-spacing: .04em; text-transform: none; color: #2A2E30; }

@media (max-width: 1080px) { .site:is([data-page="blog"], [data-page^="blog/"]) .nl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 52px 28px; } }
@media (max-width: 640px) {
    .site:is([data-page="blog"], [data-page^="blog/"]) .nl-grid { grid-template-columns: 1fr; gap: 44px; }
    .site:is([data-page="blog"], [data-page^="blog/"]) .nl-tags { gap: 0 22px; }
}

/* Wide screens (mockup v11, W-03 and decision C, 9 Nov 2026): above 1440 the spaces between the tabs,
   the cards and their parts stop at their 1440 values (1vw = 14.4px), and so does the date's size,
   rather than growing to the 1920 design's. */
@media (min-width: 1441px) {
    .site:is([data-page="blog"], [data-page^="blog/"]) .nl-tags { gap: 0 30.24px; margin: -8.64px 0 46.08px; }
    .site:is([data-page="blog"], [data-page^="blog/"]) .nl-tags a { padding-bottom: 20.16px; }
    .site:is([data-page="blog"], [data-page^="blog/"]) .nl-grid { row-gap: 64.8px; }
    .site:is([data-page="blog"], [data-page^="blog/"]) .nl-card { padding-top: 25.2px; }
    .site:is([data-page="blog"], [data-page^="blog/"]) .nl-ph { margin-bottom: 25.2px; }
    .site:is([data-page="blog"], [data-page^="blog/"]) .nl-meta { margin-bottom: 18px; font-size: 12.744px; }
    .site:is([data-page="blog"], [data-page^="blog/"]) .nl-card h3 { margin-bottom: 17.28px; }
    .site:is([data-page="blog"], [data-page^="blog/"]) .nl-foot { column-gap: 16.56px; padding-top: 33.12px; }
}

/* =============================================================================================
   An article (mockup v11 news-detail.html and css/page-news-detail.css; feedback slide 5, 16 Nov
   2026: the page had no margins). /blog/<slug>, so its data-page starts "blog/". The banner is the
   News page's, its title a paragraph; the head, the cover with the News card's 3px teal rule, the
   reading column of 65ch, three News cards under "Latest News / Article", and the pager. Sizes in
   vw stop at their 1440 values above 1440.
   ============================================================================================= */
.site .sh-white .sh-title {
    margin: 0; font-family: var(--font-body); font-style: normal; font-weight: 400;
    font-size: 1em; line-height: 1.15; letter-spacing: -.01em; color: #008AAB;
}
.site[data-page^="blog/"] .nd-article { padding: clamp(44px, 4.2vw, 60px) 0 0; }
.site[data-page^="blog/"] .nd-head { max-width: 980px; }
.site[data-page^="blog/"] .nd-back {
    display: inline-flex; align-items: center; gap: 10px; margin: 0 0 clamp(28px, 2.5vw, 36px);
    font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); transition: color .2s;
}
.site[data-page^="blog/"] .nd-back .ga-icon { width: 12px; }
.site[data-page^="blog/"] .nd-back:hover { color: var(--teal); }
.site[data-page^="blog/"] .nd-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; margin: 0 0 clamp(16px, 1.5vw, 22px); }
.site[data-page^="blog/"] :is(.nd-date, .nd-cat) {
    font-family: var(--font-body); font-size: clamp(12px, .885vw, 17px); font-weight: 700; line-height: 1.2;
    letter-spacing: .05em; text-transform: uppercase; color: #505050;
}
/* The category takes the News card's .nw-cat size in mockup v11, a touch under the date's. */
.site[data-page^="blog/"] .nd-cat { font-size: clamp(.72rem, .86vw, 1.03rem); }
.site[data-page^="blog/"] .nd-cat:hover { color: var(--teal); }
.site[data-page^="blog/"] .nd-sep { width: 1px; height: 14px; background: #C9CBCD; }
.site[data-page^="blog/"] .nd-title {
    margin: 0; max-width: 26em; font-family: var(--font-body); font-style: normal; font-weight: 600;
    font-size: 2rem; line-height: 1.25; letter-spacing: 0; color: #545454;
}
.site[data-page^="blog/"] .nd-cover { margin: clamp(32px, 3.1vw, 44px) 0 0; padding-top: clamp(22px, 1.75vw, 25px); border-top: 3px solid var(--teal); }
.site[data-page^="blog/"] .nd-ph { aspect-ratio: 2.4 / 1; overflow: hidden; background: #EDF6F7; }
.site[data-page^="blog/"] .nd-ph img { display: block; width: 100%; height: 100%; object-fit: cover; }

.site[data-page^="blog/"] .nd-body { max-width: 65ch; margin: clamp(36px, 3.3vw, 48px) 0 0; color: #545454; font-size: 1.06rem; line-height: 1.9; font-weight: 400; }
.site[data-page^="blog/"] .nd-body > :first-child { margin-top: 0; }
.site[data-page^="blog/"] .nd-body > :last-child { margin-bottom: 0; }
.site[data-page^="blog/"] .nd-body p { margin: 0 0 1.25em; }
.site[data-page^="blog/"] .nd-body > p:first-child { font-size: clamp(1.12rem, 1.35vw, 1.22rem); line-height: 1.75; font-weight: 400; }
.site[data-page^="blog/"] .nd-body h2 { margin: 2em 0 .7em; font-family: var(--font-body); font-weight: 400; font-size: clamp(1.4rem, 1.8vw, 1.62rem); line-height: 1.3; color: #545454; letter-spacing: -.005em; }
.site[data-page^="blog/"] .nd-body h3 { margin: 1.8em 0 .5em; font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: 1.3rem; line-height: 1.35; color: #545454; }
.site[data-page^="blog/"] .nd-body strong { font-weight: 700; }
.site[data-page^="blog/"] .nd-body a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.site[data-page^="blog/"] .nd-body :is(ul, ol) { margin: 0 0 1.25em; padding-left: 1.3em; }
.site[data-page^="blog/"] .nd-body li { margin: 0 0 .45em; padding-left: .3em; }
.site[data-page^="blog/"] .nd-body li::marker { color: var(--teal); }
.site[data-page^="blog/"] .nd-body ol li::marker { font-weight: 700; }
.site[data-page^="blog/"] .nd-body blockquote { margin: 1.8em 0; padding: .2em 0 .2em 1.3em; border-left: 3px solid #EFC100; font-family: var(--font-display); font-style: italic; font-size: 1.25rem; line-height: 1.55; }
.site[data-page^="blog/"] .nd-body figure { margin: 2em 0; }
.site[data-page^="blog/"] .nd-body figure img { display: block; width: 100%; height: auto; }
.site[data-page^="blog/"] .nd-body figcaption { margin-top: 10px; font-size: .82rem; line-height: 1.5; font-weight: 400; color: #6B6E70; }
.site[data-page^="blog/"] .nd-body table { width: 100%; margin: 1.8em 0; border-collapse: collapse; font-size: .92rem; line-height: 1.6; }
.site[data-page^="blog/"] .nd-body :is(th, td) { padding: 12px 14px; border-bottom: 1px solid #DCDDDD; text-align: left; vertical-align: top; }
.site[data-page^="blog/"] .nd-body th { font-weight: 700; color: #313131; border-bottom: 2px solid var(--teal); }

/* Latest News / Article: News cards, the heading and View All on one line, a grey rule above. */
.site[data-page^="blog/"] .nd-more { margin-top: clamp(56px, 5.5vw, 80px); }
.site[data-page^="blog/"] .nd-more > .container { position: relative; }
.site[data-page^="blog/"] .nd-more > .container::before { content: ""; position: absolute; left: 22px; right: 22px; top: calc(-1 * var(--sec-y)); border-top: 1px solid #DCDDDD; }
.site[data-page^="blog/"] .nd-more-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-bottom: clamp(36px, 3.2vw, 46px); }
.site[data-page^="blog/"] .nd-more-head .section-head { margin: 0; }
.site[data-page^="blog/"] .nd-all { color: var(--blue); font-size: .94rem; font-weight: 700; border-bottom: 2px solid currentColor; padding-bottom: 6px; gap: 10px; }
.site[data-page^="blog/"] .nd-all .ga-icon { width: 12px; }

/* The pager: a long title held to two lines. */
.site[data-page^="blog/"] .nd-pagenav .ttl { max-width: 24em; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }

@media (max-width: 760px) {
    .site[data-page^="blog/"] .nd-ph { aspect-ratio: 1.6 / 1; }
    .site[data-page^="blog/"] .nd-body { font-size: 1rem; }
    .site[data-page^="blog/"] .nd-body > p:first-child { font-size: 1.08rem; }
    .site[data-page^="blog/"] .nd-more-head { align-items: flex-start; }
}
@media (min-width: 1441px) {
    .site[data-page^="blog/"] .nd-date { font-size: .796rem; }
    .site[data-page^="blog/"] .nd-cat { font-size: .774rem; }
    .site[data-page^="blog/"] .nd-article { padding-top: 60.48px; }
    .site[data-page^="blog/"] .nd-meta { margin-bottom: 21.6px; }
    .site[data-page^="blog/"] .nd-cover { margin-top: 44.64px; padding-top: 25.2px; }
    .site[data-page^="blog/"] .nd-body { margin-top: 47.52px; }
    .site[data-page^="blog/"] .nd-body > p:first-child { font-size: 19.44px; }
    .site[data-page^="blog/"] .nd-more { margin-top: 79.2px; }
    .site[data-page^="blog/"] .nd-more-head { margin-bottom: 46.08px; }
}

/* The News band's standfirst at lux-v5's sub-page paragraph size (max(15px, .98rem) / 1.72), as mockup v11
   renders it; v9's 16px floor loses to lux-v5 there on specificity. */
.site[data-page="blog"] .section-head p { font-size: max(15px, .98rem); line-height: 1.72; }
