.ui.header.workflow-step {
    text-transform: uppercase;
    font-weight: normal !important;
    font-size: 1em !important;
}

.ui.header.workflow-step .sub.header {
    text-transform: capitalize !important;
    font-weight: bold !important;
    font-size: 1.4em !important;
}

.zoom-thumb {
    position: relative;
    display: inline-block;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    overflow: hidden; /* clips the image to the rounded corners */
    line-height: 0; /* removes the small gap under inline images */
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.zoom-thumb img {
    display: block;
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

/* The icon overlay */
.zoom-badge {
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 16px;
    line-height: 1;
    pointer-events: none; /* clicks pass through to the link */
    transition: background 0.2s ease, transform 0.2s ease;
}

.zoom-badge .icon {
    margin: 0; /* Fomantic adds side margins to icons */
}

/* Hover effects */
.zoom-thumb:hover {
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
    transform: translateY(-2px);
}

.zoom-thumb:hover img {
    transform: scale(1.03);
}

.zoom-thumb:hover .zoom-badge {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

@media (max-width: 767px) {
    .ui.segment.feature.stripe.alternate.workflow > .ui.grid > .ui.column:first-child {
        order: 2 !important;
    }

    .ui.segment.feature.stripe.alternate.workflow > .ui.grid > .ui.column:last-child {
        order: 1;
    }
}
