/*
Theme Name: JP Divi Child
Theme URI: https://jacek.pierzga.eu/
Description: Dedykowany motyw potomny Divi dla nowej strony firmowej Jacek Pierzga IT.
Author: OpenAI Codex
Template: Divi
Version: 1.0.0
*/

.jp-realization-slider {
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.16);
}

.jp-realization-slider .et_pb_container {
    width: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
}

.jp-realization-slider .et_pb_slide_description {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.jp-realization-slider .et_pb_slides {
    position: relative;
    overflow: hidden;
}

.jp-realization-slider .et_pb_slide {
    display: none !important;
    padding: 0 !important;
}

.jp-realization-slider .et_pb_slide.et-pb-active-slide {
    display: block !important;
}

.jp-realization-slider .et_pb_slide_content {
    line-height: 0;
}

.jp-realization-slider .et_pb_slide_content p {
    padding-bottom: 0;
}

.jp-realization-slider .et_pb_slide_content img {
    display: block;
    width: 100%;
    height: auto;
}

.jp-realization-slider .et-pb-slider-arrows a {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.76);
    color: #ffffff;
    font-size: 0;
    line-height: 34px;
    text-align: center;
    transform: translateY(-50%);
}

.jp-realization-slider .et-pb-arrow-prev {
    left: 12px;
}

.jp-realization-slider .et-pb-arrow-next {
    right: 12px;
}

.jp-realization-slider .et-pb-arrow-prev::before,
.jp-realization-slider .et-pb-arrow-next::before {
    display: block;
    font-family: Arial, sans-serif !important;
    font-size: 28px;
    line-height: 32px;
}

.jp-realization-slider .et-pb-arrow-prev::before {
    content: "\2039" !important;
}

.jp-realization-slider .et-pb-arrow-next::before {
    content: "\203A" !important;
}

.jp-realization-slider .et-pb-controllers {
    position: absolute;
    right: 0;
    bottom: 10px;
    left: 0;
    z-index: 6;
    height: 10px;
    text-align: center;
}

.jp-realization-slider .et-pb-controllers a {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin: 0 4px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    font-size: 0;
    line-height: 0;
    text-indent: -9999px;
    vertical-align: top;
}

.jp-realization-slider .et-pb-controllers .et-pb-active-control {
    background: #2563eb;
}

.jp-realization-card-copy {
    box-sizing: border-box;
    padding: 32px 34px 28px !important;
    border-radius: 0 0 8px 8px;
    background: #ffffff;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.16);
    color: #334155;
    font-size: 16px;
    line-height: 1.8;
}

.jp-realization-card-copy .et_pb_text_inner {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.jp-realization-card-copy h3 {
    margin: 0 0 12px;
    color: #0f172a;
    font-family: Sora, Arial, sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
}

.jp-realization-card-copy p {
    padding-bottom: 13px;
}

.jp-realization-card-copy p:last-child,
.jp-realization-card-copy .jp-realization-card-address {
    padding-bottom: 0;
}

.jp-realization-card-copy a {
    color: #149cff;
}

.jp-realization-card-copy .jp-realization-card-action {
    display: flex;
    justify-content: flex-end;
    margin-top: auto;
    padding-top: 26px;
    padding-bottom: 0;
}

.jp-realization-card-copy .jp-realization-card-action .jp-realization-button {
    margin: 0 !important;
    text-align: center;
}

@media (min-width: 981px) {
    .jp-realization-row {
        display: flex;
        align-items: stretch;
    }

    .jp-realization-row .et_pb_column {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .jp-realization-row .jp-realization-slider {
        flex: 0 0 auto;
        margin-bottom: 0 !important;
    }

    .jp-realization-row .jp-realization-card-copy {
        display: flex;
        flex: 1 1 0;
        min-height: 500px;
        margin-bottom: 0 !important;
    }

    .jp-realization-row .jp-realization-card-copy .et_pb_text_inner {
        display: flex;
        flex-direction: column;
        flex: 1 1 auto;
        height: auto;
    }

    .jp-realization-row .et_pb_button_module_wrapper {
        align-self: flex-start;
        flex: 0 0 auto;
        margin-top: 24px !important;
    }

    .jp-realization-row .jp-realization-button {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
}

@media (max-width: 767px) {
    .jp-realization-card-copy {
        padding: 28px 24px 26px !important;
    }

    .jp-realization-card-copy h3 {
        font-size: 24px;
    }
}

.jp-realization-button.et_pb_button,
.jp-realization-button.et_pb_button:hover,
.jp-realization-card-copy .jp-realization-button,
.jp-realization-card-copy .jp-realization-button:hover {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border: 0 !important;
    border-radius: 6px !important;
    background: #2563eb !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    line-height: 1.35em !important;
    padding: 0.72em 1.2em !important;
}

.jp-realization-cta-button.et_pb_button,
.jp-realization-cta-button.et_pb_button:hover {
    border: 0 !important;
    border-radius: 6px !important;
    background: #0f172a !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    line-height: 1.35em !important;
    padding: 0.72em 1.2em !important;
}

.jp-realization-button.et_pb_button::after,
.jp-realization-cta-button.et_pb_button::after {
    display: none !important;
}
