/* Base styles — ported from mockup 02 (style.css + kliniczna.css, cascade order kept). Block styles live in the plugin blocks. */
* { box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:100px; }
body { margin:0; background:var(--paper); color:var(--ink); font-family:Arial,sans-serif; line-height:1.65; }
a { color:inherit; text-decoration:none; }
a { -webkit-tap-highlight-color:transparent; }
button { -webkit-tap-highlight-color:transparent; }
summary { -webkit-tap-highlight-color:transparent; }
button { font:inherit; cursor:pointer; }
a:focus-visible { outline:3px solid #c47829; outline-offset:5px; }
button:focus-visible { outline:3px solid #c47829; outline-offset:5px; }
summary:focus-visible { outline:3px solid #c47829; outline-offset:5px; }
img { max-width:100%; display:block; }
p { color:var(--muted); margin:0 0 22px; }
h1 { line-height:1.15; font-weight:500; margin:0; }
h2 { line-height:1.15; font-weight:500; margin:0; }
h3 { line-height:1.15; font-weight:500; margin:0; }
h1 { font-family:var(--serif); letter-spacing:-1.7px; }
h2 { font-family:var(--serif); letter-spacing:-1.7px; }
h2 { font-size:clamp(36px,4.2vw,55px); }
h3 { font-size:20px; }
.wrap { max-width:1240px; width:calc(100% - 112px); margin:0 auto; }
.topline { background:var(--ink); color:#f1f4ed; font-size:11px; padding:8px 0; }
.topline .wrap { display:flex; justify-content:space-between; }
.topline i { padding:0 14px; font-style:normal; opacity:.5; }
.site-header { position:sticky; top:0; z-index:20; background:rgba(250,249,245,.97); border-bottom:1px solid var(--line); }
.nav { min-height:101px; display:flex; justify-content:space-between; align-items:center; gap:25px; }
.brand { display:flex; align-items:center; gap:12px; }
.brand img { width:54px; height:54px; object-fit:contain; }
.brand span { font:21px var(--serif); white-space:nowrap; }
.brand small { display:block; font:9px Arial,sans-serif; letter-spacing:2.2px; margin-top:7px; }
.nav nav { display:flex; gap:25px; align-items:center; font-size:12px; }
.nav nav>a:not(.button):hover { color:#2c8181; }
.text-link:hover { color:#2c8181; }
.button { display:inline-flex; justify-content:space-between; align-items:center; gap:32px; background:var(--teal); color:white; padding:17px 24px; font-size:13px; font-weight:500; border:1px solid var(--teal); transition:background .2s; }
.button:hover { background:var(--ink); }
.button span { font-size:19px; }
.button.small { padding:12px 17px; gap:25px; }
.menu-toggle { display:none; }
.eyebrow { display:block; font-size:10px; letter-spacing:2px; font-weight:700; line-height:1.7; margin-bottom:20px; }
h1 { font-size:clamp(51px,4.6vw,72px); line-height:1.05; margin:22px 0 22px; }
.text-link { font-size:12px; text-decoration:underline; text-underline-offset:5px; }
.section { padding-top:91px; padding-bottom:91px; }
.section-head { display:flex; justify-content:space-between; align-items:end; gap:60px; margin-bottom:44px; }
.section-head>p { max-width:380px; font-size:13px; margin-bottom:3px; line-height:1.85; }
.section-head>div+div { max-width:380px; font-size:13px; margin-bottom:3px; line-height:1.85; }
.section-head .eyebrow { margin-bottom:16px; }
.section-head>div+div p { margin-bottom:0; }
.pill { display:inline-block; padding:7px 13px; background:var(--mint); border-radius:30px; font-size:9px; letter-spacing:1.5px; margin-bottom:15px; }
details { border-top:1px solid var(--line); border-bottom:1px solid var(--line); padding:18px 0; }
details+details { border-top:0; }
summary { display:flex; justify-content:space-between; gap:24px; list-style:none; cursor:pointer; font-size:14px; }
summary::-webkit-details-marker { display:none; }
summary span { font-size:18px; font-weight:400; }
details[open]>summary { margin-bottom:18px; }
details[open]>summary>span { transform:rotate(45deg); }
details>p { font-size:13px; max-width:850px; margin-bottom:7px; }
.note { font-size:11px!important; line-height:1.8; color:#6b7974; }
.site-footer { background:var(--ink); padding:43px 0; color:#e7eee6; }
.site-footer>.wrap { display:flex; align-items:center; justify-content:space-between; gap:30px; }
.footer-brand { font:23px var(--serif); }
.footer-brand small { display:block; font:8px Arial,sans-serif; letter-spacing:1.5px; margin-top:12px; }
.site-footer p { font-size:10px; color:#c2d1ce; line-height:1.9; margin:0; }
.site-footer a { font-size:11px; }
.mobile-cta { display:none; }
.skip { position:fixed; top:-100px; background:white; padding:15px; z-index:100; }
.skip:focus { top:10px; }
@media (max-width:1100px) {
	.wrap { width:calc(100% - 64px); }
	.nav nav { gap:16px; }
	.brand span { font-size:18px; }
	.brand img { width:43px; }
	h1 { font-size:56px; }
	.nav .button { gap:10px; }
}
@media (max-width:850px) {
	.nav { min-height:80px; }
	.menu-toggle { display:block; border:1px solid var(--line); background:transparent; padding:8px 12px; color:var(--ink); font-size:12px; }
	.nav nav { display:none; position:absolute; top:100%; left:0; right:0; background:var(--paper); padding:25px 32px; border-bottom:1px solid var(--line); }
	.nav nav.open { display:flex; flex-direction:column; align-items:stretch; }
	h1 { font-size:45px; }
	.section-head { gap:35px; }
	.section-head>p { max-width:300px; font-size:12px; }
	.section-head>div+div { max-width:300px; font-size:12px; }
	.section { padding-top:65px; padding-bottom:65px; }
	.site-footer>.wrap { flex-wrap:wrap; }
	.footer-brand { font-size:20px; }
}
@media (max-width:600px) {
	.wrap { width:calc(100% - 40px); }
	.topline { font-size:9px; }
	.topline .wrap>span:first-child { display:none; }
	.topline .wrap { justify-content:center; }
	.brand span { font-size:17px; }
	.brand small { font-size:7px; letter-spacing:1.5px; }
	.brand img { width:39px; height:39px; }
	.nav { gap:10px; }
	.section-head { display:block; margin-bottom:30px; }
	.section-head>p { max-width:none; margin-top:23px; }
	.section-head>div+div { max-width:none; margin-top:23px; }
	.section { padding:55px 0; }
	h2 { font-size:39px; letter-spacing:-1px; }
	.eyebrow { font-size:9px; }
	.site-footer { padding:35px 0 90px; }
	.site-footer>.wrap { display:block; }
	.site-footer p { margin:25px 0 20px; }
	.mobile-cta { display:block; position:fixed; bottom:0; left:0; right:0; background:var(--teal); color:white; text-align:center; padding:16px 10px; font-size:13px; z-index:15; box-shadow:0 -4px 20px #163c4818; }
}
@media (prefers-reduced-motion:reduce) {
	html { scroll-behavior:auto; }
	* { transition:none!important; }
}
:root { --ink:#102e55; --teal:#215de5; --muted:#62768e; --paper:#f7faff; --mint:#eaf1ff; --line:#dce5f2; --serif:Arial,sans-serif; --white:#fff; }
body { font-family:Arial,sans-serif; }
h1 { font-family:Arial,sans-serif; }
h2 { font-family:Arial,sans-serif; }
h3 { font-family:Arial,sans-serif; }
h1 { font-weight:700; letter-spacing:-2px; }
h2 { font-weight:700; letter-spacing:-2px; }
.topline { background:white; color:#58708e; border-bottom:1px solid var(--line); }
.site-header { background:#fff; }
.nav { min-height:94px; }
.brand span { font:700 19px Arial; }
.brand small { letter-spacing:1.8px; }
.button { border-radius:9px; font-weight:700; padding:17px 22px; box-shadow:0 5px 14px #215de51a; }
.button:hover { background:#1647b7; }
.nav nav { font-size:12px; }
.text-link { font-weight:600; text-decoration:none; }
.section { padding-top:82px; padding-bottom:82px; }
.section-head h2 { font-size:44px; line-height:1.12; }
.section-head .eyebrow { color:#215de5; font-size:9px; letter-spacing:1.6px; }
.pill { color:#215de5; font-weight:700; }
.site-footer { background:#102e55; }
.footer-brand { font:700 21px Arial; }
.mobile-cta { background:#215de5; }
@media (max-width:850px) {
	.section-head h2 { font-size:38px; }
}
@media (max-width:600px) {
	.brand span { font-size:15px; }
	.section { padding-top:53px; padding-bottom:53px; }
	.section-head h2 { font-size:35px; letter-spacing:-1.3px; }
	.footer-brand { font-size:19px; }
}

/* ------------------------------------------------------------------
 * Theme additions (not in the static mockup): WP menu markup, admin bar,
 * blog listing, single post, pagination, 404, editor tweaks.
 * ------------------------------------------------------------------ */
img { height: auto; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

.nav nav ul { display: flex; gap: inherit; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav nav li { margin: 0; }
.nav nav ul a:hover { color: var(--teal); }
.brand { color: var(--ink); }
.custom-logo-link { display: contents; }
@media (max-width: 850px) {
	.nav nav ul { flex-direction: column; align-items: stretch; gap: 18px; margin-bottom: 22px; font-size: 14px; }
	.nav nav .button { justify-content: space-between; }
}

.site-footer .footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 0; padding: 0; }
.site-footer .footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Blog listing + single post */
.page-hero { padding-top: 64px; padding-bottom: 8px; }
.page-hero h1 { font-size: clamp(38px, 4.6vw, 56px); margin: 0 0 18px; }
.page-hero .eyebrow { color: var(--teal); font-size: 9px; letter-spacing: 1.6px; margin-bottom: 16px; }
.page-hero p { max-width: 640px; font-size: 14px; }
.post-list { padding-top: 32px; padding-bottom: 82px; }
.post-list .articles { grid-template-columns: repeat(3, 1fr); }

.post-list .article p { font-size: 13px; line-height: 1.8; }
@media (max-width: 1100px) { .post-list .articles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .post-list .articles { grid-template-columns: 1fr; } }

.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pagination .page-numbers { min-width: 42px; padding: 10px 14px; text-align: center; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 13px; }
.pagination .page-numbers.current { background: var(--teal); border-color: var(--teal); color: #fff; }
.pagination a.page-numbers:hover { border-color: var(--teal); }

.post-single { padding-bottom: 82px; }
.post-single .page-hero { max-width: 860px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 12px; color: var(--muted); }
.post-thumb { margin: 28px 0 0; border-radius: 16px; overflow: hidden; max-width: 860px; }
.post-thumb img { width: 100%; }
.prose { max-width: 760px; font-size: 16px; line-height: 1.85; margin-top: 40px; }
.prose > * + * { margin-top: 0; }
.prose p, .prose li { color: #33475f; }
.prose p { margin: 0 0 20px; }
.prose h2 { font-size: 30px; letter-spacing: -.8px; line-height: 1.25; margin: 44px 0 16px; }
.prose h3 { font-size: 21px; font-weight: 700; margin: 32px 0 12px; }
.prose ul, .prose ol { margin: 0 0 22px; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.prose blockquote { margin: 28px 0; padding: 20px 24px; border-left: 3px solid var(--teal); background: var(--mint); border-radius: 0 12px 12px 0; }
.prose img { border-radius: 12px; margin: 24px 0; }
.post-cta { max-width: 760px; margin-top: 48px; background: var(--mint); border-radius: 14px; padding: 28px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.post-cta p { margin: 0; font-size: 13px; }
.post-cta b { display: block; font-size: 21px; color: var(--ink); letter-spacing: -.4px; margin-bottom: 4px; }
.post-back { display: inline-block; margin-top: 32px; }
@media (max-width: 600px) {
	.page-hero { padding-top: 40px; }
	.prose { font-size: 15px; margin-top: 28px; }
	.prose h2 { font-size: 25px; }
	.post-cta { display: block; padding: 23px; }
	.post-cta .button { margin-top: 18px; }
}

.error-404 { padding-top: 90px; padding-bottom: 110px; }
.error-404 h1 { font-size: clamp(40px, 5vw, 64px); margin: 0 0 18px; }

/* Section titles rendered as <p> (SEO: not headings on the original site), styled like .section-head h2. */
.section-head .section-title { margin: 0; color: var(--ink); font-size: 44px; line-height: 1.12; font-weight: 700; letter-spacing: -2px; }
@media (max-width: 850px) { .section-head .section-title { font-size: 38px; } }
@media (max-width: 600px) { .section-head .section-title { font-size: 35px; letter-spacing: -1.3px; } }

/* Blog listing cards use H2 titles (as on the original site). */
.post-list .article h2 { font-size: 22px; font-weight: 600; letter-spacing: -.5px; line-height: 1.4; margin-bottom: 18px; }

/* Mobile call button (replaces the mockup's sticky text bar, client request 24.11.2026). */
.call-fab__btn { display: none; }
@media (max-width: 600px) {
	.site-footer { padding-bottom: 92px; } /* keeps the footer credit above the fixed call button (16px + 60px) */
	.call-fab { position: fixed; right: 16px; bottom: 16px; z-index: 30; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
	.call-fab__btn { display: grid; place-items: center; width: 60px; height: 60px; border: 0; border-radius: 50%; background: var(--teal); color: #fff; box-shadow: 0 8px 24px #215de559; }
	body > .call-fab__btn { position: fixed; right: 16px; bottom: 16px; z-index: 30; }
	.call-fab.is-open .call-fab__btn { background: var(--ink); }
	.call-fab__sheet { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 35px #10305533; padding: 14px; min-width: 240px; }
	.call-fab__sheet p { margin: 0 0 8px; font-size: 11px; letter-spacing: 1px; font-weight: 700; text-transform: uppercase; color: var(--muted); }
	.call-fab__sheet a { display: flex; flex-direction: column; padding: 11px 12px; border-radius: 10px; background: var(--mint); }
	.call-fab__sheet a + a { margin-top: 8px; }
	.call-fab__sheet a span { font-size: 9px; letter-spacing: 1.3px; color: var(--muted); }
	.call-fab__sheet a strong { font-size: 19px; color: var(--teal); letter-spacing: -.4px; }
}

/* SVG icons (replace the mockup's text glyphs ↗ ↓ + × ☰ “; sized to match them visually). */
.icon { display: inline-block; width: 1em; height: 1em; vertical-align: -0.14em; flex-shrink: 0; }
.button .icon, .button span .icon { width: 1.05em; height: 1.05em; }
.button span { display: inline-flex; }
.menu-toggle { display: none; align-items: center; gap: 6px; }
@media (max-width: 850px) { .menu-toggle { display: inline-flex; } }
summary > span { display: inline-flex; align-items: center; transition: transform .2s; }
summary > span .icon { width: .85em; height: .85em; }
.plus-mark .icon { width: .65em; height: .65em; vertical-align: -0.08em; }
.quote-mark .icon { width: 34px; height: 34px; vertical-align: top; }
.cert-toggle .cert-toggle-icon { transition: transform .2s; }
.cert-toggle[aria-expanded="true"] .cert-toggle-icon { transform: rotate(180deg); }
.lightbox-toolbar button { display: inline-flex; align-items: center; gap: 6px; }
.call-fab__btn .icon { width: 26px; height: 26px; }
.pagination .icon { vertical-align: -0.18em; }

/* Single post: breadcrumbs, summary (AEO), disclaimer, author box, related posts. */
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; padding-top: 28px; font-size: 12px; color: var(--muted); }
.breadcrumbs a { color: var(--teal); }
.breadcrumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.post-single .page-hero { padding-top: 28px; }
.post-meta { gap: 6px 22px; }
.prose .post-summary { background: var(--mint); border-left: 3px solid var(--teal); border-radius: 0 12px 12px 0; padding: 20px 24px; margin: 0 0 32px; }
.prose .post-summary p { margin: 0; color: var(--ink); }
.prose .post-disclaimer { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.author-box { max-width: 760px; margin-top: 28px; display: flex; gap: 22px; align-items: flex-start; border: 1px solid var(--line); background: #fff; border-radius: 14px; padding: 24px; }
.author-box .author-photo { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; object-position: 80% 20%; flex: none; }
.author-box .eyebrow { color: var(--teal); font-size: 9px; letter-spacing: 1.6px; margin-bottom: 6px; }
.author-box .author-name { margin: 0 0 6px; color: var(--ink); font-weight: 700; font-size: 18px; }
.author-box p { font-size: 13px; line-height: 1.8; margin-bottom: 10px; }
.related-posts { margin-top: 56px; }
.related-posts .related-title { margin: 0 0 18px; color: var(--ink); font-size: 26px; font-weight: 700; letter-spacing: -.8px; }
.related-posts .articles { grid-template-columns: repeat(3, 1fr); gap: 18px; }
.related-posts .related-name { display: block; color: var(--ink); font-size: 18px; font-weight: 600; line-height: 1.4; letter-spacing: -.3px; margin-bottom: 22px; }
@media (max-width: 850px) { .related-posts .articles { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .author-box { padding: 20px; gap: 16px; } .author-box .author-photo { width: 64px; height: 64px; } }
.call-fab.is-hidden, .call-fab__btn.is-hidden { opacity: 0; pointer-events: none; transform: translateY(12px); }
.call-fab, body > .call-fab__btn { transition: opacity .2s, transform .2s; }

/* Agency credit (client request 26.11.2026). */
.site-footer .footer-credit { margin-top: 28px; padding-top: 18px; border-top: 1px solid #ffffff1f; display: flex; justify-content: flex-end; }
.site-footer .footer-credit a { display: inline-flex; align-items: center; gap: 10px; font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: #c2d1ce; }
.site-footer .footer-credit span { opacity: .85; transition: opacity .2s; }
.site-footer .footer-credit a:hover span { opacity: 1; }
.site-footer .footer-credit img { display: block; height: 26px; width: auto; box-sizing: content-box; padding: 6px 10px; background: #fff; border-radius: 6px; }
@media (max-width: 600px) {
	.site-footer .footer-credit { justify-content: flex-start; margin-top: 22px; }
}
