/**
 * Recipe Post Styles for Recipes Theme
 * Based on the sssrecipe-template design
 */

:root {
    /* Article colors */
    --mo-article: #ffffff;
    --mo-on-article: #000;
    --mo-article-any: #2d5942 !important; /* Force green color for vertical bar */
    --mo-on-article-any: #fff;
    --mo-on-article-heading: #000;
    --mo-article-dt: #dfdfdf94;
    --mo-on-article-dt: #2d5942;
    --mo-article-note: #e7efec;
    --mo-on-article-note: #0f2118;
    --mo-on-article-link: #0041af;
    --mo-on-article-link-accent: #f5533d;

    /* Action button colors */
    --mo-action-border: #333;
    --mo-action-text: #333;
    --mo-action-bg: #fff;
    --mo-action-hover-bg: #333;
    --mo-action-hover-text: #fff;
    --mo-pinterest-color: #E60023;

    /* Font settings - from Twenty Twenty-Four theme */
    --mo-font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --mo-font-size: 1.2rem;
    --mo-line-height: 1.6;
    --mo-icon-dimen: 1em;

    /* Heading font settings - from Twenty Twenty-Four theme */
    --mo-heading-font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --mo-heading-color: #000000;
    --mo-heading-weight: 700;

    /* Spacing */
    --mo-space: 3.2rem;
    --mo-gap: 1.6rem;
    --mo-spacing: 1rem;
}

/* Landing section styles */
.landing {
    color: var(--mo-on-landing);
    position: relative;
}

.landing::before {
    content: "";
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: -1;
    background: var(--mo-landing);
    height: 100%;
}

.landing .landing__wrapper {
    padding-block: var(--mo-space);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--mo-gap);
}

.landing .landing__wrapper:not(:has(.landing__media)) {
    grid-template-columns: 1fr;
}

.landing .landing__wrapper .landing__media {
    display: flex;
    justify-content: end;
    align-items: center;
}

.landing .landing__wrapper .landing__media img {
    aspect-ratio: 1/1;
    height: auto;
    object-fit: cover;
    width: 100%;
    max-width: 300px;
    background-color: var(--mo-landing);
    border: 8px solid rgba(0,0,0,.1490196078);
    border-radius: 54% 46% 46% 54%/58% 56% 44% 42%;
    outline: 1px dashed;
}

.landing .landing__wrapper .landing__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--mo-gap);
    grid-column: span 2;
}

.landing .landing__wrapper .landing__content .landing__title {
    color: var(--mo-on-landing-title);
}

.landing .landing__wrapper .landing__content a {
    color: var(--mo-on-landing-link);
    font-weight: 700;
}

.landing .landing__wrapper .landing__content a:hover {
    color: var(--mo-on-landing-link-accent);
}

@media (max-width: 1024px) {
    .landing .landing__wrapper {
        grid-template-columns: 1fr;
    }
    .landing .landing__wrapper .landing__content {
        grid-column: span 1;
    }
    .landing .landing__wrapper .landing__media {
        align-items: center;
        justify-content: center;
    }
    .landing .landing__wrapper .landing__media img {
        max-width: 260px;
    }
}

/* Breadcrumb styles */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: calc(var(--mo-spacing) / 4);
    padding: 0;
    position: relative;
    margin: 0;
}

.breadcrumb .breadcrumb__item {
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: bold;
    list-style: none;
}

.breadcrumb .breadcrumb__item:not(:last-child)::after {
    content: var(--mo-breadcrumb-delimiter);
    padding: 0 calc(var(--mo-spacing) / 2);
}

/* Action buttons */
.actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
}

.actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    border: 1px solid var(--mo-action-border) !important;
    color: var(--mo-action-text) !important;
    background: var(--mo-action-bg) !important;
    font-weight: 600 !important;
    border-radius: 4px !important;
    padding: 10px 15px !important;
    transition: all .2s ease !important;
    cursor: pointer;
    font-size: 0.9rem;
    min-width: 100px;
}

.actions a:hover {
    background: var(--mo-action-hover-bg) !important;
    color: var(--mo-action-hover-text) !important;
}

.actions a svg {
    width: 16px;
    height: 16px;
    margin-right: 6px;
}

