/* The pages that got the new look in WEB-DIZAJN-2 PR 2 (sigurnost, novo, about, kontakt, press, uvjeti, povrat, privatnost, uninstall, receive, 404).
   Shared pieces only; each page has its own file for its own blocks. Everything is built from sections.css (gs-*): no new colours, fonts or components. */

/* Dark hero band without a side visual: the same band as /skrinjar and /poslovno, one column (the title, a lead and, where the page has one, an action row) */
.pg-hero { flex-direction: column; flex-wrap: nowrap; align-items: flex-start; gap: 14px; padding: 56px 0; }
.pg-hero .gs-hero-lead { max-width: 640px; }
.pg-hero .gs-actions { margin-top: 8px; }
/* the "last changed" line of a legal page, set under the title (the date text itself comes from the page) */
.pg-hero-meta { margin: 0; font-family: var(--mono); font-size: 13px; line-height: 1.5; color: var(--gs-sky); }

/* Legal and long text: a readable measure, calm headings (no marketing blocks in the text) */
.pg-prose { max-width: 760px; min-width: 0; font-size: 1.0625rem; line-height: 1.7; color: var(--text); overflow-wrap: anywhere; }
.pg-prose h2, .pg-prose .pg-h2 { margin: 40px 0 12px; font-size: clamp(1.375rem, 3vw, 1.625rem); line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; color: var(--text); scroll-margin-top: 88px; }
.pg-prose h3, .pg-prose .pg-h3 { margin: 28px 0 8px; font-size: 1.125rem; line-height: 1.3; font-weight: 700; color: var(--text); }
.pg-prose > :first-child { margin-top: 0; }
.pg-prose p { margin: 0 0 12px; }
.pg-prose ul, .pg-prose ol { margin: 0 0 12px; padding-left: 1.4em; }
.pg-prose li { margin: 0 0 6px; }
.pg-prose a:not([class]) { color: var(--gs-link); text-decoration: underline; text-underline-offset: 3px; }
.pg-prose table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.pg-prose th, .pg-prose td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.pg-prose-wrap { overflow-x: auto; }

/* Page body below the hero */
.pg-body { padding: 48px 0 64px; display: flex; flex-direction: column; gap: 40px; }
@media (max-width: 600px) {
  .pg-hero { padding: 40px 0; }
  .pg-body { padding: 32px 0 48px; gap: 32px; }
}

/* Older blocks inside the new look (sections, cards, stats, notes): the same spacing, headings and card shape as the gs-* blocks, so that the old markup reads as part of the same system */
.pg-page .section, .pg-page .section-alt { margin: 0; padding: 0; border: 0; border-image: none; display: flex; flex-direction: column; gap: 24px; scroll-margin-top: 88px; }
.pg-page .section-title { margin: 0; font-size: clamp(1.5rem, 4.4vw, 2rem); line-height: 1.2; letter-spacing: -0.01em; }
.pg-page .section-title::after { display: none; }
.pg-page .feature-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.pg-page .feature-card, .pg-page .stat-card { border-radius: 12px; padding: 24px; gap: 8px; }
.pg-page .feature-card:hover, .pg-page .stat-card:hover { border-color: var(--border); box-shadow: none; }
.pg-page .feature-name { font-size: 18px; line-height: 1.3; }
.pg-page .feature-desc { font-size: 15px; }
.pg-page .stat-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.pg-page .stat-num { color: var(--gs-link); }
.pg-page .stat-label { font-size: 15px; }
.pg-page .info-box { margin: 0; border-radius: 12px; }
.pg-page .feature-grid + .section-title, .pg-page .feature-grid + .info-box, .pg-page .stat-grid + .info-box { margin-top: 0; }
.pg-page .toc-nav { margin: 0; max-width: 760px; border-radius: 12px; }
@media (max-width: 600px) { .pg-page .feature-card, .pg-page .stat-card { padding: 20px; } }

/* Legal pages: reading line width, no wide grids in the text */
.pg-legal .section > :not(.section-title) { max-width: 760px; }
.pg-legal .pg-body { gap: 40px; }
/* the warning note of the terms (was an inline style, which the CSP blocks) */
.pg-page .info-box.pg-danger { border-color: var(--accent); background: rgba(220, 53, 69, 0.05); }

/* /receive: the thin header and the single card stay; the card takes the shape of the gs cards (radius, padding) */
.pg-receive .rv-card { border-radius: 12px; padding: 24px; }

