.single .primary, .page .primary {
    width: 100%;
    max-width: unset;
    margin: 0 auto;
}

.ai-generated-recipe {
    border: 1px solid #ddd;
    padding: 22px;
    border-radius: 6px;
}

.ai-generated-recipe h2 {
    margin-bottom: 20px;
    color: inherit;
    font-size: 26px;
    font-weight: 600 !important;
}

.ai-generated-recipe .ingredients-list ul {
    margin-left: 0;
    padding-left: 0;
}

.ai-generated-recipe .ingredients-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    margin-left: 0;
    font-size: 18px;
    list-style: none !important;
}

.ai-generated-recipe .ingredients-list li::before {
    position: absolute;
    top: 10px;
    left: 5px;
    display: block;
    color: var(--primary-color);
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
}

.ai-generated-recipe .instructions-list ul {
    margin: 0;
    margin-top: 25px;
}

.ai-generated-recipe .instructions-list ul li {
    position: relative;
    margin: 0;
    padding-left: 60px;
    list-style-type: none !important;
    counter-increment: step-counter;
    font-size: 18px;
    display: flex;
    align-items: flex-start;
    line-height: 1.5;
    padding-top: 7px;
}

.ai-generated-recipe .instructions-list ul li .instruction-text {
    width: 100%;
    text-align: left;
    margin-bottom: 20px;
}

.ai-generated-recipe .instructions-list ul li::before {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    height: auto;
    width: 50px;
    background: none;
    content: counter(step-counter);
    color: var(--primary-color);
    font-family: var(--heading-font);
    font-size: 36px;
    font-weight: 600;
    text-align: center;
    line-height: 1;
    white-space: nowrap;
}