/* Gutenberg-native homepage adapters. Editorial content lives in Home (page ID 34). */
.ck-home-refresh .entry-content > .wp-block-group.ck-home,
.editor-styles-wrapper .wp-block-group.ck-home {
    width: 100%;
    max-width: none;
    margin: 0;
}

.editor-styles-wrapper .ck-home {
    max-width: none !important;
}

.ck-home > .wp-block-group,
.ck-home .wp-block-group,
.ck-home .wp-block-buttons,
.ck-home .wp-block-image {
    margin-top: 0;
    margin-bottom: 0;
}

.ck-home .ck-home-button {
    display: block;
}

.ck-home .ck-home-button .wp-block-button__link {
    display: inline-flex;
    min-height: 48px;
    padding: 13px 22px;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.ck-home .ck-home-button .wp-block-button__link:hover {
    transform: translateY(-2px);
}

.ck-home .ck-home-button--primary .wp-block-button__link {
    color: #fff;
    background: var(--ck-home-navy);
    box-shadow: 0 12px 24px rgba(23, 63, 104, .18);
}

.ck-home .ck-home-button--secondary .wp-block-button__link {
    border-color: var(--ck-home-line);
    color: var(--ck-home-navy);
    background: rgba(255, 255, 255, .8);
}

.ck-home .ck-home-button--light .wp-block-button__link {
    color: var(--ck-home-navy);
    background: #fff;
}

.ck-home .ck-home-button--orange .wp-block-button__link {
    color: #fff;
    background: var(--ck-home-orange);
}

.ck-home-hero-tile.wp-block-cover {
    padding: 0;
}

.ck-home-hero-tile > .wp-block-cover__background {
    z-index: 0;
    opacity: 1;
    background: linear-gradient(180deg, rgba(6, 25, 42, .02) 32%, rgba(6, 25, 42, .84) 100%);
}

.ck-home-hero-tile > .wp-block-cover__inner-container {
    z-index: 1;
    display: flex;
    width: 100%;
    min-height: inherit;
    align-items: flex-end;
}

.ck-home-hero-tile__content h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(27px, 2.5vw, 40px);
    line-height: 1.08;
}

.ck-home-hero-tile__content p:not(.ck-home-tile-link) {
    max-width: 360px;
    margin: 0;
    color: rgba(255,255,255,.83);
    font-size: 14px;
    line-height: 1.55;
}

.ck-home-hero-tile__content .ck-home-tile-link {
    margin: 5px 0 0;
}

