/* Analize: the index cards (/analize/) and the report-only pieces of the NVIDIA page (/analize/cazul-nvidia/).
   The report page builds on article.css (hero, contents list, reading column, notes). */

  /* ------------------------------------------------------------ index */
  .an-hero .lead { margin: 24px 0 0; max-width: 60ch; font-size: clamp(1.05rem, 1.3vw, 1.1875rem); line-height: 1.6; color: var(--mist); }
  .an-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px clamp(32px, 5vw, 80px); }
  .an-card { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(20px, 2.6vw, 36px); align-items: start; }
  .an-cover { display: block; aspect-ratio: 210 / 297; overflow: hidden; background: var(--navy); box-shadow: 0 1px 2px rgba(9, 22, 51, .12), 0 18px 40px -18px rgba(9, 22, 51, .45); transition: transform .35s ease, box-shadow .35s ease; }
  .an-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
  .an-card:hover .an-cover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(9, 22, 51, .12), 0 26px 50px -18px rgba(9, 22, 51, .5); }
  .an-copy { padding-top: 6px; }
  .an-kicker { display: flex; flex-wrap: wrap; align-items: center; margin: 0 0 14px; font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--eu-blue); }
  .an-kicker .dot { margin: 0 .7em; }
  .an-card h2 { margin: 0; font-weight: var(--head); font-size: clamp(1.25rem, 1.6vw, 1.5rem); line-height: 1.2; letter-spacing: -0.005em; }
  .an-card h2 a { color: var(--text); text-decoration: none; }
  .an-card h2 a:hover { color: var(--eu-blue-lift); }
  .an-text { margin: 14px 0 0; font-size: 1rem; line-height: 1.55; color: var(--text-soft); }
  .an-more { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding-top: 12px; border-top: 1px solid var(--rule-light); font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--eu-blue); text-decoration: none; }
  .an-more i { color: var(--eu-yellow); font-size: 1.1em; transition: transform .25s; }
  .an-more:hover { color: var(--eu-blue-lift); }
  .an-more:hover i { transform: translateX(5px); }

  /* ------------------------------------------------------------ report hero (no organizers ribbon) */
  .art-hero.no-rib { --rib: 0px; padding-bottom: 96px; }
  .art-hero.no-rib .art-globe { bottom: -220px; }
  .art-ref { margin: 30px 0 0; padding-top: 16px; border-top: 1px solid var(--rule-dark); max-width: 520px; }
  .art-ref dt { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--eu-yellow); }
  .art-ref dd { margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; color: var(--mist); font-size: 1rem; }
  .art-ref .d { color: var(--white); font-size: 1.125rem; }

  /* ------------------------------------------------------------ report body */
  .nv .art-sec h3.nv-h3 { margin: 2em 0 .8em; padding-top: 14px; position: relative; font-weight: 600; font-size: 1.25rem; line-height: 1.3; color: var(--eu-blue); }
  .nv .art-sec h3.nv-h3::before { content: ''; position: absolute; left: 0; top: 0; width: 28px; height: 3px; background: var(--eu-yellow); }
  .nv-quote { margin: 1.6em 0; padding-left: 22px; border-left: 3px solid var(--eu-yellow); font-weight: var(--head); font-size: 1.3125rem; line-height: 1.45; color: var(--eu-blue); text-align: left; }

  .nv-abbr { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; border-top: 1px solid var(--rule-light); }
  .nv-abbr div { display: grid; grid-template-columns: 72px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--rule-light); }
  .nv-abbr dt { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-weight: 500; font-size: .8125rem; letter-spacing: .06em; color: var(--eu-blue); padding-top: 2px; }
  .nv-abbr dd { margin: 0; font-size: 1rem; line-height: 1.45; }

  .nv-persons { display: flex; flex-wrap: wrap; gap: 20px 24px; margin: 1.6em 0; }
  .nv-person { margin: 0; width: 148px; }
  .nv-person.sm { width: 118px; }
  .nv-person img, .nv-people img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1); background: var(--rule-light); }
  .nv-person figcaption, .nv-people li { line-height: 1.3; }
  .nv-person b, .nv-people b { display: block; margin-top: 10px; font-weight: 600; font-size: .9375rem; color: var(--text); }
  .nv-person span, .nv-people li span { display: block; margin-top: 4px; font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: .625rem; letter-spacing: .1em; line-height: 1.45; text-transform: uppercase; color: var(--text-soft); }

  .nv-people { margin: 0 0 2.2em; padding: 22px 22px 26px; background: #f3f6fd; border-top: 3px solid var(--eu-blue); }
  .nv-people .lab { margin: 0 0 18px !important; font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: .6875rem !important; letter-spacing: .14em; text-transform: uppercase; color: var(--eu-blue); text-align: left !important; }
  .nv-people ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px 14px; }
  .nv-people b { font-size: .8125rem; }

  .nv-fig { margin: 2em 0; padding: 18px; background: var(--white); border: 1px solid var(--rule-light); }
  .nv-fig img { display: block; width: 100%; height: auto; }
  .nv-fig figcaption { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--rule-light); font-size: .875rem; line-height: 1.5; color: var(--text-soft); }
  .nv-fig .lab { margin-right: 10px; font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--deep-yellow, #b98600); }
  .nv-fig a[href^="#nota-"] { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: .75em; vertical-align: .5em; line-height: 0; margin-left: 1px; color: var(--eu-blue-lift); text-decoration: none; }

  .nv-table { width: 100%; min-width: 560px; border-collapse: collapse; }
  .nv-table th { text-align: left; padding: 10px 14px; background: var(--navy); font-family: 'IBM Plex Mono', ui-monospace, monospace; font-weight: 500; font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; color: var(--white); }
  .nv-table td { padding: 13px 14px; vertical-align: top; border-bottom: 1px solid var(--rule-light); font-size: .9375rem; line-height: 1.5; text-align: left; }
  .nv-table td:first-child { font-weight: 600; width: 30%; }
  .nv-table.grid th:not(:first-child), .nv-table.grid td:not(:first-child) { text-align: center; width: 12%; font-family: 'IBM Plex Mono', ui-monospace, monospace; }
  .nv-table.grid td:first-child { width: auto; }
  .nv-table tbody tr:nth-child(even) td { background: #f7f9fe; }

  .nv-notes ol { padding-left: 2.4em; }
  .nv-notes li { overflow-wrap: anywhere; scroll-margin-top: 120px; }
  .nv-notes li:target { background: #fff6d6; box-shadow: -10px 0 0 #fff6d6, 10px 0 0 #fff6d6; }
  .nv-notes li a:not(.back) { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: .8125rem; color: var(--eu-blue-lift); text-decoration: none; word-break: break-all; }
  .nv-notes li a:not(.back):hover { text-decoration: underline; }
  .nv-notes .back { margin-left: 8px; color: var(--eu-blue); text-decoration: none; font-size: .875rem; }
  .nv a[id^="ref-"] { scroll-margin-top: 140px; }

  .nv-bib > p { color: var(--text-soft); }
  .nv-bib ul { list-style: none; margin: 1.4em 0 0; padding: 0; border-top: 1px solid var(--rule-light); }
  .nv-bib li { padding: 12px 0; border-bottom: 1px solid var(--rule-light); font-size: .9375rem; line-height: 1.5; text-align: left; }
  .nv-bib .url { display: block; margin-top: 4px; font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: .75rem; line-height: 1.5; color: var(--eu-blue-lift); text-decoration: none; overflow-wrap: anywhere; }
  .nv-bib .url:hover { text-decoration: underline; }

  .nv-about .logo { display: block; height: 52px; width: auto; margin-bottom: 26px; }
  .nv-about h3 { margin: 26px 0 8px; font-weight: 600; font-size: 1.125rem; color: var(--eu-blue); }
  .nv-about p { margin: 0 0 .9em; font-size: 1rem; line-height: 1.65; }
  .nv-about p.small { margin-top: 20px; font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: .75rem; letter-spacing: .06em; color: var(--text-soft); }

  @media (max-width: 1000px) {
    .an-grid { gap: 56px 32px; }
    .an-card { grid-template-columns: 1fr; }
    .an-cover { max-width: 360px; }
    .nv-people ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  }
  @media (max-width: 760px) {
    .an-grid { grid-template-columns: 1fr; gap: 48px; }
    .an-card { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 18px; }
    .an-cover { max-width: none; }
    .an-text { font-size: .9375rem; }
    .art-hero.no-rib { padding-bottom: 56px; }
    .nv-abbr { grid-template-columns: 1fr; }
    .nv-people { padding: 18px 16px 20px; }
    .nv-people ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .nv-person { width: calc(50% - 12px); max-width: 160px; }
    .nv-person.sm { width: calc(33.3% - 16px); }
    .nv-quote { font-size: 1.1875rem; }
    .nv-fig { padding: 10px; }
  }
  @media (max-width: 420px) {
    .an-card { grid-template-columns: 1fr; }
    .an-cover { max-width: 300px; }
    .nv-people ul { gap: 18px 10px; }
    .nv-person span, .nv-people li span { font-size: .5625rem; letter-spacing: .06em; }
  }

  /* portrait captions and table cells: no justification / auto-hyphenation from .art-sec li */
  .nv .nv-people li, .nv .nv-people li span, .nv-person figcaption, .nv-table td { text-align: left; hyphens: manual; -webkit-hyphens: manual; }

  /* a single portrait floats beside the text (the PDF sets portraits in the margin) */
  .nv .art-sec { display: flow-root; }
  .nv-h3, .nv-fig, .nv .table-scroll, .nv-people, .nv-quote, .nv .dots { clear: both; }
  @media (min-width: 761px) {
    .nv-persons.one { float: right; margin: .35em 0 1.2em 32px; }
  }
  .nv-bib li > span a { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: .75rem; color: var(--eu-blue-lift); text-decoration: none; overflow-wrap: anywhere; }
