/* The privacy policy and the terms of jednostraniraskid.com (legal-pages-look; the HR copy, 2026-10-20), pages 3 and 46 under .ewb-legal.
   The fonts, tokens, header and footer rules are the contact page's (ewb-contact.css, 010e-5, = the landing's ewb-landing.css),
   copied; the fonts by the landing's URLs. The theme's global styles give way. The words are the pages' own blocks. */

@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../ewb-landing/fonts/instrument-sans-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../ewb-landing/fonts/instrument-sans-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 700 800; font-display: swap; src: url("../ewb-landing/fonts/outfit-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 700 800; font-display: swap; src: url("../ewb-landing/fonts/outfit-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

body.ewb-legal {
  color-scheme: light;
  --dark: #15213B; --dark-2: #0F182C; --accent: #4DA3FF; --accent-2: #2F8BF0; --accent-tint: #E3F0FF;
  --paper: #F5F7FB; --paper-2: #E9EEF5; --line: #D6DEEA; --ink: #111A2E; --muted: #5A677F; --on-dark: #B9C6DD; --on-dark-2: #8E9BB4; --white: #FFFFFF;
  --ok: #1B7A43; --ok-tint: #E3F2E9; --warn: #6B4E0E; --warn-tint: #F7F1E1;
  --display: "Outfit", "Helvetica Neue", Arial, sans-serif;
  --body: "Instrument Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  --r: 12px;
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--body); font-size: 17px; font-weight: 400; line-height: 1.55; letter-spacing: normal;
}

/* the theme's flow and flex spacing gives way to the target's own */
.ewb-legal *, .ewb-legal *::before, .ewb-legal *::after { box-sizing: border-box; }
.ewb-legal .wp-site-blocks { padding: 0; }
.ewb-legal .wp-site-blocks > *, .ewb-legal .is-layout-flow > *, .ewb-legal .is-layout-constrained > * { margin-block: 0; }
.ewb-legal .is-layout-flex { gap: 0; }

.ewb-legal h1, .ewb-legal h2, .ewb-legal h3 { margin: 0; font-family: var(--display); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; color: var(--dark); }
.ewb-legal h1 { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.4rem); }
.ewb-legal h2 { font-size: 1.25rem; font-weight: 700; }
.ewb-legal p { margin: 0; }
.ewb-legal a { color: var(--accent-2); }
.ewb-legal :focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.ewb-legal .wrap { max-width: 1120px; margin-inline: auto; padding-inline: 20px; width: 100%; }

/* buttons (the landing's): the class sits on the Button block's wrapper; the link inside is the button */
.ewb-legal .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.ewb-legal .wp-block-button { margin: 0; }
.ewb-legal .btn .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 22px; border-radius: 10px; font: 600 1rem/1.2 var(--body); letter-spacing: normal; text-decoration: none; cursor: pointer; border: 1.5px solid transparent; }
.ewb-legal .btn--dark .wp-block-button__link { background: var(--dark); color: var(--white); border-color: var(--dark); }
.ewb-legal .btn--dark .wp-block-button__link:hover { background: var(--dark-2); }

/* header (the landing's) */
.ewb-legal .head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); color: var(--ink); border-bottom: 1px solid var(--line); }
.ewb-legal .head > .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.ewb-legal .brand { font-family: var(--display); font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; line-height: 1.2; }
.ewb-legal .brand a { color: var(--dark); text-decoration: none; }
.ewb-legal .brand strong { color: var(--accent-2); font-weight: 800; }
.ewb-legal .nav { display: none; gap: 26px; }
.ewb-legal .nav p { font-size: .95rem; font-weight: 500; line-height: 1.6; }
.ewb-legal .nav a { color: var(--ink); text-decoration: none; }
.ewb-legal .nav a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 6px; }
.ewb-legal .nav .on a { color: var(--accent-2); font-weight: 600; }
.ewb-legal .head .btn .wp-block-button__link { min-height: 42px; padding: 8px 16px; font-size: .92rem; }


