.ccm-card, .ccm-card * { box-sizing: border-box; }
.ccm-card {
    --ccm-ink: #101e31;
    --ccm-blue: #0646b4;
    color: var(--ccm-ink);
    background: linear-gradient(155deg, #fff 7%, #edf6fd 100%);
    border: 1px solid #b9d5ef;
    box-shadow: 0 5px 18px #143d6a24;
    font-family: inherit;
    line-height: 1.5;
    text-align: left;
    overflow-wrap: anywhere;
}
.ccm-card p, .ccm-card ul { margin: 0; padding: 0; }
.ccm-card img { display: block; object-fit: contain; }
.ccm-card svg { flex: 0 0 auto; }
.ccm-sidebar {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    padding: 14px;
    border-radius: 16px;
}
.ccm-sidebar .ccm-logo { width: 88px; height: auto; margin: 0 auto 12px; }
.ccm-hero { display: grid; grid-template-columns: minmax(0, 1fr) 38%; align-items: end; gap: 3px; }
.ccm-person { width: 100%; height: auto; }
.ccm-card .ccm-lead { color: var(--ccm-blue); font-weight: 800; font-size: 15px; margin-bottom: 4px; }
.ccm-card .ccm-title { font-size: 24px; font-weight: 800; line-height: 1.23; color: var(--ccm-ink); }
.ccm-card .ccm-title strong { color: var(--ccm-blue); }
.ccm-card .ccm-description { font-size: 14px; font-weight: 650; color: #172336; margin-top: 7px; }
.ccm-sidebar .ccm-description { line-height: 1.55; }
.ccm-sidebar-copy-part { display: inline-block; max-inline-size: 100%; }
.ccm-sidebar .ccm-features { display: grid; gap: 6px; list-style: none; margin: 12px 0 16px; }
.ccm-sidebar .ccm-features li {
    display: grid; align-items: center; grid-template-columns: 24px minmax(0, 1fr); gap: 10px;
    list-style: none; border-radius: 30px; background: #ffffffd9; padding: 7px 16px;
    font-weight: 750; font-size: 14px;
}
.ccm-features svg { color: #0878dc; }
.ccm-card .ccm-button {
    display: inline-flex; align-items: center; justify-content: center; gap: 4px;
    min-height: 46px; padding: 8px 14px; border-radius: 30px; line-height: 1.35;
    background: linear-gradient(180deg, #087ed2 0%, #075dc0 46%, #074095 100%); color: #fff !important;
    box-shadow: inset 0 -2px 0 #082c68; font-weight: 800; font-size: 15px; text-decoration: none;
    text-align: center;
}
.ccm-sidebar .ccm-button { width: 100%; }
.ccm-card .ccm-button svg { width: 17px; height: 17px; }
.ccm-card .ccm-button:hover { background: #0646a0; }
.ccm-card :focus-visible { outline: 3px solid #075dc0; outline-offset: 3px; }
.ccm-card.ccm-floating {
    position: fixed; z-index: 998; left: var(--ccm-card-left, 50%); transform: translateX(-50%);
    bottom: calc(14px + env(safe-area-inset-bottom, 0px) + var(--ccm-footer-offset, 0px));
    width: min(1040px, var(--ccm-card-width, calc(100% - 28px))); max-width: 100%;
    display: block; padding: 0; border-radius: 22px; container-type: inline-size;
    animation: ccm-appear .25s ease-out;
}
.ccm-card.ccm-floating[hidden] { display: none !important; }
.ccm-card.ccm-measuring { visibility: hidden !important; pointer-events: none !important; animation: none !important; }
.ccm-floating-layout {
    display: grid; grid-template-columns: auto minmax(0, auto) auto 44px;
    align-items: center; justify-content: center;
    gap: clamp(8px, 1.35cqw, 16px); min-height: 82px; padding: 9px 10px 9px 16px;
}
.ccm-floating .ccm-logo { width: clamp(32px, 4.4cqw, 46px); height: auto; }
.ccm-floating .ccm-copy { border-left: 1px solid #91a6b8; padding-left: 13px; }
.ccm-floating .ccm-title { font-size: clamp(16px, 2.15cqw, 23px); text-wrap: balance; }
.ccm-floating .ccm-title strong { white-space: nowrap; }
.ccm-floating .ccm-description { font-size: clamp(13px, 1.55cqw, 16px); margin-top: 4px; }
.ccm-floating .ccm-actions { display: flex; align-items: center; gap: clamp(6px, 1.2cqw, 13px); }
.ccm-floating .ccm-button { font-size: clamp(14px, 1.85cqw, 19px); padding-inline: clamp(9px, 1.9cqw, 20px); }
.ccm-floating .ccm-phone {
    display: inline-flex; align-items: center; gap: 4px; min-height: 44px;
    padding: 0 0 0 11px; border-left: 1px solid #91a6b8;
    color: var(--ccm-blue) !important; font-size: clamp(15px, 1.9cqw, 20px); font-weight: 800;
    text-decoration: none; white-space: nowrap;
}
.ccm-phone svg { width: 18px; height: 18px; }
.ccm-card .ccm-close {
    position: static; display: grid; place-items: center; justify-self: end;
    min-width: 44px; min-height: 44px; padding: 0; border: 0; border-radius: 50%;
    background: transparent; color: #33485f; cursor: pointer;
}
.ccm-card .ccm-close:hover { background: #dbe9f5; }
.ccm-close svg { width: 17px; height: 17px; }
@keyframes ccm-appear { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .ccm-card.ccm-floating { animation: none; } }
@media (max-width: 959px) {
    #fix_sidebar .ccm-sidebar { display: none; }
}
@media (max-width: 1000px) {
    #post_container .ccm-sidebar { display: none; }
}
/* Follow PANDORA 1.2's two distinct side-by-side breakpoints. */
:is(body.sidebar_right, body.sidebar_both) { --ccm-pandora-sticky-top: 85px; }
:is(body.sidebar_right, body.sidebar_both).admin-bar {
    --ccm-pandora-sticky-top: calc(85px + var(--wp-admin--admin-bar--height, 32px));
}
@media (width > 1000px) {
    body.sidebar_right #post_container > aside.l-sidebar.sub > .p-widget-list:has(> #comperu_cta_article_right-1:only-child) {
        height: auto; position: sticky; top: var(--ccm-pandora-sticky-top);
    }
    body.sidebar_right #post_container > aside.l-sidebar.sub > .p-widget-list:has(> #comperu_cta_article_right-1:not(:only-child)) {
        display: flex; flex-direction: column; align-items: stretch;
    }
    body.sidebar_right #post_container > aside.l-sidebar.sub > .p-widget-list > #comperu_cta_article_right-1:not(:only-child) {
        position: sticky; top: var(--ccm-pandora-sticky-top);
    }
}
@media (width > 1380px) {
    body.sidebar_both #post_container > aside.l-sidebar.sub > .p-widget-list:has(> #comperu_cta_article_right-1:only-child) {
        height: auto; position: sticky; top: var(--ccm-pandora-sticky-top);
    }
    body.sidebar_both #post_container > aside.l-sidebar.sub > .p-widget-list:has(> #comperu_cta_article_right-1:not(:only-child)) {
        display: flex; flex-direction: column; align-items: stretch;
    }
    body.sidebar_both #post_container > aside.l-sidebar.sub > .p-widget-list > #comperu_cta_article_right-1:not(:only-child) {
        position: sticky; top: var(--ccm-pandora-sticky-top);
    }
}
.ccm-floating-visible #page-top,
.ccm-floating-visible #wpfront-scroll-top-container.show { bottom: var(--ccm-stack) !important; }
@media (max-width: 767px) {
    .ccm-card.ccm-floating {
        bottom: calc(8px + env(safe-area-inset-bottom, 0px) + var(--ccm-footer-offset, 0px)); width: calc(100% - 16px);
        border-radius: 17px;
    }
}
@container (max-width: 690px) {
    .ccm-floating-layout {
        grid-template-columns: 26px minmax(0, 1fr) 44px;
        gap: 1px 7px; padding: 5px 8px 7px; justify-content: normal; min-height: 0;
    }
    .ccm-floating .ccm-logo { width: 26px; height: 26px; grid-area: 1 / 1; }
    .ccm-floating .ccm-copy { display: contents; }
    .ccm-floating .ccm-title { grid-area: 1 / 2; font-size: 14px; line-height: 1.3; }
    .ccm-floating .ccm-description { grid-column: 1 / -1; grid-row: 2; font-size: 12px; margin: 0; text-align: center; }
    .ccm-floating .ccm-actions { grid-column: 1 / -1; grid-row: 3; justify-content: center; gap: 7px; flex-wrap: wrap; }
    .ccm-floating .ccm-button { min-height: 44px; font-size: 14px; padding-inline: 8px; }
    .ccm-floating .ccm-phone { font-size: 14px; padding-left: 7px; }
    .ccm-floating .ccm-close { grid-area: 1 / 3; }
}
@container (max-width: 340px) {
    .ccm-floating .ccm-title-intro { display: block; }
}