/* /novo: Vezar release notes grouped by week (one cl-entry per week, the notes in a details block), built on the existing changelog pieces (cl-entry, cl-meta, cl-collapse, cl-version, cl-date, cl-items, cl-tag) */
.cl-collapse.cl-hidden { display: none; }
@media (max-width: 600px) { .cl-filter.mode-tabs { flex-wrap: wrap; overflow-x: visible; } .cl-filter .mode-tab { flex: 1 1 auto; padding: 7px 12px; } }
.cl-vz-week { margin: 8px 0 0; }
.cl-vz-version { margin: 0 0 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); padding: 12px 18px 14px; }
.cl-vz-version .cl-meta { margin-bottom: 0; }
.cl-vz-version .cl-date { font-weight: 400; }
.cl-vz-heading { margin: 14px 0 4px; font-size: 1rem; line-height: 1.3; font-weight: 700; }
.cl-vz-heading .cl-tag { margin-left: 0; font-size: 11px; padding: 2px 8px; }
.cl-tag.beta { background: var(--surface2); color: var(--text-muted); border: 1px solid var(--border); }
.cl-vz-note { margin: 16px 0 0; color: var(--text-muted); font-size: 0.9rem; }

/* ── Guide download page /vodic-lozinke (WEB-VODIC-1): no main menu (logo + language switch only), a two-column hero with the form and the PDF preview.
   Built from the gs-* blocks and the existing tokens; the form ids and the lm-* hooks are the contract with vodic-lozinke.js. ── */
.vd-header { margin-bottom: 0; }
@media (max-width: 1059px) { .site-header.vd-header > .hdr-lang-switch { display: inline-flex; } }
.vd-hero { align-items: flex-start; }
.vd-label { align-self: flex-start; margin-left: 0; }
.vd-form { display: flex; flex-direction: column; gap: 12px; max-width: 560px; }
.vd-form-row { display: flex; flex-wrap: wrap; gap: 10px; }
.vd-input { flex: 1 1 240px; min-width: 0; min-height: 48px; padding: 0 14px; font-family: var(--body); font-size: 16px; color: var(--text); background: var(--surface); border: 1px solid var(--gs-dline); border-radius: 10px; }
.vd-input:focus-visible { outline: 3px solid var(--gs-sky); outline-offset: 2px; }
.vd-btn { flex: 0 0 auto; }
.vd-consent { margin: 0; font-size: 13px; line-height: 1.5; }
.vd-consent a { color: var(--gs-sky); text-decoration: underline; text-underline-offset: 3px; }
.lm-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lm-status { min-height: 1px; font-size: 15px; line-height: 1.5; }
.lm-status.ok { color: var(--gs-sky); font-weight: 600; }
.lm-status.ok a { color: inherit; }
.lm-status.err { color: inherit; font-weight: 600; padding-left: 10px; border-left: 3px solid var(--accent); }
.vd-visual { flex: 1 1 380px; display: grid; grid-template-columns: 1.55fr 1fr; gap: 16px; align-items: start; }
.vd-visual img { display: block; width: 100%; height: auto; aspect-ratio: 800 / 1131; border-radius: 8px; background: var(--surface); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }
.vd-visual .vd-cover { grid-row: 1 / 3; }
.vd-chapters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.vd-chapters .gs-card-title { font-size: 17px; }
.vd-num { font-family: var(--mono); font-size: 13px; color: var(--gs-link); }
.vd-again { margin-top: 8px; }
.vd-again-text { flex: 1 1 280px; display: flex; flex-direction: column; gap: 4px; }
.vd-again-text span { font-family: var(--mono); font-size: 13px; }
.vd-footer { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; padding: 24px 0 40px; font-size: 14px; color: var(--text-muted); }
.vd-footer a { color: inherit; text-decoration: none; }
.vd-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.vd-footer > a::before { content: "·"; margin-right: 18px; }
.vd-footer > .a11y-in-footer { flex: 1 1 100%; margin: 12px 0 0; }
@media (max-width: 600px) {
  .vd-btn { flex: 1 1 100%; }
  .vd-visual { gap: 12px; }
}
/* "What's inside" on a phone: a compact list (number + title on one line, no card frames) */
@media (max-width: 640px) {
  .vd-chapters { grid-template-columns: 1fr; gap: 0; }
  .vd-chapters .gs-card { flex-direction: row; align-items: baseline; gap: 12px; padding: 10px 0; background: transparent; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; }
  .vd-chapters .gs-card:last-child { border-bottom: 0; }
  .vd-chapters .gs-card-title { font-size: 16px; }
  .vd-num { flex: none; min-width: 1.4em; }
}

/* /about (WEB-ABOUT-1): the product cards are links */
.about-products { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.about-products .feature-card { text-decoration: none; color: inherit; }
.about-products .feature-card:hover { border-color: var(--gs-link); }
/* the "Standards" card: ISO 27001 and NIST under one heading, each with its own subheading */
.about-std-title { display: block; margin-top: 10px; color: var(--text); }
.about-std-title:first-child { margin-top: 0; }
