/*
Theme Name: FoodNest Theme
Theme URI: https://foodies.host/
Author: FoodNest
Description: A beautiful WordPress theme inspired by Systrarna Eisenman's elegant food blog design.
Version: 2.0
*/

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

/* CSS Custom Properties for Systrarna Eisenman Color Scheme */
:root {
    --primary-bg: #F0EBE1;           /* Light cream background */
    --secondary-bg: #C7BBC3;         /* Light mauve for cards */
    --accent-color: #89355d;         /* Dark burgundy for nav/links */
    --text-color: #222222;           /* Dark gray text */
    --white: #ffffff;
    --header-font: 'Roboto Condensed', sans-serif;
    --body-font: 'Roboto', sans-serif;
}

/* Document Basic Styling */
html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

body {
    margin: 0;
    font-family: var(--body-font);
    font-size: 11pt;
    font-weight: 400;
    line-height: 130%;
    color: var(--text-color);
    background-color: var(--primary-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography - Systrarna Eisenman Style */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--header-font);
    font-weight: 700;
    line-height: 130%;
    color: var(--text-color);
    margin-block-start: 0.5rem;
    margin-block-end: 1rem;
}

h1, .h1 {
    font-size: calc((24pt * 60) / 36);
}

h2, .h2 {
    font-size: calc((24pt * 28) / 36);
}

h3, .h3 {
    font-size: calc((24pt * 22) / 36);
}

h4, .h4 {
    font-size: 1.5rem;
}

h5, .h5 {
    font-size: 1.25rem;
}

h6, .h6 {
    font-size: 1rem;
}

p, li {
    font-family: var(--body-font);
    font-size: 11pt;
    line-height: 130%;
    font-weight: 400;
    color: var(--text-color);
    margin-block-start: 0;
    margin-block-end: 0.9rem;
}

.big-paragraph {
    font-size: calc(11pt * 1.20);
    line-height: 140%;
}

/* Links */
a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover, a:focus {
    color: var(--text-color);
}

/* Cover Image Styling - Container matches image size exactly */
.site-cover {
    width: 100%;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
    text-align: center;
}

.site-cover img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Fallback for background images */
.site-cover.has-bg-image {
    aspect-ratio: 16/9;
    min-height: 300px;
    max-height: 70vh;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cover-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    width: 100%;
    pointer-events: none;
}

.cover-content a {
    pointer-events: auto;
}

.cover-site-title {
    font-family: var(--header-font);
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
}

.cover-site-title a {
    color: white;
    text-decoration: none;
}

.cover-site-title a:hover {
    color: rgba(255, 255, 255, 0.9);
}

.cover-site-tagline {
    font-family: var(--body-font);
    font-size: 1.2rem;
    font-weight: 400;
    margin: 0;
    opacity: 0.9;
    line-height: 1.4;
}

.cover-content .custom-logo {
    max-height: 120px;
    width: auto;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
}

/* Header Styling */
.site-header {
    background-color: var(--accent-color);
    padding: 0;
}

.site-header .header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 0;
}

.site-header .site-navigation {
    width: 100%;
}

.site-header .site-navigation ul,
.site-header .site-navigation .primary-menu {
    display: flex;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    justify-content: center;
    gap: 2rem;
}

.site-header .site-navigation li,
.site-header .site-navigation .menu-item {
    list-style: none !important;
    margin: 0 !important;
    padding: 10px 15px !important;
}

.site-header .site-navigation a {
    font-family: var(--header-font);
    color: var(--white);
    font-weight: 500;
    text-transform: uppercase;
    padding: 8px 1.25rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.site-header .site-navigation a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.site-branding .site-title a {
    color: var(--white);
    font-family: var(--header-font);
    font-weight: 700;
    font-size: 1.5rem;
}

.site-branding .site-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0;
}

.custom-logo-container .custom-logo {
    max-height: 60px;
    width: auto;
}

