/*
 Theme Name:   GeneratePress Child
 Template:     generatepress
 Version:      1.0
*/

/* ═══════════════════════════════════════════
   TOKENS
═══════════════════════════════════════════ */
:root {
    --pink:    #FF59B3;
    --purple:  #957AFF;
    --dark:    #0D0D0D;
    --dark2:   #1A0A14;
    --bg:      #FFF5FB;
    --bg2:     #FFF0F8;
    --border:  #FCCCE8;
    --text:    #1A0010;
    --muted:   #7A3060;
    --white:   #fff;
    --radius:  10px;
    --shadow:  0 4px 20px rgba(255,89,179,.13);
    --font:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ═══════════════════════════════════════════
   KILL GP DEFAULT ELEMENTS
═══════════════════════════════════════════ */
.main-navigation,
.navigation-branding,
#site-navigation,
#masthead,
.site-header,
.site-footer,
.generate-back-to-top,
#generate-back-to-top,
#site-content .inside-article .entry-header:not(.cfm-keep),
.generate-page-header,
#generate-sidebar-toggle-button {
    display: none !important;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

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

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

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

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

.site-content,
.content-area,
#primary,
.inside-article,
.entry-content,
.site {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
}

/* Remove GP page padding */
.generate-page-header .inside-page-header,
.inside-right-sidebar,
.inside-left-sidebar {
    padding: 0;
}

/* ═══════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════ */
.cfm-btn {
    display: inline-block;
    padding: 13px 28px;
    background: var(--pink);
    color: var(--white) !important;
    font-size: .9rem;
    font-weight: 700;
    border-radius: var(--radius);
    border: 2px solid var(--pink);
    cursor: pointer;
    transition: background .2s, border-color .2s, transform .15s, box-shadow .2s;
    text-align: center;
    letter-spacing: .02em;
    font-family: var(--font);
    text-decoration: none !important;
}
.cfm-btn:hover {
    background: var(--purple);
    border-color: var(--purple);
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(149,122,255,.3);
}
.cfm-btn-outline {
    background: transparent;
    color: var(--pink) !important;
    border-color: var(--pink);
}
.cfm-btn-outline:hover {
    background: var(--pink);
    color: var(--white) !important;
}
.cfm-btn-dark {
    background: var(--dark);
    border-color: var(--dark);
    color: var(--white) !important;
}
.cfm-btn-dark:hover {
    background: var(--pink);
    border-color: var(--pink);
}
.cfm-btn-sm {
    padding: 8px 18px;
    font-size: .82rem;
}

/* ═══════════════════════════════════════════
   CONTAINER
═══════════════════════════════════════════ */
.cfm-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ═══════════════════════════════════════════
   HEADER
═══════════════════════════════════════════ */
.cfm-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: var(--white);
    border-bottom: 3px solid var(--pink);
    box-shadow: 0 2px 16px rgba(255,89,179,.10);
}

.cfm-header-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 68px;
    position: relative;
}

.cfm-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.cfm-logo-img { max-height: 52px; width: auto; }
.cfm-logo-text {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--dark);
    letter-spacing: -.02em;
    text-decoration: none !important;
}
.cfm-logo-text span { color: var(--pink); }

.cfm-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    flex-wrap: wrap;
}
.cfm-nav a {
    font-size: .82rem;
    font-weight: 600;
    color: var(--dark);
    padding: 6px 10px;
    border-radius: 6px;
    transition: background .18s, color .18s;
    text-decoration: none;
    white-space: nowrap;
}
.cfm-nav a:hover {
    background: var(--bg2);
    color: var(--pink);
}

.cfm-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.cfm-search-btn,
.cfm-hamburger {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    color: var(--dark);
    display: flex;
    align-items: center;
    transition: background .18s;
}
.cfm-search-btn:hover,
.cfm-hamburger:hover { background: var(--bg2); }

.cfm-hamburger { display: none; flex-direction: column; justify-content: center; gap: 5px; }
.cfm-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: .2s;
}

