.sc-wrapper-f5a54ea4 {
    --sticky-top-base: 100px;
    display: flex;
    flex-direction: column;
    gap: 40px; /* Default gap, can be overridden by Elementor controls */
    position: relative;
    padding-bottom: 40px;
}

.sc-card-f5a54ea4 {
    display: flex;
    background-color: #F8F6F0;
    border-radius: 20px;
    overflow: hidden;
    min-height: 500px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

/* Stacking effect applied only on Desktop (>= 992px) */
@media (min-width: 992px) {
    .sc-card-f5a54ea4 {
        position: sticky;
        top: calc(var(--sticky-top-base) + (var(--card-index) * 20px));
    }
}

.sc-card-content-f5a54ea4 {
    flex: 1; /* 50% width */
    width: 50%;
    padding: 60px; /* Default padding */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Image container */
.sc-card-image-wrap-f5a54ea4 {
    flex: 1; /* 50% width */
    width: 50%;
    position: relative;
    padding: 0; /* Default padding, can be overridden by Elementor controls */
    display: flex;
}

/* The actual image inside the container taking full height and cover */
.sc-card-image-wrap-f5a54ea4 img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0; 
}

.sc-title-f5a54ea4 {
    font-size: 32px;
    font-weight: 700;
    color: #222;
    margin-bottom: 20px;
}

.sc-desc-f5a54ea4 {
    color: #555;
    margin-bottom: 30px;
    line-height: 1.6;
}

.sc-subtitle-f5a54ea4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.sc-tags-f5a54ea4 {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.sc-tag-item-f5a54ea4 {
    display: inline-flex;
    align-items: center;
    background: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    transition: transform 0.2s;
}

.sc-tag-item-f5a54ea4:hover {
    transform: translateY(-2px);
    color: #333;
}

.sc-tag-icon-f5a54ea4 {
    width: 12px;
    height: 12px;
    background-color: #588b9c;
    border-radius: 50%;
    margin-right: 10px;
}

.sc-btn-f5a54ea4 {
    display: inline-block;
    background-color: #d8b257;
    color: #fff;
    padding: 15px 35px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    align-self: flex-start;
    transition: background-color 0.3s;
}

.sc-btn-f5a54ea4:hover {
    background-color: #c49f4c;
    color: #fff;
}

/* Tablet & Mobile Adjustments */
@media (max-width: 991px) {
    .sc-card-f5a54ea4 {
        flex-direction: column;
        min-height: auto;
    }
    .sc-card-content-f5a54ea4,
    .sc-card-image-wrap-f5a54ea4 {
        width: 100%;
        flex: none;
    }
    .sc-card-content-f5a54ea4 {
        padding: 40px;
    }
    .sc-card-image-wrap-f5a54ea4 {
        min-height: 300px;
    }
}