/* Pinterest button specific styling */
.actions a.pin-it-button,
.actions a.pinterest-save {
    background-color: transparent !important;
    border-color: var(--mo-action-border) !important;
    color: var(--mo-action-text) !important;
}

.actions a.pin-it-button:hover,
.actions a.pinterest-save:hover {
    background-color: var(--mo-action-hover-bg) !important;
    border-color: var(--mo-action-hover-bg) !important;
    color: var(--mo-action-hover-text) !important;
}

.actions a.pin-it-button svg,
.actions a.pinterest-save svg {
    fill: currentColor;
}

/* Jump to recipe button styling */
.actions a.jump-to-recipe {
    background-color: var(--mo-article-any) !important;
    border-color: var(--mo-article-any) !important;
    color: white !important;
    font-weight: 700 !important;
}

.actions a.jump-to-recipe:hover {
    opacity: 0.9;
}

/* Author meta */
.meta {
    display: flex;
    align-items: center;
    gap: var(--mo-spacing);
}

.meta .meta__img {
    border-radius: 50%;
    width: 60px;
    height: 60px;
    object-fit: cover;
    display: block;
}

.meta .meta__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Article styles */
.article {
    background: var(--mo-article);
    color: var(--mo-on-article);
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 8px 12px -12px rgba(0, 0, 0, .4);
    font-family: var(--mo-font-family);
    font-size: var(--mo-font-size);
    line-height: var(--mo-line-height);
}

.article .article__wrapper {
    word-break: break-word;
    padding: var(--mo-spacing);
}

.article .article__wrapper > div,
.article .article__wrapper > p,
.article .article__wrapper > details,
.article .article__wrapper > blockquote,
.article .article__wrapper > ol,
.article .article__wrapper > ul {
    font-size: var(--mo-font-size);
    font-weight: normal;
    line-height: var(--mo-line-height);
    font-family: var(--mo-font-family);
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    color: var(--mo-on-article);
    word-break: break-word;
    box-sizing: border-box;
    margin: 0px;
    margin-block-end: calc(var(--mo-gap) * 2); /* Increased spacing between paragraphs */
}

/* Main heading (h1) styling */
.article .article__wrapper > h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--mo-heading-color);
    font-weight: 700;
    font-family: var(--mo-heading-font-family);
}

/* Author and date styling for post meta */
.meta {
    display: flex;
    align-items: center;
    gap: var(--mo-spacing);
    margin-top: 20px;
}

.meta .meta__img {
    border-radius: 50%;
    width: 60px;
    height: 60px;
    object-fit: cover;
    display: block;
}

.meta .meta__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.meta .meta__author {
    font-size: 1rem;
    line-height: 1.4;
}

.meta .meta__author .author-name {
    color: #e74c3c;
    font-weight: 700;
}

.meta .meta__date {
    font-size: 0.9rem;
    color: #333;
}