/* Search bar */
.cfm-search-bar {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: 12px 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    z-index: 100;
}
.cfm-search-bar.open { display: flex; }
.cfm-search-bar input {
    flex: 1;
    padding: 10px 14px;
    border: 2px solid var(--border);
    border-right: none;
    border-radius: var(--radius) 0 0 var(--radius);
    font-size: .9rem;
    background: var(--bg);
    outline: none;
    font-family: var(--font);
}
.cfm-search-bar input:focus { border-color: var(--pink); }
.cfm-search-bar button {
    padding: 10px 20px;
    background: var(--pink);
    color: var(--white);
    border: 2px solid var(--pink);
    border-radius: 0 var(--radius) var(--radius) 0;
    cursor: pointer;
    font-weight: 700;
    font-size: .88rem;
    font-family: var(--font);
    transition: background .18s;
}
.cfm-search-bar button:hover { background: var(--purple); border-color: var(--purple); }

/* Mobile nav */
.cfm-mobile-nav {
    display: none;
    flex-direction: column;
    background: var(--white);
    border-top: 2px solid var(--border);
    padding: 8px 0 16px;
    width: 100%;
}
.cfm-mobile-nav.open { display: flex; }
.cfm-mobile-nav a {
    padding: 11px 24px;
    font-size: .9rem;
    font-weight: 600;
    color: var(--dark);
    text-decoration: none;
    border-bottom: 1px solid var(--bg2);
    transition: color .18s, background .18s;
}
.cfm-mobile-nav a:hover { color: var(--pink); background: var(--bg); }

/* ═══════════════════════════════════════════
   LAYOUT — SECTIONS
═══════════════════════════════════════════ */
.cfm-section {
    padding: 64px 0;
}
.cfm-section-bg {
    background: var(--bg2);
}
.cfm-section-head {
    text-align: center;
    margin-bottom: 40px;
}
.cfm-section-title {
    font-size: 2rem;
    font-weight: 900;
    color: var(--dark);
    margin: 0 0 12px;
    letter-spacing: -.03em;
}
.cfm-section-sub {
    font-size: 1rem;
    color: var(--muted);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.cfm-hero {
    background: linear-gradient(135deg, #0D0D0D 0%, #2D0020 50%, #1A0A14 100%);
    position: relative;
    overflow: hidden;
    padding: 72px 0 64px;
}
.cfm-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(255,89,179,.18) 0%, transparent 70%);
    pointer-events: none;
}
.cfm-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 80%, rgba(149,122,255,.12) 0%, transparent 60%);
    pointer-events: none;
}

.cfm-hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.cfm-hero-label {
    display: inline-block;
    background: rgba(255,89,179,.2);
    color: var(--pink);
    border: 1px solid rgba(255,89,179,.4);
    border-radius: 50px;
    padding: 5px 16px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.cfm-hero-title {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1.15;
    margin: 0 0 18px;
    letter-spacing: -.03em;
}
.cfm-hero-title em {
    font-style: normal;
    color: var(--pink);
}
.cfm-hero-desc {
    font-size: 1.05rem;
    color: rgba(255,255,255,.75);
    line-height: 1.7;
    margin: 0 0 28px;
    max-width: 500px;
}
.cfm-hero-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}
.cfm-hero-stats {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}
.cfm-hero-stat {
    text-align: center;
    border-right: 1px solid rgba(255,255,255,.12);
    padding-right: 24px;
}
.cfm-hero-stat:last-child { border-right: none; padding-right: 0; }
.cfm-hero-stat strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--pink);
    line-height: 1;
}
.cfm-hero-stat span {
    font-size: .72rem;
    color: rgba(255,255,255,.5);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-top: 3px;
    display: block;
}

.cfm-hero-img {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0,0,0,.5);
    aspect-ratio: 4/3;
}
.cfm-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cfm-hero-no-img {
    aspect-ratio: 4/3;
    border-radius: 16px;
    background: rgba(255,89,179,.1);
    border: 2px dashed rgba(255,89,179,.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

/* ═══════════════════════════════════════════
   RIBBON
═══════════════════════════════════════════ */
.cfm-ribbon {
    background: var(--pink);
    padding: 14px 0;
    overflow: hidden;
}
.cfm-ribbon-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}
.cfm-ribbon-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .04em;
    white-space: nowrap;
}
.cfm-ribbon-item svg { opacity: .9; flex-shrink: 0; }

