/*
Theme Name: GeneratePress Child
Theme URI: https://missmemesplace.com
Description: Miss Memes Place - Pro Editorial Recipe Magazine & Food Living Theme. Warm Golden Crown Edition.
Author: Sarah Jenkins Culinary Team
Author URI: https://missmemesplace.com
Template: generatepress
Version: 2.4.0
*/

/* ==========================================================================
   1. BRAND DESIGN TOKENS & SYSTEM VARIABLES (WARM GOLDEN PALETTE)
   ========================================================================== */
:root {
    --tl-gold: #d4a011;
    --tl-gold-hover: #b8860b;
    --tl-gold-light: #fdf8ea;
    --tl-gold-border: #f1d888;
    --tl-black: #111111;
    --tl-dark: #1f2937;
    --tl-charcoal: #374151;
    --tl-gray: #4b5563;
    --tl-muted: #6b7280;
    --tl-light-border: #e5e7eb;
    --tl-cream-bg: #faf8f5;
    --tl-cream-border: #e8e3d8;
    --tl-white: #ffffff;
    --tl-font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --tl-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ==========================================================================
   2. GENERATEPRESS FLEXBOX FIX & VERTICAL FLOW ENFORCEMENT
   ========================================================================== */
body.home #page,
body.archive #page,
body.category #page,
body.home .grid-container.container,
body.archive .grid-container.container,
body.category .grid-container.container {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.home #content.site-content,
body.home .site-content,
body.archive #content.site-content,
body.archive .site-content,
body.category #content.site-content,
body.category .site-content {
    display: block !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.home #primary.content-area,
body.archive #primary.content-area,
body.category #primary.content-area {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.home #main.site-main,
body.archive #main.site-main,
body.category #main.site-main {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Zero Horizontal Dividers */
hr, .wp-block-separator {
    display: none !important;
}

/* ==========================================================================
   3. PRO EDITORIAL HEADER & BRAND BAR (GOLDEN CROWN)
   ========================================================================== */
.site-header {
    background: #ffffff !important;
    border-bottom: 1px solid var(--tl-light-border) !important;
    position: relative !important;
    z-index: 1000 !important;
}

.inside-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    max-width: 1240px !important;
    margin: 0 auto !important;
    padding: 16px 24px !important;
    box-sizing: border-box !important;
}

/* Hide GP Default Nav in Header (We use our clean Subnav) */
.site-header #site-navigation,
.site-header #mobile-menu-control-wrapper,
.site-header .main-navigation:not(.mm-subnav-wrap) {
    display: none !important;
}

/* Brand Logo */
.mm-header-brand-wrap a {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    text-decoration: none !important;
}

.mm-header-crown {
    height: 46px !important;
    width: auto !important;
    display: block !important;
    transition: transform 0.2s ease !important;
}

.mm-header-brand-wrap a:hover .mm-header-crown {
    transform: scale(1.05) rotate(-2deg) !important;
}

.mm-brand-text {
    display: flex !important;
    flex-direction: column !important;
    line-height: 1 !important;
}

.mm-brand-title {
    font-family: var(--tl-font-heading) !important;
    font-size: 32px !important;
    font-weight: 900 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    line-height: 1 !important;
}

.mm-logo-gold {
    color: var(--tl-gold) !important;
}

.mm-logo-black {
    color: var(--tl-black) !important;
}

.mm-brand-tagline {
    font-family: var(--tl-font-body) !important;
    font-size: 10.5px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    color: var(--tl-muted) !important;
    margin-top: 4px !important;
}

/* Header Actions */
.mm-header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    margin-left: auto !important;
}

.tl-search-form {
    display: flex !important;
    align-items: center !important;
    background: #f9fafb !important;
    border: 1px solid var(--tl-light-border) !important;
    border-radius: 9999px !important;
    height: 38px !important;
    padding: 0 4px 0 16px !important;
    margin: 0 !important;
    transition: all 0.2s ease !important;
}

.tl-search-form:focus-within {
    background: #ffffff !important;
    border-color: var(--tl-gold) !important;
    box-shadow: 0 0 0 3px rgba(212, 160, 17, 0.15) !important;
}

.tl-search-input {
    border: none !important;
    background: transparent !important;
    outline: none !important;
    font-family: var(--tl-font-body) !important;
    font-size: 13.5px !important;
    color: var(--tl-black) !important;
    width: 220px !important;
    padding: 0 !important;
    margin: 0 !important;
}

.tl-search-submit {
    background: var(--tl-gold) !important;
    border: none !important;
    border-radius: 50% !important;
    width: 30px !important;
    height: 30px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    color: #ffffff !important;
    padding: 0 !important;
    transition: background 0.2s ease !important;
}

.tl-search-submit:hover {
    background: var(--tl-gold-hover) !important;
}

.tl-about-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: var(--tl-black) !important;
    color: #ffffff !important;
    font-family: var(--tl-font-body) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    padding: 9px 18px !important;
    border-radius: 9999px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.tl-about-btn:hover {
    background: var(--tl-gold) !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
}

/* ==========================================================================
   4. STICKY SUBNAV BAR (GOLDEN ACCENTS)
   ========================================================================== */
.mm-subnav-wrap {
    background: #ffffff !important;
    border-bottom: 2px solid var(--tl-black) !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 999 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
}

.mm-container {
    max-width: 1240px !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
    box-sizing: border-box !important;
}

.mm-subnav {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
}

.mm-subnav::-webkit-scrollbar {
    display: none !important;
}

.mm-nav-menu {
    display: flex !important;
    align-items: center !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 4px !important;
    white-space: nowrap !important;
}

.mm-nav-item a {
    display: inline-block !important;
    padding: 12px 16px !important;
    font-family: var(--tl-font-heading) !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    color: var(--tl-black) !important;
    text-decoration: none !important;
    border-bottom: 3px solid transparent !important;
    transition: all 0.2s ease !important;
}

.mm-nav-item a:hover,
.mm-nav-item a.is-active {
    color: var(--tl-gold) !important;
    border-bottom-color: var(--tl-gold) !important;
}

/* ==========================================================================
   5. CONTAINER & GENERAL MAGAZINE ARCHITECTURE
   ========================================================================== */
.lh-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.lh-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}

