:root {
    --primary-color: #FF4141;
    --background-color: #F8F9FA;
    --dark-bg: #18181A;
    --footer-bg: #232326;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--background-color);
    color: #18181A;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

/* HERO */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(120deg, #fff 60%, #ffeaea 100%);
    padding: 0 5%;
    position: relative;
}

.hero-content {
    max-width: 600px;
    z-index: 2;
}

.hero-headline {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 1.2rem;
    line-height: 1.1;
}

.hero-sub {
    font-size: 1.35rem;
    color: #333;
    margin-bottom: 2.5rem;
    line-height: 1.5;
}

.cta-btn {
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 1rem 2.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.cta-btn:hover {
    background: #e13a3a;
}

.hero-media {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.iphone-mockup {
    width: 320px;
    height: 660px;
    background: #fff;
    border-radius: 48px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.18);
    border: 8px solid #e5e5e5;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.iphone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 22px;
    background: #222;
    border-radius: 0 0 18px 18px;
    z-index: 2;
}

.iphone-screen {
    width: 288px;
    height: 624px;
    border-radius: 36px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

@media (max-width: 1100px) {
    .hero {
        flex-direction: column;
        padding-top: 4rem;
    }
    .hero-media {
        margin-top: 2rem;
    }
}

@media (max-width: 700px) {
    .hero-headline {
        font-size: 2.2rem;
    }
    .iphone-mockup {
        width: 180px;
        height: 370px;
    }
    .iphone-screen {
        width: 162px;
        height: 350px;
    }
    .iphone-notch {
        width: 60px;
        height: 12px;
    }
}

/* PROBLEM/SOLUTION */
.problem-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    padding: 5rem 5% 4rem 5%;
    background: #fff;
}

.problem-images {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    min-width: 340px;
    align-items: flex-start;
}

.iphone-mockup.problem {
    width: 170px;
    height: 350px;
    background: #fff;
    border-radius: 28px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.13);
    border: 5px solid #e5e5e5;
    position: absolute;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.iphone-mockup.problem .iphone-notch {
    width: 60px;
    height: 12px;
    border-radius: 0 0 8px 8px;
}

.iphone-screen.problem {
    width: 152px;
    height: 330px;
    border-radius: 18px;
    object-fit: cover;
}

.iphone-mockup.problem.top {
    top: 0;
    z-index: 2;
    transform: rotate(-5deg) scale(1.04);
}

.iphone-mockup.problem.bottom {
    top: 40px;
    left: 38px;
    z-index: 1;
    transform: rotate(6deg) scale(0.98);
}

.problem-content {
    max-width: 540px;
}

.problem-title {
    font-size: 2.2rem;
    color: var(--primary-color);
    font-weight: 800;
    margin-bottom: 1.2rem;
}

.problem-body {
    font-size: 1.15rem;
    color: #444;
    line-height: 1.7;
}

@media (max-width: 900px) {
    .problem-section {
        flex-direction: column;
        gap: 2rem;
    }
    .problem-images {
        flex-direction: column;
        min-width: unset;
        align-items: center;
    }
    .iphone-mockup.problem,
    .iphone-mockup.problem.top,
    .iphone-mockup.problem.bottom {
        position: static;
        transform: none;
        margin: 0 0 1.5rem 0;
        width: 220px;
        height: 450px;
    }
    .iphone-mockup.problem .iphone-notch {
        width: 80px;
        height: 16px;
    }
    .iphone-screen.problem {
        width: 198px;
        height: 410px;
    }
}

@media (max-width: 600px) {
    .iphone-mockup.problem,
    .iphone-mockup.problem.top,
    .iphone-mockup.problem.bottom {
        width: 140px;
        height: 290px;
    }
    .iphone-mockup.problem .iphone-notch {
        width: 44px;
        height: 8px;
    }
    .iphone-screen.problem {
        width: 126px;
        height: 260px;
    }
    .coming-section {
        padding: 3rem 4% 2rem 4%;
    }
    .store-icons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    .store-button {
        min-width: 0;
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }
    .signup-form {
        flex-direction: column;
        gap: 1rem;
        max-width: 100%;
    }
    .signup-input,
    .signup-btn {
        width: 100%;
        box-sizing: border-box;
    }
}

/* FEATURES */
.features-section {
    background: #fff7f7;
    padding: 6rem 5% 4rem 5%;
}

.features-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 900;
    margin-bottom: 3rem;
}

.features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-card {
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.07);
    padding: 2.5rem 2rem 2rem 2rem;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.feature-mockup-bg {
    width: 180px;
    height: 180px;
    background: #ffeaea;
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 0.5rem;
}

.iphone-mockup.feature {
    width: 150px;
    height: 310px;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 8px 32px rgba(255,65,65,0.13), 0 2px 12px rgba(0,0,0,0.13);
    border: 4px solid #e5e5e5;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.iphone-mockup.feature .iphone-notch {
    width: 44px;
    height: 10px;
    border-radius: 0 0 6px 6px;
}

.iphone-screen.feature {
    width: 134px;
    height: 280px;
    border-radius: 12px;
    object-fit: cover;
}

.feature-content {
    flex: 1;
}

.feature-heading {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.feature-sub {
    font-size: 1.05rem;
    color: #333;
    margin-bottom: 0.7rem;
}

.feature-body {
    font-size: 1rem;
    color: #666;
    line-height: 1.5;
}

.feature-img {
    width: 90px;
    height: 90px;
    border-radius: 16px;
    object-fit: cover;
    margin-left: 1rem;
}

@media (max-width: 900px) {
    .features-list {
        grid-template-columns: 1fr;
    }
    .feature-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .feature-mockup-bg {
        margin: 0 auto 1.5rem auto;
        width: 220px;
        height: 220px;
    }
    .iphone-mockup.feature {
        width: 180px;
        height: 370px;
    }
    .iphone-screen.feature {
        width: 162px;
        height: 350px;
    }
    .iphone-mockup.feature .iphone-notch {
        width: 60px;
        height: 12px;
    }
}

@media (max-width: 600px) {
    .feature-mockup-bg {
        width: 160px;
        height: 160px;
    }
    .iphone-mockup.feature {
        width: 120px;
        height: 250px;
    }
    .iphone-screen.feature {
        width: 108px;
        height: 230px;
    }
    .iphone-mockup.feature .iphone-notch {
        width: 36px;
        height: 7px;
    }
}

/* COMING SOON & SIGNUP */
.coming-section {
    background: var(--dark-bg);
    color: #fff;
    padding: 5rem 5% 4rem 5%;
    text-align: center;
}

.coming-title {
    font-size: 2.3rem;
    font-weight: 900;
    margin-bottom: 1.2rem;
}

.coming-body {
    font-size: 1.15rem;
    color: #f3cfcf;
    margin-bottom: 2.5rem;
}

.store-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.store-button {
    display: inline-block;
    text-decoration: none;
    background: #000;
    color: white;
    padding: 8px 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: transform 0.3s ease;
    font-size: 18px;
    font-weight: 500;
    min-width: 240px;
    height: 64px;
    justify-content: center;
}

.store-button:hover {
    transform: translateY(-3px);
    opacity: 0.85;
}

.store-button img {
    height: 32px;
    width: auto;
}

.store-button span {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.3;
}

.store-button small {
    font-size: 12px;
    opacity: 0.8;
}

.store-button strong {
    font-size: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.signup-form {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    max-width: 400px;
    margin: 0 auto 1.5rem auto;
}

.signup-input {
    flex: 1;
    padding: 0.9rem 1.2rem;
    border-radius: 30px;
    border: none;
    font-size: 1rem;
    outline: none;
}

.signup-btn {
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 0.9rem 1.7rem;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.signup-btn:hover {
    background: #e13a3a;
}

.signup-success {
    color: #7fff7f;
    margin-top: 0.7rem;
    font-size: 1.1rem;
}

/* FOOTER */
footer {
    background: var(--footer-bg);
    color: #fff;
    padding: 2.5rem 5% 1.5rem 5%;
    text-align: center;
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 1.2rem;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff2f2;
    color: var(--primary-color);
    font-size: 1.3rem;
    transition: background 0.2s;
}

.footer-socials a:hover {
    background: #ffeaea;
}

.footer-catch {
    font-size: 1.1rem;
    margin-bottom: 0.7rem;
    color: #fff;
}

.footer-links {
    margin-bottom: 0.7rem;
}

.footer-links a {
    color: #fff;
    opacity: 0.8;
    margin: 0 0.7rem;
    font-size: 0.98rem;
}

.footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-copy {
    font-size: 0.95rem;
    color: #bbb;
}

.footer-store-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 600px) {
    .footer-store-links {
        flex-direction: column;
        align-items: center;
    }
    .footer-store-links .store-button {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }
}

/* BLOG STYLES */
.blog-section {
    padding: 4rem 5%;
    background: #fff;
}

.blog-header {
    text-align: center;
    margin-bottom: 3rem;
}

.blog-title {
    font-size: 2.2rem;
    color: var(--primary-color);
    font-weight: 900;
    margin-bottom: 0.8rem;
}

.blog-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.blog-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: #f0f0f0;
}

.blog-card-content {
    padding: 1.8rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-date {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 0.5rem;
}

.blog-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #18181A;
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.blog-card-excerpt {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.2rem;
    flex: 1;
}

.blog-card-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.blog-card-link:hover {
    color: #e13a3a;
}

.blog-post-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 4rem 5%;
    line-height: 1.8;
    color: #444;
}

.blog-post-header {
    margin-bottom: 3rem;
    text-align: center;
}

.blog-post-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 900;
    margin-bottom: 1rem;
}

.blog-post-meta {
    font-size: 0.95rem;
    color: #999;
    margin-bottom: 2rem;
}

.blog-post-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 2.5rem;
}

