/* Ensure the container has padding to prevent clipping the card when it lifts */
.service-card-wrapper-0c74e78f {
    padding-top: 10px;
    padding-bottom: 10px;
    width: 100%;
}

.sc-card-0c74e78f {
    position: relative;
    width: 100%;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    overflow: hidden; /* Helps contain image border radius */
    transition: transform 0.3s ease;
    transform: translateY(0);
}

/* Pseudo element for hover border without layout jumps */
.sc-card-0c74e78f::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit; /* Matches parent radius */
    border: 0 solid transparent;
    pointer-events: none;
    transition: border-color 0.3s ease, border-width 0.3s ease;
    z-index: 10;
}

.sc-card-0c74e78f:hover {
    transform: translateY(-6px);
}

/* Let the hover state activate the ::after border */
.sc-card-0c74e78f:hover::after {
    /* Color, style and width are applied via Elementor selectors */
}

/* Optional absolute link overlay to make the whole card clickable */
.sc-overlay-link-0c74e78f {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
}

.sc-badge-0c74e78f {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    z-index: 6;
    letter-spacing: 1px;
}

.sc-image-wrapper-0c74e78f {
    width: 100%;
    display: block;
}

.sc-image-wrapper-0c74e78f img {
    display: block;
    width: 100%;
    /* Height is set via Elementor control */
}

.sc-content-area-0c74e78f {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.sc-headline-0c74e78f {
    margin: 0 0 12px 0;
    padding: 0;
    font-weight: bold;
}

.sc-description-0c74e78f {
    margin: 0 0 20px 0;
    padding: 0;
}

.sc-divider-0c74e78f {
    width: 100%;
    margin: auto 0 20px 0; /* push to bottom area */
}

.sc-bottom-row-0c74e78f {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.sc-bottom-label-0c74e78f {
    text-transform: uppercase;
    font-weight: 300;
    font-size: 12px;
    letter-spacing: 1px;
}

.sc-cta-link-0c74e78f {
    text-decoration: none;
    font-style: italic;
    font-size: 18px;
    position: relative;
    z-index: 6; /* Needs to be above the overlay link if someone clicks exactly on it */
    transition: color 0.3s ease;
}