.lh-section-title {
    font-family: var(--tl-font-heading);
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--tl-black);
    margin: 0;
    line-height: 1;
}

.lh-accent-line {
    flex-grow: 1;
    height: 2px;
    background: #e5e7eb;
    position: relative;
}

.lh-accent-line::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 60px;
    background: var(--tl-gold);
}

.lh-section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 22px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e5e7eb;
    position: relative;
}

.lh-section-header-flex::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 80px;
    height: 2px;
    background: var(--tl-gold);
}

.lh-view-all {
    font-family: var(--tl-font-body);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--tl-gold);
    text-decoration: none;
    transition: color 0.2s ease;
}

.lh-view-all:hover {
    color: var(--tl-gold-hover);
    text-decoration: underline;
}

/* ==========================================================================
   6. PRO CATEGORY ARCHIVE STYLING (TABLE & LIVING STANDARD)
   ========================================================================== */
.lh-cat-hero-section {
    background: #ffffff;
    border-bottom: 1px solid var(--tl-light-border);
    padding: 36px 0 28px;
}

.lh-cat-hero-inner {
    text-align: center;
    max-width: 840px;
    margin: 0 auto;
}

.lh-breadcrumbs {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--tl-muted);
    margin-bottom: 14px;
}

.lh-breadcrumbs a {
    color: var(--tl-black);
    text-decoration: none;
    transition: color 0.2s ease;
}

.lh-breadcrumbs a:hover {
    color: var(--tl-gold);
}

.lh-breadcrumbs .lh-sep {
    margin: 0 6px;
    color: #9ca3af;
}

.lh-breadcrumbs .lh-current {
    color: var(--tl-gold);
}

.lh-cat-h1 {
    font-family: var(--tl-font-heading);
    font-size: 40px;
    font-weight: 900;
    line-height: 1.2;
    color: var(--tl-black);
    margin: 8px 0 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lh-cat-desc {
    font-size: 16px;
    line-height: 1.6;
    color: var(--tl-gray);
    margin: 0 auto 16px;
    max-width: 720px;
}

.lh-cat-meta-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 12.5px;
    color: var(--tl-muted);
    margin-bottom: 18px;
}

.lh-cat-count-badge {
    background: var(--tl-gold-light);
    border: 1px solid var(--tl-gold-border);
    color: var(--tl-gold);
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 9999px;
}