.blog-post-content h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.blog-post-content h3 {
    font-size: 1.4rem;
    color: #18181A;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.blog-post-content p {
    margin-bottom: 1.2rem;
}

.blog-post-content ul,
.blog-post-content ol {
    margin-left: 2rem;
    margin-bottom: 1.2rem;
}

.blog-post-content li {
    margin-bottom: 0.5rem;
}

.blog-post-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

.blog-post-content a:hover {
    color: #e13a3a;
}

.blog-back-link {
    display: inline-block;
    margin-bottom: 2rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.blog-back-link:hover {
    text-decoration: underline;
}

/* RECIPE STYLES */
.recipe-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 5%;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.recipe-content {
    min-width: 0;
}

.recipe-image-figure {
    margin: 0 0 2rem 0;
}

.recipe-image {
    width: 100%;
    max-width: 700px;
    height: auto;
    border-radius: 12px;
    display: block;
}

.recipe-content h2 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.recipe-content h3 {
    font-size: 1.3rem;
    color: #18181A;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.recipe-content p {
    line-height: 1.8;
    margin-bottom: 1.2rem;
    color: #444;
}

.recipe-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.2rem 0;
}

.recipe-content li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e8e8e8;
    line-height: 1.6;
    color: #333;
}

.recipe-content ol {
    list-style: decimal;
    margin-left: 1.5rem;
    margin-bottom: 1.2rem;
}

