/* /zarzadzaj-wizytowka/ (T/page-zarzadzaj-wizytowka.php, docs/static-pages.md): the rules of the old stylesheets that reach
   its two sections (found in the browser), the rules of the sent state (.is-sent), in the old order, without the Contact
   Form 7 stylesheet the portal loads on every page, and the background of body. Rules for the whole old page are limited
   to the main element with :where(.claim-page), which adds no weight. Old names: body.hn-claim → body.page-claim,
   .contact-card → .claim-card (.contact-card-head, .contact-success, .ok → .claim-card__*), the short classes of the
   benefits, steps and head (.ico, .t, .d, .sub, .inner, .lead) → .claim-benefit__*, .claim-step__*, .claim-hero__*.
   The form keeps its Contact Form 7 classes. Generated by a port script; keep the order of the rules when editing. */

/* ---------- css/pages.css: body ---------- */

body.page-plain {
    background: var(--bg);
}

/* ---------- style.min.css ---------- */

:where(.claim-page) ul {
    box-sizing:border-box;
}

/* ---------- lead-shortcode.css ---------- */

:where(.claim-page) .claim-hero__lead {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: auto 40px 1fr 40px 1fr;
    grid-template-columns: auto 1fr 1fr;
    -ms-grid-rows: auto 0px auto 0px auto;
    grid-template-rows: auto auto auto;
    gap: 0px 0px;
    grid-auto-flow: row;
    grid-template-areas: "lead-image lead-content lead-content" "lead-image lead-form lead-form" ". . .";
    margin: 30px 0 !important;
    padding: 40px 20px;
    border-top: 1px solid #dbdbdb;
    border-bottom: 1px solid #dbdbdb;
    -webkit-column-gap: 40px;
    -moz-column-gap: 40px;
    column-gap: 40px;
}

@media (max-width: 600px) {
    :where(.claim-page) .claim-hero__lead {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        text-align: center;
        margin: 15px 0 !important;
        padding: 20px 20px;
    }

}

/* ---------- style.css ---------- */

:where(.claim-page) .wpcf7-spinner {
    position: absolute;
    z-index: 10;
    margin: 10px auto;
    left: 0;
    right: 0;
}

:where(.claim-page) .wpcf7 form .wpcf7-response-output {
    position: relative;
    margin: 0 0 0 30px;
    padding: 20px 30px;
    width: 100%;
    background: #fff;
    box-sizing: border-box;
}

:where(.claim-page) .wpcf7-form > p {
    text-align: left;
}

/* ---------- main.css ---------- */

:where(.claim-page) a:active,
:where(.claim-page) a:hover {
    outline: none;
}

:where(.claim-page) a {
    color: #e8132f;
    text-decoration: none;
    cursor: pointer;
}

:where(.claim-page) a:hover {
    color: #db0707;
    text-decoration: underline;
}

:where(.claim-page) strong {
    font-weight: bolder;
}

:where(.claim-page) svg {
    vertical-align: middle;
}

:where(.claim-page) svg:not(:root) {
    overflow: hidden;
}

:where(.claim-page) p,
:where(.claim-page) ul {
    margin: 0 0 20px;
}

:where(.claim-page) *+p,
:where(.claim-page) *+ul {
    margin-top: 20px;
}

:where(.claim-page) h1,
:where(.claim-page) h2,
:where(.claim-page) h3 {
    margin: 0 0 20px;
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif;
    font-weight: 400;
    color: #333;
    text-transform: none;
}

:where(.claim-page) *+h1,
:where(.claim-page) *+h3 {
    margin-top: 40px;
}

:where(.claim-page) h1 {
    font-size: 2.23125rem;
    line-height: 1.2;
}

:where(.claim-page) h2 {
    font-size: 1.7rem;
    line-height: 1.3;
}

:where(.claim-page) h3 {
    font-size: 1.5rem;
    line-height: 1.4;
}