/* ═══════════════════════════════════════════
   CATEGORY GRID
═══════════════════════════════════════════ */
.cfm-cat-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}
.cfm-cat-card {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    position: relative;
    box-shadow: 0 4px 16px rgba(0,0,0,.1);
    transition: transform .2s, box-shadow .2s;
}
.cfm-cat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(255,89,179,.22);
}
.cfm-cat-img {
    height: 180px;
    background: var(--bg2);
    background-size: cover;
    background-position: center;
    position: relative;
}
.cfm-cat-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13,13,13,.85) 0%, rgba(13,13,13,.2) 60%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 16px 14px;
}
.cfm-cat-name {
    display: block;
    font-size: .88rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 3px;
}
.cfm-cat-count {
    display: block;
    font-size: .72rem;
    color: rgba(255,255,255,.65);
}

/* ═══════════════════════════════════════════
   GRID & CARD
═══════════════════════════════════════════ */
.cfm-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.cfm-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    transition: transform .2s, box-shadow .2s;
    border: 1px solid var(--border);
}
.cfm-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(255,89,179,.18);
}
.cfm-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}
.cfm-card-img {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--bg2);
    position: relative;
}
.cfm-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}
.cfm-card:hover .cfm-card-img img { transform: scale(1.05); }
.cfm-card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--pink);
    color: var(--white);
    font-size: .68rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
    letter-spacing: .04em;
    text-transform: uppercase;
    z-index: 2;
}
.cfm-card-body {
    padding: 14px 16px 18px;
}
.cfm-card-title {
    font-size: .9rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.35;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.cfm-card-meta {
    font-size: .75rem;
    color: var(--muted);
}

.cfm-load-wrap {
    text-align: center;
    margin-top: 36px;
}

/* ═══════════════════════════════════════════
   FEATURED SECTION
═══════════════════════════════════════════ */
.cfm-featured {
    background: linear-gradient(135deg, #0D0D0D 0%, #1A0A14 100%);
    padding: 64px 0;
    position: relative;
    overflow: hidden;
}
.cfm-featured::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 80% 50%, rgba(255,89,179,.12) 0%, transparent 60%);
    pointer-events: none;
}
.cfm-featured-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    position: relative;
    z-index: 2;
}
.cfm-featured-img {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,.5);
    aspect-ratio: 4/3;
}
.cfm-featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cfm-featured-label {
    display: inline-block;
    background: rgba(255,89,179,.2);
    color: var(--pink);
    border: 1px solid rgba(255,89,179,.4);
    border-radius: 50px;
    padding: 4px 14px;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 16px;
}
.cfm-featured-title {
    font-size: 1.9rem;
    font-weight: 900;
    color: var(--white);
    margin: 0 0 16px;
    letter-spacing: -.02em;
    line-height: 1.2;
}
.cfm-featured-excerpt {
    color: rgba(255,255,255,.7);
    font-size: .95rem;
    line-height: 1.7;
    margin: 0 0 24px;
}

/* ═══════════════════════════════════════════
   AUTHOR BOX (homepage)
═══════════════════════════════════════════ */
.cfm-author-box {
    background: linear-gradient(135deg, #FFF0F8 0%, #FFF5FB 100%);
    border-top: 3px solid var(--border);
    border-bottom: 3px solid var(--border);
    padding: 56px 0;
}
.cfm-author-inner {
    display: flex;
    gap: 40px;
    align-items: center;
}
.cfm-author-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--white);
    box-shadow: 0 8px 28px rgba(255,89,179,.2);
    flex-shrink: 0;
}
.cfm-author-cred {
    display: inline-block;
    background: var(--pink);
    color: var(--white);
    font-size: .7rem;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 50px;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.cfm-author-name {
    font-size: 1.55rem;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 10px;
    letter-spacing: -.02em;
}
.cfm-author-bio {
    font-size: .95rem;
    color: var(--muted);
    line-height: 1.7;
    margin: 0 0 18px;
    max-width: 600px;
}

/* ═══════════════════════════════════════════
   NEWSLETTER
═══════════════════════════════════════════ */
.cfm-nl {
    background: linear-gradient(135deg, #0D0D0D 0%, #2D0020 100%);
    padding: 64px 0;
    position: relative;
    overflow: hidden;
}
.cfm-nl::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(255,89,179,.15) 0%, transparent 70%);
    pointer-events: none;
}
.cfm-nl-box {
    text-align: center;
    position: relative;
    z-index: 2;
}
.cfm-nl-title {
    font-size: 2rem;
    font-weight: 900;
    color: var(--white);
    margin: 0 0 12px;
    letter-spacing: -.02em;
}
.cfm-nl-sub {
    color: rgba(255,255,255,.65);
    font-size: .95rem;
    margin: 0 0 28px;
    line-height: 1.6;
}
.cfm-nl-form {
    display: flex;
    justify-content: center;
    gap: 0;
    max-width: 480px;
    margin: 0 auto;
}
.cfm-nl-input {
    flex: 1;
    padding: 13px 18px;
    border: 2px solid rgba(255,89,179,.4);
    border-right: none;
    border-radius: var(--radius) 0 0 var(--radius);
    font-size: .9rem;
    background: rgba(255,255,255,.06);
    color: var(--white);
    outline: none;
    font-family: var(--font);
    transition: border-color .2s;
}
.cfm-nl-input::placeholder { color: rgba(255,255,255,.4); }
.cfm-nl-input:focus { border-color: var(--pink); }
.cfm-nl-form .cfm-btn {
    border-radius: 0 var(--radius) var(--radius) 0;
    white-space: nowrap;
}