.recipe-content ol li {
    margin-bottom: 1.2rem;
    padding: 0;
    border: none;
}

/* Recipe Info Card - Sticky Sidebar */
.recipe-info-card {
    position: sticky;
    top: 2rem;
    background: #f9f9f9;
    border-left: 4px solid var(--primary-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    height: fit-content;
}

.recipe-quick-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e0e0e0;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #999;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.recipe-sidebar-heading {
    font-size: 1.1rem;
    font-weight: 700;
    color: #18181A;
    margin-bottom: 1.2rem;
}

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

.ingredient-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    line-height: 1.4;
    color: #555;
    font-size: 0.95rem;
}

.ingredient-checkbox {
    width: 20px;
    height: 20px;
    margin-top: 0.15rem;
    cursor: pointer;
    accent-color: var(--primary-color);
    flex-shrink: 0;
}

.ingredient-label {
    flex: 1;
    cursor: pointer;
    user-select: none;
}

.ingredient-checkbox:checked + .ingredient-label {
    color: #ccc;
    text-decoration: line-through;
}

/* Accessibility - Screen reader only text */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border-width: 0;
}

/* Responsive Recipe Layout */
@media (max-width: 900px) {
    .recipe-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 5%;
    }

    .recipe-info-card {
        position: static;
        top: auto;
        order: -1;
    }

    .recipe-quick-stats {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 1.2rem;
    }
}

@media (max-width: 700px) {
    .recipe-container {
        padding: 1.5rem 5%;
    }

    .recipe-content h2 {
        font-size: 1.4rem;
    }

    .recipe-info-card {
        padding: 1.5rem;
    }

    .recipe-quick-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .stat-value {
        font-size: 1.1rem;
    }

    .recipe-ingredients-list {
        max-height: none;
    }
}

