/* My Homemade Recipe WordPress Theme Styles */
@charset "UTF-8";

/* Inter Display Font - @import must be at top */
@import url('https://rsms.me/inter/inter-display.css');

/* CSS Variables */
:root {
    --color-primary: #c64118;
    --primary-color: #c64118;
    --mo-outline-footer: #000;
    --font-sans: 'Inter Display', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
}

/* Base Styles */
* {
    box-sizing: border-box;
}

html {
    font-family: var(--font-sans);
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background: #ffffff;
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Utility Classes */
.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.items-start {
    align-items: flex-start;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 0.75rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

.flex-col {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

.flex-1 {
    flex: 1;
}

.flex-shrink-0 {
    flex-shrink: 0;
}

.text-center {
    text-align: center;
}

.text-sm {
    font-size: 0.875rem;
}

.text-base {
    font-size: 1rem;
}

.text-lg {
    font-size: 1.125rem;
}

.text-xl {
    font-size: 1.25rem;
}

.text-2xl {
    font-size: 1.5rem;
}

.text-3xl {
    font-size: 1.875rem;
}

.text-4xl {
    font-size: 2.25rem;
}

.font-bold {
    font-weight: 700;
}

.font-semibold {
    font-weight: 600;
}

.font-medium {
    font-weight: 500;
}

.font-serif {
    font-family: serif;
}

.font-sans {
    font-family: var(--font-sans);
}

.text-gray-500 {
    color: #6b7280;
}

.text-gray-600 {
    color: #4b5563;
}

.text-gray-700 {
    color: #374151;
}

.text-gray-900 {
    color: #111827;
}

.text-primary {
    color: var(--color-primary);
}

.text-white {
    color: #ffffff;
}

.text-black {
    color: #000000;
}

.bg-white {
    background-color: #ffffff;
}

.bg-black {
    background-color: #000000;
}

.bg-gray-50 {
    background-color: #f9fafb;
}

.bg-gray-100 {
    background-color: #f3f4f6;
}

.bg-gray-200 {
    background-color: #e5e7eb;
}

.rounded {
    border-radius: 0.25rem;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.rounded-full {
    border-radius: 9999px;
}

.border {
    border: 1px solid;
}

.border-2 {
    border-width: 2px;
}

.border-b {
    border-bottom: 1px solid;
}

.border-gray-200 {
    border-color: #e5e7eb;
}

.border-gray-300 {
    border-color: #d1d5db;
}

.border-dashed {
    border-style: dashed;
}

.p-4 {
    padding: 1rem;
}

.p-6 {
    padding: 1.5rem;
}

.px-3 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.py-1 {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mt-8 {
    margin-top: 2rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.w-full {
    width: 100%;
}

.w-4 {
    width: 1rem;
}

.w-5 {
    width: 1.25rem;
}

.w-6 {
    width: 1.5rem;
}

.w-8 {
    width: 2rem;
}

.w-20 {
    width: 5rem;
}

.w-24 {
    width: 6rem;
}

.w-32 {
    width: 8rem;
}

.h-4 {
    height: 1rem;
}

.h-5 {
    height: 1.25rem;
}

.h-6 {
    height: 1.5rem;
}

.h-8 {
    height: 2rem;
}

.h-12 {
    height: 3rem;
}

.h-20 {
    height: 5rem;
}

.h-24 {
    height: 6rem;
}

.h-32 {
    height: 8rem;
}

.h-auto {
    height: auto;
}

.object-cover {
    object-fit: cover;
}

.no-underline {
    text-decoration: none;
}

.hover\:underline:hover {
    text-decoration: underline;
}

.hover\:text-primary:hover {
    color: var(--color-primary);
}

.hidden {
    display: none;
}

.block {
    display: block;
}

/* Tailwind-like responsive utilities */
@media (min-width: 768px) {
    .md\:flex {
        display: flex !important;
    }

    .md\:hidden {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .md\:flex {
        display: none !important;
    }

    .md\:hidden {
        display: block !important;
    }

    /* Ensure mobile menu button is visible on mobile */
    #mobile-menu-btn.md\:hidden {
        display: block !important;
    }
}

.uppercase {
    text-transform: uppercase;
}

.italic {
    font-style: italic;
}

.leading-tight {
    line-height: 1.25;
}

.leading-relaxed {
    line-height: 1.625;
}

.tracking-wider {
    letter-spacing: 0.05em;
}

.max-w-2xl {
    max-width: 42rem;
}

.max-w-none {
    max-width: none;
}

.space-y-2>*+* {
    margin-top: 0.5rem;
}

.space-y-4>*+* {
    margin-top: 1rem;
}

.grid {
    display: grid;
}

/* Container */
.container {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 1rem !important;
    box-sizing: border-box;
    width: 100%;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem !important;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 3rem !important;
    }

    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .md\:col-span-2 {
        grid-column: span 2 / span 2;
    }

    .md\:col-span-1 {
        grid-column: span 1 / span 1;
    }

    .md\:flex {
        display: flex;
    }

    .md\:hidden {
        display: none;
    }
}

.container__wrapper {
    width: 100% !important;
}

/* Header Styles */
header {
    min-height: 89px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.header-inner {
    min-height: 89px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    overflow: visible;
}

/* Logo Styles - Default Mobile First */
.header-logo-img {
    height: 50px;
    width: auto;
    max-width: 180px;
    max-height: 50px;
    object-fit: contain;
}

/* Mobile Logo Size - For screens less than 768px */
@media (max-width: 767px) {
    header {
        min-height: 70px !important;
        max-height: 70px !important;
        height: 70px !important;
    }

    .header-inner {
        min-height: 70px !important;
        max-height: 70px !important;
        height: 70px !important;
        padding: 0.5rem 0 !important;
    }

    #header-logo-link {
        max-width: calc(100% - 60px) !important;
    }

    #header-logo-container {
        max-width: 180px !important;
        max-height: 50px !important;
        height: 50px !important;
    }

    .header-logo-img {
        max-width: 180px !important;
        width: 180px !important;
        max-height: 50px !important;
        height: 50px !important;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    #header-logo-container {
        max-width: 150px !important;
        max-height: 45px !important;
        height: 45px !important;
    }

    .header-logo-img {
        max-width: 150px !important;
        width: 150px !important;
        max-height: 45px !important;
        height: 45px !important;
    }
}

/* Desktop Logo Size - Bigger for screens 768px and above */
@media (min-width: 768px) {
    header {
        min-height: 110px;
        max-height: 110px;
    }

    .header-inner {
        min-height: 110px;
        max-height: 110px;
        padding: 1rem 0 !important;
    }

    #header-logo-link {
        max-width: calc(50% - 2rem);
    }

    #header-logo-container {
        max-width: 365px;
        max-height: 70px;
        height: 70px;
    }

    .header-logo-img {
        max-width: 365px;
        max-height: 70px;
        height: 70px;
        width: auto;
    }
}

.header-menu-link {
    position: relative;
    padding: 0.5rem 0;
    transition: all 0.2s ease;
    color: #374151;
    text-decoration: none;
    font-size: 1.125rem;
}

/* Hide dots/separators in header menu */
#header-nav-desktop li::marker,
#header-nav-desktop li::before,
#header-nav-desktop li::after,
#header-nav-desktop li+li::before {
    display: none !important;
    content: none !important;
}

#header-nav-desktop li {
    list-style: none !important;
    list-style-type: none !important;
}

#header-nav-desktop li.menu-item-separator,
#header-nav-desktop li.separator {
    display: none !important;
}