@media (min-width: 960px) {
    :where(.claim-page) h1 {
        font-size: 2.625rem;
    }

    :where(.claim-page) h2 {
        font-size: 2rem;
    }

}

:where(.claim-page) ul {
    padding-left: 30px;
}

:where(.claim-page) ::selection {
    background: #39f;
    color: #fff;
    text-shadow: none;
}

@media print {
    :where(.claim-page) *,
    :where(.claim-page) :after,
    :where(.claim-page) :before {
        background: transparent !important;
        color: #000 !important;
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    :where(.claim-page) a,
    :where(.claim-page) a:visited {
        text-decoration: underline;
    }

    :where(.claim-page) h2,
    :where(.claim-page) h3,
    :where(.claim-page) p {
        orphans: 3;
        widows: 3;
    }

    :where(.claim-page) h2,
    :where(.claim-page) h3 {
        page-break-after: avoid;
    }

}

:where(.claim-page) h1,
:where(.claim-page) h2,
:where(.claim-page) h3 {
    font-family: Poppins, sans-serif;
}

:where(.claim-page) p,
:where(.claim-page) span,
:where(.claim-page) strong {
    font-family: Raleway, sans-serif;
}

:where(.claim-page) h2,
:where(.claim-page) h3,
:where(.claim-page) p,
:where(.claim-page) span,
:where(.claim-page) strong {
    color: #000;
}

:where(.claim-page) input::-webkit-inner-spin-button,
:where(.claim-page) input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

:where(.claim-page) a,
:where(.claim-page) a:hover {
    text-decoration: none;
}

:where(.claim-page) h1,
:where(.claim-page) h2 {
    display: inline-block;
}

:where(.claim-page) *:not(#wpadminbar *) {
    font-family: 'Google Sans', 'Manrope', sans-serif !important;
}

:where(.claim-page) h1:not(#wpadminbar *),
:where(.claim-page) h2:not(#wpadminbar *),
:where(.claim-page) h3:not(#wpadminbar *) {
    font-family: 'Google Sans', 'Sora', sans-serif !important;
}

:where(.claim-page) p,
:where(.claim-page) span,
:where(.claim-page) strong {
    font-style: normal;
    font-weight: 400;
    font-size: 1em;
    line-height: 1.5;
}

:where(.claim-page) h3 {
    font-size: 1.5em;
    margin-top: 0.95833em;
    margin-bottom: 0.375em;
    font-weight: 600;
}

:where(.claim-page) strong {
    font-weight: 600;
}

:where(.claim-page) #breadcrumbs {
    margin: 0 auto;
    max-width: var(--container);
    padding: 0 16px 17px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: block;
    font-size: 13px;
    width: 100%;
}

:where(.claim-page) #breadcrumbs span>span {
    color: #fd3543;
}

:where(.claim-page) #breadcrumbs span>span * {
    margin-right: 5px;
}

:where(.claim-page) #breadcrumbs span>span a,
:where(.claim-page) #breadcrumbs span>span strong {
    color: #000;
    font-weight: 400;
}

:where(.claim-page) #breadcrumbs span>span a:hover {
    color: #fd3543;
}

@media (min-width: 900px) {
    :where(.claim-page) #breadcrumbs {
        padding: 0 60px 17px;
    }

}

:where(.claim-page) h1 {
    padding: 20px 16px 7px;
    color: #000;
    font-size: 22px;
    display: block;
    max-width: var(--container);
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0 auto;
    font-weight: 700;
    text-transform: uppercase;
}

@media (min-width: 900px) {
    :where(.claim-page) h1 {
        padding: 40px 60px 7px;
    }

}

@media (min-width: 450px) {
    :where(.claim-page) h1 {
        font-size: 30px;
    }

}

:where(.claim-page) .wpcf7-form {
    transition: .5s all;
}

/* ---------- pages.css ---------- */