/* RECIPE CARD COMPONENT - Embeddable cards for blog posts */
.recipe-card {
    max-width: 600px;
    margin: 2rem auto;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-left: 4px solid var(--primary-color);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.recipe-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.recipe-card-image-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f0f0f0;
}

.recipe-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.recipe-card-content {
    padding: 1.5rem;
}

.recipe-card-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #18181A;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.recipe-card-title a {
    color: #18181A;
    text-decoration: none;
    transition: color 0.2s;
}

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

.recipe-card-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 1.2rem;
}

.recipe-card-ingredients-heading {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #999;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.recipe-card-ingredients-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.2rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.recipe-card-ingredient-tag {
    display: inline-block;
    background: #f5f5f5;
    color: #555;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    line-height: 1.4;
}

.recipe-card-footer {
    display: flex;
    gap: 1.5rem;
    padding-top: 1.2rem;
    border-top: 1px solid #e8e8e8;
    flex-wrap: wrap;
}

.recipe-card-stat {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.recipe-card-stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #999;
    font-weight: 600;
}

.recipe-card-stat-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.recipe-card-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    margin-top: 0.5rem;
    transition: color 0.2s;
}

.recipe-card-link:hover {
    color: #e13a3a;
    text-decoration: underline;
}

/* Recipe Card in sidebar context - compact display */
.recipe-sidebar .recipe-card-content {
    padding: 0;
}

.recipe-sidebar .recipe-card-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: #18181A;
}

.recipe-sidebar .recipe-card-title a {
    text-decoration: none;
}

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

.recipe-sidebar .recipe-card-description {
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
    color: #777;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 2.2em;
    line-height: 1.1;
}

.recipe-sidebar .recipe-card-ingredients-heading {
    font-size: 0.75rem;
    margin-bottom: 0.6rem;
}

.recipe-sidebar .recipe-card-ingredients-list {
    margin-bottom: 0.8rem;
    gap: 0.4rem;
}

.recipe-sidebar .recipe-card-ingredient-tag {
    font-size: 0.8rem;
    padding: 0.3rem 0.6rem;
}

.recipe-sidebar .recipe-card-image-wrapper {
    height: 140px;
}

.recipe-sidebar .recipe-card-footer {
    gap: 0.8rem;
    flex-direction: row;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
    flex-wrap: wrap;
    margin: 0 -1.2rem -1.2rem -1.2rem;
    padding: 1rem 1.2rem 0 1.2rem;
}

.recipe-sidebar .recipe-card-stat {
    flex: 1;
    min-width: calc(50% - 0.4rem);
    flex-direction: column;
    gap: 0.2rem;
}

.recipe-sidebar .recipe-card-stat-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: #999;
    font-weight: 600;
}

.recipe-sidebar .recipe-card-stat-value {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-color);
}

.recipe-sidebar .recipe-card-link {
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 0.8rem;
    width: 100%;
    display: block;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s;
}

.recipe-sidebar .recipe-card-link:hover {
    color: #e13a3a;
    text-decoration: underline;
}

/* Responsive Recipe Card Layout */
@media (max-width: 700px) {
    .recipe-card {
        margin: 1.5rem auto;
    }

    .recipe-card-image-wrapper {
        height: 160px;
    }

    .recipe-card-content {
        padding: 1.2rem;
    }

    .recipe-card-title {
        font-size: 1.15rem;
    }

    .recipe-card-description {
        font-size: 0.9rem;
    }

    .recipe-card-footer {
        gap: 1rem;
    }

    .recipe-card-stat-value {
        font-size: 1rem;
    }
}

/* BLOG POST LAYOUT WITH FLOATING RECIPE SIDEBAR */
.blog-post-container {
    display: grid;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 5%;
    align-items: start;
}

.blog-post-container.has-sidebar {
    grid-template-columns: 1fr 300px;
    gap: 3rem;
}

.blog-post-container.no-sidebar {
    grid-template-columns: 1fr;
    max-width: 800px;
}

.blog-post-main {
    min-width: 0;
}

.blog-post-content {
    line-height: 1.8;
    color: #333;
    font-size: 1rem;
}

