/*
Theme Name: GeneratePress Child
Theme URI: https://cinnamonandcream.com
Description: Child theme for GeneratePress
Author: Cinnamon and Cream
Template: generatepress
Version: 1.0.0
*/

@import url("../generatepress/style.css");

/* -- Google Fonts ---------------------------------------- */
body { font-family: 'Lora', serif; }

/* -- Reading progress bar -------------------------------- */
#cc-progress {
    position: fixed;
    top: 0; left: 0;
    width: 0%;
    height: 3px;
    background: #C46B2D;
    z-index: 9999;
    transition: width 0.1s linear;
}

/* -- Post card hover ------------------------------------- */
.post {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: 8px;
}
.post:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

/* -- Category pill badges -------------------------------- */
.cat-links a, .entry-categories a {
    display: inline-block;
    background: #C46B2D;
    color: #fff !important;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.75em;
    font-weight: 600;
    text-decoration: none !important;
    margin: 0 3px 4px 0;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.cat-links a:hover, .entry-categories a:hover {
    background: #9A4A18;
}

/* -- Read time badge ------------------------------------- */
.cc-read-time {
    font-size: 0.82em;
    color: #888;
    margin: 0.3em 0 1.2em;
    font-weight: 500;
}

/* -- Related posts --------------------------------------- */
.cc-related {
    margin: 3em 0 1em;
    padding-top: 1.5em;
    border-top: 2px solid #eee;
}
.cc-related h3 {
    font-size: 1em;
    margin-bottom: 1em;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-weight: 700;
}
.cc-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 1em;
}
.cc-related-item {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: transform 0.2s, box-shadow 0.2s;
    background: #fff;
}
.cc-related-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}
.cc-related-item img {
    width: 100%; height: 120px;
    object-fit: cover; display: block;
}
.cc-related-item a {
    display: block;
    padding: 0.6em 0.8em;
    font-size: 0.83em;
    font-weight: 600;
    color: #222 !important;
    text-decoration: none !important;
    line-height: 1.35;
}

/* -- Read More button ------------------------------------ */
.read-more-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 20px;
    background-color: #C46B2D;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 4px;
    font-size: 0.875em;
    font-weight: 600;
    transition: opacity 0.2s;
}
.read-more-btn:hover {
    opacity: 0.82;
    color: #fff !important;
}

/* -- Admin postbox indent -------------------------------- */
.postbox-header { padding-left: 10px; }

/* -- Override GeneratePress accent to CC green ---------- */
:root { --accent: #C46B2D; }

/* -- Hide site branding (title) from nav bar ------------ */
.site-branding { display: none; }

/* -- Prevent nav bar from overflowing viewport ---------- */
body { overflow-x: hidden; }

.main-navigation {
    width: 100%;
    float: none;
}

/* -- Navigation link styling ---------------------------- */
.main-navigation .main-nav ul li[class*="current-menu-"] > a {
    color: #9A4A18;
}
@media (min-width: 769px) {
    .main-navigation .main-nav ul > li > a {
        display: block;
        text-align: center;
        font-size: 13px;
        font-weight: bold;
        color: #C46B2D;
        padding-left: 0;
        padding-right: 0;
        line-height: 60px;
    }
}
@media (min-width: 1000px) {
    .main-navigation .main-nav ul > li > a {
        font-size: 16px;
        padding-left: 20px;
        padding-right: 20px;
    }
}


/* ══════════════════════════════════════════════════════════════
   CINNAMON AND CREAM — Mobile: Nav bar + card spacing
   ══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    /* Tight nav bar, green text/icon */
    .site-header,
    .site-header .inside-header,
    #mobile-menu-control-wrapper { padding: 0 !important; }

    .mobile-menu-control-wrapper .menu-toggle,
    .mobile-menu-control-wrapper .menu-toggle:hover,
    .mobile-menu-control-wrapper .menu-toggle:focus {
        color: #C46B2D !important;
        padding-top: 0.4em !important;
        padding-bottom: 0.4em !important;
        font-size: 0.85em;
        min-height: 0;
        line-height: 1.4;
    }

    /* Remove top gap between nav and first card */
    #page { padding-top: 0 !important; margin-top: 0 !important; }
    .site-content, .content-area, .site-main { padding-top: 0 !important; margin-top: 0 !important; }
    .site.grid-container { padding-top: 0 !important; }

    /* Tighter padding inside each card */
    .separate-containers .inside-article { padding: 16px !important; }

    /* Less gap between cards */
    .separate-containers .post { margin-bottom: 6px !important; }
    .separate-containers article:first-of-type { margin-top: 6px !important; }
}