/* ═══════════════════════════════════════════
   BREADCRUMBS
═══════════════════════════════════════════ */
.cfm-bc {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .78rem;
    color: var(--muted);
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.cfm-bc a { color: var(--pink); text-decoration: none; }
.cfm-bc a:hover { text-decoration: underline; color: var(--pink); }
.cfm-bc-sep { opacity: .5; }
.cfm-bc .rank-math-breadcrumb a { color: var(--pink); }
.cfm-bc .rank-math-breadcrumb a:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════
   ARCHIVE HERO
═══════════════════════════════════════════ */
.cfm-archive-hero {
    background: linear-gradient(135deg, #0D0D0D 0%, #2D0020 50%, #1A0A14 100%);
    padding: 52px 0 44px;
    position: relative;
    overflow: hidden;
}
.cfm-archive-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 60% 50%, rgba(255,89,179,.15) 0%, transparent 70%);
    pointer-events: none;
}
.cfm-archive-hero .cfm-container { position: relative; z-index: 2; }
.cfm-archive-hero .cfm-bc-sep { color: rgba(255,255,255,.5); }
.cfm-archive-title {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--white);
    margin: 0 0 12px;
    letter-spacing: -.03em;
}
.cfm-archive-desc {
    color: rgba(255,255,255,.65);
    font-size: 1rem;
    margin: 0;
    max-width: 560px;
    line-height: 1.6;
}

/* ═══════════════════════════════════════════
   FILTER BAR (All Recipes page)
═══════════════════════════════════════════ */
.cfm-filter-bar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 36px;
    padding: 0 0 8px;
    border-bottom: 2px solid var(--border);
}
.cfm-filter-btn {
    padding: 8px 20px;
    border: 2px solid var(--border);
    border-radius: 50px;
    font-size: .82rem;
    font-weight: 700;
    cursor: pointer;
    background: var(--white);
    color: var(--muted);
    transition: .18s;
    font-family: var(--font);
}
.cfm-filter-btn:hover,
.cfm-filter-btn.active {
    background: var(--pink);
    border-color: var(--pink);
    color: var(--white);
}

/* ═══════════════════════════════════════════
   SINGLE POST LAYOUT
═══════════════════════════════════════════ */
.cfm-single-wrap {
    padding: 40px 0 64px;
    background: var(--bg);
}
.cfm-single-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 48px;
    align-items: start;
}
.cfm-single-main {
    min-width: 0;
    overflow: hidden;
}
.cfm-single-title {
    font-size: 2rem;
    font-weight: 900;
    color: var(--dark);
    line-height: 1.2;
    margin: 0 0 16px;
    letter-spacing: -.02em;
}
.cfm-single-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-size: .8rem;
    color: var(--muted);
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border);
}
.cfm-author-link { color: var(--pink); font-weight: 700; }
.cfm-single-content {
    font-size: .97rem;
    line-height: 1.8;
    color: var(--text);
}
.cfm-single-content h2,
.cfm-single-content h3 { color: var(--dark); margin: 28px 0 12px; font-weight: 800; }
.cfm-single-content p { margin: 0 0 18px; }
.cfm-single-content a { color: var(--pink); }
.cfm-single-content img { border-radius: var(--radius); margin: 20px 0; max-width: 100%; }
.cfm-single-content ul,
.cfm-single-content ol { padding-left: 24px; margin-bottom: 18px; }
.cfm-single-content li { margin-bottom: 6px; }
.cfm-single-content blockquote {
    border-left: 4px solid var(--pink);
    padding: 12px 20px;
    background: var(--bg2);
    border-radius: 0 var(--radius) var(--radius) 0;
    margin: 20px 0;
    font-style: italic;
    color: var(--muted);
}

