/*
Theme Name: MyRecipeLive Pro
Theme URI: https://myrecipelive.com
Author: Recipe Team
Description: Professional WordPress theme for recipe blogs - AdSense Ready - Responsive - SEO Optimized
Version: 1.0.0
Text Domain: myrecipelive
*/

/* ============================================
   CSS VARIABLES - RECIPE COLORS
   ============================================ */

:root {
    --primary: #c53030;
    --primary-light: #e53e3e;
    --primary-dark: #9b2c2c;
    --secondary: #dd6b20;
    --accent: #d69e2e;
    --bg-light: #fffbf5;
    --bg-cream: #fef7ed;
    --bg-dark: #1a1a1a;
    --text-dark: #1a1a1a;
    --text-gray: #4a5568;
    --text-light: #718096;
    --text-muted: #a0aec0;
    --border: #e2e8f0;
    --white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --radius: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

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

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

button { cursor: pointer; font-family: inherit; }

ul, ol { list-style: none; }

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.25;
    color: var(--text-dark);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 700; }
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 { color: var(--text-gray); margin-bottom: 1rem; }

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-lg {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ============================================
   TOP BAR
   ============================================ */

.top-bar {
    background: var(--primary);
    padding: 0;
    font-size: 0.8125rem;
}

.top-bar-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 32px;
    height: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

.top-bar-date {
    color: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-social {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-link {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    border-radius: 4px;
    transition: var(--transition);
}

.social-link:hover {
    color: var(--white);
    background: rgba(255,255,255,0.2);
}

.social-link svg { width: 14px; height: 14px; }

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.top-bar-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-links a {
    color: rgba(255,255,255,0.8);
    font-weight: 500;
    transition: var(--transition);
}

.top-bar-links a:hover { color: var(--white); }

.trending-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--secondary);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.trending-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--white);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ============================================
   MAIN HEADER
   ============================================ */

.main-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 32px;
    height: 72px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ============================================
   LOGO - FRYING PAN STYLE
   ============================================ */

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, #c53030 0%, #dd6b20 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(197, 48, 48, 0.35);
    transition: all 0.3s ease;
}

.logo:hover .logo-icon {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 48, 48, 0.45);
}

.logo-text {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a1a1a !important;
    letter-spacing: -0.5px;
}

.logo-text span:first-child {
    color: #1a1a1a;
}

.logo-highlight {
    color: #c53030 !important;
}

.logo-text span:last-child {
    color: #1a1a1a;
}

/* ============================================
   MAIN NAV
   ============================================ */

.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.main-nav a {
    padding: 10px 18px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-dark);
    border-radius: 8px;
    transition: var(--transition);
}

.main-nav a:hover {
    background: var(--bg-cream);
    color: var(--primary);
}

.main-nav a.active {
    background: var(--primary);
    color: var(--white);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border: none;
    border-radius: 10px;
    color: var(--text-gray);
    transition: var(--transition);
}

.search-btn:hover {
    background: var(--primary);
    color: var(--white);
}

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

.mobile-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--text-dark);
}

.mobile-toggle svg { width: 24px; height: 24px; }

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