.lh-cat-author-note strong {
    color: var(--tl-black);
}

/* Subcategory Filter Pills */
.lh-subcat-pills-wrap {
    margin-top: 24px;
    display: flex;
    justify-content: center;
}

.lh-subcat-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 4px;
    flex-wrap: wrap;
    justify-content: center;
}

.lh-subcat-pills::-webkit-scrollbar {
    display: none;
}

.lh-subcat-pill {
    display: inline-block;
    padding: 7px 16px;
    font-family: var(--tl-font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--tl-black);
    background: #f9fafb;
    border: 1px solid var(--tl-light-border);
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.lh-subcat-pill:hover,
.lh-subcat-pill.is-active {
    background: var(--tl-black);
    color: #ffffff;
    border-color: var(--tl-black);
}

/* Category Featured Hero Card (Page 1) */
.lh-cat-hero-card {
    background: #ffffff;
    border: 1px solid var(--tl-light-border);
    border-radius: 12px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 0;
    margin-bottom: 36px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lh-cat-hero-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.lh-cat-hero-thumb-wrap {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f3f4f6;
}

.lh-cat-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.lh-cat-hero-card:hover .lh-cat-hero-img {
    transform: scale(1.03);
}

.lh-cat-hero-content {
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lh-cat-card-kicker {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--tl-gold);
    margin-bottom: 6px;
}

.lh-cat-hero-title {
    font-family: var(--tl-font-heading);
    font-size: 26px;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 12px;
}

.lh-cat-hero-title a {
    color: var(--tl-black);
    text-decoration: none;
    transition: color 0.2s ease;
}

.lh-cat-hero-title a:hover {
    color: var(--tl-gold);
}

.lh-cat-hero-excerpt {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--tl-gray);
    margin: 0 0 18px;
}

/* Category 3-Column Recipe Grid */
.lh-cat-feed-section {
    padding: 36px 0 48px;
}

.lh-cat-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* Pagination */
.lh-pagination-wrap {
    text-align: center;
    margin: 48px 0 20px;
}

.lh-pagination-wrap ul.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.lh-pagination-wrap ul.page-numbers li a,
.lh-pagination-wrap ul.page-numbers li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 16px;
    border-radius: 8px;
    font-family: var(--tl-font-body);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid var(--tl-light-border);
    background: #ffffff;
    color: var(--tl-black);
    transition: all 0.2s ease;
}

.lh-pagination-wrap ul.page-numbers li span.current {
    background: var(--tl-gold) !important;
    color: #ffffff !important;
    border-color: var(--tl-gold) !important;
}

.lh-pagination-wrap ul.page-numbers li a:hover {
    border-color: var(--tl-gold);
    color: var(--tl-gold);
}

/* Category Promise Bar */
.lh-cat-promise-bar {
    background: var(--tl-cream-bg);
    border: 1px solid var(--tl-cream-border);
    border-radius: 12px;
    padding: 28px 36px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.lh-cat-promise-text h3 {
    font-family: var(--tl-font-heading);
    font-size: 20px;
    font-weight: 800;
    color: var(--tl-black);
    margin: 4px 0 6px;
}

.lh-cat-promise-text p {
    font-size: 14px;
    color: var(--tl-gray);
    line-height: 1.5;
    margin: 0;
}

/* ==========================================================================
   7. TOP EDITORIAL LEAD BANNER (HOMEPAGE)
   ========================================================================== */
.lh-editorial-lead-section {
    padding: 34px 0 24px;
    border-bottom: 1px solid var(--tl-light-border);
    background: #ffffff;
}

.lh-editorial-lead-inner {
    text-align: center;
    max-width: 880px;
    margin: 0 auto;
}

.lh-lead-eyebrow {
    display: inline-block;
    font-family: var(--tl-font-body);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--tl-gold);
    margin-bottom: 8px;
}

.lh-main-h1 {
    font-family: var(--tl-font-heading);
    font-size: 38px;
    font-weight: 800;
    line-height: 1.25;
    color: var(--tl-black);
    margin: 0 0 12px;
}

.lh-lead-subtitle {
    font-family: var(--tl-font-body);
    font-size: 16px;
    color: var(--tl-gray);
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   8. MAIN MAGAZINE ROW (68% MAIN + 32% SIDEBAR)
   ========================================================================== */
.lh-main-section {
    padding: 36px 0;
}

.lh-main-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 36px;
    align-items: start;
}