body.page-claim .claim-hero {
    background: var(--ink);
    color: #fff;
    padding: 30px 0 56px;
}

body.page-claim .claim-hero .claim-hero__inner,
body.page-claim .claim-layout {
    max-width: var(--container);
    margin: 0 auto;
    box-sizing: border-box;
    padding-left: 32px;
    padding-right: 32px;
}

body.page-claim .claim-hero #breadcrumbs {
    max-width: none;
    margin: 0 0 36px;
    padding: 0;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.62);
    text-align: left;
}

body.page-claim .claim-hero #breadcrumbs a {
    color: rgba(255, 255, 255, 0.62);
    transition: color 0.15s ease;
}

body.page-claim .claim-hero #breadcrumbs a:hover {
    color: #fff;
}

body.page-claim .claim-hero #breadcrumbs .breadcrumbs__last,
body.page-claim .claim-hero #breadcrumbs strong {
    color: #fff;
    font-weight: 700;
}

body.page-claim .claim-hero h1 {
    display: block;
    max-width: 660px;
    margin: 0;
    padding: 0;
    font-family: var(--font-head);
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.015em;
    color: #fff;
    text-align: left;
    text-wrap: balance;
}

body.page-claim .claim-hero .claim-hero__lead {
    display: block;
    padding: 0;
    border: 0;
    text-align: inherit;
}

body.page-claim .claim-hero .claim-hero__lead {
    max-width: 560px;
    margin: 16px 0 0 !important;
    font-size: 16px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.72);
    text-wrap: pretty;
}

body.page-claim .claim-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 460px;
    gap: 72px;
    align-items: start;
    padding-top: 56px;
    padding-bottom: 88px;
}

body.page-claim .claim-benefits h2,
body.page-claim .claim-steps h2 {
    display: block;
    font-family: var(--font-head);
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--ink);
    margin: 0 0 10px;
}

body.page-claim .claim-benefits .claim-benefits__sub {
    font-size: 14px;
    line-height: 1.65;
    color: var(--muted);
    margin: 0 0 22px;
    text-wrap: pretty;
}

body.page-claim .claim-benefit-list {
    display: grid;
    gap: 14px;
}

body.page-claim .claim-benefit {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 20px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 12px;
}

body.page-claim .claim-benefit .claim-benefit__icon {
    flex: none;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--red-soft);
    color: var(--red);
    display: grid;
    place-items: center;
}

body.page-claim .claim-benefit .claim-benefit__icon svg {
    width: 20px;
    height: 20px;
}

body.page-claim .claim-benefit .claim-benefit__title {
    font-size: 14.5px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--ink);
}

body.page-claim .claim-benefit .claim-benefit__text {
    margin-top: 4px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--muted);
    text-wrap: pretty;
}

body.page-claim .claim-steps {
    margin-top: 44px;
}

body.page-claim .claim-steps h2 {
    margin-bottom: 22px;
}

body.page-claim .claim-step-list {
    display: grid;
    gap: 14px;
}

body.page-claim .claim-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 20px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 12px;
}

body.page-claim .claim-step .claim-step__icon {
    flex: none;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--red-soft);
    color: var(--red);
    display: grid;
    place-items: center;
    font-size: 17px;
    font-weight: 800;
}

body.page-claim .claim-step .claim-step__title {
    font-size: 14.5px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--ink);
    padding-top: 3px;
}

body.page-claim .claim-step .claim-step__title span {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.6;
    color: var(--muted);
}

body.page-claim .claim-aside {
    position: sticky;
    top: 96px;
}

body.page-claim .claim-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 18px 44px -32px rgba(13, 14, 17, 0.18);
    overflow: hidden;
}

body.page-claim .claim-card__head {
    background: var(--bg);
    color: var(--ink);
    padding: 26px 28px 24px;
    border-bottom: 1px solid var(--line);
}

body.page-claim .claim-card__head h3 {
    display: block;
    font-family: var(--font-head);
    font-size: 21px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: var(--ink);
    margin: 0;
    text-wrap: balance;
}