.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-media { position: absolute; inset: 0; }

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(26, 26, 26, 0.4) 0%, rgba(26, 26, 26, 0.6) 50%, rgba(26, 26, 26, 0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 60px 24px;
    max-width: 900px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 28px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
    font-size: clamp(2.75rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.1;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.hero-desc {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 650px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ============================================
   CATEGORIES SECTION
   ============================================ */

.categories-section {
    padding: 80px 0;
    background: var(--bg-cream);
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    margin-bottom: 12px;
}

.section-desc {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 550px;
    margin: 0 auto;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--white);
    padding: 28px 20px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.category-thumb {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    border: 3px solid var(--bg-light);
    transition: var(--transition);
}

.category-card:hover .category-thumb { border-color: var(--primary); }

.category-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.category-card:hover .category-thumb img { transform: scale(1.1); }

.category-title {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
}

/* ============================================
   CATEGORIES CIRCLE SECTION
   ============================================ */

.categories-circle-section {
    padding: 80px 24px;
    background: var(--bg-cream);
}

.categories-circle-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.category-circle {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition);
}

.category-circle:hover { transform: translateY(-8px); }

.circle-image {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 16px;
    border: 4px solid var(--white);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.category-circle:hover .circle-image {
    border-color: var(--primary);
    box-shadow: var(--shadow-xl);
}

.circle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.category-circle:hover .circle-image img { transform: scale(1.1); }

.category-circle h3 {
    font-family: 'Georgia', serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.post-count {
    font-size: 0.8125rem;
    color: var(--text-light);
}

/* ============================================
   FEATURED SECTION
   ============================================ */

.featured-section {
    padding: 80px 0;
    background: var(--white);
}

.featured-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 32px;
}

.featured-main {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    height: 500px;
}

.featured-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.featured-main:hover img { transform: scale(1.05); }

.featured-main-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
}

.featured-main-cat {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.featured-main-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.3;
}

.featured-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.featured-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.featured-item:hover {
    background: var(--white);
    box-shadow: var(--shadow-lg);
}

.featured-item-img {
    width: 100px;
    height: 80px;
    border-radius: var(--radius);
    overflow: hidden;
    flex-shrink: 0;
}

.featured-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-item-content { flex: 1; }

.featured-item-cat {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.featured-item-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
}

/* ============================================
   BLOG SECTION
   ============================================ */

.blog-section {
    padding: 80px 0;
    background: var(--bg-cream);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 48px;
}

.article-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.article-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.article-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.article-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.article-cat {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--primary);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-body { padding: 24px; }

.article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.8125rem;
    color: var(--text-light);
    margin-bottom: 12px;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-title {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 12px;
}

.article-title a { color: var(--text-dark); }
.article-title a:hover { color: var(--primary); }

.article-excerpt {
    font-size: 0.9375rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 16px;
}

.article-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--primary);
}

.article-link:hover { gap: 12px; }
.article-link::after { content: '→'; transition: var(--transition); }

/* ============================================
   HANDPICKED / TOP RECIPES SECTION
   ============================================ */

.handpicked-section {
    padding: 80px 0;
    background: var(--white);
}

.handpicked-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.handpicked-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 320px;
    transition: var(--transition);
}

.handpicked-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.handpicked-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.handpicked-card:hover img { transform: scale(1.1); }

.handpicked-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
}

.handpicked-card-cat {
    display: inline-block;
    background: var(--secondary);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.handpicked-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.4;
}

/* ============================================
   NEWSLETTER SECTION
   ============================================ */

.newsletter-section {
    padding: 80px 0;
    background: var(--white);
}

.newsletter-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: var(--radius-xl);
    padding: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.newsletter-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.newsletter-box::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.newsletter-content {
    position: relative;
    z-index: 1;
}

.newsletter-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.newsletter-desc {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 16px 24px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    background: var(--white);
}

.newsletter-form input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.newsletter-form button {
    background: var(--accent);
    color: var(--text-dark);
    padding: 16px 32px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.newsletter-form button:hover {
    background: #e5b91e;
    transform: scale(1.02);
}

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

.site-footer {
    background: var(--bg-dark);
    color: var(--white);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo { margin-bottom: 20px; }
.footer-brand .logo-icon { background: var(--primary); }
.footer-brand .logo-text { color: var(--white); }

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-social { display: flex; gap: 12px; }

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--white);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

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

.footer-title {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--white);
}

.footer-links li { margin-bottom: 14px; }

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 8px;
}