/* footer (the landing's, 010e-footer) */
.ewb-legal .foot { background: var(--dark-2); color: var(--on-dark); font-size: .9rem; line-height: 1.6; padding-block: 48px 28px; }
.ewb-legal .foot > .wrap { display: grid; gap: 36px; }
.ewb-legal .foot a { color: var(--white); text-decoration: none; }
.ewb-legal .foot a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }
.ewb-legal .foot-top { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 24px; }
.ewb-legal .foot-about { grid-column: 1 / -1; display: grid; gap: 4px; }
.ewb-legal .foot-brand { font-family: var(--display); font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 6px; }
.ewb-legal .foot-brand strong { color: var(--accent); font-weight: 800; }
.ewb-legal .foot-seller, .ewb-legal .foot-bottom { color: var(--on-dark-2); font-size: .84rem; }
.ewb-legal .foot-h { font-family: var(--display); font-weight: 700; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; line-height: 1.3; color: var(--on-dark-2); margin-bottom: 12px; }
.ewb-legal .foot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ewb-legal .foot-list li { margin: 0; padding: 0; }
.ewb-legal .foot-list a { color: var(--on-dark); }
.ewb-legal .foot-list a:hover { color: var(--white); }
.ewb-legal .foot-bottom { display: flex; flex-direction: column; gap: 8px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); }
.ewb-legal .foot-made a { text-decoration: underline; text-decoration-color: rgba(255,255,255,.4); text-underline-offset: 3px; }
.ewb-legal .foot-lang { display: flex; align-items: center; gap: 8px; }
.ewb-legal .foot-lang::before { content: ""; flex: none; width: 22px; height: 11px; background: url("../ewb-landing/flag-si.png") center / cover no-repeat; box-shadow: 0 0 0 1px rgba(255,255,255,.18); }

/* the page's title on the landing's ground */
.ewb-legal .legal .wrap { max-width: 680px; }
.ewb-legal .legal-top { position: relative; overflow: hidden; padding-block: 48px 32px; border-bottom: 1px solid var(--line); }
.ewb-legal .legal-top::before { content: ""; position: absolute; inset: -60% -20% auto; height: 160%; background: radial-gradient(50% 50% at 80% 30%, rgba(77,163,255,.16), transparent 70%); pointer-events: none; }
.ewb-legal .legal-top > .wrap { position: relative; }
.ewb-legal .kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-2); font-weight: 600; font-size: .9rem; }
.ewb-legal .kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.ewb-legal .legal-top h1 { margin-top: 12px; font-size: clamp(2rem, 1.5rem + 2vw, 2.9rem); }

/* the long text: one column of about 70 characters, the wrap 640 px wide */
.ewb-legal .legal-body { padding-block: 36px 72px; }
.ewb-legal .prose { line-height: 1.65; overflow-wrap: break-word; }
.ewb-legal .prose > * + * { margin-top: 1em; }
.ewb-legal .prose > p:first-child { color: var(--muted); font-size: 1.1rem; line-height: 1.6; }
.ewb-legal .prose h2 { margin-top: 2.2em; padding-top: 1.2em; border-top: 1px solid var(--line); font-size: 1.45rem; font-weight: 700; line-height: 1.2; scroll-margin-top: 84px; }
.ewb-legal .prose h3 { margin-top: 1.6em; font-size: 1.12rem; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; scroll-margin-top: 84px; }
.ewb-legal .prose h2 + *, .ewb-legal .prose h3 + * { margin-top: .6em; }
.ewb-legal .prose strong { font-weight: 600; color: var(--dark); }
.ewb-legal .prose a { color: var(--accent-2); text-decoration: underline; text-decoration-color: rgba(47,139,240,.4); text-underline-offset: 3px; }
.ewb-legal .prose a:hover { text-decoration-color: currentColor; }
.ewb-legal .prose ul, .ewb-legal .prose ol { margin-bottom: 0; padding-left: 1.4em; }
.ewb-legal .prose li { padding-left: .3em; }
.ewb-legal .prose li + li { margin-top: .5em; }
.ewb-legal .prose li::marker { color: var(--accent-2); }
.ewb-legal .prose ol li::marker { font-weight: 600; }
.ewb-legal .prose code { font: .88em/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; padding: .1em .35em; background: var(--paper-2); border-radius: 4px; color: var(--dark); }
/* the provider's details after the first heading (1. Ponudnik, 1. Upravljavec osebnih podatkov): a card, as the contact page's ways */
.ewb-legal .prose > h2:first-of-type + p { padding: 18px 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); line-height: 1.7; }