/* Hero Feature Card */
.lh-hero-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lh-hero-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.lh-hero-thumb-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #f3f4f6;
}

.lh-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.lh-hero-card:hover .lh-hero-img {
    transform: scale(1.03);
}

.lh-badge-pill {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--tl-gold);
    color: #ffffff;
    font-family: var(--tl-font-body);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 9999px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.lh-hero-details {
    padding: 24px;
}

.lh-hero-title {
    font-family: var(--tl-font-heading);
    font-size: 26px;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 10px;
}

.lh-hero-title a {
    color: var(--tl-black);
    text-decoration: none;
    transition: color 0.2s ease;
}

.lh-hero-title a:hover {
    color: var(--tl-gold);
}

.lh-hero-excerpt {
    font-size: 15px;
    line-height: 1.6;
    color: var(--tl-gray);
    margin: 0 0 16px;
}

.lh-author-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--tl-font-body);
    font-size: 12px;
    color: var(--tl-muted);
}

.lh-meta-author strong {
    color: var(--tl-black);
}

.lh-meta-badge {
    background: var(--tl-gold-light);
    color: var(--tl-gold);
    border: 1px solid var(--tl-gold-border);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 11px;
}

/* Secondary 2x2 Recipe Grid */
.lh-secondary-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.lh-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lh-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.lh-card-thumb-wrap {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f3f4f6;
}

.lh-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.lh-card:hover .lh-card-img {
    transform: scale(1.04);
}

.lh-card-cat-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(17, 17, 17, 0.85);
    color: #ffffff;
    font-family: var(--tl-font-body);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
}

.lh-card-details {
    padding: 16px;
}

.lh-card-title {
    font-family: var(--tl-font-heading);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 10px;
}

.lh-card-title a {
    color: var(--tl-black);
    text-decoration: none;
    transition: color 0.2s ease;
}

.lh-card-title a:hover {
    color: var(--tl-gold);
}

/* ==========================================================================
   9. SIDEBAR FEED & NEWSLETTER BOX
   ========================================================================== */
.lh-sidebar-box {
    background: #ffffff;
    border: 1px solid var(--tl-light-border);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

.lh-sidebar-title {
    font-family: var(--tl-font-heading);
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--tl-black);
    margin: 0;
}