.cfm-post-footer {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 2px solid var(--border);
    font-size: .82rem;
    color: var(--muted);
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.cfm-post-footer a { color: var(--pink); }

/* ═══════════════════════════════════════════
   SIDEBAR
═══════════════════════════════════════════ */
.cfm-sidebar { display: flex; flex-direction: column; gap: 24px; }
.cfm-widget {
    background: var(--white);
    border-radius: 14px;
    padding: 22px;
    border: 1.5px solid var(--border);
    box-shadow: 0 2px 10px rgba(0,0,0,.04);
    text-align: center;
}
.cfm-widget-avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 10px;
    display: block;
    border: 3px solid var(--pink);
}
.cfm-widget-title {
    font-size: .9rem;
    font-weight: 800;
    color: var(--dark);
    text-align: left;
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border);
    letter-spacing: -.01em;
}
.cfm-recent-list { list-style: none; margin: 0; padding: 0; text-align: left; }
.cfm-recent-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid var(--bg2);
}
.cfm-recent-list li:last-child { border-bottom: none; }
.cfm-recent-list img {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}
.cfm-recent-list a { font-size: .8rem; font-weight: 700; color: var(--dark); line-height: 1.35; }
.cfm-recent-list a:hover { color: var(--pink); }
.cfm-cat-links { list-style: none; margin: 0; padding: 0; text-align: left; }
.cfm-cat-links li { border-bottom: 1px solid var(--bg2); }
.cfm-cat-links a {
    display: flex;
    justify-content: space-between;
    padding: 9px 6px;
    font-size: .85rem;
    font-weight: 600;
    color: var(--dark);
    text-decoration: none;
    transition: color .18s;
}
.cfm-cat-links a:hover { color: var(--pink); }
.cfm-cat-links .count { color: var(--muted); font-weight: 400; }

/* ═══════════════════════════════════════════
   PAGE
═══════════════════════════════════════════ */
.cfm-page-wrap {
    padding: 52px 0 64px;
    background: var(--bg);
}
.cfm-page-main { max-width: 780px; }
.cfm-page-title {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--dark);
    margin: 0 0 28px;
    letter-spacing: -.03em;
    padding-bottom: 20px;
    border-bottom: 3px solid var(--border);
}
.cfm-page-content {
    font-size: .97rem;
    line-height: 1.8;
    color: var(--text);
}
.cfm-page-content h2 { color: var(--dark); margin: 28px 0 12px; font-weight: 800; }
.cfm-page-content h3 { color: var(--dark); margin: 22px 0 10px; font-weight: 700; }
.cfm-page-content p { margin: 0 0 18px; }
.cfm-page-content a { color: var(--pink); }
.cfm-page-content ul,
.cfm-page-content ol { padding-left: 24px; margin-bottom: 18px; }
.cfm-page-content li { margin-bottom: 6px; }

/* ═══════════════════════════════════════════
   SINGLE EXTRAS (author card, post badge)
═══════════════════════════════════════════ */
.cfm-post-cat-badge {
    display: inline-block;
    background: rgba(255,89,179,.12);
    color: var(--pink);
    border: 1.5px solid rgba(255,89,179,.3);
    border-radius: 50px;
    padding: 4px 14px;
    font-size: .74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 14px;
    text-decoration: none !important;
}
.cfm-author-card {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    background: var(--bg2);
    border: 1.5px solid var(--border);
    border-radius: 14px;
    padding: 28px;
    margin: 36px 0;
}
.cfm-author-card-img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--pink);
    flex-shrink: 0;
}
.cfm-author-card-name {
    font-size: 1rem;
    font-weight: 900;
    color: var(--dark);
    margin: 0 0 8px;
}
.cfm-author-card-bio {
    font-size: .85rem;
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
}
.cfm-related { margin-top: 48px; }
.cfm-related-title {
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--dark);
    margin: 0 0 22px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border);
    letter-spacing: -.02em;
}
.cfm-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

