/* ePorady24 desktop redesign - shell v1 */
:root {
    --ep24-navy: #173a55;
    --ep24-navy-2: #204f70;
    --ep24-ink: #24323d;
    --ep24-muted: #697883;
    --ep24-line: #dfe5e9;
    --ep24-bg: #f5f7f8;
    --ep24-soft: #eef4f7;
    --ep24-accent: #2c5987;
    --ep24-accent-hover: #244a70;
    --ep24-white: #ffffff;
}

body.ep24-desktop-v1 {
    min-width: 1000px;
    background: var(--ep24-bg);
    color: var(--ep24-ink);
}

body.ep24-desktop-v1 .holder-site {
    background: transparent;
}

body.ep24-desktop-v1 #menu-box,
body.ep24-desktop-v1 .holder-top-mobile,
body.ep24-desktop-v1 .holder-navi-mobile {
    display: none !important;
}

body.ep24-desktop-v1 .container.ep24-two-column > .fix {
    display: none;
}

body.ep24-desktop-v1 .holder-top {
    background: var(--ep24-white);
    border-bottom: 1px solid #edf0f2;
}

.ep24-topbar {
    background: var(--ep24-white);
}

.ep24-topbar__inner {
    box-sizing: border-box;
    width: 1200px;
    max-width: calc(100% - 40px);
    min-height: 86px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
}

.ep24-brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    text-decoration: none;
}

.ep24-brand img {
    display: block;
    width: 250px;
    max-height: 64px;
    object-fit: contain;
    object-position: left center;
}

.ep24-topbar__trust {
    margin-left: 14px;
    color: var(--ep24-muted);
    font-size: 13px;
    line-height: 1.4;
    white-space: nowrap;
}

.ep24-topbar__actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    white-space: nowrap;
}

.ep24-topbar__actions a,
.ep24-topbar__actions a:visited {
    color: var(--ep24-navy);
    text-decoration: none;
    font-weight: 700;
}

.ep24-topbar__actions a:hover {
    color: var(--ep24-navy-2);
    text-decoration: underline;
}

.ep24-topbar__dot {
    color: #aab4bb;
}

body.ep24-desktop-v1 .holder-middle {
    position: sticky;
    top: 0;
    z-index: 900;
    margin: 0;
    border: 0;
    background: var(--ep24-white);
    box-shadow: 0 1px 0 rgba(21, 48, 67, 0.10), 0 7px 18px rgba(21, 48, 67, 0.045);
}

body.ep24-desktop-v1 #holder-chaser {
    display: none;
}

.ep24-mainnav {
    background: var(--ep24-white);
}

.ep24-mainnav__inner {
    box-sizing: border-box;
    width: 1200px;
    max-width: calc(100% - 40px);
    min-height: 54px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 10px;
}

.ep24-mainnav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: stretch;
    flex: 1 1 auto;
    min-width: 0;
}

.ep24-mainnav__item {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ep24-mainnav__link,
.ep24-mainnav__link:visited {
    box-sizing: border-box;
    height: 54px;
    display: flex;
    align-items: center;
    padding: 0 9px;
    color: var(--ep24-navy);
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    border-bottom: 3px solid transparent;
}

.ep24-mainnav__item:first-child .ep24-mainnav__link {
    padding-left: 0;
    padding-right: 14px;
}

.ep24-mainnav__link:hover,
.ep24-mainnav__item:focus-within > .ep24-mainnav__link {
    color: var(--ep24-navy-2);
    border-bottom-color: var(--ep24-navy-2);
    text-decoration: none;
}

.ep24-mainnav__cta,
.ep24-mainnav__cta:visited {
    align-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 5px;
    background: var(--ep24-accent);
    color: var(--ep24-white);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.ep24-mainnav__cta:hover {
    background: var(--ep24-accent-hover);
    color: var(--ep24-white);
    text-decoration: none;
}

.ep24-category-menu {
    position: absolute;
    top: 52px;
    left: -18px;
    width: 900px;
    padding: 0;
    background: var(--ep24-white);
    border: 1px solid var(--ep24-line);
    border-radius: 0 0 7px 7px;
    box-shadow: 0 18px 40px rgba(26, 53, 71, 0.14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(7px);
    transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
    overflow: hidden;
}

.ep24-mainnav__item--categories:hover .ep24-category-menu,
.ep24-mainnav__item--categories:focus-within .ep24-category-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ep24-category-menu__layout {
    position: relative;
    display: grid;
    grid-template-columns: 255px minmax(0, 1fr);
    min-height: 465px;
    max-height: 550px;
    background: var(--ep24-white);
}

.ep24-category-menu__categories {
    box-sizing: border-box;
    list-style: none;
    margin: 0;
    padding: 10px 0;
    background: #f6f8f9;
    border-right: 1px solid var(--ep24-line);
    overflow-y: auto;
    max-height: 550px;
}

.ep24-category-menu__category-item {
    position: static;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ep24-category-menu__category-link,
.ep24-category-menu__category-link:visited {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 31px;
    padding: 6px 12px 6px 15px;
    color: #334854;
    font-size: 12.5px;
    font-weight: 650;
    line-height: 1.25;
    text-decoration: none;
    border-left: 3px solid transparent;
}

.ep24-category-menu__category-link:hover,
.ep24-category-menu__category-item:hover > .ep24-category-menu__category-link,
.ep24-category-menu__category-item:focus-within > .ep24-category-menu__category-link,
.ep24-category-menu__category-item.is-active > .ep24-category-menu__category-link {
    background: var(--ep24-white);
    color: var(--ep24-navy);
    border-left-color: var(--ep24-accent);
    text-decoration: none;
}

.ep24-category-menu__arrow {
    margin-left: 10px;
    color: #8a979f;
    font-size: 17px;
    line-height: 1;
}

.ep24-category-menu__panel,
.ep24-category-menu__default-panel {
    box-sizing: border-box;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 255px;
    padding: 20px 22px 22px;
    background: var(--ep24-white);
    overflow-y: auto;
}

.ep24-category-menu__panel {
    display: none;
    z-index: 2;
}

.ep24-category-menu__layout.has-active-category .ep24-category-menu__category-item.is-active > .ep24-category-menu__panel {
    display: block;
}

.ep24-category-menu__category-item:hover > .ep24-category-menu__panel,
.ep24-category-menu__category-item:focus-within > .ep24-category-menu__panel {
    display: block;
    z-index: 3;
}

.ep24-category-menu__layout.has-active-category .ep24-category-menu__default-panel,
.ep24-category-menu__categories:hover + .ep24-category-menu__default-panel,
.ep24-category-menu__categories:focus-within + .ep24-category-menu__default-panel {
    visibility: hidden;
}

.ep24-category-menu__panel-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
    margin: 0 0 13px;
    padding: 0 0 12px;
    border-bottom: 1px solid #edf0f2;
}

.ep24-category-menu__panel-head strong {
    color: var(--ep24-navy);
    font-size: 15px;
    line-height: 1.25;
}

.ep24-category-menu__panel-head a,
.ep24-category-menu__panel-head a:visited {
    color: var(--ep24-accent);
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
    white-space: nowrap;
}

.ep24-category-menu__panel-head a:hover {
    color: var(--ep24-accent-hover);
    text-decoration: underline;
}

.ep24-category-menu__subgrid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px 18px;
}

.ep24-category-menu__sublink,
.ep24-category-menu__sublink:visited {
    display: block;
    padding: 7px 8px;
    border-radius: 4px;
    color: #40535f;
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.3;
    text-decoration: none;
}

.ep24-category-menu__sublink:hover,
.ep24-category-menu__sublink.is-active {
    background: var(--ep24-soft);
    color: var(--ep24-navy);
    text-decoration: none;
}

.ep24-category-menu__fallback,
.ep24-category-menu__fallback:visited {
    display: block;
    padding: 18px;
    color: var(--ep24-navy);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

body.ep24-desktop-v1 .holder-navi {
    box-sizing: border-box;
    margin: 0 0 14px;
    padding: 0 0 10px;
    background: transparent;
    border-bottom: 1px solid #edf0f2;
}

body.ep24-desktop-v1 .holder-navi ol {
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
}

body.ep24-desktop-v1 .breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    color: #7b8891;
    font-size: 11px;
    line-height: 1.4;
}

body.ep24-desktop-v1 .breadcrumb li {
    list-style: none;
}

body.ep24-desktop-v1 .breadcrumb li + li::before {
    content: "›";
    margin-right: 6px;
    color: #a0aab1;
}

body.ep24-desktop-v1 .breadcrumb a,
body.ep24-desktop-v1 .breadcrumb a:visited {
    color: #61737f;
    opacity: 1;
}

body.ep24-desktop-v1 .container {
    box-sizing: border-box;
    width: 1200px;
    max-width: calc(100% - 40px);
    margin: 0 auto;
}

body.ep24-desktop-v1 .container.ep24-two-column {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding-top: 8px;
    padding-bottom: 42px;
}

body.ep24-desktop-v1 .holder-left {
    display: none;
}

body.ep24-desktop-v1 .container.ep24-two-column > .container-gornefotki {
    box-sizing: border-box;
    float: none;
    flex: 1 1 auto;
    min-width: 0;
    width: auto !important;
    margin: 0;
    padding: 24px 30px 34px;
    background: var(--ep24-white);
    border: 1px solid #e4e9ec;
    border-radius: 7px;
}

body.ep24-desktop-v1 .container.ep24-two-column > .container-gornefotki > .holder-content {
    box-sizing: border-box;
    float: none;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    background: transparent;
}

body.ep24-desktop-v1 .container.ep24-two-column > .container-gornefotki .ffotki,
body.ep24-desktop-v1 .container.ep24-two-column > .container-gornefotki .container-najnowszepozostale,
body.ep24-desktop-v1 .container.ep24-two-column > .container-gornefotki .container-srodkowefotki {
    box-sizing: border-box;
    width: 100% !important;
}

body.ep24-desktop-v1 .container.ep24-two-column > .holder-content {
    box-sizing: border-box;
    float: none;
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    margin: 0;
    padding: 24px 30px 34px;
    background: var(--ep24-white);
    border: 1px solid #e4e9ec;
    border-radius: 7px;
}

body.ep24-desktop-v1 .container.ep24-two-column > .holder-right {
    box-sizing: border-box;
    float: none;
    flex: 0 0 320px;
    width: 320px;
    margin: 0;
    align-self: stretch;
}

.ep24-sidebar-cta {
    box-sizing: border-box;
    margin-bottom: 16px;
    padding: 19px 20px;
    border: 1px solid #d8e1e6;
    border-radius: 7px;
    background: var(--ep24-white);
}

.ep24-sidebar-cta__title {
    margin: 0 0 7px;
    color: var(--ep24-navy);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
}

.ep24-sidebar-cta__text {
    margin: 0 0 14px;
    color: #596a75;
    font-size: 14px;
    line-height: 1.55;
}

.ep24-sidebar-cta__button,
.ep24-sidebar-cta__button:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 17px;
    border-radius: 5px;
    background: var(--ep24-navy);
    color: var(--ep24-white);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.ep24-sidebar-cta__button:hover {
    background: var(--ep24-navy-2);
    color: var(--ep24-white);
    text-decoration: none;
}

.ep24-sidebar-cta__meta {
    margin: 11px 0 0;
    color: #7b878f;
    font-size: 11px;
    line-height: 1.45;
}

.ep24-sidebar-form-wrap {
    position: sticky;
    top: 70px;
}

body.ep24-desktop-v1 #formularz_pionowy {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    overflow: hidden;
    color: var(--ep24-ink);
    background: var(--ep24-white);
    border: 1px solid #d8e1e6;
    border-radius: 7px;
    box-shadow: 0 7px 22px rgba(28, 54, 72, 0.06);
}

body.ep24-desktop-v1 #formularz_pionowy .ep24-sideform__header {
    padding: 18px 18px 14px;
    border-bottom: 1px solid #e5eaed;
    background: #f7f9fa;
}

body.ep24-desktop-v1 #formularz_pionowy .ep24-sideform__title {
    margin: 0 0 5px;
    color: var(--ep24-navy);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

body.ep24-desktop-v1 #formularz_pionowy .ep24-sideform__lead {
    margin: 0;
    color: #667680;
    font-size: 12px;
    line-height: 1.45;
}

body.ep24-desktop-v1 #formularz_pionowy form {
    padding: 16px 16px 17px;
}

body.ep24-desktop-v1 #formularz_pionowy textarea,
body.ep24-desktop-v1 #formularz_pionowy input[type="text"],
body.ep24-desktop-v1 #formularz_pionowy input[type="email"] {
    box-sizing: border-box;
    display: block;
    width: 100%;
    min-width: 0;
    max-width: none;
    margin: 0 0 9px;
    padding: 10px 11px;
    border: 1px solid #cfd9df;
    border-radius: 4px;
    background: #fff;
    color: #2f3e48;
    font-family: Lato, Tahoma, Geneva, sans-serif;
    font-size: 13px;
    line-height: 1.4;
}

body.ep24-desktop-v1 #formularz_pionowy textarea {
    min-height: 145px;
    resize: vertical;
}

body.ep24-desktop-v1 #formularz_pionowy textarea:focus,
body.ep24-desktop-v1 #formularz_pionowy input[type="text"]:focus,
body.ep24-desktop-v1 #formularz_pionowy input[type="email"]:focus {
    border-color: #7f9bae;
    box-shadow: 0 0 0 2px rgba(31, 79, 112, 0.08);
}

body.ep24-desktop-v1 #formularz_pionowy .ep24-sideform__files {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 5px 0 8px;
    padding: 10px 0 5px;
    border-top: 1px solid #edf0f2;
}

body.ep24-desktop-v1 #formularz_pionowy .browse {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

/* Modern visual layer for the legacy filestyle upload control.
   The original file input and upload logic remain untouched. */
body.ep24-desktop-v1 #formularz_pionowy .browse > div {
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 102px !important;
    height: 31px !important;
    margin: 0 !important;
    overflow: hidden !important;
    border: 1px solid var(--ep24-navy) !important;
    border-radius: 5px !important;
    background: var(--ep24-navy) !important;
    background-image: none !important;
    color: #fff !important;
    cursor: pointer !important;
}

body.ep24-desktop-v1 #formularz_pionowy .browse > div::before {
    content: "Dodaj plik";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: Lato, Tahoma, Geneva, sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
}

body.ep24-desktop-v1 #formularz_pionowy .browse > div:hover {
    background: var(--ep24-navy-2) !important;
    border-color: var(--ep24-navy-2) !important;
}

body.ep24-desktop-v1 #formularz_pionowy .browse > div input[type="file"] {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    opacity: 0 !important;
    cursor: pointer !important;
}

body.ep24-desktop-v1 #formularz_pionowy .browse > input.file {
    display: none !important;
}

body.ep24-desktop-v1 #formularz_pionowy #pionaddFile,
body.ep24-desktop-v1 #formularz_pionowy #pionaddFile:visited {
    display: inline-block;
    margin: 0;
    color: var(--ep24-navy);
    font-size: 11px;
    font-weight: 700;
    line-height: 31px;
    white-space: nowrap;
    text-decoration: none;
}

body.ep24-desktop-v1 #formularz_pionowy #pionaddFile:hover {
    text-decoration: underline;
}

body.ep24-desktop-v1 #formularz_pionowy .ep24-sideform__consent {
    margin-top: 7px;
    padding-top: 9px;
    border-top: 1px solid #edf0f2;
}

body.ep24-desktop-v1 #formularz_pionowy .info-regulamin {
    margin: 0 0 7px;
}

body.ep24-desktop-v1 #formularz_pionowy .regulamin.pion {
    display: block;
    margin: 0;
    padding: 0;
    color: #677781;
    font-size: 10.5px;
    font-weight: 400;
    line-height: 1.45;
    text-indent: 0;
}

body.ep24-desktop-v1 #formularz_pionowy .regulamin.pion a,
body.ep24-desktop-v1 #formularz_pionowy .regulamin.pion a:visited {
    color: var(--ep24-navy);
    text-decoration: underline;
}

body.ep24-desktop-v1 #formularz_pionowy .regulamin.pion input[type="checkbox"] {
    margin-right: 5px;
    vertical-align: -2px;
}

body.ep24-desktop-v1 #formularz_pionowy .mainbuttonpion {
    box-sizing: border-box;
    display: block;
    width: 100%;
    margin: 13px 0 0;
    padding: 12px 14px;
    border: 0;
    border-radius: 5px;
    background: var(--ep24-accent);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    text-shadow: none;
    box-shadow: none;
    cursor: pointer;
}

body.ep24-desktop-v1 #formularz_pionowy .mainbuttonpion:hover {
    background: var(--ep24-accent-hover);
}

body.ep24-desktop-v1 #formularz_pionowy .ep24-sideform__trust {
    margin: 9px 0 0;
    color: #75828a;
    font-size: 10.5px;
    line-height: 1.45;
    text-align: center;
}

/* Reading surface */
body.ep24-desktop-v1 .container.ep24-two-column .holder-content table.p1 {
    width: 100%;
}

body.ep24-desktop-v1 .container.ep24-two-column .holder-content h1,
body.ep24-desktop-v1 .container.ep24-two-column .holder-content h1.pytanie-title {
    margin: 0 0 10px;
    padding: 0;
    color: var(--ep24-navy);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.02em;
    text-align: left;
}

body.ep24-desktop-v1 .container.ep24-two-column .holder-content h2 {
    margin: 30px 0 11px;
    color: #203b4d;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.3;
}

body.ep24-desktop-v1 .container.ep24-two-column .holder-content h3 {
    margin: 22px 0 8px;
    color: #294454;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
}

body.ep24-desktop-v1 .container.ep24-two-column .holder-content p,
body.ep24-desktop-v1 .container.ep24-two-column .holder-content li {
    color: #2d3b45;
    font-size: 16px;
    line-height: 1.72;
}

body.ep24-desktop-v1 .container.ep24-two-column .holder-content .dane-publikacji {
    padding: 0 0 15px;
    color: #78858d;
    font-size: 12px;
    text-align: left;
}

body.ep24-desktop-v1 .container.ep24-two-column .holder-content .dane-publikacji p {
    color: inherit;
    font-size: inherit;
    line-height: 1.5;
}

body.ep24-desktop-v1 .container.ep24-two-column .holder-content .skrot,
body.ep24-desktop-v1 .container.ep24-two-column .holder-content p.skrot {
    margin: 3px 0 18px;
    color: #4b5c67;
    font-size: 17px;
    line-height: 1.65;
}

body.ep24-desktop-v1 .container.ep24-two-column .holder-content .skrot i {
    font-style: normal;
}

body.ep24-desktop-v1 .container.ep24-two-column .holder-content .tresc_pytania {
    color: #2d3b45;
    font-size: 16px;
    line-height: 1.72;
}

body.ep24-desktop-v1 .container.ep24-two-column .holder-content .tresc_pytania img {
    max-width: 100%;
    height: auto;
}

body.ep24-desktop-v1 .container.ep24-two-column .holder-content .tocinside {
    box-sizing: border-box;
    margin: 18px 0 25px;
    padding: 13px 17px 14px;
    border: 1px solid #dbe4e9;
    border-radius: 6px;
    background: #f8fafb;
}

body.ep24-desktop-v1 .container.ep24-two-column .holder-content .tocinside legend {
    padding: 0 7px;
    color: var(--ep24-navy);
    font-size: 14px;
    font-weight: 700;
}

body.ep24-desktop-v1 .container.ep24-two-column .holder-content .tocinside ul,
body.ep24-desktop-v1 .container.ep24-two-column .holder-content .tocinside ol {
    margin: 0 0 0 18px;
}

body.ep24-desktop-v1 .container.ep24-two-column .holder-content .tocinside li {
    margin: 4px 0;
    font-size: 13px;
    line-height: 1.45;
}

body.ep24-desktop-v1 .container.ep24-two-column .holder-content .tocinside a {
    color: #365d75;
    text-decoration: none;
}

body.ep24-desktop-v1 .container.ep24-two-column .holder-content .tocinside a:hover {
    text-decoration: underline;
}

body.ep24-desktop-v1 .container.ep24-two-column .holder-content .sub-quest {
    margin: 26px 0 18px;
    padding: 17px 18px;
    border: 1px solid #dfe6ea;
    border-radius: 6px;
    background: #f8fafb;
}

body.ep24-desktop-v1 .container.ep24-two-column .holder-content .sub-quest .item {
    overflow: hidden;
}

body.ep24-desktop-v1 .container.ep24-two-column .holder-content .fotolia2 {
    color: #8a969d;
    font-size: 10px;
}

/* Related materials */
body.ep24-desktop-v1 .ep24-related {
    margin-top: 34px;
    padding-top: 22px;
    border-top: 1px solid #dfe5e9;
}

body.ep24-desktop-v1 .ep24-related__title {
    margin: 0 0 12px;
    color: var(--ep24-navy);
    font-size: 20px;
    font-weight: 700;
}

body.ep24-desktop-v1 .ep24-related__item {
    padding: 10px 0;
    border-bottom: 1px solid #edf0f2;
}

body.ep24-desktop-v1 .ep24-related__item:last-child {
    border-bottom: 0;
}

body.ep24-desktop-v1 .ep24-related__item a,
body.ep24-desktop-v1 .ep24-related__item a:visited {
    color: #294f68;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
    text-decoration: none;
}

body.ep24-desktop-v1 .ep24-related__item a:hover {
    text-decoration: underline;
}

/* Remove redundant legacy desktop UI in the new shell.
 * Floating CTA is intentionally kept and controlled by templates/index.tpl. */
body.ep24-desktop-v1 .prevnext {
    display: none;
}