.header-menu-link:hover {
    color: var(--color-primary, #c64118);
    transform: translateY(-1px);
}

/* Active/Current Menu Item - Primary Color */
#header-nav-desktop li.current-menu-item .header-menu-link,
#header-nav-desktop li.current_page_item .header-menu-link,
#header-nav-desktop li.current-menu-ancestor .header-menu-link,
#header-nav-desktop .current-menu-item>a.header-menu-link,
#header-nav-desktop .current_page_item>a.header-menu-link,
#header-nav-desktop .current-menu-ancestor>a.header-menu-link,
#header-nav-desktop li.current-menu-item a,
#header-nav-desktop li.current_page_item a,
#header-nav-desktop li.current-menu-ancestor a,
#header-nav-desktop .header-menu-link.header-menu-link-active,
#header-nav-desktop a.header-menu-link.header-menu-link-active {
    color: var(--color-primary, #c64118) !important;
    font-weight: 700 !important;
}

/* Override Tailwind text-gray-700 for active items */
#header-nav-desktop li.current-menu-item .header-menu-link.text-gray-700,
#header-nav-desktop li.current_page_item .header-menu-link.text-gray-700,
#header-nav-desktop li.current-menu-ancestor .header-menu-link.text-gray-700,
#header-nav-desktop .header-menu-link.header-menu-link-active.text-gray-700,
#header-nav-desktop a.header-menu-link.header-menu-link-active {
    color: var(--color-primary, #c64118) !important;
    font-weight: 700 !important;
}

/* Force primary color for active header menu links */
#header-nav-desktop .header-menu-link.header-menu-link-active {
    color: var(--color-primary, #c64118) !important;
    font-weight: 700 !important;
}

.header-search-link {
    color: #374151;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    padding: 0.5rem;
    border-radius: 0.25rem;
    text-decoration: none;
}

.header-search-link:hover {
    color: var(--color-primary, #da4949);
    background-color: rgba(0, 0, 0, 0.05);
    transform: scale(1.1);
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    text-align: center;
    background-color: #f5f5f5;
    min-height: 400px;
    display: flex;
    align-items: center;
    width: 100%;
}

.hero__wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    width: 100%;
}

.hero__title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    line-height: 1.2;
    color: #111827;
    letter-spacing: -0.02em;
}

.hero__slogan {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.8;
    color: #374151;
    max-width: 900px;
    margin: 0 auto;
}

.hero__tags {
    font-size: 1rem;
    line-height: 1.8;
    color: #374151;
    max-width: 900px;
    margin: 1.5rem auto 0;
}

