/* ==========================================================================
   UbezpieczLekarza 2.0 — komponenty
   Język wizualny wspólny z landingami gawron-broker.pl (np. OC dla sprzedawców
   Amazon): granat + turkus, Manrope/Inter, duże zaokrąglenia, zdjęcia w mozaice.
   Tokeny: theme.json (--wp--preset--*). Tu tylko odwołania do nich.
   ========================================================================== */

:root {
	--navy: var(--wp--preset--color--navy);
	--navy2: var(--wp--preset--color--navy-2);
	--navy3: var(--wp--preset--color--navy-3);
	--ink: var(--wp--preset--color--ink);
	--ink2: var(--wp--preset--color--muted);
	--ink3: var(--wp--preset--color--soft);
	--teal: var(--wp--preset--color--teal);
	--teal-btn: var(--wp--preset--color--primary);
	--teal2: var(--wp--preset--color--primary-dark);
	--wash: var(--wp--preset--color--wash);
	--bg: var(--wp--preset--color--surface);
	--line: var(--wp--preset--color--line);
	--blue: var(--wp--preset--color--blue);
	--fh: var(--wp--preset--font-family--heading);
	--fb: var(--wp--preset--font-family--sans);
	--mint: #6FE0CF;
	--header-h: 88px;
}

/* --- Podstawy ------------------------------------------------------------ */
html { scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
:where(h1, h2, h3, h4) { text-wrap: balance; }
::selection { background: var(--wash); color: var(--ink); }
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
.skip-link.screen-reader-text:focus { background: var(--navy); color: #fff; padding: .75rem 1rem; z-index: 100000; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
.wp-site-blocks > * { margin-block-start: 0 !important; }
.ul-main--front .wp-block-post-content > .alignfull { margin-top: 0; margin-bottom: 0; }
.wp-block-image { margin: 0; }
.wp-block-image img { display: block; }

/* --- Sekcje --------------------------------------------------------------- */
.ul-sec { padding-top: 96px; padding-bottom: 96px; }
.ul-sec--tight { padding-top: 48px; padding-bottom: 96px; }
.ul-sec--bg { background: var(--bg); }
.ul-sec--navy { background: var(--navy); color: #fff; }
@media (max-width: 640px) { .ul-sec { padding-top: 64px; padding-bottom: 64px; } .ul-sec--tight { padding-top: 24px; } }

.ul-sh { margin-bottom: 44px !important; }
.ul-sh > * { margin: 0; max-width: 760px; }
.ul-sh h2 { margin: 16px 0 12px; }
.ul-sh p:not(.ul-pill) { color: var(--ink2); font-size: 1.07rem; }
.ul-sh--c { text-align: center; }
.ul-sh--c > *, .ul-sh--c h2 { margin-left: auto; margin-right: auto; }
.ul-sh--row { align-items: flex-end !important; }
.ul-sh--row > * { max-width: none; }
.ul-sec--navy .ul-sh p:not(.ul-pill), .ul-sec--navy .ul-lead { color: var(--wp--preset--color--on-dark-muted); }
.ul-sec--navy :where(h2, h3, strong) { color: #fff; }
.ul-split { gap: 56px !important; align-items: center !important; }

/* Etykieta-pastylka */
.ul-pill {
	display: inline-flex; align-items: center; gap: 8px; width: fit-content;
	font: 700 13px/1.2 var(--fh); color: var(--teal2); background: var(--wash);
	border-radius: 99px; padding: 7px 14px; margin: 0;
}
.ul-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.ul-sh--c .ul-pill { margin: 0 auto; }
.ul-sec--navy .ul-pill, .ul-cta .ul-pill { background: rgba(18,165,148,.18); color: var(--mint); }
.ul-kicker { font: 800 12px/1.3 var(--fh); letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); margin: 0 0 8px; }
.ul-lead { font-size: 1.13rem; color: var(--ink2); max-width: 56ch; }
.ul-note { font-size: .92rem; color: var(--ink3); }
.ul-sec--navy .ul-note { color: var(--wp--preset--color--on-dark-muted); margin-top: 20px; }
.ul-more { margin: 0; }
.ul-more a { font: 700 15px var(--fh); color: var(--teal2); text-decoration: none; }
.ul-more a::after { content: " →"; }
.ul-more a:hover { color: var(--navy); text-decoration: underline; }
.ul-verify { display: inline-block; margin-top: 18px; font: 700 12.5px var(--fh); color: var(--wp--preset--color--accent); background: #FFF1E0; border-radius: 99px; padding: 6px 12px; }

/* --- Przyciski ------------------------------------------------------------ */
.wp-block-buttons { gap: 12px; }
.wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1.5px solid transparent; transition: background .18s, border-color .18s, color .18s; text-decoration: none; }
.ul-btn-shadow .wp-block-button__link { box-shadow: 0 10px 24px -12px rgba(18,165,148,.8); }
.wp-block-button.is-style-outline > .wp-block-button__link { background: #fff; color: var(--navy); border-color: var(--line); padding-top: 17px; padding-bottom: 17px; }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { border-color: var(--navy); color: var(--navy); background: #fff; }
.wp-block-button.is-style-navy > .wp-block-button__link { background: var(--navy); color: #fff; }
.wp-block-button.is-style-navy > .wp-block-button__link:hover { background: var(--navy2); }
.wp-block-button.is-style-on-navy > .wp-block-button__link { background: transparent; color: #fff; border-color: var(--navy3); }
.wp-block-button.is-style-on-navy > .wp-block-button__link:hover { border-color: #fff; }
.ul-btn-sm .wp-block-button__link { padding: 11px 18px; font-size: 14.5px; border-radius: 10px; }

/* --- Nagłówek ------------------------------------------------------------- */
/* Przyklejony jest cały nagłówek (wrapper części szablonu); pasek „serwis KG Broker” wyjeżdża przy przewijaniu dzięki ujemnemu top. */
header.wp-block-template-part:has(> .ul-header) { position: sticky; top: 0; z-index: 50; }
.admin-bar header.wp-block-template-part:has(> .ul-header) { top: var(--wp-admin--admin-bar--height, 0); }
.ul-header { background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
/* Rozmycie tła tworzy blok zawierający dla elementów fixed — przy otwartym menu ☰ wyłączamy je, inaczej nakładka menu byłaby przycięta do wysokości nagłówka. */
.ul-header:has(.is-menu-open) { backdrop-filter: none; background: #fff; }
.ul-topstrip { display: none; }
@media (max-width: 1360px) {
	:root { --strip-h: 30px; }
	header.wp-block-template-part:has(> .ul-header) { top: calc(-1 * var(--strip-h)); }
	.admin-bar header.wp-block-template-part:has(> .ul-header) { top: calc(var(--wp-admin--admin-bar--height, 0px) - var(--strip-h)); }
	.ul-topstrip { box-sizing: border-box; display: flex; align-items: center; justify-content: center; gap: 10px; height: var(--strip-h); padding: 0 16px; background: var(--wash); border-bottom: 1px solid var(--line); font: 500 12px/1 var(--fb); color: var(--ink2); white-space: nowrap; overflow: hidden; }
	.ul-topstrip b { font-weight: 700; color: var(--ink); }
	.ul-topstrip__logo { height: 18px; width: auto; display: block; flex-shrink: 0; }
}
@media (max-width: 479px) { .ul-topstrip__knf { display: none; } }
.ul-header__bar { min-height: var(--header-h); gap: 24px; }
.ul-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.ul-brand__logo { height: 70px; width: auto; display: block; }
.ul-brand__by { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; font: 600 11px/1.25 var(--fb); color: var(--ink3); padding-left: 14px; border-left: 1px solid var(--line); }
.ul-brand__kg { height: 30px; width: auto; display: block; }
.ul-nav { flex: 1 1 auto; font: 500 15px var(--fb); }
.ul-nav .wp-block-navigation__container { gap: 28px; }
.ul-nav .wp-block-navigation-item__content { color: var(--ink); text-decoration: none; padding: 8px 0; }
.ul-nav .wp-block-navigation-item__content:hover, .ul-nav .current-menu-item > .wp-block-navigation-item__content { color: var(--teal2); }
.ul-nav .wp-block-navigation__responsive-container-open { width: 44px; height: 44px; justify-content: center; border: 1px solid var(--line); border-radius: 10px; }
.ul-nav .wp-block-navigation__responsive-container.is-menu-open { padding: 20px; }
.ul-nav .is-menu-open .wp-block-navigation__container { gap: 0; width: 100%; }
.ul-nav .is-menu-open .wp-block-navigation-item { width: 100%; border-bottom: 1px solid var(--line); }
.ul-nav .is-menu-open .wp-block-navigation-item__content { font: 800 1.35rem var(--fh); letter-spacing: -.02em; padding: 16px 0; width: 100%; }
.ul-header__cta { flex-shrink: 0; }
@media (max-width: 1360px) { .ul-brand__by { display: none; } }
@media (max-width: 1280px) { .ul-brand__logo { height: 60px; } }
@media (max-width: 1180px) { .ul-nav .wp-block-navigation__container { gap: 20px; } }
@media (min-width: 600px) and (max-width: 1040px) { .ul-brand__logo { height: 50px; } .ul-header__bar { gap: 16px; } .ul-nav { font-size: 14px; } .ul-nav .wp-block-navigation__container { gap: 14px; } .ul-header__cta .wp-block-button__link { padding: 10px 14px; font-size: 14px; } }
/* Tablet: pełne menu się nie mieści — przycisk ☰ jak na telefonie. */
@media (min-width: 600px) and (max-width: 899px) {
	.ul-nav { flex: 0 0 auto; margin-left: auto !important; }
	.ul-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.ul-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
}
@media (max-width: 599px) {
	:root { --header-h: 64px; }
	.ul-brand__logo { height: 46px; }
	.ul-header__bar { gap: 10px; }
	.ul-nav { flex: 0 0 auto; margin-left: auto !important; }
	.ul-btn-sm .wp-block-button__link { padding: 10px 12px; font-size: 13.5px; }
}

/* --- Hero ----------------------------------------------------------------- */
.ul-hero { background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); padding-top: 56px; padding-bottom: 72px; overflow: hidden; }
.ul-hero__grid { gap: 56px !important; align-items: center !important; margin-top: 0 !important; margin-bottom: 0 !important; }
.ul-hero__copy { flex-basis: 48% !important; }
.ul-hero__media { flex-basis: 52% !important; }
.ul-hero__title { margin: 20px 0 !important; font-size: clamp(2.2rem, 4.3vw, 3.7rem) !important; }
mark.ul-grad { background: linear-gradient(90deg, var(--teal), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; padding: 0; }
.ul-hero__lead { font-size: 1.13rem; color: var(--ink2); max-width: 52ch; margin: 0; }
.ul-hero__msg { margin: 14px 0 0; font-size: .98rem; color: var(--ink2); max-width: 56ch; padding-left: 14px; border-left: 3px solid var(--teal); }
.ul-hero__cta { margin-top: 30px !important; }
.ul-chip-link { margin: 18px 0 0; }
.ul-chip-link a {
	display: inline-block; position: relative; padding: 12px 16px 12px 58px; line-height: 1.45; border-radius: 14px;
	background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink2); font-size: .94rem;
	box-shadow: 0 14px 30px -26px rgba(11,37,69,.6);
}
.ul-chip-link a::before { content: ""; position: absolute; left: 10px; top: 50%; margin-top: -18px; width: 36px; height: 36px; border-radius: 10px; background: #FFF1E0 var(--ico-doc-o) center / 19px no-repeat; }
.ul-chip-link a:hover { border-color: var(--teal); color: var(--ink2); }
.ul-chip-link strong { color: var(--ink); font-weight: 600; }

.ul-mosaic { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; grid-template-rows: 230px 230px; gap: 14px; }
.ul-mosaic > * { margin: 0 !important; }
.ul-mosaic .wp-block-image, .ul-mosaic img { height: 100%; width: 100%; }
.ul-mosaic img { object-fit: cover; border-radius: 20px; }
.ul-mosaic__a { grid-row: span 2; }
.ul-float {
	position: absolute; left: -36px; bottom: -34px; z-index: 2; background: #fff; border-radius: 18px; padding: 18px 20px 18px 78px;
	box-shadow: 0 30px 60px -24px rgba(11,37,69,.35); max-width: 340px;
}
.ul-float::before { content: ""; position: absolute; left: 20px; top: 50%; margin-top: -23px; width: 46px; height: 46px; border-radius: 12px; background: var(--wash) var(--ico-shield) center / 22px no-repeat; }
.ul-float__title { font: 800 15px/1.3 var(--fh); margin: 0; color: var(--ink); }
.ul-float__text { font-size: .86rem; color: var(--ink2); line-height: 1.45; margin: 2px 0 0; }

.ul-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 72px !important; margin-bottom: 0 !important; padding: 20px 0 0; border-top: 1px solid var(--line); font-size: .92rem; color: var(--ink2); }
.ul-trust li { margin: 0; }
.ul-trust li::before { content: "✓"; color: var(--teal); font-weight: 800; margin-right: 7px; }
@media (max-width: 960px) {
	.ul-hero__grid { flex-direction: column; gap: 48px !important; }
	.ul-hero__copy, .ul-hero__media { flex-basis: auto !important; width: 100%; }
	.ul-mosaic { grid-template-rows: 170px 170px; }
	.ul-float { left: 12px; right: 12px; bottom: -40px; max-width: none; }
	.ul-trust { margin-top: 72px !important; }
}
@media (max-width: 599px) {
	.ul-hero { padding-top: 32px; }
	.ul-mosaic { grid-template-rows: 130px 130px; gap: 10px; }
	.ul-mosaic img { border-radius: 14px; }
	.ul-float { position: relative; left: auto; right: auto; bottom: auto; grid-column: 1 / -1; margin: -34px 12px 0 !important; padding: 14px 16px 14px 70px; }
	.ul-float::before { left: 14px; }
	.ul-hero__cta .wp-block-button { width: 100%; }
	.ul-hero__cta .wp-block-button__link { width: 100%; }
	.ul-chip-link a { font-size: .88rem; }
}

/* --- Dwie ścieżki --------------------------------------------------------- */
.ul-paths { gap: 20px !important; }
.ul-path { background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; }
.ul-path--key { border: 2px solid var(--teal); box-shadow: 0 30px 60px -40px rgba(18,165,148,.8); }
.ul-path__img { aspect-ratio: 16 / 9; overflow: hidden; }
.ul-path__img img { width: 100%; height: 100%; object-fit: cover; }
.ul-path__body { padding: 28px 30px 30px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.ul-path__body > * { margin: 0 !important; }
.ul-path__body h3 { font-size: 1.5rem; }
.ul-path__body > p:not(.ul-tag) { color: var(--ink2); }
.ul-path__body .wp-block-buttons { margin-top: auto !important; padding-top: 8px; }
.ul-tag { align-self: flex-start; font: 800 12px var(--fh); letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--teal-btn); border-radius: 99px; padding: 5px 11px; }
.ul-tag--navy { background: var(--navy); }

/* Lista z kropkami (pierścień) */
.ul-dots { list-style: none; padding: 0; margin: 0; }
.ul-dots li { position: relative; padding: 10px 0 10px 28px; border-top: 1px solid var(--line); font-size: .96rem; color: var(--ink2); margin: 0; }
.ul-dots li:first-child { border-top: 0; }
.ul-dots li::before { content: ""; position: absolute; left: 0; top: 14px; width: 16px; height: 16px; border-radius: 50%; background: var(--wash); box-shadow: inset 0 0 0 5px var(--teal); }
.ul-dots strong { color: var(--ink); font-weight: 600; }

/* --- Oś kroków ------------------------------------------------------------ */
.ul-axis { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: ax; }
.ul-axis li { counter-increment: ax; position: relative; text-align: center; padding: 0 6px; margin: 0; color: var(--ink2); font-size: .92rem; line-height: 1.45; }
.ul-axis li::before {
	content: counter(ax); position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 18px;
	border-radius: 50%; background: #fff; border: 2px solid var(--line); font: 800 18px var(--fh); color: var(--navy);
}
.ul-axis li::after { content: ""; position: absolute; top: 28px; left: calc(50% + 30px); width: calc(100% - 44px); height: 2px; background: linear-gradient(90deg, #BFE7E1, var(--teal)); }
.ul-axis li:last-child::after { display: none; }
.ul-axis li:first-child::before { background: #FFF1E0; border-color: #F5C08A; color: #8A4A06; }
.ul-axis li:last-child::before { background: var(--teal-btn); border-color: var(--teal-btn); color: #fff; }
.ul-axis strong { display: block; font: 700 1rem/1.3 var(--fh); color: var(--ink); margin-bottom: 4px; }
.ul-prep { display: grid; grid-template-columns: .7fr 1.3fr; gap: 32px; align-items: center; margin-top: 56px !important; padding: 28px 32px; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.ul-prep h3 { font-size: 1.25rem; margin: 0 0 6px; }
.ul-prep p { color: var(--ink2); font-size: .94rem; margin: 0; }
.ul-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ul-chips li { margin: 0; }
.ul-chips a { display: inline-block; padding: 11px 15px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font: 700 14.5px var(--fh); color: var(--navy); text-decoration: none; transition: border-color .15s, background .15s; }
.ul-chips a:hover { border-color: var(--teal); background: var(--wash); color: var(--teal2); }
@media (max-width: 1000px) {
	.ul-axis { grid-template-columns: 1fr; gap: 0; }
	.ul-axis li { text-align: left; padding: 0 0 22px 76px; min-height: 56px; }
	.ul-axis li::before { position: absolute; left: 0; top: 0; margin: 0; }
	.ul-axis li::after { left: 27px; top: 58px; width: 2px; height: calc(100% - 58px); background: #BFE7E1; }
	.ul-axis strong { padding-top: 4px; }
	.ul-prep { grid-template-columns: 1fr; gap: 16px; padding: 22px; }
}

/* --- Kafle zawodów -------------------------------------------------------- */
.ul-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ul-tiles > * { margin: 0 !important; }
.ul-tile { position: relative; height: 230px; border-radius: 20px; overflow: hidden; background: var(--navy); }
figure.ul-tile > a { display: block; height: 100%; }
.ul-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ul-tile:hover img { transform: scale(1.05); }
figure.ul-tile > a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,37,69,.9), rgba(11,37,69,0) 62%); }
.ul-tile figcaption { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; margin: 0; color: #D3DDEA; font-size: .88rem; text-align: left; pointer-events: none; line-height: 1.4; }
.ul-tile figcaption strong { display: block; color: #fff; font: 800 1.2rem/1.2 var(--fh); letter-spacing: -.015em; }
.ul-tile--more { background: var(--wash); padding: 24px; display: flex; flex-direction: column; justify-content: space-between; }
.ul-tile--more p { margin: 0; color: var(--ink2); font-size: .95rem; }
.ul-tile--more strong { display: block; font: 800 1.2rem/1.25 var(--fh); color: var(--ink); margin-bottom: 6px; }
/* Gdy kafel „inny zawód” zostaje sam w rzędzie — pasek na całą szerokość. */
.ul-tiles > .ul-tile--more:nth-child(4n+1):last-child { grid-column: 1 / -1; height: auto; flex-direction: row; align-items: center; gap: 24px; padding: 22px 28px; }
.ul-tiles > .ul-tile--more:nth-child(4n+1):last-child strong { display: inline; margin: 0 6px 0 0; }
.ul-tiles > .ul-tile--more:last-child .ul-more { white-space: nowrap; }
@media (max-width: 1000px) { .ul-tiles { grid-template-columns: repeat(2, 1fr); } .ul-tiles > .ul-tile--more:nth-child(2n+1):last-child { grid-column: 1 / -1; height: auto; } }
@media (max-width: 560px) { .ul-tiles { grid-template-columns: 1fr 1fr; gap: 10px; } .ul-tile { height: 170px; border-radius: 16px; } .ul-tile figcaption { left: 12px; right: 12px; bottom: 12px; font-size: .8rem; } .ul-tile figcaption strong { font-size: 1rem; } .ul-tile--more { grid-column: 1 / -1; height: auto; padding: 20px; } }

/* --- Obowiązkowe ≠ dobrowolne -------------------------------------------- */
.ul-neq { display: grid; grid-template-columns: 1fr 90px 1.15fr; align-items: stretch; max-width: 1040px !important; margin-left: auto !important; margin-right: auto !important; }
.ul-neq > * { margin: 0 !important; }
.ul-neq__col { border-radius: 24px; padding: 30px; background: var(--bg); border: 1px solid var(--line); }
.ul-neq__col h3 { font-size: 1.3rem; margin: 0 0 16px; }
.ul-neq__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ul-neq__col li { padding: 10px 14px; border-radius: 12px; background: #fff; font-size: .95rem; color: var(--ink2); margin: 0; }
.ul-neq__col--key { background: var(--navy); border-color: var(--navy); color: #fff; }
.ul-neq__col--key h3 { color: #fff; }
.ul-neq__col--key .ul-kicker { color: var(--mint); }
.ul-neq__col--key li { background: rgba(255,255,255,.08); color: #DCE6F1; }
.ul-neq__sign { display: grid; place-items: center; font: 800 64px/1 var(--fh); color: var(--teal); }
.ul-law { display: grid; grid-template-columns: 180px 1fr; gap: 24px; max-width: 1040px !important; margin: 28px auto 0 !important; padding: 22px 26px; border-radius: 18px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--blue); }
.ul-law > * { margin: 0 !important; }
.ul-law .ul-kicker { color: #1B6FB5; } /* ciemniejszy niebieski — kontrast AA dla drobnego tekstu */
.ul-law p:not(.ul-kicker) { font-size: .92rem; color: var(--ink2); line-height: 1.6; }
#porownanie .ul-verify { display: table; margin: 18px auto 0; }
@media (max-width: 860px) { .ul-neq { grid-template-columns: 1fr; } .ul-neq__sign { font-size: 48px; padding: 6px 0; } .ul-neq__col { padding: 22px; } .ul-law { grid-template-columns: 1fr; gap: 6px; padding: 20px; } }

/* --- Program placówki (granat) ------------------------------------------- */
.ul-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ul-duo > * { margin: 0 !important; }
.ul-duo img { height: 300px; width: 100%; object-fit: cover; border-radius: 20px; }
.ul-duo > :nth-child(2) { margin-top: 40px !important; }
.ul-mods { list-style: none; padding: 0; margin-top: 56px !important; margin-bottom: 0 !important; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ul-mods li { position: relative; margin: 0; padding: 74px 22px 22px; border-radius: 20px; background: var(--navy2); border: 1px solid rgba(255,255,255,.08); color: #C8D6E6; font-size: .9rem; line-height: 1.5; }
.ul-mods li::before { content: ""; position: absolute; left: 22px; top: 22px; width: 40px; height: 40px; border-radius: 11px; background-color: rgba(18,165,148,.2); background-position: center; background-size: 20px; background-repeat: no-repeat; }
.ul-mods strong { display: block; color: #fff; font: 800 1.05rem/1.3 var(--fh); margin-bottom: 4px; }
@media (max-width: 1000px) { .ul-mods { grid-template-columns: 1fr 1fr; } .ul-duo img { height: 220px; } }
@media (max-width: 560px) { .ul-mods { grid-template-columns: 1fr; } .ul-mods li { padding: 20px 20px 20px 78px; } .ul-mods li::before { top: 20px; left: 20px; } .ul-duo img { height: 160px; } .ul-duo > :nth-child(2) { margin-top: 24px !important; } }

/* --- Scenariusze (karty ryzyk) ------------------------------------------- */
.ul-risks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ul-risks > * { margin: 0 !important; }
.ul-risk { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px 24px; display: flex; flex-direction: column; gap: 10px; }
.ul-risk > * { margin: 0 !important; }
.ul-risk::before { content: ""; width: 44px; height: 44px; border-radius: 12px; background-color: var(--wash); background-position: center; background-size: 21px; background-repeat: no-repeat; }
.ul-risk h3 { font-size: 1.15rem; letter-spacing: -.015em; margin-top: 4px !important; }
.ul-risk p { font-size: .95rem; color: var(--ink2); }
.ul-risk p strong { color: var(--ink); font-weight: 600; }
.ul-risk .ul-risk__mod { margin-top: auto !important; padding-top: 12px; border-top: 1px dashed var(--line); font: 700 13px/1.4 var(--fh); color: var(--teal2); }
@media (max-width: 1000px) { .ul-risks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .ul-risks { grid-template-columns: 1fr; } }

/* --- Panel brokera ------------------------------------------------------- */
.ul-panel { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 44px 40px; box-shadow: 0 40px 80px -60px rgba(11,37,69,.4); }
.ul-panel h2 { margin: 16px 0 12px; }
.ul-panel .ul-lead { margin-bottom: 18px; }
.ul-broker__head { display: flex; gap: 16px; align-items: center; margin-bottom: 14px; }
.ul-broker__photo, .ul-broker__mono { width: 88px; height: 88px; border-radius: 18px; flex-shrink: 0; object-fit: cover; }
.ul-broker__mono { display: grid; place-items: center; background: var(--wash); color: var(--teal2); font: 800 1.4rem var(--fh); }
.ul-broker__name { font: 800 1.3rem/1.2 var(--fh); letter-spacing: -.02em; margin: 0; color: var(--ink); }
.ul-broker__role { margin: 2px 0 0; color: var(--ink2); font-size: .9rem; }
.ul-broker__bio { font-size: .94rem; color: var(--ink2); margin: 0 0 16px; }
.ul-broker__stats { list-style: none; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ul-broker__stats li { margin: 0; background: var(--navy); color: #fff; border-radius: 16px; padding: 16px 18px; }
.ul-broker__stats b { display: block; font: 800 1.05rem/1.25 var(--fh); letter-spacing: -.01em; }
.ul-broker__stats span { display: block; font-size: .82rem; color: var(--wp--preset--color--on-dark-muted); margin-top: 2px; }
.ul-broker__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ul-broker__actions .wp-block-button { flex: 1 1 100%; }
.ul-broker__actions .wp-block-button__link { width: 100%; box-sizing: border-box; }
.ul-broker--author { margin-top: 56px; padding: 28px; border-radius: 22px; background: var(--bg); border: 1px solid var(--line); }
@media (max-width: 781px) { .ul-panel { padding: 26px 20px; } }
@media (max-width: 420px) { .ul-broker__stats { grid-template-columns: 1fr; } }

/* --- Wiedza: karty wpisów ------------------------------------------------- */
.ul-post-card { height: 100%; box-sizing: border-box; display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.ul-post-card > * { margin: 0 !important; }
.ul-post-card .wp-block-post-title a { color: var(--ink); text-decoration: none; }
.ul-post-card .wp-block-post-title a:hover { color: var(--teal2); }
.ul-post-card .wp-block-post-excerpt { font-size: .94rem; color: var(--ink2); }
.ul-post-card .wp-block-post-excerpt__more-text { display: none; }
.ul-post-card__cat { font: 800 12px var(--fh); text-transform: uppercase; letter-spacing: .08em; }
.ul-post-card__cat a { color: var(--teal2); text-decoration: none; }
.wp-block-post-template.ul-cards { gap: 16px; }
@media (max-width: 781px) { .wp-block-post-template.is-layout-grid.ul-cards { grid-template-columns: 1fr; } }
.is-style-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; }

/* --- FAQ ------------------------------------------------------------------ */
.ul-faq { display: grid; gap: 10px; }
.ul-faq > * { margin: 0 !important; }
.wp-block-details.is-style-faq { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; transition: border-color .15s; }
.wp-block-details.is-style-faq[open] { border-color: #BFE7E1; box-shadow: 0 20px 40px -34px rgba(11,37,69,.5); }
.wp-block-details.is-style-faq summary { list-style: none; cursor: pointer; position: relative; padding: 22px 48px 22px 0; font: 700 1.02rem/1.4 var(--fh); color: var(--ink); }
.wp-block-details.is-style-faq summary::-webkit-details-marker { display: none; }
.wp-block-details.is-style-faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; margin-top: -14px; width: 28px; height: 28px; border-radius: 8px; background: var(--wash); color: var(--teal2); display: grid; place-items: center; font: 800 16px/1 var(--fh); transition: transform .2s; }
.wp-block-details.is-style-faq[open] summary::after { transform: rotate(45deg); }
.wp-block-details.is-style-faq summary:hover { color: var(--teal2); }
.wp-block-details.is-style-faq > :not(summary) { margin: -4px 0 22px; color: var(--ink2); font-size: .97rem; }

/* --- CTA (granatowy panel ze zdjęciem) ----------------------------------- */
.ul-cta { gap: 0 !important; background: var(--navy); border-radius: 26px; overflow: hidden; color: #fff; margin-top: 0 !important; margin-bottom: 0 !important; }
.ul-cta__media { flex-basis: 45% !important; position: relative; min-height: 320px; }
.ul-cta__media .wp-block-image { position: absolute; inset: 0; }
.ul-cta__media img { width: 100%; height: 100%; object-fit: cover; }
.ul-cta__body { flex-basis: 55% !important; padding: 52px 48px; }
.ul-cta__body > * { margin: 0; }
.ul-cta__body h2 { color: #fff; margin: 16px 0 12px; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.ul-cta__body > p:not(.ul-pill) { color: var(--wp--preset--color--on-dark-muted); }
.ul-cta__contact { margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); }
.ul-cta__talk { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: baseline; margin: 0; color: var(--wp--preset--color--on-dark-muted); }
.ul-cta__talk a { color: #fff; font: 800 1.05rem var(--fh); text-decoration: none; }
.ul-cta__talk a:hover { color: var(--mint); }
.ul-cta__legal { margin: 12px 0 0; font-size: .8rem; color: #8FA6C1; }
@media (max-width: 781px) { .ul-cta { flex-direction: column; } .ul-cta__media { min-height: 200px; flex-basis: auto !important; } .ul-cta__body { padding: 30px 22px; } }

/* --- Stopka --------------------------------------------------------------- */
.ul-footer { font-size: .94rem; background: var(--navy) !important; }
.ul-footer a { color: #C8D6E6; text-decoration: none; }
.ul-footer a:hover { color: #fff; text-decoration: underline; }
.ul-footer__brand { font: 800 1.35rem var(--fh); letter-spacing: -.02em; color: #fff; margin-bottom: 10px; }
.ul-footer__h { font: 800 12px var(--fh) !important; letter-spacing: .1em; text-transform: uppercase; color: var(--mint) !important; margin: 0 0 14px; }
.ul-footer__list { list-style: none; padding: 0; margin: 0; }
.ul-footer__list li { margin: 0 0 9px; }
.ul-footer__cols { gap: 40px !important; }
.ul-footer__sep { border-color: rgba(255,255,255,.12) !important; margin: 48px 0 24px !important; }
.ul-contact { list-style: none; padding: 0; margin: 18px 0 0; }
.ul-contact li { margin: 0 0 6px; }
.ul-contact a { color: #fff; font: 800 1rem var(--fh); }
.ul-company { font-size: .8rem; line-height: 1.7; color: #8FA6C1; }
.ul-company p { margin: 0 0 4px; }
.ul-consent-link { background: none; border: 0; padding: 0; color: #C8D6E6; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; margin-top: 4px; min-height: 32px; }
.ul-consent-link:hover { color: #fff; }

/* --- Podstrony: okruszki, meta, odznaki ---------------------------------- */
.ul-breadcrumbs { font-size: .82rem; color: var(--ink3); margin-bottom: 18px; }
.ul-breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; }
.ul-breadcrumbs li { margin: 0; }
.ul-breadcrumbs li + li::before { content: "/"; margin: 0 9px; color: #C3CFDB; }
.ul-breadcrumbs a { color: var(--ink3); text-decoration: none; }
.ul-breadcrumbs a:hover { color: var(--teal2); text-decoration: underline; }
.ul-article-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .9rem; color: var(--ink2); padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.ul-article-meta b { color: var(--ink); font-weight: 600; }
.ul-badge { display: inline-block; font: 700 12px var(--fh); padding: 4px 10px; border-radius: 99px; background: var(--wash); color: var(--teal2); }
.ul-badge--warn { background: #FFF1E0; color: var(--wp--preset--color--accent); }
.ul-article .wp-block-post-content { font-size: 1.08rem; line-height: 1.7; }
.ul-article .wp-block-post-content h2 { margin-top: 2.5rem; font-size: 1.6rem; }
.ul-main:not(.ul-main--front) .wp-block-post-content .ul-lead { font-size: 1.15rem; }

/* --- Przyklejony CTA (telefon) ------------------------------------------- */
.ul-sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; gap: 8px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.98); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .2s; }
.ul-sticky-cta.is-visible { transform: none; }
.ul-sticky-cta a { flex: 1; min-height: 46px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; font: 700 14.5px var(--fh); text-decoration: none; }
.ul-sticky-cta__primary { background: var(--teal-btn); color: #fff; }
.ul-sticky-cta__secondary { border: 1.5px solid var(--navy); color: var(--navy); }
@media (min-width: 782px) { .ul-sticky-cta { display: none; } }
body.ul-consent-open .ul-sticky-cta { display: none; }

/* --- Kolumny na telefonie ------------------------------------------------- */
@media (max-width: 781px) {
	.ul-split { gap: 36px !important; }
	.ul-paths { gap: 16px !important; }
	.ul-path__body { padding: 22px; }
	.ul-footer__cols { gap: 28px !important; }
}

/* Ikony (wygenerowane): turkus na jasnym tle, miętowe na granacie */
:root {
	--ico-shield: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B8577' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v5c0 5-3.4 8.6-7 10-3.6-1.4-7-5-7-10V6z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E");
	--ico-doc-o: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C2620A' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h9l4 4v14H6z'/%3E%3Cpath d='M14 3v5h5M9 13h6M9 17h4'/%3E%3C/svg%3E");
}
.ul-risk.ul-ico-shield::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B8577' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v5c0 5-3.4 8.6-7 10-3.6-1.4-7-5-7-10V6z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E"); }
.ul-mods .ul-ico-shield::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236FE0CF' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v5c0 5-3.4 8.6-7 10-3.6-1.4-7-5-7-10V6z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E"); }
.ul-risk.ul-ico-plus::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B8577' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 8v8M8 12h8'/%3E%3C/svg%3E"); }
.ul-mods .ul-ico-plus::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236FE0CF' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 8v8M8 12h8'/%3E%3C/svg%3E"); }
.ul-risk.ul-ico-building::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B8577' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 21V8l8-5 8 5v13'/%3E%3Cpath d='M10 21v-5h4v5M12 8v4M10 10h4'/%3E%3C/svg%3E"); }
.ul-mods .ul-ico-building::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236FE0CF' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 21V8l8-5 8 5v13'/%3E%3Cpath d='M10 21v-5h4v5M12 8v4M10 10h4'/%3E%3C/svg%3E"); }
.ul-risk.ul-ico-pause::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B8577' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M10 9v6M14 9v6'/%3E%3C/svg%3E"); }
.ul-mods .ul-ico-pause::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236FE0CF' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M10 9v6M14 9v6'/%3E%3C/svg%3E"); }
.ul-risk.ul-ico-thermo::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B8577' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 14V5a2 2 0 1 1 4 0v9a4 4 0 1 1-4 0z'/%3E%3Cpath d='M12 9v7'/%3E%3C/svg%3E"); }
.ul-mods .ul-ico-thermo::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236FE0CF' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 14V5a2 2 0 1 1 4 0v9a4 4 0 1 1-4 0z'/%3E%3Cpath d='M12 9v7'/%3E%3C/svg%3E"); }
.ul-risk.ul-ico-lock::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B8577' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E"); }
.ul-mods .ul-ico-lock::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236FE0CF' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E"); }
.ul-risk.ul-ico-briefcase::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B8577' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='7' width='18' height='13' rx='2'/%3E%3Cpath d='M9 7V5h6v2M3 13h18'/%3E%3C/svg%3E"); }
.ul-mods .ul-ico-briefcase::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236FE0CF' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='7' width='18' height='13' rx='2'/%3E%3Cpath d='M9 7V5h6v2M3 13h18'/%3E%3C/svg%3E"); }
.ul-risk.ul-ico-users::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B8577' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3'/%3E%3Cpath d='M3 20c0-3.3 2.7-5.5 6-5.5s6 2.2 6 5.5M16 5a3 3 0 0 1 0 6M21 20c0-2.6-1.6-4.4-4-5'/%3E%3C/svg%3E"); }
.ul-mods .ul-ico-users::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236FE0CF' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3'/%3E%3Cpath d='M3 20c0-3.3 2.7-5.5 6-5.5s6 2.2 6 5.5M16 5a3 3 0 0 1 0 6M21 20c0-2.6-1.6-4.4-4-5'/%3E%3C/svg%3E"); }
.ul-risk.ul-ico-scale::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B8577' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v16M6 20h12M5 8h14M5 8l-3 6a3 3 0 0 0 6 0zM19 8l-3 6a3 3 0 0 0 6 0z'/%3E%3C/svg%3E"); }
.ul-mods .ul-ico-scale::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236FE0CF' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v16M6 20h12M5 8h14M5 8l-3 6a3 3 0 0 0 6 0zM19 8l-3 6a3 3 0 0 0 6 0z'/%3E%3C/svg%3E"); }
.ul-risk.ul-ico-doc::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B8577' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h9l4 4v14H6z'/%3E%3Cpath d='M14 3v5h5M9 13h6M9 17h4'/%3E%3C/svg%3E"); }
.ul-mods .ul-ico-doc::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236FE0CF' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h9l4 4v14H6z'/%3E%3Cpath d='M14 3v5h5M9 13h6M9 17h4'/%3E%3C/svg%3E"); }
.ul-risk.ul-ico-spark::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B8577' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l2.2 5.8L20 11l-5.8 2.2L12 19l-2.2-5.8L4 11l5.8-2.2z'/%3E%3C/svg%3E"); }
.ul-mods .ul-ico-spark::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236FE0CF' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l2.2 5.8L20 11l-5.8 2.2L12 19l-2.2-5.8L4 11l5.8-2.2z'/%3E%3C/svg%3E"); }
.ul-risk.ul-ico-virus::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B8577' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Cpath d='M12 2v3M12 19v3M2 12h3M19 12h3M4.9 4.9l2.1 2.1M17 17l2.1 2.1M4.9 19.1L7 17M17 7l2.1-2.1'/%3E%3C/svg%3E"); }
.ul-mods .ul-ico-virus::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236FE0CF' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Cpath d='M12 2v3M12 19v3M2 12h3M19 12h3M4.9 4.9l2.1 2.1M17 17l2.1 2.1M4.9 19.1L7 17M17 7l2.1-2.1'/%3E%3C/svg%3E"); }
.ul-risk.ul-ico-bolt::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B8577' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2L4 14h7l-1 8 9-12h-7z'/%3E%3C/svg%3E"); }
.ul-mods .ul-ico-bolt::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236FE0CF' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2L4 14h7l-1 8 9-12h-7z'/%3E%3C/svg%3E"); }


/* ==========================================================================
   Podstrony (etap 2)
   ========================================================================== */

/* Hero podstrony: tekst + jedno zdjęcie z kartą */
.ul-hero--sub { padding-top: 28px; padding-bottom: 80px; }
.ul-hero--sub .ul-breadcrumbs { margin-bottom: 28px; }
.ul-hero__photo { position: relative; }
.ul-hero__photo .wp-block-image img { width: 100%; height: 440px; object-fit: cover; border-radius: 22px; }
.ul-hero__photo .ul-float { left: -32px; bottom: -30px; }
@media (max-width: 960px) { .ul-hero__photo .wp-block-image img { height: 280px; } .ul-hero__photo .ul-float { position: relative; left: auto; bottom: auto; margin: -36px 14px 0 !important; max-width: none; } }
@media (max-width: 599px) { .ul-hero__photo .wp-block-image img { height: 210px; border-radius: 16px; } }

/* Karty 2×2 (formy pracy, zasady) */
.ul-rules { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ul-rules > * { margin: 0 !important; }
.ul-rule { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px; }
.ul-rule > * { margin: 0 !important; }
.ul-rule .ul-kicker { margin-bottom: 8px !important; color: var(--teal2); }
.ul-rule h3 { font-size: 1.25rem; margin-bottom: 10px !important; }
.ul-rule p { color: var(--ink2); font-size: .96rem; }
.ul-rule p + p { margin-top: 10px !important; }
.ul-rule--key { background: var(--navy); border-color: var(--navy); color: #DCE6F1; }
.ul-rule--key h3, .ul-rule--key strong { color: #fff; }
.ul-rule--key p { color: #C8D6E6; }
.ul-rule--key .ul-kicker { color: var(--mint); }
.ul-verdict { display: inline-block; margin-top: 14px !important; padding: 6px 12px; border-radius: 99px; font: 800 12.5px var(--fh); background: var(--wash); color: var(--teal2); }
.ul-verdict--no { background: #F1F4F8; color: var(--ink2); }
.ul-rule--key .ul-verdict { background: rgba(18,165,148,.2); color: var(--mint); }
@media (max-width: 860px) { .ul-rules { grid-template-columns: 1fr; } .ul-rule { padding: 22px; } }

/* Tabela (sumy minimalne, porównania) */
.wp-block-table.is-style-ul { margin: 0; overflow-x: auto; }
.wp-block-table.is-style-ul table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; font-size: .95rem; }
.wp-block-table.is-style-ul th, .wp-block-table.is-style-ul td { border: 0; border-bottom: 1px solid var(--line); padding: 15px 18px; text-align: left; vertical-align: top; }
.wp-block-table.is-style-ul thead th { background: var(--navy); color: #fff; font: 700 12px/1.3 var(--fh); letter-spacing: .08em; text-transform: uppercase; }
.wp-block-table.is-style-ul tbody tr:last-child td { border-bottom: 0; }
.wp-block-table.is-style-ul td:first-child { font-weight: 600; color: var(--ink); }
.wp-block-table.is-style-ul td strong { font: 800 1.02rem var(--fh); color: var(--navy); white-space: nowrap; }
@media (max-width: 700px) {
	.wp-block-table.is-style-ul table, .wp-block-table.is-style-ul tbody, .wp-block-table.is-style-ul tr, .wp-block-table.is-style-ul td { display: block; }
	.wp-block-table.is-style-ul thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.wp-block-table.is-style-ul tr { border-bottom: 1px solid var(--line); padding: 10px 0; }
	.wp-block-table.is-style-ul td { border: 0; padding: 4px 16px; }
	.wp-block-table.is-style-ul td:first-child { background: none; padding-top: 8px; }
}

/* Sekcja z formularzem: granatowe tło, opis + formularz */
.ul-formsec__grid { gap: 48px !important; align-items: flex-start !important; }
.ul-formsec__aside { position: sticky; top: calc(var(--header-h) + 24px); }
.ul-formsec__aside > * { margin-top: 0; }
.ul-sec--navy .ul-dots li { color: #C8D6E6; border-top-color: rgba(255,255,255,.1); }
.ul-sec--navy .ul-dots li::before { background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 5px var(--mint); }
.ul-sec--navy .ul-dots strong { color: #fff; }
.ul-contact-cards { list-style: none; padding: 0; margin: 24px 0 0 !important; display: grid; gap: 10px; }
.ul-contact-cards li { margin: 0; padding: 16px 18px; border-radius: 16px; background: var(--navy2); color: #C8D6E6; font-size: .9rem; }
.ul-contact-cards strong { display: block; color: #fff; font: 800 1.05rem var(--fh); }
.ul-contact-cards a { color: #fff; text-decoration: none; }
.ul-sec:not(.ul-sec--navy) .ul-contact-cards li { background: var(--bg); color: var(--ink2); }
.ul-sec:not(.ul-sec--navy) .ul-contact-cards strong, .ul-sec:not(.ul-sec--navy) .ul-contact-cards a { color: var(--ink); }
@media (max-width: 960px) { .ul-formsec__grid { flex-direction: column; } .ul-formsec__aside { position: static; } .ul-formsec__grid > * { flex-basis: auto !important; width: 100%; } }

/* Lista kontrolna (co przygotować) */
.ul-check { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ul-check li { margin: 0; position: relative; padding: 14px 16px 14px 48px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-size: .95rem; color: var(--ink2); }
.ul-check li::before { content: ""; position: absolute; left: 16px; top: 15px; width: 20px; height: 20px; border-radius: 6px; background: var(--wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%230B8577' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.ul-check strong { color: var(--ink); font-weight: 600; }
@media (max-width: 700px) { .ul-check { grid-template-columns: 1fr; } }

/* Dokumenty (polityka prywatności, informacje o brokerze, artykuły) */
.ul-doc { max-width: 760px; }
.ul-doc h2 { font-size: 1.45rem; margin: 2.2rem 0 .8rem; }
.ul-doc h3 { font-size: 1.12rem; margin: 1.6rem 0 .5rem; }
.ul-doc p, .ul-doc li { color: var(--ink2); }
.ul-doc ul, .ul-doc ol { padding-left: 1.2rem; }
.ul-doc li { margin-bottom: .35rem; }
.ul-main:not(.ul-main--front) .wp-block-post-title { font-size: clamp(2rem, 3.6vw, 3rem); margin: 0 0 18px; }
.ul-updated { font-size: .88rem; color: var(--ink3); }

/* Artykuł: ramki „w skrócie” i źródła */
.ul-tldr { background: var(--wash); border-radius: 18px; padding: 22px 24px; margin: 0 0 28px !important; }
.ul-tldr > * { margin: 0 !important; }
.ul-tldr .ul-kicker { color: var(--teal2); margin-bottom: 8px !important; }
.ul-tldr ul { padding-left: 1.1rem; margin-top: 4px !important; }
.ul-tldr li { color: var(--ink); margin-bottom: 4px; }
.ul-sources { margin-top: 2.4rem !important; padding: 20px 22px; border-radius: 16px; border: 1.5px dashed #C3CFDB; font-size: .9rem; }
.ul-sources > * { margin: 0 !important; }
.ul-sources ul { margin-top: 6px !important; padding-left: 1.1rem; }
.ul-article-cta { margin-top: 2.6rem !important; padding: 26px 28px; border-radius: 20px; background: var(--navy); color: #C8D6E6; }
.ul-article-cta > * { margin: 0 !important; }
.ul-article-cta h2, .ul-article-cta h3 { color: #fff; margin-bottom: 8px !important; font-size: 1.35rem; }
.ul-article-cta .wp-block-buttons { margin-top: 16px !important; }

/* Moduły programu placówki — karty z kotwicami (hub) */
.ul-modgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ul-modgrid > * { margin: 0 !important; }
.ul-mod { position: relative; padding: 76px 24px 24px; border-radius: 20px; background: var(--navy2); border: 1px solid rgba(255,255,255,.08); scroll-margin-top: calc(var(--header-h) + 20px); }
.ul-mod > * { margin: 0 !important; }
.ul-mod::before { content: ""; position: absolute; left: 24px; top: 24px; width: 40px; height: 40px; border-radius: 11px; background-color: rgba(18,165,148,.2); background-position: center; background-size: 20px; background-repeat: no-repeat; }
.ul-mod h3 { color: #fff; font-size: 1.12rem; margin-bottom: 6px !important; }
.ul-mod p { color: #C8D6E6; font-size: .92rem; line-height: 1.55; }
.ul-mod:target { outline: 2px solid var(--mint); outline-offset: 3px; }
@media (max-width: 1000px) { .ul-modgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .ul-modgrid { grid-template-columns: 1fr; } .ul-mod { padding: 22px 20px 22px 80px; } .ul-mod::before { left: 20px; top: 22px; } }

/* Ikony modułów huba */
.ul-mod.ul-ico-shield::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236FE0CF' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v5c0 5-3.4 8.6-7 10-3.6-1.4-7-5-7-10V6z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E"); }
.ul-mod.ul-ico-plus::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236FE0CF' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 8v8M8 12h8'/%3E%3C/svg%3E"); }
.ul-mod.ul-ico-building::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236FE0CF' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 21V8l8-5 8 5v13'/%3E%3Cpath d='M10 21v-5h4v5M12 8v4M10 10h4'/%3E%3C/svg%3E"); }
.ul-mod.ul-ico-pause::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236FE0CF' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M10 9v6M14 9v6'/%3E%3C/svg%3E"); }
.ul-mod.ul-ico-thermo::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236FE0CF' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 14V5a2 2 0 1 1 4 0v9a4 4 0 1 1-4 0z'/%3E%3Cpath d='M12 9v7'/%3E%3C/svg%3E"); }
.ul-mod.ul-ico-lock::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236FE0CF' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E"); }
.ul-mod.ul-ico-briefcase::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236FE0CF' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='7' width='18' height='13' rx='2'/%3E%3Cpath d='M9 7V5h6v2M3 13h18'/%3E%3C/svg%3E"); }
.ul-mod.ul-ico-users::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236FE0CF' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3'/%3E%3Cpath d='M3 20c0-3.3 2.7-5.5 6-5.5s6 2.2 6 5.5M16 5a3 3 0 0 1 0 6M21 20c0-2.6-1.6-4.4-4-5'/%3E%3C/svg%3E"); }
.ul-mod.ul-ico-scale::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236FE0CF' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v16M6 20h12M5 8h14M5 8l-3 6a3 3 0 0 0 6 0zM19 8l-3 6a3 3 0 0 0 6 0z'/%3E%3C/svg%3E"); }
.ul-mod.ul-ico-doc::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236FE0CF' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h9l4 4v14H6z'/%3E%3Cpath d='M14 3v5h5M9 13h6M9 17h4'/%3E%3C/svg%3E"); }
.ul-mod.ul-ico-spark::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236FE0CF' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l2.2 5.8L20 11l-5.8 2.2L12 19l-2.2-5.8L4 11l5.8-2.2z'/%3E%3C/svg%3E"); }
.ul-mod.ul-ico-virus::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236FE0CF' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Cpath d='M12 2v3M12 19v3M2 12h3M19 12h3M4.9 4.9l2.1 2.1M17 17l2.1 2.1M4.9 19.1L7 17M17 7l2.1-2.1'/%3E%3C/svg%3E"); }
.ul-mod.ul-ico-bolt::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236FE0CF' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2L4 14h7l-1 8 9-12h-7z'/%3E%3C/svg%3E"); }
.ul-main > .wp-block-post-content > .alignfull { margin-top: 0 !important; margin-bottom: 0 !important; }

/* Dane kontaktowe (wariant CTA) na jasnym tle */
.ul-sec:not(.ul-sec--navy) .ul-cta__contact, .ul-hero .ul-cta__contact { border-top-color: var(--line); }
.ul-hero .ul-cta__talk, .ul-sec:not(.ul-sec--navy) .ul-cta__talk { color: var(--ink2); }
.ul-hero .ul-cta__talk a, .ul-sec:not(.ul-sec--navy) .ul-cta__talk a { color: var(--ink); }
.ul-hero .ul-cta__talk a:hover, .ul-sec:not(.ul-sec--navy) .ul-cta__talk a:hover { color: var(--teal2); }
.ul-hero .ul-cta__legal, .ul-sec:not(.ul-sec--navy) .ul-cta__legal { color: var(--ink3); }

/* Telefon: na stronach z formularzem najpierw nagłówek, potem od razu formularz, opis pod spodem */
@media (max-width: 960px) {
	.ul-formsec__grid > .ul-formsec__aside { display: contents; }
	.ul-formsec__aside > * { order: 2; }
	.ul-formsec__aside > .ul-pill, .ul-formsec__aside > h1, .ul-formsec__aside > h2, .ul-formsec__aside > .ul-hero__lead, .ul-formsec__aside > .ul-lead { order: 0; }
	.ul-formsec__grid > .wp-block-column:not(.ul-formsec__aside) { order: 1; }
	.ul-formsec__grid { gap: 20px !important; }
	.ul-formsec__aside > h1, .ul-formsec__aside > h2 { margin-bottom: 0 !important; }
}
/* …ale w granatowym panelu CTA zostają jasne */
.ul-sec .ul-cta .ul-cta__contact { border-top-color: rgba(255,255,255,.12); }
.ul-sec .ul-cta .ul-cta__talk { color: var(--wp--preset--color--on-dark-muted); }
.ul-sec .ul-cta .ul-cta__talk a { color: #fff; }
.ul-sec .ul-cta .ul-cta__talk a:hover { color: var(--mint); }
.ul-sec .ul-cta .ul-cta__legal { color: #8FA6C1; }
.ul-contact-cards { margin-bottom: 20px !important; }