/* Container */
.container, .container-1245 {
    max-width: 1245px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Search and Tags Section - Inline Layout */
.searchwithtags {
    margin: .5rem 0;
    padding: 0;
}

.search-and-tags-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.searchboxWrap {
    position: relative;
    flex-shrink: 0;
}

.searchboxWrap input[type="text"],
.searchboxWrap .search-field {
    width: 100%;
    padding: .75rem 3rem .75rem 1.75rem;
    border: 1px solid #E7DCD9;
    border-radius: 8px;
    font-family: var(--body-font);
    font-size: 14px;
    color: var(--text-color);
    background: rgb(255,255,255,.35);
    transition: border-color 0.3s ease;
    max-width: 25rem;
}

.searchboxWrap input[type="text"]:focus {
    outline: none;
    border-color: var(--accent-color);
}

.searchboxWrap input[type="text"]::placeholder {
    color: var(--text-color);
    opacity: 0.7;
}

.searchboxWrap .search-icon {
    position: absolute;
    left: .5rem;
    top: 50%;
    width: 16px;
    height: 16px;
}

.searchboxWrap .search-icon path {
    stroke: var(--text-color);
    stroke-width: 1.25;
}

/* Inline Tags */
.inline-tags {
    flex: 1;
    min-width: 0;
}

.tag-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.inline-tag-link {
    display: inline-block;
    padding: .75rem 1rem;
    background: transparent;
    border: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
}

.inline-tag-link:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.more-tags-btn {
    padding: .75rem 1rem;
    background: transparent;
    border: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.more-tags-btn:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Demo tags styling */
.demo-tag {
    opacity: 0.7;
    cursor: default;
}

.demo-tag:hover {
    opacity: 1;
}

/* Responsive tag visibility */
.hidden-mobile {
    display: none;
}

.hidden-initially {
    display: none;
}

/* Desktop layout - search and tags on same line */
@media (min-width: 768px) {
    .search-and-tags-container {
        flex-direction: row;
        align-items: flex-start;
        gap: 2rem;
    }
    
    .searchboxWrap {
        flex-shrink: 0;
        width: auto;
    }
    
    .inline-tags {
        flex: 1;
        min-width: 0;
    }
    
    .hidden-mobile {
        display: inline-block;
    }
}

/* Legacy tags styling for backwards compatibility */
.front-page-tags {
    margin: 1.5rem 0 3rem;
}

.tag-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--secondary-bg);
    color: var(--text-color);
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.tag-link:hover {
    background: var(--accent-color);
    color: var(--white);
    transform: translateY(-1px);
}

/* Card Grid Layout - Fully responsive with auto-fit */
.recipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1em;
    margin: 2rem 0;
}

