.cbmg-card,.cbmg-platform-cards .cbmg-platform-card{position:relative;overflow:hidden;isolation:isolate;border-radius:var(--cbmg-radius);background:var(--cbmg-surface);border:1px solid var(--cbmg-border);box-shadow:var(--cbmg-shadow);transition:transform .28s ease, box-shadow .28s ease, border-color .28s ease}.cbmg-card:hover,.cbmg-platform-cards .cbmg-platform-card:hover{transform:translateY(-2px);box-shadow:var(--cbmg-shadow-hover);border-color:rgba(166,90,58,.35)}.cbmg-platform-cards,.cbmg-platform-cards *,.cbmg-platform-cards *::before,.cbmg-platform-cards *::after{box-sizing:border-box}.cbmg-platform-cards .elementor-image-box-wrapper{position:relative;overflow:hidden;border-radius:inherit}.cbmg-platform-cards img{display:inline-block;max-width:100%;height:auto!important;object-fit:contain!important;transition:transform .55s ease}.cbmg-platform-cards .cbmg-platform-card:hover img{transform:scale(1.025)}.cbmg-card-full-overlay .elementor-image-box-content,.cbmg-card-full-overlay .cbmg-card-content{position:absolute;inset:0;z-index:50;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:20px;background:#fff;border:1px solid var(--cbmg-border);border-radius:var(--cbmg-radius-sm);opacity:0;visibility:hidden;transform:translateY(10px) scale(.985);transition:opacity .3s ease,visibility .3s ease,transform .3s ease}.cbmg-card-full-overlay:hover .elementor-image-box-content,.cbmg-card-full-overlay:hover .cbmg-card-content{opacity:1;visibility:visible;transform:translateY(0) scale(1)}.cbmg-card-label-hover .elementor-image-box-content,.cbmg-card-label-hover .cbmg-card-content{position:absolute;left:12px;right:12px;bottom:14px;z-index:100;padding:10px 12px;text-align:center;background:#fff;border:1px solid var(--cbmg-border);border-radius:var(--cbmg-radius-sm);box-shadow:var(--cbmg-shadow);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .25s ease,visibility .25s ease}.cbmg-card-label-hover:hover .elementor-image-box-content,.cbmg-card-label-hover:hover .cbmg-card-content{opacity:1;visibility:visible}.cbmg-ripple{position:absolute;z-index:120;width:18px;height:18px;border-radius:999px;pointer-events:none;background:rgba(255,255,255,.55);transform:translate(-50%,-50%) scale(0);animation:cbmgRipple .65s ease-out forwards}@keyframes cbmgRipple{to{transform:translate(-50%,-50%) scale(18);opacity:0}}@media(max-width:767px){.cbmg-platform-cards .cbmg-platform-card:hover{transform:none}.cbmg-card-full-overlay .elementor-image-box-content,.cbmg-card-full-overlay .cbmg-card-content,.cbmg-card-label-hover .elementor-image-box-content,.cbmg-card-label-hover .cbmg-card-content{opacity:1;visibility:visible;transform:none}}


/* ============================================================
   CBMG DSE v1.0.5 — card overlays restored and stabilized
   ============================================================ */
.cbmg-platform-cards .cbmg-platform-card {
    position: relative;
    overflow: hidden;
}
.cbmg-platform-cards .cbmg-card-full-overlay,
.cbmg-platform-card .cbmg-card-full-overlay,
.cbmg-platform-card .elementor-image-box-content.cbmg-card-full-overlay {
    position: absolute !important;
    inset: 0 !important;
    z-index: 20 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    padding: 18px !important;
    background: #FFFFFF !important;
    color: var(--cbmg-primary) !important;
    border: 1px solid var(--cbmg-border) !important;
    border-radius: inherit !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(8px) scale(.985) !important;
    transition: opacity .25s ease, visibility .25s ease, transform .25s ease !important;
    pointer-events: none !important;
}
.cbmg-platform-cards .cbmg-platform-card:hover .cbmg-card-full-overlay,
.cbmg-platform-card:hover .cbmg-card-full-overlay,
.cbmg-platform-card:focus-within .cbmg-card-full-overlay {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) scale(1) !important;
}
.cbmg-platform-cards .cbmg-card-half-overlay,
.cbmg-platform-card .cbmg-card-half-overlay {
    position: absolute !important;
    left: 12px !important;
    right: 12px !important;
    bottom: 12px !important;
    z-index: 22 !important;
    min-height: 48% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 14px !important;
    background: #FFFFFF !important;
    color: var(--cbmg-primary) !important;
    border: 1px solid var(--cbmg-border) !important;
    border-radius: var(--cbmg-radius-sm) !important;
    box-shadow: var(--cbmg-shadow) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(8px) !important;
    transition: opacity .25s ease, visibility .25s ease, transform .25s ease !important;
    pointer-events: none !important;
}
.cbmg-platform-cards .cbmg-platform-card:hover .cbmg-card-half-overlay,
.cbmg-platform-card:hover .cbmg-card-half-overlay,
.cbmg-platform-card:focus-within .cbmg-card-half-overlay {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}
html[data-cbmg-mode="night"] .cbmg-platform-cards .cbmg-platform-card,
body.cbmg-night-mode .cbmg-platform-cards .cbmg-platform-card {
    background-color: inherit;
}
html[data-cbmg-mode="night"] .cbmg-card-full-overlay,
html[data-cbmg-mode="night"] .cbmg-card-half-overlay,
body.cbmg-night-mode .cbmg-card-full-overlay,
body.cbmg-night-mode .cbmg-card-half-overlay {
    background: #FFFFFF !important;
    color: var(--cbmg-primary) !important;
}
@media (hover: none) {
    .cbmg-platform-cards .cbmg-card-full-overlay,
    .cbmg-platform-card .cbmg-card-full-overlay,
    .cbmg-platform-cards .cbmg-card-half-overlay,
    .cbmg-platform-card .cbmg-card-half-overlay {
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }
}
