body.home {
    --dpkp-green: #265b24;
    --dpkp-green-2: #347b31;
    --dpkp-gold: #c7a43a;
    --dpkp-navy: #183247;
    --dpkp-sky: #dfeaf1;
    --dpkp-ink: #142117;
    --dpkp-muted: #5f6f63;
    --dpkp-line: rgba(38, 91, 36, 0.14);
    --dpkp-panel: rgba(255, 255, 255, 0.94);
    --dpkp-bg: #f5f8f4;
    background:
        linear-gradient(180deg, #ffffff 0, var(--dpkp-sky) 360px, var(--dpkp-bg) 760px),
        var(--dpkp-bg);
    color: var(--dpkp-ink);
    text-rendering: optimizeLegibility;
}

body.home ::selection {
    background: rgba(199, 164, 58, 0.34);
    color: #101810;
}

body.home .site {
    background: transparent;
}

body.home .site-main-header-wrap {
    background: #ffffff;
    border-bottom: 1px solid rgba(38, 91, 36, 0.08);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.84);
    position: relative;
}

body.home .site-main-header-wrap::before {
    background: linear-gradient(90deg, var(--dpkp-green), var(--dpkp-gold), var(--dpkp-navy));
    content: "";
    display: block;
    height: 4px;
    inset: 0 0 auto;
    position: absolute;
}

body.home .site-main-header-inner-wrap,
body.home .site-bottom-header-inner-wrap {
    max-width: 1440px;
}

body.home .site-branding {
    padding: 12px 0;
}

body.home .site-branding .custom-logo {
    filter: drop-shadow(0 4px 10px rgba(20, 33, 23, 0.08));
    max-height: 58px;
    object-fit: contain;
    width: auto;
}

body.home .site-bottom-header-wrap {
    background: linear-gradient(90deg, #214f20 0%, #2e6b2b 58%, #183247 100%);
    box-shadow: 0 10px 28px rgba(20, 33, 23, 0.12);
}

body.home .main-navigation .primary-menu-container > ul > li.menu-item > a {
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0;
    min-height: 44px;
    padding-left: 14px;
    padding-right: 14px;
    position: relative;
    transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

body.home .main-navigation .primary-menu-container > ul > li.menu-item.current-menu-item > a,
body.home .main-navigation .primary-menu-container > ul > li.menu-item > a:hover,
body.home .main-navigation .primary-menu-container > ul > li.menu-item > a:focus {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    transform: translateY(-1px);
}

body.home .header-search-bar,
body.home .search-toggle-open {
    color: #ffffff;
}

body.home .content-area {
    margin-top: 0;
}

body.home #inner-wrap {
    overflow: hidden;
}

body.home,
body.home #page,
body.home #inner-wrap {
    max-width: 100%;
    overflow-x: hidden;
}

body.home div#n2-ss-2 {
    border-radius: 0 0 10px 10px;
    box-shadow: 0 20px 52px rgba(20, 33, 23, 0.16);
    margin: 0 auto 36px;
    max-width: min(1440px, calc(100vw - 32px));
    overflow: hidden;
    position: relative;
}

body.home div#n2-ss-2::after {
    background: linear-gradient(90deg, var(--dpkp-green), var(--dpkp-gold), var(--dpkp-navy));
    bottom: 0;
    content: "";
    height: 4px;
    left: 0;
    position: absolute;
    right: 0;
    z-index: 20;
}

body.home div#n2-ss-2 .n2-ss-slider-2,
body.home div#n2-ss-2 .n2-ss-slider-3 {
    border-radius: 0 0 10px 10px !important;
}

body.home div#n2-ss-2 .n2-ss-slide-background::after {
    background: linear-gradient(90deg, rgba(10, 27, 15, 0.38), rgba(10, 27, 15, 0.04) 62%);
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
}

body.home div#n2-ss-2 [class*="n-uc-10d8c49ad2366"][class*="-inner"] {
    background: rgba(15, 27, 18, 0.58) !important;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-left: 4px solid var(--dpkp-gold);
    border-radius: 8px !important;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

body.home div#n2-ss-2 .n2-font-02bc3b84a8418a53770742d14ce4ee1f-hover {
    font-size: 1.6rem !important;
    letter-spacing: 0 !important;
    line-height: 1.16 !important;
}

body.home div#n2-ss-2 .n2-font-536ab3f1e4b36a700387d494f75feb21-paragraph {
    color: rgba(255, 255, 255, 0.94) !important;
    font-size: 0.96rem !important;
    line-height: 1.62 !important;
}

body.home div#n2-ss-2 .n2-style-f7d80b68e6427404f82a7cd47b56c30a-heading {
    border-color: rgba(255, 255, 255, 0.84) !important;
    padding: 10px 14px !important;
    transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

body.home div#n2-ss-2 .n2-style-f7d80b68e6427404f82a7cd47b56c30a-heading:hover {
    transform: translateY(-1px);
}