@media only screen and (max-width: 1120px) {
    .ep24-topbar__trust {
        display: none;
    }

    .ep24-mainnav__link,
    .ep24-mainnav__link:visited {
        padding-left: 10px;
        padding-right: 10px;
        font-size: 13px;
    }

    body.ep24-desktop-v1 .container.ep24-two-column {
        gap: 24px;
    }

    body.ep24-desktop-v1 .container.ep24-two-column > .holder-right {
        flex-basis: 300px;
        width: 300px;
    }
}

/* Desktop v1: prawa kolumna przejmuje konwersję; stare CTA/formularze zostają dla mobile. */
.ep24-desktop-v1 .ep24-legacy-early-cta,
.ep24-desktop-v1 .ep24-inline-form-lead {
    display: none !important;
}

/* ============================================================
   Desktop reading templates v1 - questions + articles
   ============================================================ */
body.ep24-desktop-v1 .ep24-reading {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}

body.ep24-desktop-v1 .ep24-reading > tbody > tr > td {
    padding-left: 0;
    padding-right: 0;
}

body.ep24-desktop-v1 .ep24-reading__head {
    text-align: left;
}

body.ep24-desktop-v1 .ep24-reading__head .pytanie-title {
    max-width: 790px;
}

body.ep24-desktop-v1 .ep24-reading__head .dane-publikacji a,
body.ep24-desktop-v1 .ep24-reading__head .dane-publikacji a:visited {
    color: #536d7d;
    text-decoration: none;
    border-bottom: 1px solid #cbd6dc;
}

body.ep24-desktop-v1 .ep24-reading__head .dane-publikacji a:hover {
    color: var(--ep24-navy);
    border-bottom-color: var(--ep24-navy);
}

body.ep24-desktop-v1 .ep24-summary-box {
    box-sizing: border-box;
    margin: 20px 0 24px;
    padding: 17px 19px 18px;
    border: 1px solid #d6e2e8;
    border-left: 4px solid var(--ep24-navy-2);
    border-radius: 6px;
    background: #f4f8fa;
}

body.ep24-desktop-v1 .ep24-summary-box__title {
    margin: 0 0 6px !important;
    color: var(--ep24-navy) !important;
    font-size: 15px !important;
    font-weight: 700;
    line-height: 1.4 !important;
}

body.ep24-desktop-v1 .ep24-summary-box__text,
body.ep24-desktop-v1 .ep24-summary-box__text p {
    margin: 0;
    color: #344650;
    font-size: 15px;
    line-height: 1.65;
}

body.ep24-desktop-v1 .ep24-toc-anchor {
    padding-top: 1px;
}

body.ep24-desktop-v1 .lextoc:empty {
    display: none;
}

body.ep24-desktop-v1 .container.ep24-two-column .holder-content .tocinside {
    margin: 16px 0 27px;
    padding: 15px 18px 16px;
    border-color: #d9e3e8;
    background: #f7f9fa;
}

body.ep24-desktop-v1 .container.ep24-two-column .holder-content .tocinside legend {
    color: var(--ep24-navy);
    font-size: 13px;
    letter-spacing: .01em;
}

body.ep24-desktop-v1 .container.ep24-two-column .holder-content .tocinside li {
    margin: 5px 0;
    break-inside: avoid;
}

body.ep24-desktop-v1 .container.ep24-two-column .holder-content .tocinside ul:has(li:nth-child(7)),
body.ep24-desktop-v1 .container.ep24-two-column .holder-content .tocinside ol:has(li:nth-child(7)) {
    columns: 2;
    column-gap: 34px;
}

body.ep24-desktop-v1 .ep24-featured-media {
    padding: 4px 0 24px;
}

body.ep24-desktop-v1 .ep24-featured-media center {
    display: block;
}

body.ep24-desktop-v1 .ep24-featured-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 6px;
}

body.ep24-desktop-v1 .ep24-reading-content,
body.ep24-desktop-v1 .ep24-article-body {
    max-width: 100%;
    color: #2d3b45;
    font-size: 16px;
    line-height: 1.72;
}

body.ep24-desktop-v1 .ep24-reading-content p,
body.ep24-desktop-v1 .ep24-article-body p {
    margin: 0 0 16px;
}

body.ep24-desktop-v1 .ep24-reading-content h2,
body.ep24-desktop-v1 .ep24-article-body h2 {
    margin-top: 34px;
    padding-top: 2px;
}

body.ep24-desktop-v1 .ep24-reading-content h3,
body.ep24-desktop-v1 .ep24-article-body h3 {
    margin-top: 25px;
}

body.ep24-desktop-v1 .ep24-reading-content ul,
body.ep24-desktop-v1 .ep24-reading-content ol,
body.ep24-desktop-v1 .ep24-article-body ul,
body.ep24-desktop-v1 .ep24-article-body ol {
    margin: 10px 0 20px 24px;
    padding: 0;
}

body.ep24-desktop-v1 .ep24-reading-content li,
body.ep24-desktop-v1 .ep24-article-body li {
    margin: 6px 0;
}

body.ep24-desktop-v1 .ep24-reading-content a,
body.ep24-desktop-v1 .ep24-article-body a {
    color: #245a78;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

body.ep24-desktop-v1 .ep24-reading-content blockquote,
body.ep24-desktop-v1 .ep24-article-body blockquote {
    margin: 22px 0;
    padding: 13px 18px;
    border-left: 3px solid #aebfc9;
    background: #f7f9fa;
    color: #43545f;
}

body.ep24-desktop-v1 .ep24-reading-content table,
body.ep24-desktop-v1 .ep24-article-body table {
    max-width: 100%;
    border-collapse: collapse;
}

body.ep24-desktop-v1 .ep24-reading-content th,
body.ep24-desktop-v1 .ep24-reading-content td,
body.ep24-desktop-v1 .ep24-article-body th,
body.ep24-desktop-v1 .ep24-article-body td {
    padding: 9px 11px;
    border: 1px solid #dce4e8;
    vertical-align: top;
}

/* Existing CTA placeholders generated by kategorie.php. */
body.ep24-desktop-v1 .ep24-reading-content .krkbutton,
body.ep24-desktop-v1 .ep24-reading-content .krkbutton:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    box-sizing: border-box;
    margin: 8px 0 12px;
    padding: 12px 18px;
    border: 0;
    border-radius: 5px;
    background: var(--ep24-accent);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none;
    box-shadow: none;
}

body.ep24-desktop-v1 .ep24-reading-content .krkbutton:hover {
    background: var(--ep24-accent-hover);
    color: #fff;
}

/* Newer editorial boxes are stored inline in DB. Override only the CTA button,
   not the content or layout of the editorial block. */
body.ep24-desktop-v1 .ep24-reading-content > div:has(> a[href*="porady_prawne"]) > a[href*="porady_prawne"],
body.ep24-desktop-v1 .ep24-article-body > div:has(> a[href*="porady_prawne"]) > a[href*="porady_prawne"] {
    background: var(--ep24-accent) !important;
    border-radius: 5px !important;
    box-shadow: none !important;
    font-size: 15px !important;
    padding: 12px 19px !important;
}

body.ep24-desktop-v1 .ep24-reading-content > div:has(> a[href*="porady_prawne"]) > a[href*="porady_prawne"]:hover,
body.ep24-desktop-v1 .ep24-article-body > div:has(> a[href*="porady_prawne"]) > a[href*="porady_prawne"]:hover {
    background: var(--ep24-accent-hover) !important;
}

body.ep24-desktop-v1 .ep24-author-card {
    box-sizing: border-box;
    display: flex;
    gap: 15px;
    align-items: flex-start;
    margin: 32px 0 10px;
    padding: 17px 18px;
    border: 1px solid #dde5e9;
    border-radius: 6px;
    background: #f8fafb;
}

body.ep24-desktop-v1 .ep24-author-card .item {
    width: 100%;
    overflow: visible;
}

body.ep24-desktop-v1 .ep24-author-card__photo,
body.ep24-desktop-v1 .ep24-author-card .ep24-author-card__photo {
    flex: 0 0 61px;
    float: left;
    margin: 1px 14px 4px 0;
}

body.ep24-desktop-v1 .ep24-author-card__photo img {
    display: block;
    width: 61px;
    height: 61px;
    border-radius: 50%;
    object-fit: cover;
}

body.ep24-desktop-v1 .ep24-author-card p {
    margin: 0 0 6px;
    font-size: 13px;
    line-height: 1.5;
}

body.ep24-desktop-v1 .ep24-author-card__body {
    min-width: 0;
}

body.ep24-desktop-v1 .ep24-author-card__eyebrow {
    margin: 0 0 2px !important;
    color: #78858d !important;
    font-size: 11px !important;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

body.ep24-desktop-v1 .ep24-author-card__name {
    margin: 0 0 5px !important;
    color: var(--ep24-navy) !important;
    font-size: 15px !important;
    font-weight: 700;
}

body.ep24-desktop-v1 .ep24-author-card__desc {
    color: #5c6d77 !important;
}

body.ep24-desktop-v1 .ep24-author-card a,
body.ep24-desktop-v1 .ep24-author-card a:visited,
body.ep24-desktop-v1 .ep24-author-card__link,
body.ep24-desktop-v1 .ep24-author-card__link:visited {
    color: #355f78;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

body.ep24-desktop-v1 .ep24-author-card a:hover,
body.ep24-desktop-v1 .ep24-author-card__link:hover {
    text-decoration: underline;
}

body.ep24-desktop-v1 .ep24-related-table {
    width: 100%;
    margin-top: 3px;
}

body.ep24-desktop-v1 .ep24-content-cta {
    box-sizing: border-box;
    margin: 30px 0 4px;
    padding: 21px 22px;
    border: 1px solid #d8e2e7;
    border-radius: 6px;
    background: #f7f9fa;
}

body.ep24-desktop-v1 .ep24-content-cta__title {
    margin: 0 0 6px !important;
    color: var(--ep24-navy) !important;
    font-size: 19px !important;
    font-weight: 700;
    line-height: 1.35 !important;
}

body.ep24-desktop-v1 .ep24-content-cta__text {
    max-width: 650px;
    margin: 0 0 14px !important;
    color: #52636e !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
}

body.ep24-desktop-v1 .ep24-content-cta__button,
body.ep24-desktop-v1 .ep24-content-cta__button:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 17px;
    border-radius: 5px;
    background: var(--ep24-accent);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

body.ep24-desktop-v1 .ep24-content-cta__button:hover {
    background: var(--ep24-accent-hover);
    color: #fff;
}

body.ep24-desktop-v1 .ep24-content-cta__meta {
    margin: 9px 0 0 !important;
    color: #7a878f !important;
    font-size: 10.5px !important;
    line-height: 1.45 !important;
}

/* Old article/question conversion elements stay available in the untouched
   mobile branch, but are not rendered in the desktop templates anymore. */
body.ep24-desktop-v1 .ep24-reading .maly_cz:empty {
    display: none;
}

/* =========================================================
   Desktop v7 - category / subcategory knowledge hubs
   ========================================================= */
body.ep24-desktop-v1 .holder-content .holder-navi {
    margin-bottom: 10px;
    padding-bottom: 7px;
}

body.ep24-desktop-v1 .holder-content .holder-navi .breadcrumb,
body.ep24-desktop-v1 .holder-content .holder-navi .breadcrumb li,
body.ep24-desktop-v1 .holder-content .holder-navi .breadcrumb a,
body.ep24-desktop-v1 .holder-content .holder-navi .breadcrumb a:visited,
body.ep24-desktop-v1 .holder-content .holder-navi .breadcrumb span {
    font-size: 9px;
    line-height: 1.25;
}

body.ep24-desktop-v1 .holder-content .holder-navi .breadcrumb {
    gap: 4px;
    color: #89949b;
}

body.ep24-desktop-v1 .holder-content .holder-navi .breadcrumb li + li::before {
    margin-right: 4px;
    color: #b0b8bd;
}

body.ep24-desktop-v1 .ep24-hub {
    width: 100%;
}

body.ep24-desktop-v1 .ep24-hub-hero {
    margin: 0 0 27px;
    padding: 0 0 24px;
    border-bottom: 1px solid #e5eaed;
}

body.ep24-desktop-v1 .ep24-hub-eyebrow {
    margin: 0 0 6px;
    color: #70818b;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: .06em;
    text-transform: uppercase;
}

body.ep24-desktop-v1 .container.ep24-two-column .holder-content .ep24-hub-title {
    margin: 0 0 13px;
    color: var(--ep24-navy);
    font-size: 31px;
    line-height: 1.18;
}

body.ep24-desktop-v1 .ep24-hub-description {
    max-width: 790px;
    margin: 0;
    color: #34454f;
}

body.ep24-desktop-v1 .ep24-hub-description p {
    margin: 0 0 10px;
    color: #34454f;
    font-size: 15.5px;
    line-height: 1.66;
}

body.ep24-desktop-v1 .ep24-hub-description p:last-child {
    margin-bottom: 0;
}

body.ep24-desktop-v1 .ep24-hub-topics {
    margin: 22px 0 0;
    padding: 18px;
    border: 1px solid #e2e8eb;
    border-radius: 7px;
    background: #f8fafb;
}

body.ep24-desktop-v1 .ep24-hub-topics__title {
    margin: 0 0 11px;
    color: #263f50;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
}

body.ep24-desktop-v1 .ep24-hub-topics__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px 10px;
}

body.ep24-desktop-v1 .ep24-hub-topic,
body.ep24-desktop-v1 .ep24-hub-topic:visited {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 38px;
    box-sizing: border-box;
    padding: 8px 11px;
    border: 1px solid #dbe3e7;
    border-radius: 5px;
    background: #fff;
    color: #2c536b;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none;
}

body.ep24-desktop-v1 .ep24-hub-topic:hover {
    border-color: #b9cbd5;
    background: #f3f7f9;
    color: var(--ep24-navy);
    text-decoration: none;
}

body.ep24-desktop-v1 .ep24-hub-topic span {
    flex: 0 0 auto;
    margin-left: 10px;
    color: #8aa0ad;
    font-size: 17px;
    font-weight: 400;
}

body.ep24-desktop-v1 .ep24-hub-topic.is-active,
body.ep24-desktop-v1 .ep24-hub-topic.is-active:visited {
    border-color: #aebfca;
    background: #edf3f6;
    color: #1d4057;
}

body.ep24-desktop-v1 .ep24-hub-jumps {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 16px;
}

body.ep24-desktop-v1 .ep24-hub-jumps a,
body.ep24-desktop-v1 .ep24-hub-jumps a:visited {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 30px;
    box-sizing: border-box;
    padding: 5px 10px;
    border-radius: 4px;
    background: #eef3f6;
    color: #35566a;
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
}

body.ep24-desktop-v1 .ep24-hub-jumps a:hover {
    background: #e3ebef;
    color: var(--ep24-navy);
}

body.ep24-desktop-v1 .ep24-hub-jumps a span {
    color: #73838d;
    font-size: 10px;
    font-weight: 600;
}

body.ep24-desktop-v1 .ep24-hub table.pas_sz {
    width: 100%;
    margin: 30px 0 5px;
    border: 0;
    border-collapse: collapse;
    background: transparent;
}

body.ep24-desktop-v1 .ep24-hub table.pas_sz td {
    padding: 0 0 9px;
    border-bottom: 2px solid #dfe6e9;
    vertical-align: bottom;
}

body.ep24-desktop-v1 .ep24-hub table.pas_sz td:first-child .st_s {
    margin: 0;
    color: transparent;
    font-size: 0;
    line-height: 1;
}

body.ep24-desktop-v1 .ep24-hub table.pas_sz td:first-child .st_s span {
    margin-left: 0 !important;
    color: #243f51;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
}

body.ep24-desktop-v1 .ep24-hub table.pas_sz td:last-child .st_s {
    margin: 0 0 1px;
    color: #87939a;
    font-size: 10.5px;
    font-weight: 500 !important;
    line-height: 1.3;
}

body.ep24-desktop-v1 .ep24-hub .content4 {
    box-sizing: border-box;
    margin: 0;
    padding: 17px 2px 18px;
    border-bottom: 1px solid #e7ecef;
    background: transparent;
}

body.ep24-desktop-v1 .ep24-hub .content4 .data {
    display: inline-block;
    margin: 0 0 4px;
    color: #8b969d;
    font-size: 10.5px;
    line-height: 1.35;
}

body.ep24-desktop-v1 .container.ep24-two-column .holder-content .ep24-hub .content4 h2.tytul-pytania {
    margin: 0 0 6px;
    color: #25485e;
    font-size: 17.5px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0;
}

body.ep24-desktop-v1 .ep24-hub .content4 h2.tytul-pytania > span {
    display: none;
}

body.ep24-desktop-v1 .ep24-hub .content4 a,
body.ep24-desktop-v1 .ep24-hub .content4 a:visited {
    color: #25485e;
    text-decoration: none;
}

body.ep24-desktop-v1 .ep24-hub .content4 a:hover h2.tytul-pytania {
    color: #17384e;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

body.ep24-desktop-v1 .container.ep24-two-column .holder-content .ep24-hub .content4 p {
    max-width: 780px;
    margin: 0;
    color: #53636d;
    font-size: 13.5px;
    line-height: 1.55;
}

body.ep24-desktop-v1 .ep24-hub .pag {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    width: 100%;
    box-sizing: border-box;
    margin: 12px 0 18px;
    padding: 0;
    text-align: left;
}

body.ep24-desktop-v1 .ep24-hub .pag .item,
body.ep24-desktop-v1 .ep24-hub .pag a.item,
body.ep24-desktop-v1 .ep24-hub .pag span.item {
    float: none;
    min-width: 29px;
    height: 29px;
    box-sizing: border-box;
    margin: 0;
    padding: 5px 8px;
    border: 1px solid #d8e1e5;
    border-radius: 4px;
    background: #fff;
    color: #536975;
    font-size: 10.5px;
    font-weight: 600;
    line-height: 17px;
    text-align: center;
    text-decoration: none;
}

body.ep24-desktop-v1 .ep24-hub .pag .item.active {
    border-color: var(--ep24-navy);
    background: var(--ep24-navy);
    color: #fff;
}

body.ep24-desktop-v1 .ep24-hub .pag a.item:hover {
    border-color: #aebec7;
    background: #f4f7f8;
    color: #203f53;
}

body.ep24-desktop-v1 .ep24-hub .pag .prev,
body.ep24-desktop-v1 .ep24-hub .pag .next {
    width: auto;
    min-width: 64px;
}

body.ep24-desktop-v1 .ep24-hub .pag .select {
    position: relative;
}

body.ep24-desktop-v1 .ep24-hub .pag .select .content {
    z-index: 20;
}


/* =========================================================
   Desktop v8 - homepage + category thumbnails
   ========================================================= */
body.ep24-desktop-v1 .holder-content .holder-navi {
    margin-bottom: 7px;
    padding-bottom: 4px;
}

body.ep24-desktop-v1 .holder-content .holder-navi ol.breadcrumb,
body.ep24-desktop-v1 .holder-content .holder-navi ol.breadcrumb li,
body.ep24-desktop-v1 .holder-content .holder-navi ol.breadcrumb a,
body.ep24-desktop-v1 .holder-content .holder-navi ol.breadcrumb a:visited,
body.ep24-desktop-v1 .holder-content .holder-navi ol.breadcrumb span {
    font-size: 8px !important;
    line-height: 1.15 !important;
}

body.ep24-desktop-v1 .holder-content .holder-navi ol.breadcrumb li + li:before {
    padding: 0 3px !important;
    font-size: 8px !important;
    line-height: 1.15 !important;
}

body.ep24-desktop-v1 .ep24-hub-question {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

body.ep24-desktop-v1 .ep24-hub-question__thumb {
    flex: 0 0 132px;
    display: block;
    width: 132px;
    height: 88px;
    margin-top: 2px;
    overflow: hidden;
    border: 1px solid #e0e6e9;
    border-radius: 5px;
    background: #f2f5f6;
}

body.ep24-desktop-v1 .ep24-hub-question__thumb img {
    display: block;
    width: 132px;
    height: 88px;
    object-fit: cover;
}

body.ep24-desktop-v1 .ep24-hub-question__body {
    flex: 1 1 auto;
    min-width: 0;
}

body.ep24-desktop-v1 .ep24-hub-question__body .data {
    margin-bottom: 3px;
}

body.ep24-desktop-v1 .ep24-home {
    width: 100%;
}

body.ep24-desktop-v1 .ep24-home-hero {
    margin: 0 0 30px;
    padding: 5px 0 28px;
    border-bottom: 1px solid #e4e9ec;
}

body.ep24-desktop-v1 .ep24-home-eyebrow,
body.ep24-desktop-v1 .ep24-home-section__eyebrow {
    margin: 0 0 6px !important;
    color: #71828c !important;
    font-size: 10.5px !important;
    font-weight: 700;
    line-height: 1.3 !important;
    letter-spacing: .055em;
    text-transform: uppercase;
}

body.ep24-desktop-v1 .container.ep24-two-column .holder-content .ep24-home-hero h1 {
    margin: 0 0 12px;
    color: var(--ep24-navy);
    font-size: 32px;
    line-height: 1.16;
}

body.ep24-desktop-v1 .ep24-home-lead {
    max-width: 760px;
    margin: 0 !important;
    color: #40525d !important;
    font-size: 16px !important;
    line-height: 1.62 !important;
}

body.ep24-desktop-v1 .ep24-home-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
}

body.ep24-desktop-v1 .ep24-home-primary,
body.ep24-desktop-v1 .ep24-home-primary:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    box-sizing: border-box;
    padding: 0 18px;
    border-radius: 5px;
    background: var(--ep24-accent);
    color: #fff;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
}

body.ep24-desktop-v1 .ep24-home-primary:hover {
    background: var(--ep24-accent-hover);
    color: #fff;
}

body.ep24-desktop-v1 .ep24-home-secondary,
body.ep24-desktop-v1 .ep24-home-secondary:visited {
    color: #355d75;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

body.ep24-desktop-v1 .ep24-home-secondary:hover {
    text-decoration: underline;
}

body.ep24-desktop-v1 .ep24-home-trust {
    margin: 12px 0 0 !important;
    color: #7b888f !important;
    font-size: 10.5px !important;
    line-height: 1.4 !important;
}

body.ep24-desktop-v1 .ep24-home-section {
    margin: 0 0 34px;
}

body.ep24-desktop-v1 .ep24-home-section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin: 0 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e1e7ea;
}

body.ep24-desktop-v1 .ep24-home-section__head--compact {
    align-items: flex-start;
}

body.ep24-desktop-v1 .container.ep24-two-column .holder-content .ep24-home-section__head h2,
body.ep24-desktop-v1 .container.ep24-two-column .holder-content .ep24-home-final-cta h2 {
    margin: 0;
    color: #243f51;
    font-size: 21px;
    line-height: 1.28;
}

body.ep24-desktop-v1 .ep24-home-section__head > p {
    max-width: 390px;
    margin: 0 0 1px !important;
    color: #697981 !important;
    font-size: 11.5px !important;
    line-height: 1.5 !important;
    text-align: right;
}

body.ep24-desktop-v1 .ep24-home-category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px 10px;
}

