/*
Theme Name: CozyRecipes Theme
Theme URI: https://cozyrecipes.com
Author: CozyRecipes
Author URI: https://cozyrecipes.com
Description: A simple, elegant, and fully responsive WordPress recipe blog theme with a clean design similar to popular food blogs. Features include a hero section, featured recipes grid, popular categories, and extensive customization options.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cozyrecipes
Tags: blog, food-and-drink, two-columns, right-sidebar, custom-colors, custom-menu, custom-logo, editor-style, featured-images, theme-options, threaded-comments, translation-ready
*/

/* ========================================
   RESET & BASE STYLES
======================================== */

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

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #ff6b6b;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #ff5252;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #222;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}
h2 {
    font-size: 2rem;
    line-height: 1.25;
}
h3 {
    font-size: 1.75rem;
    line-height: 1.3;
}
h4 {
    font-size: 1.5rem;
    line-height: 1.3;
}
h5 {
    font-size: 1.25rem;
    line-height: 1.4;
}
h6 {
    font-size: 1rem;
    line-height: 1.4;
}

p {
    margin-bottom: 1.5rem;
}

ul, ol {
    margin: 0 0 1.5rem 1.5rem;
}

/* ========================================
   RESPONSIVE TYPOGRAPHY
======================================== */

/* Tablet - reduce heading sizes */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    h2 {
        font-size: 1.75rem;
        line-height: 1.25;
    }
    h3 {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    h4 {
        font-size: 1.25rem;
        line-height: 1.3;
    }
    h5 {
        font-size: 1.1rem;
        line-height: 1.4;
    }
    h6 {
        font-size: 0.95rem;
        line-height: 1.4;
    }
}

/* Mobile - further reduce heading sizes */
@media (max-width: 480px) {
    h1 {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    h2 {
        font-size: 1.5rem;
        line-height: 1.25;
    }
    h3 {
        font-size: 1.35rem;
        line-height: 1.3;
    }
    h4 {
        font-size: 1.2rem;
        line-height: 1.3;
    }
    h5 {
        font-size: 1rem;
        line-height: 1.4;
    }
    h6 {
        font-size: 0.9rem;
        line-height: 1.4;
    }
}

/* ========================================
   UTILITY CLASSES
======================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container.wide {
    max-width: 1400px;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* ========================================
   TOP BAR WITH MENU & SOCIAL ICONS
======================================== */

.top-bar {
    width: 100%;
    padding: 0.75rem 1.5rem;
    background-color: #ffffff;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    z-index: 999;
}

.top-bar-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

/* Top Bar Menu (Left) */
.top-bar-menu {
    flex: 0 1 auto;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.top-bar-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 1.5rem;
}

.top-bar-menu li {
    margin: 0;
    padding: 0;
    flex-shrink: 0;
}

.top-bar-menu a {
    display: block;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.25rem 0;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
}

.top-bar-menu a:hover {
    border-bottom-color: #ff6b6b;
}

/* Social Icons Right */
.social-icons-center {
    flex: 0 0 auto;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: center;
    gap: 0.6rem;
    margin-left: auto;
}

.social-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    border-radius: 50%;
    background-color: transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: inherit;
    flex-shrink: 0;
    border: 1px solid transparent;
    overflow: hidden;
}

.social-icon-link:hover {
    transform: translateY(-2px);
    background-color: rgba(0, 0, 0, 0.05);
}

.social-icon-link svg {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    min-height: 16px !important;
    max-width: 16px !important;
    max-height: 16px !important;
    display: block !important;
    flex-shrink: 0 !important;
}

/* Platform-specific hover effects */
.social-icon-link.facebook:hover {
    color: #1877f2;
    border-color: #1877f2;
}

.social-icon-link.twitter:hover {
    color: #1da1f2;
    border-color: #1da1f2;
}

.social-icon-link.instagram:hover {
    color: #e4405f;
    border-color: #e4405f;
}

.social-icon-link.pinterest:hover {
    color: #e60023;
    border-color: #e60023;
}

.social-icon-link.youtube:hover {
    color: #ff0000;
    border-color: #ff0000;
}

.social-icon-link.tiktok:hover {
    color: #000;
    border-color: #000;
}

/* Spacer */
.top-bar-spacer {
    flex: 0 1 auto;
}