body.page-claim .claim-card__head p {
    margin: 10px 0 0;
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--muted);
}

body.page-claim .claim-card .wpcf7 {
    padding: 24px 28px 28px;
}

body.page-claim .claim-card .cf-field {
    margin-bottom: 16px;
}

body.page-claim .claim-card .cf-field .wpcf7-form-control-wrap {
    display: block;
}

body.page-claim .claim-card .cf-field input {
    width: 100%;
    box-sizing: border-box;
    border: 1.5px solid transparent;
    border-radius: var(--radius);
    background: #eeede8;
    padding: 13px 15px;
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--ink);
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

body.page-claim .claim-card .cf-field input::placeholder {
    color: var(--muted);
    font-weight: 500;
}

body.page-claim .claim-card .cf-field input:focus {
    outline: none;
    border-color: var(--red);
    background: var(--paper);
    box-shadow: 0 0 0 3px var(--red-soft);
}

body.page-claim .cf-consent {
    margin: 4px 0 18px;
}

body.page-claim .cf-consent .wpcf7-list-item {
    margin: 0;
}

body.page-claim .cf-consent .wpcf7-list-item label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

body.page-claim .cf-consent input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: var(--red);
    flex: none;
    cursor: pointer;
}

body.page-claim .cf-consent .wpcf7-list-item-label {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.55;
    color: var(--muted);
}

body.page-claim .cf-consent .wpcf7-list-item-label a {
    color: var(--ink);
    text-decoration: underline;
}

body.page-claim .claim-card input[type="submit"] {
    width: 100%;
    height: 54px;
    border: 0;
    border-radius: var(--radius);
    background: var(--red);
    color: #fff;
    font-size: 13.5px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.15s ease;
}

body.page-claim .claim-card input[type="submit"]:hover {
    background: var(--red-dark);
}

body.page-claim .cf-foot {
    margin: 16px 0 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--muted);
}

body.page-claim .cf-foot svg {
    flex: none;
    width: 14px;
    height: 14px;
    margin-top: 1px;
}

body.page-claim .claim-card .wpcf7-response-output {
    margin: 16px 0 0;
    padding: 12px 14px;
    border: 1px solid rgba(232, 19, 47, 0.35);
    border-radius: var(--radius);
    background: var(--red-soft);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--red-dark);
}

body.page-claim .claim-card__success {
    display: none;
    padding: 40px 28px 44px;
    text-align: center;
}

body.page-claim .claim-card.is-sent .wpcf7 {
    display: none;
}

body.page-claim .claim-card.is-sent .claim-card__success {
    display: block;
}

body.page-claim .claim-card__success .claim-card__ok {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: rgba(31, 138, 76, 0.1);
    color: #1f8a4c;
    display: grid;
    place-items: center;
}

body.page-claim .claim-card__success .claim-card__ok svg {
    width: 30px;
    height: 30px;
}

body.page-claim .claim-card__success h3 {
    display: block;
    font-family: var(--font-head);
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--ink);
    margin: 0 0 10px;
}

body.page-claim .claim-card__success p {
    font-size: 14px;
    line-height: 1.65;
    color: var(--muted);
    max-width: 280px;
    margin: 0 auto;
}

@media (max-width: 1100px) {
    body.page-claim .claim-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    body.page-claim .claim-aside {
        position: static;
        max-width: 560px;
    }

}

@media (max-width: 720px) {
    body.page-claim .claim-hero {
        padding: 22px 0 44px;
    }

    body.page-claim .claim-hero .claim-hero__inner,
    body.page-claim .claim-layout {
        padding-left: 20px;
        padding-right: 20px;
    }

    body.page-claim .claim-layout {
        padding-top: 40px;
        padding-bottom: 60px;
    }

}

body.page-claim .claim-hero h1 {
    text-transform: none;
}