@media (min-width: 900px) {
  .ewb-legal .nav { display: flex; }
  .ewb-legal .legal-top { padding-block: 72px 40px; }
  .ewb-legal .legal-body { padding-block: 48px 96px; }
  .ewb-legal .foot-top { grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
  .ewb-legal .foot-about { grid-column: auto; }
  .ewb-legal .foot-bottom { flex-direction: row; align-items: center; gap: 28px; }
  .ewb-legal .foot-lang { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) { .ewb-legal * { transition: none !important; animation: none !important; } }

/* HR only (2026-10-20): the price table in point 4 of the Opći uvjeti; SI's terms have a list there and no table. */
.ewb-legal .prose .wp-block-table { margin-inline: 0; overflow-x: auto; }
.ewb-legal .prose table { width: 100%; border-collapse: collapse; font-size: .95rem; line-height: 1.45; }
.ewb-legal .prose th, .ewb-legal .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border: 0; border-bottom: 1px solid var(--line); }
.ewb-legal .prose thead th { font-weight: 600; color: var(--dark); border-bottom: 2px solid var(--dark); }

/* account-link: "Prijava" / "Moj račun" at the end of the nav (a muted text link, hidden with the nav under 900 px) and the
   footer's line under the tagline — both printed by ewb-landing.php (render_block) into every copy of the header and footer. */
.ewb-legal .nav .head-account { color: var(--muted); }
.ewb-legal .nav .head-account:hover, .ewb-legal .nav .head-account[aria-current] { color: var(--ink); }
.ewb-legal .foot-account { font-size: .9rem; }
.ewb-legal .foot-account a { color: var(--on-dark); }
.ewb-legal .foot-account a:hover { color: var(--white); }

/* account-link, the header on phones (the owner's addendum, 2026-10-22; specs/landing-preview/screens-preview/phone-head-proposal.html):
   under 900 px the logo smaller, the header's buttons hidden, right of the logo the account pill (icon only under 380 px, the word
   kept for screen readers) and the menu (details/summary) whose panel hangs under the sticky header. Printed by ewb-landing.php. */
@media (max-width: 899px) {
  .ewb-legal .brand { font-size: 1.02rem; }
  .ewb-legal .head > .wrap { min-height: 58px; gap: 8px; }
  .ewb-legal .head .wp-block-buttons { display: none; }
  .ewb-legal .mctl { display: flex; align-items: center; gap: 6px; margin-left: auto; }
  .ewb-legal .mctl .acc { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; box-sizing: border-box; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); font-size: .86rem; font-weight: 600; line-height: 1.2; white-space: nowrap; text-decoration: none; }
  .ewb-legal .mctl .acc svg { flex: none; width: 16px; height: 16px; }
  .ewb-legal .mnav summary { display: grid; place-items: center; width: 40px; height: 40px; box-sizing: border-box; border: 1px solid var(--line); border-radius: 10px; background: var(--white); list-style: none; cursor: pointer; }
  .ewb-legal .mnav summary::-webkit-details-marker { display: none; }
  .ewb-legal .mnav summary span { display: block; width: 18px; height: 2px; background: var(--dark); box-shadow: 0 -6px 0 var(--dark), 0 6px 0 var(--dark); }
  .ewb-legal .mnav[open] summary span { display: none; }
  .ewb-legal .mnav[open] summary::after { content: "\2715"; font-size: 18px; line-height: 1; color: var(--dark); }
  .ewb-legal .mnav .sheet { position: absolute; left: 0; right: 0; top: 100%; padding: 8px 16px 18px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(17,26,46,.45); }
  .ewb-legal .mnav .sheet a { display: block; padding: 13px 4px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 1.02rem; font-weight: 600; text-decoration: none; }
  .ewb-legal .mnav .sheet a.acc2 { color: var(--muted); font-size: .95rem; font-weight: 500; }
  .ewb-legal .mnav .sheet a.cta { margin-top: 14px; padding: 14px; border: 0; border-radius: 10px; background: var(--dark); color: var(--white); text-align: center; }
}
@media (max-width: 379px) {
  .ewb-legal .mctl .acc { width: 40px; padding: 0; }
  .ewb-legal .mctl .acc-w { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (min-width: 900px) { .ewb-legal .mctl { display: none; } }