.blog-post-content h2 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.blog-post-content h3 {
    font-size: 1.3rem;
    color: #18181A;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.blog-post-content p {
    margin-bottom: 1.2rem;
}

.blog-post-content ul {
    list-style: disc;
    margin-left: 1.5rem;
    margin-bottom: 1.2rem;
}

.blog-post-content ol {
    list-style: decimal;
    margin-left: 1.5rem;
    margin-bottom: 1.2rem;
}

.blog-post-content li {
    margin-bottom: 0.5rem;
}

.blog-post-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 2rem;
    display: block;
}

/* Floating Recipe Sidebar */
.recipe-sidebar {
    position: sticky;
    top: 2rem;
    background: #f9f9f9;
    border-left: 4px solid var(--primary-color);
    padding: 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    height: fit-content;
}

.recipe-sidebar-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #18181A;
    padding: 1.5rem 1.5rem 0.5rem 1.5rem;
    margin: 0;
    border-bottom: 1px solid #e0e0e0;
}

/* Override recipe card styles for sidebar context */
.recipe-sidebar .recipe-card {
    max-width: 100%;
    margin: 1rem 0;
    border: 1px solid #e0e0e0;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    padding: 0;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}

.recipe-sidebar .recipe-card:first-of-type {
    margin-top: 0;
}

.recipe-sidebar .recipe-card:last-of-type {
    margin-bottom: 0;
}

.recipe-sidebar .recipe-card-image-wrapper {
    margin: 0;
    border-radius: 0;
    height: 150px;
}

.recipe-sidebar .recipe-card-content {
    padding: 1.2rem;
}

/* Recipe section styling */
.recipe-section {
    margin: 2rem 0;
}

.recipe-section h2 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 1rem;
    font-weight: 700;
}

.recipe-content-ingredients-list,
.recipe-content-instructions-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.2rem 0;
}

.recipe-content-ingredients-list li {
    padding: 0.75rem 0 0.75rem 1.5rem;
    border-bottom: 1px solid #e8e8e8;
    line-height: 1.6;
    color: #333;
    position: relative;
    padding-left: 1.5rem;
}

.recipe-content-ingredients-list li:before {
    content: "▪";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.recipe-content-instructions-list {
    list-style: decimal;
    margin-left: 1.5rem;
}

.recipe-content-instructions-list li {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #333;
}

.nutrition-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.nutrition-item {
    font-size: 0.95rem;
    color: #555;
}

.nutrition-item strong {
    color: var(--primary-color);
}

/* Responsive: Stack blog post and sidebar on smaller screens */
@media (max-width: 1024px) {
    .blog-post-container.has-sidebar {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .recipe-sidebar {
        position: static;
    }
}

@media (max-width: 700px) {
    .blog-post-container {
        padding: 2rem 5%;
    }

    .recipe-container {
        padding: 2rem 5%;
        grid-template-columns: 1fr;
    }

    .recipe-sidebar {
        order: -1; /* Move sidebar above content on mobile */
    }

    .recipe-info-card {
        position: static;
        top: auto;
    }
}

/* POLICY PAGES */
.policy-header {
    max-width: 800px;
    margin: 0 auto;
}

.policy-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-bg);
    margin-top: 1.5rem;
    line-height: 1.2;
}

.policy-container {
    max-width: 800px;
    margin: 3rem auto;
    padding: 0 5%;
}

.policy-content {
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
}

.policy-content h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark-bg);
}

.policy-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark-bg);
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 0.5rem;
}

.policy-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    color: var(--dark-bg);
}

.policy-content p {
    margin-bottom: 1.2rem;
}

.policy-content ul,
.policy-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1.2rem;
}

.policy-content li {
    margin-bottom: 0.6rem;
}

.policy-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

.policy-content a:hover {
    color: #e13a3a;
}

.policy-content strong {
    font-weight: 600;
    color: var(--dark-bg);
}

.policy-content code {
    background: #f5f5f5;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.policy-content hr {
    border: none;
    border-top: 2px solid #e5e5e5;
    margin: 2rem 0;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .policy-title {
        font-size: 2rem;
    }

    .policy-content h1 {
        font-size: 2rem;
    }

    .policy-content h2 {
        font-size: 1.5rem;
    }

    .policy-content h3 {
        font-size: 1.2rem;
    }
}
