/**
 * Dietary Theme Main Styles - Modern AshGray Inspired Design
 */

/* ==========================================================================
   CSS Variables
   ========================================================================== */

:root {
    /* Monochrome Light Theme */
    --color-primary: #000000;        /* Black */
    --color-secondary: #333333;      /* Dark gray */
    --color-accent: #000000;         /* Black accent */
    --color-text: #000000;           /* Black text */
    --color-text-light: #333333;     /* Dark gray text */
    --color-bg: #ffffff;             /* White background */
    --color-bg-alt: #f5f5f5;         /* Light gray alt background */
    --color-border: #e0e0e0;         /* Light border */
    --color-highlight: #333333;      /* Dark gray highlights */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */

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

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

body {
    font-family: var(--font-secondary);
    font-size: 1rem;
    line-height: 1.75;
    color: var(--color-text);
    background-color: var(--color-bg);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    color: var(--color-text);
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-accent);
    text-decoration: none;
}

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

ul, ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

/* ==========================================================================
   Layout
   ========================================================================== */

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

.site {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-content {
    flex: 1;
    padding: 0;
}

.site-content:not(.home .site-content) {
    padding: 60px 0;
}

.content-area {
    width: 100%;
}

/* Two-column layout */
@media (min-width: 1024px) {
    body.single .site-content .container,
    body.page .site-content .container {
        display: grid;
        grid-template-columns: 1fr 380px;
        gap: 60px;
    }

    /* Front page full width - override grid */
    body.home .site-content .container {
        display: block !important;
        grid-template-columns: none !important;
        gap: 0 !important;
        padding: 0 !important;
        max-width: 100% !important;
    }

    body.home .content-area,
    body.home #primary,
    body.home .front-page {
        width: 100%;
        max-width: 100%;
        display: block !important;
    }

    body.home .hero-section,
    body.home .cta-section,
    body.home .featured-recipes,
    body.home .about-section {
        display: block !important;
        width: 100%;
    }

    body.home .sidebar {
        display: none !important;
    }
}

/* ==========================================================================
   Header - Modern Minimal Design
   ========================================================================== */

.site-header {
    background: var(--color-bg) !important;
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.site-header.scrolled {
    box-shadow: none;
}

.top-bar {
    display: none;
}

.header-main {
    padding: 16px 0;
    background: var(--color-bg) !important;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    gap: 24px;
}

.header-social {
    display: flex;
    gap: 16px;
    align-items: center;
}

.header-social a {
    color: var(--color-text-light);
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.header-social a:hover {
    color: var(--color-accent);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.search-toggle {
    background: none;
    border: none;
    color: var(--color-text);
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.search-toggle:hover {
    color: var(--color-text-light);
}

/* Search Overlay */
.search-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.search-overlay.active {
    display: flex;
}

.search-overlay-inner {
    width: 100%;
    max-width: 600px;
    padding: 0 24px;
    position: relative;
}

.search-close {
    position: absolute;
    top: -50px;
    right: 24px;
    background: none;
    border: 1px solid var(--color-border);
    color: #ffffff;
    font-size: 3rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-form-overlay {
    display: flex;
    gap: 12px;
}

.search-form-overlay .search-field {
    flex: 1;
    padding: 20px 24px;
    font-size: 1.25rem;
    border: 2px solid var(--color-border);
    border-radius: 50px;
    background: var(--color-bg-alt);
    color: var(--color-text);
}

.search-form-overlay .search-field:focus {
    outline: none;
    border-color: var(--color-accent);
}

.search-form-overlay .search-submit {
    padding: 20px 30px;
    background: var(--color-accent);
    border: 1px solid var(--color-border);
    border-radius: 50px;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.search-form-overlay .search-submit:hover {
    background: var(--color-highlight);
    box-shadow: none;
}

.site-branding {
    flex: 0 0 auto;
}

.site-title {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.site-title a {
    color: var(--color-text);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.site-title a:hover {
    opacity: 0.7;
}

.site-description {
    display: none;
}

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

.custom-logo-link img {
    max-height: 50px !important;
    height: 50px !important;
    width: auto !important;
    display: block;
}

/* ==========================================================================
   Navigation - Minimal Style
   ========================================================================== */

.main-navigation {
    display: flex;
    align-items: center;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
    position: relative;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
}

.menu-icon {
    width: 24px;
    height: 2px;
    background: #000000;
    display: block;
    transition: all 0.3s ease;
    border-radius: 2px;
}

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

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

.menu-toggle.active .menu-icon:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.nav-menu,
.nav-menu ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 32px;
    align-items: center;
}

.nav-menu li,
.nav-menu ul li {
    position: relative;
}

/* Hide Sample Page from menu */
.nav-menu .page-item-2,
.nav-menu li a[href*="sample-page"] {
    display: none;
}

.nav-menu a,
.nav-menu ul a {
    color: var(--color-text);
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 8px 0;
    display: block;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu ul a:hover {
    color: var(--color-accent);
}

.nav-menu .current-menu-item > a,
.nav-menu .current_page_item > a,
.nav-menu ul .current-menu-item > a,
.nav-menu ul .current_page_item > a {
    color: var(--color-text);
    font-weight: 600;
}

/* Dropdown menus */
.nav-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--color-bg-alt);
    box-shadow: none;
    min-width: 220px;
    list-style: none;
    padding: 12px 0;
    margin: 8px 0 0 0;
    border-radius: 12px;
}

.nav-menu li:hover > .sub-menu {
    display: block;
}

.nav-menu .sub-menu a {
    padding: 12px 24px;
}

.nav-menu .sub-menu a::after {
    display: none;
}

/* ==========================================================================
   Hero Section - Modern Minimal Design
   ========================================================================== */

.hero-section {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    background: var(--color-bg);
    overflow: hidden;
    padding: 80px 24px;
    width: 100%;
    margin: 0;
}

.hero-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-overlay .container {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-content h1 {
    color: var(--color-text);
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    margin-bottom: 2.5rem;
    color: #000000;
    line-height: 1.7;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero badges/tags */
.hero-tags {
    display: flex;
    gap: 12px;
    margin-bottom: 28px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-tag {
    padding: 6px 14px;
    background: #f5f5f5;
    border-radius: 20px;
    color: #000000;
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
    box-shadow: none;
}

/* ==========================================================================
   Buttons - Modern Design
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 0.9375rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: var(--font-primary);
}

.btn-primary {
    background: #000000;
    color: #ffffff;
    border: 2px solid #000000;
}

.btn-primary:hover {
    background: #333333;
    transform: translateY(-2px);
    box-shadow: none;
    text-decoration: none;
    color: #ffffff;
    border-color: #333333;
}

.btn-secondary {
    background: #ffffff;
    color: #000000;
    border: 2px solid #000000;
}

.btn-secondary:hover {
    background: #000000;
    color: #ffffff;
    transform: translateY(-2px);
    text-decoration: none;
    border-color: #000000;
}

.btn-outline {
    background: transparent;
    color: #000000;
    border: 2px solid #000000;
}

.btn-outline:hover {
    background: #000000;
    color: #ffffff;
    border-color: #000000;
}

/* ==========================================================================
   CTA Section - Modern Card Design
   ========================================================================== */

.cta-section {
    display: none !important;
}

.cta-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    background: transparent !important;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
    color: var(--color-primary) !important;
}

.cta-content > p {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-bottom: 3rem;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 2.5rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.benefits-list li {
    padding: 20px !important;
    background: transparent !important;
    border-radius: 0;
    box-shadow: none;
    transition: var(--transition);
    text-align: left;
    border: none !important;
    border-left: 3px solid #000000 !important;
    color: var(--color-text) !important;
    font-size: 1rem;
    line-height: 1.6;
    position: relative;
    padding-left: 56px !important;
}

.benefits-list li:hover {
    transform: translateX(4px);
    box-shadow: none;
}

.benefits-list li:before {
    content: "✓";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: transparent;
    color: #000000;
    border-radius: 0;
    font-weight: 400;
    font-size: 28px;
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
}

.benefits-list li:nth-child(1):before {
    content: "📧";
}

.benefits-list li:nth-child(2):before {
    content: "💡";
}

.benefits-list li:nth-child(3):before {
    content: "📋";
}

.cta-form {
    max-width: 560px;
    margin: 3rem auto 0;
}

.newsletter-fallback {
    display: flex;
    gap: 12px;
    background: var(--color-bg-alt);
    padding: 8px;
    border-radius: 16px;
    box-shadow: none;
    border: 1px solid var(--color-border);
}

.newsletter-fallback input[type="email"] {
    flex: 1;
    padding: 16px 20px;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    font-size: 1rem;
    background: var(--color-bg);
    color: var(--color-text);
}

.newsletter-fallback input[type="email"]:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--color-accent);
}

.newsletter-fallback button {
    padding: 16px 32px;
    background: var(--color-accent);
    color: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.newsletter-fallback button:hover {
    background: var(--color-highlight);
    transform: translateY(-2px);
    box-shadow: none;
}

/* ==========================================================================
   Recipe Grid - Modern Card Layout
   ========================================================================== */

.featured-recipes {
    padding: 80px 24px;
    width: 100%;
    margin: 0;
}

.featured-recipes .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 4rem;
}

.recipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
    gap: 32px;
}

.recipe-card {
    background: #ffffff !important;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--color-border) !important;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 1;
}

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

.recipe-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.recipe-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.recipe-content {
    padding: 32px;
}

@media (max-width: 768px) {
    .recipe-content {
        padding: 24px;
    }
}

.recipe-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 0.875rem;
    color: var(--color-text-light);
}

.recipe-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

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

.recipe-title a {
    color: var(--color-text);
    text-decoration: none;
    transition: var(--transition);
}

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

.recipe-excerpt {
    color: var(--color-text-light);
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: 0.9375rem;
}

.read-more {
    color: var(--color-secondary);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9375rem;
}

.read-more::after {
    content: '→';
    transition: var(--transition);
}

.read-more:hover::after {
    transform: translateX(4px);
}

/* ==========================================================================
   About Section - Gradient Card
   ========================================================================== */

.about-section {
    background: var(--color-bg-alt);
    padding: 80px 24px;
    color: var(--color-text);
    text-align: center;
    margin: 0;
    border-radius: 0;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.about-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.about-section::before {
    display: none;
}

.about-content {
    position: relative;
    z-index: 2;
}

.about-content h2 {
    color: var(--color-primary);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
}

.about-content p {
    font-size: 1.25rem;
    max-width: 720px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
    opacity: 0.95;
}

/* ==========================================================================
   Single Post - Article Layout
   ========================================================================== */

.post-thumbnail {
    margin-bottom: 3rem;
    border-radius: 20px;
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.entry-header {
    margin-bottom: 3rem;
    max-width: 800px;
}

.entry-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

.entry-meta {
    display: flex;
    gap: 16px;
    flex-wrap: nowrap;
    align-items: center;
    color: var(--color-text-light);
    font-size: 0.9375rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border);
}

.entry-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

/* Recipe meta inline (prep/cook/servings in one row) */
.recipe-meta-inline {
    display: flex;
    gap: 12px;
    flex-wrap: nowrap;
    align-items: center;
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    background: #f9f9f9;
    border-left: 4px solid var(--color-accent);
    font-size: 0.95rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.recipe-meta-inline span {
    white-space: nowrap;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .recipe-meta-inline {
        gap: 10px;
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
}

.print-recipe {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--color-bg-alt);
    color: var(--color-text);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
}

.print-recipe:hover {
    background: var(--color-secondary);
    transform: translateY(-2px);
}

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

.entry-content {
    font-size: 1.125rem;
    line-height: 1.85;
    max-width: 720px;
}

.entry-content h2 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.entry-content h3 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.entry-content img {
    margin: 3rem 0;
    border-radius: 16px;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 2rem;
}

.entry-content blockquote {
    border-left: 4px solid var(--color-secondary);
    padding-left: 32px;
    margin: 3rem 0;
    font-style: italic;
    color: var(--color-text-light);
    font-size: 1.25rem;
}

/* Post CTA */
.post-cta {
    margin: 4rem 0;
    padding: 48px;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
    border-radius: 20px;
    text-align: center;
    color: #ffffff;
}

.cta-box {
    display: none !important;
}

.cta-box h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.cta-box p {
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
}

/* Related Posts */
.related-posts {
    margin-top: 5rem;
    padding-top: 4rem;
    border-top: 2px solid var(--color-border);
}

.related-posts h3 {
    font-size: 2rem;
    margin-bottom: 3rem;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.related-post {
    transition: var(--transition);
}

.related-post:hover {
    transform: translateY(-4px);
}

.related-post img {
    border-radius: 16px;
    margin-bottom: 1rem;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.related-post h4 {
    font-size: 1.25rem;
    line-height: 1.4;
}

.related-post a {
    color: var(--color-text);
    text-decoration: none;
}

.related-post a:hover {
    color: var(--color-secondary);
}

/* Entry Footer */
.entry-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    color: var(--color-text-light);
    font-size: 0.9375rem;
}

.tags-links {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #999999 transparent;
    max-width: 100%;
}

.tags-links::-webkit-scrollbar {
    height: 8px;
}

.tags-links::-webkit-scrollbar-track {
    background: transparent;
}

.tags-links::-webkit-scrollbar-thumb {
    background: #cccccc;
    border-radius: 4px;
}

.tags-links::-webkit-scrollbar-thumb:hover {
    background: #999999;
}

.tags-links a {
    padding: 6px 16px;
    background: #000000;
    border-radius: 20px;
    font-size: 0.875rem;
    color: #ffffff;
    border: none;
    text-decoration: none;
    text-transform: capitalize;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}

.tags-links a:hover {
    background: #333333;
    color: #ffffff;
    border: none;
}

/* ==========================================================================
   Sidebar - Modern Widget Cards
   ========================================================================== */

.sidebar {
    padding-top: 0;
}

.widget {
    margin-bottom: 48px;
    padding: 24px;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.widget-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    padding-bottom: 0;
    border-bottom: none;
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.widget ul li {
    padding: 8px 0;
    border-bottom: none;
}

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

.widget ul li a {
    color: var(--color-text);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9375rem;
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.widget ul li a:hover {
    color: var(--color-accent);
    padding-left: 8px;
}

/* Widget search form */
.widget .search-form {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.widget .search-form .search-field {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: #ffffff;
    color: var(--color-text);
    font-size: 0.9375rem;
}

.widget .search-form .search-field:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: none;
}

.widget .search-form .search-submit {
    padding: 12px 20px;
    background: var(--color-accent);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.widget .search-form .search-submit:hover {
    background: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: none;
}

/* ==========================================================================
   Footer - Modern Minimal Theme
   ========================================================================== */

.site-footer {
    background: var(--color-bg);
    color: var(--color-text-light);
    margin-top: auto;
}

.footer-newsletter {
    background: var(--color-bg-alt);
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}

.footer-newsletter .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.newsletter-content h3 {
    color: var(--color-text);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin-bottom: 1rem;
    font-weight: 700;
}

.newsletter-content p {
    color: var(--color-text-light);
    margin-bottom: 2rem;
    font-size: 1.0625rem;
}

.newsletter-form {
    max-width: 480px;
    margin: 0 auto;
}

.footer-widgets {
    padding: 60px 0 40px;
}

.footer-widgets .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-widget-area {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.footer-column .widget {
    background: transparent;
    padding: 0;
    border: 1px solid var(--color-border);
}

.footer-column .widget-title {
    color: var(--color-text);
    border-bottom: none;
    margin-bottom: 1.25rem;
    font-size: 1.0625rem;
    font-weight: 600;
}

.footer-column ul li {
    border-bottom: none;
    padding: 6px 0;
}

.footer-column a {
    color: var(--color-text-light);
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--color-accent);
    padding-left: 0;
}

.site-info {
    padding: 28px 0;
    text-align: center;
    border-top: 1px solid var(--color-border);
}

.site-info .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--color-text-light);
}

.footer-bottom a {
    color: var(--color-text-light);
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--color-accent);
}

.footer-navigation {
    margin-top: 12px;
}

.footer-nav {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-nav a {
    color: var(--color-text-light);
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--color-accent);
}

/* ==========================================================================
   Pagination - Modern Style
   ========================================================================== */

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 4rem;
    flex-wrap: wrap;
}

.pagination .page-numbers {
    min-width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-alt);
    color: var(--color-text);
    border-radius: 12px;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid var(--color-border);
    font-weight: 500;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: var(--color-secondary);
    color: #ffffff;
    border-color: var(--color-secondary);
    transform: translateY(-2px);
}

/* ==========================================================================
   Comments - Modern Design
   ========================================================================== */

.comments-area {
    margin-top: 5rem;
    padding-top: 4rem;
    border-top: 2px solid var(--color-border);
}

.comments-title {
    font-size: 2rem;
    margin-bottom: 2.5rem;
}

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

.comment {
    margin-bottom: 2rem;
    padding: 32px;
    background: var(--color-bg-alt);
    border-radius: 16px;
    border: 1px solid var(--color-border);
}

.comment-author {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.comment-meta {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin-bottom: 1rem;
}

.comment-content {
    line-height: 1.7;
}

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

.comment-reply-title {
    font-size: 1.75rem;
    margin-bottom: 2rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    margin-bottom: 1rem;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: none;
}

.comment-form textarea {
    min-height: 150px;
    resize: vertical;
}

.comment-form button[type="submit"] {
    padding: 16px 32px;
    background: var(--color-secondary);
    color: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.comment-form button[type="submit"]:hover {
    background: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: none;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal !important;
}

.skip-link:focus {
    background-color: var(--color-secondary);
    border-radius: 8px;
    box-shadow: none;
    clip: auto !important;
    color: #ffffff;
    display: block;
    font-size: 14px;
    font-weight: 600;
    height: auto;
    left: 16px;
    line-height: normal;
    padding: 16px 24px;
    text-decoration: none;
    top: 16px;
    width: auto;
    z-index: 100000;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--color-secondary);
    color: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: none;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: none;
}

/* ==========================================================================
   Blog Cards & Posts Grid
   ========================================================================== */

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.blog-card {
    background: #ffffff !important;
    border-radius: 8px;
    overflow: hidden;
    border: none !important;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    box-shadow: none;
}

.blog-card:hover {
    transform: translateY(-2px);
    box-shadow: none;
}

.blog-card .post-thumbnail {
    margin-bottom: 0;
    border-radius: 0;
}

.blog-card .post-thumbnail img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.post-card-content {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-size: 0.875rem;
}

.post-category {
    padding: 4px 12px;
    background: var(--color-accent);
    color: #ffffff;
    border-radius: 16px;
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease;
}

.post-category:hover {
    background: var(--color-secondary);
    color: #ffffff;
}

.post-date {
    color: var(--color-text-light);
}

.post-card-content .entry-title {
    font-size: 1.5rem;
    margin-bottom: 12px;
    line-height: 1.3;
}

.post-card-content .entry-title a {
    color: var(--color-text);
    text-decoration: none;
}

.post-card-content .entry-title a:hover {
    color: var(--color-secondary);
}

.entry-summary {
    color: var(--color-text-light);
    margin-bottom: 20px;
    line-height: 1.6;
    flex: 1;
}

/* ==========================================================================
   Page Header
   ========================================================================== */

.page-header {
    margin-bottom: 60px;
    text-align: center;
    padding-bottom: 0;
    border-bottom: none;
}

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

/* Category Filter Tabs - Scrollable */
.category-filters {
    display: flex;
    gap: 12px;
    justify-content: flex-start;
    flex-wrap: nowrap;
    margin-top: 32px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--color-border);
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: auto;
    scrollbar-color: #999999 #e5e5e5;
    max-width: 100%;
    cursor: grab;
    user-select: none;
}

.category-filters.is-dragging {
    cursor: grabbing;
}

.category-filters::-webkit-scrollbar {
    height: 12px;
}

.category-filters::-webkit-scrollbar-track {
    background: #e5e5e5;
    border-radius: 6px;
}

.category-filters::-webkit-scrollbar-thumb {
    background: #999999;
    border-radius: 6px;
}

.category-filters::-webkit-scrollbar-thumb:hover {
    background: #666666;
}

.filter-tab {
    padding: 10px 24px;
    background: var(--color-bg-alt);
    border: 2px solid var(--color-border);
    border-radius: 50px;
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.filter-tab:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.filter-tab.active {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #ffffff;
}

.page-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.page-description,
.archive-description {
    font-size: 1.125rem;
    color: var(--color-text-light);
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.7;
}

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

/* ==========================================================================
   Entry Categories & Badges
   ========================================================================== */

.entry-categories {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.category-badge {
    padding: 6px 16px;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
    color: #ffffff;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.category-badge:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    color: #ffffff;
}

/* ==========================================================================
   Social Share Buttons
   ========================================================================== */

.social-share-wrapper {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid var(--color-border);
}

.social-share-wrapper h4 {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.social-share-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: var(--transition);
    color: #ffffff;
}

.share-btn svg {
    width: 20px;
    height: 20px;
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.facebook:hover {
    background: #0c63d4;
    transform: translateY(-2px);
    color: #ffffff;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.twitter:hover {
    background: #0c8dd9;
    transform: translateY(-2px);
    color: #ffffff;
}

.share-btn.pinterest {
    background: #e60023;
}

.share-btn.pinterest:hover {
    background: #bd001c;
    transform: translateY(-2px);
    color: #ffffff;
}

/* ==========================================================================
   Related Post Meta
   ========================================================================== */

.related-post-meta {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin-top: 8px;
}

/* ==========================================================================
   Hero CTA Buttons
   ========================================================================== */

.hero-cta {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .hero-cta {
        flex-direction: column;
    }
}

/* ==========================================================================
   Newsletter Popup Modal
   ========================================================================== */

.newsletter-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.newsletter-popup-overlay.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.newsletter-popup {
    background: var(--color-bg-alt) !important;
    border-radius: 16px;
    max-width: 560px;
    width: 100%;
    position: relative;
    padding: 48px 40px;
    box-shadow: none;
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.newsletter-popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: 1px solid var(--color-border);
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    color: var(--color-text-light);
    transition: var(--transition);
    padding: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.newsletter-popup-close:hover {
    color: var(--color-primary);
    background: var(--color-bg-alt);
}

.newsletter-popup-content h2 {
    font-size: 2rem;
    margin-bottom: 16px;
    text-align: center;
    color: var(--color-text);
}

.newsletter-popup-content > p {
    text-align: center;
    color: var(--color-text);
    margin-bottom: 32px;
    font-size: 1.125rem;
}

.popup-benefits {
    list-style: none;
    margin: 0 0 32px 0;
    padding: 0;
}

.popup-benefits li {
    padding: 12px 0;
    font-size: 1rem;
    color: var(--color-text);
    border-bottom: 1px solid var(--color-border);
}

.popup-benefits li:last-child {
    border-bottom: none;
}

.newsletter-popup-form {
    margin-top: 32px;
}

.newsletter-popup-fallback {
    display: flex;
    gap: 12px;
    flex-direction: column;
}

.newsletter-popup-fallback input[type="email"] {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--color-border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-secondary);
    transition: var(--transition);
}

.newsletter-popup-fallback input[type="email"]:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: none;
}

.newsletter-popup-fallback button {
    width: 100%;
    padding: 16px 32px;
    background: var(--color-bg-alt);
    color: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-primary);
}

.newsletter-popup-fallback button:hover {
    background: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: none;
}

.popup-privacy {
    text-align: center;
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin-top: 16px;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .newsletter-popup {
        padding: 32px 24px;
        margin: 20px;
    }

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

    .newsletter-popup-content > p {
        font-size: 1rem;
    }

    .popup-benefits li {
        font-size: 0.9375rem;
    }
}

/* ==========================================================================
   Mailchimp for WordPress (MC4WP) - Complete Styling
   ========================================================================== */

/* All Mailchimp forms */
.mc4wp-form {
    background: transparent !important;
    border: none !important;
    padding: 20px 0 !important;
    border-radius: 0 !important;
    display: block !important;
    max-width: 600px !important;
    margin: 0 auto !important;
}

.mc4wp-form-fields {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    align-items: stretch !important;
    background: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
}

.mc4wp-form-fields p {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    width: 100% !important;
}

.mc4wp-form-fields p:last-child {
    width: 100% !important;
}

/* Hide label text, keep structure for input */
.mc4wp-form label {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    clip: auto !important;
    border: 0 !important;
    position: static !important;
    font-size: 0 !important;
    color: transparent !important;
}

/* Email input */
.mc4wp-form input[type="email"],
.mc4wp-form input#email {
    width: 100% !important;
    background: #f5f5f5 !important;
    color: #000000 !important;
    border: 2px solid #000000 !important;
    border-radius: 4px !important;
    padding: 12px 16px !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    font-family: var(--font-secondary) !important;
    margin: 0 !important;
    line-height: 1.5 !important;
    display: block !important;
    min-height: 44px !important;
}

.mc4wp-form input[type="email"]::placeholder,
.mc4wp-form input#email::placeholder {
    color: #666666 !important;
    opacity: 1 !important;
}

.mc4wp-form input[type="email"]:focus,
.mc4wp-form input#email:focus {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1) !important;
    border-color: #000000 !important;
    background: #ffffff !important;
}

/* Submit button */
.mc4wp-form input[type="submit"],
.mc4wp-form button[type="submit"] {
    background: #000000 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 12px 32px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    font-family: var(--font-primary) !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
    margin: 0 !important;
    line-height: 1.5 !important;
    min-height: 44px !important;
    width: 100% !important;
    display: block !important;
}

.mc4wp-form input[type="submit"]:hover,
.mc4wp-form button[type="submit"]:hover {
    background: #333333 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

/* Response messages */
.mc4wp-response {
    margin-top: 12px !important;
    padding: 12px !important;
    border-radius: 8px !important;
    background: transparent !important;
}

.mc4wp-alert {
    padding: 12px 16px !important;
    border-radius: 8px !important;
    margin: 12px 0 0 0 !important;
}

.mc4wp-success {
    background: #f0fdf4 !important;
    color: #166534 !important;
    border: 2px solid #22c55e !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    text-align: center !important;
}

.mc4wp-error {
    background: rgba(255, 69, 58, 0.1) !important;
    color: var(--color-accent) !important;
    border: 1px solid var(--color-accent) !important;
}

/* Honeypot field - always hidden */
.mc4wp-form input[name="_mc4wp_honeypot"] {
    display: none !important;
}

/* Footer newsletter specific */
.footer-newsletter .mc4wp-form {
    max-width: 600px !important;
    margin: 0 auto !important;
}

/* Popup newsletter specific */
.newsletter-popup-form .mc4wp-form {
    background: var(--color-bg-alt) !important;
}

.newsletter-popup-form .mc4wp-form input[type="email"] {
    background: var(--color-bg) !important;
}

/* CTA section form */
.cta-form .mc4wp-form {
    max-width: 100% !important;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .mc4wp-form-fields {
        flex-direction: column !important;
        gap: 12px !important;
    }

    .mc4wp-form-fields p {
        flex: 1 1 100% !important;
        width: 100% !important;
    }

    .mc4wp-form input[type="submit"],
    .mc4wp-form button[type="submit"] {
        width: 100% !important;
    }
}

/* ==========================================================================
   Override any cached inline styles - Light Theme
   ========================================================================== */

article,
.post-card,
.card {
    background: #ffffff !important;
    border: none !important;
    box-shadow: none !important;
}

.newsletter-popup-content h2,
.cta-content p {
    color: var(--color-text) !important;
}

/* WordPress Block Search Button */
.wp-block-search__button,
button.wp-block-search__button {
    padding: 12px 24px !important;
    background: #000000 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 4px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.wp-block-search__button:hover,
button.wp-block-search__button:hover {
    background: #333333 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
}

.wp-block-search .wp-block-search__input {
    border: 1px solid #e5e5e5 !important;
    border-radius: 4px !important;
    padding: 12px 16px !important;
    font-size: 15px !important;
}

.wp-block-search .wp-block-search__input:focus {
    outline: none !important;
    border-color: #000000 !important;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1) !important;
}

/* Hide Success Stories and Testimonials sections on Gallery page */
.page-id-14 #testimonials,
.page-id-14 .has-tertiary-background-color:has(.wp-block-media-text) {
    display: none !important;
}

/* Fix widget image overflow */
.widget img {
    max-width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
}

/* Ensure images stay within widget boundaries */
.widget .wp-block-image img,
.widget figure img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 4px !important;
}

/* Scrollable tags for blog cards and archive pages */
.post-tags,
.recipe-tags,
.tag-list,
.post-tag-list {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #999999 transparent;
    max-width: 100%;
}

.post-tags::-webkit-scrollbar,
.recipe-tags::-webkit-scrollbar,
.tag-list::-webkit-scrollbar,
.post-tag-list::-webkit-scrollbar {
    height: 8px;
}

.post-tags::-webkit-scrollbar-track,
.recipe-tags::-webkit-scrollbar-track,
.tag-list::-webkit-scrollbar-track,
.post-tag-list::-webkit-scrollbar-track {
    background: transparent;
}

.post-tags::-webkit-scrollbar-thumb,
.recipe-tags::-webkit-scrollbar-thumb,
.tag-list::-webkit-scrollbar-thumb,
.post-tag-list::-webkit-scrollbar-thumb {
    background: #cccccc;
    border-radius: 4px;
}

.post-tags::-webkit-scrollbar-thumb:hover,
.recipe-tags::-webkit-scrollbar-thumb:hover,
.tag-list::-webkit-scrollbar-thumb:hover,
.post-tag-list::-webkit-scrollbar-thumb:hover {
    background: #999999;
}

.post-tags a,
.recipe-tags a,
.tag-list a,
.post-tag-list a {
    white-space: nowrap;
    flex-shrink: 0;
}

/* ==========================================================================
   Mobile Responsive - Entry Meta
   ========================================================================== */

@media (max-width: 768px) {
    .entry-meta {
        gap: 16px;
        font-size: 0.875rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .entry-meta span {
        flex-shrink: 0;
        white-space: nowrap;
    }
}