.lh-latest-feed {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.lh-latest-item {
    display: flex;
    gap: 14px;
    align-items: center;
    padding-bottom: 14px;
    border-bottom: 1px solid #f3f4f6;
}

.lh-latest-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.lh-latest-thumb-wrap {
    position: relative;
    width: 90px;
    height: 65px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    background: #f3f4f6;
}

.lh-latest-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lh-latest-num {
    position: absolute;
    bottom: 4px;
    left: 4px;
    background: var(--tl-gold);
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.lh-latest-info {
    flex-grow: 1;
}

.lh-latest-cat {
    display: block;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--tl-gold);
    margin-bottom: 3px;
}

.lh-latest-title {
    font-family: var(--tl-font-heading);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 4px;
}

.lh-latest-title a {
    color: var(--tl-black);
    text-decoration: none;
    transition: color 0.2s ease;
}

.lh-latest-title a:hover {
    color: var(--tl-gold);
}

.lh-latest-date {
    font-size: 11px;
    color: var(--tl-muted);
}

/* Sidebar Newsletter Box */
.lh-sidebar-newsletter {
    background: var(--tl-cream-bg);
    border: 1px solid var(--tl-cream-border);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

.lh-newsletter-icon {
    margin-bottom: 10px;
}

.lh-newsletter-title {
    font-family: var(--tl-font-heading);
    font-size: 17px;
    font-weight: 800;
    color: var(--tl-black);
    margin: 0 0 8px;
}

.lh-newsletter-desc {
    font-size: 13px;
    color: var(--tl-gray);
    line-height: 1.5;
    margin: 0 0 14px;
}

.lh-btn-newsletter {
    display: inline-block;
    background: var(--tl-gold);
    color: #ffffff;
    font-family: var(--tl-font-body);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 8px 18px;
    border-radius: 9999px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.lh-btn-newsletter:hover {
    background: var(--tl-gold-hover);
    color: #ffffff;
}

/* ==========================================================================
   10. VISUAL CATEGORY EXPLORER GRID (4 LARGE CARDS)
   ========================================================================== */
.lh-category-explorer-section {
    padding: 40px 0 20px;
}

.lh-category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.lh-cat-card {
    position: relative;
    height: 190px;
    border-radius: 12px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lh-cat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.lh-cat-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.35) 60%, rgba(0, 0, 0, 0.1) 100%);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-sizing: border-box;
    transition: background 0.3s ease;
}

.lh-cat-card:hover .lh-cat-card-overlay {
    background: linear-gradient(to top, rgba(212, 160, 17, 0.88) 0%, rgba(0, 0, 0, 0.45) 70%, rgba(0, 0, 0, 0.15) 100%);
}

.lh-cat-card-badge {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ffffff;
    opacity: 0.9;
    margin-bottom: 4px;
}

.lh-cat-card-title {
    font-family: var(--tl-font-heading);
    font-size: 19px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 6px;
    line-height: 1.25;
}

.lh-cat-card-link {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #ffffff;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.lh-cat-card:hover .lh-cat-card-link {
    opacity: 1;
}

/* ==========================================================================
   11. MEAL SHOWCASE SECTIONS (3-COLUMN CARDS)
   ========================================================================== */
.lh-showcase-section {
    padding: 36px 0;
}

.lh-showcase-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.lh-showcase-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lh-showcase-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.lh-showcase-thumb-wrap {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f3f4f6;
}

.lh-showcase-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.lh-showcase-card:hover .lh-showcase-img {
    transform: scale(1.04);
}

.lh-showcase-details {
    padding: 20px;
}

.lh-showcase-title {
    font-family: var(--tl-font-heading);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 8px;
}

.lh-showcase-title a {
    color: var(--tl-black);
    text-decoration: none;
    transition: color 0.2s ease;
}

.lh-showcase-title a:hover {
    color: var(--tl-gold);
}

.lh-showcase-excerpt {
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--tl-gray);
    margin: 0 0 14px;
}

/* ==========================================================================
   12. EDITORIAL KITCHEN GUARANTEE (E-E-A-T TRUST BOX)
   ========================================================================== */
.lh-promise-section {
    padding: 30px 0 50px;
}

.lh-promise-box {
    background: var(--tl-cream-bg);
    border: 1px solid var(--tl-cream-border);
    border-radius: 14px;
    padding: 40px;
    box-sizing: border-box;
}

.lh-promise-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 36px;
}

.lh-promise-h2 {
    font-family: var(--tl-font-heading);
    font-size: 28px;
    font-weight: 800;
    color: var(--tl-black);
    margin: 6px 0 10px;
}

.lh-promise-sub {
    font-size: 15px;
    color: var(--tl-gray);
    line-height: 1.6;
    margin: 0;
}

.lh-promise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.lh-promise-item {
    text-align: center;
    padding: 0 10px;
}