/* Subheading (h2) styling to match the Twenty Twenty-Four theme */
.article .article__wrapper > h2:not(aside h2):not(.note h2) {
    display: flex !important; /* Force flex display */
    align-items: stretch;
    position: relative;
    margin-top: calc(var(--mo-gap) * 3); /* Increased top margin for headings */
    margin-bottom: calc(var(--mo-gap) * 0.5); /* Reduced bottom margin for headings */
    color: var(--mo-on-article-heading);
    font-size: calc(1.2rem * 1.7); /* Based on txt-xxl class */
    line-height: 1.2;
    font-weight: bold;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

/* The green vertical bar */
.article .article__wrapper > h2:not(aside h2):not(.note h2)::before {
    content: "" !important; /* Force content to be present */
    border-radius: 2rem;
    width: 0.7rem;
    min-width: 0.7rem;
    margin-inline-end: 0.7rem;
    background-color: var(--mo-article-any) !important; /* Force background color */
    align-self: stretch;
    display: block !important; /* Ensure the element is displayed */
}

/* Responsive font sizes for different screen sizes */
@media all and (min-width: 992px) {
    .article .article__wrapper > h2:not(aside h2):not(.note h2) {
        font-size: calc(1.2rem * 1.7);
    }
}

@media all and (min-width: 1200px) {
    .article .article__wrapper > h2:not(aside h2):not(.note h2) {
        font-size: calc(1.2rem * 1.9);
    }
}

/* Additional direct styling for h2 elements to ensure the green bar appears */
.article__wrapper h2:not(aside h2):not(.note h2) {
    display: flex !important;
    align-items: stretch;
    position: relative;
    margin-top: calc(var(--mo-gap) * 3); /* Increased top margin for headings */
    margin-bottom: calc(var(--mo-gap) * 0.5); /* Reduced bottom margin for headings */
}

.article__wrapper h2:not(aside h2):not(.note h2)::before {
    content: "" !important;
    border-radius: 2rem;
    width: 0.7rem;
    min-width: 0.7rem;
    margin-inline-end: 0.7rem;
    background-color: #2d5942 !important; /* Hardcoded green color */
    align-self: stretch;
    display: block !important;
}

/* Add txt-xxl class styling from reference template */
.txt-xxl {
    font-size: calc(var(--mo-font-size)*1.3);
    line-height: 1.2;
}

@media all and (min-width: 992px) {
    .txt-xxl {
        font-size: calc(var(--mo-font-size)*1.7);
        line-height: 1.2;
    }
}

@media all and (min-width: 1200px) {
    .txt-xxl {
        font-size: calc(var(--mo-font-size)*1.9);
    }
}

.article .article__wrapper .ads {
    margin-block: var(--mo-gap);
}

/* General aside styles */
.article .article__wrapper > aside {
    margin-top: calc(var(--mo-gap) * 2.5); /* Increased top margin */
    margin-bottom: calc(var(--mo-gap) * 2.5); /* Increased bottom margin */
    padding: var(--mo-spacing);
    display: flex;
    flex-direction: column;
    gap: var(--mo-spacing);
}

/* Note styling to match the reference template */
.article .article__wrapper .note {
    background: var(--mo-article-note);
    color: var(--mo-on-article-note);
    border-radius: 12px;
    outline: 1px dashed #000;
    outline-offset: calc(-.7*var(--mo-gap)/2);
    border: 8px solid rgba(0,0,0,.16);
    padding: var(--mo-spacing);
    margin-top: calc(var(--mo-gap) * 2.5); /* Increased top margin */
    margin-bottom: calc(var(--mo-gap) * 2.5); /* Increased bottom margin */
    position: relative;
}

/* Styling for "Why You'll Love This Recipe" note */
.article .article__wrapper .note.why-youll-love {
    background: var(--mo-article-note);
    color: var(--mo-on-article-note);
    border-radius: 12px;
    outline: 1px dashed #000;
    outline-offset: calc(-.7*var(--mo-gap)/2);
    border: 8px solid rgba(0,0,0,.16);
    padding: var(--mo-spacing);
    margin-top: calc(var(--mo-gap) * 2.5); /* Increased top margin */
    margin-bottom: calc(var(--mo-gap) * 2.5); /* Increased bottom margin */
}

/* Aside heading styling */
.article .article__wrapper > aside h2 {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-top: 0;
    margin-bottom: 1.2rem;
    font-weight: 700;
    color: #2d5942;
    text-align: center;
}

/* Styling for note headings */
.article .article__wrapper .note h2 {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: calc(var(--mo-font-size) * 1.1);
    line-height: 1.3;
    margin-top: 0;
    margin-bottom: var(--mo-spacing);
    font-weight: 700;
    color: var(--mo-on-article-heading);
    font-family: var(--mo-font-family);
}

/* Add txt-xl class styling from reference template */
.txt-xl {
    font-size: calc(var(--mo-font-size)*1.1);
}

@media all and (min-width: 992px) {
    .txt-xl {
        font-size: calc(var(--mo-font-size)*1.3);
    }
}

@media all and (min-width: 1200px) {
    .txt-xl {
        font-size: calc(var(--mo-font-size)*1.4);
    }
}

/* Icon styling for aside headings */
.article .article__wrapper > aside h2 .icon,
.article .article__wrapper .note h2 .icon {
    display: inline-block;
    width: var(--mo-icon-dimen);
    height: var(--mo-icon-dimen);
    color: var(--mo-article-any);
    fill: currentColor;
    flex-shrink: 0;
}

.article .article__wrapper > aside h2 .icon.icon--medium,
.article .article__wrapper .note h2 .icon.icon--medium {
    width: calc(var(--mo-icon-dimen) * 1.5);
    height: calc(var(--mo-icon-dimen) * 1.5);
}

.article .article__wrapper .recommendations {
    border-radius: 12px;
    background: var(--mo-article-recommendations);
    color: var(--mo-on-article-recommendations);
}

.article .article__wrapper .recommendations .recommendations__item {
    display: flex;
    gap: var(--mo-spacing);
}

.article .article__wrapper .recommendations .recommendations__item .recommendations__item-title {
    font-weight: 900;
    color: var(--mo-on-article-recommendations-title);
    text-transform: capitalize;
}

.article .article__wrapper .recommendations .recommendations__item .recommendations__item-img {
    border-radius: 4px;
    border: 1px solid #000;
    width: 100px;
    height: auto;
}

.article .article__wrapper .recommendations .recommendations__item .recommendations__item-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Heading styles h3-h5 */
.article .article__wrapper > h3 {
    font-size: 2rem;
    line-height: 1.3;
    margin-top: calc(var(--mo-gap) * 2.5); /* Increased top margin */
    margin-bottom: calc(var(--mo-gap) * 0.5); /* Reduced bottom margin */
    color: var(--mo-heading-color);
    font-weight: 700;
    font-family: var(--mo-heading-font-family);
}

.article .article__wrapper > h4 {
    font-size: 1.7rem;
    line-height: 1.3;
    margin-top: calc(var(--mo-gap) * 2); /* Increased top margin */
    margin-bottom: calc(var(--mo-gap) * 0.5); /* Reduced bottom margin */
    color: var(--mo-heading-color);
    font-weight: 700;
    font-family: var(--mo-heading-font-family);
}

.article .article__wrapper > h5 {
    font-size: 1.4rem;
    line-height: 1.3;
    margin-top: calc(var(--mo-gap) * 1.8); /* Increased top margin */
    margin-bottom: calc(var(--mo-gap) * 0.5); /* Reduced bottom margin */
    color: var(--mo-heading-color);
    font-weight: 700;
    font-family: var(--mo-heading-font-family);
}

/* Definition Lists styling to match the Twenty Twenty-Four theme */
.article .article__wrapper dl {
    font-size: var(--mo-font-size);
    font-weight: normal;
    line-height: var(--mo-line-height);
    font-family: var(--mo-font-family);
    color: var(--mo-on-article);
    margin: 0;
    margin-top: calc(var(--mo-gap) * 1.5); /* Increased top margin */
    margin-bottom: calc(var(--mo-gap) * 2.5); /* Increased bottom margin */
}

.article .article__wrapper dt {
    font-weight: 800;
    text-transform: capitalize;
    color: var(--mo-on-article-dt);
    background-color: var(--mo-article-dt);
    padding: 8px 12px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.article .article__wrapper dd {
    margin-block-end: var(--mo-spacing);
    margin-left: 0;
    color: var(--mo-on-article);
    padding-left: 12px;
    border-left: 3px solid var(--mo-article-dt);
    margin-bottom: var(--mo-gap);
    font-size: 1.1rem;
    line-height: 1.6;
}

.article .article__wrapper ul li::marker,
.article .article__wrapper ol li::marker {
    color: var(--mo-article-any);
}

/* Note list styling to match the reference image */
.article .article__wrapper .note ul {
    list-style-type: disc;
    padding-left: 2rem;
    margin: 0;
}

.article .article__wrapper .note ul li {
    margin-bottom: 1rem;
    line-height: 1.5;
    position: relative;
    font-size: 1.1rem;
    color: #0f2118;
}

.article .article__wrapper .note ul li::marker {
    color: #2d5942;
}

.article .article__wrapper .note ol {
    padding-left: 2rem;
    margin: 0;
}

.article .article__wrapper .note ol li {
    margin-bottom: 1rem;
    line-height: 1.5;
    font-size: 1.1rem;
    color: #0f2118;
}

.article .article__wrapper .note ol li::marker {
    color: #2d5942;
}

.article .article__wrapper details summary {
    cursor: pointer;
    font-weight: 500;
}

.article .article__wrapper details[open] summary {
    margin-block-end: var(--mo-spacing);
}

.article .article__wrapper a:not(.pin):not(.social__item):not(.recommendations a) {
    color: var(--mo-on-article-link);
    font-weight: 700;
    background-image: linear-gradient(180deg, transparent 90%, var(--mo-on-article-link-accent) 0);
    background-repeat: no-repeat;
    background-size: 0 100%;
    transition: background-size 1s cubic-bezier(.16, 1, .3, 1);
}

.article .article__wrapper a:not(.pin):not(.social__item):not(.recommendations a):hover {
    color: var(--mo-on-article-link-accent);
    background-size: 100% 100%;
}

/* Figure and image styling */
.article figure {
    width: 100%;
    margin: 0;
    text-align: center;
    margin-top: calc(var(--mo-gap) * 2.5); /* Increased top margin */
    margin-bottom: calc(var(--mo-gap) * 2.5); /* Increased bottom margin */
}

.article figure .article__player {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%;
    width: 100%;
    border-radius: 24px;
}

.article figure .article__player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.article figure img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
}

.article figure figcaption {
    padding: calc(var(--mo-spacing) / 2);
    color: var(--mo-on-article);
    font-size: calc(var(--mo-font-size) * 0.8);
    font-style: italic;
    text-align: center;
}

/* Pin wrapper */
.pin-wrapper {
    position: relative;
}

.pin-wrapper .pin {
    position: absolute;
    height: 34px;
    top: 16px;
    left: 16px;
    background-color: #bd081c;
    color: #fff;
    font-weight: 700;
    padding: 8px 12px;
    border-radius: 4px;
    text-decoration: none;
}

/* Recipe section */
.recipe {
    background: var(--mo-recipe);
    color: var(--mo-on-recipe);
    border-radius: 40px;
    overflow: hidden;
    padding: var(--mo-gap);
    outline: 1px dashed var(--mo-on-recipe);
    outline-offset: calc(-1 * var(--mo-gap) / 2);
    max-width: 1000px;
    margin: 0 auto 40px;
}

.recipe .recipe__wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--mo-gap);
}