/* Tablet responsive */
@media (max-width: 768px) {
    .top-bar {
        padding: 0.6rem 1rem;
    }

    .top-bar-container {
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        gap: 1rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .top-bar-container::-webkit-scrollbar {
        display: none;
    }

    .top-bar-menu {
        order: 1;
        margin-left: 0;
        flex: 0 1 auto;
    }

    .top-bar-menu ul {
        flex-wrap: nowrap !important;
        gap: 0.85rem;
    }

    .top-bar-menu a {
        font-size: 0.88rem;
    }

    .social-icons-center {
        order: 2;
        gap: 0.5rem;
        margin-left: auto;
        flex: 0 0 auto;
    }

    .social-icon-link {
        width: 20px;
        height: 20px;
        min-width: 20px;
        min-height: 20px;
    }

    .social-icon-link svg {
        width: 14px !important;
        height: 14px !important;
        min-width: 14px !important;
        min-height: 14px !important;
        max-width: 14px !important;
        max-height: 14px !important;
    }

    .top-bar-spacer {
        display: none;
    }
}

/* Mobile responsive */
@media (max-width: 480px) {
    .top-bar {
        padding: 0.5rem 0.75rem;
    }

    .top-bar-container {
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        gap: 0.75rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .top-bar-container::-webkit-scrollbar {
        display: none;
    }

    .top-bar-menu {
        order: 1;
        margin-left: 0;
        flex: 0 1 auto;
    }

    .top-bar-menu ul {
        flex-wrap: nowrap !important;
        gap: 0.65rem;
    }

    .top-bar-menu a {
        font-size: 0.8rem;
        padding: 0.2rem 0;
    }

    .social-icons-center {
        order: 2;
        gap: 0.45rem;
        margin-left: auto;
        flex: 0 0 auto;
    }

    .social-icon-link {
        width: 18px;
        height: 18px;
        min-width: 18px;
        min-height: 18px;
    }

    .social-icon-link svg {
        width: 13px !important;
        height: 13px !important;
        min-width: 13px !important;
        min-height: 13px !important;
        max-width: 13px !important;
        max-height: 13px !important;
    }

    .top-bar-spacer {
        display: none;
    }
}

/* Extra small mobile - very compact */
@media (max-width: 360px) {
    .top-bar {
        padding: 0.45rem 0.6rem;
    }

    .top-bar-container {
        gap: 0.5rem;
    }

    .top-bar-menu ul {
        gap: 0.5rem;
    }

    .top-bar-menu a {
        font-size: 0.75rem;
        padding: 0.15rem 0;
    }

    .social-icons-center {
        gap: 0.35rem;
    }

    .social-icon-link {
        width: 16px;
        height: 16px;
        min-width: 16px;
        min-height: 16px;
    }

    .social-icon-link svg {
        width: 12px !important;
        height: 12px !important;
        min-width: 12px !important;
        min-height: 12px !important;
        max-width: 12px !important;
        max-height: 12px !important;
    }
}

/* ========================================
   HEADER & NAVIGATION
======================================== */

.site-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Enhanced shadow when scrolled */
.site-header.scrolled {
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.custom-logo-link {
    display: block;
    line-height: 0;
}

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

.site-title {
    font-size: 1.75rem;
    margin: 0;
    font-weight: 700;
}

.site-title a {
    color: #222;
    text-decoration: none;
}

.site-title a:hover {
    color: #ff6b6b;
}

.site-description {
    display: none;
}

/* Main Navigation - Desktop */
.main-navigation {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2rem;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    color: #333;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    display: block;
    transition: color 0.3s ease;
}

.main-navigation a:hover {
    color: #ff6b6b;
}

/* Dropdown Menus */
.main-navigation .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-radius: 8px;
    min-width: 200px;
    padding: 0.5rem 0;
    display: none;
    flex-direction: column;
    gap: 0;
    margin-top: 0.5rem;
}

.main-navigation li:hover > .sub-menu {
    display: flex;
}

.main-navigation .sub-menu li {
    width: 100%;
}

.main-navigation .sub-menu a {
    padding: 0.75rem 1.25rem;
    color: #555;
}

.main-navigation .sub-menu a:hover {
    background: #f8f8f8;
    color: #ff6b6b;
}

.main-navigation .sub-menu .sub-menu {
    left: 100%;
    top: 0;
    margin-left: 0.5rem;
    margin-top: 0;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-toggle .hamburger {
    width: 28px;
    height: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mobile-menu-toggle .hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Header Search */
.header-search {
    display: flex;
    align-items: center;
}

.header-search-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    font-size: 1.25rem;
    color: #333;
    transition: color 0.3s ease;
}

.header-search-toggle:hover {
    color: #ff6b6b;
}

.header-search-form {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 0.5rem;
    min-width: 300px;
}

.header-search-form.active {
    display: block;
}

.header-search-form input[type="search"] {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #eee;
    border-radius: 25px;
    font-size: 0.95rem;
}

.header-search-form button {
    display: none;
}

/* ========================================
   HERO SECTION
======================================== */

/* Hero Section - Simplified and Light (Search only) */
.hero-section {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    padding: 2rem 0;
    text-align: center;
    margin: 0;
    border-bottom: 1px solid #eee;
}

.hero-content {
    max-width: 700px;
    width: 100%;
    padding: 0 1.5rem;
    margin: 0 auto;
}

.hero-search {
    margin: 0;
}

.hero-search-form {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.hero-search-form:focus-within {
    border-color: #ff6b6b;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.hero-search-form input[type="search"] {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    font-size: 1rem;
    outline: none;
    background: transparent;
    color: #333;
}

.hero-search-form input[type="search"]::placeholder {
    color: #999;
}

.hero-search-form button {
    background: #ff6b6b;
    color: #ffffff;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.hero-search-form button:hover {
    background: #ff5252;
}

/* ========================================
   SECTIONS
======================================== */

.content-section {
    padding: 4rem 0;
}

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

.section-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #666;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

/* ========================================
   RECIPE CARDS / POST GRID
======================================== */

.recipes-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

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

.recipe-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.recipe-card-image {
    position: relative;
    padding-top: 66.67%; /* 2:3 ratio */
    overflow: hidden;
    background: #f0f0f0;
}

.recipe-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.recipe-category-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.recipe-category-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.recipe-card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.recipe-card-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.recipe-card-title a {
    color: #222;
}

.recipe-card-title a:hover {
    color: #ff6b6b;
}

.recipe-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: #888;
    margin-bottom: 1rem;
}

.recipe-meta span {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.recipe-excerpt {
    color: #666;
    margin-bottom: 1.25rem;
    line-height: 1.6;
    flex: 1;
}

.recipe-link {
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    align-self: flex-start;
    text-decoration: none;
}

.recipe-link:hover {
    gap: 0.75rem;
}

/* ========================================
   EDITOR'S PICK LAYOUT
======================================== */

.editors-pick-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

@media (min-width: 992px) {
    .editors-pick-layout {
        grid-template-columns: 1fr 350px;
        gap: 3rem;
    }
}

.editors-pick-main {
    min-width: 0; /* Prevent grid blowout */
}

.editors-pick-sidebar {
    position: relative;
}

/* ========================================
   EDITOR'S PICK CARD
======================================== */

.editors-pick-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.editors-pick-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.editors-pick-image {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    background: #f0f0f0;
}

.editors-pick-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.editors-pick-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: #ff6b6b;
    color: #fff;
    padding: 0.625rem 1.25rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
}

.editors-pick-content {
    padding: 2rem;
}

.editors-pick-title {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.editors-pick-title a {
    color: #222;
    transition: color 0.3s ease;
}

.editors-pick-title a:hover {
    color: #ff6b6b;
}

.editors-pick-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 1.25rem;
}

.meta-separator {
    color: #ddd;
}

.editors-pick-excerpt {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 1.5rem;
}

.editors-pick-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #ff6b6b;
    color: #fff;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.editors-pick-button:hover {
    background: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 107, 107, 0.4);
    gap: 0.75rem;
}

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

    .editors-pick-content {
        padding: 1.5rem;
    }

    .editors-pick-image {
        padding-top: 66.67%; /* 2:3 aspect ratio on mobile */
    }
}

