.paragraph--type--stepbystep {
    margin: 1.5rem auto 2.5rem;
    width: 95%;
    max-width: var(--w-xlarge);
}
@media (max-width: 47.9375rem) {
    .paragraph--type--stepbystep {
        width: calc(100% - 1rem);
    }
}
@media (min-width: 48rem) {
    .paragraph--type--stepbystep {
        width: var(--w-small);
        margin: 3rem auto 5rem;
    }
}
@media (min-width: 64rem) {
    .paragraph--type--stepbystep {
        width: var(--w-medium);
    }
}
@media (min-width: 75rem) {
    .paragraph--type--stepbystep {
        width: var(--w-large);
    }
}
@media (min-width: 92rem) {
    .paragraph--type--stepbystep {
        width: var(--w-xlarge);
    }
}

.paragraph--type--stepbystep .field--name-field-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
@media (min-width: 48rem) {
    .paragraph--type--stepbystep .field--name-field-items {
        gap: 1.5rem;
    }
}
  
.paragraph--type--stepbystep-item {
    padding: 2rem;
    background-color: var(--c-white);
    box-shadow: var(--box-shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
@media (min-width: 48rem) {
    .paragraph--type--stepbystep-item {
        padding: 3rem;
        display: grid;
        grid-template-columns: 3.875rem 1fr;
        align-items: flex-start;
        gap: 2.5rem;
    }
}

.paragraph--type--stepbystep-item > div {
    display: flex;
    text-align: center;
    align-items: center;
    flex-direction: column;
}
@media (min-width: 48rem) {
    .paragraph--type--stepbystep-item > div {
        align-items: flex-start;
        text-align: left;
    }
}

.paragraph--type--stepbystep-item > div > h3 {
    font-size: 1.25rem;
    margin-top: 0;
}
@media (min-width: 48rem) {
    .paragraph--type--stepbystep-item > div > h3 {
        font-size: 1.5rem;
    }
}

.paragraph--type--stepbystep-item .field--name-field-number {
    width: 3.875rem;
    height: 3.875rem;
    border: 1px solid var(--c-gray);
    border-radius: 1.93785rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.875rem;
    font-family: Arial, Helvetica, sans-serif;
}

.paragraph--type--stepbystep-item .readmore {
    color: var(--c-white);
    border: 1px solid var(--c-primary);
    background-color: var(--c-primary);
    font-size: 1rem;
    font-weight: var(--f-base);
    display: flex;
    align-items: center;
    margin-top: 1rem;
    width: fit-content;
    padding: 1.125rem 1.5rem;
}

.paragraph--type--stepbystep-item .readmore::after {
    content: '';
    background: url("../../images/icons/readmore.svg");
    margin-left: 0.5rem;
    width: 18px;
    height: 11px;
    background-size: 18px 11px;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.8;
}

.paragraph--type--stepbystep-item .readmore:hover {
    color: var(--c-primary);
    text-decoration: none;
    background-color: initial;
}

.paragraph--type--stepbystep-item .readmore:hover::after {
    background: url('../../images/icons/readmore_red.svg');
    margin-left: 0.5rem;
    width: 18px;
    height: 11px;
    background-size: 18px 11px;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.8;
}

@media (max-width: 47.9375rem) {
    body .paragraph--type--stepbystep {
        width: 100%;
    }
}