.sg-84331078-wrapper {
    display: grid;
    /* Grid columns and gap managed by Elementor controls */
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.sg-84331078-card {
    position: relative;
    overflow: hidden;
    /* Glassmorphism managed mostly via controls, defaults here as backup */
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    min-height: 250px;
    cursor: pointer;
    border-radius: 15px;
    padding: 15px; /* outer padding to allow frame to sit inside */
    transform: perspective(1000px);
    transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.sg-84331078-card-inner {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center; /* managed by control */
    padding: 25px 15px;
    /* This creates the inner frame wrap */
    border: 2px solid rgba(255, 255, 255, 0.6); 
    border-radius: inherit;
    box-sizing: border-box;
    position: relative;
    z-index: 3;
}

.sg-84331078-card-bg {
    position: absolute;
    inset: -1px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    z-index: 1;
    transition: opacity 0.5s ease, transform 0.5s ease;
    border-radius: inherit;
}

.sg-84331078-card-overlay {
    position: absolute;
    inset: -1px;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 2;
    border-radius: inherit;
}

.sg-84331078-card:hover .sg-84331078-card-bg,
.sg-84331078-card:hover .sg-84331078-card-overlay {
    opacity: 1;
}

.sg-84331078-card-content {
    text-align: center; /* managed by control */
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center; /* managed by control */
    width: 100%;
}

.sg-84331078-card:hover .sg-84331078-card-content {
    transform: translateY(-5px);
}

.sg-84331078-icon i,
.sg-84331078-icon svg {
    transition: color 0.5s ease, fill 0.5s ease;
    display: inline-block;
}

.sg-84331078-title {
    margin: 0 0 10px 0;
    transition: color 0.5s ease;
}

.sg-84331078-separator {
    width: 40px;
    height: 2px;
    background-color: rgba(0, 0, 0, 0.1);
    margin: 10px 0 15px 0;
    transition: background-color 0.5s ease, width 0.3s ease;
}

.sg-84331078-card-content[style*="text-align: left"] .sg-84331078-separator,
.sg-84331078-card-content[style*="text-align: left;"] .sg-84331078-separator {
    margin-left: 0;
}
.sg-84331078-card-content[style*="text-align: right"] .sg-84331078-separator,
.sg-84331078-card-content[style*="text-align: right;"] .sg-84331078-separator {
    margin-right: 0;
}
.sg-84331078-card-content[style*="text-align: center"] .sg-84331078-separator,
.sg-84331078-card-content[style*="text-align: center;"] .sg-84331078-separator {
    margin: 10px auto 15px auto;
}

.sg-84331078-card:hover .sg-84331078-separator {
    width: 60px;
}

.sg-84331078-desc {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    transition: color 0.5s ease;
}

@media (max-width: 767px) {
    .sg-84331078-wrapper {
        grid-template-columns: 1fr !important;
    }
}