body.ep24-desktop-v1 .ep24-home-category,
body.ep24-desktop-v1 .ep24-home-category:visited {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 39px;
    box-sizing: border-box;
    padding: 8px 12px;
    border: 1px solid #dce4e8;
    border-radius: 5px;
    background: #fafbfc;
    color: #2d536b;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.35;
    text-decoration: none;
}

body.ep24-desktop-v1 .ep24-home-category:hover {
    border-color: #bccbd3;
    background: #f3f7f9;
    color: #193e56;
}

body.ep24-desktop-v1 .ep24-home-category span:last-child {
    margin-left: 9px;
    color: #91a1aa;
    font-size: 17px;
    font-weight: 400;
}

body.ep24-desktop-v1 .ep24-home-materials {
    width: 100%;
}

body.ep24-desktop-v1 .ep24-home-material {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 1px 16px;
    border-bottom: 1px solid #e7ecef;
}

body.ep24-desktop-v1 .ep24-home-material:first-child {
    padding-top: 3px;
}

body.ep24-desktop-v1 .ep24-home-material__thumb {
    flex: 0 0 132px;
    width: 132px;
    height: 88px;
    overflow: hidden;
    border: 1px solid #e0e6e9;
    border-radius: 5px;
    background: #f2f5f6;
}

body.ep24-desktop-v1 .ep24-home-material__thumb img {
    display: block;
    width: 132px;
    height: 88px;
    object-fit: cover;
}

body.ep24-desktop-v1 .ep24-home-material__body {
    flex: 1 1 auto;
    min-width: 0;
}

body.ep24-desktop-v1 .ep24-home-material__meta {
    margin: 0 0 4px !important;
    color: #849097 !important;
    font-size: 10px !important;
    font-weight: 600;
    line-height: 1.35 !important;
}

body.ep24-desktop-v1 .container.ep24-two-column .holder-content .ep24-home-material h3 {
    margin: 0 0 5px;
    font-size: 16.5px;
    line-height: 1.35;
}

body.ep24-desktop-v1 .ep24-home-material h3 a,
body.ep24-desktop-v1 .ep24-home-material h3 a:visited {
    color: #25485e;
    text-decoration: none;
}

body.ep24-desktop-v1 .ep24-home-material h3 a:hover {
    color: #17384e;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

body.ep24-desktop-v1 .ep24-home-material__body > p:last-child {
    margin: 0 !important;
    color: #56666f !important;
    font-size: 12.5px !important;
    line-height: 1.52 !important;
}



body.ep24-desktop-v1 .ep24-home-hero--seo {
    padding-top: 2px;
}

body.ep24-desktop-v1 .ep24-home-seo-copy {
    max-width: 780px;
    color: #40525d;
}

body.ep24-desktop-v1 .ep24-home-seo-copy p {
    margin: 0 0 12px !important;
    color: #40525d !important;
    font-size: 15px !important;
    line-height: 1.62 !important;
}

body.ep24-desktop-v1 .container.ep24-two-column .holder-content .ep24-home-seo-copy h2 {
    margin: 22px 0 8px;
    color: #243f51;
    font-size: 20px;
    line-height: 1.3;
}

body.ep24-desktop-v1 .ep24-home-seo-link {
    margin-top: 2px !important;
}

body.ep24-desktop-v1 .ep24-home-seo-link a,
body.ep24-desktop-v1 .ep24-home-seo-link a:visited {
    color: var(--ep24-accent);
    text-decoration: none;
}

body.ep24-desktop-v1 .ep24-home-seo-link a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

body.ep24-desktop-v1 .ep24-home-material--text-only {
    gap: 0;
}

body.ep24-desktop-v1 .ep24-home-final-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin: 36px 0 4px;
    padding: 20px 21px;
    border: 1px solid #dbe4e8;
    border-radius: 6px;
    background: #f7f9fa;
}

body.ep24-desktop-v1 .ep24-home-final-cta > div > p:last-child {
    max-width: 585px;
    margin: 6px 0 0 !important;
    color: #61717a !important;
    font-size: 12.5px !important;
    line-height: 1.5 !important;
}

body.ep24-desktop-v1 .ep24-home-final-cta > a,
body.ep24-desktop-v1 .ep24-home-final-cta > a:visited {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    box-sizing: border-box;
    padding: 0 17px;
    border-radius: 5px;
    background: var(--ep24-accent);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

body.ep24-desktop-v1 .ep24-home-final-cta > a:hover {
    background: var(--ep24-accent-hover);
    color: #fff;
}

/* =========================================================
   FORMULARZ GLOWNY DESKTOP V10
   Uklad na podstawie zaakceptowanego wzorca formularza.
   ========================================================= */
body.ep24-desktop-v1 .ep24-form-page {
    box-sizing: border-box;
    width: 1200px;
    max-width: calc(100% - 40px);
    margin: 0 auto;
    padding: 12px 0 8px;
}

body.ep24-desktop-v1 .ep24-form-heading {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
    gap: 20px;
    align-items: center;
    margin: 0 0 9px;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid var(--ep24-border);
    border-radius: 8px;
}

body.ep24-desktop-v1 .ep24-form-heading__copy {
    min-width: 0;
    padding-left: 8px;
}

body.ep24-desktop-v1 .ep24-form-heading__copy h1 {
    margin: 0;
    color: var(--ep24-ink);
    font: 700 23px/1.2 Lato, Arial, sans-serif;
}

body.ep24-desktop-v1 .ep24-form-heading__copy p {
    margin: 0;
    color: var(--ep24-muted);
    font-size: 16px;
    line-height: 1.5;
}

body.ep24-desktop-v1 .ep24-form-heading__brand {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-left: 12px;
    text-decoration: none;
}

body.ep24-desktop-v1 .ep24-form-heading__brand strong {
    color: var(--ep24-accent);
    font-size: 20px;
    line-height: 1.2;
    font-weight: 800;
}

body.ep24-desktop-v1 .ep24-form-heading__brand span {
    margin-top: 3px;
    color: var(--ep24-muted);
    font-size: 12.5px;
    line-height: 1.35;
    font-weight: 400;
}

body.ep24-desktop-v1 .ep24-form-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
    gap: 10px;
    align-items: stretch;
}

body.ep24-desktop-v1 .ep24-form-main {
    box-sizing: border-box;
    min-width: 0;
    padding: 26px 28px;
    border: 1px solid var(--ep24-line);
    border-radius: 8px;
    background: var(--ep24-white);
}

body.ep24-desktop-v1 .ep24-main-question-form {
    margin: 0 !important;
    padding: 0 !important;
}

body.ep24-desktop-v1 .ep24-form-partner {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 0 0 16px;
    padding: 10px 12px;
    border: 1px solid var(--ep24-line);
    border-radius: 7px;
    background: var(--ep24-soft);
}

body.ep24-desktop-v1 .ep24-form-partner img {
    width: 42px;
    height: 42px;
    object-fit: cover;
    border-radius: 5px;
}

body.ep24-desktop-v1 .ep24-form-partner p {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
}

body.ep24-desktop-v1 .ep24-form-section {
    margin: 0;
    padding: 0 0 15px;
}

body.ep24-desktop-v1 .ep24-form-section + .ep24-form-section {
    padding-top: 15px;
    border-top: 1px solid var(--ep24-line);
}

body.ep24-desktop-v1 .ep24-form-section h2 {
    margin: 0 0 12px !important;
    padding: 0 !important;
    color: var(--ep24-ink) !important;
    font: 700 17px/1.3 Lato, Arial, sans-serif !important;
}

body.ep24-desktop-v1 .ep24-question-box {
    position: relative;
    display: flex;
    height: 262px;
}

body.ep24-desktop-v1 .ep24-question-box textarea#questionContent {
    box-sizing: border-box !important;
    display: block !important;
    flex: 1 1 auto;
    width: 100% !important;
    height: 262px !important;
    min-height: 262px !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 12px 14px 54px !important;
    border: 1px solid #b8c5ce !important;
    border-radius: 6px !important;
    background: #fff !important;
    color: var(--ep24-ink) !important;
    box-shadow: none !important;
    font: 15px/1.5 Lato, Arial, sans-serif !important;
    resize: vertical !important;
}

body.ep24-desktop-v1 .ep24-question-box textarea#questionContent:focus,
body.ep24-desktop-v1 .ep24-contact-field input:focus {
    outline: none !important;
    border-color: var(--ep24-accent) !important;
    box-shadow: 0 0 0 2px rgba(44, 89, 135, .10) !important;
}

body.ep24-desktop-v1 .ep24-question-box textarea::placeholder,
body.ep24-desktop-v1 .ep24-contact-field input::placeholder {
    color: #8b98a2;
    opacity: 1;
}

body.ep24-desktop-v1 .ep24-question-hints {
    position: absolute;
    right: 12px;
    bottom: 14px;
    left: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    pointer-events: none;
}

body.ep24-desktop-v1 .ep24-question-hints span {
    padding: 6px 13px;
    border: 1px solid #d8e1e6;
    border-radius: 999px;
    background: var(--ep24-soft);
    color: var(--ep24-muted);
    font-size: 12.5px;
    line-height: 1.2;
}

body.ep24-desktop-v1 .ep24-form-files {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

body.ep24-desktop-v1 .ep24-file-list,
body.ep24-desktop-v1 .ep24-file-row {
    display: inline-flex !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    overflow: visible !important;
}

body.ep24-desktop-v1 .ep24-file-list {
    gap: 8px 12px;
}

body.ep24-desktop-v1 .ep24-file-input {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

body.ep24-desktop-v1 .ep24-file-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 6px 12px;
    border: 1px solid var(--ep24-accent);
    border-radius: 6px;
    background: var(--ep24-accent);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
}

body.ep24-desktop-v1 .ep24-file-name {
    max-width: 210px;
    color: var(--ep24-muted);
    font-size: 11.5px;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.ep24-desktop-v1 .ep24-add-file,
body.ep24-desktop-v1 .ep24-phone-why {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ep24-accent);
    font: 700 12px/1.3 Lato, Arial, sans-serif;
    cursor: pointer;
}

body.ep24-desktop-v1 .ep24-add-file:hover,
body.ep24-desktop-v1 .ep24-phone-why:hover {
    text-decoration: underline;
}

body.ep24-desktop-v1 .ep24-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

body.ep24-desktop-v1 .ep24-contact-field {
    min-width: 0;
}

body.ep24-desktop-v1 .ep24-contact-field > label {
    display: none;
    margin: 0 0 5px;
    color: #3d5261;
    font-size: 12.5px;
    font-weight: 700;
}

body.ep24-desktop-v1 .ep24-contact-field > label span {
    color: var(--ep24-muted);
    font-weight: 400;
}

body.ep24-desktop-v1 .ep24-contact-field .namewrap,
body.ep24-desktop-v1 .ep24-contact-field .mailwrap,
body.ep24-desktop-v1 .ep24-contact-field .phonewrap {
    position: static !important;
    box-sizing: border-box;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    background: none !important;
}

body.ep24-desktop-v1 .ep24-contact-field .nameplaceholder,
body.ep24-desktop-v1 .ep24-contact-field .mailplaceholder,
body.ep24-desktop-v1 .ep24-contact-field .phoneplaceholder {
    display: none !important;
}

body.ep24-desktop-v1 .ep24-contact-field input.contact-data,
body.ep24-desktop-v1 .ep24-contact-field input.contact-data-tel {
    box-sizing: border-box !important;
    display: block !important;
    width: 100% !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 10px 13px !important;
    border: 1px solid #b8c5ce !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: var(--ep24-ink) !important;
    font: 14px/22px Lato, Arial, sans-serif !important;
}

body.ep24-desktop-v1 .ep24-phone-why {
    margin: 4px 0 0 14px;
}

body.ep24-desktop-v1 .ep24-phone-why-text {
    margin: 5px 0 0 14px;
    color: var(--ep24-muted);
    font-size: 11.5px;
    line-height: 1.4;
}

body.ep24-desktop-v1 .ep24-form-error {
    box-sizing: border-box;
    width: auto !important;
    margin: 5px 0 !important;
    padding: 5px 8px !important;
    border: 0 !important;
    border-left: 3px solid #c9545d !important;
    background: #fff5f6 !important;
    color: #952a33 !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
}

body.ep24-desktop-v1 .ep24-consent-section {
    padding-bottom: 0;
}

body.ep24-desktop-v1 .ep24-consent-section .info-regulamin {
    margin: 0 0 8px !important;
    padding: 0 !important;
    color: #465c6c !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
}

body.ep24-desktop-v1 .ep24-consent-section label.regulamin {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #465c6c !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
}

body.ep24-desktop-v1 .ep24-consent-section input[type=checkbox] {
    width: 16px;
    height: 16px;
    margin: 2px 8px 0 0;
    vertical-align: top;
    accent-color: var(--ep24-accent);
}

body.ep24-desktop-v1 .ep24-consent-section a {
    color: var(--ep24-accent) !important;
    text-decoration: underline;
}

body.ep24-desktop-v1 .ep24-commercial-consent .privacy-more-content {
    display: none;
    margin: 5px 0 0 24px !important;
    color: var(--ep24-muted);
    font-size: 11.5px !important;
    line-height: 1.4 !important;
}

body.ep24-desktop-v1 .ep24-form-submit {
    margin-top: 12px;
    text-align: center;
}

body.ep24-desktop-v1 .ep24-form-submit input.mainbutton#mainorder {
    float: none !important;
    display: inline-block !important;
    width: auto !important;
    min-width: 340px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 14px 38px !important;
    border: 1px solid var(--ep24-accent) !important;
    border-radius: 6px !important;
    background: var(--ep24-accent) !important;
    color: #fff !important;
    text-shadow: none !important;
    box-shadow: none !important;
    font: 700 17px/1.2 Lato, Arial, sans-serif !important;
    cursor: pointer !important;
}

body.ep24-desktop-v1 .ep24-form-submit input.mainbutton#mainorder:hover {
    background: var(--ep24-accent-hover) !important;
    border-color: var(--ep24-accent-hover) !important;
}

body.ep24-desktop-v1 .ep24-form-submit p {
    margin: 8px 0 0;
    color: var(--ep24-muted);
    font-size: 12px;
    line-height: 1.4;
}

body.ep24-desktop-v1 .ep24-rodo-info {
    display: none;
    margin: 14px 0 0;
    padding: 15px 17px;
    border: 1px solid var(--ep24-line);
    border-radius: 7px;
    background: #f7f9fa;
    color: #4c5e6b;
    font-size: 12px;
    line-height: 1.5;
}

body.ep24-desktop-v1 .ep24-rodo-info p {
    margin: 0 0 8px;
    font-size: 12px !important;
    line-height: 1.5 !important;
}

body.ep24-desktop-v1 .ep24-rodo-info p:last-child {
    margin-bottom: 0;
}

body.ep24-desktop-v1 .ep24-form-aside {
    box-sizing: border-box;
    min-width: 0;
}

body.ep24-desktop-v1 .ep24-form-aside-card {
    box-sizing: border-box;
    height: 100%;
    padding: 20px 22px;
    border: 1px solid #dbe3e7;
    border-radius: 8px;
    background: var(--ep24-soft);
}

body.ep24-desktop-v1 .ep24-form-aside-card h2,
body.ep24-desktop-v1 .ep24-form-aside-card h3 {
    margin: 0 !important;
    padding: 0 !important;
    color: var(--ep24-ink) !important;
    font-family: Lato, Arial, sans-serif !important;
}

body.ep24-desktop-v1 .ep24-form-aside-card h2 {
    margin-bottom: 14px !important;
    font-size: 17px !important;
    font-weight: 900 !important;
}

body.ep24-desktop-v1 .ep24-form-aside-card h3 {
    margin-bottom: 12px !important;
    font-size: 15px !important;
    font-weight: 800 !important;
}

body.ep24-desktop-v1 .ep24-form-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

body.ep24-desktop-v1 .ep24-form-step {
    display: flex;
    align-items: flex-start;
    gap: 11px;
}

body.ep24-desktop-v1 .ep24-form-step > span {
    display: inline-flex;
    flex: 0 0 26px;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--ep24-accent);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
}

body.ep24-desktop-v1 .ep24-form-step strong {
    color: var(--ep24-ink);
    font-size: 13.5px;
    line-height: 1.3;
}

body.ep24-desktop-v1 .ep24-form-step p {
    margin: 2px 0 0;
    color: var(--ep24-muted);
    font-size: 12.5px;
    line-height: 1.45;
}

body.ep24-desktop-v1 .ep24-form-aside-rule {
    height: 1px;
    margin: 16px 0;
    background: #d6e0e5;
}