/* Adjust minimum width for larger screens to get better grid distribution */
@media (min-width: 768px) {
    .recipe-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (min-width: 1200px) {
    .recipe-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

/* Extra large screens - allow cards to grow larger while maintaining 4 columns */
@media (min-width: 1600px) {
    .recipe-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

/* New Recipe Card Design - Image with rounded corners, text outside */
.recipe-card {
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.recipe-card:hover {
    /* Remove the upward movement, keep only the image zoom */
}

.recipe-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1.13;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.recipe-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 12px;
}

.recipe-card:hover .recipe-card-image img {
    transform: scale(1.05);
}

.recipe-card-content {
    padding: 0;
    background: transparent;
}

.recipe-card-title {
    font-family: var(--header-font);
    font-size: calc((24pt * 18) / 36);
    font-weight: 700;
    line-height: 130%;
    color: var(--text-color);
    margin-bottom: 0.75rem;
}

.recipe-card-title a {
    color: inherit;
}

.recipe-card-title a:hover {
    color: var(--accent-color);
}

.recipe-card-excerpt {
    font-size: 11pt;
    line-height: 140%;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.recipe-card-excerpt.long-text {
    font-size: calc(11pt * 1.20);
    line-height: 140%;
}

.recipe-card-tags {
    margin-top: 1rem;
}

.recipe-card-tags .tag-link {
    font-size: 12px;
    padding: 0.25rem 0.5rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    display: inline-block;
}

/* Blog Post Card - Updated to match new design */
.blog-post-card {
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.blog-post-card:hover {
    /* Remove the upward movement, keep only the image zoom */
}

.blog-post-card .post-image {
    aspect-ratio: 1.13;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.blog-post-card .post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 12px;
}

.blog-post-card:hover .post-image img {
    transform: scale(1.05);
}

.blog-post-card .post-content {
    padding: 0;
    background: transparent;
}

.blog-post-card .post-title {
    font-family: var(--header-font);
    font-size: calc((24pt * 18) / 36);
    font-weight: 700;
    line-height: 130%;
    color: var(--text-color);
    margin-bottom: 0.75rem;
}

/* Form Styling */
input[type="text"],
input[type="email"],
input[type="search"],
textarea,
select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--text-color);
    border-radius: 6px;
    font-family: var(--body-font);
    font-size: 14px;
    color: var(--text-color);
    background: var(--white);
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="search"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--accent-color);
}

button,
.button,
input[type="submit"] {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--accent-color);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-family: var(--body-font);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

button:hover,
.button:hover,
input[type="submit"]:hover {
    background: var(--text-color);
    transform: translateY(-1px);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 1px solid rgba(34, 34, 34, 0.1);
}

.pagination a {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: var(--secondary-bg);
    color: var(--text-color);
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background: var(--accent-color);
    color: var(--white);
}

/* Mobile Responsive - Updated breakpoint to 550px */
@media only screen and (max-width: 550px) {
    h1, .h1 {
        font-size: 24pt;
        line-height: 120%;
    }
    
    h2, .h2 {
        font-size: calc((24pt * 26) / 36);
        line-height: 120%;
    }
    
    h3, .h3 {
        font-size: calc((24pt * 18) / 36);
        line-height: 120%;
    }
    
    .recipe-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
    
    .container, .container-1245 {
        padding: 0 1rem;
    }
    
    .site-header .header-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .site-header .site-navigation ul {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .site-cover {
        min-height: 200px;
    }
    
    .cover-site-title {
        font-size: 2rem;
    }
    
    .cover-site-tagline {
        font-size: 1rem;
    }
    
    .cover-content .custom-logo {
        max-height: 80px;
    }
    
    /* Mobile tags layout */
    .search-and-tags-container {
        gap: 0.75rem;
    }
    
    .searchboxWrap .search-field {
        max-width: 100%;
    }
    
    .tag-links {
        gap: 8px;
    }
    
    .inline-tag-link {
        padding: .5rem 1.5rem .5rem 1rem;
        font-size: 12px;
    }
    
    .more-tags-btn {
        padding: .5rem 1.5rem .5rem 1rem;
        font-size: 12px;
    }
    
    .tag-link {
        font-size: 12px;
        padding: 0.4rem 0.8rem;
    }
}

/* Tablet responsive */
@media only screen and (max-width: 768px) and (min-width: 551px) {
    .site-header .header-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Search Form Enhancements */
.search-form {
    position: relative;
}

.searchboxWrap .search-form .search-field,
.front-page-search .search-form .search-field,
.search-form .search-field, .tag-links {
    padding-right: 3rem;
    margin-top: 1rem !important;
}

.search-form .search-submit {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
}

/* Image Styling */
img {
    max-width: 100%;
    height: auto;
}

/* Page Header */
.page-header {
    margin-bottom: 2rem;
}

.page-header .entry-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.archive-description {
    font-size: 1.1rem;
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 2rem;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

/* Page Content */
.page-content {
    margin: 2rem 0;
    padding-bottom: 2rem;
}

/* Main content area extends to bottom of page */
.site-main {
    min-height: calc(100vh - 400px);
}

/* Infinite Scroll Loading Indicators */
.loading-indicator,
.no-more-indicator {
    text-align: center;
    padding: 2rem;
    margin: 2rem 0;
}

.loading-indicator p,
.no-more-indicator p {
    font-family: var(--body-font);
    font-size: 1rem;
    color: var(--text-color);
    opacity: 0.7;
    margin: 0;
}

.loading-indicator {
    position: relative;
}

.loading-indicator::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s ease-in-out infinite;
    margin-right: 0.5rem;
    vertical-align: middle;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.retry-load-more {
    display: block;
    margin: 1rem auto;
    padding: 0.75rem 1.5rem;
    background: var(--accent-color);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-family: var(--body-font);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.retry-load-more:hover {
    background: var(--text-color);
    transform: translateY(-1px);
}

/* Fade-in animation for new posts */
.recipe-card {
    transition: opacity 0.6s ease-in-out, transform 0.3s ease;
}

/* Hide traditional pagination when infinite scroll is active */
.pagination {
    transition: opacity 0.3s ease;
}

.pagination.hidden {
    opacity: 0;
    pointer-events: none;
}

/* WP Tasty Recipe Post Styling */
.wp-tasty-recipe .wp-tasty-recipe-wrapper {
    margin: 0;
    padding: 0;
}

/* Hide default title, meta, and featured image for WP Tasty posts */
.wp-tasty-recipe .entry-header,
.wp-tasty-recipe .entry-meta,
.wp-tasty-recipe .entry-featured-image {
    display: none !important;
}

/* Ensure WP Tasty recipe card has proper spacing and remove background/border */
.wp-tasty-recipe .tasty-recipes-recipe-card,
.tasty-recipes-recipe-card,
div.tasty-recipes-recipe-card,
.tasty-recipes .tasty-recipes-recipe-card,
article .tasty-recipes-recipe-card {
    margin-bottom: 2rem !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: none !important;
    border-width: 0 !important;
    border-radius: 0 !important;
    border-color: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    outline: none !important;
}

/* Also target any wrapper elements that might have background/borders */
.tasty-recipes-recipe-card > *,
.tasty-recipes-recipe-card .tasty-recipes-header,
.tasty-recipes-recipe-card .tasty-recipes-body {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Target the specific elements identified by user that have white backgrounds */
.tasty-recipes-entry-header,
.tasty-recipes-entry-content .tasty-recipes-ingredients,
.tasty-recipes-entry-content .tasty-recipes-instructions,
.tasty-recipes-entry-content .tasty-recipes-equipment {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 1rem 0 !important; /* Keep some padding for readability but remove background */
}

/* Hide the other details section */
.tasty-recipes-other-details {
    display: none !important;
}

/* Remove border from entry content */
.tasty-recipes-entry-content {
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Set margin bottom on recipe image */
.tasty-recipes-image {
    margin-bottom: 10px !important;
    border-radius: 20px !important;   
}

/* Style the content area for WP Tasty posts */
.wp-tasty-recipe .entry-content {
    margin-top: 0;
    padding-top: 0;
}

/* Gallery styling for WP Tasty posts - add some top margin */
.wp-tasty-recipe .entry-content .wp-block-gallery {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

/* Ensure gallery images have proper spacing */
.wp-tasty-recipe .entry-content .wp-block-gallery .wp-block-image {
    margin-bottom: 0;
}

/* Style gallery images to match theme design */
.wp-tasty-recipe .entry-content .wp-block-gallery .wp-block-image img {
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.wp-tasty-recipe .entry-content .wp-block-gallery .wp-block-image:hover img {
    transform: scale(1.02);
}

/* Ensure proper spacing for non-WP Tasty posts */
.entry-content {
    margin-top: 1.5rem;
}

/* Add some responsive styling for recipe cards */
@media only screen and (max-width: 768px) {
    .wp-tasty-recipe .tasty-recipes-recipe-card,
    .tasty-recipes-recipe-card,
    div.tasty-recipes-recipe-card,
    .tasty-recipes .tasty-recipes-recipe-card,
    article .tasty-recipes-recipe-card {
        margin-bottom: 1.5rem !important;
        background: transparent !important;
        background-color: transparent !important;
        background-image: none !important;
        border: none !important;
        border-width: 0 !important;
        border-radius: 0 !important;
        border-color: transparent !important;
        box-shadow: none !important;
        padding: 0 !important;
        outline: none !important;
    }
    
    .tasty-recipes-recipe-card > *,
    .tasty-recipes-recipe-card .tasty-recipes-header,
    .tasty-recipes-recipe-card .tasty-recipes-body {
        background: transparent !important;
        background-color: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }
    
    /* Target the specific elements on mobile too */
    .tasty-recipes-entry-header,
    .tasty-recipes-entry-content .tasty-recipes-ingredients,
    .tasty-recipes-entry-content .tasty-recipes-instructions,
    .tasty-recipes-entry-content .tasty-recipes-equipment {
        background: transparent !important;
        background-color: transparent !important;
        background-image: none !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        padding: 1rem 0 !important;
    }
    .tasty-recipes-image {
        margin-bottom: 10px !important;
    }
    
    /* Hide other details and remove entry content border on mobile too */
    .tasty-recipes-other-details {
        display: none !important;
    }
    
    .tasty-recipes-entry-content {
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }
    
    /* Set margin bottom on recipe image for mobile too */
    .tasty-recipes-image {
        margin-bottom: 10px !important;
    }
    
    .wp-tasty-recipe .entry-content .wp-block-gallery {
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
    }
}

/* Systrarna Eisenman Recipe Template Styling */
/* Clean, minimalist Swedish design */

.eisenman-recipe-wrapper {
    max-width: 600px;
    margin: 0 auto;
    padding: 0;
    background: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
}

.eisenman-recipe-image {
    margin-bottom: 2rem;
}

.eisenman-recipe-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0;
}

.eisenman-recipe-header {
    margin-bottom: 3rem;
}

.eisenman-recipe-title {
    font-size: 2.5rem;
    font-weight: 400;
    color: #000;
    margin: 0 0 1rem 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.eisenman-serving-info {
    margin: 1rem 0;
    font-size: 0.95rem;
    color: #666;
}

.serving-bullet {
    margin-right: 0.5rem;
}

.eisenman-recipe-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    margin: 1.5rem 0 2rem 0;
}

.eisenman-recipe-tags {
    margin: 1.5rem 0;
}

.recipe-tag {
    display: inline-block;
    background: #f0f0f0;
    padding: 0.25rem 0.75rem;
    margin: 0 0.5rem 0.5rem 0;
    font-size: 0.85rem;
    color: #666;
    border-radius: 3px;
    text-decoration: none;
}

.eisenman-recipe-content {
    margin-top: 3rem;
}

.eisenman-section {
    margin-bottom: 3rem;
}

.eisenman-section-title {
    font-size: 1.75rem;
    font-weight: 400;
    color: #000;
    margin: 0 0 1.5rem 0;
    letter-spacing: -0.01em;
}

.eisenman-subsection-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #000;
    margin: 0 0 1rem 0;
}

.eisenman-instructions ol {
    counter-reset: step-counter;
    list-style: none;
    padding: 0;
    margin: 0;
}

.eisenman-instructions ol li {
    counter-increment: step-counter;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 3rem;
    line-height: 1.6;
}

.eisenman-instructions ol li:before {
    content: counter(step-counter) ".";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 700;
    color: #000;
    font-size: 1rem;
}

.eisenman-ingredients ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.eisenman-ingredients ul li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
    color: #333;
    padding: 0;
}

.eisenman-notes {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 4px;
    font-style: italic;
    color: #555;
    margin-top: 1rem;
}

.eisenman-recipe-actions {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
    text-align: center;
}

.eisenman-recipe-actions .tasty-recipes-button {
    display: inline-block;
    margin: 0 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: background-color 0.2s ease;
}

.eisenman-recipe-actions .tasty-recipes-button:hover {
    background: #333;
}

/* Responsive Design */
@media (max-width: 768px) {
    .eisenman-recipe-wrapper {
        padding: 0 1rem;
    }
    
    .eisenman-recipe-title {
        font-size: 2rem;
    }
    
    .eisenman-section-title {
        font-size: 1.5rem;
    }
    
    .eisenman-instructions ol li {
        padding-left: 2.5rem;
    }
    
    .eisenman-recipe-actions .tasty-recipes-button {
        display: block;
        margin: 0.5rem 0;
        width: 100%;
        max-width: 200px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 480px) {
    .eisenman-recipe-title {
        font-size: 1.75rem;
    }
    
    .eisenman-section-title {
        font-size: 1.3rem;
    }
}