.footer-bottom {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a { color: rgba(255, 255, 255, 0.5); }
.footer-bottom a:hover { color: var(--white); }

.footer-legal { display: flex; gap: 24px; }

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

.single-post {
    padding-top: 60px;
    background: var(--white);
}

.post-header {
    text-align: center;
    padding: 40px 24px;
    max-width: 800px;
    margin: 0 auto;
}

.post-cat-badge {
    display: inline-block;
    background: rgba(197, 48, 48, 0.1);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.post-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 24px;
}

.post-meta {
    display: flex;
    justify-content: center;
    gap: 24px;
    color: var(--text-light);
    font-size: 0.9375rem;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.post-featured {
    max-width: 1000px;
    margin: 0 auto 60px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.post-featured img { width: 100%; height: auto; }

.post-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px 80px;
}

.post-content h2 { font-size: 1.75rem; margin-top: 2.5rem; margin-bottom: 1rem; }
.post-content h3 { font-size: 1.375rem; margin-top: 2rem; margin-bottom: 0.75rem; }
.post-content p { font-size: 1.0625rem; line-height: 1.8; margin-bottom: 1.5rem; }

.post-content ul, .post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.post-content ul { list-style: disc; }
.post-content ol { list-style: decimal; }

.post-content li {
    margin-bottom: 0.5rem;
    color: var(--text-gray);
    line-height: 1.7;
}

.post-content img { border-radius: var(--radius); margin: 2rem 0; }

.post-content blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 24px;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-gray);
}

/* ============================================
   CATEGORY PAGE
   ============================================ */

.category-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 80px 24px;
    text-align: center;
    color: var(--white);
}

.category-header h1 { color: var(--white); margin-bottom: 16px; }

.category-header p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.125rem;
}

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

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

.pagination a, .pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: var(--transition);
}

.pagination a {
    background: var(--white);
    color: var(--text-dark);
    border: 1px solid var(--border);
}

.pagination a:hover, .pagination .current {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* ============================================
   COMMENT FORM
   ============================================ */

.comment-respond {
    max-width: 650px;
    margin: 0 auto;
    padding: 30px;
    background: #f9fafb;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    margin-top: 40px;
    margin-bottom: 40px;
    text-align: left;
}

.comment-reply-title {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: #111827;
}

.comment-form p { margin-bottom: 15px; }

.comment-form input, .comment-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s;
}

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

.comment-form input[type="submit"] {
    background: var(--primary);
    color: white;
    border: none;
    cursor: pointer;
    font-weight: 600;
    width: auto;
    padding: 14px 32px;
    display: block;
    margin: 20px auto 0;
}

.comment-form input[type="submit"]:hover { background: var(--primary-dark); }

.comment-form .comment-form-cookies-consent {
    display: flex;
    align-items: center;
    gap: 10px;
}

.comment-form .comment-form-cookies-consent input { width: auto; }

/* ============================================
   HEADER SEARCH BOX
   ============================================ */

.header-search-box {
    background: #fff;
    padding: 20px;
    border-top: 1px solid #eee;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    text-align: center;
}

.header-search-box input {
    width: 100%;
    max-width: 500px;
    padding: 15px 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    margin-right: 10px;
}

.header-search-box button {
    padding: 15px 30px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

/* ============================================
   ANIMATIONS
   ============================================ */

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

.fade-in { animation: fadeInUp 0.6s ease forwards; }

/* ============================================
   SCROLLBAR
   ============================================ */

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-light); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-dark); }

::selection { background: var(--primary); color: var(--white); }

/* ============================================
   RESPONSIVE - ALL DEVICES
   ============================================ */

