
.v3-article { max-width: 760px; color: var(--text); font-size: 17px; line-height: 1.7; overflow-wrap: break-word; }
.v3-article > :first-child { margin-top: 0; }
.v3-article > :last-child { margin-bottom: 0; }
.v3-article p { margin: 0 0 18px; }
.v3-article :is(h2, h3, h4) { font-family: var(--serif); color: var(--ink); letter-spacing: -.02em; scroll-margin-top: 90px; }
.v3-article h2 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 400; line-height: 1.2; margin: 52px 0 16px; }
.v3-article h3 { font-size: clamp(21px, 2vw, 25px); font-weight: 400; line-height: 1.25; margin: 40px 0 12px; }
.v3-article h4 { font-size: 19px; font-weight: 500; line-height: 1.3; letter-spacing: -.01em; margin: 32px 0 10px; }
.v3-article :is(h2, h3, h4) + :is(h3, h4) { margin-top: 16px; }
.v3-article a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.v3-article a:hover { color: var(--accent-dark); }
.v3-article :is(strong, b) { font-weight: 600; color: var(--ink); }

/* lists */
.v3-article ul, .v3-article ol { margin: 0 0 20px; padding-left: 24px; }
.v3-article li { margin: 0 0 8px; padding-left: 4px; }
.v3-article li::marker { color: var(--accent); }
.v3-article ol > li::marker { font-weight: 600; }
.v3-article li > :is(ul, ol) { margin: 8px 0 0; }
.v3-article li > p { margin-bottom: 8px; }

/* tables: full width with thin rules; scroll sideways on phones */
.v3-article table { width: 100%; border-collapse: collapse; margin: 28px 0; font-size: 15px; line-height: 1.5; }
.v3-article :is(th, td) { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.v3-article th, .v3-article thead td { background: var(--paper); color: var(--ink); font-weight: 600; }
.v3-article table p { margin: 0; }

/* quotes: serif, thin rules above and below, no side stripe */
.v3-article blockquote { margin: 36px 0; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 21px; line-height: 1.5; color: var(--ink); }
.v3-article blockquote p:last-child { margin-bottom: 0; }
.v3-article blockquote :is(cite, footer) { display: block; margin-top: 12px; font: 500 14px/1.4 var(--sans); font-style: normal; color: var(--muted); }

/* pictures and media */
.v3-article img { max-width: 100%; height: auto; border-radius: var(--r); margin: 28px 0; }
.v3-article figure { margin: 32px 0; }
.v3-article figure img { margin: 0; }
.v3-article figcaption { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.v3-article :is(iframe, video) { display: block; max-width: 100%; border: 0; border-radius: var(--r); margin: 28px 0; }
.v3-article hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
.v3-article code { font-size: .9em; background: var(--soft); padding: 2px 6px; border-radius: 6px; }

/* FAQ as details/summary, like .faq of the hubs */
.v3-article details { border-bottom: 1px solid var(--line); }
.v3-article :not(details) + details, .v3-article details:first-child { border-top: 1px solid var(--line); margin-top: 28px; }
.v3-article summary { list-style: none; cursor: pointer; padding: 20px 48px 20px 0; font: 600 18px/1.35 var(--sans); color: var(--ink); position: relative; transition: color .15s; }
.v3-article summary::-webkit-details-marker { display: none; }
.v3-article summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font: 300 26px var(--sans); color: var(--muted); transition: transform .25s; }
.v3-article details[open] summary::after { transform: rotate(45deg); }
.v3-article summary:hover { color: var(--accent); }
.v3-article details > :not(summary) { padding-right: 48px; }
.v3-article details > :last-child:not(summary) { padding-bottom: 24px; margin-bottom: 0; }

@media (max-width: 760px) {
  .v3-article { font-size: 16px; }
  .v3-article h2 { margin-top: 40px; }
  .v3-article h3 { margin-top: 32px; }
  .v3-article table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
  .v3-article :is(th, td) { min-width: 120px; }
  .v3-article blockquote { font-size: 19px; }
  .v3-article summary { font-size: 16px; padding-right: 36px; }
  .v3-article details > :not(summary) { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .v3-article summary::after { transition: none; }
}
.v3-legal { padding: 48px 0 88px; }
.v3-legal-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: start; }
.v3-legal.has-aside .v3-legal-grid { grid-template-columns: minmax(0, 1fr) 340px; }
.v3-legal-main { min-width: 0; }
.v3-legal-main > h1, .v3-legal-main > .v3-sys > h1 { font-size: clamp(32px, 4vw, 48px); margin: 0 0 32px; max-width: 860px; }
.v3-legal-main .v3-article { max-width: 860px; }
/* wide tables of the legal texts (App\Support\V3ArticleText wraps them): sideways scroll inside the column, never a wider page */
.v3-table-scroll { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 28px 0; }
.v3-table-scroll > table { margin: 0; }
/* inside the wrapper the table keeps its table layout (article-css turns bare tables into blocks below 760px) */
.v3-legal-main .v3-table-scroll > table { display: table; min-width: 100%; }
/* offers stored as a numbered outline (internships-offer and the like): nested <ul style="list-style: none;">, the numbers
   are in the text. Sections (first level) read as headings, clauses get small indents so three levels fit a phone */
.v3-article ul[style*="list-style: none"] { padding-left: 0; }
.v3-article ul[style*="list-style: none"] > li { padding-left: 0; }
.v3-article ul[style*="list-style: none"] ul[style*="list-style: none"] { padding-left: 22px; margin: 10px 0 0; }
.v3-article > ul[style*="list-style: none"] > li { margin-bottom: 22px; font-weight: 600; color: var(--ink); }
.v3-article > ul[style*="list-style: none"] > li > :is(ul, p) { font-weight: 400; color: var(--text); }
.v3-article li > h2 { margin: 8px 0; }
.v3-legal-aside { position: static; background: var(--paper); border-radius: var(--r); padding: 28px; }
/* the /about-us form column is ~900px tall: it sticks only where it fits below the header, otherwise its button would stay
   out of view until the article ends */
@media (min-width: 961px) and (min-height: 1000px) {
  .v3-legal-aside { position: sticky; top: 96px; }
}
@media (max-width: 960px) {
  .v3-legal.has-aside .v3-legal-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .v3-legal { padding: 28px 0 56px; }
  .v3-legal-main > h1, .v3-legal-main > .v3-sys > h1 { margin-bottom: 22px; }
  .v3-legal-main .v3-article { font-size: 16px; }
  .v3-legal-aside { padding: 22px 18px; }
  .v3-article ul[style*="list-style: none"] ul[style*="list-style: none"] { padding-left: 12px; }
}