.recipe .recipe__title {
    color: var(--mo-on-recipe-title);
    text-shadow: 1px 1px 2px #fff;
    text-align: center;
}

.recipe .recipe__highlight {
    color: var(--mo-on-recipe-highlight);
}

.recipe .recipe__times {
    display: flex;
    gap: var(--mo-gap);
    padding-block: var(--mo-gap);
    border-top: 1px solid var(--mo-recipe-separator);
    border-bottom: 1px solid var(--mo-recipe-separator);
    justify-content: space-around;
}

.recipe .recipe__times .recipe__times-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.recipe .recipe__separator {
    display: flex;
    align-items: center;
    flex: 1;
    color: var(--mo-on-recipe-separator);
    text-shadow: 1px 1px 2px #fff;
}

.recipe .recipe__separator::after {
    content: "";
    display: block;
    width: 100%;
    height: 4px;
    background: var(--mo-recipe-separator);
    flex: 1;
    border-radius: 4px;
    margin-left: var(--mo-gap);
    min-width: var(--mo-gap);
}

.recipe .recipe__interact-list {
    display: flex;
    flex-direction: column;
    gap: var(--mo-gap);
}

.recipe .recipe__interact-list img {
    width: 100%;
    height: auto;
    filter: grayscale(10%);
    border-radius: 40px;
    transition: filter .4s ease;
}