/* Large Tablets & Small Laptops */
@media (max-width: 1200px) {
    .categories-grid, .categories-circle-grid { grid-template-columns: repeat(4, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .handpicked-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Tablets */
@media (max-width: 1024px) {
    .featured-grid { grid-template-columns: 1fr; }
    .featured-main { height: 400px; }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile Landscape & Small Tablets */
@media (max-width: 768px) {
    .top-bar { display: none; }
    
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--white);
        padding: 16px;
        box-shadow: var(--shadow-xl);
        border-top: 1px solid var(--border);
        z-index: 999;
    }
    
    .main-nav.active { display: flex; }
    .main-nav a { padding: 14px 16px; border-bottom: 1px solid var(--border); }
    .mobile-toggle { display: flex; }
    
    .hero { min-height: 70vh; }
    .hero-content { padding: 40px 20px; }
    .hero-actions { flex-direction: column; align-items: center; }
    
    .categories-grid, .categories-circle-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .category-thumb, .circle-image { width: 100px; height: 100px; }
    
    .blog-grid { grid-template-columns: 1fr; gap: 20px; }
    
    .newsletter-box { padding: 40px 24px; }
    .newsletter-form { flex-direction: column; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
    .footer-legal { flex-wrap: wrap; justify-content: center; }
    
    .handpicked-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .handpicked-card { height: 250px; }
    .handpicked-card-content { padding: 16px; }
    .handpicked-card-title { font-size: 0.9375rem; }
}

/* Mobile Portrait */
@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .header-inner { padding: 0 16px; height: 64px; }
    
    .logo-icon { width: 40px; height: 40px; font-size: 1.3rem; }
    .logo-text { font-size: 1.3rem; }
    
    .categories-grid, .categories-circle-grid { gap: 12px; }
    .category-card { padding: 20px 12px; }
    .category-thumb, .circle-image { width: 80px; height: 80px; margin-bottom: 12px; }
    .category-title, .category-circle h3 { font-size: 0.875rem; }
    
    .handpicked-grid { grid-template-columns: 1fr; }
    .handpicked-card { height: 280px; }
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */

#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #c53030, #dd6b20);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.35s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    z-index: 9999;
}

#backToTop svg {
    width: 22px;
    height: 22px;
    fill: white;
    transition: transform 0.3s;
}

#backToTop:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}

#backToTop:hover svg {
    transform: translateY(-3px);
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (max-width: 768px) {
    #backToTop {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
}

/* ============================================
   BACK TO TOP BUTTON - PRO STYLE
   ============================================ */

#backToTop {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    width: 55px !important;
    height: 55px !important;
    border-radius: 50% !important;
    border: none !important;
    background: linear-gradient(135deg, #c53030, #dd6b20) !important;
    color: #fff !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.35s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    z-index: 99999 !important;
}

#backToTop svg {
    width: 24px;
    height: 24px;
    fill: white;
    transition: transform 0.3s;
}

#backToTop:hover {
    transform: translateY(-5px) scale(1.05) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35) !important;
}

#backToTop:hover svg {
    transform: translateY(-3px);
}

#backToTop.show {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

@media (max-width: 768px) {
    #backToTop {
        bottom: 20px !important;
        right: 20px !important;
        width: 50px !important;
        height: 50px !important;
    }
}

/* ============================================
   BACK TO TOP BUTTON - PRO
   ============================================ */

#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #c53030, #dd6b20);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.35s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    z-index: 9999;
}

#backToTop svg {
    width: 24px;
    height: 24px;
    fill: white;
    transition: transform 0.3s;
}

#backToTop:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}

#backToTop:hover svg {
    transform: translateY(-3px);
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (max-width: 768px) {
    #backToTop {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
}

/* FIX HEADER ICONS */
.search-btn, .mobile-toggle {
    width: 44px !important;
    height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #f5f5f5 !important;
    border-radius: 10px !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.search-btn svg, .mobile-toggle svg {
    width: 22px !important;
    height: 22px !important;
    stroke: #c53030 !important;
    stroke-width: 2.5 !important;
}

.search-btn:hover, .mobile-toggle:hover {
    background: #c53030 !important;
}

.search-btn:hover svg, .mobile-toggle:hover svg {
    stroke: #fff !important;
}
/* LOGO MYRECIPELIVE */
.logo-text { color: #1a1a1a !important; }
.logo-highlight { color: #c53030 !important; }
