/* ==== English (LTR) Default Styles ==== */

.method-title {
    text-align: left;
}

.ingredients-title,
.steps-title {
    text-align: left;
}

.ingredients-title::after,
.steps-title::after {
    margin-left: 0;
    margin-right: auto;
}

.ingredients-section ul,
.steps-section ol {
    padding-left: 1.5rem;
    padding-right: 0;
    text-align: left;
}

@media (min-width: 1200px) {
    .left-column-method {
        text-align: left;
    }

    .method-block:nth-child(odd) .left-column-method,
    .method-block:nth-child(even) .left-column-method {
        text-align: left;
    }

    .method-block:nth-child(even) .ingredients-title::after,
    .method-block:nth-child(even) .steps-title::after,
    .method-block:nth-child(odd) .ingredients-title::after,
    .method-block:nth-child(odd) .steps-title::after {
        margin-left: 0;
        margin-right: auto;
    }

    .method-block:nth-child(even) .ingredients-section ul,
    .method-block:nth-child(even) .steps-section ol,
    .method-block:nth-child(odd) .ingredients-section ul,
    .method-block:nth-child(odd) .steps-section ol {
        padding-left: 1.5rem;
        padding-right: 0;
        text-align: left;
    }
}

/* ==== Arabic (RTL) Specific Styles ==== */

[dir="rtl"] .method-block,
html[dir="rtl"] .method-block {
    direction: rtl;
}

[dir="rtl"] .method-title,
html[dir="rtl"] .method-title {
    text-align: right;
    padding: 0 1rem 0 0;
}

[dir="rtl"] .ingredients-title,
[dir="rtl"] .steps-title,
html[dir="rtl"] .ingredients-title,
html[dir="rtl"] .steps-title {
    text-align: right;
}

[dir="rtl"] .ingredients-title::after,
[dir="rtl"] .steps-title::after,
html[dir="rtl"] .ingredients-title::after,
html[dir="rtl"] .steps-title::after {
    margin-left: auto;
    margin-right: 0;
}

[dir="rtl"] .ingredients-section ul,
[dir="rtl"] .steps-section ol,
html[dir="rtl"] .ingredients-section ul,
html[dir="rtl"] .steps-section ol {
    padding-right: 1.5rem;
    padding-left: 0;
    text-align: right;
    direction: rtl;
}

[dir="rtl"] .green-bullets li,
html[dir="rtl"] .green-bullets li {
    text-align: right;
    direction: rtl;
}

@media (min-width: 1200px) {
    [dir="rtl"] .left-column-method,
    html[dir="rtl"] .left-column-method {
        text-align: right;
        border-left: none;
        padding: 2rem 1.5rem 2rem 2rem;
    }

    [dir="rtl"] .method-block:nth-child(even) .left-column-method,
    html[dir="rtl"] .method-block:nth-child(even) .left-column-method {
        text-align: right;
        margin-left: 0;
        margin-right: 1rem;
        padding: 2.5rem 1.5rem 2.5rem 2rem;
        border-left: none;
    }

    [dir="rtl"] .method-block:nth-child(odd) .left-column-method,
    html[dir="rtl"] .method-block:nth-child(odd) .left-column-method {
        text-align: right;
        border-left: none;
    }

    [dir="rtl"] .method-block:nth-child(even) .ingredients-title::after,
    [dir="rtl"] .method-block:nth-child(even) .steps-title::after,
    [dir="rtl"] .method-block:nth-child(odd) .ingredients-title::after,
    [dir="rtl"] .method-block:nth-child(odd) .steps-title::after,
    html[dir="rtl"] .method-block:nth-child(even) .ingredients-title::after,
    html[dir="rtl"] .method-block:nth-child(even) .steps-title::after,
    html[dir="rtl"] .method-block:nth-child(odd) .ingredients-title::after,
    html[dir="rtl"] .method-block:nth-child(odd) .steps-title::after {
        margin-left: auto;
        margin-right: 0;
    }

    [dir="rtl"] .method-block:nth-child(even) .ingredients-section ul,
    [dir="rtl"] .method-block:nth-child(even) .steps-section ol,
    [dir="rtl"] .method-block:nth-child(odd) .ingredients-section ul,
    [dir="rtl"] .method-block:nth-child(odd) .steps-section ol,
    html[dir="rtl"] .method-block:nth-child(even) .ingredients-section ul,
    html[dir="rtl"] .method-block:nth-child(even) .steps-section ol,
    html[dir="rtl"] .method-block:nth-child(odd) .ingredients-section ul,
    html[dir="rtl"] .method-block:nth-child(odd) .steps-section ol {
        padding-right: 1.5rem;
        padding-left: 0;
        text-align: right;
        direction: rtl;
    }
}