.ck-home-hero-tile__content .ck-home-tile-link a,
.ck-home-bento__copy .ck-home-tile-link a {
    color: inherit;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.ck-home-proof > .wp-block-group {
    display: grid;
    padding: 4px 22px;
    gap: 3px;
    border-right: 1px solid var(--ck-home-line);
}

.ck-home-proof > .wp-block-group:last-child {
    border-right: 0;
}

.ck-home-proof h3 {
    margin: 0;
    color: var(--ck-home-navy);
    font-size: 18px;
}

.ck-home-proof p {
    margin: 0;
    color: var(--ck-home-muted);
    font-size: 13px;
    line-height: 1.45;
}

.ck-home-section__heading > .wp-block-group > h2 {
    margin-bottom: 0;
}

.ck-home-bento__tile > .wp-block-image {
    position: absolute;
    z-index: -1;
    right: 2%;
    bottom: 4%;
    width: 64%;
    height: 78%;
    transition: transform .35s ease;
}

.ck-home-bento__tile > .wp-block-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ck-home-bento__tile:hover > .wp-block-image {
    transform: rotate(1.5deg) scale(1.04);
}

.ck-home-bento__copy h3 {
    margin: 0;
    color: var(--ck-home-navy);
    font-size: clamp(22px, 2vw, 31px);
    line-height: 1.12;
}

.ck-home-bento__copy p:not(.ck-home-tile-link) {
    margin: 0;
    color: var(--ck-home-muted);
    font-size: 14px;
    line-height: 1.55;
}

.ck-home-bento__copy .ck-home-tile-link {
    margin: 5px 0 0;
    color: var(--ck-home-blue);
}

.ck-home-bento__tile--diamond > .wp-block-image {
    width: 72%;
    height: 76%;
}

.ck-home-section__heading--products > .wp-block-group > h2 {
    margin-bottom: 0;
}

.ck-home-section__heading--products > p {
    margin: 0 0 7px;
}

.ck-home-section__heading--products > p a {
    color: var(--ck-home-blue);
    font-size: 15px;
    font-weight: 800;
}

.ck-home-finder > p {
    margin: 0 4px 0 0;
    color: var(--ck-home-muted);
    font-size: 14px;
    font-weight: 700;
}

.ck-home-finder > .wp-block-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.ck-home-filter-button .wp-block-button__link {
    min-height: 40px;
    padding: 9px 15px;
    border: 1px solid var(--ck-home-line);
    border-radius: 999px;
    color: var(--ck-home-navy);
    background: #fff;
    font-size: 13px;
    font-weight: 750;
}

.ck-home-filter-button .wp-block-button__link[aria-pressed="true"] {
    border-color: var(--ck-home-navy);
    color: #fff;
    background: var(--ck-home-navy);
}

.ck-home-process > .wp-block-group {
    display: grid;
    min-height: 170px;
    padding: 23px;
    border: 1px solid var(--ck-home-line);
    border-radius: 18px;
    background: #fff;
    grid-template-columns: auto 1fr;
    gap: 14px;
}

.ck-home-process__number {
    display: grid;
    width: 39px;
    height: 39px;
    margin: 0;
    border-radius: 50%;
    color: var(--ck-home-navy);
    background: var(--ck-home-yellow);
    place-items: center;
    font-size: 12px;
    font-weight: 850;
}

.ck-home-process__copy h3 {
    margin: 5px 0 8px;
    color: var(--ck-home-navy);
    font-size: 17px;
}

.ck-home-process__copy p {
    margin: 0;
    color: var(--ck-home-muted);
    font-size: 13px;
    line-height: 1.55;
}

.ck-home-final-cta > .wp-block-group > h2 {
    margin-bottom: 0;
}

.ck-home-final-cta > .wp-block-group > p:not(.ck-home-eyebrow) {
    max-width: 720px;
    margin: 17px 0 0;
    color: rgba(255,255,255,.78);
    line-height: 1.65;
}

.ck-home-final-cta > .ck-home-actions {
    justify-content: flex-end;
}

.ck-home .wp-block-button__link:focus-visible,
.ck-home a:focus-visible,
.ck-home button:focus-visible {
    outline: 3px solid var(--ck-home-yellow);
    outline-offset: 3px;
}

@media (max-width: 1050px) {
    .ck-home-proof > .wp-block-group:nth-child(2) {
        border-right: 0;
    }
    .ck-home-proof > .wp-block-group:nth-child(n+3) {
        padding-top: 16px;
        border-top: 1px solid var(--ck-home-line);
    }
}

@media (max-width: 760px) {
    .ck-home .ck-home-button,
    .ck-home .ck-home-button .wp-block-button__link {
        width: 100%;
    }
    .ck-home-hero-tile > .wp-block-cover__inner-container {
        min-height: 335px;
    }
    .ck-home-proof > .wp-block-group,
    .ck-home-proof > .wp-block-group:nth-child(n+3) {
        padding: 12px 6px;
        border-top: 1px solid var(--ck-home-line);
        border-right: 0;
    }
    .ck-home-proof > .wp-block-group:first-child {
        border-top: 0;
    }
    .ck-home-bento__tile > .wp-block-image,
    .ck-home-bento__tile--diamond > .wp-block-image {
        width: 67%;
        height: 68%;
    }
    .ck-home-finder > .wp-block-buttons {
        overflow-x: auto;
        padding-bottom: 7px;
        flex-wrap: nowrap;
        scrollbar-width: thin;
    }
    .ck-home-filter-button {
        flex: 0 0 auto;
    }
    .ck-home-process > .wp-block-group {
        min-height: 0;
    }
    .ck-home-final-cta > .ck-home-actions {
        justify-content: stretch;
    }
}