body.ep24-desktop-v1 .ep24-form-side-opinions {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

body.ep24-desktop-v1 .ep24-form-side-opinion p {
    margin: 5px 0 0;
    color: #3f525f;
    font-size: 13px;
    font-style: italic;
    line-height: 1.5;
}

body.ep24-desktop-v1 .ep24-form-side-opinion span {
    display: block;
    margin-top: 4px;
    color: var(--ep24-muted);
    font-size: 11.5px;
}

body.ep24-desktop-v1 .ep24-form-stars {
    color: #d8a126;
    font-size: 14px;
    letter-spacing: 1.5px;
}

body.ep24-desktop-v1 .ep24-form-all-opinions {
    display: inline-block;
    margin-top: 13px;
    color: var(--ep24-accent) !important;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none !important;
}

body.ep24-desktop-v1 .ep24-form-trust {
    margin: 0;
    color: #4e626f;
    font-size: 13px;
    line-height: 1.55;
}

body.ep24-desktop-v1 .ep24-form-trust strong {
    color: var(--ep24-accent);
}

body.ep24-desktop-v1 .container:not(.ep24-two-column) {
    padding-bottom: 48px;
}

body.ep24-desktop-v1 .container:not(.ep24-two-column) > .holder-content.ep24-main-content {
    box-sizing: border-box;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

body.ep24-desktop-v1 .ep24-form-opinions {
    box-sizing: border-box;
    width: 100%;
    margin: 20px auto 0;
    padding: 0 0 10px;
}

body.ep24-desktop-v1 .ep24-form-opinions__head {
    margin: 0 0 16px;
    padding: 0 18px 8px;
    border-bottom: 1px solid var(--ep24-line);
}

body.ep24-desktop-v1 .ep24-form-opinions__head h2 {
    margin: 0 !important;
    padding: 0 !important;
    color: var(--ep24-ink) !important;
    font: 900 20px/1.3 Lato, Arial, sans-serif !important;
}

body.ep24-desktop-v1 .ep24-form-opinions__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

body.ep24-desktop-v1 .ep24-form-opinion-card {
    box-sizing: border-box;
    min-width: 0;
    padding: 16px 18px;
    border: 1px solid var(--ep24-line);
    border-radius: 8px;
    background: var(--ep24-white);
}

body.ep24-desktop-v1 .ep24-form-opinion-card > p {
    margin: 6px 0 0 !important;
    color: #3d4f5b !important;
    font-size: 13.5px !important;
    line-height: 1.55 !important;
}

body.ep24-desktop-v1 .ep24-form-opinion-card .ep24-form-opinion-note {
    color: var(--ep24-muted) !important;
    font-style: italic;
}

body.ep24-desktop-v1 .ep24-form-opinion-card .ep24-form-opinion-sign {
    color: var(--ep24-ink) !important;
    font-weight: 700;
}

body.ep24-desktop-v1 .ep24-form-opinion-card time {
    display: block;
    margin-top: 7px;
    color: #8a969e;
    font-size: 11px;
}

body.ep24-desktop-v1 .ep24-form-opinions__pagination {
    margin-top: 16px;
}

body.ep24-desktop-v1 .ep24-form-opinions__all {
    margin-top: 14px;
    text-align: center;
}

body.ep24-desktop-v1 .ep24-form-opinions__all a {
    color: var(--ep24-accent) !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
}

@media screen and (max-width: 1080px) {
    body.ep24-desktop-v1 .ep24-form-heading,
    body.ep24-desktop-v1 .ep24-form-layout {
        grid-template-columns: minmax(0, 1.75fr) minmax(280px, 1fr);
    }

    body.ep24-desktop-v1 .ep24-contact-grid {
        gap: 10px;
    }
}

/* ==========================================================
   v11 - strony uslugowe desktop: porady, pisma, cennik, jak dzialamy
   ========================================================== */
body.ep24-desktop-v1 .ep24-service-page {
    box-sizing: border-box;
    width: 100%;
    padding: 26px 30px 34px;
    border: 1px solid var(--ep24-line);
    border-radius: 8px;
    background: var(--ep24-white);
}
body.ep24-desktop-v1 .ep24-service-hero {
    margin: 0 0 24px;
    padding: 0 0 22px;
    border-bottom: 1px solid var(--ep24-line);
}
body.ep24-desktop-v1 .ep24-service-eyebrow {
    display: block;
    margin: 0 0 7px;
    color: var(--ep24-accent);
    font: 800 11px/1.2 Lato, Arial, sans-serif;
    letter-spacing: .08em;
    text-transform: uppercase;
}
body.ep24-desktop-v1 .ep24-service-hero h1 {
    margin: 0 0 10px !important;
    padding: 0 !important;
    color: var(--ep24-navy) !important;
    font: 800 30px/1.25 Lato, Arial, sans-serif !important;
    text-align: left !important;
}
body.ep24-desktop-v1 .ep24-service-hero p {
    max-width: 720px;
    margin: 0 !important;
    color: #465b69 !important;
    font-size: 15.5px !important;
    line-height: 1.65 !important;
}
body.ep24-desktop-v1 .ep24-service-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 28px;
}
body.ep24-desktop-v1 .ep24-service-highlights > div {
    box-sizing: border-box;
    min-width: 0;
    padding: 15px 16px;
    border: 1px solid #dbe4e9;
    border-radius: 7px;
    background: #f7f9fa;
}
body.ep24-desktop-v1 .ep24-service-highlights strong,
body.ep24-desktop-v1 .ep24-service-highlights span {
    display: block;
}
body.ep24-desktop-v1 .ep24-service-highlights strong {
    margin-bottom: 5px;
    color: var(--ep24-navy);
    font-size: 14px;
    line-height: 1.35;
}
body.ep24-desktop-v1 .ep24-service-highlights span {
    color: var(--ep24-muted);
    font-size: 12.5px;
    line-height: 1.5;
}
body.ep24-desktop-v1 .ep24-service-section {
    margin: 0 0 28px;
}
body.ep24-desktop-v1 .ep24-service-section--soft {
    padding: 21px 23px;
    border: 1px solid #dbe4e9;
    border-radius: 8px;
    background: var(--ep24-soft);
}
body.ep24-desktop-v1 .ep24-service-section h2,
body.ep24-desktop-v1 .ep24-service-faq h2 {
    margin: 0 0 12px !important;
    padding: 0 !important;
    color: var(--ep24-navy) !important;
    font: 800 21px/1.35 Lato, Arial, sans-serif !important;
    text-align: left !important;
}
body.ep24-desktop-v1 .ep24-service-section h3,
body.ep24-desktop-v1 .ep24-service-faq h3 {
    margin: 18px 0 6px !important;
    padding: 0 !important;
    color: var(--ep24-ink) !important;
    font: 800 15px/1.4 Lato, Arial, sans-serif !important;
    text-align: left !important;
}
body.ep24-desktop-v1 .ep24-service-section p,
body.ep24-desktop-v1 .ep24-service-faq p {
    margin: 0 0 12px !important;
    color: #3e515e !important;
    font-size: 14.5px !important;
    line-height: 1.68 !important;
}
body.ep24-desktop-v1 .ep24-service-section p:last-child,
body.ep24-desktop-v1 .ep24-service-faq p:last-child {
    margin-bottom: 0 !important;
}
body.ep24-desktop-v1 .ep24-service-checklist {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}
body.ep24-desktop-v1 .ep24-service-checklist li {
    position: relative;
    margin: 0 0 9px !important;
    padding: 0 0 0 25px !important;
    color: #3f535f !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
    list-style: none !important;
}
body.ep24-desktop-v1 .ep24-service-checklist li:last-child { margin-bottom: 0 !important; }
body.ep24-desktop-v1 .ep24-service-checklist li:before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--ep24-accent);
    font-weight: 900;
}
body.ep24-desktop-v1 .ep24-service-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
body.ep24-desktop-v1 .ep24-service-feature-grid > div {
    box-sizing: border-box;
    min-width: 0;
    padding: 17px 18px;
    border: 1px solid var(--ep24-line);
    border-radius: 7px;
    background: #fff;
}
body.ep24-desktop-v1 .ep24-service-feature-grid span {
    display: block;
    margin-bottom: 5px;
    color: #8b9aa4;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
}
body.ep24-desktop-v1 .ep24-service-feature-grid strong {
    display: block;
    margin-bottom: 5px;
    color: var(--ep24-navy);
    font-size: 14px;
}
body.ep24-desktop-v1 .ep24-service-feature-grid p {
    margin: 0 !important;
    color: var(--ep24-muted) !important;
    font-size: 12.8px !important;
    line-height: 1.55 !important;
}
body.ep24-desktop-v1 .ep24-service-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
body.ep24-desktop-v1 .ep24-service-steps--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
body.ep24-desktop-v1 .ep24-service-step {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    min-width: 0;
}
body.ep24-desktop-v1 .ep24-service-step > span,
body.ep24-desktop-v1 .ep24-how-item > span {
    display: inline-flex;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--ep24-accent);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}
body.ep24-desktop-v1 .ep24-service-step strong {
    display: block;
    margin-bottom: 2px;
    color: var(--ep24-navy);
    font-size: 13.5px;
}
body.ep24-desktop-v1 .ep24-service-step p {
    margin: 0 !important;
    color: var(--ep24-muted) !important;
    font-size: 12.5px !important;
    line-height: 1.5 !important;
}
body.ep24-desktop-v1 .ep24-service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 13px;
}
body.ep24-desktop-v1 .ep24-service-tags span {
    display: inline-block;
    padding: 7px 11px;
    border: 1px solid #d7e1e7;
    border-radius: 999px;
    background: #f7f9fa;
    color: #445b69;
    font-size: 12.5px;
    line-height: 1.2;
}
body.ep24-desktop-v1 .ep24-service-note {
    color: var(--ep24-muted) !important;
    font-size: 12.5px !important;
}
body.ep24-desktop-v1 .ep24-service-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin: 30px 0;
    padding: 20px 22px;
    border-radius: 8px;
    background: var(--ep24-navy);
    color: #fff;
}
body.ep24-desktop-v1 .ep24-service-cta strong {
    display: block;
    margin-bottom: 4px;
    color: #fff;
    font-size: 16px;
    line-height: 1.35;
}
body.ep24-desktop-v1 .ep24-service-cta p {
    margin: 0 !important;
    color: rgba(255,255,255,.78) !important;
    font-size: 12.8px !important;
    line-height: 1.5 !important;
}
body.ep24-desktop-v1 .ep24-service-cta a,
body.ep24-desktop-v1 .ep24-service-cta a:visited {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 15px;
    border-radius: 5px;
    background: #fff;
    color: var(--ep24-navy) !important;
    font-size: 12.5px;
    font-weight: 800;
    text-decoration: none !important;
    white-space: nowrap;
}
body.ep24-desktop-v1 .ep24-service-cta a:hover { background: #eef3f6; }
body.ep24-desktop-v1 .ep24-service-opinions {
    margin: 30px 0 0;
    padding-top: 4px;
}
body.ep24-desktop-v1 .ep24-service-opinions__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 12px;
    padding-bottom: 9px;
    border-bottom: 1px solid var(--ep24-line);
}
body.ep24-desktop-v1 .ep24-service-opinions__head h2 {
    margin: 0 !important;
    padding: 0 !important;
    color: var(--ep24-navy) !important;
    font: 800 19px/1.3 Lato, Arial, sans-serif !important;
}
body.ep24-desktop-v1 .ep24-service-opinions__head a {
    color: var(--ep24-accent) !important;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
}
body.ep24-desktop-v1 .ep24-service-opinions__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
body.ep24-desktop-v1 .ep24-service-opinion {
    box-sizing: border-box;
    min-width: 0;
    padding: 14px 15px;
    border: 1px solid var(--ep24-line);
    border-radius: 7px;
    background: #fff;
}
body.ep24-desktop-v1 .ep24-service-opinion__stars {
    color: #d8a126;
    font-size: 12px;
    letter-spacing: 1px;
}
body.ep24-desktop-v1 .ep24-service-opinion p {
    margin: 5px 0 0 !important;
    color: #40535f !important;
    font-size: 12.5px !important;
    line-height: 1.55 !important;
}
body.ep24-desktop-v1 .ep24-service-opinion__meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 7px;
    color: var(--ep24-muted);
    font-size: 10.5px;
}
body.ep24-desktop-v1 .ep24-service-opinion__meta strong { color: #4b5f6b; }
body.ep24-desktop-v1 .ep24-how-video {
    overflow: hidden;
    margin: 0 0 28px;
    border: 1px solid var(--ep24-line);
    border-radius: 8px;
    background: #eef3f6;
}
body.ep24-desktop-v1 .ep24-how-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
}
body.ep24-desktop-v1 .ep24-how-item {
    position: relative;
    display: flex;
    gap: 14px;
    padding: 0 0 22px;
}
body.ep24-desktop-v1 .ep24-how-item:last-child { padding-bottom: 0; }
body.ep24-desktop-v1 .ep24-how-item:not(:last-child):before {
    content: "";
    position: absolute;
    left: 13px;
    top: 32px;
    bottom: 4px;
    width: 1px;
    background: #d6e0e5;
}
body.ep24-desktop-v1 .ep24-how-item h2 {
    margin: 1px 0 5px !important;
    padding: 0 !important;
    color: var(--ep24-navy) !important;
    font: 800 16px/1.35 Lato, Arial, sans-serif !important;
}
body.ep24-desktop-v1 .ep24-how-item p {
    margin: 0 !important;
    color: #455965 !important;
    font-size: 13.5px !important;
    line-height: 1.6 !important;
}

/* ==========================================================
   v12 - top porady + strony statyczne + desktop footer
   ========================================================== */
body.ep24-desktop-v1 .ep24-service-hero--advice {
    padding-bottom: 24px;
}
body.ep24-desktop-v1 .ep24-service-hero-action {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 17px;
    flex-wrap: wrap;
}
body.ep24-desktop-v1 .ep24-service-hero-action a,
body.ep24-desktop-v1 .ep24-service-hero-action a:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 17px;
    border-radius: 5px;
    background: var(--ep24-accent);
    color: #fff !important;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none !important;
}
body.ep24-desktop-v1 .ep24-service-hero-action a:hover {
    background: var(--ep24-accent-hover);
}
body.ep24-desktop-v1 .ep24-service-hero-action span {
    color: var(--ep24-muted);
    font-size: 12px;
    line-height: 1.45;
}
body.ep24-desktop-v1 .ep24-service-feature-grid--law {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.ep24-desktop-v1 .ep24-static-page {
    box-sizing: border-box;
    width: 100%;
    padding: 26px 30px 34px;
    border: 1px solid var(--ep24-line);
    border-radius: 8px;
    background: var(--ep24-white);
}
body.ep24-desktop-v1 .ep24-static-page a,
body.ep24-desktop-v1 .ep24-static-page a:visited {
    color: var(--ep24-accent);
}
body.ep24-desktop-v1 .ep24-static-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 0 0 28px;
}
body.ep24-desktop-v1 .ep24-static-card {
    box-sizing: border-box;
    min-width: 0;
    padding: 20px 21px;
    border: 1px solid var(--ep24-line);
    border-radius: 8px;
    background: #fff;
}
body.ep24-desktop-v1 .ep24-static-card--accent {
    border-color: #cfdae1;
    background: var(--ep24-soft);
}
body.ep24-desktop-v1 .ep24-static-card--notice {
    max-width: 650px;
    background: #f7f9fa;
}
body.ep24-desktop-v1 .ep24-static-card h2 {
    margin: 0 0 8px !important;
    padding: 0 !important;
    color: var(--ep24-navy) !important;
    font: 800 18px/1.35 Lato, Arial, sans-serif !important;
    text-align: left !important;
}
body.ep24-desktop-v1 .ep24-static-card p {
    margin: 0 0 10px !important;
    color: #40535f !important;
    font-size: 13.5px !important;
    line-height: 1.6 !important;
}
body.ep24-desktop-v1 .ep24-static-card p:last-child { margin-bottom: 0 !important; }
body.ep24-desktop-v1 .ep24-static-muted {
    color: var(--ep24-muted) !important;
    font-size: 12.5px !important;
}
body.ep24-desktop-v1 .ep24-static-button,
body.ep24-desktop-v1 .ep24-static-button:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    margin-top: 4px;
    padding: 0 15px;
    border-radius: 5px;
    background: var(--ep24-accent);
    color: #fff !important;
    font-size: 12.5px;
    font-weight: 800;
    text-decoration: none !important;
}
body.ep24-desktop-v1 .ep24-static-button:hover { background: var(--ep24-accent-hover); }
body.ep24-desktop-v1 .ep24-static-data-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px 24px;
}
body.ep24-desktop-v1 .ep24-static-data-grid > div {
    min-width: 0;
}
body.ep24-desktop-v1 .ep24-static-data-grid span,
body.ep24-desktop-v1 .ep24-static-data-grid strong {
    display: block;
}
body.ep24-desktop-v1 .ep24-static-data-grid span {
    margin-bottom: 4px;
    color: var(--ep24-muted);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}
body.ep24-desktop-v1 .ep24-static-data-grid strong {
    color: var(--ep24-ink);
    font-size: 13px;
    line-height: 1.55;
}
body.ep24-desktop-v1 .ep24-help-index {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px 20px;
    margin: 0 0 28px;
    padding: 18px 20px;
    border: 1px solid var(--ep24-line);
    border-radius: 8px;
    background: var(--ep24-soft);
}
body.ep24-desktop-v1 .ep24-help-index a,
body.ep24-desktop-v1 .ep24-help-index a:visited {
    color: #3b5363 !important;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none !important;
}
body.ep24-desktop-v1 .ep24-help-index a:hover { color: var(--ep24-accent) !important; }
body.ep24-desktop-v1 .ep24-help-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}
body.ep24-desktop-v1 .ep24-help-list section {
    scroll-margin-top: 92px;
    padding: 18px 0;
    border-top: 1px solid var(--ep24-line);
}
body.ep24-desktop-v1 .ep24-help-list section:first-child { border-top: 0; padding-top: 0; }
body.ep24-desktop-v1 .ep24-help-list h2 {
    margin: 0 0 7px !important;
    padding: 0 !important;
    color: var(--ep24-navy) !important;
    font: 800 16px/1.4 Lato, Arial, sans-serif !important;
    text-align: left !important;
}
body.ep24-desktop-v1 .ep24-help-list p {
    margin: 0 !important;
    color: #40535f !important;
    font-size: 13.5px !important;
    line-height: 1.65 !important;
}

