/* Pani Prawnik — style motywu potomnego.
   Kolory, kroje, rozmiary i odstępy są w Divi 5 (zmienne i presety globalne — edycja w Visual Builderze).
   Tu tylko to, czego Divi nie ustawia w opcjach modułów: fonty lokalne, detale z makiety (skośna kreska przy H2, łuk hero,
   podpis na zdjęciu, numer kroku w kole, ptaszki listy), rozciągnięty link kart, nagłówek i menu mobilne, formularz, stopka.
   Punkty przełamania: Divi 980 / 767 px. */

/* ---------- Fonty lokalne (SIL OFL 1.1 — assets/fonts/OFL-*.txt), łacina + polskie znaki w jednym pliku ---------- */
@font-face { font-family: "EB Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/eb-garamond-500.woff2") format("woff2"); }
@font-face { font-family: "EB Garamond"; font-style: normal; font-weight: 600 700; font-display: swap; src: url("../fonts/eb-garamond-600.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/inter-var.woff2") format("woff2"); }
html:root { --gvid-pp-serif: "EB Garamond", Georgia, serif; --gvid-pp-sans: "Inter", Arial, sans-serif; }
:root {
	--pp-wine: #6e1230; --pp-wine-d: #5a112a; --pp-ink: #301f26; --pp-gold: #c49d61; --pp-bg: #fffaf6; --pp-line: #e7d8d3;
	--pp-focus: #b07a2e; --pp-head: 88px;
}
@media (max-width: 767px) { :root { --pp-head: 73px; } }

