/* Compliance Center: document register, standards and security sections.
   Uses the site tokens from site.css; no badges, no certification marks.
   Every rule is scoped under main.cc so site-wide element rules cannot change the spacing. */
main.cc h1 { font-size: clamp(2rem, 4vw, 3.1rem); margin: 0 0 1rem; }
main.cc h2, main.cc h3, main.cc h4 { margin: 0; }
main.cc p { margin: 0; }
main.cc .cc-hero { padding-bottom: clamp(2rem, 4vw, 3rem); }
main.cc .cc-intro { max-width: 44rem; font-size: 1.15rem; line-height: 1.55; color: var(--ink-2); }

main.cc .cc-preview { margin-top: 1.5rem; padding: .9rem 1.1rem; border-radius: var(--r-sm); background: #fff8d6; border: 1px solid var(--gold-deep); font-size: .92rem; line-height: 1.5; max-width: 52rem; }
main.cc .cc-preview b { margin-right: .35rem; }

main.cc .cc-toc ul { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; padding: 0; margin: 2rem 0 0; }
main.cc .cc-toc a { display: inline-flex; align-items: center; gap: .55rem; padding: .55rem 1rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .92rem; background: var(--bg); }
main.cc .cc-toc a:hover { border-color: var(--acc); color: var(--acc-dark); }
main.cc .cc-toc span { font: 700 .75rem/1 var(--font-head); color: var(--acc-dark); }

/* sections */
main.cc .cc-sec { border-top: 1px solid var(--line); scroll-margin-top: 5rem; }
main.cc .cc-sechead { margin-bottom: 1.75rem; }
main.cc .cc-num { display: flex; align-items: center; gap: .6rem; font: 700 .8rem/1 var(--font-head); color: var(--acc-dark); letter-spacing: .06em; margin-bottom: .85rem; }
main.cc .cc-num::after { content: ""; width: 2rem; height: 2px; background: var(--acc); }
main.cc .cc-sec h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.15; }
main.cc .cc-sub { font-size: 1.15rem; margin: 3rem 0 1rem; }

/* document cards */
main.cc .cc-docs { display: grid; gap: 1rem; }
main.cc .cc-doc { border: 1px solid var(--line); border-radius: var(--r); padding: 1.4rem 1.5rem 1rem; background: var(--bg); }
main.cc .cc-doc__head { margin-bottom: 1rem; }
main.cc .cc-doc__head h3 { font-size: 1.2rem; margin-bottom: .35rem; }
main.cc .cc-doc__head p { color: var(--ink-2); max-width: 46rem; line-height: 1.5; }