/* ═══════════════════════════════════════════
   ABOUT PAGE
═══════════════════════════════════════════ */
.cfm-about-hero {
    background: linear-gradient(135deg, #0D0D0D 0%, #2D0020 50%, #1A0A14 100%);
    padding: 64px 0;
    position: relative;
    overflow: hidden;
}
.cfm-about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 60% 50%, rgba(255,89,179,.15) 0%, transparent 65%);
}
.cfm-about-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 2;
}
.cfm-about-avatar {
    width: 100%;
    max-width: 380px;
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(0,0,0,.5);
    display: block;
    margin: 0 auto;
}
.cfm-about-hero-title {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--white);
    margin: 0 0 16px;
    letter-spacing: -.03em;
    line-height: 1.15;
}
.cfm-about-hero-title span { color: var(--pink); }
.cfm-about-hero-sub {
    font-size: 1.05rem;
    color: rgba(255,255,255,.7);
    line-height: 1.7;
    margin: 0 0 24px;
}
.cfm-about-content {
    padding: 56px 0;
}
.cfm-about-body {
    max-width: 780px;
    margin: 0 auto;
    font-size: .97rem;
    line-height: 1.8;
    color: var(--text);
}
.cfm-about-body h2 {
    font-size: 1.55rem;
    font-weight: 900;
    color: var(--dark);
    margin: 36px 0 14px;
    letter-spacing: -.02em;
    border-left: 4px solid var(--pink);
    padding-left: 16px;
}
.cfm-about-body h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--dark);
    margin: 24px 0 10px;
}
.cfm-about-body p { margin: 0 0 18px; }
.cfm-about-body a { color: var(--pink); }
.cfm-about-body ul { padding-left: 24px; margin-bottom: 18px; }
.cfm-about-body li { margin-bottom: 8px; }
.cfm-about-body strong { color: var(--dark); font-weight: 700; }
.cfm-about-quote {
    background: var(--bg2);
    border-left: 5px solid var(--pink);
    border-radius: 0 12px 12px 0;
    padding: 22px 28px;
    margin: 32px 0;
    font-size: 1.05rem;
    font-style: italic;
    color: var(--muted);
    line-height: 1.7;
}
.cfm-about-cats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    margin: 24px 0;
}
.cfm-about-cat-item {
    background: var(--bg2);
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 18px 10px;
    text-align: center;
    font-size: .85rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.3;
}
.cfm-about-cat-item span {
    display: block;
    font-size: 1.5rem;
    margin-bottom: 6px;
}

/* ═══════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════ */
.cfm-contact-wrap {
    padding: 56px 0 72px;
    background: var(--bg);
}
.cfm-contact-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 48px;
    align-items: start;
}
.cfm-contact-title {
    font-size: 2rem;
    font-weight: 900;
    color: var(--dark);
    margin: 0 0 12px;
    letter-spacing: -.03em;
}
.cfm-contact-sub {
    font-size: .95rem;
    color: var(--muted);
    line-height: 1.7;
    margin: 0 0 28px;
}
.cfm-contact-info { margin-bottom: 32px; }
.cfm-contact-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-size: .9rem;
    color: var(--text);
}
.cfm-contact-info-icon {
    width: 36px;
    height: 36px;
    background: rgba(255,89,179,.12);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pink);
    flex-shrink: 0;
}
.cfm-form-card {
    background: var(--white);
    border-radius: 16px;
    padding: 32px;
    border: 1.5px solid var(--border);
    box-shadow: var(--shadow);
}
.cfm-form-title {
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--dark);
    margin: 0 0 22px;
}
.cfm-form-group { margin-bottom: 16px; }
.cfm-form-group label {
    display: block;
    font-size: .82rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}