body.ep24-desktop-v1 .ep24-footer {
    width: 100%;
    margin-top: 42px;
    border-top: 1px solid #102c40;
    background: var(--ep24-navy);
    color: rgba(255,255,255,.86);
}
body.ep24-desktop-v1 .ep24-footer__inner {
    box-sizing: border-box;
    width: 1200px;
    max-width: calc(100% - 40px);
    margin: 0 auto;
    padding: 38px 0 34px;
    display: grid;
    grid-template-columns: 1.45fr repeat(4, minmax(0, .82fr));
    gap: 32px;
}
body.ep24-desktop-v1 .ep24-footer__brand {
    min-width: 0;
}
body.ep24-desktop-v1 .ep24-footer__logo,
body.ep24-desktop-v1 .ep24-footer__logo:visited {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 10px;
    color: #fff !important;
    font-size: 18px;
    font-weight: 900;
    text-decoration: none !important;
}
body.ep24-desktop-v1 .ep24-footer__logo img {
    display: block;
    filter: brightness(0) invert(1);
    opacity: .95;
}
body.ep24-desktop-v1 .ep24-footer__brand > p {
    margin: 0 0 10px !important;
    color: rgba(255,255,255,.72) !important;
    font-size: 12px !important;
    line-height: 1.6 !important;
}
body.ep24-desktop-v1 .ep24-footer__contact a,
body.ep24-desktop-v1 .ep24-footer__contact a:visited {
    color: #fff !important;
    text-decoration: none !important;
}
body.ep24-desktop-v1 .ep24-footer__notice {
    margin-top: 12px !important;
    padding: 9px 11px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 6px;
    background: rgba(255,255,255,.06);
}
body.ep24-desktop-v1 .ep24-footer__column {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}
body.ep24-desktop-v1 .ep24-footer__column h2 {
    margin: 0 0 4px !important;
    padding: 0 !important;
    color: #fff !important;
    font: 800 10.5px/1.3 Lato, Arial, sans-serif !important;
    letter-spacing: .08em;
    text-align: left !important;
    text-transform: uppercase;
}
body.ep24-desktop-v1 .ep24-footer__column a,
body.ep24-desktop-v1 .ep24-footer__column a:visited {
    color: rgba(255,255,255,.73) !important;
    font-size: 12.5px;
    line-height: 1.4;
    text-decoration: none !important;
}
body.ep24-desktop-v1 .ep24-footer__column a:hover { color: #fff !important; }
body.ep24-desktop-v1 .ep24-footer__bottom {
    border-top: 1px solid rgba(255,255,255,.12);
}
body.ep24-desktop-v1 .ep24-footer__bottom-inner {
    box-sizing: border-box;
    width: 1200px;
    max-width: calc(100% - 40px);
    margin: 0 auto;
    padding: 13px 0 15px;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    color: rgba(255,255,255,.52);
    font-size: 10.5px;
    line-height: 1.45;
}

@media screen and (max-width: 1120px) {
    body.ep24-desktop-v1 .ep24-footer__inner {
        gap: 22px;
    }
    body.ep24-desktop-v1 .ep24-footer__column a,
    body.ep24-desktop-v1 .ep24-footer__column a:visited {
        font-size: 11.5px;
    }
}
body.ep24-desktop-v1 .ep24-advert-pricing {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}
body.ep24-desktop-v1 .ep24-advert-pricing > div {
    box-sizing: border-box;
    min-width: 0;
    padding: 17px 18px;
    border: 1px solid var(--ep24-line);
    border-radius: 8px;
    background: #fff;
}
body.ep24-desktop-v1 .ep24-advert-pricing span,
body.ep24-desktop-v1 .ep24-advert-pricing strong {
    display: block;
}
body.ep24-desktop-v1 .ep24-advert-pricing span {
    margin-bottom: 5px;
    color: var(--ep24-muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}
body.ep24-desktop-v1 .ep24-advert-pricing strong {
    margin-bottom: 7px;
    color: var(--ep24-navy);
    font-size: 19px;
}
body.ep24-desktop-v1 .ep24-advert-pricing p {
    margin: 0 !important;
    color: var(--ep24-muted) !important;
    font-size: 12.5px !important;
    line-height: 1.55 !important;
}
body.ep24-desktop-v1 .ep24-advert-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
body.ep24-desktop-v1 .ep24-advert-metrics a {
    display: block;
    overflow: hidden;
    border: 1px solid var(--ep24-line);
    border-radius: 7px;
    background: #fff;
}
body.ep24-desktop-v1 .ep24-advert-metrics img {
    display: block;
    width: 100%;
    height: auto;
}


/* ==========================================================
   v13 - strony prawne / dokumentowe desktop
   Tylko prezentacja: tresc dokumentow pozostaje bez zmian.
   ========================================================== */
body.ep24-desktop-v1 .ep24-legal-page {
    box-sizing: border-box;
    max-width: 100%;
    padding: 30px 34px 38px;
    background: #fff;
    border: 1px solid #d9e2ea;
    border-radius: 10px;
    color: #28343f;
    font-size: 15px;
    line-height: 1.72;
}
body.ep24-desktop-v1 .ep24-legal-page > .h1,
body.ep24-desktop-v1 .ep24-legal-page h1.h1,
body.ep24-desktop-v1 .ep24-legal-page h1 {
    margin: 0 0 22px !important;
    color: #173b5f;
    font-family: Lato, Arial, sans-serif;
    font-size: 29px !important;
    font-weight: 800;
    line-height: 1.25;
    text-align: left !important;
}
body.ep24-desktop-v1 .ep24-legal-page h2 {
    margin: 30px 0 12px;
    color: #173b5f;
    font-size: 21px;
    line-height: 1.35;
}
body.ep24-desktop-v1 .ep24-legal-page h3 {
    margin: 24px 0 10px;
    color: #244f78;
    font-size: 17px;
    line-height: 1.4;
}
body.ep24-desktop-v1 .ep24-legal-page p {
    margin-top: 0;
    margin-bottom: 13px;
    line-height: 1.72;
}
body.ep24-desktop-v1 .ep24-legal-page ol,
body.ep24-desktop-v1 .ep24-legal-page ul {
    box-sizing: border-box;
    margin-top: 10px;
    margin-bottom: 18px;
    padding-left: 27px !important;
}
body.ep24-desktop-v1 .ep24-legal-page li {
    margin: 0 0 8px;
    padding-left: 3px;
    line-height: 1.68;
}
body.ep24-desktop-v1 .ep24-legal-page li > p {
    margin-bottom: 7px;
}
body.ep24-desktop-v1 .ep24-legal-page a {
    color: #2c5987;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}
body.ep24-desktop-v1 .ep24-legal-page table {
    width: 100% !important;
    max-width: 100%;
    border-collapse: collapse;
    margin: 18px 0 24px;
}
body.ep24-desktop-v1 .ep24-legal-page th,
body.ep24-desktop-v1 .ep24-legal-page td {
    padding: 10px 12px;
    border: 1px solid #d9e2ea;
    vertical-align: top;
}
body.ep24-desktop-v1 .ep24-legal-page img {
    max-width: 100%;
    height: auto;
}
body.ep24-desktop-v1 .ep24-legal-page hr {
    border: 0;
    border-top: 1px solid #d9e2ea;
    margin: 26px 0;
}
body.ep24-desktop-v1 .ep24-legal-page center {
    text-align: left;
}
body.ep24-desktop-v1 .ep24-legal-page--db > h1:first-child,
body.ep24-desktop-v1 .ep24-legal-page--db > .h1:first-child {
    margin-top: 0 !important;
}


/* ==========================================================
   v14 - HTML sitemap + autorzy desktop
   ========================================================== */
body.ep24-desktop-v1 .ep24-sitemap-page,
body.ep24-desktop-v1 .ep24-author-page {
    box-sizing: border-box;
    padding: 28px 30px 34px;
    background: #fff;
    border: 1px solid var(--ep24-line);
    border-radius: 10px;
}
body.ep24-desktop-v1 .ep24-sitemap-head {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-start;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--ep24-line);
}
body.ep24-desktop-v1 .ep24-sitemap-eyebrow,
body.ep24-desktop-v1 .ep24-author-eyebrow {
    margin: 0 0 5px !important;
    color: #6d7b87 !important;
    font-size: 11px !important;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}
body.ep24-desktop-v1 .ep24-sitemap-head h1,
body.ep24-desktop-v1 .ep24-author-hero h1 {
    margin: 0 0 8px !important;
    color: var(--ep24-navy) !important;
    font-size: 29px !important;
    line-height: 1.25 !important;
}
body.ep24-desktop-v1 .ep24-sitemap-head p:not(.ep24-sitemap-eyebrow) {
    max-width: 650px;
    margin: 0 !important;
    color: var(--ep24-muted) !important;
    font-size: 14.5px !important;
    line-height: 1.65 !important;
}
body.ep24-desktop-v1 .ep24-sitemap-count {
    flex: 0 0 auto;
    padding: 8px 11px;
    border-radius: 999px;
    background: #edf3f7;
    color: #36566f;
    font-size: 12px;
    font-weight: 800;
}
body.ep24-desktop-v1 .ep24-sitemap-switch {
    display: inline-flex;
    gap: 4px;
    margin: 18px 0 14px;
    padding: 4px;
    border: 1px solid var(--ep24-line);
    border-radius: 8px;
    background: #f6f8fa;
}
body.ep24-desktop-v1 .ep24-sitemap-switch a {
    padding: 7px 14px;
    border-radius: 6px;
    color: #425664;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}
body.ep24-desktop-v1 .ep24-sitemap-switch a.is-active {
    background: var(--ep24-navy);
    color: #fff;
}
body.ep24-desktop-v1 .ep24-sitemap-tools {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 12px;
    margin-bottom: 8px;
}
body.ep24-desktop-v1 .ep24-sitemap-tools label {
    display: flex;
    flex-direction: column;
    gap: 5px;
    color: #536571;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .045em;
}
body.ep24-desktop-v1 .ep24-sitemap-tools input,
body.ep24-desktop-v1 .ep24-sitemap-tools select {
    box-sizing: border-box;
    width: 100%;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #ccd8e1;
    border-radius: 7px;
    background: #fff;
    color: #263844;
    font: 14px Lato, Arial, sans-serif;
    outline: none;
}
body.ep24-desktop-v1 .ep24-sitemap-tools input:focus,
body.ep24-desktop-v1 .ep24-sitemap-tools select:focus {
    border-color: #6d8fac;
    box-shadow: 0 0 0 3px rgba(44,89,135,.08);
}
body.ep24-desktop-v1 .ep24-sitemap-result {
    margin: 0 0 7px !important;
    color: #7a8790 !important;
    font-size: 11.5px !important;
}
body.ep24-desktop-v1 .ep24-sitemap-list {
    border-top: 1px solid var(--ep24-line);
}
body.ep24-desktop-v1 .ep24-sitemap-item {
    padding: 13px 2px 14px;
    border-bottom: 1px solid var(--ep24-line);
}
body.ep24-desktop-v1 .ep24-sitemap-item[hidden] { display: none !important; }
body.ep24-desktop-v1 .ep24-sitemap-item__meta {
    display: flex;
    gap: 6px;
    align-items: center;
    margin-bottom: 4px;
    color: #7b8993;
    font-size: 10.5px;
}
body.ep24-desktop-v1 .ep24-sitemap-item__meta time { margin-left: auto; }
body.ep24-desktop-v1 .ep24-sitemap-item h2 {
    margin: 0 !important;
    font-size: 15px !important;
    line-height: 1.45 !important;
    font-weight: 700 !important;
}
body.ep24-desktop-v1 .ep24-sitemap-item h2 a {
    color: #254f75;
    text-decoration: none;
}
body.ep24-desktop-v1 .ep24-sitemap-item h2 a:hover { text-decoration: underline; }

body.ep24-desktop-v1 .ep24-author-hero {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--ep24-line);
}
body.ep24-desktop-v1 .ep24-author-hero > img {
    width: 96px;
    height: 96px;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid var(--ep24-line);
}
body.ep24-desktop-v1 .ep24-author-bio {
    color: #42535e;
    font-size: 14.5px;
    line-height: 1.68;
}
body.ep24-desktop-v1 .ep24-author-bio p { margin: 0 0 10px !important; }
body.ep24-desktop-v1 .ep24-author-materials { margin-top: 25px; }
body.ep24-desktop-v1 .ep24-author-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 9px;
    border-bottom: 1px solid var(--ep24-line);
}
body.ep24-desktop-v1 .ep24-author-section-head h2 {
    margin: 0 !important;
    color: var(--ep24-navy) !important;
    font-size: 19px !important;
}
body.ep24-desktop-v1 .ep24-author-section-head span {
    color: #75838d;
    font-size: 11.5px;
    font-weight: 700;
}
body.ep24-desktop-v1 .ep24-author-list article {
    padding: 11px 2px;
    border-bottom: 1px solid #e5ebef;
}
body.ep24-desktop-v1 .ep24-author-list article a {
    color: #2c5987;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 700;
    text-decoration: none;
}
body.ep24-desktop-v1 .ep24-author-list article a:hover { text-decoration: underline; }

/* ==========================================================
   v16 - final desktop cleanup: wyszukiwarka + strony specjalne
   Mobile pozostaje na legacy markup/CSS.
   ========================================================== */
body.ep24-desktop-v1 .ep24-search-page,
body.ep24-desktop-v1 .ep24-special-list,
body.ep24-desktop-v1 .ep24-special-service,
body.ep24-desktop-v1 .ep24-code-article {
    box-sizing: border-box;
    color: var(--ep24-ink);
}

/* Wyszukiwarka */
body.ep24-desktop-v1 .ep24-search-page .pas_sz,
body.ep24-desktop-v1 .ep24-special-list .pas_sz {
    width: 100% !important;
    margin: 0 0 12px !important;
    border: 0 !important;
    border-collapse: collapse;
    background: transparent !important;
}
body.ep24-desktop-v1 .ep24-search-page .pas_sz td,
body.ep24-desktop-v1 .ep24-special-list .pas_sz td {
    padding: 0 0 10px !important;
    border-bottom: 1px solid var(--ep24-line);
    vertical-align: bottom;
}
body.ep24-desktop-v1 .ep24-search-page .st_s,
body.ep24-desktop-v1 .ep24-special-list .st_s {
    margin: 0 !important;
    padding: 0 !important;
    color: var(--ep24-navy) !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
}
body.ep24-desktop-v1 .ep24-search-page .pas_sz td:last-child .st_s,
body.ep24-desktop-v1 .ep24-special-list .pas_sz td:last-child .st_s {
    color: var(--ep24-muted) !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
}
body.ep24-desktop-v1 .ep24-search-page .site-form.v2 {
    display: none !important;
}
body.ep24-desktop-v1 .ep24-search-page .content {
    box-sizing: border-box;
    margin: 0 !important;
    padding: 14px 2px 15px !important;
    border-bottom: 1px solid #e7ecef;
    background: transparent !important;
    color: #394b57;
    font-size: 14px;
    line-height: 1.62;
}
body.ep24-desktop-v1 .ep24-search-page .content .data {
    display: inline-block;
    margin-bottom: 4px;
    color: #7b8993;
    font-size: 10.5px;
    line-height: 1.3;
}
body.ep24-desktop-v1 .ep24-search-page .content .naglowek,
body.ep24-desktop-v1 .ep24-search-page .content .naglowek a {
    color: #254f75 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
    text-decoration: none !important;
}
body.ep24-desktop-v1 .ep24-search-page .content .naglowek a:hover {
    text-decoration: underline !important;
}
body.ep24-desktop-v1 .ep24-search-page .content > a {
    color: #445762 !important;
    text-decoration: none !important;
}
body.ep24-desktop-v1 .ep24-search-page .tags-margin-10 {
    margin: -2px 0 11px !important;
    padding: 0 2px 10px;
    border-bottom: 1px solid #eef1f3;
    color: #7b8790;
    font-size: 11px;
}

/* Wspolna, spokojna paginacja dla pozostalych legacy list */
body.ep24-desktop-v1 .new_pagenav {
    width: 100% !important;
    margin: 15px 0 18px !important;
    border-collapse: separate !important;
}
body.ep24-desktop-v1 .new_pagenav td {
    border: 0 !important;
    background: transparent !important;
}
body.ep24-desktop-v1 .new_pagenav a.a2,
body.ep24-desktop-v1 .new_pagenav b.a2,
body.ep24-desktop-v1 .new_pagenav .next_previous_unactive {
    box-sizing: border-box;
    display: inline-flex;
    min-width: 30px;
    min-height: 30px;
    align-items: center;
    justify-content: center;
    margin: 0 2px !important;
    padding: 5px 8px !important;
    border: 1px solid #d7e0e6;
    border-radius: 5px;
    background: #fff;
    color: #496271 !important;
    font-size: 11px !important;
    line-height: 1 !important;
    text-decoration: none !important;
}
body.ep24-desktop-v1 .new_pagenav b.a2.active {
    border-color: var(--ep24-accent);
    background: var(--ep24-accent);
    color: #fff !important;
}
body.ep24-desktop-v1 .new_pagenav .next_previous_unactive {
    opacity: .45;
}

/* Lista ofert / paragrafow */
body.ep24-desktop-v1 .ep24-special-list .content4 {
    box-sizing: border-box;
    margin: 0 !important;
    padding: 13px 2px 14px !important;
    border-bottom: 1px solid #e5ebef;
    background: transparent !important;
    color: #485a65;
    font-size: 13.5px;
    line-height: 1.58;
}
body.ep24-desktop-v1 .ep24-special-list .content4 .naglowek,
body.ep24-desktop-v1 .ep24-special-list .content4 .naglowek a {
    color: #254f75 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
    text-decoration: none !important;
}
body.ep24-desktop-v1 .ep24-special-list .content4 .naglowek a:hover {
    text-decoration: underline !important;
}
body.ep24-desktop-v1 .ep24-special-list .tlo_sz {
    background: transparent !important;
}

/* Pojedyncze specjalne strony uslugowe */
body.ep24-desktop-v1 .ep24-special-service > h1.pozwy_pisma,
body.ep24-desktop-v1 .ep24-code-article > h1.pozwy_pisma {
    margin: 0 0 12px !important;
    color: var(--ep24-navy) !important;
    font-size: 29px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    text-align: left !important;
}
body.ep24-desktop-v1 .ep24-special-service > div,
body.ep24-desktop-v1 .ep24-code-article > div {
    color: #354853;
    font-size: 15px;
    line-height: 1.72;
}
body.ep24-desktop-v1 .ep24-special-service p,
body.ep24-desktop-v1 .ep24-code-article p {
    line-height: 1.72;
}
body.ep24-desktop-v1 .ep24-special-service h2,
body.ep24-desktop-v1 .ep24-code-article h2 {
    margin: 26px 0 11px !important;
    color: var(--ep24-navy) !important;
    font-size: 20px !important;
    line-height: 1.35 !important;
}
body.ep24-desktop-v1 .ep24-special-service img,
body.ep24-desktop-v1 .ep24-code-article img {
    max-width: 100%;
    height: auto;
}
body.ep24-desktop-v1 .ep24-code-article > center {
    margin: 16px 0 22px;
}
body.ep24-desktop-v1 .ep24-code-article > center img {
    border-radius: 7px;
}
body.ep24-desktop-v1 .ep24-special-service .zamowienie_uslugi {
    box-sizing: border-box;
    max-width: 720px;
    margin: 26px 0 4px !important;
    padding: 22px 24px 24px !important;
    border: 1px solid #d8e2e8;
    border-radius: 8px;
    background: #f7f9fa;
}
body.ep24-desktop-v1 .ep24-special-service .zamowienie_uslugi h2.pozwy_pisma {
    margin-top: 0 !important;
}
body.ep24-desktop-v1 .ep24-special-service .form_pozwy_pisma {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}
body.ep24-desktop-v1 .ep24-special-service .form_pozwy_pisma .fix,
body.ep24-desktop-v1 .ep24-special-service .form_pozwy_pisma .validate,
body.ep24-desktop-v1 .ep24-special-service .form_pozwy_pisma [id$="_komunikat"] {
    grid-column: 1 / -1;
}
body.ep24-desktop-v1 .ep24-special-service .form_pozwy_pisma .namewrap,
body.ep24-desktop-v1 .ep24-special-service .form_pozwy_pisma .mailwrap,
body.ep24-desktop-v1 .ep24-special-service .form_pozwy_pisma .phonewrap {
    width: auto !important;
    margin: 0 !important;
}
body.ep24-desktop-v1 .ep24-special-service .form_pozwy_pisma input.contact-data,
body.ep24-desktop-v1 .ep24-special-service .form_pozwy_pisma input.contact-data-tel {
    box-sizing: border-box;
    width: 100% !important;
    max-width: none !important;
    height: 42px;
    margin: 0 !important;
    padding: 0 11px !important;
    border: 1px solid #ccd8e1 !important;
    border-radius: 6px !important;
    background: #fff !important;
    color: #263844 !important;
    font: 14px Lato, Arial, sans-serif !important;
}
body.ep24-desktop-v1 .ep24-special-service .zgody {
    margin-top: 10px;
    padding: 0 !important;
    background: transparent !important;
}
body.ep24-desktop-v1 .ep24-special-service .zgody .send-holder {
    padding: 0 !important;
}
body.ep24-desktop-v1 .ep24-special-service .zgody .info-regulamin {
    margin: 8px 0 !important;
}
body.ep24-desktop-v1 .ep24-special-service .zgody label.regulamin,
body.ep24-desktop-v1 .ep24-special-service label.wariant {
    box-sizing: border-box;
    margin: 0 !important;
    padding: 0 !important;
    color: #42535e !important;
    font-size: 12.5px !important;
    line-height: 1.55 !important;
}
body.ep24-desktop-v1 .ep24-special-service #mainorder {
    width: auto !important;
    max-width: none !important;
    min-width: 220px;
    margin: 12px 0 0 !important;
    padding: 12px 22px !important;
    border: 1px solid var(--ep24-accent) !important;
    border-radius: 5px !important;
    background: var(--ep24-accent) !important;
    color: #fff !important;
    font: 700 14px Lato, Arial, sans-serif !important;
    text-shadow: none !important;
}
body.ep24-desktop-v1 .ep24-special-service #mainorder:hover {
    background: var(--ep24-accent-hover) !important;
}

/* Domkniecie legacy floatow na specjalnych formularzach desktop. */
body.ep24-desktop-v1 .ep24-special-service .form_pozwy_pisma .namewrap,
body.ep24-desktop-v1 .ep24-special-service .form_pozwy_pisma .mailwrap,
body.ep24-desktop-v1 .ep24-special-service .form_pozwy_pisma .phonewrap {
    float: none !important;
    box-sizing: border-box;
}
body.ep24-desktop-v1 .ep24-special-service .form_pozwy_pisma .fix {
    display: none !important;
}

/* v17 - strona dziekujemy po wyslaniu pytania */
body.ep24-desktop-v1 .ep24-thanks-page {
    box-sizing: border-box;
    width: 100%;
    max-width: 980px;
    margin: 24px auto 44px;
    padding: 0 20px;
}
body.ep24-desktop-v1 .ep24-thanks-hero {
    box-sizing: border-box;
    padding: 34px 38px 32px;
    border: 1px solid #d8e3e9;
    border-radius: 10px;
    background: #fff;
    text-align: center;
}
body.ep24-desktop-v1 .ep24-thanks-hero--fallback {
    max-width: 780px;
    margin: 0 auto;
}
body.ep24-desktop-v1 .ep24-thanks-check {
    display: flex;
    width: 52px;
    height: 52px;
    margin: 0 auto 12px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #edf5f0;
    color: #2d6a4f;
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
}
body.ep24-desktop-v1 .ep24-thanks-eyebrow,
body.ep24-desktop-v1 .ep24-thanks-card-kicker {
    margin: 0 0 6px;
    color: #667a88;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .07em;
    line-height: 1.3;
    text-transform: uppercase;
}
body.ep24-desktop-v1 .ep24-thanks-hero h1 {
    margin: 0 0 10px !important;
    color: var(--ep24-navy) !important;
    font-size: 30px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
}
body.ep24-desktop-v1 .ep24-thanks-lead {
    max-width: 690px;
    margin: 0 auto;
    color: #536572;
    font-size: 15.5px;
    line-height: 1.65;
}
body.ep24-desktop-v1 .ep24-thanks-email-card,
body.ep24-desktop-v1 #dziekujemy_content.ep24-thanks-email-card,
body.ep24-desktop-v1 .ep24-thanks-phone-card,
body.ep24-desktop-v1 .ep24-thanks-support {
    box-sizing: border-box;
    max-width: none;
    margin: 18px 0 0;
    padding: 24px 28px;
    border: 1px solid #dbe4e9;
    border-radius: 9px;
    background: #fff;
}
body.ep24-desktop-v1 .ep24-thanks-email-card h2,
body.ep24-desktop-v1 .ep24-thanks-phone-card h2,
body.ep24-desktop-v1 .ep24-thanks-support h2 {
    margin: 0 0 8px !important;
    color: var(--ep24-navy) !important;
    font-size: 19px !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
}
body.ep24-desktop-v1 .ep24-thanks-email {
    display: inline-block;
    max-width: 100%;
    margin: 4px 0 7px;
    padding: 10px 14px;
    border: 1px solid #cfdce4;
    border-radius: 6px;
    background: #f7fafb;
    color: #1f4f73;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.3;
    overflow-wrap: anywhere;
}
body.ep24-desktop-v1 .ep24-thanks-small {
    margin: 5px 0 0;
    color: #687985;
    font-size: 12.5px;
    line-height: 1.55;
}
body.ep24-desktop-v1 .ep24-thanks-actions,
body.ep24-desktop-v1 .ep24-thanks-fallback-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}
body.ep24-desktop-v1 .ep24-thanks-hero .ep24-thanks-fallback-actions {
    justify-content: center;
}
body.ep24-desktop-v1 .ep24-thanks-button,
body.ep24-desktop-v1 a.ep24-thanks-button,
body.ep24-desktop-v1 input.ep24-thanks-button {
    box-sizing: border-box;
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    padding: 10px 16px !important;
    border-radius: 5px !important;
    font: 700 13px/1.2 Lato, Arial, sans-serif !important;
    text-decoration: none !important;
    cursor: pointer;
    appearance: none;
}
body.ep24-desktop-v1 .ep24-thanks-button--primary {
    border: 1px solid var(--ep24-accent) !important;
    background: var(--ep24-accent) !important;
    color: #fff !important;
}
body.ep24-desktop-v1 .ep24-thanks-button--primary:hover {
    background: var(--ep24-accent-hover) !important;
}
body.ep24-desktop-v1 .ep24-thanks-button--secondary {
    border: 1px solid #b9c8d2 !important;
    background: #fff !important;
    color: #315d7e !important;
}
body.ep24-desktop-v1 .ep24-thanks-button--secondary:hover {
    border-color: #8fa8b9 !important;
    background: #f7f9fa !important;
}
body.ep24-desktop-v1 .ep24-thanks-email-edit {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e4eaee;
}
body.ep24-desktop-v1 .ep24-thanks-email-edit > label {
    display: block;
    margin-bottom: 7px;
    color: #3c505e;
    font-size: 12.5px;
    font-weight: 700;
}
body.ep24-desktop-v1 .ep24-thanks-inline-form {
    display: flex;
    align-items: center;
    gap: 10px;
}
body.ep24-desktop-v1 .ep24-thanks-input {
    box-sizing: border-box;
    width: 100%;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #cbd8e1;
    border-radius: 6px;
    background: #fff;
    color: #253b49;
    font: 14px Lato, Arial, sans-serif;
}
body.ep24-desktop-v1 .ep24-thanks-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}
body.ep24-desktop-v1 .ep24-thanks-step {
    box-sizing: border-box;
    display: flex;
    gap: 11px;
    padding: 17px 16px;
    border: 1px solid #dce5ea;
    border-radius: 8px;
    background: #f8fafb;
}
body.ep24-desktop-v1 .ep24-thanks-step > span {
    display: inline-flex;
    width: 27px;
    height: 27px;
    flex: 0 0 27px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--ep24-accent);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}
body.ep24-desktop-v1 .ep24-thanks-step strong {
    display: block;
    margin: 2px 0 4px;
    color: #2b4353;
    font-size: 13.5px;
    line-height: 1.35;
}
body.ep24-desktop-v1 .ep24-thanks-step p {
    margin: 0 !important;
    color: #61727e;
    font-size: 12px !important;
    line-height: 1.5 !important;
}
body.ep24-desktop-v1 .ep24-thanks-alert {
    box-sizing: border-box;
    margin: 14px 0 0;
    padding: 12px 15px;
    border: 1px solid #d7e2e8;
    border-radius: 7px;
    background: #f5f8fa;
    color: #455c6b;
    font-size: 13px;
    line-height: 1.55;
}
body.ep24-desktop-v1 .ep24-thanks-alert--danger {
    border-color: #edcaca;
    background: #fff6f6;
    color: #8b3535;
}
body.ep24-desktop-v1 .ep24-thanks-phone-card {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 28px;
    align-items: start;
}
body.ep24-desktop-v1 .ep24-thanks-phone-copy p:last-child {
    margin: 0;
    color: #5d6f7a;
    font-size: 13px;
    line-height: 1.6;
}
body.ep24-desktop-v1 .ep24-thanks-consent {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    color: #667782;
    font-size: 10.5px;
    line-height: 1.45;
}
body.ep24-desktop-v1 .ep24-thanks-consent input {
    margin-top: 2px;
    flex: 0 0 auto;
}
body.ep24-desktop-v1 .ep24-thanks-support {
    background: #f2f6f8;
}
body.ep24-desktop-v1 .ep24-thanks-support p {
    margin: 0;
    color: #536672;
    font-size: 13px;
    line-height: 1.6;
}
body.ep24-desktop-v1 .ep24-thanks-support a,
body.ep24-desktop-v1 .ep24-thanks-small a {
    color: #2b5c82;
}