/* ---------- Podstawy ---------- */
html { scroll-padding-top: calc(var(--pp-head) + 16px); }
body { background: var(--pp-bg); color: var(--pp-ink); font-family: "Inter", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
#page-container, #et-main-area, #main-content { background: var(--pp-bg); }
#et-main-area:focus { outline: 0; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible {
	outline: 3px solid var(--pp-focus); outline-offset: 3px;
}
.et_pb_text h1, .et_pb_text h2, .et_pb_text h3, .et_pb_heading .et_pb_module_header { padding-bottom: 0; }
h1, h2, h3 { overflow-wrap: break-word; }
.et_pb_text_inner p:not(:last-child) { padding-bottom: 0; margin-bottom: 17px; }
.pp-skip { position: absolute; left: -10000px; top: 0; z-index: 100000; background: #fff; color: var(--pp-ink); padding: 12px 16px; font-weight: 700; }
.pp-skip:focus { left: 12px; top: 12px; }
.pp-wine { color: var(--pp-wine); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* ---------- Nagłówek (Theme Builder) ---------- */
.pp-header { box-shadow: none; }
.pp-header__row, .pp-header .et_pb_column { min-height: var(--pp-head); position: static; }
/* Logo: PANI / Prawnik (SVG, litery jako kształty — assets/img/logo-pani-prawnik*.svg, generator _generator/gen/logo.py) + podpis tekstem (tłumaczony), ze złotymi kreskami. */
.pp-brand { display: inline-flex; flex-direction: column; align-items: center; gap: 5px; color: inherit; text-decoration: none; white-space: nowrap; line-height: 1; }
.pp-brand__logo { display: block; height: 50px; width: auto; aspect-ratio: 209 / 65; }
.pp-brand__tag { display: flex; align-items: center; gap: 8px; font-family: "Inter", Arial, sans-serif; font-size: 8.5px; letter-spacing: 3px; font-weight: 600; color: #6e1230; padding-left: 3px; }
.pp-brand__tag::before, .pp-brand__tag::after { content: ""; width: 18px; height: 1px; background: var(--pp-gold, #c49d61); }
.pp-brand--light .pp-brand__logo { height: 58px; }
.pp-brand--light .pp-brand__tag { color: #e3ced4; }

.pp-menu.et_pb_menu { flex: 1 1 auto; }
.pp-menu .et_pb_menu__menu { justify-content: center; }
.pp-menu .et-menu { display: flex; align-items: center; justify-content: center; gap: 25px; }
.pp-menu .et-menu > li { padding: 0; margin: 0; }
.pp-menu .et-menu > li > a { padding: 14px 0; white-space: nowrap; border-bottom: 2px solid transparent; }
.pp-menu .et-menu > li.current-menu-item > a, .pp-menu .et-menu > li.current-menu-ancestor > a { border-bottom-color: var(--pp-gold); }
.pp-menu .et-menu > li.menu-item-has-children > a { padding-right: 16px; }
.pp-menu .et-menu > li.menu-item-has-children > a::after { font-size: 14px; right: 0; top: 15px; color: #b99662; }
.pp-menu .et-menu li ul.sub-menu { border-top: 2px solid var(--pp-gold); box-shadow: 0 12px 30px rgba(48, 31, 38, .12); border-radius: 0 0 8px 8px; padding: 10px 0; width: 260px; }
.pp-menu .et-menu li ul.sub-menu li { padding: 0 14px; }
.pp-menu .et-menu li ul.sub-menu a { width: 100%; padding: 8px 6px; font-weight: 500; }

.pp-lang { display: flex; gap: 10px; align-items: center; font-size: 12px; font-weight: 700; }
.pp-lang__on { background: #6a102c; color: #fff; padding: 5px 9px; border-radius: 5px; }
.pp-lang__off { color: #9c8a91; cursor: default; }
/* Przełącznik WPML (inc/wpml.php): na komputerze linki obok bieżącego języka, na telefonie lista rozwijana pod znacznikiem. */
.pp-lang__list { display: flex; gap: 10px; align-items: center; }
.pp-lang__link { color: #6e5a64; text-decoration: none; padding: 5px 2px; border-radius: 4px; }
.pp-lang__link:hover, .pp-lang__link:focus-visible { color: var(--pp-wine, #6e1230); text-decoration: underline; text-underline-offset: 3px; }
.pp-lang__m { display: none; position: relative; }
.pp-lang__m summary { list-style: none; cursor: pointer; background: #6a102c; color: #fff; padding: 7px 9px; border-radius: 6px; }
.pp-lang__m summary::-webkit-details-marker { display: none; }
.pp-lang__m summary::after { content: ""; display: inline-block; margin-left: 5px; border: 4px solid transparent; border-top-color: currentColor; transform: translateY(2px); }
.pp-lang__drop { position: absolute; right: 0; top: calc(100% + 6px); z-index: 100; display: flex; flex-direction: column; min-width: 64px; background: #fff;
	border: 1px solid var(--pp-line, #e7d8d3); border-radius: 8px; box-shadow: 0 12px 30px rgba(48, 31, 38, .14); padding: 4px; }
.pp-lang__drop .pp-lang__link { padding: 10px 12px; font-size: 13px; text-align: center; }
/* Laptopy 981–1439 px: przełącznik jako rozwijana pigułka (jak na telefonie), żeby menu mieściło się w jednym wierszu we wszystkich językach. */
@media (max-width: 1439px) and (min-width: 981px) {
	.pp-lang:has(.pp-lang__m) > .pp-lang__on, .pp-lang__list { display: none; }
	.pp-lang__m { display: block; }
	.pp-menu .et-menu { gap: 20px; }
}
@media (max-width: 1180px) and (min-width: 981px) {
	.pp-lang__list { gap: 6px; }
	.pp-menu .et-menu { gap: 14px; }
	.pp-menu .et-menu > li > a { font-size: 12px; }
	.pp-brand__logo { height: 44px; }
	.pp-lang { gap: 6px; }
}
/* Menu „hamburger” także na laptopach, gdy pełne menu nie mieści się w jednym wierszu (zmierzone: wszystkie języki < 1180 px, ukraiński < 1366 px). */
@media (max-width: 1179px) and (min-width: 981px) {
	.et_pb_menu .et_pb_menu__menu { display: none; }
	.et_pb_menu .et_mobile_nav_menu { display: flex; align-items: center; float: none; margin: 0 6px; }
	.pp-header__row .et_pb_column { flex-wrap: nowrap; }
	.pp-menu.et_pb_menu { flex: 0 0 auto; order: 3; }
	.pp-header__right { margin-left: auto; }
	.pp-menu .mobile_nav .mobile_menu_bar::before { color: #5e1730; }
	.pp-header .et_pb_menu__wrap, .pp-header .et_pb_menu_inner_container, .pp-menu.et_pb_menu { position: static; }
	.pp-header .et_mobile_menu { left: 0; right: 0; width: 100%; top: 100%; border-top: 2px solid var(--pp-gold); box-shadow: 0 16px 30px rgba(48, 31, 38, .14); max-height: calc(100vh - var(--pp-head)); max-height: calc(100dvh - var(--pp-head)); overflow-y: auto; overscroll-behavior: contain; padding: 8px 20px 20px; }
	.pp-header .et_mobile_menu li a { padding: 12px 4px; border-bottom: 1px solid var(--pp-line); }
	.pp-header .et_mobile_menu li li a { padding-left: 18px; font-weight: 500; font-size: 14px; }
	.et_pb_menu .et_mobile_menu, .et_pb_menu .et_mobile_menu ul { text-align: left; list-style: none !important; }
	.et_pb_menu .et_mobile_menu ul { padding: 0; }
}
@media (max-width: 1365px) and (min-width: 1180px) {
	html[lang="uk"] .et_pb_menu .et_pb_menu__menu { display: none; }
	html[lang="uk"] .et_pb_menu .et_mobile_nav_menu { display: flex; align-items: center; float: none; margin: 0 6px; }
	html[lang="uk"] .pp-header__row .et_pb_column { flex-wrap: nowrap; }
	html[lang="uk"] .pp-menu.et_pb_menu { flex: 0 0 auto; order: 3; }
	html[lang="uk"] .pp-header__right { margin-left: auto; }
	html[lang="uk"] .pp-menu .mobile_nav .mobile_menu_bar::before { color: #5e1730; }
	html[lang="uk"] .pp-header .et_pb_menu__wrap, html[lang="uk"] .pp-header .et_pb_menu_inner_container, html[lang="uk"] .pp-menu.et_pb_menu { position: static; }
	html[lang="uk"] .pp-header .et_mobile_menu { left: 0; right: 0; width: 100%; top: 100%; border-top: 2px solid var(--pp-gold); box-shadow: 0 16px 30px rgba(48, 31, 38, .14); max-height: calc(100vh - var(--pp-head)); max-height: calc(100dvh - var(--pp-head)); overflow-y: auto; overscroll-behavior: contain; padding: 8px 20px 20px; }
	html[lang="uk"] .pp-header .et_mobile_menu li a { padding: 12px 4px; border-bottom: 1px solid var(--pp-line); }
	html[lang="uk"] .pp-header .et_mobile_menu li li a { padding-left: 18px; font-weight: 500; font-size: 14px; }
	html[lang="uk"] .et_pb_menu .et_mobile_menu, html[lang="uk"] .et_pb_menu .et_mobile_menu ul { text-align: left; list-style: none !important; }
	html[lang="uk"] .et_pb_menu .et_mobile_menu ul { padding: 0; }
}
@media (max-width: 980px) {
	.pp-header__row .et_pb_column { flex-wrap: nowrap; }
	.pp-menu.et_pb_menu { flex: 0 0 auto; order: 3; }
	.pp-header__right { margin-left: auto; }
	.pp-lang__off { display: none; }
	.pp-lang:has(.pp-lang__m) > .pp-lang__on, .pp-lang__list { display: none; }
	.pp-lang__m { display: block; }
	.pp-menu .mobile_nav .mobile_menu_bar::before { color: #5e1730; }
	/* rozwijane menu na całą szerokość pod nagłówkiem (rodzice Divi mają position:relative) */
	.pp-header .et_pb_menu__wrap, .pp-header .et_pb_menu_inner_container, .pp-menu.et_pb_menu { position: static; }
	.pp-header .et_mobile_menu { left: 0; right: 0; width: 100%; top: 100%; border-top: 2px solid var(--pp-gold); box-shadow: 0 16px 30px rgba(48, 31, 38, .14);
		max-height: calc(100vh - var(--pp-head)); max-height: calc(100dvh - var(--pp-head)); overflow-y: auto; overscroll-behavior: contain; padding: 8px 20px 20px; }
	.pp-header .et_mobile_menu li a { padding: 12px 4px; border-bottom: 1px solid var(--pp-line); }
	.pp-header .et_mobile_menu li li a { padding-left: 18px; font-weight: 500; font-size: 14px; }
}
@media (max-width: 767px) {
	.pp-brand { gap: 4px; }
	.pp-brand__logo { height: 40px; }
	.pp-brand__tag { font-size: 7px; letter-spacing: 2.2px; gap: 6px; }
	.pp-brand__tag::before, .pp-brand__tag::after { width: 12px; }
	.pp-lang__on { font-size: 12px; padding: 7px 9px; border-radius: 6px; }
}
@media (min-width: 601px) and (max-width: 782px) { .admin-bar .pp-header.et_pb_sticky { top: 46px !important; } }

/* ---------- Hero ---------- */
.pp-hero__grid { align-items: stretch; }
.pp-hero__copy { position: relative; z-index: 2; }
.pp-hero__media { position: relative; overflow: visible; }
.pp-hero__media .pp-hero__img { position: absolute; inset: 0; margin: 0 !important; width: 100%; height: 100%; }
.pp-hero__media .pp-hero__img .et_pb_image_wrap, .pp-hero__media .pp-hero__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* złoty łuk na krawędzi zdjęcia (makieta: .hero-img:before) */
.pp-hero:not(.pp-hero--home) .pp-hero__media::before {
	content: ""; position: absolute; left: -110px; top: -10%; width: 190px; height: 120%; z-index: 1; pointer-events: none;
	border-left: 3px solid #d3ad70; border-radius: 50%; background: linear-gradient(90deg, #f5ece5 0%, rgba(245, 236, 229, 0) 82%);
}
.pp-hero:not(.pp-hero--home) .pp-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(72, 20, 39, .10), transparent 60%); pointer-events: none; }
.pp-hero__label { position: absolute !important; right: 38px; bottom: 33px; z-index: 2; background: rgba(252, 247, 240, .94); padding: 17px 23px;
	border-left: 3px solid #b99662; max-width: none; white-space: nowrap; margin: 0 !important; }
.pp-hero { overflow: hidden; }
/* strona główna: zdjęcie rozmyte w kremowe tło po lewej + łuk */
.pp-hero__media--home::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 28%; z-index: 1; pointer-events: none;
	background: linear-gradient(90deg, #f6ede7 0%, rgba(246, 237, 231, 0) 100%); }
.pp-hero__media--home::after { content: ""; position: absolute; left: -60px; top: -8%; width: 140px; height: 116%; z-index: 1; pointer-events: none;
	border-left: 2px solid rgba(201, 160, 98, .75); border-radius: 50%; }
.pp-hadv { padding: 0 18px; border-right: 1px solid #ddc9c0; }
.pp-hadv:first-child { padding-left: 0; }
.pp-hadv:last-child { border-right: 0; }
@media (max-width: 767px) {
	.pp-hero__media::before, .pp-hero__media::after { display: none; }
	.pp-hero__label { right: 20px; bottom: 16px; max-width: 230px; padding: 11px 15px; }
	.pp-hadv { padding: 0 6px; text-align: center; }
	.pp-hadv .et_pb_icon { margin: 0 auto !important; }
	.pp-hero--home .pp-hero__grid { display: flex !important; flex-direction: column; }
	.pp-hero--home .pp-hero__media { order: -1; }
}
/* przyciski: na telefonie na całą szerokość */
@media (max-width: 767px) {
	.pp-actions .et_pb_button_module_wrapper, .pp-btn--full-m.et_pb_button_module_wrapper, .et_pb_button_module_wrapper:has(.pp-btn--full-m) { width: 100%; }
	.pp-actions .et_pb_button, .et_pb_button.pp-btn--full-m { width: 100% !important; max-width: none !important; display: block; text-align: center; }
}

/* ---------- Pasek atutów ---------- */
.pp-adv { padding: 0 25px; border-right: 1px solid #ddc9c0; }
.pp-adv:last-child { border-right: 0; }
@media (max-width: 767px) { .pp-adv { padding: 0 7px; text-align: center; } }

/* ---------- Nagłówek sekcji: skośna złota kreska ---------- */
.pp-slash { position: relative; padding-left: 25px; }
.pp-slash::before { content: ""; position: absolute; left: 0; top: 0; height: 57px; width: 3px; background: var(--pp-gold); transform: skew(-28deg); }
.pp-intro__p { padding: 9px 9% 0 0; }
@media (max-width: 767px) {
	.pp-slash { padding-left: 16px; }
	.pp-slash::before { height: 43px; }
	.pp-intro { row-gap: 0 !important; }
	.pp-intro__p { padding: 18px 0 0; }
}

/* ---------- Karty ---------- */
.pp-card { position: relative; }
.pp-card .pp-card__arrow { margin-top: auto !important; padding-top: 12px; }
.pp-linkbox .pp-stretch a { color: inherit; text-decoration: none; }
.pp-linkbox .pp-stretch a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.pp-linkbox .pp-stretch .et_pb_heading_container, .pp-linkbox .pp-stretch .et_pb_text_inner { position: static; }
.pp-linkbox .pp-stretch { position: static; }
.pp-linkbox:hover { box-shadow: 0 10px 26px rgba(90, 17, 42, .12); }
.pp-linkbox:focus-within { outline: 3px solid var(--pp-focus); outline-offset: 3px; }
.pp-linkbox .pp-stretch a:focus-visible { outline: 0; }
.pp-card, .pp-topic { transition: box-shadow .2s, transform .2s; }
.pp-linkbox:hover { transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .pp-card, .pp-topic { transition: none; } .pp-linkbox:hover { transform: none; } }
@media (max-width: 767px) { .pp-card .pp-card__arrow { margin-top: 1px !important; padding-top: 6px; } }

/* ---------- Lista z ptaszkami, notka ---------- */
.pp-check { list-style: none !important; padding: 0 !important; margin: 0; }
.pp-check li { position: relative; padding: 9px 0 9px 35px; }
.pp-check li::before { content: "✓"; color: #ab824f; font-weight: 800; position: absolute; left: 4px; top: 7px; }
.pp-side-note { border-left: 2px solid #b88a57; padding: 10px 0 10px 20px; }

/* ---------- Kroki ---------- */
.pp-stepnum { width: 41px; height: 41px; border-radius: 50%; background: #7e1937; display: flex; align-items: center; justify-content: center; }
.pp-stepnum p { line-height: 1 !important; }
@media (max-width: 767px) { .pp-stepnum { width: 32px; height: 32px; } }

/* ---------- FAQ (natywny Toggle) ---------- */
.pp-faq__item.et_pb_toggle { margin: 0; }
.pp-faq__item .et_pb_toggle_title { padding-right: 28px; cursor: pointer; }
.pp-faq__item .et_pb_toggle_title::before { color: #b1824f; }
.pp-faq__item .et_pb_toggle_content { padding-top: 10px; }

/* ---------- Kafelki ze zdjęciem ---------- */
.pp-topic { position: relative; }
.pp-topic__img { margin: 0 !important; }
.pp-topic__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pp-topic__p { min-height: 70px; }
@media (max-width: 767px) { .pp-topic__p { min-height: 0; } }

/* ---------- Artykuł i dokumenty ---------- */
.pp-pill { display: inline-block; background: #ead4c2; padding: 7px 11px; border-radius: 20px; align-self: flex-start; }
.pp-article h2 { margin-top: 60px; margin-bottom: 26px; }
.pp-article p { margin-bottom: 21px; }
.pp-article ul { padding-left: 25px; }
.pp-article li { margin: 12px 0; }
.pp-article__lead { font-size: 21px; }
.pp-legal h3 { margin-top: 34px; margin-bottom: 13px; }
.pp-legal .pp-divider { border: 0; height: 1px; background: #e4d3ca; margin: 28px 0; }
@media (max-width: 767px) { .pp-article h2 { margin-top: 37px; } .pp-article__lead { font-size: 18px; } }

/* ---------- Kontakt ---------- */
.pp-steps-list { padding-left: 20px; margin: 0; }
.pp-steps-list li { margin: 4px 0; }
.pp-form .et_pb_contact_field { margin-bottom: 4px; }
.pp-form label.et_pb_contact_form_label { display: block; font-size: 12px; font-weight: 700; color: #6c394c; margin: 12px 0 6px; }
.pp-form .et_pb_contact_field_options_title { font-size: 12px; font-weight: 700; color: #6c394c; }
.pp-form .et_pb_contact_field[data-type="checkbox"] label { font-size: 12px; color: #79616d; line-height: 1.5; }
.pp-form .et_contact_bottom_container { width: 100%; float: none; margin-top: 16px; }
.pp-form .et_pb_contact_submit { width: 100%; margin-left: 0; }
.pp-form textarea { min-height: 130px; }
/* checkbox zgody: widoczny dla czytników (Divi daje display:none) */
.pp-form .et_pb_contact_field[data-type="checkbox"] input[type="checkbox"] { display: block; position: absolute; opacity: 0; width: 18px; height: 18px; }

/* ---------- Uwagi redakcyjne (do usunięcia przed publikacją) ---------- */
.pp-ph { border-radius: 8px; }

/* ---------- Stopka ---------- */
.pp-footlist { list-style: none !important; padding: 0 !important; margin: 0; }
.pp-footlist li { margin: 0 0 12px; padding: 0; }
.pp-footbottom { border-top: 1px solid #725c67; padding-top: 20px; margin-top: 40px; }
.pp-foot__todo { border: 1px dashed #725c67; border-radius: 6px; padding: 8px 10px; }
.pp-woh { display: inline-flex; align-items: center; gap: 8px; color: inherit !important; text-decoration: none !important; }
.pp-woh img { display: block; width: 64px; height: auto; transition: transform .35s cubic-bezier(.2,.8,.2,1), filter .35s; }
.pp-woh:hover img, .pp-woh:focus-visible img { transform: translateY(-2px) scale(1.06); filter: drop-shadow(0 4px 8px rgba(0,0,0,.25)); }
.pp-woh:hover .pp-woh__txt, .pp-woh:focus-visible .pp-woh__txt { text-decoration: underline; text-underline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .pp-woh img { transition: none; } .pp-woh:hover img, .pp-woh:focus-visible img { transform: none; } }
@media (max-width: 767px) { .pp-foot > div:first-child { grid-column: 1 / -1; } .pp-footbottom { margin-top: 26px; } }

/* ---------- Strona główna ---------- */
.pp-specs .pp-spec__img { position: absolute !important; right: 0; bottom: 0; width: 46% !important; margin: 0 !important; opacity: .95; }
.pp-specs .pp-spec__img img { border-radius: 0 0 12px 0; }
.pp-spec--featured .pp-spec__p, .pp-card--featured.pp-spec .et_pb_heading { max-width: 60%; }
.pp-card--featured.pp-spec .et_pb_heading, .pp-card--featured.pp-spec .pp-spec__p { position: relative; z-index: 2; }
.pp-support { border-radius: 0; overflow: hidden; }
.pp-support__img { align-self: stretch; margin: -26px 0 -26px !important; min-height: 180px; position: relative; }
.pp-support__img .et_pb_image_wrap { position: absolute; inset: 0; }
.pp-support__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pp-support__list { border-left: 1px solid #d7bcb0; padding-left: 30px; }
.pp-hsteps .pp-hstep { position: relative; }
.pp-hsteps .pp-hstep:not(:last-child)::after { content: ""; position: absolute; top: 20px; left: 54px; right: -18px; height: 1px; background: #c9aba0; }
.pp-stat { border-right: 1px solid rgba(255, 255, 255, .25); padding-right: 18px; }
.pp-stat__v { font-family: "EB Garamond", Georgia, serif; font-size: 30px; font-weight: 600; color: #fff; line-height: 1; }
.pp-btn--big.et_pb_button { padding: 18px 32px !important; font-size: 16px !important; }
.pp-final__h2 { border-right: 1px solid #ddc9c0; padding-right: 20px; }
@media (max-width: 980px) {
	.pp-support__list { border-left: 0; padding-left: 0; grid-column: 1 / -1; }
	.pp-hsteps .pp-hstep::after { display: none; }
	.pp-stat { border-right: 0; }
	.pp-final__h2 { border-right: 0; }
}
@media (max-width: 767px) {
	.pp-hide-m { display: none !important; }
	.pp-specs .pp-spec { flex-direction: row !important; align-items: center !important; min-height: 0 !important; padding: 12px 16px !important; gap: 14px; }
	.pp-specs .pp-spec .pp-spec__icon { margin: 0 !important; }
	.pp-specs .pp-spec .pp-spec__body { flex: 1 1 auto; }
	.pp-specs .pp-spec .pp-spec__p { display: none; }
	.pp-specs .pp-spec .pp-card__arrow { margin-left: auto !important; padding-top: 0; }
	.pp-specs .pp-spec .et_pb_heading { margin: 0 !important; max-width: none; }
	.pp-specs .pp-spec .et_pb_heading h3 { font-size: 21px !important; }
	.pp-card--featured.pp-spec .pp-spec__p { display: block; max-width: none; }
	.pp-hstep { align-items: center; text-align: center; }
	.pp-hstep .et_pb_heading h3 { font-size: 15px !important; font-family: "Inter", Arial, sans-serif !important; font-weight: 700 !important; text-align: center; }
	.pp-hsteps .pp-hstep:not(:last-child)::after { display: block; top: 16px; left: calc(50% + 22px); right: calc(-50% + 22px); }
}

/* Obraz z zadaną wysokością: Divi daje width:auto — zdjęcie ma wypełnić kolumnę */
.pp-split__photo, .pp-split__photo .et_pb_image_wrap, .pp-split__photo img, .pp-topic__img .et_pb_image_wrap, .pp-topic__img img { width: 100% !important; }
.pp-split__photo img { object-fit: cover; }
.pp-spec__body { position: relative; z-index: 2; }
.pp-card--featured.pp-spec .pp-spec__body { max-width: 62%; }
/* hero strony głównej na telefonie: zdjęcie po prawej za tekstem (jak w makiecie) */
@media (max-width: 767px) {
	.pp-hero--home .pp-hero__grid { display: block !important; position: relative; }
	.pp-hero--home .pp-hero__media { position: absolute !important; top: 0; right: 0; width: 52%; height: 330px; min-height: 0 !important; }
	.pp-hero--home .pp-hero__media::before { display: block; width: 40%; background: linear-gradient(90deg, #f7efe9 0%, rgba(247, 239, 233, 0) 100%); }
	.pp-hero--home .pp-hero__copy { position: relative; z-index: 2; }
	.pp-hero--home .pp-home-h1, .pp-hero--home .pp-eyebrow { max-width: 62%; }
	.pp-hero--home .pp-hero__copy .et_pb_text.et_pb_module:not(.pp-eyebrow) { max-width: 66%; }
	.pp-hero--home .pp-hero__copy .pp-hadvs .et_pb_text { max-width: none !important; }
	.pp-hero--home .pp-actions { max-width: 100%; }
	.pp-hero--home .pp-hero__img img { object-position: 44% 30% !important; }
	.pp-card--featured.pp-spec .pp-spec__body { max-width: none; }
	.pp-card--featured.pp-spec .pp-spec__p { font-size: 12px; line-height: 1.4; }
}
.pp-form .et_contact_bottom_container { width: 100% !important; float: none !important; }
.pp-form .et_pb_contact_submit.et_pb_button { width: 100% !important; max-width: none !important; margin-left: 0 !important; text-align: center; }
.pp-form .et_pb_contact_field[data-type="checkbox"] .et_pb_contact_field_options_title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }

/* ---------- Okruszki (Rank Math w module Tekst) ---------- */
.pp-crumbs .rank-math-breadcrumb p { margin: 0; padding: 0; }
.pp-crumbs .rank-math-breadcrumb .separator { margin: 0 .35em; }

/* ---------- Wyszukiwarka (moduł Szukaj) i wyniki (moduł Blog — bieżące zapytanie), wygląd kafelków z makiety ---------- */
.pp-search .et_pb_searchform > div { display: flex; gap: 10px; }
.pp-search input.et_pb_s { flex: 1; min-width: 0; height: 54px; padding: 0 18px !important; border: 1px solid #D9C6BF !important; border-radius: 8px !important;
	background: #fff !important; font: 400 16px/1.4 var(--gvid-pp-sans) !important; color: var(--gcid-pp-ink, #301F26) !important; }
.pp-search input.et_pb_s:focus { outline: 2px solid #6E1230; outline-offset: 2px; }
.pp-search input.et_pb_searchsubmit { position: static !important; height: 54px !important; padding: 0 26px !important; border: 0 !important; border-radius: 8px !important;
	background: #6E1230 !important; color: #fff !important; font: 700 15px/1 var(--gvid-pp-sans) !important; cursor: pointer; }
.pp-search input.et_pb_searchsubmit:hover { background: #560E26 !important; }
.pp-results .et_pb_blog_posts { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 20px !important; }
.pp-results .et_pb_post { position: relative; display: flex; flex-direction: column; margin: 0 !important; padding: 0 !important; background: #fff; border: 1px solid #E7DAD3 !important;
	border-radius: 12px; overflow: hidden; transition: box-shadow .2s, transform .2s; }
.pp-results .et_pb_post:hover { box-shadow: 0 14px 34px rgba(48, 31, 38, .12); transform: translateY(-2px); }
.pp-results .et_pb_image_container { margin: 0 !important; }
.pp-results .et_pb_image_container, .pp-results .entry-featured-image-url { display: block; margin: 0 !important; }
.pp-results .et_pb_image_container img { width: 100% !important; height: 210px !important; max-height: none !important; object-fit: cover; display: block; }
.pp-results .et_overlay { display: none !important; }
.pp-results .entry-title { margin: 24px 24px 13px !important; padding: 0 !important; font: 500 27px/1.12 var(--gvid-pp-serif) !important; color: #6E1230 !important; }
.pp-results .entry-title a { color: inherit !important; }
.pp-results .entry-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* cały kafelek klikalny */
.pp-results .post-meta { display: none; }
.pp-results .post-content { display: flex; flex-direction: column; flex: 1; padding: 0 24px 24px; font: 400 14px/1.58 var(--gvid-pp-sans); color: #301F26; }
.pp-results .post-content-inner p { padding: 0; }
.pp-results .more-link { margin-top: auto; padding-top: 10px; font: 700 16px/1.4 var(--gvid-pp-sans); color: #7C1D3C !important; text-transform: none; }
.pp-results .more-link::after { content: " →"; }
.pp-results .pagination { grid-column: 1 / -1; display: flex; justify-content: space-between; padding-top: 26px; }
.pp-results .pagination a { font: 700 15px/1.4 var(--gvid-pp-sans); color: #6E1230; }
.pp-results .et_pb_no_results, .pp-results .not-found-title { font-family: var(--gvid-pp-sans); }
@media (max-width: 980px) { .pp-results .et_pb_blog_posts { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 767px) {
	.pp-results .et_pb_blog_posts { grid-template-columns: minmax(0, 1fr) !important; }
	.pp-results .et_pb_image_container img { height: 175px !important; }
	.pp-search input.et_pb_searchsubmit { padding: 0 18px !important; }
}
@media (prefers-reduced-motion: reduce) { .pp-results .et_pb_post { transition: none; } .pp-results .et_pb_post:hover { transform: none; } }

/* Poradniki (Centrum wiedzy, kategoria, „Więcej poradników”): kategoria jako nadtytuł nad tytułem, jak „PORADNIK PRAWNY” w makiecie. */
.pp-posts .et_pb_image_container { order: 0; }
.pp-posts .post-meta { display: block !important; order: 1; margin: 24px 24px 0 !important; padding: 0 !important; font: 800 11px/1.5 var(--gvid-pp-sans); letter-spacing: 3px; text-transform: uppercase; color: #6E1230 !important; }
.pp-posts .post-meta a { position: relative; z-index: 2; color: inherit !important; } /* nad linkiem całego kafelka */
.pp-posts .post-meta a:hover { color: #9A2A4B !important; }
.pp-posts .entry-title { order: 2; margin-top: 10px !important; }
.pp-posts .post-content { order: 3; }
.pp-posts .pagination { order: 4; }
@media (max-width: 767px) { .pp-posts .post-meta { font-size: 10px; letter-spacing: 2px; margin: 20px 20px 0 !important; } }
/* „Więcej poradników”: 3 kolumny tylko na komputerze (wcześniej bez media query — na telefonie wpis wciśnięty w 1/3 szerokości);
   na telefonie przewijany pasek: jeden wpis na ekranie, następny wystaje z prawej. */
@media (min-width: 981px) { .pp-related .et_pb_blog_posts { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
@media (max-width: 767px) {
	.pp-related .et_pb_blog_posts { grid-template-columns: none !important; grid-auto-flow: column !important; grid-auto-columns: 86% !important; gap: 14px !important;
		overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 4px; }
	.pp-related .et_pb_blog_posts::-webkit-scrollbar { display: none; }
	.pp-related .et_pb_blog_posts:not(:has(.et_pb_post ~ .et_pb_post)) { grid-auto-columns: 100% !important; }
	.pp-related .et_pb_post { scroll-snap-align: start; }
	.pp-related .et_pb_post:hover { transform: none; }
}
.pp-related-sec:not(:has(.et_pb_post)) { display: none; }
.pp-noresults__title { font: 500 30px/1.15 var(--gvid-pp-serif); color: #6E1230; margin: 0 0 12px; }

/* Lista kategorii poradników (pigułki). */
.pp-cats { display: flex; flex-wrap: wrap; gap: 10px; }
.pp-cats__a { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 18px; border: 1px solid #D9C3BA; border-radius: 999px; background: #fff;
	font: 600 14px/1.3 var(--gvid-pp-sans); color: #4A2532 !important; text-decoration: none; transition: background-color .2s, border-color .2s, color .2s; }
.pp-cats__a:hover { border-color: #6E1230; color: #6E1230 !important; }
.pp-cats__a[aria-current] { background: #6E1230; border-color: #6E1230; color: #fff !important; }
.pp-cats__a:focus-visible { outline: 2px solid #BA8B55; outline-offset: 2px; }
@media (max-width: 767px) { .pp-cats { gap: 8px; } .pp-cats__a { min-height: 36px; padding: 6px 14px; font-size: 13px; } }
@media (prefers-reduced-motion: reduce) { .pp-cats__a { transition: none; } }
.pp-noresults { max-width: 760px; padding: 30px 32px; background: #fff; border: 1px solid #E7DAD3; border-radius: 12px; }
.pp-noresults__title { margin: 0 0 10px; padding: 0; font: 500 31px/1.15 var(--gvid-pp-serif); color: #6E1230; }
.pp-noresults p { padding: 0; font: 400 16px/1.58 var(--gvid-pp-sans); color: #301F26; }
.pp-noresults a { color: #6E1230; text-decoration: underline; }

/* Zwijane menu mobilne: własny „+ / −” w kolorze marki zamiast ikony z fontu Divi (Safari rysował ją jako niebieski systemowy przycisk).
   Bez animacji i bez stanów :hover na dotyku — w Safari „przyklejały się” po stuknięciu. */
.pp-header .et_pb_menu.et_pb_menu--collapsible-mobile .et_mobile_menu li.menu-item-has-children > .mobile-toggle {
	-webkit-appearance: none; appearance: none; background: none; border: 0; border-radius: 0; box-shadow: none; margin: 0; padding: 0;
	position: relative; width: 48px; min-height: 48px; color: #6a102c; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.pp-header .et_pb_menu.et_pb_menu--collapsible-mobile .et_mobile_menu .mobile-toggle .et_pb_menu__collapsible-icon { display: none !important; }
.pp-header .et_pb_menu.et_pb_menu--collapsible-mobile .et_mobile_menu li.menu-item-has-children > .mobile-toggle::before,
.pp-header .et_pb_menu.et_pb_menu--collapsible-mobile .et_mobile_menu li.menu-item-has-children > .mobile-toggle::after {
	content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; border-radius: 1px; background: currentColor; }
.pp-header .et_pb_menu.et_pb_menu--collapsible-mobile .et_mobile_menu li.menu-item-has-children > .mobile-toggle::after { width: 2px; height: 14px; margin: -7px 0 0 -1px; }
.pp-header .et_pb_menu.et_pb_menu--collapsible-mobile .et_mobile_menu li.menu-item-has-children.et_pb_collapsible_menu_open > .mobile-toggle::after { display: none; }
.pp-header .et_pb_menu.et_pb_menu--collapsible-mobile .et_mobile_menu li.menu-item-has-children > .mobile-toggle:focus { outline: none; }
.pp-header .et_pb_menu.et_pb_menu--collapsible-mobile .et_mobile_menu li.menu-item-has-children > .mobile-toggle:focus-visible { outline: 2px solid #c49d61; outline-offset: -4px; }
@media (hover: none) { .pp-header .et_mobile_menu li a:hover { background-color: transparent; opacity: 1; } }

/* ===== Efekty (tylko transform/opacity — bez przesuwania układu; klasa pp-anim dodawana skryptem, wyłączone przy „ogranicz ruch”) ===== */
/* 1. Treść wjeżdża przy przewijaniu; karty kaskadowo (opóźnienie z --pp-d). */
.pp-anim .pp-rv { transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--pp-d, 0s); }
.pp-anim .pp-rv:not(.pp-in) { opacity: 0; transform: translateY(28px); }
/* 2. Złoty ukośnik przy nagłówkach „rysuje się” od dołu. */
.pp-anim .pp-slash::before { transform-origin: 50% 100%; transition: transform .8s cubic-bezier(.2, .7, .2, 1) .25s; }
.pp-anim .pp-rv:not(.pp-in) .pp-slash::before, .pp-anim .pp-slash.pp-rv:not(.pp-in)::before { transform: skew(-28deg) scaleY(0); }
/* 3. Hero: zdjęcie powoli się przybliża, nagłówek lekko unosi się (bez zmiany przezroczystości — nie opóźnia LCP). */
.pp-hero__media { overflow: hidden; }
.pp-anim .pp-hero__img img { animation: pp-kenburns 2.6s cubic-bezier(.2, .7, .2, 1) both; }
.pp-anim .pp-hero h1 { animation: pp-rise 1s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes pp-kenburns { from { transform: scale(1.09); } to { transform: scale(1); } }
@keyframes pp-rise { from { transform: translateY(16px); } to { transform: none; } }
/* 4. Karty: złota linia wysuwa się przy najechaniu, strzałka przesuwa się w prawo. */
.pp-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--pp-gold, #c49d61); transform: scaleX(0); transform-origin: 0 50%;
	transition: transform .45s cubic-bezier(.2, .7, .2, 1); pointer-events: none; z-index: 2; border-radius: 0 0 12px 12px; }
.pp-card .pp-card__arrow { transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
@media (hover: hover) {
	.pp-card:hover::after, .pp-card:focus-within::after { transform: scaleX(1); }
	.pp-card:hover .pp-card__arrow { transform: translateX(6px); }
	.pp-card:hover { transform: translateY(-4px); }
	.et_pb_button { transition: transform .25s, box-shadow .25s, background-color .25s, color .25s !important; }
	.et_pb_button:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(90, 17, 42, .18); }
}
/* 5. Nagłówek po przewinięciu: miękki cień. */
.pp-header { transition: box-shadow .3s; }
.pp-scrolled .pp-header { box-shadow: 0 8px 28px rgba(48, 31, 38, .09); }
/* 6. Artykuł: złoty pasek postępu czytania. */
.pp-progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 100000; background: var(--pp-gold, #c49d61); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }
.admin-bar .pp-progress { top: 32px; }
@media (max-width: 782px) { .admin-bar .pp-progress { top: 46px; } }
@media (prefers-reduced-motion: reduce) {
	.pp-anim .pp-rv, .pp-anim .pp-slash::before, .pp-card::after, .pp-card .pp-card__arrow { transition: none; }
	.pp-anim .pp-hero__img img, .pp-anim .pp-hero h1 { animation: none; }
	.pp-card:hover { transform: none; }
	.et_pb_button:hover { transform: none; }
}
.pp-results .more-link::first-letter { text-transform: uppercase; } /* Divi: „czytaj dalej” → „Czytaj dalej” jak w makiecie */
.pp-hero__copy .et_pb_text_inner a { color: inherit !important; text-decoration: none; } .pp-hero__copy .et_pb_text_inner a:hover { text-decoration: underline; } /* kategoria w nadtytule wpisu */

/* Indeksy górne w numerach artykułów ustaw (art. 61¹, 18³ᵃ) — bez rozpychania i nachodzenia wierszy. */
.pp-article sup { font-size: .68em; line-height: 0; vertical-align: baseline; position: relative; top: -.55em; margin-left: 1px; }