/* ========================================
   ABOUT AUTHOR CARD
======================================== */

.about-author-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    position: sticky;
    top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-author-card .author-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.about-author-card .author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-author-card .author-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
}

.about-author-card .author-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #222;
    margin: 0;
    line-height: 1.3;
}

.about-author-card .author-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #ff6b6b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.about-author-card .author-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

.about-author-card .author-button {
    display: inline-block;
    background: #ff6b6b;
    color: #fff;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.about-author-card .author-button:hover {
    background: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 107, 107, 0.4);
}

/* Mobile: Full width card */
@media (max-width: 991px) {
    .about-author-card {
        position: relative;
        top: 0;
    }

    .about-author-card .author-image {
        max-width: 200px;
        margin: 0 auto;
    }
}

/* ========================================
   CATEGORIES GRID
======================================== */

.categories-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.category-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.category-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #222;
}

.category-card a {
    color: inherit;
}

.category-count {
    font-size: 0.875rem;
    color: #888;
}

/* ========================================
   PAGINATION
======================================== */

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 0.75rem 1.25rem;
    background: #fff;
    border-radius: 8px;
    color: #333;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.pagination a:hover,
.pagination .current {
    background: #ff6b6b;
    color: #fff;
}

.pagination .current {
    cursor: default;
}

/* ========================================
   SIDEBAR
======================================== */

.content-area-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 3rem 0;
}

.content-area-wrapper.has-sidebar {
    grid-template-columns: 1fr;
}

.sidebar {
    background: transparent;
}

.widget {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.widget-title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f0f0f0;
}

.widget ul {
    list-style: none;
    margin: 0;
}

.widget ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.widget ul li:last-child {
    border-bottom: none;
}

.widget ul li a {
    color: #555;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.widget ul li a:hover {
    color: #ff6b6b;
}

/* ========================================
   SINGLE POST
======================================== */

article {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background: transparent;
    box-shadow: none;
    border: none;
    padding: 0;
}

.single-recipe-header {
    text-align: center;
    margin: 0 0 3rem;
    padding: 3rem 2rem;
    background: transparent;
}

.single-recipe-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.single-recipe-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 0.95rem;
    color: #888;
    flex-wrap: wrap;
}

.single-recipe-image {
    margin: 0 0 3rem;
    width: 100%;
    overflow: hidden;
    background: transparent;
}

