.recipe-single {
    width: 100%;
    color: #020101;
}

.recipe-single p{
    font-family: "DM Sans", Sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 29px;
    color: #020101;
}

.recipe-article {
    width: 100%;
}

.recipe-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.recipe-sidebar {
    width: 30%;
    background: #FDF9F5;
    box-sizing: border-box;
}

.recipe-main {
    width: 70%;
}

.recipe-featured-image img,
.recipe-featured-image img.wp-post-image {
    display: block;
    width: 100%;
    height: auto;
}

.recipe-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.recipe-meta-item {
    display: flex;
    flex-direction: column;
}

.recipe-categories,
.recipe-ingredients,
.recipe-allergens,
.recipe-nutrition,
.recipe-instructions,
.recipe-body,
.recipe-tips,
.recipe-video {
    margin-top: 30px;
}

.recipe-allergens ul,
.recipe-nutrition ul,
.recipe-instructions ol {
    margin: 0;
    list-style: none;
}

.recipe-instructions strong{
    padding-top: 30px;
    padding-bottom: 0px;
    font-size: 20px;
    display: block;
}
.recipe-ingredients li,
.recipe-allergens li,
.recipe-nutrition li,
.recipe-instructions li {
    margin-bottom: 10px;
}

@media (max-width: 991px) {
    .recipe-layout {
        flex-direction: column;
    }

    .recipe-sidebar,
    .recipe-main {
        width: 100%;
    }
}

.recipe-template-default #qodef-page-inner{
    padding-top: 0;
}

.recipe-ingredients{
    padding: 30px;
    margin-top: 0;
}

.recipe-single h2{
    font-family: "Marcellus", Sans-serif;
    font-size: 28px;
    font-weight: 400;
    color: #020101;
    padding: 0;
    margin-top: 0;
}

.recipe-single h1{
    margin: 0;
    font-family: "Marcellus", Sans-serif;
    font-size: 34px;
    font-weight: 400;
    color: #020101;
}

.recipe-categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.recipe-category-content h3{
    font-size: 22px;
}
.recipe-category-card {
    width: 100%;
}

.recipe-category-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.recipe-category-image-wrap {
    position: relative;
    overflow: hidden;
}

.recipe-category-image img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.35s ease;
}

.recipe-category-content {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    z-index: 2;
    text-align: center;
    transition: transform 0.35s ease;
}

.recipe-category-card:hover .recipe-category-image img,
.recipe-category-card:hover .recipe-category-content {
    transform: scale(1.05);
}

.recipe-category-content h3 {
    margin: 0;
}


@media (max-width: 991px) {
    .recipe-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .recipe-categories-grid {
        grid-template-columns: 1fr;
    }
}


.recipe-category-page__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.recipe-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
}


.recipe-card__image {
    aspect-ratio: auto 1300 / 910;
    overflow: hidden;
}

.recipe-card__image img,
.recipe-card__image img.wp-post-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.recipe-card:hover .recipe-card__image img {
    transform: scale(1.05);
}

.recipe-card__content {
    padding-top: 15px;
    text-align: left;
}

.recipe-card__title {
    font-family: "Marcellus", Sans-serif;
    font-size: 22px;
    font-weight: 400;
    color: #020101;
    padding: 0;
    margin-top: 0;
    display: inline-block;
    position: relative;
}

.recipe-card__title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 1px;
    background: #020101;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.35s ease;
}

.recipe-card:hover .recipe-card__title::after {
    transform: scaleX(1);
}

@media (max-width: 991px) {
    .recipe-category-page__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .recipe-category-page__grid {
        grid-template-columns: 1fr;
    }
}

.tax-recipe_category #qodef-page-inner{
    padding: 0;
}

.tax-recipe_category .qodef-title--breadcrumbs{
    display: none;
}

.recipe-category-page__header {
    margin-bottom: 100px;
}

.recipe-category-page__hero {
    position: relative;
    width: 100vw;
    height: 300px;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.recipe-category-page__hero-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.25);
}

.recipe-category-page__hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
    color: #fff;
}

.recipe-category-page__hero-content h1 {
    margin: 0;
    color: #ffffff;
}

.recipe-category-page__description {
    margin-top: 15px;
}

.recipe-category-page__description p:last-child {
    margin-bottom: 0;
}