.recipe .recipe__interact-list img.selected {
    filter: grayscale(90%);
}

.recipe .recipe__interact-list .recipe__interact-list-content.selected {
    text-decoration: line-through;
}

.recipe .recipe__interact-list .recipe__interact-list-number {
    font-weight: bolder;
    background: var(--mo-recipe-number);
    color: var(--mo-on-recipe-number);
    border-radius: 6px;
    text-align: center;
    padding: .3em .6em;
    margin-right: .5em;
    box-shadow: -15px 0 rgba(0,0,0,.14), 0 3px 6px rgba(0,0,0,.4);
    display: inline-block;
    margin-left: 15px;
    cursor: pointer;
    outline: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    transition: margin-left .4s ease, box-shadow .4s ease;
}

.recipe .recipe__interact-list .recipe__interact-list-number.selected {
    margin-left: 0px;
    text-decoration: line-through;
    box-shadow: 0 3px 10px 0 rgba(0,0,0,.15);
}

.recipe .recipe__static-list {
    counter-reset: list-counter;
    list-style-type: none;
}

.recipe .recipe__static-list li {
    counter-increment: list-counter;
    position: relative;
    margin-bottom: var(--mo-gap);
}

.recipe .recipe__static-list li::before {
    content: counter(list-counter);
    position: absolute;
    left: -30px;
    top: 0px;
    background: var(--mo-recipe-number);
    color: var(--mo-on-recipe-number);
    width: 24px;
    height: 24px;
    text-align: center;
    line-height: 24px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 24px 24px 10px 24px;
    box-shadow: 0 3px 6px rgba(0,0,0,.4);
}