.lh-promise-icon-wrap {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid var(--tl-gold-border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.lh-promise-item h3 {
    font-family: var(--tl-font-heading);
    font-size: 18px;
    font-weight: 800;
    color: var(--tl-black);
    margin: 0 0 8px;
}

.lh-promise-item p {
    font-size: 13.5px;
    color: var(--tl-gray);
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   13. WPRM RECIPE CARD HARMONIZATION (GOLDEN PALETTE)
   ========================================================================== */
.wprm-recipe-template-meadow {
    border-top: 4px solid var(--tl-gold) !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.05) !important;
}

.wprm-nutrition-header {
    border-left: 3px solid var(--tl-gold) !important;
    color: var(--tl-black) !important;
}

.single-post .entry-content h2 {
    border-left: 4px solid var(--tl-gold) !important;
    padding-left: 14px !important;
    font-family: var(--tl-font-heading) !important;
    font-weight: 800 !important;
    color: var(--tl-black) !important;
}

/* ==========================================================================
   14. RESPONSIVE BREAKPOINTS (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 1024px) {
    .lh-main-row {
        grid-template-columns: 1fr;
    }
    .lh-cat-hero-card {
        grid-template-columns: 1fr;
    }
    .lh-category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .lh-showcase-grid-3,
    .lh-cat-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .lh-promise-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .lh-cat-promise-bar {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .inside-header {
        flex-direction: column;
        gap: 16px;
        text-align: center;
        padding: 16px 20px !important;
    }
    .mm-header-brand-wrap {
        justify-content: center;
    }
    .mm-header-actions {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    .tl-search-input {
        width: 160px !important;
    }
    .lh-main-h1 {
        font-size: 28px;
    }
    .lh-cat-h1 {
        font-size: 28px;
    }
    .lh-secondary-grid {
        grid-template-columns: 1fr;
    }
    .lh-category-grid {
        grid-template-columns: 1fr;
    }
    .lh-showcase-grid-3,
    .lh-cat-grid-3 {
        grid-template-columns: 1fr;
    }
    .lh-promise-box {
        padding: 24px 16px;
    }
    .lh-cat-hero-content {
        padding: 20px;
    }
}

/* ==========================================================================
   MISS MEMES PLACE - EDITORIAL, ABOUT US & POLICY PAGES (PRO MAGAZINE)
   ========================================================================== */
.mm-editorial-wrap {
    max-width: 980px;
    margin: 40px auto 80px;
    padding: 0 20px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #374151;
}

.mm-page-header {
    text-align: center;
    margin-bottom: 50px;
}

.mm-page-header .mm-eyebrow,
.mm-section-header .mm-eyebrow,
.mm-form-header .mm-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--tl-gold, #d4a011);
    margin-bottom: 12px;
}

.mm-page-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 40px;
    font-weight: 800;
    color: #111111;
    line-height: 1.25;
    margin-bottom: 16px;
}

.mm-page-lead {
    font-size: 17px;
    line-height: 1.65;
    color: #6b7280;
    max-width: 760px;
    margin: 0 auto;
}

/* Amelia Hall Feature Card */
.mm-amelia-hero-card {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 40px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 36px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    margin-bottom: 60px;
    align-items: start;
}