.cfm-form-group input,
.cfm-form-group select,
.cfm-form-group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: .88rem;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    outline: none;
    transition: border-color .2s;
}
.cfm-form-group input:focus,
.cfm-form-group select:focus,
.cfm-form-group textarea:focus { border-color: var(--pink); background: var(--white); }
.cfm-form-group textarea { min-height: 120px; resize: vertical; }
.cfm-form-msg {
    display: none;
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: .88rem;
    font-weight: 600;
    margin-top: 14px;
}
.cfm-form-msg.success { background: rgba(34,197,94,.1); color: #16a34a; border: 1px solid rgba(34,197,94,.3); display: block; }
.cfm-form-msg.error { background: rgba(239,68,68,.1); color: #dc2626; border: 1px solid rgba(239,68,68,.3); display: block; }

/* ═══════════════════════════════════════════
   WPRM OVERRIDE
═══════════════════════════════════════════ */
.wprm-recipe-container { border: 2px solid var(--border) !important; border-radius: 14px !important; background: var(--white) !important; }
.wprm-recipe-block-container-columns .wprm-recipe-block-container { background: var(--bg2) !important; }
.wprm-recipe-name { color: var(--dark) !important; font-weight: 900 !important; }
.wprm-color-accent,
.wprm-recipe-rating-average,
.wprm-call-to-action-link { color: var(--pink) !important; }
.wprm-recipe-print-link,
.wprm-jump-to-recipe-shortcode a { background: var(--pink) !important; color: var(--white) !important; border-color: var(--pink) !important; border-radius: 8px !important; }
.wprm-recipe-print-link:hover,
.wprm-jump-to-recipe-shortcode a:hover { background: var(--purple) !important; border-color: var(--purple) !important; }

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.cfm-footer {
    background: linear-gradient(135deg, #0D0D0D 0%, #1A0A14 100%);
    padding: 56px 0 0;
    position: relative;
    overflow: hidden;
}
.cfm-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--pink), var(--purple));
}
.cfm-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 48px;
}
.cfm-footer-logo-text {
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--white);
    text-decoration: none !important;
    display: inline-block;
    margin-bottom: 14px;
    letter-spacing: -.02em;
}
.cfm-footer-logo-text span { color: var(--pink); }
.cfm-footer-logo-img { max-height: 48px; width: auto; margin-bottom: 14px; }
.cfm-footer-tagline {
    font-size: .85rem;
    color: rgba(255,255,255,.5);
    line-height: 1.65;
    margin: 0 0 20px;
}
.cfm-footer-social { display: flex; gap: 10px; }
.cfm-footer-social a {
    width: 36px; height: 36px;
    background: rgba(255,255,255,.07);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.7);
    text-decoration: none;
    transition: background .18s, color .18s;
}
.cfm-footer-social a:hover { background: var(--pink); color: var(--white); }
.cfm-footer-col-title {
    font-size: .8rem;
    font-weight: 800;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 16px;
}
.cfm-footer-links { list-style: none; margin: 0; padding: 0; }
.cfm-footer-links li { margin-bottom: 8px; }
.cfm-footer-links a {
    font-size: .85rem;
    color: rgba(255,255,255,.5);
    text-decoration: none;
    transition: color .18s;
    display: flex;
    align-items: center;
    gap: 6px;
}
.cfm-footer-links a::before {
    content: '›';
    color: var(--pink);
    font-size: .9rem;
}
.cfm-footer-links a:hover { color: var(--pink); }
.cfm-footer-nl p { font-size: .85rem; color: rgba(255,255,255,.5); margin: 0 0 12px; line-height: 1.6; }
.cfm-footer-nl-form { display: flex; gap: 0; }
.cfm-footer-nl-form input {
    flex: 1;
    padding: 10px 13px;
    border: 1.5px solid rgba(255,255,255,.15);
    border-right: none;
    border-radius: var(--radius) 0 0 var(--radius);
    font-size: .83rem;
    background: rgba(255,255,255,.05);
    color: var(--white);
    font-family: var(--font);
    outline: none;
}
.cfm-footer-nl-form input::placeholder { color: rgba(255,255,255,.3); }
.cfm-footer-nl-form input:focus { border-color: rgba(255,89,179,.5); }
.cfm-footer-nl-form .cfm-btn-sm { border-radius: 0 var(--radius) var(--radius) 0; white-space: nowrap; }
.cfm-footer-bottom {
    background: rgba(0,0,0,.3);
    padding: 16px 20px;
    text-align: center;
    font-size: .78rem;
    color: rgba(255,255,255,.35);
    border-top: 1px solid rgba(255,255,255,.06);
}