.single-recipe-image img {
    width: 100%;
    height: auto;
    display: block;
}

.single-recipe-content {
    margin: 0 auto 3rem;
    padding: 0;
    background: transparent;
    max-width: 100%;
    box-shadow: none;
    border-radius: 0;
}

.single-recipe-content h2,
.single-recipe-content h3,
.single-recipe-content h4 {
    margin-top: 2rem;
}

.single-recipe-content ul,
.single-recipe-content ol {
    margin-left: 2rem;
}

.post-navigation {
    margin: 3rem 0;
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    padding: 0 2rem;
}

.post-navigation a {
    flex: 1;
    background: transparent;
    padding: 1.5rem 0;
    border-radius: 0;
    box-shadow: none;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    border-top: 2px solid #f0f0f0;
}

.post-navigation a:hover {
    transform: translateY(0);
    box-shadow: none;
    background: #fafafa;
}

.nav-arrow {
    font-size: 1.75rem;
    font-weight: bold;
    color: #ff6b6b;
    line-height: 1;
}

.nav-subtitle {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666;
}

.nav-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #222;
    line-height: 1.4;
}

.post-navigation a:hover .nav-title {
    color: #ff6b6b;
}

/* Responsive design */
@media (max-width: 768px) {
    .post-navigation {
        gap: 1rem;
    }

    .post-navigation a {
        padding: 1rem;
    }

    .nav-arrow {
        font-size: 1.5rem;
    }

    .nav-title {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .post-navigation {
        flex-direction: column;
        gap: 1.5rem;
        margin: 2rem auto;
    }

    .post-navigation a {
        padding: 1rem;
    }

    .nav-arrow {
        font-size: 1.25rem;
    }

    .nav-subtitle {
        font-size: 0.75rem;
    }

    .nav-title {
        font-size: 0.95rem;
    }
}

.related-recipes {
    max-width: 1200px;
    margin: 4rem auto;
}

.related-recipes .recipes-grid {
    grid-template-columns: 1fr;
}

/* ========================================
   ARCHIVE & CATEGORY PAGES
======================================== */

.archive-header {
    text-align: center;
    padding: 3rem 0;
    background: #fff;
    margin-bottom: 3rem;
    border-radius: 12px;
}

.archive-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.archive-description {
    font-size: 1.125rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   SEARCH PAGE
======================================== */

.search-form {
    max-width: 600px;
    margin: 2rem auto;
}

.search-form label {
    display: flex;
    background: #fff;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.search-form input[type="search"] {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    font-size: 1rem;
    outline: none;
}

.search-form button {
    background: #ff6b6b;
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-form button:hover {
    background: #ff5252;
}

/* ========================================
   404 PAGE
======================================== */

.error-404 {
    text-align: center;
    padding: 6rem 1.5rem;
}

.error-404 h1 {
    font-size: 6rem;
    margin-bottom: 1rem;
    color: #ff6b6b;
}

.error-404 .page-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* ========================================
   FOOTER
======================================== */

.site-footer {
    background: #2a2a2a;
    color: #ccc;
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

.footer-widgets {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-widget-area {
    padding: 0;
}

.footer-widget-area .widget {
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.footer-widget-area .widget-title {
    color: #fff;
    border-bottom-color: #444;
}

.footer-widget-area .widget ul li a {
    color: #ccc;
}

.footer-widget-area .widget ul li a:hover {
    color: #ff6b6b;
}

.footer-widget-area .widget ul li {
    border-bottom-color: #444;
}

.site-info {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    font-size: 0.875rem;
}

.site-info a {
    color: #ccc;
}

.site-info a:hover {
    color: #ff6b6b;
}

/* ========================================
   COMMENTS
======================================== */

.comments-area {
    max-width: 100%;
    margin: 3rem auto;
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    word-wrap: break-word;
}

.comments-area * {
    max-width: 100%;
    box-sizing: border-box;
}

.comment-list {
    list-style: none;
    margin: 0;
}

.comment {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.comment-author img {
    border-radius: 50%;
}

.comment-respond {
    margin-top: 3rem;
}

/* Comment Form Styling */
.comment-form {
    display: flex;
    flex-direction: column;
}

.comment-form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.comment-form input[type="text"],
.comment-form textarea {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.5;
    color: #222;
    background: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.comment-form input[type="text"]::placeholder,
.comment-form textarea::placeholder {
    color: #999;
}

.comment-form input[type="text"]:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: #ff6b6b;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.comment-form textarea {
    min-height: 120px;
    resize: vertical;
    margin-bottom: 1.5rem;
}

.submit-comment {
    background: #ff6b6b;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: auto;
    align-self: flex-start;
}

.submit-comment:hover {
    background: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.submit-comment:active {
    transform: translateY(0);
}

/* ========================================
   MEDIA QUERIES - MOBILE FIRST
======================================== */

/* Small phones */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-search {
        width: 100%;
        padding: 0 0.5rem;
    }

    .hero-search-form {
        border-radius: 25px;
        width: 100%;
        max-width: 100%;
    }

    .hero-search-form input[type="search"] {
        padding: 0.875rem 1rem;
        font-size: 0.875rem;
    }

    .hero-search-form button {
        padding: 0.875rem 1.25rem;
        font-size: 0.875rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .single-recipe-title {
        font-size: 1.65rem;
        line-height: 1.2;
        -webkit-line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .single-recipe-content {
        padding: 0;
    }

    .comments-area {
        padding: 0;
        margin: 2rem auto;
        border-radius: 0;
        max-width: 100%;
    }

    .comment {
        margin-bottom: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .comments-title {
        font-size: 1.25rem;
    }

    .comment-form input[type="text"],
    .comment-form textarea {
        font-size: 16px;
        padding: 0.65rem;
    }

    .comment-form textarea {
        min-height: 100px;
    }

    .comment-form-group {
        margin-bottom: 1.25rem;
    }

    .submit-comment {
        padding: 0.65rem 1.25rem;
        font-size: 0.95rem;
    }

    .hero-content {
        width: 100%;
        padding: 0 0.5rem;
    }
}

/* Tablet - Medium responsive */
@media (max-width: 768px) {
    .single-recipe-title {
        font-size: 2rem;
        line-height: 1.2;
        -webkit-line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .comments-area {
        padding: 0;
        margin: 2.5rem auto;
    }

    .comment {
        margin-bottom: 1.75rem;
        padding-bottom: 1.75rem;
    }

    .comments-title {
        font-size: 1.4rem;
    }

    .comment-form input[type="text"],
    .comment-form textarea {
        font-size: 16px;
        padding: 0.7rem;
    }

    .comment-form textarea {
        min-height: 110px;
    }

    .comment-form-group {
        margin-bottom: 1.35rem;
    }

    .submit-comment {
        padding: 0.7rem 1.35rem;
        font-size: 0.98rem;
    }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
    .comments-area {
        padding: 0;
        margin: 1.5rem auto;
        border-radius: 0;
    }

    .comment {
        margin-bottom: 1.25rem;
        padding-bottom: 1.25rem;
    }

    .comments-title {
        font-size: 1.1rem;
    }

    .comment-form input[type="text"],
    .comment-form textarea {
        font-size: 16px;
        padding: 0.6rem;
    }

    .comment-form textarea {
        min-height: 90px;
    }

    .comment-form-group {
        margin-bottom: 1rem;
    }

    .submit-comment {
        padding: 0.6rem 1.1rem;
        font-size: 0.9rem;
    }
}

/* Medium phones and small tablets */
@media (max-width: 767px) {
    .hero-search-form {
        width: 100%;
        max-width: 100%;
    }

    .hero-content {
        padding: 0 1rem;
    }
}

/* Tablets and up */
@media (min-width: 768px) {
    .recipes-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .content-area-wrapper.has-sidebar {
        grid-template-columns: 1fr 350px;
    }

    .content-area-wrapper.has-sidebar.sidebar-left {
        grid-template-columns: 350px 1fr;
    }

    .content-area-wrapper.has-sidebar.sidebar-left .sidebar {
        order: -1;
    }

    .footer-widgets {
        grid-template-columns: repeat(3, 1fr);
    }

    .related-recipes .recipes-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .recipes-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .hero-title {
        font-size: 4rem;
    }
}

/* Mobile Navigation */
@media (max-width: 767px) {
    .mobile-menu-toggle {
        display: block;
    }

    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: #fff;
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
        padding: 5rem 2rem 2rem;
        overflow-y: auto;
        transition: right 0.3s ease;
        flex-direction: column;
        gap: 0;
    }

    .main-navigation.active {
        right: 0;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .main-navigation li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    .main-navigation a {
        padding: 1rem 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .main-navigation .sub-menu {
        position: static;
        box-shadow: none;
        border-radius: 0;
        background: #f8f8f8;
        margin: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .main-navigation li.menu-item-has-children > a::after {
        content: '\25BC';
        font-size: 0.7rem;
        transition: transform 0.3s ease;
    }

    .main-navigation li.menu-item-has-children.active > a::after {
        transform: rotate(180deg);
    }

    .main-navigation li.menu-item-has-children.active > .sub-menu {
        max-height: 1000px;
        display: block;
    }

    .main-navigation .sub-menu a {
        padding: 0.75rem 1rem;
    }

    .main-navigation .sub-menu .sub-menu {
        margin-left: 1rem;
    }

    /* Mobile menu overlay */
    body.mobile-menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 999;
    }

    body.mobile-menu-open {
        overflow: hidden;
    }

    .header-search-form {
        min-width: 250px;
        right: 1rem;
    }
}

/* ========================================
   WORDPRESS SPECIFIC CLASSES
======================================== */

.alignleft {
    float: left;
    margin: 0.5rem 1.5rem 1rem 0;
}

.alignright {
    float: right;
    margin: 0.5rem 0 1rem 1.5rem;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.875rem;
    color: #888;
    text-align: center;
    padding: 0.5rem;
}

.sticky {
    /* Styles for sticky posts */
}

.bypostauthor {
    /* Styles for comments by post author */
}

.gallery {
    margin-bottom: 1.5rem;
}

.gallery-item {
    display: inline-block;
    text-align: center;
    vertical-align: top;
    width: 100%;
    padding: 0.5rem;
}

.gallery-columns-2 .gallery-item {
    max-width: 50%;
}

.gallery-columns-3 .gallery-item {
    max-width: 33.33%;
}

/* ============================================================================
   Post Navigation - Compact & Responsive Design
   ============================================================================ */

.post-navigation-section {
    max-width: 1000px;
    margin: 2.5rem auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.nav-button {
    display: block;
    padding: 1rem 1.25rem;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    text-decoration: none;
    color: #222;
    transition: all 0.3s ease;
    position: relative;
}

.nav-button:hover {
    border-color: #ff6b6b;
    box-shadow: 0 6px 16px rgba(255, 107, 107, 0.12);
    transform: translateY(-2px);
}

.nav-content {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.nav-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #ff6b6b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-post-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #222;
    line-height: 1.25;
    transition: color 0.3s ease;
}

.nav-button:hover .nav-post-title {
    color: #ff6b6b;
}

/* Large Desktop */
@media (min-width: 1200px) {
    .post-navigation-section {
        gap: 2rem;
    }

    .nav-button {
        padding: 1.25rem 1.5rem;
    }

    .nav-post-title {
        font-size: 1.1rem;
    }

    .nav-label {
        font-size: 0.8rem;
        letter-spacing: 0.6px;
    }
}

/* Standard Desktop */
@media (max-width: 1199px) {
    .post-navigation-section {
        gap: 1.5rem;
        margin: 2.5rem auto;
    }

    .nav-button {
        padding: 1rem 1.25rem;
    }

    .nav-post-title {
        font-size: 1rem;
    }
}

/* Tablet - Switch to Single Column */
@media (max-width: 768px) {
    .post-navigation-section {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 2rem auto;
        padding: 0 0.75rem;
    }

    .nav-button {
        padding: 0.9rem 1.15rem;
    }

    .nav-label {
        font-size: 0.7rem;
        letter-spacing: 0.4px;
    }

    .nav-post-title {
        font-size: 0.95rem;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .post-navigation-section {
        gap: 0.9rem;
        margin: 1.75rem auto;
        padding: 0 0.75rem;
    }

    .nav-button {
        padding: 0.85rem 1rem;
    }

    .nav-label {
        font-size: 0.68rem;
        letter-spacing: 0.3px;
    }

    .nav-post-title {
        font-size: 0.9rem;
    }

    .nav-button:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(255, 107, 107, 0.1);
    }
}

/* Small Mobile */
@media (max-width: 540px) {
    .post-navigation-section {
        gap: 0.8rem;
        margin: 1.5rem auto;
        padding: 0 0.65rem;
    }

    .nav-button {
        padding: 0.8rem 0.95rem;
    }

    .nav-label {
        font-size: 0.65rem;
        letter-spacing: 0.25px;
    }

    .nav-post-title {
        font-size: 0.85rem;
    }

    .nav-content {
        gap: 0.35rem;
    }
}

/* Extra Small Mobile */
@media (max-width: 420px) {
    .post-navigation-section {
        gap: 0.7rem;
        margin: 1.25rem auto;
        padding: 0 0.5rem;
    }

    .nav-button {
        padding: 0.75rem 0.9rem;
    }

    .nav-label {
        font-size: 0.63rem;
        letter-spacing: 0.2px;
    }

    .nav-post-title {
        font-size: 0.8rem;
    }

    .nav-content {
        gap: 0.3rem;
    }
}

/* Minimal Mobile */
@media (max-width: 360px) {
    .post-navigation-section {
        gap: 0.6rem;
        margin: 1rem auto;
        padding: 0 0.4rem;
    }

    .nav-button {
        padding: 0.7rem 0.85rem;
    }

    .nav-label {
        font-size: 0.6rem;
        letter-spacing: 0.15px;
    }

    .nav-post-title {
        font-size: 0.75rem;
        line-height: 1.2;
    }

    .nav-content {
        gap: 0.25rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .nav-button {
        transition: none;
    }

    .nav-post-title {
        transition: none;
    }
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
    .nav-button {
        background: #1a1a1a;
        border-color: #2a2a2a;
        color: #e5e5e5;
    }

    .nav-button:hover {
        border-color: #ff8a7a;
        box-shadow: 0 6px 16px rgba(255, 107, 107, 0.2);
        background: #222;
    }

    .nav-post-title {
        color: #e5e5e5;
    }

    .nav-button:hover .nav-post-title {
        color: #ff8a7a;
    }

    .nav-label {
        color: #ff8a7a;
    }
}

.gallery-columns-4 .gallery-item {
    max-width: 25%;
}

/* ========================================
   RECIPE CARD
======================================== */

.recipe-card-container {
    background: linear-gradient(to bottom, #fff 0%, #fafafa 100%);
    border: 3px solid #ff6b6b;
    border-radius: 16px;
    padding: 0;
    margin: 3rem 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    scroll-margin-top: 100px;
}

/* Recipe Card Header */
.recipe-card-header {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8a7a 100%);
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.recipe-card-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    flex: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.print-recipe-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #fff;
    color: #ff6b6b;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.print-recipe-btn:hover {
    background: #f8f8f8;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.print-recipe-btn svg {
    flex-shrink: 0;
}

.recipe-card-description {
    font-size: 1.125rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
    padding: 1.5rem 2rem;
    text-align: center;
    font-style: italic;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
}

/* Recipe Card Meta (Times & Servings) */
.recipe-card-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin: 0;
    padding: 2rem;
    background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
    border-bottom: 1px solid #f0f0f0;
}

.recipe-card-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.recipe-card-meta-item svg {
    color: #ff6b6b;
    flex-shrink: 0;
}

.recipe-card-meta-item .meta-label {
    font-weight: 600;
    color: #333;
}

.recipe-card-meta-item .meta-value {
    color: #666;
}

/* Recipe Card Sections */
.recipe-card-section {
    margin: 0;
    padding: 2rem;
    border-bottom: 1px solid #f0f0f0;
}

.recipe-card-section:last-child {
    border-bottom: none;
}

.recipe-card-section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ff6b6b;
    margin: 0 0 1.5rem 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.recipe-card-section-title:before {
    content: "";
    width: 4px;
    height: 2rem;
    background: linear-gradient(to bottom, #ff6b6b, #ff8a7a);
    border-radius: 2px;
}

/* Ingredients */
.recipe-card-ingredients {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.recipe-card-ingredients li {
    padding: 1rem 1rem 1rem 3rem;
    position: relative;
    border-bottom: 1px solid #f5f5f5;
    font-size: 1.05rem;
    line-height: 1.6;
    transition: background 0.2s ease;
}

.recipe-card-ingredients li:hover {
    background: #fff9f9;
}

.recipe-card-ingredients li:before {
    content: "✓";
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    background: #ff6b6b;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.recipe-card-ingredients li:last-child {
    border-bottom: none;
}

/* Instructions */
.recipe-card-instructions {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: instruction-counter;
}

.recipe-card-instructions li {
    padding: 1.5rem 1rem 1.5rem 4rem;
    position: relative;
    border-bottom: 1px solid #f5f5f5;
    font-size: 1.05rem;
    line-height: 1.8;
    counter-increment: instruction-counter;
    background: #fff;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.recipe-card-instructions li:hover {
    background: #fff9f9;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.1);
}

.recipe-card-instructions li:before {
    content: counter(instruction-counter);
    position: absolute;
    left: 1rem;
    top: 1.5rem;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8a7a 100%);
    color: #fff;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 2px 6px rgba(255, 107, 107, 0.3);
}

.recipe-card-instructions li:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

/* Notes */
.recipe-card-notes {
    background: linear-gradient(135deg, #fffbf0 0%, #fff9e6 100%);
    border: none;
}

.recipe-card-notes .recipe-card-section-title {
    color: #f59e0b;
}

.recipe-card-notes .recipe-card-section-title:before {
    background: linear-gradient(to bottom, #f59e0b, #d97706);
}

.recipe-card-notes p {
    margin: 0;
    padding: 1.25rem;
    background: #fff;
    border-left: 4px solid #f59e0b;
    border-radius: 8px;
    color: #555;
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Nutrition */
.recipe-card-nutrition {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: none;
}

.recipe-card-nutrition .recipe-card-section-title {
    color: #3b82f6;
}

.recipe-card-nutrition .recipe-card-section-title:before {
    background: linear-gradient(to bottom, #3b82f6, #2563eb);
}

.recipe-card-nutrition-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
}

.recipe-card-nutrition-list li {
    padding: 1rem 1.25rem;
    background: #fff;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    box-shadow: 0 2px 6px rgba(59, 130, 246, 0.1);
    border-left: 3px solid #3b82f6;
    transition: all 0.2s ease;
}

.recipe-card-nutrition-list li:hover {
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .jump-to-recipe-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }

    .recipe-card-header {
        padding: 1.5rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .recipe-card-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .print-recipe-btn {
        align-self: flex-end;
    }

    .recipe-card-description {
        padding: 1.25rem 1.5rem;
    }

    .recipe-card-meta {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
        padding: 1.5rem;
    }

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

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

    .recipe-card-section-title:before {
        height: 1.5rem;
    }

    .recipe-card-instructions li {
        padding-left: 3.5rem;
    }

    .recipe-card-instructions li:before {
        width: 2rem;
        height: 2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .jump-to-recipe-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }

    .recipe-card-container {
        border-radius: 12px;
        margin: 2rem 0;
    }

    .recipe-card-header {
        padding: 1.25rem;
    }

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

    .print-recipe-btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }

    .recipe-card-description {
        font-size: 1rem;
        padding: 1rem 1.25rem;
    }

    .recipe-card-meta {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 1.25rem;
    }

    .recipe-card-meta-item {
        font-size: 0.875rem;
    }

    .recipe-card-section {
        padding: 1.25rem;
    }

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

    .recipe-card-ingredients li {
        padding: 0.875rem 0.875rem 0.875rem 2.75rem;
        font-size: 0.95rem;
    }

    .recipe-card-ingredients li:before {
        left: 0.875rem;
        width: 1.35rem;
        height: 1.35rem;
        font-size: 0.8rem;
    }

    .recipe-card-instructions li {
        padding: 1.25rem 0.875rem 1.25rem 3.25rem;
        font-size: 0.95rem;
    }

    .recipe-card-instructions li:before {
        left: 0.875rem;
        top: 1.25rem;
        width: 1.875rem;
        height: 1.875rem;
        font-size: 0.875rem;
    }

    .recipe-card-nutrition-list {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   PRINT STYLES FOR RECIPE CARD
======================================== */

@media print {
    /* Hide non-recipe elements */
    .site-header,
    .top-bar,
    .main-navigation,
    .site-footer,
    .jump-to-recipe-container,
    .print-recipe-btn,
    .related-recipes,
    .comments-area,
    .custom-post-navigation,
    .page-links,
    .sidebar,
    .widget-area,
    .single-recipe-meta,
    .single-recipe-header .recipe-category-badge,
    .entry-footer,
    .single-recipe-content {
        display: none !important;
    }

    /* Show only recipe card */
    body {
        background: #fff !important;
        color: #000 !important;
    }

    .recipe-card-container {
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        box-shadow: none !important;
        page-break-inside: avoid;
    }

    .recipe-card-header {
        background: #fff !important;
        border-bottom: 3px solid #000 !important;
        padding: 1.5rem 0 !important;
    }

    .recipe-card-title {
        color: #000 !important;
        text-shadow: none !important;
        font-size: 24pt !important;
    }

    .recipe-card-description {
        background: #fff !important;
        border: none !important;
        padding: 1rem 0 !important;
        font-size: 11pt !important;
    }

    .recipe-card-meta {
        background: #f5f5f5 !important;
        padding: 1rem !important;
        page-break-inside: avoid;
        border: 1px solid #ddd !important;
    }

    .recipe-card-meta-item svg {
        display: none;
    }

    .recipe-card-section {
        background: #fff !important;
        padding: 1rem 0 !important;
        border: none !important;
        page-break-inside: avoid;
    }

    .recipe-card-section-title {
        color: #000 !important;
        font-size: 14pt !important;
        border-bottom: 2px solid #000 !important;
        padding-bottom: 0.5rem !important;
        margin-bottom: 0.75rem !important;
    }

    .recipe-card-section-title:before {
        display: none !important;
    }

    .recipe-card-ingredients {
        background: #fff !important;
    }

    .recipe-card-ingredients li {
        background: #fff !important;
        border-bottom: 1px solid #eee !important;
        padding: 0.5rem 0 0.5rem 2rem !important;
        font-size: 10pt !important;
    }

    .recipe-card-ingredients li:before {
        background: #000 !important;
        width: 1.25rem !important;
        height: 1.25rem !important;
        left: 0 !important;
        font-size: 0.75rem !important;
    }

    .recipe-card-instructions li {
        background: #fff !important;
        padding: 0.75rem 0 0.75rem 2.5rem !important;
        margin-bottom: 0.5rem !important;
        border: 1px solid #ddd !important;
        font-size: 10pt !important;
        box-shadow: none !important;
    }

    .recipe-card-instructions li:before {
        background: #000 !important;
        width: 1.75rem !important;
        height: 1.75rem !important;
        left: 0.25rem !important;
        top: 0.75rem !important;
        font-size: 0.9rem !important;
        box-shadow: none !important;
    }

    .recipe-card-notes {
        background: #f9f9f9 !important;
        border: 1px solid #ddd !important;
        padding: 1rem !important;
    }

    .recipe-card-notes p {
        background: #fff !important;
        border-left: 3px solid #000 !important;
        font-size: 10pt !important;
    }

    .recipe-card-nutrition {
        background: #f9f9f9 !important;
        border: 1px solid #ddd !important;
        padding: 1rem !important;
    }

    .recipe-card-nutrition-list li {
        background: #fff !important;
        border: 1px solid #ddd !important;
        border-left: 3px solid #000 !important;
        box-shadow: none !important;
        font-size: 9pt !important;
    }

    /* Page breaks */
    h1, h2, h3 {
        page-break-after: avoid;
    }
}