body.home .entry-content > .wp-block-kadence-column:not(:first-child) {
    max-width: 1380px;
    margin-left: auto;
    margin-right: auto;
}

body.home .entry-content > .wp-block-kadence-column:nth-of-type(3),
body.home .entry-content > .wp-block-kadence-column:nth-of-type(4) {
    background: var(--dpkp-panel);
    border: 1px solid var(--dpkp-line);
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(20, 33, 23, 0.07);
    margin-bottom: 28px;
    padding: 22px 22px 18px;
    position: relative;
}

body.home .ultp-heading-wrap .ultp-heading-inner,
body.home .ultp-heading-wrap .ultp-heading-inner span {
    border-radius: 4px 4px 0 0 !important;
}

body.home .ultp-heading-wrap .ultp-heading-inner span {
    background: linear-gradient(135deg, var(--dpkp-green), var(--dpkp-green-2) 70%, var(--dpkp-navy)) !important;
    box-shadow: 0 8px 18px rgba(38, 91, 36, 0.18);
    color: #ffffff !important;
    padding: 9px 14px !important;
}

body.home .wp-block-query .wp-block-post-featured-image img,
body.home .ultp-block-image img {
    border-radius: 7px;
    box-shadow: 0 10px 24px rgba(20, 33, 23, 0.12);
    transition: filter 180ms ease, transform 180ms ease;
}

body.home .wp-block-query .wp-block-post-featured-image a:hover img,
body.home .ultp-block-image a:hover img {
    filter: saturate(1.06) contrast(1.03);
    transform: scale(1.015);
}

body.home .wp-block-post-title a,
body.home .ultp-block-title a {
    color: #172315 !important;
    text-decoration: none !important;
    text-underline-offset: 4px;
}

body.home .wp-block-post-title a:hover,
body.home .ultp-block-title a:hover {
    color: var(--dpkp-green-2) !important;
}

body.home .wp-block-post-excerpt,
body.home .wp-block-post-excerpt__excerpt,
body.home .ultp-block-excerpt,
body.home .ultp-block-excerpt p {
    color: var(--dpkp-muted) !important;
    line-height: 1.68 !important;
}

body.home .ultp-block-item {
    border-bottom-color: rgba(38, 91, 36, 0.18) !important;
    transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

body.home .ultp-block-item:hover {
    background: rgba(38, 91, 36, 0.035);
    transform: translateX(2px);
}

body.home .wp-block-ultimate-post-button,
body.home .wp-block-button__link,
body.home .kb-button {
    border-radius: 999px !important;
    box-shadow: 0 10px 20px rgba(38, 91, 36, 0.12) !important;
    font-weight: 700 !important;
}

body.home .wp-block-ultimate-post-button:hover,
body.home .wp-block-button__link:hover,
body.home .kb-button:hover {
    transform: translateY(-1px);
}

body.home a:focus-visible,
body.home button:focus-visible,
body.home input:focus-visible {
    outline: 3px solid rgba(199, 164, 58, 0.72);
    outline-offset: 3px;
}

body.home .wp-block-search__input,
body.home input[type="search"] {
    background: #ffffff;
    border: 1px solid rgba(38, 91, 36, 0.18);
    border-radius: 6px;
    box-shadow: 0 8px 20px rgba(20, 33, 23, 0.05);
    min-height: 42px;
}

body.home .wp-block-search__button,
body.home button[type="submit"] {
    border-radius: 6px;
}

body.home aside,
body.home .sidebar-inner-wrap,
body.home .widget {
    border-radius: 8px;
}

body.home .ph-widget {
    margin: 8px auto 30px;
}

body.home .ph-wrap {
    background: #ffffff !important;
    border: 1px solid rgba(38, 91, 36, 0.12) !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 28px rgba(20, 33, 23, 0.06) !important;
    font-family: inherit !important;
    padding: 18px !important;
}

body.home .ph-title {
    color: var(--dpkp-ink) !important;
    font-size: 1.18rem !important;
    line-height: 1.25 !important;
}

body.home .ph-sub {
    color: #8a2c2c !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
}

body.home .ph-btn {
    border-color: rgba(24, 50, 71, 0.18) !important;
    border-radius: 6px !important;
    box-shadow: 0 4px 10px rgba(20, 33, 23, 0.08) !important;
    color: var(--dpkp-navy) !important;
}

body.home .ph-track {
    scrollbar-color: rgba(38, 91, 36, 0.36) rgba(38, 91, 36, 0.08);
}

body.home .ph-track::-webkit-scrollbar-thumb {
    background: rgba(38, 91, 36, 0.45) !important;
}

body.home .ph-card {
    border: 1px solid rgba(38, 91, 36, 0.12) !important;
    border-radius: 7px !important;
    box-shadow: 0 8px 18px rgba(20, 33, 23, 0.08) !important;
}

body.home .ph-bottom {
    font-size: 0.78rem !important;
    font-weight: 800 !important;
}

body.home .ph-green {
    background: #2f7d38 !important;
}

body.home .ph-red {
    background: #a33a34 !important;
}

body.home .ph-grey {
    background: #5c6670 !important;
}

body.home img {
    max-width: 100%;
}

@keyframes dpkp-polish-rise {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: no-preference) {
    body.home div#n2-ss-2,
    body.home .entry-content > .wp-block-kadence-column:nth-of-type(3),
    body.home .entry-content > .wp-block-kadence-column:nth-of-type(4) {
        animation: dpkp-polish-rise 420ms ease both;
    }

    body.home .entry-content > .wp-block-kadence-column:nth-of-type(3) {
        animation-delay: 80ms;
    }

    body.home .entry-content > .wp-block-kadence-column:nth-of-type(4) {
        animation-delay: 140ms;
    }
}

@media (max-width: 1024px) {
    body.home .site-branding .custom-logo {
        max-height: 52px;
    }

    body.home div#n2-ss-2 {
        max-width: calc(100vw - 24px);
        margin-bottom: 28px;
    }

    body.home div#n2-ss-2 .n2-font-536ab3f1e4b36a700387d494f75feb21-paragraph {
        display: -webkit-box !important;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 7;
        line-height: 1.5 !important;
        overflow: hidden;
    }

    body.home div#n2-ss-2 .n2-font-02bc3b84a8418a53770742d14ce4ee1f-hover {
        font-size: 1.36rem !important;
    }

    body.home .entry-content > .wp-block-kadence-column:nth-of-type(3),
    body.home .entry-content > .wp-block-kadence-column:nth-of-type(4) {
        margin-left: 14px;
        margin-right: 14px;
        padding: 18px;
    }
}