/* ═══════════════════════════════════════════
   BACK TO TOP
═══════════════════════════════════════════ */
.cfm-back-top {
    position: fixed;
    bottom: 28px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: var(--pink);
    color: var(--white) !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 4px 16px rgba(255,89,179,.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s, transform .25s;
    z-index: 9999;
    text-decoration: none;
    line-height: 1;
}
.cfm-back-top.show { opacity: 1; pointer-events: auto; }
.cfm-back-top:hover { background: var(--purple); transform: translateY(-3px); color: var(--white) !important; }

/* ═══════════════════════════════════════════
   RESPONSIVE — 1024px
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
    .cfm-nav { display: none; }
    .cfm-hamburger { display: flex; flex-direction: column; justify-content: center; gap: 5px; }
    .cfm-header-inner { gap: 12px; }
    .cfm-logo-img { max-height: 42px; max-width: 200px; width: auto; }
    .cfm-logo-text { font-size: 1.15rem; }
    .cfm-hero-title { font-size: 2.2rem; }
    .cfm-cat-grid { grid-template-columns: repeat(3, 1fr); }
    .cfm-grid { grid-template-columns: repeat(3, 1fr); }
    .cfm-single-layout { grid-template-columns: 1fr; }
    .cfm-sidebar { display: none; }
    .cfm-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .cfm-hero-content { grid-template-columns: 1fr; }
    .cfm-hero-img { display: none; }
    .cfm-featured-inner { grid-template-columns: 1fr; gap: 32px; }
    .cfm-about-hero-inner { grid-template-columns: 1fr; }
    .cfm-about-avatar { max-width: 220px; }
    .cfm-contact-grid { grid-template-columns: 1fr; }
    .cfm-about-cats-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ═══════════════════════════════════════════
   RESPONSIVE — 768px
═══════════════════════════════════════════ */
@media (max-width: 768px) {
    .cfm-header-inner { padding: 0 14px; gap: 8px; }
    .cfm-logo-img { max-height: 38px; max-width: 160px; }
    .cfm-logo-text { font-size: 1rem; }
    .cfm-hero-title { font-size: 1.8rem; }
    .cfm-section-title { font-size: 1.6rem; }
    .cfm-section { padding: 48px 0; }
    .cfm-cat-grid { grid-template-columns: repeat(2, 1fr); }
    .cfm-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .cfm-related-grid { grid-template-columns: repeat(2, 1fr); }
    .cfm-author-inner { flex-direction: column; text-align: center; }
    .cfm-hero-stats { justify-content: center; }
    .cfm-hero-btns { justify-content: center; }
    .cfm-hero-text { text-align: center; }
    .cfm-about-cats-grid { grid-template-columns: repeat(2, 1fr); }
    .cfm-footer-grid { grid-template-columns: 1fr; }
    .cfm-archive-title { font-size: 1.7rem; }
    .cfm-single-title { font-size: 1.55rem; }
    .cfm-ribbon-inner { gap: 20px; }
    .cfm-about-body h2 { font-size: 1.3rem; }
    .cfm-nl-form { flex-direction: column; gap: 10px; }
    .cfm-nl-input { border-right: 2px solid rgba(255,89,179,.4); border-radius: var(--radius); }
    .cfm-nl-form .cfm-btn { border-radius: var(--radius); }
}

/* ═══════════════════════════════════════════
   RESPONSIVE — 480px
═══════════════════════════════════════════ */
@media (max-width: 480px) {
    .cfm-header-inner { padding: 0 12px; gap: 6px; }
    .cfm-logo-img { max-height: 34px; max-width: 140px; }
    .cfm-logo-text { font-size: .92rem; }
    .cfm-hero-title { font-size: 1.5rem; }
    .cfm-section-title { font-size: 1.35rem; }
    .cfm-cat-grid { grid-template-columns: 1fr 1fr; }
    .cfm-grid { grid-template-columns: 1fr; }
    .cfm-related-grid { grid-template-columns: 1fr; }
    .cfm-ribbon-inner { flex-direction: column; gap: 10px; text-align: center; }
    .cfm-hero-stat strong { font-size: 1.2rem; }
    .cfm-about-cats-grid { grid-template-columns: 1fr 1fr; }
    .cfm-contact-grid { grid-template-columns: 1fr; }
    .cfm-author-card { flex-direction: column; align-items: center; text-align: center; }
    .cfm-footer-nl-form { flex-direction: column; gap: 8px; }
    .cfm-footer-nl-form input { border-right: 1.5px solid rgba(255,255,255,.15); border-radius: var(--radius); }
    .cfm-footer-nl-form .cfm-btn-sm { border-radius: var(--radius); }
    .cfm-single-meta { flex-direction: column; gap: 6px; }
    .cfm-post-footer { flex-direction: column; gap: 8px; }
    .cfm-about-hero-title { font-size: 1.8rem; }
    .cfm-filter-bar { gap: 7px; }
    .cfm-filter-btn { padding: 7px 14px; font-size: .78rem; }
}
