/* Kompas 1.1.1: explicitly requested homepage links/icons and shared credit. */
body.ku-enabled #masthead #primary-menu a{color:#142b4d}body.ku-enabled #masthead #primary-menu .current-menu-item>a,body.ku-enabled #masthead #primary-menu a:hover{color:#d6a742}
body.home #main .kompas-oferta-card{position:relative}body.home #main .kompas-oferta-card h3 a{color:inherit!important;text-decoration:none;font:inherit}body.home #main .kompas-oferta-card h3 a:after{content:'';position:absolute;inset:0;z-index:2}body.home #main .kompas-oferta-card:focus-within{outline:2px solid #b38528;outline-offset:4px}
body.home .kompas-blog-card__title a{color:inherit!important;text-decoration:none;font:inherit}
body.home #main .kompas-oferta-card:before{width:78px!important;height:78px!important;background-size:contain!important;filter:none!important;opacity:1!important}
body.home #main .kompas-oferta-card:nth-child(1):before{background-image:url('icons/auto.svg')!important}body.home #main .kompas-oferta-card:nth-child(2):before{background-image:url('icons/home.svg')!important}body.home #main .kompas-oferta-card:nth-child(3):before{background-image:url('icons/life.svg')!important}body.home #main .kompas-oferta-card:nth-child(4):before{background-image:url('icons/business.svg')!important}body.home #main .kompas-oferta-card:nth-child(5):before{background-image:url('icons/farm.svg')!important}body.home #main .kompas-oferta-card:nth-child(6):before{background-image:url('icons/travel.svg')!important}
body:is(.home,.ku-enabled) .kompas-footer .ku-credit{color:#f4f6fa!important;font-size:13px;font-weight:500;text-decoration:none;padding-bottom:4px;border-bottom:1px solid #d6a74288}body:is(.home,.ku-enabled) .kompas-footer .ku-credit strong{color:#d6a742;font-weight:700}body:is(.home,.ku-enabled) .kompas-footer .ku-credit:hover{border-color:#d6a742;color:white!important}
@media(max-width:680px){body.home #main .kompas-oferta-card:before{width:70px!important;height:70px!important}}

body.home #main .kompas-proces-card>.kt-inside-inner-col>:first-child:after{width:64px!important;height:64px!important;background-size:contain!important;opacity:1!important}

/* Reserve icon height plus a clear gap before each process title. */
body.home #main .kompas-proces-card>.kt-inside-inner-col>:first-child{margin-bottom:94px!important;flex-shrink:0}

/* Kompas 1.2.5 — zadanie 1: hero; ten sam zakres we froncie i edytorze. */
:is(body.home,.editor-styles-wrapper) .kompas-hero{--kompas-navy:#071f4d;--kompas-gold:#d6a742;--kompas-text:#142b4d;--kompas-muted:#5d6c7f}
    .editor-styles-wrapper .kompas-hero {
        position: relative;
        min-height: 660px;
        padding: 42px 0 !important;
        background-image:
            linear-gradient(
                90deg,
                rgba(255,255,255,.99) 0%,
                rgba(255,255,255,.96) 25%,
                rgba(255,255,255,.66) 43%,
                rgba(255,255,255,.10) 64%,
                rgba(255,255,255,.02) 100%
            ),
            url("../../../uploads/2026/07/kompas-hero-latarnia.webp") !important;
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
    }

    .editor-styles-wrapper .kompas-hero > .innerblocks-wrap {
        width: min(1240px, calc(100% - 48px)) !important;
        min-height: 576px;
        margin: 0 auto !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 405px !important;
        gap: 88px !important;
        align-items: center !important;
    }

    .editor-styles-wrapper .kompas-hero__content {
        width: 100% !important;
        max-width: 570px !important;
        min-height: 0 !important;
        padding: 25px 0 !important;
        background: transparent !important;
    }

    .editor-styles-wrapper .kompas-hero__content > .kadence-inner-column-inner {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .editor-styles-wrapper .kompas-hero__title {
        max-width: 560px;
        margin: 0 0 20px !important;
        color: var(--kompas-navy) !important;
        font-family: Georgia, "Times New Roman", serif !important;
        font-size: clamp(46px, 4vw, 62px) !important;
        line-height: 1.05 !important;
        letter-spacing: -.025em;
        font-weight: 700 !important;
    }

    .editor-styles-wrapper .kompas-hero__lead {
        max-width: 545px;
        margin: 0 0 31px !important;
        color: #42536a !important;
        font-size: 17px !important;
        line-height: 1.65 !important;
    }

    .editor-styles-wrapper .kompas-hero-benefit {
        position: relative;
        width: 100% !important;
        min-height: 0 !important;
        margin: 0 0 19px !important;
        padding: 0 0 0 51px !important;
        background: transparent !important;
    }

    .editor-styles-wrapper .kompas-hero-benefit::before {
        content: "✓";
        position: absolute;
        top: 4px;
        left: 0;
        width: 32px;
        height: 32px;
        display: grid;
        place-items: center;
        border: 2px solid var(--kompas-gold);
        border-radius: 50%;
        color: var(--kompas-gold);
        font-size: 16px;
        font-weight: 800;
    }

    .editor-styles-wrapper .kompas-hero-benefit > .kadence-inner-column-inner {
        display: block !important;
    }

    .editor-styles-wrapper .kompas-hero-benefit
    :is(.kt-blocks-info-box-media, .kt-info-svg-icon) {
        display: none !important;
    }

    .editor-styles-wrapper .kompas-hero-benefit
    :is(h2, h3, h4, .kt-blocks-info-box-title) {
        margin: 0 0 3px !important;
        color: var(--kompas-navy) !important;
        font-family: inherit !important;
        font-size: 15px !important;
        line-height: 1.35 !important;
        font-weight: 750 !important;
    }

    .editor-styles-wrapper .kompas-hero-benefit p {
        margin: 0 !important;
        color: var(--kompas-muted) !important;
        font-size: 13px !important;
        line-height: 1.5 !important;
    }

    .editor-styles-wrapper .kompas-hero__button {
        min-height: 51px !important;
        margin-top: 7px !important;
        padding: 13px 25px !important;
        border: 0 !important;
        border-radius: 5px !important;
        background: var(--kompas-navy) !important;
        color: #fff !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        box-shadow: 0 10px 24px rgba(7,31,77,.18);
    }

    .editor-styles-wrapper .kompas-hero__button:hover {
        background: var(--kompas-gold) !important;
        color: var(--kompas-navy) !important;
        transform: translateY(-2px);
    }

    /* Karta formularza */

    .editor-styles-wrapper .kompas-hero > .innerblocks-wrap >
    .kompas-hero__form-column {
        width: 100% !important;
        min-height: 0 !important;
        padding: 31px 32px 27px !important;
        border: 1px solid rgba(7,31,77,.08);
        border-radius: 15px;
        background: rgba(255,255,255,.97) !important;
        box-shadow: 0 22px 55px rgba(7,31,77,.18);
        backdrop-filter: blur(5px);
    }

    .editor-styles-wrapper .kompas-hero > .innerblocks-wrap >
    .kompas-hero__form-column > .kadence-inner-column-inner {
        display: block !important;
    }

    .editor-styles-wrapper .kompas-hero__form-column .kb-row-layout-wrap,
    .editor-styles-wrapper .kompas-form-card {
        width: 100% !important;
        min-height: 0 !important;
        padding: 0 !important;
        background: transparent !important;
    }

    .editor-styles-wrapper .kompas-form-card__heading {
        margin: 0 0 22px !important;
        padding: 0 0 19px !important;
        border-bottom: 1px solid #edf0f4;
        text-align: left !important;
    }

    .editor-styles-wrapper .kompas-form-card__heading
    .kt-blocks-info-box-media {
        display: none !important;
    }

    .editor-styles-wrapper .kompas-form-card__heading
    :is(h2, h3, .kt-blocks-info-box-title) {
        margin: 0 0 8px !important;
        color: var(--kompas-navy) !important;
        font-family: Georgia, "Times New Roman", serif !important;
        font-size: 27px !important;
        line-height: 1.12 !important;
        font-weight: 700 !important;
    }

    .editor-styles-wrapper .kompas-form-card__heading p,
    .editor-styles-wrapper .kompas-form-card__heading
    .kt-blocks-info-box-text {
        margin: 0 !important;
        color: var(--kompas-muted) !important;
        font-size: 13px !important;
        line-height: 1.5 !important;
    }

    .editor-styles-wrapper .kompas-hero__form-column form {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 13px !important;
    }

    .editor-styles-wrapper .kompas-hero__form-column form > * {
        grid-column: 1 / -1 !important;
        width: 100% !important;
    }

    .editor-styles-wrapper .kompas-hero__form-column form label {
        margin-bottom: 5px !important;
        color: var(--kompas-text) !important;
        font-size: 12px !important;
        line-height: 1.4 !important;
        font-weight: 700 !important;
    }

    .editor-styles-wrapper .kompas-hero__form-column
    :is(input:not([type="checkbox"]):not([type="submit"]), select, textarea) {
        width: 100% !important;
        min-height: 45px !important;
        padding: 10px 12px !important;
        border: 1px solid #dfe4eb !important;
        border-radius: 4px !important;
        background: #fff !important;
        color: var(--kompas-text) !important;
        font-size: 13px !important;
        box-shadow: none !important;
    }

    .editor-styles-wrapper .kompas-hero__form-column textarea {
        min-height: 82px !important;
        resize: vertical;
    }

    .editor-styles-wrapper .kompas-hero__form-column
    :is(input, select, textarea):focus {
        border-color: var(--kompas-gold) !important;
        outline: none !important;
        box-shadow: 0 0 0 3px rgba(214,167,66,.13) !important;
    }

    .editor-styles-wrapper .kompas-hero__form-column
    :is(button[type="submit"], input[type="submit"]) {
        width: 100% !important;
        min-height: 49px !important;
        padding: 12px 20px !important;
        border: 0 !important;
        border-radius: 4px !important;
        background: var(--kompas-gold) !important;
        color: var(--kompas-navy) !important;
        font-size: 14px !important;
        font-weight: 800 !important;
        cursor: pointer;
    }


:is(body.home,.editor-styles-wrapper) .kompas-hero__insurance-link{margin:8px 0 18px!important;font-size:14px;line-height:1.4}
:is(body.home,.editor-styles-wrapper) .kompas-hero__insurance-link a{display:inline-flex;align-items:center;min-height:44px;color:#071f4d;text-decoration:underline;text-underline-offset:4px;font-weight:600}
:is(body.home,.editor-styles-wrapper) .kompas-hero__content>.kt-inside-inner-col>.kb-buttons-wrap{margin:0!important}
:is(body.home,.editor-styles-wrapper) #formularz,:is(body.home,.editor-styles-wrapper) #rodzaje-ubezpieczen{scroll-margin-top:24px}
@media(max-width:767px){
:is(body.home,.editor-styles-wrapper) .kompas-hero{min-height:0;padding:24px 0 32px!important;background-image:linear-gradient(90deg,rgba(255,255,255,.98),rgba(255,255,255,.93)),url('../../../uploads/2026/07/kompas-hero-latarnia.webp')!important;background-position:54% center!important}
:is(body.home,.editor-styles-wrapper) .kompas-hero>.kt-row-column-wrap{width:calc(100% - 34px)!important;min-height:0;grid-template-columns:minmax(0,1fr)!important;gap:24px!important;padding:0!important}
:is(body.home,.editor-styles-wrapper) .kompas-hero .kompas-hero__content{padding:0!important;max-width:none!important;min-width:0!important}
:is(body.home,.editor-styles-wrapper) .kompas-hero .kompas-hero__title{font-size:clamp(32px,9vw,38px)!important;line-height:1.1!important;margin:0 0 16px!important}
:is(body.home,.editor-styles-wrapper) .kompas-hero .kompas-hero__lead{font-size:15px!important;line-height:1.55!important;margin:0 0 18px!important}
:is(body.home,.editor-styles-wrapper) .kompas-hero__content>.kt-inside-inner-col>.kb-row-layout-wrap{width:100%;margin:0!important;padding:0!important}
:is(body.home,.editor-styles-wrapper) .kompas-hero__content>.kt-inside-inner-col>.kb-row-layout-wrap>.kt-row-column-wrap{padding:0!important;gap:0!important}
:is(body.home,.editor-styles-wrapper) .kompas-hero .kompas-hero-benefit{margin:0 0 12px!important;padding:0 0 0 42px!important}
:is(body.home,.editor-styles-wrapper) .kompas-hero-benefit .kt-blocks-info-box-link-wrap{padding:0!important;background:transparent!important;text-align:left!important}
:is(body.home,.editor-styles-wrapper) .kompas-hero-benefit .kt-infobox-textcontent{padding:0!important;background:transparent!important;text-align:left!important}
:is(body.home,.editor-styles-wrapper) .kompas-hero-benefit .kt-blocks-info-box-title{font-size:14px!important;text-align:left!important}
:is(body.home,.editor-styles-wrapper) .kompas-hero-benefit .kt-blocks-info-box-text{font-size:12px!important;text-align:left!important}
:is(body.home,.editor-styles-wrapper) .kompas-hero>.kt-row-column-wrap>.kompas-hero__form-column{width:100%!important;max-width:none!important;transform:none!important;padding:24px 20px!important}
}

/* Kadence uzywa innych wrapperow w edytorze; zachowaj identyczna karte hero. */
.editor-styles-wrapper .kompas-hero{box-sizing:border-box}
.editor-styles-wrapper .kompas-hero>.innerblocks-wrap{width:calc(100% - 48px)!important;grid-template-columns:minmax(0,1fr) minmax(0,405px)!important;gap:32px!important}
.editor-styles-wrapper .kompas-hero .kompas-hero__form-column.wp-block-kadence-column{box-sizing:border-box;border:1px solid rgba(7,31,77,.08);border-radius:15px;background:rgba(255,255,255,.97)!important;padding:31px 32px 27px!important;box-shadow:0 22px 55px rgba(7,31,77,.18)}
.editor-styles-wrapper .kompas-hero .kompas-hero__form-column.wp-block-kadence-column>.kadence-inner-column-inner{display:block!important}
.editor-styles-wrapper .kompas-hero .kompas-hero__content>.kadence-inner-column-inner{gap:0!important}
.editor-styles-wrapper .kompas-hero .kompas-hero__button{align-self:flex-start!important}
.editor-styles-wrapper .kompas-hero .kompas-hero__content>.kadence-inner-column-inner>.kb-buttons-wrap{justify-content:flex-start!important;margin:0!important;padding:0!important}
@media(max-width:767px){
.editor-styles-wrapper .kompas-hero>.innerblocks-wrap{width:calc(100% - 34px)!important;min-height:0;grid-template-columns:minmax(0,1fr)!important;gap:24px!important}
.editor-styles-wrapper .kompas-hero__content>.kadence-inner-column-inner>.wp-block-kadence-rowlayout{padding:0!important;margin:0!important;width:100%}
.editor-styles-wrapper .kompas-hero__content>.kadence-inner-column-inner>.wp-block-kadence-rowlayout>.innerblocks-wrap{padding:0!important;gap:0!important}
}