.hero__tag-link {
    color: var(--color-primary, #c64118);
    text-decoration: none;
    font-size: 1rem;
    transition: opacity 0.2s ease;
    font-weight: 700;
}

.hero__tag-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Page Header */
.page-header-content {
    width: 100vw;
    max-width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background-color: #f5f5f5;
    padding: 1.5rem 0;
    margin-top: 0;
    margin-bottom: 0;
}

.page-header-content .container {
    margin: 0 auto;
    max-width: 1400px;
    padding: 0 1rem;
}

.page-content-spacing {
    margin-top: 3rem !important;
}

/* Recipe Header Container */
.recipe-header-container {
    width: 100vw;
    max-width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background-color: #f5f5f5;
    padding-top: 0;
    padding-bottom: 0 !important;
    margin-top: 0;
    margin-bottom: 0;
}

.recipe-breadcrumbs {
    width: auto !important;
    max-width: none !important;
    position: static !important;
    left: auto !important;
    right: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Article Header Container */
.article-header-container {
    width: 100vw;
    max-width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: 0 !important;
    margin-bottom: 2rem;
    background-color: #f5f5f5;
    padding-top: 0;
    padding-bottom: 2rem;
}

.article-page-header {
    padding: 0;
}

/* Article header with sidebar alignment */
.article-header-with-sidebar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.article-header-main {
    width: 100%;
}

.article-header-sidebar {
    display: none;
    /* Hidden on mobile */
}

@media (min-width: 768px) {
    .article-header-with-sidebar {
        grid-template-columns: 66.666% 33.333%;
        /* Match article layout: 2/3 and 1/3 */
        gap: 2.5rem;
    }

    .article-header-sidebar {
        display: block;
        /* Show on desktop to align with sidebar */
    }
}

.article-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}

.article-featured-in {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.article-featured-in .text-primary {
    color: var(--color-primary, #c64118);
}

.article-featured-in a {
    text-decoration: none !important;
}

.article-featured-in a:hover {
    text-decoration: none !important;
}

.article-description {
    font-size: 1rem;
    line-height: 1.7;
    color: #374151;
    margin-bottom: 1.5rem;
}

.article-social-buttons {
    margin-bottom: 1.5rem;
}

.social-buttons-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.social-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: 2px solid #111827;
    border-radius: 0.375rem;
    background: #ffffff;
    color: #111827;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
    font-family: inherit;
}

/* Ensure button elements match anchor styling */
button.social-button {
    border: 2px solid #111827;
    background: #ffffff;
    color: #111827;
    font-family: inherit;
    margin: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.social-button:hover {
    background: #111827;
    color: #ffffff;
    transform: translateY(-1px);
}

.social-button svg {
    flex-shrink: 0;
}

.social-button-pinterest:hover {
    background: #bd081c;
    border-color: #bd081c;
    color: #ffffff;
}

.social-button-facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: #ffffff;
}

.social-button-email:hover {
    background: #6b7280;
    border-color: #6b7280;
    color: #ffffff;
}

.social-button-print:hover {
    background: #111827;
    border-color: #111827;
    color: #ffffff;
}

.social-button-jump:hover {
    background: var(--color-primary, #c64118);
    border-color: var(--color-primary, #c64118);
    color: #ffffff;
}

.social-button-review {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.social-button-review .review-rating-value {
    font-weight: 800;
    color: var(--color-primary, #c64118);
}

.social-button-review .review-count {
    font-size: 0.875rem;
    color: #6b7280;
}

.social-button-review:hover {
    background: var(--color-primary, #c64118);
    border-color: var(--color-primary, #c64118);
    color: #ffffff;
}

.social-button-review:hover .review-rating-value,
.social-button-review:hover .review-count {
    color: #ffffff;
}

.article-author-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 1.5rem;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.article-author-info strong {
    font-weight: 600;
    color: #111827;
}

.article-author-info a {
    text-decoration: none !important;
}

.article-author-info a:hover {
    text-decoration: none !important;
}

/* Smooth scroll for jump to recipe */
html {
    scroll-behavior: smooth;
}

#recipe-card {
    scroll-margin-top: 2rem;
}

.recipe-breadcrumbs ol {
    justify-content: flex-start !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.recipe-breadcrumbs a {
    color: var(--color-primary, #c64118) !important;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.recipe-breadcrumbs a:hover {
    opacity: 0.8;
}

/* Categories Section */
.categories {
    display: block !important;
    width: 100% !important;
}

.categories__wrapper {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1rem !important;
    width: 100% !important;
    max-width: 100% !important;
}

.category {
    width: 100%;
}

.category__body {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #e5e7eb;
    border-radius: 20px;
    /* Updated to 20px to match images */
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    width: 100%;
    aspect-ratio: 372 / 160;
}

.category__body::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    background-image: linear-gradient(180deg, transparent 44%, rgba(0, 0, 0, 0.6) 90.63%);
    pointer-events: none;
    z-index: 1;
    border-radius: 20px;
}

.category__body:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.category__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 20px;
    /* Updated to 20px */
}

.category__body:hover .category__img {
    transform: scale(1.05);
}

.category__title {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 1rem 1.25rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
    z-index: 2;
    line-height: 1.2;
}

/* Section Header */
.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    width: 100%;
}

.section-header__title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #111827;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    flex-shrink: 0;
}

.section-header__separator {
    flex: 1;
    height: 12px;
    background: #f3f4f6;
    border: 1px dashed #000000;
    border-radius: 6px;
    margin: 0 1.5rem;
    min-width: 100px;
}

/* Page Subtitle Section with Separators */
.page-subtitle-section {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 3rem 0;
    padding: 0;
}

.page-subtitle__separator {
    flex: 1;
    height: 12px;
    background: #f3f4f6;
    border: 1px dashed #000000;
    border-radius: 6px;
    margin: 0 1.5rem;
    min-width: 0;
}

.page-subtitle__text {
    font-size: 1.75rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #111827;
    letter-spacing: 0.05em;
    margin: 0;
    padding: 0 1rem;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Responsive adjustments for subtitle section */
@media (max-width: 768px) {
    .page-subtitle-section {
        margin: 2rem 0;
        padding: 0;
    }

    .page-subtitle__separator {
        height: 10px;
        border-radius: 5px;
        margin: 0 0.75rem;
        min-width: 0;
    }

    .page-subtitle__text {
        font-size: 1.5rem !important;
        padding: 0 0.5rem;
    }

    .page-content-spacing {
        margin-top: 2rem !important;
    }
}

@media (max-width: 480px) {
    .page-subtitle-section {
        margin: 1.5rem 0;
        padding: 0;
    }

    .page-subtitle__separator {
        height: 8px;
        border-radius: 4px;
        margin: 0 0.5rem;
        min-width: 0;
    }

    .page-subtitle__text {
        font-size: 1.25rem !important;
        padding: 0 0.25rem;
    }

    .page-content-spacing {
        margin-top: 1.5rem !important;
    }
}

.section-header__button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #111827;
    color: #ffffff;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.section-header__button:hover {
    background: var(--color-primary, #c64118);
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.section-header__arrow {
    width: 20px;
    height: 20px;
    stroke-width: 2.5;
    color: #ffffff;
}

/* Previews Section */
.previews {
    display: block !important;
}

/* Previews Section - Homepage spacing */
.front-page .previews,
.home .previews {
    padding: 3rem 0 !important;
}

/* Fresh from the Kitchen - no top padding */
.front-page .previews--medium,
.home .previews--medium {
    padding-top: 0 !important;
    padding-bottom: 3rem !important;
}

/* Our Favorites - reduced top padding */
.front-page .previews--small,
.home .previews--small {
    padding-top: 1rem !important;
    padding-bottom: 3rem !important;
}

/* Categories Section - Homepage spacing */
.front-page .categories,
.home .categories {
    padding: 3rem 0 !important;
}

.previews__wrapper {
    display: grid !important;
    width: 100% !important;
}

.previews--medium .previews__wrapper {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 1.5rem !important;
}

.previews--small .previews__wrapper {
    grid-template-columns: repeat(6, 197px) !important;
    gap: 1.5rem !important;
    justify-content: center;
}

.preview {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
}

.previews--small .preview {
    width: 197px !important;
    max-width: 197px;
}

.preview__img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 20px;
    /* Updated to 20px */
    margin-bottom: 0.75rem;
    background: #e5e7eb;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.preview__img:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.previews--small .preview__img {
    width: 197px;
    height: 300px;
    aspect-ratio: 197 / 300;
    margin: 0 auto 0.75rem;
}

.preview__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 20px;
    /* Added border-radius to images */
}

.preview__img:hover img {
    transform: scale(1.1);
}

.preview__title {
    display: block;
    font-size: 1.125rem;
    font-weight: 700;
    /* Bold */
    color: #111827;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    text-decoration: none !important;
    /* Remove underline */
    border-bottom: none !important;
    /* Remove any border underline */
    text-align: center;
    /* Center align titles */
}

.preview__title:hover {
    color: var(--color-primary, #832020);
    text-decoration: none !important;
    /* Remove underline on hover */
    border-bottom: none !important;
    /* Remove any border underline on hover */
}

/* Remove underline from title links */
.preview a {
    text-decoration: none !important;
    border-bottom: none !important;
}

.preview a:hover {
    text-decoration: none !important;
    border-bottom: none !important;
}

.preview__content {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* Limit to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Hide description in "Fresh from the Kitchen" section (medium previews) */
.previews--medium .preview__content {
    display: none !important;
}

/* Center align titles and ratings in "Fresh from the Kitchen" section */
.previews--medium .preview__title {
    text-align: center;
}

.previews--medium .preview__rating {
    justify-content: center;
}

/* Center align titles in "Our Favorites" section */
.previews--small .preview__title {
    text-align: center;
}

/* Rating/Review Styles */
.preview__rating {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Center align rating */
    gap: 0.5rem;
    margin-top: 0.5rem;
    font-size: 0.875rem;
}

/* Stars in Fresh from the Kitchen - Yellow/Gold Color */
.preview__stars .preview__star--filled {
    fill: #fbbf24;
    /* Yellow/gold for filled stars */
    color: #fbbf24;
}

.preview__stars .preview__star--half {
    fill: #fbbf24;
    /* Yellow/gold for half stars */
    color: #fbbf24;
}

.preview__stars .preview__star--empty {
    fill: #e5e7eb;
    /* Gray for empty stars */
    color: #e5e7eb;
}

/* Rating value in primary color */
.preview__rating-value {
    color: var(--color-primary, #c64118);
    font-weight: 800;
}

.preview__stars {
    display: flex;
    align-items: center;
    gap: 0.125rem;
}

.preview__stars svg {
    width: 14px;
    height: 14px;
}

/* Stars use primary color via classes, empty stars use gray */
.preview__stars svg.empty,
.preview__stars .preview__star--empty {
    fill: #e5e7eb;
    /* Gray for empty stars */
}

.preview__rating-text {
    color: #6b7280;
    font-size: 0.875rem;
}

/* TOP PICKS Preview Cards */
.top-picks-preview {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    border: 2px dashed #d1d5db;
    border-radius: 0.5rem;
    overflow: hidden;
    background: #ffffff;
}

.top-picks-preview__img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: #e5e7eb;
    position: relative;
}

.top-picks-preview__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.top-picks-preview__content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
}

.top-picks-preview__content a {
    text-decoration: none !important;
    border-bottom: none !important;
}

.top-picks-preview__title {
    display: block;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-primary, #c64118);
    margin-bottom: 0.75rem;
    line-height: 1.4;
    text-decoration: none !important;
    border-bottom: none !important;
}

.top-picks-preview__title:hover {
    color: var(--color-primary, #c64118);
    text-decoration: none !important;
    border-bottom: none !important;
}

.top-picks-preview__separator {
    width: 100%;
    height: 1px;
    background: #e5e7eb;
    margin-bottom: 0.75rem;
}

.top-picks-preview__description {
    font-size: 0.875rem;
    color: #9ca3af;
    line-height: 1.5;
    margin: 0;
}

/* Text Utilities */
.txt-xxxl {
    font-size: 2.5rem;
    line-height: 1.2;
}

.txt-xxl {
    font-size: 2rem;
    line-height: 1.3;
}

.txt-xl {
    font-size: 1.125rem;
    line-height: 1.4;
}

.txt-l {
    font-size: 1.125rem;
    line-height: 1.4;
}

.txt-m {
    font-size: 1rem;
    line-height: 1.6;
}

.txt-s {
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Footer */
.footer {
    margin-top: 3rem;
    border-top: 1px solid #e5e7eb;
    background: white;
}

.footer__body {
    padding: 2rem 0;
    background-color: #f5f5f5;
    border-top: 1px dashed var(--mo-outline-footer, #000);
}

.footer__nav-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.footer__nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.footer__nav-line1,
.footer__nav-line2 {
    justify-content: center;
}

.footer__nav-item {
    margin: 0;
}

.footer__nav-item .icon-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #000000;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    transition: all 0.2s ease;
}

.footer__nav-item .icon-wrapper:hover,
.footer__nav-item .icon-wrapper.selected,
.footer__nav-item .icon-wrapper.current {
    color: var(--color-primary, #c64118);
}

.footer__footer {
    padding: 2rem 0;
    border-top: 1px dashed var(--mo-outline-footer, #000);
    text-align: center;
}

/* Cookie Consent Banner */
.cookie-consent-banner {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    max-width: 380px;
    width: calc(100% - 3rem);
    background-color: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    padding: 1.25rem;
    animation: slideInFromRight 0.3s ease-out;
}

@keyframes slideInFromRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.cookie-consent-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cookie-consent-message {
    margin: 0;
    color: #374151;
    font-size: 0.875rem;
    line-height: 1.5;
}

.cookie-consent-message a {
    color: var(--color-primary, #c64118);
    text-decoration: underline;
    font-weight: 500;
}

.cookie-consent-message a:hover {
    opacity: 0.8;
    text-decoration: none;
}

.cookie-consent-button {
    padding: 0.625rem 1.5rem;
    background-color: var(--color-primary, #c64118);
    color: #ffffff;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    text-align: center;
}

.cookie-consent-button:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.cookie-consent-button:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .cookie-consent-banner {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
        width: auto;
        max-width: none;
    }

    .cookie-consent-message {
        font-size: 0.8125rem;
    }

    .cookie-consent-button {
        font-size: 0.8125rem;
        padding: 0.75rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .cookie-consent-banner {
        bottom: 0.75rem;
        right: 0.75rem;
        left: 0.75rem;
        padding: 1rem;
    }
}

.social {
    margin-bottom: 1.5rem;
}

.social__items {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social__item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s;
}

.social__item:hover {
    color: #111827;
}

.social__item svg {
    width: 1.25rem;
    height: 1.25rem;
}

.footer__copyright {
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Main */
#main.main {
    display: block;
    min-height: calc(100vh - 200px);
    width: 100%;
}

/* Remove spacing before article-header-container on single post pages */
.single #main.main {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.single .article-header-container {
    margin-top: 0 !important;
    margin-bottom: 2rem;
    padding-top: 2.5rem;
}

/* Ensure header doesn't have bottom margin on single posts */
.single header.border-b {
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Remove any spacing between header and main on single posts */
body.single header+main {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Authors Section */
.authors-section {
    margin-top: 3rem;
}

.authors-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2rem !important;
    width: 100% !important;
}

.author-card {
    width: 100%;
}

.author-card__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1.5rem;
    border: 2px dashed #d1d5db;
    border-radius: 0.5rem;
    background: #f9fafb;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    width: 100%;
}

.author-card__link:hover {
    border-color: #9ca3af;
    background: #ffffff;
}

.author-card__image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1.25rem;
    flex-shrink: 0;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
}

.author-card__image--placeholder {
    background: #d1d5db;
    color: #6b7280;
    font-size: 3rem;
    font-weight: 700;
}

.author-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.author-card__content {
    width: 100%;
}

.author-card__name {
    font-size: 1.125rem;
    font-weight: 700;
    color: #000000;
    margin: 0 0 0.5rem 0;
    text-transform: capitalize;
}

.author-card__tagline {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0 0 0.5rem 0;
    line-height: 1.5;
}

.author-card__count {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0 0 1rem 0;
    font-weight: 400;
}

.author-card__social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.author-card__social-link {
    color: #6b7280;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.author-card__social-link:hover {
    color: #111827;
}

/* Recipe Card Styles */
.recipe-card {
    background: var(--recipe-card-bg-color, #f5f5f5);
    border: 2px dashed #d1d5db;
    border-radius: 2.5rem;
    padding: 2rem;
    max-width: 100%;
    margin-top: 3rem;
}

/* Recipe Card Title */
.recipe-card-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #000000;
    text-align: center;
    margin: 0 0 1rem 0;
    line-height: 1.3;
}

/* Recipe Card Description */
.recipe-card-description {
    font-size: 1rem;
    color: #000000;
    text-align: center;
    margin: 0 0 1.5rem 0;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    line-height: 1.6;
}

/* Recipe Card Times Section */
.recipe-card-times {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    width: 100%;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.recipe-card-time-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem 0.75rem;
    text-align: center;
    gap: 0.5rem;
}

.recipe-card-time-item-middle {
    border-left: 1px solid #e5e7eb;
    border-right: 1px solid #e5e7eb;
}

.recipe-card-time-icon {
    width: 20px;
    height: 20px;
    color: #9ca3af;
    flex-shrink: 0;
}

.recipe-card-time-label {
    font-size: 0.75rem;
    color: #9ca3af;
    line-height: 1.2;
}

.recipe-card-time-value {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #000000;
    line-height: 1.4;
}

/* Recipe Card Rating */
.recipe-card-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin: 1.5rem 0;
    padding: 1rem 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.recipe-card-rating-stars {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.recipe-card-star {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.recipe-card-star-full {
    color: #fbbf24;
}

.recipe-card-star-half {
    color: #fbbf24;
}

.recipe-card-star-empty {
    color: #d1d5db;
}

.recipe-card-rating-value {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--color-primary, #c64118);
}

.recipe-card-rating-count {
    font-size: 0.875rem;
    color: #6b7280;
}

/* Recipe Rating Box (User Rating Input) */
.recipe-rating-box {
    background: var(--recipe-card-bg-color, #f5f5f5);
    border: 2px dashed #d1d5db;
    border-radius: 1.5rem;
    padding: 1.25rem;
    margin: 2rem 0;
    text-align: center;
}

.recipe-rating-box-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.recipe-rating-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000000;
    margin: 0;
}

.recipe-rating-description {
    font-size: 0.9375rem;
    color: #6b7280;
    margin: 0;
}

.recipe-rating-stars-input {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0.25rem 0;
}

.recipe-rating-star-btn {
    background: none;
    border: none;
    padding: 0.25rem;
    cursor: pointer;
    transition: transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.recipe-rating-star-btn:hover {
    transform: scale(1.15);
}

.recipe-rating-star-btn:disabled {
    cursor: default;
    transform: none;
}

.recipe-rating-star-icon {
    width: 36px;
    height: 36px;
    color: #d1d5db;
    transition: color 0.2s ease;
}

.recipe-rating-star-btn:hover .recipe-rating-star-icon,
.recipe-rating-star-btn.recipe-rating-star-active .recipe-rating-star-icon {
    color: #fbbf24;
}

.recipe-rating-message {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
    width: 100%;
}

.recipe-rating-thank-you {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-primary, #c64118);
    margin: 0;
}

.recipe-rating-box-rated {
    opacity: 0.9;
}

.recipe-rating-box-rated .recipe-rating-star-btn {
    cursor: default;
}

/* Recipe Card Details Section */
.recipe-card-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.recipe-card-detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    color: #000000;
}

.recipe-card-detail-icon {
    width: 18px;
    height: 18px;
    color: #6b7280;
    flex-shrink: 0;
}

.recipe-card-detail-label {
    font-weight: 700;
    color: #000000;
}

.recipe-card-detail-value {
    color: #000000;
}

.recipe-card-detail-value-highlight {
    color: var(--color-primary, #c64118);
    font-weight: 600;
}

/* Recipe Card Section Titles */
.recipe-card-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000000;
    margin: 2rem 0 1.5rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.recipe-card-section-title.recipe-card-nutrition-title {
    text-align: center;
}

/* Recipe Card Ingredients */
.recipe-card-ingredients {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.recipe-card-ingredient-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.recipe-card-ingredient-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 28px;
    background-color: #000000;
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: 4px;
    flex-shrink: 0;
    padding: 0 0.5rem;
}

.recipe-card-ingredient-text {
    font-size: 0.9375rem;
    color: #374151;
    line-height: 1.6;
    padding-top: 0.25rem;
}

/* Recipe Card Instructions */
.recipe-card-instructions {
    margin: 0 0 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.recipe-card-instruction-item {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.recipe-card-instruction-step {
    display: inline-block;
    background-color: #000000;
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 700;
    padding: 0.375rem 0.75rem;
    border-radius: 4px;
    align-self: flex-start;
}

.recipe-card-instruction-content {
    margin-left: 0;
}

.recipe-card-instruction-text {
    font-size: 0.9375rem;
    color: #374151;
    line-height: 1.7;
    margin: 0;
}

/* Recipe Card Notes */
.recipe-card-notes {
    font-size: 0.9375rem;
    color: #374151;
    line-height: 1.7;
    margin-bottom: 2rem;
    white-space: pre-line;
}

/* Recipe Card Tools */
.recipe-card-tools {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.recipe-card-tool-item {
    font-size: 0.9375rem;
    color: #374151;
    line-height: 1.6;
    padding-left: 1.5rem;
    position: relative;
}

.recipe-card-tool-item::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-primary, #c64118);
    font-weight: bold;
}

/* Recipe Card Allergy Information */
.recipe-card-allergy-info {
    font-size: 0.9375rem;
    color: #374151;
    line-height: 1.7;
    margin-bottom: 2rem;
    white-space: pre-line;
}

/* Recipe Card Nutrition Facts */
.recipe-card-nutrition {
    margin-bottom: 2rem;
}

.recipe-card-nutrition-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.recipe-card-nutrition-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.75rem;
    background: #ffffff;
    border-radius: 0.375rem;
    border: 1px solid #e5e7eb;
}

.recipe-card-nutrition-label {
    font-size: 0.75rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
    text-transform: capitalize;
}

.recipe-card-nutrition-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-primary, #c64118);
}

.recipe-card .nutrition-facts-simple {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 1rem 0;
}

/* Recipe Sidebar */
.recipe-sidebar-widget {
    background-color: #f5f5f5;
    border: 2px dashed #d1d5db;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.recipe-author-box {
    text-align: center;
    border-radius: 20px;
}

.recipe-author-box img,
.recipe-author-box>div {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.recipe-author-box h3 {
    margin-bottom: 0.75rem;
}

.recipe-author-box h3 a {
    text-decoration: none;
    transition: color 0.2s;
}

.recipe-author-box__social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.recipe-author-box__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: #6b7280;
    transition: all 0.2s;
    border-radius: 50%;
}

.recipe-author-box__social-link:hover {
    color: var(--color-primary, #c64118);
    background-color: #f3f4f6;
    transform: translateY(-2px);
}

.recipe-sidebar-item {
    background-color: #ffffff;
    border: 2px dashed #d1d5db !important;
    border-radius: 20px;
    padding: 0.75rem;
    transition: all 0.2s;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.recipe-sidebar-item:hover {
    background-color: #f9fafb;
    border-color: #9ca3af !important;
}

.recipe-sidebar-item img {
    flex-shrink: 0;
    object-fit: cover;
}

/* Sidebar item with horizontal layout (for random posts) */
.recipe-sidebar-item {
    align-items: center;
}

.recipe-sidebar-item h4 {
    font-size: 1.125rem !important;
    line-height: 1.5;
    margin: 0;
}

.recipe-sidebar-item h4 a {
    text-decoration: none !important;
    border-bottom: none !important;
}

.recipe-sidebar-item h4 a:hover {
    text-decoration: none !important;
    border-bottom: none !important;
}

/* Article Content Boxes - Base */
.article-info-box {
    background-color: #f5f5f5;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    outline: 1px dashed #d1d5db;
    outline-offset: 0;
}

/* Article Content Boxes - You Must Know, Pro Tips & Why You'll Love This Recipe */
.article-info-box--you-must-know,
.article-info-box--pro-tips,
.article-info-box--why-love {
    background-color: #f3f5f3;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    box-shadow: -16px 16px 0 0 #cbd3cb;
    outline: 1px dashed #d1d5db;
    outline-offset: 0;
}

.article-info-box--you-must-know .article-info-box__header,
.article-info-box--pro-tips .article-info-box__header,
.article-info-box--why-love .article-info-box__header {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0;
}

.article-info-box--you-must-know .article-info-box__icon,
.article-info-box--pro-tips .article-info-box__icon,
.article-info-box--why-love .article-info-box__icon {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    color: #000000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.article-info-box--you-must-know .article-info-box__title,
.article-info-box--pro-tips .article-info-box__title,
.article-info-box--why-love .article-info-box__title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #000000;
    margin-top: 0.5em !important;
    line-height: 1.4;
    padding-left: 0 !important;
    position: static !important;
    color: #000000 !important;
}

.article-info-box--you-must-know .article-info-box__title::before,
.article-info-box--pro-tips .article-info-box__title::before,
.article-info-box--why-love .article-info-box__title::before {
    display: none !important;
    content: '' !important;
    width: 0 !important;
    height: 0 !important;
    background: none !important;
}

.article-info-box--you-must-know .article-info-box__content,
.article-info-box--pro-tips .article-info-box__content,
.article-info-box--why-love .article-info-box__content {
    color: #1f2937;
    line-height: 1.85;
    font-size: 1.0625rem;
}

.article-info-box--you-must-know .article-info-box__content ul,
.article-info-box--pro-tips .article-info-box__content ul,
.article-info-box--why-love .article-info-box__content ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.article-info-box--you-must-know .article-info-box__content li,
.article-info-box--pro-tips .article-info-box__content li,
.article-info-box--why-love .article-info-box__content li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0;
    line-height: 1.65;
    color: #374151;
}

.article-info-box--you-must-know .article-info-box__content li::before,
.article-info-box--pro-tips .article-info-box__content li::before,
.article-info-box--why-love .article-info-box__content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: calc(0.8em - 2.5px);
    width: 5px;
    height: 5px;
    background-color: var(--color-primary, #c64118);
    border-radius: 0;
    transform: rotate(45deg);
    display: block;
}

.article-info-box--you-must-know .article-info-box__content li:last-child,
.article-info-box--pro-tips .article-info-box__content li:last-child,
.article-info-box--why-love .article-info-box__content li:last-child {
    margin-bottom: 0;
}

.article-info-box--you-must-know .article-info-box__content p,
.article-info-box--pro-tips .article-info-box__content p,
.article-info-box--why-love .article-info-box__content p {
    margin-bottom: 0.75rem;
    line-height: 1.7;
    color: #374151;
}

.article-info-box--you-must-know .article-info-box__content p:last-child,
.article-info-box--pro-tips .article-info-box__content p:last-child,
.article-info-box--why-love .article-info-box__content p:last-child {
    margin-bottom: 0;
}

/* Lightbulb Icon SVG - outline style icon */
.article-info-box--you-must-know .article-info-box__icon svg,
.article-info-box--pro-tips .article-info-box__icon svg,
.article-info-box--why-love .article-info-box__icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    display: block;
}

.article-faqs {
    margin: 2.5rem 0;
}

.article-faqs__title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #000000;
    margin: 0 0 1.5rem 0;
    line-height: 1.3;
}

.article-faqs__list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.article-faqs__item {
    flex-direction: column;
    gap: 0.25rem;
}

.article-faqs__question {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: #000000;
    line-height: 1.4;
}

.article-faqs__question::before {
    content: '→';
    font-size: 1.5rem;
    line-height: 1;
    color: var(--color-primary, #c64118);
    flex-shrink: 0;
}

/* Remove any second arrow (from ::after or list markers) */
.article-faqs__question::after {
    display: none !important;
    content: none !important;
}

.article-faqs__question {
    list-style: none !important;
}

.article-faqs__question::-webkit-details-marker,
.article-faqs__question::marker {
    display: none !important;
    content: none !important;
}

.article-faqs__answer {
    margin-left: 1.85rem;
    margin-top: 0.25rem;
    font-size: 1.0625rem;
    color: #374151;
    line-height: 1.75;
}

/* Article Featured Image */
.article-featured-image {
    width: 100%;
    margin-bottom: 2rem;
}

.article-featured-image img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    object-fit: cover;
    display: block;
}

/* Article content images */
.article-main .entry-content img,
.article-main .prose img,
.article-main article img {
    border-radius: 24px;
    display: block;
    max-width: 100%;
    height: auto;
}

/* Pinterest Pin Button Overlay */
.article-image-wrapper {
    position: relative;
    display: block;
    width: 100%;
    max-width: 100%;
}

.article-featured-image .article-image-wrapper {
    width: 100%;
}

.article-image-wrapper img {
    border-radius: 24px;
    display: block;
    width: 100%;
    height: auto;
}

.pinterest-pin-button {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: #BD081C;
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    z-index: 10;
    transition: background-color 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.pinterest-pin-button:hover {
    background-color: #A00717;
    color: #ffffff;
    text-decoration: none;
}

.pinterest-pin-button svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    flex-shrink: 0;
}

/* Article Image Alt Text - Ensure normal (not italic) */
.article-image-alt-text,
.article-image-wrapper .article-image-alt-text,
.article-featured-image .article-image-alt-text,
.entry-content .article-image-alt-text,
.prose .article-image-alt-text,
.article-main .article-image-alt-text {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #6b7280;
    text-align: center;
    font-style: normal !important;
    font-weight: normal !important;
    font-family: inherit !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

/* Article with Sidebar Layout */
.article-with-sidebar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}

.article-main {
    width: 100%;
    min-width: 0;
    /* Prevent overflow */
    display: flex;
    flex-direction: column;
}

.article-main .article-page-header {
    flex-shrink: 0;
}

.article-main article {
    width: 100%;
    flex: 1;
}

.article-main .entry-content {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0;
}

.article-main .entry-content.prose {
    max-width: 100% !important;
    width: 100% !important;
}

.article-main .prose,
.article-main .prose.prose-lg,
.article-main .prose.max-w-none {
    max-width: 100% !important;
    width: 100% !important;
}

/* Utility class for max-width none */
.max-w-none {
    max-width: none !important;
}

.article-sidebar {
    width: 100%;
}

@media (min-width: 768px) {
    .article-with-sidebar {
        grid-template-columns: 66.666% 33.333%;
        /* Exactly 2/3 and 1/3 */
        gap: 2.5rem;
    }
}

/* Widget Area / Sidebar */
.widget-area.recipe-sidebar {
    width: 100%;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Prose styles for content */
.prose {
    color: #374151;
    max-width: 65ch;
}

.prose-lg {
    font-size: 1.125rem;
    line-height: 1.7;
}

.prose p {
    margin-bottom: 1.25em;
}

.prose h2,
.entry-content h2,
.privacy-policy-content h2 {
    font-size: 1.5em;
    font-weight: bold;
    margin-top: 2em;
    margin-bottom: 1em;
    color: var(--color-primary, #c64118);
    position: relative;
    padding-left: 1.25rem;
}

.prose h2::before,
.entry-content h2::before,
.privacy-policy-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 9px;
    background-color: var(--color-primary, #c64118);
    border-radius: 6px;
}

.prose h3,
.entry-content h3,
.privacy-policy-content h3 {
    font-size: 1.25em;
    font-weight: bold;
    margin-top: 0.5em;
    margin-bottom: 0.6em;
    color: var(--color-primary, #c64118);
    position: relative;
    padding-left: 1.25rem;
}

.prose h3::before,
.entry-content h3::before,
.privacy-policy-content h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 9px;
    background-color: var(--color-primary, #c64118);
    border-radius: 6px;
}

.prose ul,
.prose ol {
    margin-bottom: 1.25em;
    padding-left: 1.625em;
    list-style: none;
}

.prose ul li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 0.5em;
}

.prose ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: calc(0.8em - 4px);
    width: 8px;
    height: 8px;
    background-color: var(--color-primary, #c64118);
    border-radius: 0;
}

.prose ol {
    list-style: decimal;
    list-style-position: outside;
}

.prose ol li {
    margin-bottom: 0.5em;
    padding-left: 0.5em;
}

/* Privacy Policy Content - Full Width */
.privacy-policy-content {
    color: #374151;
    max-width: 100%;
    width: 100%;
    font-size: 1.125rem;
    line-height: 1.7;
}

.privacy-policy-content p {
    margin-bottom: 1.25em;
}

.privacy-policy-content h2 {
    font-size: 1.5em;
    font-weight: bold;
    margin-top: 2em;
    margin-bottom: 1em;
    color: var(--color-primary, #c64118);
    position: relative;
    padding-left: 1.25rem;
}

.privacy-policy-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 9px;
    background-color: var(--color-primary, #c64118);
    border-radius: 2px;
}

.privacy-policy-content h3 {
    font-size: 1.25em;
    font-weight: bold;
    margin-top: 1.6em;
    margin-bottom: 0.6em;
    color: var(--color-primary, #c64118);
    position: relative;
    padding-left: 1.25rem;
}

.privacy-policy-content h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 9px;
    background-color: var(--color-primary, #c64118);
    border-radius: 2px;
}

.privacy-policy-content ul,
.privacy-policy-content ol {
    margin-bottom: 1.25em;
    padding-left: 1.625em;
    list-style: none;
}

.privacy-policy-content ul li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 0.5em;
}

.privacy-policy-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 8px;
    height: 8px;
    background-color: var(--color-primary, #c64118);
    border-radius: 0;
    transform: translateY(-50%);
}

.privacy-policy-content ol {
    list-style: decimal;
    list-style-position: outside;
}

.privacy-policy-content ol li {
    margin-bottom: 0.5em;
    padding-left: 0.5em;
}

/* Entry Content - Apply same styles to body content in pages/articles */
.entry-content h2 {
    font-size: 1.5em;
    font-weight: bold;
    margin-top: 2em;
    margin-bottom: 1em;
    color: var(--color-primary, #c64118);
}

.entry-content h3 {
    font-size: 1.25em;
    font-weight: bold;
    margin-top: 1.6em;
    margin-bottom: 0.6em;
    color: var(--color-primary, #c64118);
}


.entry-content ul {
    list-style: none;
    margin-bottom: 1.25em;
    padding-left: 1.625em;
}

.entry-content ol {
    list-style: none;
    margin-bottom: 1.25em;
    padding-left: 1.625em;
}

.entry-content ul li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 0.5em;
    line-height: 1.6;
}

.entry-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: calc(0.8em - 4px);
    width: 8px;
    height: 8px;
    background-color: var(--color-primary, #c64118);
    border-radius: 0;
    margin-top: 0;
}

.entry-content ol li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 0.5em;
    list-style: none;
}

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

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

.privacy-policy-content strong {
    font-weight: 600;
    color: #111827;
}

/* Responsive */
@media (max-width: 1200px) {
    .previews--small .previews__wrapper {
        grid-template-columns: repeat(4, 197px) !important;
    }
}

@media (max-width: 900px) {
    .previews--small .previews__wrapper {
        grid-template-columns: repeat(3, 197px) !important;
    }
}

@media (max-width: 780px) {
    .categories__wrapper {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .authors-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
    }

    .previews--medium .previews__wrapper {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }

    .previews--small .container {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }

    .previews--small .previews__wrapper {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .previews--small .preview {
        width: 100% !important;
        max-width: 100% !important;
    }

    .hero__title {
        font-size: 2.5rem !important;
    }

    .hero__slogan {
        font-size: 1.125rem !important;
    }

    .section-header__title {
        font-size: 1.5rem !important;
    }
}

/* Mobile Menu Overlay Styles */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ffffff;
    z-index: 9999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 0;
    overflow-y: auto;
}

.mobile-menu-overlay.hidden {
    display: none !important;
}

.mobile-menu-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    background-color: #ffffff;
    min-height: 100vh;
    padding: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    background-color: #ffffff;
    z-index: 100;
}

.mobile-menu-logo {
    display: flex;
    align-items: center;
    flex: 1;
}

.mobile-menu-logo-img {
    height: 3rem;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.mobile-menu-logo-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.mobile-menu-logo-first {
    font-size: 1.875rem;
    font-family: serif;
    font-style: italic;
    color: #111827;
    line-height: 1.25;
}

.mobile-menu-logo-second {
    font-size: 0.75rem;
    font-family: sans-serif;
    font-weight: 700;
    color: #4b5563;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: #374151;
    cursor: pointer;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s, transform 0.2s, background-color 0.2s;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    flex-shrink: 0;
}

.mobile-menu-close:hover {
    color: #111827;
    background-color: #f3f4f6;
    transform: rotate(90deg);
}

.mobile-menu-close:active {
    transform: rotate(90deg) scale(0.95);
}

.mobile-menu-nav {
    margin-top: 0;
    width: 100%;
    padding: 0 1rem 1rem 1rem;
}

.mobile-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mobile-menu-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    border-bottom: 1px solid #e5e7eb;
    transition: background-color 0.2s, color 0.2s;
}

.mobile-menu-item:hover {
    background-color: #f9fafb;
    color: #111827;
}

.mobile-menu-item-active,
.mobile-menu-nav li.current-menu-item .mobile-menu-item,
.mobile-menu-nav li.current_page_item .mobile-menu-item,
.mobile-menu-nav li.current-menu-ancestor .mobile-menu-item {
    color: var(--color-primary, #c64118);
    font-weight: 600;
}

.mobile-menu-icon {
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
}

.mobile-menu-item span {
    flex: 1;
}

/* Modern Mobile Menu Toggle Button */
.mobile-menu-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background-color: #f3f4f6;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #4b5563;
}

.mobile-menu-toggle-btn:hover {
    background-color: #e5e7eb;
    color: #111827;
    transform: scale(1.05);
}

.mobile-menu-toggle-btn:active {
    transform: scale(0.95);
}

.mobile-menu-icon-svg {
    width: 20px;
    height: 20px;
    color: currentColor;
}

/* Mobile Menu Styles */
@media (max-width: 767px) {
    #header-nav-desktop {
        display: none !important;
    }

    #mobile-menu-btn {
        display: flex !important;
    }

    .header-inner {
        flex-wrap: wrap;
    }

    /* Ensure mobile menu button is visible */
    .md\:hidden {
        display: block !important;
    }

    .mobile-menu-toggle-btn.md\:hidden {
        display: flex !important;
    }
}

/* Desktop: Hide mobile menu button and show desktop nav */
@media (min-width: 768px) {

    #mobile-menu-btn,
    .mobile-menu-toggle-btn {
        display: none !important;
    }

    #mobile-menu {
        display: none !important;
    }

    #header-nav-desktop {
        display: flex !important;
    }

    /* On desktop, hide elements with md:hidden class */
    .md\:hidden {
        display: none !important;
    }
}

@media (max-width: 640px) {
    .section-header {
        gap: 0.75rem;
        margin-bottom: 2rem;
    }

    .section-header__title {
        font-size: 1.25rem !important;
    }

    .section-header__separator {
        margin: 0 0.75rem !important;
        min-width: 40px !important;
        height: 10px !important;
    }

    .footer__nav {
        gap: 1rem !important;
        font-size: 0.875rem !important;
    }
}

/* Contact Page Styles */
.contact-section {
    margin-top: 3rem;
}

.contact-header {
    background: #f3f4f6;
    padding: 3rem 2rem;
    border-radius: 0.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

.contact-header__title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 1rem 0;
}

.contact-header__description {
    font-size: 1rem;
    color: #374151;
    margin: 0;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.contact-card {
    background: #ffffff;
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease;
}

.contact-card:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
}

.contact-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 1rem 0;
}

.contact-card__description {
    font-size: 0.875rem;
    color: #374151;
    margin: 0 0 1.5rem 0;
    line-height: 1.6;
}

.contact-card__email {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary, #c64118);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.contact-card__email:hover {
    color: #a03514;
    text-decoration: underline;
}

.contact-card__email-icon {
    flex-shrink: 0;
}

/* FAQs Page Styles */
.faqs-section {
    margin-bottom: 3rem;
}

.faqs-section .section-header {
    margin-bottom: 2rem;
}

.faqs-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: #f9fafb;
    border-radius: 8px;
    border: 1px dashed #d1d5db;
    padding: 0;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
}

.faq-item:hover {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
}

.faq-item[open] {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
}

.faq-item__question {
    display: flex;
    align-items: center;
    padding: 1.25rem 1.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: color 0.2s ease, background-color 0.2s ease;
    position: relative;
    gap: 0.75rem;
}

.faq-item__question::-webkit-details-marker {
    display: none;
}

.faq-item__question::marker {
    display: none;
}

.faq-item__question::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    background-color: var(--color-primary, #c64118);
    border-radius: 50%;
}

.faq-item__question::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--color-primary, #c64118);
    transition: transform 0.2s ease;
}

.faq-item[open] .faq-item__question::after {
    content: '−';
    transform: translateY(-50%) rotate(0deg);
}

.faq-item__question:hover {
    background-color: #f3f4f6;
    color: var(--color-primary, #c64118);
}

.faq-item__answer {
    padding: 1.25rem 1.5rem;
    font-size: 0.9375rem;
    color: #374151;
    line-height: 1.6;
}

.faq-item__answer p {
    margin: 0 0 1rem 0;
}

.faq-item__answer p:last-child {
    margin-bottom: 0;
}

/* Search Page Styles */
.search-page-form {
    margin-bottom: 1.5rem;
}

.search-form-wrapper {
    display: flex;
    gap: 0.5rem;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.search-page-input {
    flex: 1;
    padding: 1rem 1.25rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    min-height: 50px;
    background: #ffffff;
}

.search-page-input:focus {
    border-color: var(--color-primary, #c64118);
    box-shadow: 0 0 0 3px rgba(198, 65, 24, 0.1);
}

.search-page-button {
    padding: 1rem 2.5rem;
    background: var(--color-primary, #c64118);
    color: #ffffff;
    border: none;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    min-height: 50px;
    white-space: nowrap;
}

.search-page-button:hover {
    background: #a03514;
    transform: translateY(-1px);
}

.search-page-button:active {
    transform: translateY(0);
}

/* Search Form - Mobile Responsive */
@media (max-width: 768px) {
    .search-form-wrapper {
        flex-direction: column;
        gap: 0.75rem;
    }

    .search-page-input {
        width: 100%;
        padding: 0.875rem 1rem;
        font-size: 1rem;
        min-height: 48px;
    }

    .search-page-button {
        width: 100%;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
        min-height: 48px;
    }
}

@media (max-width: 480px) {
    .search-page-input {
        padding: 0.75rem 0.875rem;
        font-size: 0.9375rem;
        min-height: 44px;
    }

    .search-page-button {
        padding: 0.75rem 1.25rem;
        font-size: 0.9375rem;
        min-height: 44px;
    }
}

.search-description {
    text-align: center;
    color: #374151;
    font-size: 1rem;
    margin: 1.5rem auto 0;
    max-width: 800px;
    line-height: 1.6;
}

/* Newsletter Success Message - Modern & Professional */
.newsletter-success-message {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, rgba(198, 65, 24, 0.1) 0%, rgba(198, 65, 24, 0.05) 100%);
    border: 2px solid var(--color-primary, #c64118);
    border-radius: 12px;
    color: var(--color-primary, #c64118);
    font-size: 1.125rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.6;
    animation: newsletterSuccessFadeIn 0.5s ease-in-out;
    margin-top: 0 !important;
    min-height: 120px;
}

.newsletter-success-message::before {
    content: '✓';
    display: block;
    width: 48px;
    height: 48px;
    background: var(--color-primary, #c64118);
    color: #ffffff;
    border-radius: 50%;
    font-size: 28px;
    font-weight: bold;
    line-height: 48px;
    margin-bottom: 1rem;
    animation: newsletterSuccessCheckmark 0.6s ease-in-out;
    box-shadow: 0 4px 12px rgba(198, 65, 24, 0.3);
}

@keyframes newsletterSuccessFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes newsletterSuccessCheckmark {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Newsletter Form Fields - Hide on success */
.newsletter-form-fields {
    transition: opacity 0.3s ease, max-height 0.3s ease;
}

.newsletter-form-fields[style*="display: none"] {
    display: none !important;
}

/* Responsive Newsletter Success Message */
@media (max-width: 768px) {
    .newsletter-success-message {
        padding: 1.5rem 1rem;
        font-size: 1rem;
        min-height: 100px;
    }

    .newsletter-success-message::before {
        width: 40px;
        height: 40px;
        font-size: 24px;
        line-height: 40px;
        margin-bottom: 0.75rem;
    }
}

@media (max-width: 480px) {
    .newsletter-success-message {
        padding: 1.25rem 0.875rem;
        font-size: 0.9375rem;
        min-height: 90px;
    }

    .newsletter-success-message::before {
        width: 36px;
        height: 36px;
        font-size: 20px;
        line-height: 36px;
        margin-bottom: 0.5rem;
    }
}

.search-results-section {
    margin-bottom: 3rem;
}

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

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.categories-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.category-tag {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 9999px;
    color: #374151;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.category-tag:hover {
    background: var(--color-primary, #c64118);
    color: #ffffff;
    border-color: var(--color-primary, #c64118);
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@media (max-width: 780px) {
    .article-title {
        font-size: 1.875rem;
    }

    .social-buttons-wrapper {
        gap: 0.5rem;
    }

    .social-button {
        padding: 0.4rem 0.75rem;
        font-size: 0.8125rem;
    }

    /* Keep text visible on mobile - same as desktop */
    .social-button span {
        display: inline;
    }

    .social-button svg {
        width: 18px;
        height: 18px;
    }

    .contact-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .contact-header__title {
        font-size: 2rem;
    }

    /* Align lists with content margin on mobile */
    .prose ul,
    .prose ol,
    .entry-content ul,
    .entry-content ol {
        padding-left: 0;
        margin-left: 0;
    }

    .prose ul li,
    .entry-content ul li {
        padding-left: 1.5em;
        margin-left: 0;
    }

    .prose ol li,
    .entry-content ol li {
        padding-left: 0.5em;
        margin-left: 0;
    }

    /* Recipe ingredients and instructions lists */
    .recipe-ingredients-list,
    .recipe-instructions-list {
        padding-left: 0 !important;
        margin-left: 0 !important;
    }

    .recipe-ingredients-list li,
    .recipe-instructions-list li {
        padding-left: 1.5em;
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .categories__wrapper {
        grid-template-columns: 1fr !important;
    }

    .authors-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .contact-cards {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }

    .contact-header {
        padding: 2rem 1.5rem;
    }

    .contact-header__title {
        font-size: 1.75rem;
    }

    .previews--medium .previews__wrapper {
        grid-template-columns: 1fr !important;
    }

    .previews--small .container {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }

    .previews--small .previews__wrapper {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .previews--small .preview {
        width: 100% !important;
        max-width: 100% !important;
    }

    .section-header__title {
        font-size: 1.1rem !important;
    }
}

/* Ads Management Styles */
.recipe-ad {
    margin: 2rem 0;
    text-align: center;
}

.recipe-ad-before-content {
    margin-bottom: 2rem;
}

.recipe-ad-after-content {
    margin-top: 2rem;
}

.recipe-ad-sidebar {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: #f9fafb;
    border-radius: 8px;
}

.recipe-ad-after-paragraph {
    margin: 1.5rem 0;
    text-align: center;
}

.recipe-ad iframe,
.recipe-ad ins,
.recipe-ad script {
    max-width: 100%;
}

.recipe-ad-sidebar iframe,
.recipe-ad-sidebar ins {
    width: 100%;
    max-width: 100%;
}

/* 404 Error Page Styles */
.error-404-page {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
}

.error-404-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
}

/* Large 404 Number */
.error-404-number {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.error-404-digit {
    font-size: 8rem;
    font-weight: 800;
    line-height: 1;
    color: var(--color-primary, #c64118);
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.error-404-icon {
    width: 6rem;
    height: 6rem;
    color: var(--color-primary, #c64118);
    animation: pulse 2s ease-in-out infinite;
}

.error-404-icon svg {
    width: 100%;
    height: 100%;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

/* Error Title */
.error-404-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.error-404-description {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

/* Search Form */
.error-404-search {
    margin-bottom: 2.5rem;
}

.error-404-search-wrapper {
    display: flex;
    gap: 0.5rem;
    max-width: 500px;
    margin: 0 auto;
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.error-404-search-wrapper:focus-within {
    border-color: var(--color-primary, #c64118);
    box-shadow: 0 0 0 3px rgba(198, 65, 24, 0.1);
}

.error-404-search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    color: #111827;
    background: transparent;
}

.error-404-search-input::placeholder {
    color: #9ca3af;
}

.error-404-search-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: var(--color-primary, #c64118);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.error-404-search-button:hover {
    background: #a53312;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(198, 65, 24, 0.2);
}

.error-404-search-button:active {
    transform: translateY(0);
}

.error-404-search-button svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* Action Buttons */
.error-404-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.error-404-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.error-404-button svg {
    width: 1.25rem;
    height: 1.25rem;
}

.error-404-button-primary {
    background: var(--color-primary, #c64118);
    color: #ffffff;
    border-color: var(--color-primary, #c64118);
}

.error-404-button-primary:hover {
    background: #a53312;
    border-color: #a53312;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(198, 65, 24, 0.3);
}

.error-404-button-secondary {
    background: #ffffff;
    color: var(--color-primary, #c64118);
    border-color: var(--color-primary, #c64118);
}

.error-404-button-secondary:hover {
    background: var(--color-primary, #c64118);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(198, 65, 24, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .error-404-page {
        padding: 2rem 0;
    }

    .error-404-content {
        padding: 1rem;
    }

    .error-404-digit {
        font-size: 5rem;
    }

    .error-404-icon {
        width: 4rem;
        height: 4rem;
    }

    .error-404-title {
        font-size: 2rem;
    }

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

    .error-404-search-wrapper {
        flex-direction: column;
        padding: 0.75rem;
    }

    .error-404-search-input {
        padding: 0.75rem;
    }

    .error-404-search-button {
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1rem;
    }

    .error-404-actions {
        flex-direction: column;
        width: 100%;
    }

    .error-404-button {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .error-404-digit {
        font-size: 4rem;
    }

    .error-404-icon {
        width: 3rem;
        height: 3rem;
    }

    .error-404-number {
        gap: 0.5rem;
    }

    .error-404-title {
        font-size: 1.75rem;
    }
}

/* ============================================
   PAGINATION STYLES - Modern & Clean Design
   ============================================ */

/* Pagination Wrapper - Break out of grid and add proper spacing */
.pagination-wrapper {
    grid-column: 1 / -1;
    /* Span all grid columns */
    width: 100%;
    margin-top: 4rem;
    margin-bottom: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
    display: block;
    clear: both;
}

/* Ensure pagination breaks out of any grid container */
.previews__wrapper .pagination-wrapper,
.container__wrapper .pagination-wrapper {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 4rem;
    margin-bottom: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

/* Desktop: More spacing for professional look */
@media (min-width: 768px) {
    .pagination-wrapper {
        margin-top: 5rem;
        padding-top: 3rem;
    }

    .previews__wrapper .pagination-wrapper,
    .container__wrapper .pagination-wrapper {
        margin-top: 5rem;
        padding-top: 3rem;
    }
}

/* WordPress paginate_links() generates a <ul> with class .page-numbers */
.page-numbers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.page-numbers li {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* All pagination links (numbers, next, previous) */
.page-numbers a,
.page-numbers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.75rem;
    height: 2.75rem;
    padding: 0.5rem 1rem;
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    color: #374151;
    background-color: #ffffff;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

/* Hover state for clickable links */
.page-numbers a:hover {
    background-color: var(--color-primary, #c64118);
    color: #ffffff;
    border-color: var(--color-primary, #c64118);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Current/Active page */
.page-numbers .current,
.page-numbers span.current {
    background-color: var(--color-primary, #c64118);
    color: #ffffff;
    border-color: var(--color-primary, #c64118);
    font-weight: 600;
    box-shadow: 0 4px 6px -1px rgba(198, 65, 24, 0.3), 0 2px 4px -1px rgba(198, 65, 24, 0.2);
    cursor: default;
}

/* Dots/ellipsis */
.page-numbers .dots,
.page-numbers span.dots {
    background-color: transparent;
    border: none;
    box-shadow: none;
    color: #9ca3af;
    cursor: default;
    min-width: auto;
    padding: 0.5rem 0.25rem;
}

.page-numbers .dots:hover,
.page-numbers span.dots:hover {
    background-color: transparent;
    color: #9ca3af;
    transform: none;
    box-shadow: none;
}

/* Next and Previous buttons - Primary color styling */
.page-numbers .prev a,
.page-numbers .next a,
.page-numbers a.prev,
.page-numbers a.next {
    background-color: var(--color-primary, #c64118);
    color: #ffffff;
    border-color: var(--color-primary, #c64118);
    font-weight: 600;
    padding: 0.625rem 1.25rem;
    min-width: auto;
}

.page-numbers .prev a:hover,
.page-numbers .next a:hover,
.page-numbers a.prev:hover,
.page-numbers a.next:hover {
    background-color: #a83514;
    border-color: #a83514;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px -2px rgba(198, 65, 24, 0.4), 0 4px 6px -1px rgba(198, 65, 24, 0.3);
}

/* Disabled state (when on first/last page) */
.page-numbers .prev.disabled,
.page-numbers .next.disabled,
.page-numbers .prev span,
.page-numbers .next span {
    background-color: #f3f4f6;
    color: #9ca3af;
    border-color: #e5e7eb;
    cursor: not-allowed;
    opacity: 0.6;
}

.page-numbers .prev.disabled:hover,
.page-numbers .next.disabled:hover {
    background-color: #f3f4f6;
    color: #9ca3af;
    border-color: #e5e7eb;
    transform: none;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .pagination-wrapper {
        margin-top: 3rem;
        padding-top: 1.5rem;
    }

    .previews__wrapper .pagination-wrapper,
    .container__wrapper .pagination-wrapper {
        margin-top: 3rem;
        padding-top: 1.5rem;
    }

    .page-numbers {
        gap: 0.375rem;
    }

    .page-numbers a,
    .page-numbers span {
        min-width: 2.5rem;
        height: 2.5rem;
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
    }

    .page-numbers .prev a,
    .page-numbers .next a,
    .page-numbers a.prev,
    .page-numbers a.next {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
}

/* Alternative pagination styles for other pagination implementations */
.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-top: 4rem;
    margin-bottom: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
    width: 100%;
    clear: both;
}

@media (min-width: 768px) {
    .pagination {
        margin-top: 5rem;
        padding-top: 3rem;
    }
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.75rem;
    height: 2.75rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    color: #374151;
    background-color: #ffffff;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.pagination a:hover {
    background-color: var(--color-primary, #c64118);
    color: #ffffff;
    border-color: var(--color-primary, #c64118);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* WordPress default pagination (the_posts_pagination) */
.nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 4rem;
    margin-bottom: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
    width: 100%;
    clear: both;
}

@media (min-width: 768px) {
    .nav-links {
        margin-top: 5rem;
        padding-top: 3rem;
    }
}

.nav-links a,
.nav-links span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.75rem;
    height: 2.75rem;
    padding: 0.5rem 1rem;
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    color: #374151;
    background-color: #ffffff;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.nav-links a:hover {
    background-color: var(--color-primary, #c64118);
    color: #ffffff;
    border-color: var(--color-primary, #c64118);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.nav-links .current {
    background-color: var(--color-primary, #c64118);
    color: #ffffff;
    border-color: var(--color-primary, #c64118);
    font-weight: 600;
    box-shadow: 0 4px 6px -1px rgba(198, 65, 24, 0.3), 0 2px 4px -1px rgba(198, 65, 24, 0.2);
}

.nav-links .prev a,
.nav-links .next a {
    background-color: var(--color-primary, #c64118);
    color: #ffffff;
    border-color: var(--color-primary, #c64118);
    font-weight: 600;
    padding: 0.625rem 1.25rem;
}

.nav-links .prev a:hover,
.nav-links .next a:hover {
    background-color: #a83514;
    border-color: #a83514;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px -2px rgba(198, 65, 24, 0.4), 0 4px 6px -1px rgba(198, 65, 24, 0.3);
}