.mm-amelia-photo-wrap {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.mm-amelia-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.mm-amelia-badge {
    position: absolute;
    bottom: 14px;
    left: 14px;
    right: 14px;
    background: #111111;
    color: var(--tl-gold, #d4a011);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
    padding: 9px 12px;
    border-radius: 6px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.mm-amelia-bio {
    font-size: 16px;
    line-height: 1.75;
    color: #374151;
}

.mm-amelia-bio .mm-bio-subtitle {
    display: block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 6px;
}

.mm-amelia-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 34px;
    font-weight: 800;
    color: #111111;
    margin-bottom: 14px;
}

.mm-amelia-quote {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-size: 18px;
    line-height: 1.55;
    color: #111111;
    border-left: 3px solid var(--tl-gold, #d4a011);
    padding-left: 18px;
    margin: 22px 0 24px;
}

/* 3 Pillars of Standards */
.mm-standards-section {
    background: #fdfdfd;
    border: 1px solid #f3f4f6;
    border-radius: 12px;
    padding: 48px 36px;
    margin-bottom: 60px;
}

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

.mm-section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 30px;
    font-weight: 800;
    color: #111111;
    margin-bottom: 10px;
}

.mm-section-sub {
    font-size: 15px;
    color: #6b7280;
    max-width: 680px;
    margin: 0 auto;
}

.mm-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.mm-pillar-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 28px 22px;
    text-align: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.mm-pillar-card:hover {
    transform: translateY(-3px);
    border-color: var(--tl-gold, #d4a011);
}

.mm-pillar-icon {
    font-size: 32px;
    margin-bottom: 14px;
}

.mm-pillar-card h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 18px;
    font-weight: 800;
    color: #111111;
    margin-bottom: 10px;
}

.mm-pillar-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #6b7280;
    margin: 0;
}

/* Recipe Hubs Grid */
.mm-categories-showcase {
    margin-bottom: 60px;
}

.mm-hubs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.mm-hub-box {
    display: block;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 26px;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.mm-hub-box:hover {
    border-color: var(--tl-gold, #d4a011);
    box-shadow: 0 8px 24px rgba(212, 160, 17, 0.12);
    transform: translateY(-2px);
}

.mm-hub-box h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 20px;
    font-weight: 800;
    color: #111111;
    margin-bottom: 8px;
}

.mm-hub-box p {
    font-size: 14px;
    line-height: 1.5;
    color: #6b7280;
    margin: 0;
}

/* Sign-off Card */
.mm-signoff-card {
    background: #111111;
    color: #ffffff;
    border-radius: 12px;
    padding: 48px;
    text-align: center;
    border-top: 4px solid var(--tl-gold, #d4a011);
}

.mm-signoff-card h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 14px;
}

.mm-signoff-card p {
    font-size: 16px;
    line-height: 1.7;
    color: #d1d5db;
    max-width: 680px;
    margin: 0 auto 20px;
}

.mm-signature {
    font-size: 15px;
    color: #ffffff;
    margin-bottom: 30px !important;
}

.mm-signature strong {
    color: var(--tl-gold, #d4a011);
    font-size: 20px;
    font-family: 'Playfair Display', Georgia, serif;
}

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

.mm-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffffff !important;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.mm-btn-outline:hover {
    border-color: var(--tl-gold, #d4a011);
    color: var(--tl-gold, #d4a011) !important;
}

/* POLICY PAGES */
.mm-policy-content {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 44px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.mm-policy-block {
    margin-bottom: 36px;
    padding-bottom: 32px;
    border-bottom: 1px solid #f3f4f6;
}

.mm-policy-block:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.mm-policy-block h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 22px;
    font-weight: 800;
    color: #111111;
    margin-bottom: 14px;
}

.mm-policy-block p {
    font-size: 15px;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 16px;
}

.mm-policy-block ul,
.mm-policy-block ol {
    padding-left: 24px;
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 1.7;
    color: #4b5563;
}

.mm-policy-block li {
    margin-bottom: 8px;
}

.mm-policy-contact-box {
    background: #fdfdfd;
    border-left: 3px solid var(--tl-gold, #d4a011);
    padding: 18px 24px;
    border-radius: 0 8px 8px 0;
    margin-top: 14px;
}

.mm-policy-contact-box p {
    margin: 0;
    line-height: 1.6;
    color: #111111;
}

.mm-policy-contact-box a {
    color: var(--tl-gold, #d4a011);
    font-weight: 600;
    text-decoration: underline;
}

/* CONTACT PAGE */
.mm-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 50px;
}

.mm-contact-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 30px 24px;
    text-align: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.02);
}

.mm-contact-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.mm-contact-card h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 18px;
    font-weight: 800;
    color: #111111;
    margin-bottom: 8px;
}

.mm-contact-card p {
    font-size: 13.5px;
    line-height: 1.55;
    color: #6b7280;
    margin-bottom: 14px;
}

.mm-contact-link {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--tl-gold, #d4a011);
    text-decoration: none;
}

.mm-contact-link:hover {
    text-decoration: underline;
}

.mm-contact-form-section {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.mm-form-header {
    text-align: center;
    margin-bottom: 30px;
}

.mm-form-header h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 28px;
    font-weight: 800;
    color: #111111;
    margin-bottom: 8px;
}

.mm-form-header p {
    font-size: 15px;
    color: #6b7280;
    margin: 0;
}

/* Contact Form 7 Harmonization */
.mm-form-container input[type="text"],
.mm-form-container input[type="email"],
.mm-form-container textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
    margin-bottom: 16px;
    transition: border-color 0.2s ease;
}

.mm-form-container input[type="text"]:focus,
.mm-form-container input[type="email"]:focus,
.mm-form-container textarea:focus {
    border-color: var(--tl-gold, #d4a011);
    outline: none;
    box-shadow: 0 0 0 3px rgba(212, 160, 17, 0.15);
}

.mm-form-container input[type="submit"] {
    background: #111111;
    color: #ffffff;
    padding: 14px 28px;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease;
}

.mm-form-container input[type="submit"]:hover {
    background: var(--tl-gold, #d4a011);
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .mm-amelia-hero-card {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 24px;
    }
    .mm-amelia-photo-wrap {
        max-width: 320px;
        margin: 0 auto;
    }
    .mm-pillars-grid {
        grid-template-columns: 1fr;
    }
    .mm-hubs-grid {
        grid-template-columns: 1fr;
    }
    .mm-contact-grid {
        grid-template-columns: 1fr;
    }
    .mm-page-title {
        font-size: 32px;
    }
    .mm-policy-content {
        padding: 24px 18px;
    }
}