/* ============================================================
   V18 - PUBLIC RESPONSIVE ROLLOUT
   Jeden markup publicznego frontu dla desktop/mobile.
   Legacy mobile pozostaje tylko w strefie klienta i checkoutach.
   ============================================================ */
.ep24-mainnav__toggle,
.ep24-mainnav__mobile-brand {
    display: none;
}

@media screen and (max-width: 900px) {
    html {
        max-width: 100%;
        /* overflow:hidden potrafi zerwac position:sticky w Safari/iOS. */
        overflow-x: clip;
    }

    body.ep24-desktop-v1 {
        min-width: 0 !important;
        width: 100%;
        max-width: 100%;
        overflow-x: clip;
        background: #fff;
    }

    body.ep24-desktop-v1 .holder-site {
        width: 100%;
        min-width: 0;
        overflow: visible;
    }

    /* Mobile header: one sticky bar = burger + logo + CTA. */
    body.ep24-desktop-v1 .holder-top {
        display: none !important;
    }

    body.ep24-desktop-v1 .holder-middle {
        position: -webkit-sticky !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 2147482000;
        min-height: 58px;
        margin: 0 !important;
        background: #fff;
        box-shadow: 0 1px 0 rgba(21, 48, 67, .12), 0 5px 16px rgba(21, 48, 67, .07);
    }

    body.ep24-desktop-v1 .ep24-mainnav,
    body.ep24-desktop-v1 .ep24-mainnav__inner {
        width: 100%;
        max-width: none;
    }

    body.ep24-desktop-v1 .ep24-mainnav__inner {
        position: relative;
        min-height: 58px;
        padding: 0 10px;
        display: grid;
        grid-template-columns: 40px minmax(0, 1fr) auto;
        align-items: center;
        gap: 8px;
    }

    body.ep24-desktop-v1 .ep24-mainnav__toggle {
        box-sizing: border-box;
        display: inline-flex;
        width: 40px;
        height: 40px;
        padding: 9px 8px;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        border: 0;
        border-radius: 5px;
        background: transparent;
        cursor: pointer;
    }

    body.ep24-desktop-v1 .ep24-mainnav__toggle span {
        display: block;
        width: 22px;
        height: 2px;
        margin: 0 auto;
        border-radius: 2px;
        background: var(--ep24-navy);
        transition: transform .15s ease, opacity .15s ease;
    }

    body.ep24-desktop-v1 .ep24-mainnav.is-open .ep24-mainnav__toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    body.ep24-desktop-v1 .ep24-mainnav.is-open .ep24-mainnav__toggle span:nth-child(2) {
        opacity: 0;
    }
    body.ep24-desktop-v1 .ep24-mainnav.is-open .ep24-mainnav__toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    body.ep24-desktop-v1 .ep24-mainnav__mobile-brand {
        display: flex;
        min-width: 0;
        align-items: center;
        justify-content: flex-start;
        text-decoration: none;
    }

    body.ep24-desktop-v1 .ep24-mainnav__mobile-brand img {
        display: block;
        width: 132px;
        max-width: 100%;
        max-height: 36px;
        object-fit: contain;
        object-position: left center;
    }

    body.ep24-desktop-v1 .ep24-mainnav__cta,
    body.ep24-desktop-v1 .ep24-mainnav__cta:visited {
        min-height: 38px;
        padding: 0 11px;
        border-radius: 5px;
        font-size: 12px;
        line-height: 1.1;
    }

    body.ep24-desktop-v1 .ep24-mainnav__list {
        position: absolute;
        top: 58px;
        right: 0;
        left: 0;
        z-index: 1200;
        box-sizing: border-box;
        display: none;
        max-height: calc(100vh - 58px);
        margin: 0;
        padding: 7px 12px 14px;
        overflow-y: auto;
        flex-direction: column;
        align-items: stretch;
        background: #fff;
        border-top: 1px solid var(--ep24-line);
        box-shadow: 0 16px 30px rgba(22, 49, 67, .14);
    }

    body.ep24-desktop-v1 .ep24-mainnav.is-open .ep24-mainnav__list {
        display: flex;
    }

    body.ep24-desktop-v1.ep24-nav-open {
        overflow: hidden;
    }

    body.ep24-desktop-v1 .ep24-mainnav__item {
        width: 100%;
        border-bottom: 1px solid #edf1f3;
    }

    body.ep24-desktop-v1 .ep24-mainnav__link,
    body.ep24-desktop-v1 .ep24-mainnav__link:visited,
    body.ep24-desktop-v1 .ep24-mainnav__item:first-child .ep24-mainnav__link {
        box-sizing: border-box;
        width: 100%;
        height: auto;
        min-height: 44px;
        padding: 11px 6px;
        justify-content: space-between;
        border: 0;
        color: var(--ep24-navy);
        font-size: 14px;
        line-height: 1.3;
    }

    body.ep24-desktop-v1 .ep24-category-menu {
        position: static;
        display: none;
        width: 100%;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: none;
    }

    body.ep24-desktop-v1 .ep24-mainnav.is-categories-open .ep24-category-menu {
        display: block;
    }

    body.ep24-desktop-v1 .ep24-category-menu__layout {
        display: block;
        min-height: 0;
        max-height: none;
        background: #f7f9fa;
    }

    body.ep24-desktop-v1 .ep24-category-menu__categories {
        max-height: none;
        padding: 4px 0 8px;
        overflow: visible;
        border: 0;
        background: #f7f9fa;
    }

    body.ep24-desktop-v1 .ep24-category-menu__category-link,
    body.ep24-desktop-v1 .ep24-category-menu__category-link:visited {
        min-height: 38px;
        padding: 8px 12px;
        font-size: 13px;
    }

    body.ep24-desktop-v1 .ep24-category-menu__category-item .ep24-category-menu__panel,
    body.ep24-desktop-v1 .ep24-category-menu__default-panel,
    body.ep24-desktop-v1 .ep24-category-menu__arrow {
        display: none !important;
    }

    /* Main shell */
    body.ep24-desktop-v1 .container,
    body.ep24-desktop-v1 .container.ep24-two-column {
        box-sizing: border-box;
        width: 100%;
        max-width: none;
        margin: 0;
    }

    body.ep24-desktop-v1 .container.ep24-two-column {
        display: block;
        padding: 0 0 24px;
    }

    body.ep24-desktop-v1 .container.ep24-two-column > .holder-content,
    body.ep24-desktop-v1 .container.ep24-two-column > .container-gornefotki {
        box-sizing: border-box;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 16px 14px 26px;
        border: 0;
        border-radius: 0;
        background: #fff;
        box-shadow: none;
    }

    body.ep24-desktop-v1 .container.ep24-two-column > .container-gornefotki > .holder-content {
        width: 100% !important;
    }

    body.ep24-desktop-v1 .container.ep24-two-column > .holder-right,
    body.ep24-desktop-v1 .ep24-sidebar {
        display: none !important;
    }

    body.ep24-desktop-v1 .holder-content,
    body.ep24-desktop-v1 .ep24-main-content {
        min-width: 0 !important;
        max-width: 100% !important;
    }

    /* Breadcrumbs */
    body.ep24-desktop-v1 .holder-content .holder-navi {
        margin: -2px 0 13px !important;
        padding: 0 0 8px !important;
        overflow: hidden;
        border-bottom: 1px solid #edf1f3;
    }

    body.ep24-desktop-v1 .holder-content .holder-navi .breadcrumb,
    body.ep24-desktop-v1 .holder-content .holder-navi .breadcrumb li,
    body.ep24-desktop-v1 .holder-content .holder-navi .breadcrumb a,
    body.ep24-desktop-v1 .holder-content .holder-navi .breadcrumb span {
        font-size: 9px !important;
        line-height: 1.35 !important;
    }

    body.ep24-desktop-v1 .holder-content .holder-navi .breadcrumb {
        display: flex;
        flex-wrap: wrap;
        gap: 3px;
    }

    /* Reading pages */
    body.ep24-desktop-v1 .container.ep24-two-column .holder-content h1,
    body.ep24-desktop-v1 .container.ep24-two-column .holder-content h1.pytanie-title,
    body.ep24-desktop-v1 .ep24-reading__head .pytanie-title {
        margin-bottom: 9px;
        font-size: 26px !important;
        line-height: 1.2 !important;
        letter-spacing: -.015em;
    }

    body.ep24-desktop-v1 .container.ep24-two-column .holder-content h2,
    body.ep24-desktop-v1 .ep24-reading-content h2,
    body.ep24-desktop-v1 .ep24-article-body h2 {
        margin-top: 27px;
        font-size: 21px !important;
        line-height: 1.3 !important;
    }

    body.ep24-desktop-v1 .container.ep24-two-column .holder-content h3,
    body.ep24-desktop-v1 .ep24-reading-content h3,
    body.ep24-desktop-v1 .ep24-article-body h3 {
        font-size: 17px !important;
    }

    body.ep24-desktop-v1 .container.ep24-two-column .holder-content p,
    body.ep24-desktop-v1 .container.ep24-two-column .holder-content li,
    body.ep24-desktop-v1 .ep24-reading-content,
    body.ep24-desktop-v1 .ep24-article-body {
        font-size: 15.5px;
        line-height: 1.68;
    }

    body.ep24-desktop-v1 .container.ep24-two-column .holder-content .skrot,
    body.ep24-desktop-v1 .container.ep24-two-column .holder-content p.skrot {
        font-size: 16px;
        line-height: 1.6;
    }

    body.ep24-desktop-v1 .container.ep24-two-column .holder-content .tocinside ul:has(li:nth-child(7)),
    body.ep24-desktop-v1 .container.ep24-two-column .holder-content .tocinside ol:has(li:nth-child(7)) {
        columns: 1;
    }

    body.ep24-desktop-v1 .ep24-reading-content table,
    body.ep24-desktop-v1 .ep24-article-body table,
    body.ep24-desktop-v1 .ep24-static-page table,
    body.ep24-desktop-v1 .ep24-legal-page table {
        display: block;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    body.ep24-desktop-v1 .ep24-author-card {
        margin-top: 25px;
        padding: 14px;
    }

    body.ep24-desktop-v1 .ep24-content-cta {
        margin-top: 25px;
        padding: 18px 17px;
    }

    body.ep24-desktop-v1 .ep24-content-cta__button,
    body.ep24-desktop-v1 .ep24-content-cta__button:visited {
        box-sizing: border-box;
        width: 100%;
        text-align: center;
    }

    /* Category / subcategory hubs */
    body.ep24-desktop-v1 .ep24-hub-hero {
        padding-bottom: 17px;
    }

    body.ep24-desktop-v1 .container.ep24-two-column .holder-content .ep24-hub-title {
        font-size: 27px !important;
    }

    body.ep24-desktop-v1 .ep24-hub-description,
    body.ep24-desktop-v1 .ep24-hub-description p {
        font-size: 15px;
        line-height: 1.62;
    }

    body.ep24-desktop-v1 .ep24-hub-topics {
        margin-top: 18px;
        padding: 16px;
    }

    body.ep24-desktop-v1 .ep24-hub-topics__grid {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    body.ep24-desktop-v1 .ep24-hub-topic,
    body.ep24-desktop-v1 .ep24-hub-topic:visited {
        min-height: 42px;
        padding: 9px 11px;
        font-size: 13px;
    }

    body.ep24-desktop-v1 .ep24-hub-jumps {
        gap: 7px;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 3px;
        -webkit-overflow-scrolling: touch;
    }

    body.ep24-desktop-v1 .ep24-hub-jumps a,
    body.ep24-desktop-v1 .ep24-hub-jumps a:visited {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    body.ep24-desktop-v1 .ep24-hub-question {
        gap: 12px;
        padding: 14px 0;
    }

    body.ep24-desktop-v1 .ep24-hub-question__thumb {
        flex: 0 0 104px;
        width: 104px;
        height: 70px;
    }

    body.ep24-desktop-v1 .container.ep24-two-column .holder-content .ep24-hub .content4 h2.tytul-pytania {
        font-size: 17px !important;
        line-height: 1.35 !important;
    }

    body.ep24-desktop-v1 .ep24-hub .pag {
        gap: 5px;
        justify-content: center;
        flex-wrap: wrap;
    }

    /* Homepage */
    body.ep24-desktop-v1 .ep24-home-hero,
    body.ep24-desktop-v1 .ep24-home-hero--seo {
        padding: 18px 0 20px;
    }

    body.ep24-desktop-v1 .container.ep24-two-column .holder-content .ep24-home-hero h1 {
        font-size: 28px !important;
    }

    body.ep24-desktop-v1 .ep24-home-seo-copy p {
        font-size: 15px;
        line-height: 1.68;
    }

    body.ep24-desktop-v1 .ep24-home-section {
        margin-top: 27px;
    }

    body.ep24-desktop-v1 .ep24-home-section__head {
        align-items: flex-start;
        gap: 8px;
    }

    body.ep24-desktop-v1 .container.ep24-two-column .holder-content .ep24-home-section__head h2,
    body.ep24-desktop-v1 .container.ep24-two-column .holder-content .ep24-home-final-cta h2 {
        font-size: 21px !important;
    }

    body.ep24-desktop-v1 .ep24-home-material {
        gap: 12px;
        padding: 15px 0;
    }

    body.ep24-desktop-v1 .ep24-home-material__thumb {
        flex: 0 0 108px;
        width: 108px;
        height: 72px;
    }

    body.ep24-desktop-v1 .container.ep24-two-column .holder-content .ep24-home-material h3 {
        font-size: 17px !important;
        line-height: 1.35 !important;
    }

    body.ep24-desktop-v1 .ep24-home-material__body > p:last-child {
        font-size: 13.5px;
        line-height: 1.55;
    }

    body.ep24-desktop-v1 .ep24-home-final-cta {
        align-items: stretch;
        padding: 18px;
        flex-direction: column;
    }

    body.ep24-desktop-v1 .ep24-home-final-cta > a,
    body.ep24-desktop-v1 .ep24-home-final-cta > a:visited {
        width: 100%;
        box-sizing: border-box;
    }

    /* Main question form - same markup, mobile layout */
    body.ep24-desktop-v1 .container:not(.ep24-two-column) {
        width: 100%;
        max-width: none;
        padding: 0 0 26px;
    }

    body.ep24-desktop-v1 .ep24-form-page {
        width: 100%;
        max-width: none;
        padding: 14px 12px 4px;
    }

    body.ep24-desktop-v1 .ep24-form-heading,
    body.ep24-desktop-v1 .ep24-form-layout {
        display: block;
        margin-bottom: 16px;
    }

    body.ep24-desktop-v1 .ep24-form-heading {
        padding: 0;
        background: transparent;
        border: 0;
        border-radius: 0;
    }

    body.ep24-desktop-v1 .ep24-form-heading__copy {
        padding: 0 2px;
    }

    body.ep24-desktop-v1 .ep24-form-heading__copy h1 {
        font-size: 27px;
        line-height: 1.2;
    }

    body.ep24-desktop-v1 .ep24-form-heading__copy p {
        font-size: 14px;
        line-height: 1.55;
    }

    body.ep24-desktop-v1 .ep24-form-heading__brand {
        display: none;
    }

    /* Mobile: pola kontaktowe jak na desktopie - bez etykiet nad polami. */
    body.ep24-desktop-v1 .ep24-contact-field > label {
        display: none;
    }

    body.ep24-desktop-v1 .ep24-form-main {
        padding: 18px 14px;
        border-radius: 7px;
    }

    body.ep24-desktop-v1 .ep24-question-box {
        height: 238px;
    }

    body.ep24-desktop-v1 .ep24-question-box textarea#questionContent {
        height: 238px !important;
        min-height: 238px !important;
        padding-bottom: 73px !important;
        font-size: 16px !important;
    }

    body.ep24-desktop-v1 .ep24-question-hints {
        right: 8px;
        bottom: 9px;
        left: 8px;
        gap: 5px;
    }

    body.ep24-desktop-v1 .ep24-question-hints span {
        padding: 5px 9px;
        font-size: 10.5px;
    }

    /* Zalaczniki: dwa przyciski w jednym wierszu na mobile. */
    body.ep24-desktop-v1 .ep24-form-files {
        display: grid;
        grid-template-columns: auto auto;
        align-items: start;
        justify-content: start;
        gap: 5px 10px;
    }

    body.ep24-desktop-v1 .ep24-file-list {
        display: flex !important;
        width: auto !important;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px !important;
    }

    body.ep24-desktop-v1 .ep24-file-row {
        display: flex !important;
        width: auto !important;
        max-width: 150px;
        flex-direction: column;
        align-items: flex-start;
        gap: 3px !important;
    }

    body.ep24-desktop-v1 .ep24-file-button {
        min-height: 26px;
        padding: 4px 9px;
        border-radius: 5px;
        font-size: 11px;
    }

    body.ep24-desktop-v1 .ep24-file-name {
        width: 100%;
        max-width: 150px;
        font-size: 10px;
        line-height: 1.2;
    }

    body.ep24-desktop-v1 .ep24-add-file {
        grid-column: 2;
        grid-row: 1;
        align-self: center;
        white-space: nowrap;
        font-size: 11px;
        line-height: 1.2;
    }

    body.ep24-desktop-v1 .ep24-contact-grid {
        grid-template-columns: 1fr;
        gap: 11px;
    }

    body.ep24-desktop-v1 .ep24-contact-field input.contact-data,
    body.ep24-desktop-v1 .ep24-contact-field input.contact-data-tel {
        height: 46px !important;
        font-size: 16px !important;
    }

    body.ep24-desktop-v1 .ep24-form-submit input.mainbutton#mainorder {
        box-sizing: border-box !important;
        width: 100% !important;
        min-width: 0 !important;
        padding: 14px 16px !important;
        font-size: 16px !important;
    }

    body.ep24-desktop-v1 .ep24-form-aside {
        width: 100%;
        margin-top: 14px;
    }

    body.ep24-desktop-v1 .ep24-form-aside-card {
        padding: 18px 16px;
    }

    body.ep24-desktop-v1 .ep24-form-aside-card > h3,
    body.ep24-desktop-v1 .ep24-form-side-opinions,
    body.ep24-desktop-v1 .ep24-form-all-opinions,
    body.ep24-desktop-v1 .ep24-form-aside-rule {
        display: none;
    }

    body.ep24-desktop-v1 .ep24-form-steps {
        gap: 10px;
    }

    body.ep24-desktop-v1 .ep24-form-trust {
        margin-top: 14px;
        padding-top: 13px;
        border-top: 1px solid var(--ep24-line);
    }

    body.ep24-desktop-v1 .ep24-form-opinions {
        margin-top: 20px;
        padding: 0 12px 8px;
    }

    body.ep24-desktop-v1 .ep24-form-opinions__head {
        padding: 0 0 8px;
    }

    body.ep24-desktop-v1 .ep24-form-opinions__grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    body.ep24-desktop-v1 .ep24-form-opinion-card {
        padding: 14px 15px;
    }

    /* Service/static/legal pages */
    body.ep24-desktop-v1 .ep24-service-page,
    body.ep24-desktop-v1 .ep24-static-page,
    body.ep24-desktop-v1 .ep24-legal-page,
    body.ep24-desktop-v1 .ep24-special-service,
    body.ep24-desktop-v1 .ep24-code-article {
        box-sizing: border-box;
        width: 100%;
        padding: 20px 15px 26px;
        border-right: 0;
        border-left: 0;
        border-radius: 0;
    }

    body.ep24-desktop-v1 .ep24-service-hero h1,
    body.ep24-desktop-v1 .ep24-static-page h1,
    body.ep24-desktop-v1 .ep24-legal-page h1 {
        font-size: 27px !important;
        line-height: 1.2 !important;
    }

    body.ep24-desktop-v1 .ep24-service-highlights,
    body.ep24-desktop-v1 .ep24-service-feature-grid,
    body.ep24-desktop-v1 .ep24-service-steps,
    body.ep24-desktop-v1 .ep24-service-steps--3,
    body.ep24-desktop-v1 .ep24-static-contact-grid,
    body.ep24-desktop-v1 .ep24-static-data-grid,
    body.ep24-desktop-v1 .ep24-advert-pricing {
        grid-template-columns: 1fr;
    }

    body.ep24-desktop-v1 .ep24-service-cta {
        align-items: stretch;
        flex-direction: column;
    }

    body.ep24-desktop-v1 .ep24-service-cta a,
    body.ep24-desktop-v1 .ep24-service-cta a:visited,
    body.ep24-desktop-v1 .ep24-static-button,
    body.ep24-desktop-v1 .ep24-static-button:visited {
        box-sizing: border-box;
        width: 100%;
        text-align: center;
    }

    body.ep24-desktop-v1 .ep24-service-opinions__grid {
        grid-template-columns: 1fr;
    }

    /* Legacy special service form used by --... pages */
    body.ep24-desktop-v1 .holder-top-form {
        width: 100% !important;
        max-width: none !important;
        padding: 0 !important;
    }

    body.ep24-desktop-v1 .holder-top-form .pkq-shell {
        padding: 8px !important;
        border-radius: 8px !important;
    }

    body.ep24-desktop-v1 .holder-top-form .pkq-head,
    body.ep24-desktop-v1 .holder-top-form .pkq-body {
        padding-right: 14px !important;
        padding-left: 14px !important;
    }

    body.ep24-desktop-v1 .holder-top-form .pkq-brandline {
        display: none !important;
    }

    body.ep24-desktop-v1 .holder-top-form .pkq-title {
        font-size: 24px !important;
    }

    body.ep24-desktop-v1 .holder-top-form .pkq-grid {
        grid-template-columns: 1fr !important;
    }

    body.ep24-desktop-v1 .holder-top-form input.mainbutton#mainorder {
        width: 100% !important;
        min-width: 0 !important;
    }

    body.ep24-desktop-v1 .holder-top-form .top-form-steps {
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
        text-align: center;
    }

    /* Thank-you */
    body.ep24-desktop-v1 .ep24-thanks-page {
        padding-right: 13px;
        padding-left: 13px;
    }

    body.ep24-desktop-v1 .ep24-thanks-hero,
    body.ep24-desktop-v1 .ep24-thanks-email-card,
    body.ep24-desktop-v1 #dziekujemy_content.ep24-thanks-email-card,
    body.ep24-desktop-v1 .ep24-thanks-phone-card,
    body.ep24-desktop-v1 .ep24-thanks-support {
        padding: 19px 16px;
    }

    body.ep24-desktop-v1 .ep24-thanks-hero h1 {
        font-size: 26px !important;
    }

    body.ep24-desktop-v1 .ep24-thanks-steps,
    body.ep24-desktop-v1 .ep24-thanks-phone-card {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    body.ep24-desktop-v1 .ep24-thanks-inline-form {
        align-items: stretch;
        flex-direction: column;
    }

    body.ep24-desktop-v1 .ep24-thanks-button,
    body.ep24-desktop-v1 a.ep24-thanks-button,
    body.ep24-desktop-v1 input.ep24-thanks-button {
        width: 100%;
    }

    /* Footer: compact two-column mobile layout. */
    body.ep24-desktop-v1 .ep24-footer {
        margin-top: 22px;
    }

    body.ep24-desktop-v1 .ep24-footer__inner {
        width: 100%;
        max-width: none;
        padding: 27px 16px 24px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 25px 20px;
    }

    body.ep24-desktop-v1 .ep24-footer__brand {
        grid-column: 1 / -1;
    }

    body.ep24-desktop-v1 .ep24-footer__brand > p {
        max-width: 560px;
    }

    body.ep24-desktop-v1 .ep24-footer__column a,
    body.ep24-desktop-v1 .ep24-footer__column a:visited {
        font-size: 13px;
    }

    body.ep24-desktop-v1 .ep24-footer__bottom-inner {
        width: 100%;
        max-width: none;
        padding: 13px 16px 16px;
        flex-direction: column;
        gap: 5px;
    }
}

@media screen and (max-width: 560px) {
    body.ep24-desktop-v1 .ep24-mainnav__inner {
        grid-template-columns: 38px minmax(0, 1fr) auto;
        gap: 5px;
        padding-right: 7px;
        padding-left: 7px;
    }

    body.ep24-desktop-v1 .ep24-mainnav__mobile-brand img {
        width: 111px;
    }

    body.ep24-desktop-v1 .ep24-mainnav__cta,
    body.ep24-desktop-v1 .ep24-mainnav__cta:visited {
        min-height: 36px;
        padding: 0 9px;
        font-size: 11px;
    }

    body.ep24-desktop-v1 .container.ep24-two-column > .holder-content,
    body.ep24-desktop-v1 .container.ep24-two-column > .container-gornefotki {
        padding-right: 12px;
        padding-left: 12px;
    }

    body.ep24-desktop-v1 .container.ep24-two-column .holder-content h1,
    body.ep24-desktop-v1 .container.ep24-two-column .holder-content h1.pytanie-title,
    body.ep24-desktop-v1 .ep24-reading__head .pytanie-title,
    body.ep24-desktop-v1 .container.ep24-two-column .holder-content .ep24-hub-title,
    body.ep24-desktop-v1 .container.ep24-two-column .holder-content .ep24-home-hero h1,
    body.ep24-desktop-v1 .ep24-form-heading__copy h1,
    body.ep24-desktop-v1 .ep24-service-hero h1,
    body.ep24-desktop-v1 .ep24-static-page h1,
    body.ep24-desktop-v1 .ep24-legal-page h1 {
        font-size: 24px !important;
    }

    body.ep24-desktop-v1 .ep24-home-material__thumb {
        flex-basis: 92px;
        width: 92px;
        height: 64px;
    }

    body.ep24-desktop-v1 .ep24-home-material__body > p:last-child {
        display: none;
    }

    body.ep24-desktop-v1 .ep24-hub-question__thumb {
        flex-basis: 92px;
        width: 92px;
        height: 64px;
    }

    body.ep24-desktop-v1 .ep24-hub .content4 p {
        display: none;
    }

    body.ep24-desktop-v1 .ep24-author-card {
        display: block;
    }

    body.ep24-desktop-v1 .ep24-author-card__photo,
    body.ep24-desktop-v1 .ep24-author-card .ep24-author-card__photo {
        margin-bottom: 7px;
    }

    body.ep24-desktop-v1 .ep24-question-hints span {
        padding: 4px 7px;
        font-size: 9.5px;
    }

    body.ep24-desktop-v1 .ep24-form-main {
        padding-right: 12px;
        padding-left: 12px;
    }

    body.ep24-desktop-v1 .ep24-footer__inner {
        gap: 22px 14px;
    }

    body.ep24-desktop-v1 .ep24-footer__column h2 {
        font-size: 10px !important;
    }
}

/* ============================================================
   V21 - HOMEPAGE MOBILE POLISH
   Keep all SEO copy, but surface fresh content earlier on phones.
   ============================================================ */
body.ep24-desktop-v1 .ep24-home-hero--seo {
    margin-bottom: 0;
    padding-bottom: 4px;
    border-bottom: 0;
}

body.ep24-desktop-v1 .ep24-home-seo-more {
    margin: 0 0 30px;
    padding: 0 0 28px;
    border-bottom: 1px solid #e4e9ec;
}

@media screen and (max-width: 900px) {
    body.ep24-desktop-v1 .ep24-home {
        display: flex;
        flex-direction: column;
    }

    body.ep24-desktop-v1 .ep24-home-hero--seo {
        order: 1;
        margin-bottom: 0;
        padding-bottom: 17px;
        border-bottom: 1px solid #e4e9ec;
    }

    body.ep24-desktop-v1 .ep24-home-latest {
        order: 2;
    }

    body.ep24-desktop-v1 .ep24-home-latest--articles {
        order: 3;
    }

    body.ep24-desktop-v1 .ep24-home-seo-more {
        order: 4;
        margin: 1px 0 0;
        padding: 21px 0 2px;
        border-top: 1px solid #e4e9ec;
        border-bottom: 0;
    }

    body.ep24-desktop-v1 .ep24-home-final-cta {
        order: 5;
    }

    body.ep24-desktop-v1 .ep24-home-seo-more .ep24-home-seo-copy h2 {
        margin-top: 20px;
    }
}

/* ============================================================
   V22 - HOMEPAGE SCALE
   More fresh content without restoring the legacy portal clutter.
   ============================================================ */
body.ep24-desktop-v1 .ep24-home-section__more {
    display: flex;
    justify-content: flex-end;
    margin-top: 12px;
}

body.ep24-desktop-v1 .ep24-home-section__more a,
body.ep24-desktop-v1 .ep24-home-section__more a:visited {
    color: #355f78;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
}

body.ep24-desktop-v1 .ep24-home-section__more a:hover {
    color: var(--ep24-navy);
    text-decoration: underline;
    text-underline-offset: 3px;
}

body.ep24-desktop-v1 .ep24-home-materials--questions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
}