@media (max-width: 767px) {
    body.home {
        background: #f6f8f5;
    }

    body.home .site-branding {
        padding: 8px 0;
    }

    body.home .site-branding .custom-logo {
        max-height: 42px;
    }

    body.home .site-bottom-header-wrap {
        box-shadow: 0 8px 20px rgba(20, 33, 23, 0.12);
    }

    body.home div#n2-ss-2 {
        border-radius: 0;
        margin-bottom: 22px;
        max-width: 100vw;
    }

    body.home div#n2-ss-2 .n2-ss-slide:not(.n2-ss-slide-active) {
        visibility: hidden !important;
    }

    body.home div#n2-ss-2 .n2-ss-slider-2,
    body.home div#n2-ss-2 .n2-ss-slider-3 {
        border-radius: 0 !important;
    }

    body.home div#n2-ss-2 [class*="n-uc-10d8c49ad2366"][class*="-inner"] {
        border-left-width: 3px;
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
    }

    body.home div#n2-ss-2 .n2-font-536ab3f1e4b36a700387d494f75feb21-paragraph {
        -webkit-line-clamp: 4;
        line-height: 1.48 !important;
    }

    body.home div#n2-ss-2 .n2-font-02bc3b84a8418a53770742d14ce4ee1f-hover {
        font-size: 1.18rem !important;
    }

    body.home .entry-content > .wp-block-kadence-column:nth-of-type(3),
    body.home .entry-content > .wp-block-kadence-column:nth-of-type(4) {
        border-radius: 0;
        border-left: 0;
        border-right: 0;
        margin-left: 0;
        margin-right: 0;
        padding: 16px 14px;
    }

    body.home .wp-block-post-title {
        font-size: 1.2rem;
        line-height: 1.25;
    }

    body.home .entry-content,
    body.home .entry-content > *,
    body.home [class*="kb-row-layout-id"] > .kt-row-column-wrap,
    body.home .wp-block-kadence-column,
    body.home .kt-inside-inner-col,
    body.home .kt-row-column-wrap,
    body.home .wp-block-query,
    body.home .wp-block-post-template,
    body.home .wp-block-post {
        max-width: 100%;
        min-width: 0;
    }

    body.home [class*="kb-row-layout-id"] > .kt-row-column-wrap {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    body.home .wp-block-post-title,
    body.home .wp-block-post-title a,
    body.home .wp-block-post-excerpt,
    body.home .wp-block-post-excerpt__excerpt,
    body.home .ultp-block-title,
    body.home .ultp-block-title a,
    body.home .ultp-block-excerpt,
    body.home .ultp-block-excerpt p {
        overflow-wrap: anywhere;
        white-space: normal;
    }

    body.home .wp-block-post-template {
        padding-left: 0;
    }

    body.home .wp-block-query .wp-block-post-featured-image,
    body.home .wp-block-query .wp-block-post-featured-image img {
        width: 100%;
    }

    body.home .ultp-heading-wrap .ultp-heading-inner span {
        padding: 8px 12px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.home *,
    body.home *::before,
    body.home *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }
}
