/* =========================================================
   Overtminds Process Steps
   Structural / fallback styles only
========================================================= */

.overtminds-process-steps {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}


/* =========================================================
   Header
========================================================= */

.overtminds-process-header {
    width: 100%;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 90px;
    text-align: center;
    box-sizing: border-box;
}

.overtminds-process-label {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.overtminds-process-heading {
    display: block;
    box-sizing: border-box;
}

.overtminds-process-description {
    display: block;
    max-width: 690px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}


/* =========================================================
   Main Body
========================================================= */

.overtminds-process-body {
    position: relative;

    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
    gap: 90px;

    align-items: center;

    width: 100%;
    box-sizing: border-box;
}


/* =========================================================
   Timeline
========================================================= */

.overtminds-process-timeline {
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.overtminds-process-step {
    position: relative;

    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    column-gap: 28px;

    align-items: start;

    width: 100%;
    box-sizing: border-box;
}

.overtminds-process-step:not(:last-child) {
    padding-bottom: 56px;
}


/* =========================================================
   Marker / Number Circle
========================================================= */

.overtminds-process-step-marker {
    position: relative;

    display: flex;
    justify-content: center;
    align-items: flex-start;

    min-width: 0;
    box-sizing: border-box;
}

.overtminds-process-step-number {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 52px;
    height: 52px;
    flex: 0 0 52px;

    border: 1px solid #d6a737;
    border-radius: 50%;

    background-color: #ffffff;

    line-height: 1;

    box-sizing: border-box;
}


/* =========================================================
   Vertical Timeline Line
========================================================= */

.overtminds-process-step:not(:last-child)
.overtminds-process-step-marker::after {
    content: "";

    position: absolute;
    z-index: 1;

    top: 52px;
    bottom: -56px;
    left: 50%;

    width: 1px;

    background-color: #d6a737;

    transform: translateX(-50%);
}


/* =========================================================
   Step Content
========================================================= */

.overtminds-process-step-content {
    min-width: 0;
    box-sizing: border-box;
}

.overtminds-process-step-title {
    display: block;

    margin-top: 0;
    margin-bottom: 12px;

    box-sizing: border-box;
}

.overtminds-process-step-description {
    display: block;

    max-width: 520px;
    margin: 0;

    box-sizing: border-box;
}


/* =========================================================
   Image
========================================================= */

.overtminds-process-image-wrap {
    position: relative;

    width: 100%;
    max-width: 520px;

    margin-left: auto;

    box-sizing: border-box;
    overflow: hidden;
}

.overtminds-process-image {
    display: block;

    width: 100%;
    height: 650px;
    max-width: 100%;

    object-fit: cover;
    object-position: center center;

    box-sizing: border-box;
}


/* =========================================================
   Header → Step 1 Connector
========================================================= */

/* Vertical line above first circle */
.overtminds-process-body::before {
    content: "";

    position: absolute;
    z-index: 1;

    left: 29px;
    top: -45px;

    width: 1px;
    height: 20%;

    background-color: #d6a737;
}


/* Horizontal line + end turn */
.overtminds-process-body::after {
    content: "";

    position: absolute;
    z-index: 1;

    left: 29px;
    top: -67px;

    width: 135px;
    height: 22px;

    border-right: 1px solid #d6a737;
    border-bottom: 1px solid #d6a737;

    background: transparent;

    box-sizing: border-box;
}


/* =========================================================
   Tablet
========================================================= */

@media (max-width: 1024px) {

    .overtminds-process-body {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .overtminds-process-image-wrap {
        max-width: 100%;
    }

    .overtminds-process-image {
        height: auto;
        min-height: 0;
    }
}


/* =========================================================
   Mobile
========================================================= */

@media (max-width: 767px) {

    .overtminds-process-header {
        width: 100%;
        max-width: 100%;
        margin-bottom: 60px;
    }

    .overtminds-process-body {
        display: flex;
        flex-direction: column;
        gap: 50px;
    }

    .overtminds-process-timeline {
        width: 100%;
    }

    .overtminds-process-step {
        grid-template-columns: 48px minmax(0, 1fr);
        column-gap: 18px;
    }

    .overtminds-process-step-number {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .overtminds-process-step:not(:last-child)
    .overtminds-process-step-marker::after {
        top: 42px;
    }

    .overtminds-process-image-wrap {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
    }

    .overtminds-process-image {
        width: 100%;
        height: auto;
        min-height: 0;
    }

    .overtminds-process-body::before,
    .overtminds-process-body::after {
        display: none;
    }
}