body.ep24-desktop-v1 .ep24-home-materials--questions .ep24-home-material {
    min-width: 0;
    padding: 14px 0 15px;
}

body.ep24-desktop-v1 .ep24-home-materials--questions .ep24-home-material:nth-child(-n+2) {
    padding-top: 3px;
}

body.ep24-desktop-v1 .ep24-home-materials--articles {
    display: block;
}

body.ep24-desktop-v1 .ep24-home-materials--articles .ep24-home-article-card,
body.ep24-desktop-v1 .ep24-home-materials--articles .ep24-home-article-card:nth-child(-n+2) {
    min-width: 0;
    padding: 15px 1px 16px;
}

body.ep24-desktop-v1 .ep24-home-materials--articles .ep24-home-article-card:first-child {
    padding-top: 3px;
}

body.ep24-desktop-v1 .ep24-home-materials--articles .ep24-home-article-card h3 {
    font-size: 16.5px;
    line-height: 1.35;
}

body.ep24-desktop-v1 .ep24-home-materials--articles .ep24-home-article-card .ep24-home-material__body > p:last-child {
    font-size: 12.5px !important;
    line-height: 1.52 !important;
}

body.ep24-desktop-v1 .ep24-home-experience {
    margin: 38px 0 0;
    padding: 23px 24px 22px;
    border: 1px solid #dbe4e8;
    border-radius: 7px;
    background: #f7f9fa;
}

body.ep24-desktop-v1 .container.ep24-two-column .holder-content .ep24-home-experience h2 {
    margin: 0 0 7px;
    color: #243f51;
    font-size: 21px;
    line-height: 1.28;
}

body.ep24-desktop-v1 .ep24-home-experience__intro > p:last-child {
    max-width: 720px;
    margin: 0 !important;
    color: #566872 !important;
    font-size: 13px !important;
    line-height: 1.55 !important;
}

body.ep24-desktop-v1 .ep24-home-experience__stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin-top: 19px;
    border-top: 1px solid #dce4e8;
    border-bottom: 1px solid #dce4e8;
}

body.ep24-desktop-v1 .ep24-home-experience__stats > div {
    min-width: 0;
    padding: 15px 15px 14px;
    border-right: 1px solid #dce4e8;
}

body.ep24-desktop-v1 .ep24-home-experience__stats > div:first-child {
    padding-left: 0;
}

body.ep24-desktop-v1 .ep24-home-experience__stats > div:last-child {
    padding-right: 0;
    border-right: 0;
}

body.ep24-desktop-v1 .ep24-home-experience__stats strong,
body.ep24-desktop-v1 .ep24-home-experience__stats span {
    display: block;
}

body.ep24-desktop-v1 .ep24-home-experience__stats strong {
    margin-bottom: 3px;
    color: var(--ep24-navy);
    font-size: 17px;
    line-height: 1.2;
}

body.ep24-desktop-v1 .ep24-home-experience__stats span {
    color: #687881;
    font-size: 10.5px;
    line-height: 1.4;
}

body.ep24-desktop-v1 .ep24-home--expanded .ep24-home-final-cta {
    margin-top: 18px;
}

@media screen and (max-width: 900px) {
    body.ep24-desktop-v1 .ep24-home-materials--questions {
        display: block;
    }

    body.ep24-desktop-v1 .ep24-home-materials--questions .ep24-home-material,
    body.ep24-desktop-v1 .ep24-home-materials--questions .ep24-home-material:nth-child(-n+2),
    body.ep24-desktop-v1 .ep24-home-materials--articles .ep24-home-article-card,
    body.ep24-desktop-v1 .ep24-home-materials--articles .ep24-home-article-card:nth-child(-n+2) {
        padding: 14px 0 15px;
    }

    body.ep24-desktop-v1 .ep24-home-materials--questions .ep24-home-material:first-child,
    body.ep24-desktop-v1 .ep24-home-materials--articles .ep24-home-article-card:first-child {
        padding-top: 3px;
    }

    body.ep24-desktop-v1 .ep24-home-section__head > p {
        display: none;
    }

    body.ep24-desktop-v1 .ep24-home-section__more {
        justify-content: flex-start;
        margin-top: 11px;
    }

    body.ep24-desktop-v1 .ep24-home-experience {
        order: 5;
        margin: 28px 0 0;
        padding: 19px 17px 18px;
    }

    body.ep24-desktop-v1 .ep24-home-experience__stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 16px;
    }

    body.ep24-desktop-v1 .ep24-home-experience__stats > div,
    body.ep24-desktop-v1 .ep24-home-experience__stats > div:first-child,
    body.ep24-desktop-v1 .ep24-home-experience__stats > div:last-child {
        padding: 12px 10px;
    }

    body.ep24-desktop-v1 .ep24-home-experience__stats > div:nth-child(2n) {
        border-right: 0;
    }

    body.ep24-desktop-v1 .ep24-home-experience__stats > div:nth-child(-n+2) {
        border-bottom: 1px solid #dce4e8;
    }

    body.ep24-desktop-v1 .ep24-home-final-cta {
        order: 6;
    }
}

@media screen and (max-width: 520px) {
    body.ep24-desktop-v1 .ep24-home-experience__stats strong {
        font-size: 15.5px;
    }

    body.ep24-desktop-v1 .ep24-home-experience__stats span {
        font-size: 10px;
    }
}


/* v25: article related materials + sources polish */
body.ep24-desktop-v1 .ep24-reading--article .ep24-related {
    margin-top: 16px;
    padding-top: 14px;
}

body.ep24-desktop-v1 .ep24-reading--article .ep24-related__title {
    margin: 0 0 9px !important;
    text-align: left !important;
    font-size: 18px;
    line-height: 1.3;
}

body.ep24-desktop-v1 .ep24-reading--article .ep24-related__item {
    padding-top: 8px;
    padding-bottom: 8px;
}

body.ep24-desktop-v1 .ep24-reading--article .ep24-sources-title {
    margin: 22px 0 8px !important;
    font-size: 17px !important;
    line-height: 1.35 !important;
    text-align: left !important;
}

body.ep24-desktop-v1 .ep24-reading--article .ep24-sources-list {
    margin: 0 0 18px !important;
    padding-left: 20px !important;
}

body.ep24-desktop-v1 .ep24-reading--article .ep24-sources-list li {
    margin: 0 0 4px !important;
    padding: 0 !important;
    color: #5f6b72;
    font-size: 13px !important;
    line-height: 1.45 !important;
}

body.ep24-desktop-v1 .ep24-reading--article .ep24-sources-list li:last-child {
    margin-bottom: 0 !important;
}

body.ep24-desktop-v1 .ep24-reading--article .ep24-sources-list li p,
body.ep24-desktop-v1 .ep24-reading--article .ep24-sources-list li a {
    font-size: inherit !important;
    line-height: inherit !important;
}


body.ep24-desktop-v1 .ep24-reading--article .ep24-related-spacer,
body.ep24-desktop-v1 .ep24-reading--article .ep24-legacy-share-placeholder,
body.ep24-desktop-v1 .ep24-reading--article .ep24-legacy-rating-placeholder {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}


/* v26: question related materials + sources polish */
body.ep24-desktop-v1 .ep24-reading--question + .ep24-related-table .ep24-related,
body.ep24-desktop-v1 .ep24-reading--question ~ .ep24-related-table .ep24-related {
    margin-top: 12px;
    padding-top: 12px;
}

body.ep24-desktop-v1 .ep24-reading--question ~ .ep24-related-table .ep24-related__title {
    margin: 0 0 9px !important;
    text-align: left !important;
    font-size: 18px;
    line-height: 1.3;
}

body.ep24-desktop-v1 .ep24-reading--question ~ .ep24-related-table .ep24-related__item {
    padding-top: 8px;
    padding-bottom: 8px;
}

body.ep24-desktop-v1 .ep24-reading--question .ep24-sources-title {
    margin: 22px 0 8px !important;
    font-size: 17px !important;
    line-height: 1.35 !important;
    text-align: left !important;
}

body.ep24-desktop-v1 .ep24-reading--question .ep24-sources-list {
    margin: 0 0 18px !important;
    padding-left: 20px !important;
}

body.ep24-desktop-v1 .ep24-reading--question .ep24-sources-list li {
    margin: 0 0 4px !important;
    padding: 0 !important;
    color: #5f6b72;
    font-size: 13px !important;
    line-height: 1.45 !important;
}

body.ep24-desktop-v1 .ep24-reading--question .ep24-sources-list li:last-child {
    margin-bottom: 0 !important;
}

body.ep24-desktop-v1 .ep24-reading--question .ep24-sources-list li p,
body.ep24-desktop-v1 .ep24-reading--question .ep24-sources-list li a {
    font-size: inherit !important;
    line-height: inherit !important;
}

body.ep24-desktop-v1 .ep24-related-table .pas_sz td,
body.ep24-desktop-v1 .ep24-related-table .pas_sz .st_s {
    text-align: left !important;
}


/* =========================================================
   V31 - MOBILE FORM TOP
   Kompaktowy pasek brand/trust + mniejszy H1 tylko na formularzu.
   ========================================================= */
body.ep24-desktop-v1 .ep24-form-mobile-top {
    display: none;
}

@media screen and (max-width: 900px) {
    body.ep24-desktop-v1 .ep24-form-mobile-top {
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        margin: -14px -12px 12px;
        padding: 10px 12px;
        background: #f5f7fa;
        border-bottom: 1px solid var(--ep24-border);
    }

    body.ep24-desktop-v1 .ep24-form-mobile-top__brand,
    body.ep24-desktop-v1 .ep24-form-mobile-top__brand:visited {
        flex: 0 0 auto;
        color: var(--ep24-accent);
        font-size: 15px;
        line-height: 1.2;
        font-weight: 800;
        text-decoration: none;
        white-space: nowrap;
    }

    body.ep24-desktop-v1 .ep24-form-mobile-top__meta {
        min-width: 0;
        color: var(--ep24-muted);
        font-size: 11.5px;
        line-height: 1.25;
        font-weight: 400;
        text-align: right;
        white-space: nowrap;
    }

    body.ep24-desktop-v1 .ep24-form-heading {
        margin-bottom: 12px;
    }

    body.ep24-desktop-v1 .ep24-form-heading__copy h1 {
        font-size: 21px !important;
        line-height: 1.18;
    }
}

@media screen and (max-width: 360px) {
    body.ep24-desktop-v1 .ep24-form-mobile-top {
        gap: 7px;
        padding-right: 10px;
        padding-left: 10px;
    }

    body.ep24-desktop-v1 .ep24-form-mobile-top__brand,
    body.ep24-desktop-v1 .ep24-form-mobile-top__brand:visited {
        font-size: 14px;
    }

    body.ep24-desktop-v1 .ep24-form-mobile-top__meta {
        font-size: 10.5px;
    }
}

/* ============================================================
   V33 - MOBILE READING WIDTH FIX
   Legacy reading pages are table-based. On narrow screens the old .p1
   margins and table min-content sizing could make the whole article wider
   than the viewport; body overflow clipping then cut normal paragraph text.
   ============================================================ */