/* ══════════════════════════════════════════════════════════════
   CINNAMON AND CREAM — Interactive Recipe Cards
   ══════════════════════════════════════════════════════════════ */

/* Recipe card wrapper */
.cc-recipe-wrapper {
    font-family: 'Nunito', sans-serif;
    max-width: 780px;
    margin: 2em auto;
}

/* Meta row: prep / cook / total */
.cc-recipe-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1em 2em;
    background: #FFF8F0;
    border-left: 4px solid #C46B2D;
    border-radius: 0 8px 8px 0;
    padding: 0.75em 1.25em;
    font-size: 0.9em;
    margin-bottom: 1.5em;
}
.cc-recipe-meta-row span {
    min-width: 0;
    overflow-wrap: break-word;
}
.cc-recipe-meta-row span strong { color: #C46B2D; white-space: nowrap; }

/* Serving adjuster */
.cc-serving-adjuster {
    display: flex;
    align-items: center;
    gap: 0.6em;
    margin: 1.4em 0;
    font-size: 1em;
}
.cc-serving-label { font-weight: 700; color: #333; margin-right: 0.2em; }
.cc-sv-btn {
    width: 34px; height: 34px;
    border-radius: 50%;
    border: 2px solid #C46B2D;
    background: #fff;
    color: #C46B2D;
    font-size: 1.3em;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    display: flex !important; align-items: center !important; justify-content: center !important;
    padding: 0 0 4px 0 !important;
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
}
.cc-sv-btn:hover:not(:disabled)  { background: #C46B2D; color: #fff; }
.cc-sv-btn:disabled               { opacity: 0.35; cursor: default; }
.cc-sv-count {
    font-size: 1.4em;
    font-weight: 700;
    color: #C46B2D;
    min-width: 2em;
    text-align: center;
}
.cc-sv-unit { color: #666; }

/* Ingredients */
.cc-ingredients-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5em;
}
.cc-ingredient {
    padding: 0.45em 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: baseline;
    gap: 0.5em;
}
.cc-ingredient:last-child { border-bottom: none; }
.cc-ing-section {
    list-style: none;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #C46B2D;
    padding: 2.2em 0 0.2em;
    border-bottom: 2px solid #f3e0d0;
    margin-bottom: 0.2em;
}
.cc-ing-section:first-child { padding-top: 0; }
.cc-ing-amt {
    font-weight: 700;
    color: #C46B2D;
    min-width: 4.5em;
    flex-shrink: 0;
}
.cc-ingredient.cc-static .cc-ing-amt { color: #999; font-weight: 400; }

/* Steps */
.cc-steps-list {
    padding-left: 1.4em;
    margin-bottom: 2em;
}
.cc-steps-list li {
    margin-bottom: 0.8em;
    line-height: 1.65;
}

/* ── Nutrition panel ─────────────────────────────────────── */
.cc-nutrition-panel {
    background: #fff;
    border: 2px solid #F5E0C8;
    border-radius: 12px;
    padding: 1.5em;
    margin: 2em 0;
}
.cc-nutrition-panel h2, .cc-nutrition-panel h3 {
    margin-top: 0;
    color: #9A4A18;
    font-size: 1.1em;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.cc-per-sv-note {
    font-size: 0.82em;
    color: #888;
    margin: -0.5em 0 1.2em;
}
.cc-dv-note {
    font-size: 0.78em;
    color: #aaa;
    margin-bottom: 1.4em;
}

/* Macros row */
.cc-macros-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8em;
    margin-bottom: 1.8em;
}
.cc-macro-pill {
    background: #FFF8F0;
    border-radius: 10px;
    padding: 0.7em 1em;
    text-align: center;
    flex: 1;
    min-width: 70px;
}
.cc-macro-num {
    display: block;
    font-size: 1.5em;
    font-weight: 700;
    color: #C46B2D;
    line-height: 1.1;
}
.cc-macro-label {
    font-size: 0.72em;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Nutrient bar chart */
.cc-nutrient-bars { display: flex; flex-direction: column; }
.cc-nutrient-row  {
    display: grid;
    grid-template-columns: 130px 1fr 90px;
    align-items: center;
    gap: 0.6em;
    font-size: 0.88em;
}
.cc-nutrient-name { font-weight: 600; color: #444; }
.cc-bar-track {
    background: #FFF0E8;
    border-radius: 20px;
    height: 10px;
    overflow: hidden;
}
.cc-bar {
    height: 100%;
    border-radius: 20px;
    background: #e8a020;
    transition: width 0.3s ease;
    min-width: 3px;
}
.cc-bar.cc-bar-high  { background: #C46B2D; }
.cc-bar.cc-bar-max   { background: #7A3210; }
.cc-nutrient-stat    { font-size: 0.85em; color: #555; white-space: nowrap; }
.cc-nutrient-stat strong { color: #C46B2D; }
.cc-nutrient-stat.cc-high strong { color: #c87f1a; }
.cc-nutrient-stat.cc-max  strong { color: #c0392b; }

/* Complete-day suggestion */
.cc-complete-day {
    margin-top: 2em;
    padding: 0.85em 1em;
    background: #fff9ee;
    border-left: 3px solid #f4a93b;
    border-radius: 0 8px 8px 0;
    font-size: 0.88em;
    color: #555;
}
.cc-complete-day strong { color: #b87514; }

/* Science section */
.cc-science-section {
    margin: 2em 0;
    padding: 1.4em;
    background: #FFF8F0;
    border-radius: 10px;
}
.cc-science-section h2 { color: #9A4A18; margin-top: 0; }

/* Tips box */
.cc-tips-box {
    border: 1px solid #E8D0B8;
    border-radius: 10px;
    padding: 1.2em 1.4em;
    margin: 2em 0;
}
.cc-tips-box h2 { margin-top: 0; color: #C46B2D; font-size: 1em; text-transform: uppercase; letter-spacing: 0.05em; }
.cc-tips-box ul  { margin: 0; padding-left: 1.2em; }
.cc-tips-box li  { margin-bottom: 0.5em; line-height: 1.5; color: #444; }

@media (max-width: 600px) {
    .cc-nutrient-row { grid-template-columns: 100px 1fr 80px; }
    .cc-macros-row   { gap: 0.5em; }
    .cc-macro-num    { font-size: 1.25em; }
    .cc-recipe-meta-row { flex-direction: column; gap: 0; padding: 0.35em 0.8em; font-size: 0.82em; line-height: 1.6; }
    .cc-recipe-meta-row br { display: none; }
    .cc-recipe-wrapper h2 { margin-top: 1em; margin-bottom: 0.4em; }
    .cc-recipe-wrapper h3 { margin-top: 0.8em; margin-bottom: 0.3em; }
}


/* -- Cooking method tabs --------------------------------- */
.cc-method-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em;
    margin: 1.6em 0 0;
    border-bottom: 2px solid #F5E0C8;
    padding-bottom: 0;
}
.cc-method-tab {
    display: flex;
    align-items: center;
    gap: 0.4em;
    padding: 0.55em 1.1em;
    border: 2px solid #F5E0C8;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    background: #FEFAF6;
    color: #555;
    font-family: 'Nunito', sans-serif;
    font-size: 0.88em;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    margin-bottom: -2px;
    position: relative;
}
.cc-method-tab:hover {
    background: #FFF5EA;
    color: #C46B2D;
}
.cc-method-tab.active {
    background: #fff;
    color: #9A4A18;
    border-color: #F5E0C8;
    border-bottom-color: #fff;
    z-index: 1;
}
.cc-method-tab .cc-method-icon {
    font-size: 1.1em;
    line-height: 1;
}

.cc-method-panel.active { display: block; }
.cc-method-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6em 1.8em;
    font-size: 0.88em;
    color: #555;
    margin-bottom: 1em;
    padding-bottom: 0.8em;
    border-bottom: 1px solid #F5EBE0;
}
.cc-method-meta-row br { display: none; }
.cc-method-meta-row span strong { color: #C46B2D; }
.cc-method-note {
    background: #fff9ee;
    border-left: 3px solid #f4a93b;
    border-radius: 0 6px 6px 0;
    padding: 0.7em 1em;
    font-size: 0.85em;
    color: #666;
    margin-bottom: 1em;
}

@media (max-width: 600px) {
    .cc-method-tab { font-size: 0.82em; padding: 0.5em 0.8em; }
}

/* ============================================================
   CINNAMON AND CREAM - Interactive Recipe Cards v2
   ============================================================ */

.cc-recipe-wrapper { font-family: 'Nunito', sans-serif; max-width: 780px; margin: 2em auto; }

.cc-recipe-meta-row {
    display: flex; flex-wrap: wrap; gap: 0.6em 2em;
    background: #FFF8F0; border-left: 4px solid #C46B2D;
    border-radius: 0 8px 8px 0; padding: 0.7em 1.2em;
    font-size: 0.88em; margin-bottom: 1.4em;
}
.cc-recipe-meta-row strong { color: #C46B2D; }

.cc-serving-adjuster { display: flex; align-items: center; gap: .65em; margin: 1.2em 0; }
.cc-serving-label { font-weight: 700; color: #333; }
.cc-sv-btn {
    width: 36px; height: 36px; border-radius: 50%;
    border: 2px solid #C46B2D; background: #fff; color: #C46B2D;
    font-size: 1.35em; cursor: pointer; line-height: 1;
    display: flex; align-items: center; justify-content: center;
    transition: background .15s, color .15s; padding: 0;
}
.cc-sv-btn:hover:not(:disabled) { background: #C46B2D; color: #fff; }
.cc-sv-btn:disabled { opacity: .35; cursor: default; }
.cc-sv-count { font-size: 1.45em; font-weight: 800; color: #C46B2D; min-width: 1.6em; text-align: center; }
.cc-sv-unit  { color: #777; font-size: .9em; }

.cc-ingredients-list { list-style: none; padding: 0; margin: 0 0 1.6em; }
.cc-ingredient {
    display: flex; align-items: baseline; gap: .5em;
    padding: .42em 0; border-bottom: 1px solid #f2f2f2;
}
.cc-ingredient:last-child { border-bottom: none; }
.cc-ing-amt { font-weight: 700; color: #C46B2D; min-width: 5em; flex-shrink: 0; }
.cc-ingredient.cc-static .cc-ing-amt { color: #bbb; font-weight: 400; }

/* Method switcher - pill group */
.cc-method-switcher { margin: 1.6em 0 0; }
.cc-method-pills {
    display: flex; flex-wrap: wrap; gap: .4em;
    background: #F5EDE5; border: 2px solid #E8D5C0; border-bottom: none; border-radius: 14px 14px 0 0; padding: .35em .35em 0;
}
.cc-method-btn {
    flex: 1; min-width: 90px;
    display: flex; flex-direction: column; align-items: center; gap: .2em;
    padding: .65em .5em; border: none; border-radius: 10px 10px 0 0;
    background: transparent; cursor: pointer;
    font-family: 'Nunito', sans-serif;
    transition: background .18s, box-shadow .18s, transform .15s;
}
.cc-method-btn:hover:not(.active) { background: rgba(255,255,255,.55); }
.cc-method-btn.active {
    background: #fff; box-shadow: 0 -2px 8px rgba(0,0,0,.06);
}
.cc-method-icon { font-size: 1.45em; line-height: 1; }
.cc-method-name { font-size: .78em; font-weight: 700; color: #444; text-align: center; }
.cc-method-time { font-size: .68em; color: #907060; text-align: center; font-weight: 600; }
.cc-method-btn.active .cc-method-name { color: #9A4A18; }
.cc-method-btn.active .cc-method-time { color: #C46B2D; }

.cc-method-content {
    border: 2px solid #E8D5C0; border-top: none; border-radius: 0 0 12px 12px;
    overflow: hidden; margin-bottom: 2em;
    background: #fff;
}
.cc-method-panel { display: none; padding: 1.3em 1.4em 1.5em; }
.cc-method-panel.active { display: block; animation: ccFadeIn .2s ease; }
@keyframes ccFadeIn { from { opacity:0; transform:translateY(4px); } to { opacity:1; transform:translateY(0); } }

.cc-method-meta-row {
    display: flex; flex-wrap: wrap; gap: .5em 1.5em;
    font-size: .84em; color: #555; margin-bottom: .9em;
    padding-bottom: .8em; border-bottom: 1px solid #f0f4f1;
}
.cc-method-meta-row strong { color: #9A4A18; }
.cc-method-note {
    background: #fff9ee; border-left: 3px solid #f4a93b;
    border-radius: 0 6px 6px 0; padding: .65em 1em;
    font-size: .83em; color: #666; margin-bottom: .9em;
}
.cc-steps-list { padding-left: 1.4em; margin: 0; }
.cc-steps-list li { margin-bottom: .75em; line-height: 1.65; color: #333; }

/* Nutrition panel */
.cc-nutrition-panel {
    background: #fff; border: 2px solid #E8D5C0;
    border-radius: 14px; padding: 1.5em; margin: 2em 0;
}
.cc-nutrition-panel > h2 {
    margin: 0 0 .15em;
    color: #9A4A18;
    font-size: 1.25em;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-weight: bold;
}
.cc-per-sv-note { font-size: .78em; color: #8B6A50; margin: 0 0 1.2em; }
.cc-dv-note     { font-size: .76em; color: #907060; margin: -.5em 0 1.4em; font-style: italic; }

.cc-macros-row { display: flex; flex-wrap: wrap; gap: .55em; margin-bottom: 1.8em; }
.cc-macro-pill {
    background: #FFF8F0; border-radius: 10px;
    padding: .6em .85em; text-align: center; flex: 1; min-width: 58px;
}
.cc-macro-num   { display: block; font-size: 1.4em; font-weight: 800; color: #C46B2D; line-height: 1.1; }
.cc-macro-label { font-size: .68em; color: #8B6A50; text-transform: uppercase; letter-spacing: .04em; font-weight: 700; }

/* Stacked nutrient bars - name+amount on top, bar middle, pct below */
.cc-nutrient-bars { display: flex; flex-direction: column; }
.cc-nutrient-header {
    display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .28em;
}
.cc-nutrient-name   { font-weight: 700; font-size: .87em; color: #333; }
.cc-nutrient-amount { font-size: .76em; color: #8B6A50; font-weight: 600; }
.cc-bar-track {
    width: 100%; height: 10px; border-radius: 99px;
    background: #FFF0E8; overflow: hidden; margin-bottom: .22em;
}
.cc-bar {
    height: 100%; border-radius: 99px;
    background: linear-gradient(90deg, #c47d00 0%, #e8a020 100%);
    min-width: 4px;
}
.cc-bar.cc-bar-high { background: linear-gradient(90deg, #9A4A18 0%, #E8924E 100%); }
.cc-bar.cc-bar-max  { background: linear-gradient(90deg, #7A3210 0%, #F0A060 100%); }
.cc-nutrient-footer { text-align: right; }
.cc-nutrient-pct { font-size: .76em; font-weight: 700; color: #a06000; }
.cc-nutrient-pct.cc-bar-high { color: #9A4A18; }
.cc-nutrient-pct.cc-bar-max  { color: #7A3210; }
.cc-nutrient-pct.cc-high { color: #c87f1a; }
.cc-nutrient-pct.cc-max  { color: #c0392b; }

.cc-complete-day {
    margin-top: 2em;
    padding: .8em 1em;
    background: #fff9ee; border-left: 3px solid #f4a93b;
    border-radius: 0 8px 8px 0; font-size: .85em; color: #555; line-height: 1.55;
}
.cc-complete-day strong { color: #b87514; }

.cc-science-section { margin: 2em 0; padding: 1.4em; background: #FFF8F0; border-radius: 12px; }
.cc-science-section h2 { color: #9A4A18; margin-top: 0; }

.cc-tips-box { border: 1px solid #E8D0B8; border-radius: 12px; padding: 1.2em 1.4em; margin: 2em 0; }
.cc-tips-box h2 { margin-top: 0; color: #C46B2D; font-size: .95em; text-transform: uppercase; letter-spacing: .06em; }
.cc-tips-box ul { margin: 0; padding-left: 1.2em; }
.cc-tips-box li { margin-bottom: .5em; line-height: 1.55; color: #444; }

@media (max-width: 560px) {
    .cc-method-btn { min-width: 70px; padding: .55em .4em; }
    .cc-method-icon { font-size: 1.2em; }
    .cc-method-time { display: none; }
    .cc-macros-row { gap: .35em; }
    .cc-macro-num  { font-size: 1.2em; }
}

/* Hide wpautop empty paragraphs inside recipe wrapper */
.cc-recipe-wrapper p:empty { display: none; margin: 0; padding: 0; }

.cc-macro-pill br { display: none; }

/* -- Antioxidant profile section --------------------------------- */
.cc-antioxidants {
    margin: 1.8em 0 0;
    padding: 1.1em 1.3em 1.3em;
    background: linear-gradient(135deg, #fdf6ff 0%, #f5eefe 100%);
    border-radius: 12px;
    border: 1.5px solid #e0ccf5;
}
.cc-aox-title {
    font-family: "Nunito", sans-serif;
    font-size: .92em;
    font-weight: 700;
    color: #6b3fa0;
    margin: 0 0 .9em;
    letter-spacing: .01em;
}
.cc-aox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: .65em;
}
.cc-aox-item {
    background: #fff;
    border-radius: 8px;
    padding: .65em .85em;
    border: 1px solid #e0ccf5;
    display: flex;
    flex-direction: column;
    gap: .18em;
}
.cc-aox-name {
    font-family: "Nunito", sans-serif;
    font-weight: 700;
    font-size: .82em;
    color: #5a2d8a;
}
.cc-aox-amt {
    font-size: .74em;
    font-weight: 600;
    color: #8a5cbf;
}
.cc-aox-benefit {
    font-size: .76em;
    color: #666;
    line-height: 1.45;
}
@media (max-width: 600px) {
    .cc-aox-grid { grid-template-columns: 1fr; }
}

/* -- Allergen badges --------------------------------------------- */
.cc-allergen-row {
    display: flex; flex-wrap: wrap; gap: .4em; margin: .9em 0 1.2em;
}
.cc-allergen-badge {
    display: inline-flex; align-items: center; gap: .3em;
    padding: .3em .75em; border-radius: 20px;
    background: #eaf7ee; border: 1.5px solid #b6e2c2;
    color: #9A4A18; font-family: "Nunito", sans-serif;
    font-size: .76em; font-weight: 700; white-space: nowrap;
}

/* -- Glycemic Load card ------------------------------------------ */
.cc-gl-card {
    margin: 1.2em 0 1em; padding: .9em 1.1em 1em;
    background: #FEFAF6; border-radius: 10px; border: 1.5px solid #E8D0B8;
}
.cc-gl-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: .75em;
}
.cc-gl-title {
    font-family: "Nunito", sans-serif; font-size: .85em;
    font-weight: 700; color: #444;
}
.cc-gl-value {
    font-family: "Lora", serif; font-size: 1.5em; font-weight: 700; line-height: 1;
}
.cc-gl-low    { color: #9A4A18; }
.cc-gl-medium { color: #a06000; }
.cc-gl-high   { color: #b83232; }
.cc-gl-scale {
    display: flex; border-radius: 6px; overflow: hidden;
    border: 1px solid #E8D0B8; margin-bottom: .7em;
}
.cc-gl-seg {
    flex: 1; display: flex; flex-direction: column; align-items: center;
    padding: .45em .3em; background: #F5EDE5; border-right: 1px solid #E8D0B8;
    transition: background .2s;
}
.cc-gl-seg:last-child { border-right: none; }
.cc-gl-seg-label {
    font-family: "Nunito", sans-serif; font-size: .75em; font-weight: 700; color: #888;
}
.cc-gl-seg-range { font-size: .68em; color: #888; margin-top: .1em; }
.cc-gl-seg-active.cc-gl-seg-low    { background: #d4f0dc; }
.cc-gl-seg-active.cc-gl-seg-medium { background: #fdefc0; }
.cc-gl-seg-active.cc-gl-seg-high   { background: #fad4d4; }
.cc-gl-seg-active .cc-gl-seg-label { color: #333; }
.cc-gl-seg-active.cc-gl-seg-low    .cc-gl-seg-label { color: #9A4A18; }
.cc-gl-seg-active.cc-gl-seg-medium .cc-gl-seg-label { color: #8a5000; }
.cc-gl-seg-active.cc-gl-seg-high   .cc-gl-seg-label { color: #8b1a1a; }
.cc-gl-seg-active .cc-gl-seg-range { color: #666; }
.cc-gl-right { display: flex; align-items: center; gap: .5em; }
.cc-gl-rating {
    font-family: "Nunito", sans-serif; font-size: .78em; font-weight: 700;
    padding: .2em .6em; border-radius: 20px;
}
.cc-gl-low.cc-gl-rating    { background: #d4f0dc; color: #9A4A18; }
.cc-gl-medium.cc-gl-rating { background: #fdefc0; color: #8a5000; }
.cc-gl-high.cc-gl-rating   { background: #fad4d4; color: #8b1a1a; }
.cc-gl-note { font-size: .76em; color: #666; line-height: 1.5; }


/* -- Equipment section ------------------------------------------- */
.cc-equipment-section {
    margin: 0 0 1.6em; padding: 1em 1.2em 1.2em;
    background: #FAF5F0; border-radius: 12px; border: 1.5px solid #E8D0B8;
}
.cc-equip-title {
    font-family: "Nunito", sans-serif; font-size: .9em; font-weight: 700;
    color: #8B5A2B; margin: 0 0 .8em;
}
.cc-equip-grid {
    display: flex; flex-wrap: wrap; gap: .5em;
}
.cc-equip-item {
    display: flex; align-items: center; gap: .4em;
    padding: .35em .75em; border-radius: 20px;
    background: #fff; border: 1.5px solid #E8D0B8;
    font-family: "Nunito", sans-serif; font-size: .78em; font-weight: 600; color: #444;
}
.cc-equip-icon { font-size: 1em; }

/* -- Nutrition section label ------------------------------------- */
.cc-section-label {
    font-family: "Nunito", sans-serif; font-size: .92em; font-weight: 700;
    color: #9A4A18; margin: 2.2em 0 .2em; letter-spacing: .01em;
}
.cc-nutrition-panel .cc-section-label:first-of-type { margin-top: .2em; }

/* -- Amino class aliases (older posts) --------------------------- */
.cc-amino-section { display: flex; flex-direction: column; }
.cc-amino-row     { margin-bottom: .7em; }
.cc-amino-header  { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .25em; }
.cc-amino-name    { font-family: "Nunito", sans-serif; font-size: .8em; font-weight: 700; color: #444; }
.cc-amino-amt     { font-size: .74em; color: #C46B2D; font-weight: 600; }

/* Extra breathing room above amino acids label */
.cc-nutrient-bars + .cc-section-label,
.cc-nutrient-bars + p + .cc-section-label {
    margin-top: 2.8em;
    padding-top: .2em;
}

@media (max-width: 600px) {
    .cc-nutrient-header { flex-direction: column; align-items: flex-start; gap: .05em; margin-bottom: .2em; }
    .cc-nutrient-amount { font-size: .72em; color: #907060; }
}

/* Macro pills: 3 top row + 2 centered on bottom row */
@media (max-width: 600px) {
    .cc-macros-row {
        display: grid !important;
        grid-template-columns: repeat(6, 1fr);
        gap: .4em;
    }
    .cc-macro-pill                { grid-column: span 2; min-width: 0; padding: .55em .4em; flex: unset; }
    .cc-macro-pill:nth-child(4)   { grid-column: 1 / 3; }
    .cc-macro-pill:nth-child(5)   { grid-column: 3 / 5; }
    .cc-macro-num                 { font-size: 1.2em; }
    .cc-macro-label               { font-size: .63em; letter-spacing: 0; }
}

/* -- Jump to Recipe + Print bar ---------------------------------- */
.cc-jump-print-bar {
    display: flex;
    gap: .75em;
    margin: 1.2em 0 1.5em;
    flex-wrap: wrap;
}
.cc-jump-btn,
.cc-print-btn {
    display: inline-flex;
    align-items: center;
    gap: .4em;
    padding: .55em 1.1em;
    border-radius: 6px;
    font-family: 'Nunito', sans-serif;
    font-size: .88em;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: background .18s, color .18s, border-color .18s;
}
.cc-jump-btn {
    background: #C46B2D;
    color: #fff;
    border: 2px solid #C46B2D;
}
.cc-jump-btn:hover { background: #9A4A18; border-color: #9A4A18; color: #fff; }
.cc-print-btn {
    background: #fff;
    color: #C46B2D;
    border: 2px solid #C46B2D;
    font-family: 'Nunito', sans-serif;
}
.cc-print-btn:hover { background: #FFF0E4; }

/* -- Ingredient Substitutions ------------------------------------ */
.cc-substitutions {
    background: #FFF8F0;
    border: 1px solid #F0D8C0;
    border-radius: 10px;
    padding: 1.1em 1.3em 1em;
    margin: 1.4em 0;
}
.cc-substitutions h2 {
    font-size: 1.05em;
    color: #9A4A18;
    margin: 0 0 .8em;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    letter-spacing: .01em;
}
.cc-sub-list { display: flex; flex-direction: column; gap: .7em; }
.cc-sub-item { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4em .6em; }
.cc-sub-original {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: .9em;
    color: #7a3a10;
    background: #F5DEC4;
    border-radius: 4px;
    padding: .1em .5em;
    white-space: nowrap;
}
.cc-sub-options {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: .3em .5em;
}
.cc-sub-options li {
    font-size: .86em;
    color: #4a3020;
    position: relative;
    padding-left: .9em;
}
.cc-sub-options li::before { content: '→'; position: absolute; left: 0; color: #C46B2D; font-size: .85em; }

/* -- Troubleshooting / FAQ --------------------------------------- */
.cc-faq {
    background: #fff;
    border: 1px solid #E8D5C0;
    border-radius: 10px;
    padding: 1.1em 1.3em 1em;
    margin: 1.4em 0;
}
.cc-faq h2 {
    font-size: 1.05em;
    color: #9A4A18;
    margin: 0 0 .8em;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
}
.cc-faq-item {
    border-bottom: 1px solid #F0D8C0;
    padding: .6em 0;
}
.cc-faq-item:last-child { border-bottom: none; }
.cc-faq-q {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: .92em;
    color: #3a2010;
    cursor: pointer;
    list-style: none;
    padding-right: 1.5em;
    position: relative;
    line-height: 1.4;
}
.cc-faq-q::-webkit-details-marker { display: none; }
.cc-faq-q::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    color: #C46B2D;
    font-size: 1.1em;
    font-weight: 400;
    transition: transform .2s;
}
details[open] .cc-faq-q::after { content: '−'; }
.cc-faq-a {
    font-size: .88em;
    color: #4a3020;
    line-height: 1.65;
    padding: .5em .2em .2em;
}

/* -- Print styles ------------------------------------------------ */
@media print {
    .cc-jump-print-bar,
    .cc-print-btn,
    .site-header,
    .site-footer,
    .navigation,
    .sidebar,
    #sidebar,
    .widget-area,
    .navigation-branding,
    #comments,
    .post-navigation { display: none !important; }

    body, .entry-content { font-size: 11pt; color: #000; background: #fff; }
    .cc-recipe-wrapper { max-width: 100%; padding: 0; box-shadow: none; border: none; }
    .cc-method-panel { display: block !important; }
    .cc-method-panel:not(.active) { display: none !important; }
    .cc-faq-item { page-break-inside: avoid; }
    details.cc-faq-item[open] .cc-faq-a,
    details.cc-faq-item .cc-faq-a { display: block !important; }
    a { color: #000; text-decoration: none; }
    h1, h2, h3 { page-break-after: avoid; }
    ul, ol, li { page-break-inside: avoid; }
}