main.cc .cc-ed { width: 100%; border-collapse: collapse; font-size: .93rem; table-layout: fixed; }
main.cc .cc-ed th:nth-child(1) { width: 34%; }
main.cc .cc-ed th:nth-child(2) { width: 12%; }
main.cc .cc-ed th:nth-child(3) { width: 22%; }
main.cc .cc-ed th { text-align: left; font-weight: 600; font-size: .78rem; color: var(--ink-3); padding: 0 .75rem .5rem 0; border-bottom: 1px solid var(--line); }
main.cc .cc-ed td { padding: .65rem .75rem .65rem 0; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
main.cc .cc-ed tr:last-child td { border-bottom: 0; }
main.cc .cc-lang { font-weight: 600; }
main.cc .cc-tag { display: inline-block; margin-left: .5rem; padding: .12rem .45rem; border-radius: 4px; background: #fff3bf; color: #6b5300; font-size: .72rem; font-weight: 600; vertical-align: 1px; }
main.cc .cc-tag--draft { background: #e8eefc; color: #1b4a99; }
main.cc .cc-act { text-align: right; padding-right: 0; }
main.cc .cc-btn { display: inline-block; padding: .45rem .95rem; border-radius: 999px; background: var(--ink); color: #fff; border: 1px solid var(--ink); font-size: .85rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
main.cc .cc-btn:hover { background: var(--acc-dark); border-color: var(--acc-dark); color: #fff; }
main.cc .cc-btn span { font-weight: 400; }
main.cc .cc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* section 3: numbered sub-blocks, label column left, content right */
main.cc .cc-block { display: grid; grid-template-columns: minmax(13rem, 30%) 1fr; gap: 2.5rem; padding: 2rem 0; border-top: 1px solid var(--line); }
main.cc .cc-block:first-of-type { border-top: 0; padding-top: 0; }
main.cc .cc-block__side h3 { font-size: 1.2rem; line-height: 1.25; margin-bottom: .5rem; }
main.cc .cc-block__side p:not(.cc-bnum) { color: var(--ink-3); font-size: .92rem; line-height: 1.5; }
main.cc .cc-bnum { font: 700 .8rem/1 var(--font-head); color: var(--acc-dark); letter-spacing: .04em; margin-bottom: .6rem; }
main.cc .cc-text { color: var(--ink-2); line-height: 1.65; max-width: 48rem; }
main.cc .cc-text + .cc-text { margin-top: .8rem; }
main.cc .cc-rows { margin: 1.5rem 0 0; border-top: 1px solid var(--ink); }
main.cc .cc-rows div { display: grid; grid-template-columns: 14rem 1fr; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
main.cc .cc-rows:last-child div:last-child { border-bottom: 0; padding-bottom: 0; }
main.cc .cc-rows--pending { margin-top: 0; }
main.cc .cc-rows dt { font: 700 .98rem/1.35 var(--font-head); }
main.cc .cc-rows dd { margin: 0; color: var(--ink-2); font-size: .95rem; line-height: 1.5; }
main.cc .cc-rows--pending dd { color: var(--ink-3); font-style: italic; font-size: .9rem; }
main.cc .cc-status { margin-top: 1.5rem; padding: 1rem 1.2rem; border-left: 4px solid var(--ink); background: var(--bg-2); font-weight: 600; font-size: 1.02rem; }
main.cc .cc-status span { display: block; font-size: .75rem; font-weight: 600; color: var(--ink-3); margin-bottom: .25rem; }

/* end of page */
main.cc .cc-end { border-top: 1px solid var(--line); }
main.cc .cc-end p { color: var(--ink-2); }
main.cc .cc-end p + p { margin-top: .5rem; }
main.cc .cc-prev, main.cc .cc-back a { color: var(--ink-2); font-size: .92rem; }
main.cc .cc-back { margin-top: 1.5rem; }
main.cc .cc-notes { margin-top: 2rem; padding: 1.1rem 1.3rem; border: 1px dashed var(--gold-deep); border-radius: var(--r-sm); background: #fffdf2; font-size: .9rem; }
main.cc .cc-notes h2 { font-size: 1rem; margin-bottom: .5rem; }
main.cc .cc-notes ul { margin: 0; padding-left: 1.1rem; line-height: 1.55; }
main.cc .cc-notes code { font-size: .82rem; word-break: break-all; }

@media (max-width: 980px) {
  main.cc .cc-block { grid-template-columns: 1fr; gap: 1rem; }
}
@media (max-width: 680px) {
  main.cc .cc-doc { padding: 1.1rem 1rem .6rem; }
  main.cc .cc-ed { table-layout: auto; }
  main.cc .cc-ed thead { display: none; }
  main.cc .cc-ed, main.cc .cc-ed tbody, main.cc .cc-ed tr, main.cc .cc-ed td { display: block; width: 100%; }
  main.cc .cc-ed tr { padding: .8rem 0; border-bottom: 1px solid var(--line); }
  main.cc .cc-ed tr:last-child { border-bottom: 0; }
  main.cc .cc-ed td { padding: .15rem 0; border: 0; }
  main.cc .cc-ed td[data-l]:not(:first-child)::before { content: attr(data-l) ": "; color: var(--ink-3); }
  main.cc .cc-act { text-align: left; padding-top: .6rem; }
  main.cc .cc-rows div { grid-template-columns: 1fr; gap: .2rem; }
}
@media print {
  main.cc .cc-preview, main.cc .cc-notes, main.cc .cc-toc { display: none; }
}

/* origin and hosting statement at the top of the page (brief of 25 Nov 2026) */
main.cc .cc-origin { margin-top: 1.75rem; padding: 1.4rem 1.6rem; max-width: 52rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); }
main.cc .cc-origin__h { font: 700 1.35rem/1.3 var(--font-head); color: var(--ink); margin: 0 0 .6rem; }
main.cc .cc-origin__p { margin: 0; color: var(--ink-2); line-height: 1.6; }
main.cc .cc-rows--first { margin-top: 0; border-top: 0; }
main.cc .cc-rows--first div:first-child { padding-top: 0; }
main.cc .cc-status--other { margin-top: .75rem; border-left-color: var(--line); font-weight: 400; font-size: .95rem; line-height: 1.5; color: var(--ink-2); }
main.cc .cc-status--other span { font-weight: 600; }


/* security page: facts row, plain lists and plain tables */
main.cc .cc-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
main.cc .cc-fact { border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--bg); padding: 1.1rem 1.2rem; }
main.cc .cc-fact span { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .45rem; }
main.cc .cc-fact b { display: block; font: 700 1.08rem/1.3 var(--font-head); color: var(--ink); }
main.cc .cc-fact p { margin: .4rem 0 0; font-size: .9rem; line-height: 1.45; color: var(--ink-2); }
main.cc .cc-list { margin: .7rem 0 0; padding-left: 1.25rem; list-style: disc; color: var(--ink-2); line-height: 1.6; max-width: 48rem; }
main.cc .cc-list li { margin: .3rem 0; }
main.cc .cc-list + .cc-text, main.cc .cc-rows + .cc-text, main.cc .cc-ed--plain + .cc-text, main.cc .cc-text + .cc-rows { margin-top: 1.2rem; }
main.cc .cc-ed--plain td { vertical-align: top; }
main.cc .cc-block__main a { color: var(--acc-dark); }
@media (max-width: 900px) { main.cc .cc-facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { main.cc .cc-facts { grid-template-columns: 1fr; } }
@media (min-width: 681px) {
  main.cc .cc-ed--plain { table-layout: fixed; width: 100%; }
  main.cc .cc-ed--plain th:nth-child(1), main.cc .cc-ed--plain td:nth-child(1) { width: 4.5rem; }
  main.cc .cc-ed--plain th:nth-child(2), main.cc .cc-ed--plain td:nth-child(2) { width: auto; }
  main.cc .cc-ed--plain th:nth-child(3), main.cc .cc-ed--plain td:nth-child(3), main.cc .cc-ed--plain th:nth-child(4), main.cc .cc-ed--plain td:nth-child(4) { width: 24%; }
}
main.cc .cc-ed--plain td { white-space: normal; line-height: 1.5; }

/* link from the security section to the detailed Security and infrastructure page */
main.cc .cc-more { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem 2rem; margin-top: 2.5rem; padding: 1.5rem 1.7rem; border: 1px solid var(--line, #e3e6ea); border-left: 4px solid #fbcf2e; border-radius: 0 16px 16px 0; background: #fff; box-shadow: 0 2px 12px rgba(18,21,26,.05); color: inherit; text-decoration: none; }
main.cc .cc-more:hover { border-color: #12151a; border-left-color: #fbcf2e; text-decoration: none; }
main.cc .cc-more__t { display: grid; gap: .3rem; }
main.cc .cc-more__t b { font: 700 1.25rem/1.25 var(--font-head, "Schibsted Grotesk", Arial, sans-serif); color: #12151a; }
main.cc .cc-more__t span { color: #555d6b; line-height: 1.5; }
main.cc .cc-more__b { flex: none; display: inline-flex; align-items: center; gap: .5rem; padding: .8rem 1.3rem; border-radius: 999px; background: #12151a; color: #fff; font-weight: 600; white-space: nowrap; }
main.cc .cc-more:hover .cc-more__b { background: #2b313b; }

/* security section: six icon cards, the two certification statuses, one line of small print */
main.cc .cc-seclead { margin: 0 0 2rem; max-width: 46rem; font-size: 1.15rem; line-height: 1.55; color: #555d6b; }
main.cc .cc-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
main.cc .cc-card { --a: #2563c9; --as: #eaf1fc; margin: 0; padding: 1.5rem 1.4rem 1.6rem; background: #fff; border: 1px solid #e3e6ea; border-radius: 16px; box-shadow: 0 2px 12px rgba(18,21,26,.04); }
main.cc .cc-tone-green { --a: #2b8a4b; --as: #e7f5ec; }
main.cc .cc-tone-purple { --a: #6b4ee6; --as: #efecfd; }
main.cc .cc-tone-teal { --a: #0b8a80; --as: #e2f5f3; }
main.cc .cc-tone-gold { --a: #8a6a00; --as: #fdf4cf; }
main.cc .cc-ic { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--as); color: var(--a); }
main.cc .cc-ic svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
main.cc .cc-card h3 { margin: 1.15rem 0 0; font: 700 1.15rem/1.25 var(--font-head, "Schibsted Grotesk", Arial, sans-serif); letter-spacing: -.01em; color: #12151a; }
main.cc .cc-card p { margin: .45rem 0 0; font-size: .95rem; line-height: 1.5; color: #555d6b; }
main.cc .cc-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem; }
main.cc .cc-stat { padding: 1.3rem 1.4rem; border: 1px solid #e3e6ea; border-radius: 16px; background: #fff; }
main.cc .cc-stat--us { background: #fdf4cf; border-color: transparent; }
main.cc .cc-stat span { display: block; font: 700 .95rem/1 var(--font-head, "Schibsted Grotesk", Arial, sans-serif); letter-spacing: .08em; text-transform: uppercase; color: #555d6b; }
main.cc .cc-stat p { margin: .6rem 0 0; font-size: .95rem; line-height: 1.5; color: #12151a; }
main.cc .cc-stat--us p { font-weight: 600; }
main.cc .cc-fine { margin: 1.25rem 0 0; font-size: .95rem; line-height: 1.5; color: #555d6b; }
main.cc .cc-more { margin-top: 1.5rem; }
@media (max-width: 900px) { main.cc .cc-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { main.cc .cc-cards, main.cc .cc-stats { grid-template-columns: 1fr; } }


/* document cards with downloads beside the title (Rev-1 PDFs) */
main.cc .cc-doc { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; padding: 1.3rem 1.5rem; }
main.cc .cc-doc__head { margin-bottom: 0; flex: 1 1 20rem; min-width: 0; }
main.cc .cc-doc__dl { flex: 0 0 auto; display: grid; gap: .9rem; }
main.cc .cc-dl { display: grid; gap: .5rem; justify-items: end; }
main.cc .cc-dl__meta { font-size: .82rem; color: var(--ink-3); }
main.cc .cc-dl__btns { display: flex; flex-wrap: wrap; gap: .5rem; }
main.cc .cc-btn { display: inline-flex; align-items: center; gap: .45rem; }
main.cc .cc-btn svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
main.cc .cc-btn span { opacity: .75; }
@media (max-width: 760px) {
  main.cc .cc-doc { display: block; padding: 1.1rem 1rem; }
  main.cc .cc-doc__dl { margin-top: .9rem; }
  main.cc .cc-dl { justify-items: start; }
}

/* per language: a label, View (opens the viewer page) and the PDF download */
main.cc .cc-dl__btns { display: grid; gap: .45rem; }
main.cc .cc-pick { display: grid; grid-template-columns: 4.6rem auto auto; align-items: center; gap: .45rem; }
main.cc .cc-pick__l { font-size: .88rem; font-weight: 600; color: var(--ink-2); }
main.cc .cc-btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
main.cc .cc-btn--ghost:hover { background: #fff; color: var(--ink); border-color: var(--ink); }
main.cc .cc-btn { justify-content: center; }
@media (max-width: 760px) { main.cc .cc-pick { grid-template-columns: 4.6rem 1fr 1fr; max-width: 22rem; } }

/* the pages start with the shared document hero (vg-extra.css): statement box inside it, first section without a top line */
.vg-dh .cc-origin { margin-top: 1.75rem; padding: 1.25rem 1.5rem; max-width: 52rem; background: #fff; border: 1px solid #dfe4ec; border-radius: 10px; }
.vg-dh .cc-origin__h { font: 700 1.25rem/1.3 var(--font-head); color: var(--ink); margin: 0 0 .5rem; }
.vg-dh .cc-origin__p { margin: 0; color: var(--ink-2); line-height: 1.6; }
main.cc .vg-skip + .cc-sec, main.cc .cc-sec--first { border-top: 0; }

/* section 3 as cards like the documents: title and one line at the left, the text at the right */
main.cc .cc-info { align-items: flex-start; gap: 1.25rem 2.5rem; padding: 1.5rem; }
main.cc .cc-info .cc-doc__head { flex: 0 0 30%; min-width: 13rem; }
main.cc .cc-info__body { flex: 1 1 0; min-width: 0; }
main.cc .cc-info__rows { margin: 0; }
main.cc .cc-info__rows div { display: grid; grid-template-columns: 11.5rem 1fr; gap: .2rem 1.25rem; padding: .75rem 0; border-top: 1px solid var(--line-2); }
main.cc .cc-info__rows div:first-child { padding-top: 0; border-top: 0; }
main.cc .cc-info__rows div:last-child { padding-bottom: 0; }
main.cc .cc-info__rows dt { font: 700 .95rem/1.4 var(--font-head); color: var(--ink); }
main.cc .cc-info__rows dd { margin: 0; color: var(--ink-2); font-size: .95rem; line-height: 1.55; }
main.cc .cc-info__text { color: var(--ink-2); font-size: .98rem; line-height: 1.6; }
main.cc .cc-info__text + .cc-info__text { margin-top: .7rem; }
main.cc .cc-info__tiles { list-style: none; margin: 1.1rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
main.cc .cc-info__tiles li { margin: 0; padding: .75rem .95rem; border: 1px solid var(--line); border-radius: 10px; display: grid; gap: .1rem; }
main.cc .cc-info__tiles b { font: 700 .98rem/1.3 var(--font-head); color: var(--ink); }
main.cc .cc-info__tiles span { color: var(--ink-2); font-size: .9rem; line-height: 1.45; }
main.cc .cc-info__status { margin-top: .6rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
main.cc .cc-info__status div { padding: .85rem .95rem; border-radius: 10px; background: #f5f6f8; }
main.cc .cc-info__status span { display: block; margin-bottom: .25rem; font-size: .78rem; font-weight: 600; color: var(--ink-3); }
main.cc .cc-info__status p { color: var(--ink); font-size: .9rem; line-height: 1.5; }
main.cc .cc-info__status div:first-child p { font-weight: 600; }
@media (max-width: 900px) {
  main.cc .cc-info { display: block; padding: 1.1rem 1rem; }
  main.cc .cc-info .cc-doc__head { margin-bottom: 1rem; }
  main.cc .cc-info__rows div { grid-template-columns: 1fr; }
  main.cc .cc-info__tiles, main.cc .cc-info__status { grid-template-columns: 1fr; }
}

/* intro line under a section title (previous versions) */
main.cc .cc-sechead .cc-seclead { margin: .9rem 0 0; max-width: 46rem; font-size: 1.05rem; line-height: 1.55; color: var(--ink-2); }