@media screen and (max-width: 900px) {
    body.ep24-desktop-v1 table.ep24-reading,
    body.ep24-desktop-v1 .ep24-reading {
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        table-layout: fixed;
    }

    body.ep24-desktop-v1 .ep24-reading > tbody,
    body.ep24-desktop-v1 .ep24-reading > tbody > tr,
    body.ep24-desktop-v1 .ep24-reading > tbody > tr > td {
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    body.ep24-desktop-v1 .ep24-reading > tbody > tr > td > *,
    body.ep24-desktop-v1 .ep24-reading__head,
    body.ep24-desktop-v1 .ep24-reading__head .pytanie-title,
    body.ep24-desktop-v1 .ep24-reading .skrot,
    body.ep24-desktop-v1 .ep24-reading-content,
    body.ep24-desktop-v1 .ep24-article-body,
    body.ep24-desktop-v1 .ep24-reading .tocinside {
        box-sizing: border-box !important;
        width: auto !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    body.ep24-desktop-v1 .ep24-reading .skrot,
    body.ep24-desktop-v1 .ep24-reading .skrot *,
    body.ep24-desktop-v1 .ep24-reading-content,
    body.ep24-desktop-v1 .ep24-reading-content *,
    body.ep24-desktop-v1 .ep24-article-body,
    body.ep24-desktop-v1 .ep24-article-body *,
    body.ep24-desktop-v1 .ep24-reading .tocinside,
    body.ep24-desktop-v1 .ep24-reading .tocinside * {
        max-width: 100% !important;
        min-width: 0 !important;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    body.ep24-desktop-v1 .ep24-reading-content p,
    body.ep24-desktop-v1 .ep24-reading-content li,
    body.ep24-desktop-v1 .ep24-reading-content h2,
    body.ep24-desktop-v1 .ep24-reading-content h3,
    body.ep24-desktop-v1 .ep24-article-body p,
    body.ep24-desktop-v1 .ep24-article-body li,
    body.ep24-desktop-v1 .ep24-article-body h2,
    body.ep24-desktop-v1 .ep24-article-body h3,
    body.ep24-desktop-v1 .ep24-reading .skrot,
    body.ep24-desktop-v1 .ep24-reading .tocinside a {
        white-space: normal !important;
    }

    body.ep24-desktop-v1 .ep24-reading-content img,
    body.ep24-desktop-v1 .ep24-article-body img,
    body.ep24-desktop-v1 .ep24-reading-content video,
    body.ep24-desktop-v1 .ep24-article-body video,
    body.ep24-desktop-v1 .ep24-reading-content iframe,
    body.ep24-desktop-v1 .ep24-article-body iframe,
    body.ep24-desktop-v1 .ep24-reading-content svg,
    body.ep24-desktop-v1 .ep24-article-body svg {
        max-width: 100% !important;
    }

    body.ep24-desktop-v1 .ep24-reading .tocinside {
        width: 100% !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
    }
}

/* =========================================================
   V34 - DESKTOP TOP + READING POLISH
   ========================================================= */
@media screen and (min-width: 901px) {
    body.ep24-desktop-v1 .ep24-topbar__inner {
        min-height: 76px;
        gap: 20px;
    }

    body.ep24-desktop-v1 .ep24-brand img {
        width: 220px;
        max-height: 56px;
    }

    body.ep24-desktop-v1 .ep24-topbar__right {
        margin-left: auto;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        min-width: 0;
        text-align: right;
    }

    body.ep24-desktop-v1 .ep24-topbar__trust {
        margin-left: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 3px;
        white-space: nowrap;
    }

    body.ep24-desktop-v1 .ep24-topbar__trust-primary {
        color: #425866;
        font-size: 13px;
        font-weight: 600;
        line-height: 1.35;
    }

    body.ep24-desktop-v1 .ep24-topbar__trust-secondary {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 8px;
        color: #78868f;
        font-size: 12px;
        line-height: 1.35;
    }

    body.ep24-desktop-v1 .ep24-topbar__login,
    body.ep24-desktop-v1 .ep24-topbar__login:visited {
        color: var(--ep24-navy);
        font-weight: 700;
        text-decoration: none;
    }

    body.ep24-desktop-v1 .ep24-topbar__login:hover {
        text-decoration: underline;
    }

    /* Individual question/article: calmer H1 and related materials. */
    body.ep24-desktop-v1 .ep24-reading--question .ep24-reading__head .pytanie-title,
    body.ep24-desktop-v1 .ep24-reading--article .ep24-reading__head .pytanie-title {
        font-size: 28px !important;
        line-height: 1.2 !important;
        letter-spacing: -0.015em;
    }

    body.ep24-desktop-v1 .ep24-reading--article .ep24-related,
    body.ep24-desktop-v1 .ep24-reading--question ~ .ep24-related-table .ep24-related {
        width: 100%;
        margin: 10px 0 0 !important;
        padding: 10px 0 0 !important;
        text-align: left !important;
    }

    body.ep24-desktop-v1 .ep24-reading--article .ep24-related__title,
    body.ep24-desktop-v1 .ep24-reading--question ~ .ep24-related-table .ep24-related__title {
        margin: 0 0 6px !important;
        padding: 0 !important;
        font-size: 16px !important;
        line-height: 1.3 !important;
        text-align: left !important;
    }

    body.ep24-desktop-v1 .ep24-reading--article .ep24-related__item,
    body.ep24-desktop-v1 .ep24-reading--question ~ .ep24-related-table .ep24-related__item {
        margin: 0 !important;
        padding: 5px 0 !important;
        text-align: left !important;
    }

    body.ep24-desktop-v1 .ep24-reading--article .ep24-related__item a,
    body.ep24-desktop-v1 .ep24-reading--article .ep24-related__item a:visited,
    body.ep24-desktop-v1 .ep24-reading--question ~ .ep24-related-table .ep24-related__item a,
    body.ep24-desktop-v1 .ep24-reading--question ~ .ep24-related-table .ep24-related__item a:visited {
        font-size: 13.5px !important;
        font-weight: 600 !important;
        line-height: 1.4 !important;
    }
}

/* =========================================================
   V37 - MOBILE RELATED ARTICLES COMPACT
   ========================================================= */
@media screen and (max-width: 900px) {
    body.ep24-desktop-v1 .ep24-related,
    body.ep24-desktop-v1 .ep24-reading--question ~ .ep24-related-table .ep24-related {
        margin-top: 18px !important;
        padding-top: 14px !important;
    }

    body.ep24-desktop-v1 .ep24-related__title,
    body.ep24-desktop-v1 .ep24-reading--question ~ .ep24-related-table .ep24-related__title {
        margin: 0 0 8px !important;
        font-size: 17px !important;
        line-height: 1.25 !important;
    }

    body.ep24-desktop-v1 .ep24-related__item,
    body.ep24-desktop-v1 .ep24-reading--question ~ .ep24-related-table .ep24-related__item {
        padding: 6px 0 !important;
    }

    body.ep24-desktop-v1 .ep24-related__item a,
    body.ep24-desktop-v1 .ep24-related__item a:visited,
    body.ep24-desktop-v1 .ep24-reading--question ~ .ep24-related-table .ep24-related__item a,
    body.ep24-desktop-v1 .ep24-reading--question ~ .ep24-related-table .ep24-related__item a:visited {
        font-size: 13px !important;
        line-height: 1.35 !important;
        font-weight: 600 !important;
    }
}

/* ============================================================
   V38 - NASZ ZESPOL
   ============================================================ */
body.ep24-desktop-v1 .ep24-team-page {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    color: #334b5b;
}

body.ep24-desktop-v1 .ep24-team-hero {
    padding: 4px 0 8px;
}

body.ep24-desktop-v1 .ep24-team-eyebrow,
body.ep24-desktop-v1 .ep24-team-section__eyebrow {
    margin: 0 0 7px !important;
    color: #55758a;
    font-size: 12px !important;
    font-weight: 700;
    line-height: 1.3 !important;
    letter-spacing: .045em;
    text-transform: uppercase;
}

body.ep24-desktop-v1 .ep24-team-hero h1 {
    margin: 0 0 12px !important;
    padding: 0 !important;
    color: var(--ep24-navy);
    font-size: 31px !important;
    line-height: 1.14 !important;
    letter-spacing: -.02em;
}

body.ep24-desktop-v1 .ep24-team-lead {
    max-width: 760px;
    margin: 0 !important;
    color: #4d6574;
    font-size: 15px !important;
    line-height: 1.62 !important;
}

body.ep24-desktop-v1 .ep24-team-trust {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    margin-top: 22px;
}

body.ep24-desktop-v1 .ep24-team-trust__item {
    box-sizing: border-box;
    min-width: 0;
    padding: 13px 14px;
    border: 1px solid #dde6eb;
    border-radius: 7px;
    background: #f8fafb;
}

body.ep24-desktop-v1 .ep24-team-trust__item strong,
body.ep24-desktop-v1 .ep24-team-trust__item span {
    display: block;
}

body.ep24-desktop-v1 .ep24-team-trust__item strong {
    margin-bottom: 3px;
    color: var(--ep24-navy);
    font-size: 13px;
    line-height: 1.3;
}

body.ep24-desktop-v1 .ep24-team-trust__item span {
    color: #667b88;
    font-size: 11.5px;
    line-height: 1.4;
}

body.ep24-desktop-v1 .ep24-team-section {
    margin-top: 35px;
    padding-top: 27px;
    border-top: 1px solid #e1e7eb;
}

body.ep24-desktop-v1 .ep24-team-section h2 {
    margin: 0 0 9px !important;
    padding: 0 !important;
    color: var(--ep24-navy);
    font-size: 22px !important;
    line-height: 1.24 !important;
    letter-spacing: -.012em;
}

body.ep24-desktop-v1 .ep24-team-section__intro {
    max-width: 770px;
    margin: 0 !important;
    color: #5b707d;
    font-size: 13.5px !important;
    line-height: 1.58 !important;
}

body.ep24-desktop-v1 .ep24-team-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

body.ep24-desktop-v1 .ep24-team-card {
    box-sizing: border-box;
    min-width: 0;
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 15px;
    border: 1px solid #dde5ea;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(26, 53, 71, .035);
}

body.ep24-desktop-v1 .ep24-team-card--author {
    grid-template-columns: 76px minmax(0, 1fr);
    padding: 13px;
}

body.ep24-desktop-v1 .ep24-team-card__photo {
    box-sizing: border-box;
    width: 92px;
    height: 92px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #e0e7eb;
    border-radius: 7px;
    background: #f4f7f9;
}

body.ep24-desktop-v1 .ep24-team-card__photo--author {
    width: 76px;
    height: 76px;
}

body.ep24-desktop-v1 .ep24-team-card__photo img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    object-fit: contain;
    object-position: center bottom;
}

body.ep24-desktop-v1 .ep24-team-card__initials {
    color: #55758a;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -.04em;
}

body.ep24-desktop-v1 .ep24-team-card__body {
    min-width: 0;
}

body.ep24-desktop-v1 .ep24-team-card__status {
    display: inline-flex;
    margin: 0 0 6px;
    padding: 3px 7px;
    border-radius: 999px;
    background: #edf5f1;
    color: #3f755d;
    font-size: 10.5px;
    font-weight: 700;
    line-height: 1.25;
}

body.ep24-desktop-v1 .ep24-team-card__status--author {
    background: #eef3f7;
    color: #527187;
}

body.ep24-desktop-v1 .ep24-team-card h3 {
    margin: 0 0 6px !important;
    padding: 0 !important;
    color: #254e69;
    font-size: 16px !important;
    line-height: 1.28 !important;
}

body.ep24-desktop-v1 .ep24-team-card p {
    margin: 0 0 8px !important;
    padding: 0 !important;
    color: #586e7b;
    font-size: 12.5px !important;
    line-height: 1.5 !important;
}

body.ep24-desktop-v1 .ep24-team-card__count {
    color: #73838d !important;
    font-size: 11.5px !important;
}

body.ep24-desktop-v1 .ep24-team-card__count strong {
    color: #405867;
}

body.ep24-desktop-v1 .ep24-team-card__link,
body.ep24-desktop-v1 .ep24-team-card__link:visited {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 1px;
    color: #315f85 !important;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none !important;
}

body.ep24-desktop-v1 .ep24-team-card__link:hover {
    color: #244f78 !important;
    text-decoration: underline !important;
}

body.ep24-desktop-v1 .ep24-team-section--authors {
    margin-bottom: 8px;
}

body.ep24-desktop-v1 .ep24-team-mobile-cta {
    display: none;
}

/* Dodatkowy element menu wymaga delikatnego scisniecia na waskim desktopie/tablecie. */
@media screen and (min-width: 901px) and (max-width: 1100px) {
    body.ep24-desktop-v1 .ep24-mainnav__inner { gap: 4px; }
    body.ep24-desktop-v1 .ep24-mainnav__link,
    body.ep24-desktop-v1 .ep24-mainnav__link:visited {
        padding-left: 5px;
        padding-right: 5px;
        font-size: 11px;
    }
    body.ep24-desktop-v1 .ep24-mainnav__item:first-child .ep24-mainnav__link {
        padding-right: 7px;
    }
    body.ep24-desktop-v1 .ep24-mainnav__cta,
    body.ep24-desktop-v1 .ep24-mainnav__cta:visited {
        padding-left: 10px;
        padding-right: 10px;
        font-size: 12px;
    }
}

@media screen and (max-width: 900px) {
    body.ep24-desktop-v1 .ep24-team-hero {
        padding-top: 0;
    }

    body.ep24-desktop-v1 .ep24-team-hero h1 {
        margin-bottom: 10px !important;
        font-size: 25px !important;
        line-height: 1.18 !important;
    }

    body.ep24-desktop-v1 .ep24-team-lead {
        font-size: 14px !important;
        line-height: 1.58 !important;
    }

    body.ep24-desktop-v1 .ep24-team-trust {
        grid-template-columns: 1fr;
        gap: 7px;
        margin-top: 17px;
    }

    body.ep24-desktop-v1 .ep24-team-trust__item {
        padding: 11px 12px;
    }

    body.ep24-desktop-v1 .ep24-team-section {
        margin-top: 27px;
        padding-top: 22px;
    }

    body.ep24-desktop-v1 .ep24-team-section h2 {
        font-size: 19px !important;
        line-height: 1.28 !important;
    }

    body.ep24-desktop-v1 .ep24-team-section__intro {
        font-size: 13px !important;
        line-height: 1.55 !important;
    }

    body.ep24-desktop-v1 .ep24-team-grid {
        grid-template-columns: 1fr;
        gap: 9px;
        margin-top: 14px;
    }

    body.ep24-desktop-v1 .ep24-team-card,
    body.ep24-desktop-v1 .ep24-team-card--author {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 11px;
        padding: 12px;
        border-radius: 7px;
    }

    body.ep24-desktop-v1 .ep24-team-card__photo,
    body.ep24-desktop-v1 .ep24-team-card__photo--author {
        width: 72px;
        height: 72px;
    }

    body.ep24-desktop-v1 .ep24-team-card h3 {
        font-size: 15px !important;
    }

    body.ep24-desktop-v1 .ep24-team-card p {
        font-size: 12px !important;
        line-height: 1.48 !important;
    }

    body.ep24-desktop-v1 .ep24-team-mobile-cta {
        box-sizing: border-box;
        display: block;
        margin: 25px 0 2px;
        padding: 16px;
        border: 1px solid #d6e1e8;
        border-radius: 8px;
        background: #f4f8fa;
    }

    body.ep24-desktop-v1 .ep24-team-mobile-cta h2 {
        margin: 0 0 6px !important;
        padding: 0 !important;
        color: var(--ep24-navy);
        font-size: 18px !important;
        line-height: 1.3 !important;
    }

    body.ep24-desktop-v1 .ep24-team-mobile-cta p {
        margin: 0 0 12px !important;
        color: #5b707d;
        font-size: 13px !important;
        line-height: 1.5 !important;
    }

    body.ep24-desktop-v1 .ep24-team-mobile-cta a,
    body.ep24-desktop-v1 .ep24-team-mobile-cta a:visited {
        display: inline-flex;
        min-height: 40px;
        align-items: center;
        justify-content: center;
        padding: 0 13px;
        border-radius: 5px;
        background: var(--ep24-accent);
        color: #fff !important;
        font-size: 13px;
        font-weight: 700;
        text-decoration: none !important;
    }
}

/* ============================================================
   V41 - HTML SITEMAP FIX
   ============================================================ */
body.ep24-desktop-v1 .ep24-sitemap-page--fixed {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}
body.ep24-desktop-v1 .ep24-sitemap-page--fixed .ep24-sitemap-tools {
    margin-top: 2px;
    margin-bottom: 10px;
}
body.ep24-desktop-v1 .ep24-sitemap-page--fixed .ep24-sitemap-result strong {
    color: #405866;
}
body.ep24-desktop-v1 .ep24-sitemap-list--compact {
    columns: 2;
    column-gap: 28px;
    border-top: 1px solid var(--ep24-line);
}
body.ep24-desktop-v1 .ep24-sitemap-list--compact .ep24-sitemap-item {
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    padding: 10px 2px 11px;
    vertical-align: top;
}
body.ep24-desktop-v1 .ep24-sitemap-list--compact .ep24-sitemap-item__meta {
    display: block;
    margin: 0 0 3px;
    color: #7b8993;
    font-size: 9.5px;
    line-height: 1.35;
}
body.ep24-desktop-v1 .ep24-sitemap-list--compact .ep24-sitemap-item__meta span + span {
    margin-left: 4px;
}
body.ep24-desktop-v1 .ep24-sitemap-list--compact .ep24-sitemap-item h2 {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 13.5px !important;
    font-weight: 650 !important;
    line-height: 1.38 !important;
}
body.ep24-desktop-v1 .ep24-sitemap-list--compact .ep24-sitemap-item h2 a,
body.ep24-desktop-v1 .ep24-sitemap-list--compact .ep24-sitemap-item h2 a:visited {
    color: #285374;
    text-decoration: none;
}
body.ep24-desktop-v1 .ep24-sitemap-list--compact .ep24-sitemap-item h2 a:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}
body.ep24-desktop-v1 .ep24-sitemap-empty {
    column-span: all;
    padding: 16px 0;
    color: #6e7d87;
    font-size: 13px;
}
@media screen and (max-width: 900px) {
    body.ep24-desktop-v1 .ep24-sitemap-page,
    body.ep24-desktop-v1 .ep24-sitemap-page--fixed {
        box-sizing: border-box;
        padding: 18px 14px 24px;
        border-radius: 8px;
    }
    body.ep24-desktop-v1 .ep24-sitemap-head {
        display: block;
        padding-bottom: 15px;
    }
    body.ep24-desktop-v1 .ep24-sitemap-head h1 {
        margin-bottom: 7px !important;
        font-size: 23px !important;
        line-height: 1.2 !important;
    }
    body.ep24-desktop-v1 .ep24-sitemap-head p:not(.ep24-sitemap-eyebrow) {
        font-size: 13px !important;
        line-height: 1.52 !important;
    }
    body.ep24-desktop-v1 .ep24-sitemap-count {
        display: inline-block;
        margin-top: 11px;
        padding: 6px 9px;
        font-size: 11px;
    }
    body.ep24-desktop-v1 .ep24-sitemap-switch {
        display: flex;
        width: 100%;
        box-sizing: border-box;
        margin: 13px 0 12px;
    }
    body.ep24-desktop-v1 .ep24-sitemap-switch a {
        flex: 1 1 0;
        padding: 7px 8px;
        text-align: center;
        font-size: 11.5px;
    }
    body.ep24-desktop-v1 .ep24-sitemap-tools {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    body.ep24-desktop-v1 .ep24-sitemap-tools input,
    body.ep24-desktop-v1 .ep24-sitemap-tools select {
        height: 40px;
        font-size: 13px;
    }
    body.ep24-desktop-v1 .ep24-sitemap-list--compact {
        columns: 1;
    }
    body.ep24-desktop-v1 .ep24-sitemap-list--compact .ep24-sitemap-item {
        display: block;
        padding: 9px 0 10px;
    }
    body.ep24-desktop-v1 .ep24-sitemap-list--compact .ep24-sitemap-item h2 {
        font-size: 13px !important;
        line-height: 1.36 !important;
    }
}

/* ============================================================
   V42 - STABILNA HTML SITEMAP
   ============================================================ */
body.ep24-desktop-v1 .ep24-sitemap-page--stable {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    padding: 26px 28px 32px;
    background: #fff;
    border: 1px solid #d9e2e8;
    border-radius: 9px;
    color: #243642;
}
body.ep24-desktop-v1 .ep24-sitemap-page--stable .ep24-sitemap-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid #dfe6eb;
}
body.ep24-desktop-v1 .ep24-sitemap-page--stable .ep24-sitemap-eyebrow {
    margin: 0 0 5px !important;
    color: #74838d !important;
    font-size: 11px !important;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
body.ep24-desktop-v1 .ep24-sitemap-page--stable h1 {
    margin: 0 0 7px !important;
    padding: 0 !important;
    color: #244f78 !important;
    font-size: 27px !important;
    line-height: 1.22 !important;
}
body.ep24-desktop-v1 .ep24-sitemap-page--stable .ep24-sitemap-head p:not(.ep24-sitemap-eyebrow) {
    margin: 0 !important;
    color: #647681 !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
}
body.ep24-desktop-v1 .ep24-sitemap-page--stable .ep24-sitemap-count {
    flex: 0 0 auto;
    padding: 7px 10px;
    border-radius: 999px;
    background: #eef3f7;
    color: #45657a;
    font-size: 12px;
    font-weight: 800;
}
body.ep24-desktop-v1 .ep24-sitemap-page--stable .ep24-sitemap-switch {
    display: inline-flex;
    gap: 4px;
    margin: 16px 0 15px;
    padding: 4px;
    border: 1px solid #d9e2e8;
    border-radius: 7px;
    background: #f6f8fa;
}
body.ep24-desktop-v1 .ep24-sitemap-page--stable .ep24-sitemap-switch a,
body.ep24-desktop-v1 .ep24-sitemap-page--stable .ep24-sitemap-switch a:visited {
    padding: 7px 12px;
    border-radius: 5px;
    color: #455e6f;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none !important;
}
body.ep24-desktop-v1 .ep24-sitemap-page--stable .ep24-sitemap-switch a.is-active {
    background: #244f78;
    color: #fff !important;
}
body.ep24-desktop-v1 .ep24-sitemap-list--stable {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 26px;
    border-top: 1px solid #e1e7eb;
}
body.ep24-desktop-v1 .ep24-sitemap-list--stable .ep24-sitemap-row {
    min-width: 0;
    padding: 10px 0 11px;
    border-bottom: 1px solid #e5eaee;
}
body.ep24-desktop-v1 .ep24-sitemap-list--stable .ep24-sitemap-row__meta {
    margin-bottom: 3px;
    overflow: hidden;
    color: #7a8993;
    font-size: 9.5px;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}
body.ep24-desktop-v1 .ep24-sitemap-list--stable .ep24-sitemap-row__link,
body.ep24-desktop-v1 .ep24-sitemap-list--stable .ep24-sitemap-row__link:visited {
    display: block;
    overflow-wrap: anywhere;
    color: #285374 !important;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.38;
    text-decoration: none !important;
}
body.ep24-desktop-v1 .ep24-sitemap-list--stable .ep24-sitemap-row__link:hover {
    text-decoration: underline !important;
    text-underline-offset: 2px;
}
body.ep24-desktop-v1 .ep24-sitemap-page--stable .ep24-sitemap-empty {
    grid-column: 1 / -1;
    margin: 0 !important;
    padding: 16px 0;
    color: #697985;
    font-size: 13px;
}
@media screen and (max-width: 900px) {
    body.ep24-desktop-v1 .ep24-sitemap-page--stable {
        padding: 17px 14px 22px;
        border-radius: 7px;
    }
    body.ep24-desktop-v1 .ep24-sitemap-page--stable .ep24-sitemap-head {
        display: block;
        padding-bottom: 14px;
    }
    body.ep24-desktop-v1 .ep24-sitemap-page--stable h1 {
        font-size: 22px !important;
    }
    body.ep24-desktop-v1 .ep24-sitemap-page--stable .ep24-sitemap-count {
        display: inline-block;
        margin-top: 9px;
    }
    body.ep24-desktop-v1 .ep24-sitemap-page--stable .ep24-sitemap-switch {
        display: flex;
        width: 100%;
        box-sizing: border-box;
        margin: 12px 0;
    }
    body.ep24-desktop-v1 .ep24-sitemap-page--stable .ep24-sitemap-switch a {
        flex: 1 1 0;
        padding: 7px 6px;
        text-align: center;
        font-size: 11.5px;
    }
    body.ep24-desktop-v1 .ep24-sitemap-list--stable {
        grid-template-columns: 1fr;
    }
    body.ep24-desktop-v1 .ep24-sitemap-list--stable .ep24-sitemap-row {
        padding: 9px 0 10px;
    }
    body.ep24-desktop-v1 .ep24-sitemap-list--stable .ep24-sitemap-row__link {
        font-size: 13px;
    }
}