.recipe .recipe__static-list li::after {
    content: "";
    border-left: 2px dashed var(--mo-on-recipe);
    position: absolute;
    bottom: 0;
    left: -20px;
    top: 40px;
    text-align: center;
}

.recipe .recipe__details .recipe__details-summary {
    cursor: pointer;
}

.recipe .recipe__details .recipe__details-content {
    margin-top: var(--mo-spacing);
}

.recipe a {
    color: var(--mo-on-recipe-link);
    font-weight: bold;
    text-shadow: 1px 1px 2px #fff;
}

.recipe a:hover {
    color: var(--mo-on-recipe-link-accent);
}

/* Template layout */
.template-main-sidebar {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--mo-gap);
    margin-block: var(--mo-space);
}

.template-main-sidebar .template-main-sidebar__sidebar {
    grid-column: 5/7;
    display: flex;
    flex-direction: column;
    gap: var(--mo-gap);
}

.template-main-sidebar .template-main-sidebar__main {
    grid-column: 1/5;
    display: flex;
    flex-direction: column;
    gap: var(--mo-space);
}

@media (max-width: 1024px) {
    .template-main-sidebar {
        grid-template-columns: 1fr;
    }
    .template-main-sidebar .template-main-sidebar__sidebar {
        grid-column: 1;
    }
    .template-main-sidebar .template-main-sidebar__main {
        grid-column: 1;
    }
}

/* Icon wrapper */
.icon-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.icon {
    display: inline-block;
    width: var(--mo-icon-dimen);
    height: var(--mo-icon-dimen);
    font-size: var(--mo-font-size);
    fill: currentColor;
    flex-shrink: 0;
}

.icon.icon--medium {
    width: calc(var(--mo-icon-dimen) * 1.5);
    height: calc(var(--mo-icon-dimen) * 1.5);
}

.icon.icon--large {
    width: calc(var(--mo-icon-dimen) * 3);
    height: calc(var(--mo-icon-dimen) * 3);
}

/* Text size classes for responsive typography */
.txt-xxxl {
    font-size: calc(var(--mo-font-size) * 1.8);
    line-height: 1.2;
}

.txt-xxl {
    font-size: calc(var(--mo-font-size) * 1.3);
    line-height: 1.2;
}

.txt-xl {
    font-size: calc(var(--mo-font-size) * 1.1);
}

.txt-l {
    font-size: calc(var(--mo-font-size) * 0.8);
}

.txt-m {
    font-size: calc(var(--mo-font-size) * 0.7);
}

.txt-s {
    font-size: calc(var(--mo-font-size) * 0.6);
}

@media all and (min-width: 992px) {
    .txt-xxxl {
        font-size: calc(var(--mo-font-size) * 2.2);
        line-height: 1.2;
    }

    .txt-xxl {
        font-size: calc(var(--mo-font-size) * 1.7);
        line-height: 1.2;
    }

    .txt-xl {
        font-size: calc(var(--mo-font-size) * 1.3);
    }

    .txt-l {
        font-size: var(--mo-font-size);
    }

    .txt-m {
        font-size: calc(var(--mo-font-size) * 0.9);
    }

    .txt-s {
        font-size: calc(var(--mo-font-size) * 0.7);
    }
}

@media all and (min-width: 1200px) {
    .txt-xxxl {
        font-size: calc(var(--mo-font-size) * 2.7);
    }

    .txt-xxl {
        font-size: calc(var(--mo-font-size) * 1.9);
    }

    .txt-xl {
        font-size: calc(var(--mo-font-size) * 1.4);
    }
}
