/* Start custom CSS for text-editor, class: .elementor-element-28b22101 *//* ==========================================================================
   ZENFOREST REUSABLE JOURNAL MASTER SHEET (FULL-WIDTH MOBILE UPDATE)
   ========================================================================== */

/* CONTAINER ARCHITECTURE */
.zf-blog-content {
    max-width: 850px;
    margin: 0 auto;
    padding: 20px;
    color: #2f2f2f !important;
    font-size: 18px;
    line-height: 1.9;
}

/* LEADING PARAGRAPH HOOK */
.zf-blog-content > p:first-of-type {
    font-size: 24px;
    line-height: 1.8;
    color: #3d2417 !important;
    font-weight: 400;
}

/* SECTION HEADINGS */
.zf-blog-content h2 {
    font-size: 42px;
    line-height: 1.2;
    margin: 70px 0 25px;
    color: #2d1b12 !important;
    position: relative;
}

.zf-blog-content h2:after {
    content: "";
    width: 60px;
    height: 4px;
    background: #c96b2c;
    display: block;
    margin-top: 12px;
    border-radius: 20px;
}

.zf-blog-content h3 {
    font-size: 28px;
    margin: 45px 0 15px;
    color: #4a2d1d !important;
}

/* ACCENT INLINE LINKS */
.zf-inline-link {
    color: #c96b2c !important;
    text-decoration: underline;
    font-weight: 600;
}
.zf-inline-link:hover {
    color: #2d1b12 !important;
}

/* UNORDERED BULLET SYSTEM */
.zf-blog-content ul {
    margin: 20px 0 30px 25px;
}
.zf-blog-content li {
    margin-bottom: 12px;
    color: #2f2f2f !important;
}

/* COMPARISON TABLES */
.zf-blog-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 40px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.zf-blog-content th {
    background: #2d1b12;
    color: white !important;
    padding: 16px;
    font-weight: 600;
}

.zf-blog-content td {
    padding: 16px;
    border-bottom: 1px solid #ececec;
    color: #2f2f2f !important;
}

.zf-blog-content tr:nth-child(even) {
    background: #faf8f5;
}

/* FACT COMPONENT HOOKS */
.zf-fact-box {
    background: #f8f4ef;
    border-left: 5px solid #c96b2c;
    padding: 25px;
    margin: 40px 0;
    border-radius: 10px;
    font-size: 18px;
    color: #3d2417 !important;
}

/* MIDDLE ARTICLE DEEP LEARNING COMPONENT */
.zf-learn-more {
    background: #faf7f2;
    padding: 30px;
    border-radius: 14px;
    margin: 50px 0;
    text-align: center;
    border: 1px solid #f0eae1;
}
.zf-learn-more h3 {
    margin-top: 0 !important;
    color: #2d1b12 !important;
}
.zf-learn-more p {
    color: #2f2f2f !important;
    margin-bottom: 15px;
}
.zf-learn-more a {
    display: inline-block;
    margin-top: 10px;
    color: #c96b2c !important;
    font-weight: 600;
    text-decoration: none;
}

/* FOOTER CONVERSION CTAs */
.zf-product-cta {
    background: linear-gradient(135deg, #2d1b12, #4b2e20);
    color: #fff !important;
    padding: 40px;
    border-radius: 18px;
    text-align: center;
    margin: 60px 0;
}
.zf-product-cta h3 {
    color: #f5d7a3 !important;
    margin-top: 0 !important;
    font-size: 32px;
}
.zf-product-cta p {
    color: #fff !important;
    opacity: 0.9;
}
.zf-product-cta a {
    display: inline-block;
    margin-top: 15px;
    background: #d89b4a;
    color: #2d1b12 !important;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}
.zf-product-cta a:hover {
    background: #e5ab5b;
    transform: translateY(-2px);
}

/* ==========================================================================
   ENHANCED FULL-WIDTH MOBILE OPTIMIZATIONS
   ========================================================================== */
@media (max-width: 768px) {
    /* Break container containment and make it span full-width */
    .zf-blog-content {
        width: 100% !important;
        max-width: 100% !important;
        padding: 15px 15px; /* Keeps small side gutter spacing for neat readability */
        font-size: 16px;
        line-height: 1.8;
    }

    /* Scaling Typography for Mobile Devices */
    .zf-blog-content > p:first-of-type {
        font-size: 20px;
        line-height: 1.6;
    }

    .zf-blog-content h2 {
        font-size: 28px;
        margin: 40px 0 15px;
    }

    .zf-blog-content h3 {
        font-size: 22px;
        margin: 30px 0 12px;
    }

    /* Box Components Expansion */
    .zf-fact-box {
        padding: 20px 15px;
        margin: 30px 0;
        font-size: 16px;
        border-radius: 8px;
    }

    .zf-learn-more {
        padding: 25px 15px;
        margin: 35px 0;
        border-radius: 10px;
    }

    .zf-product-cta {
        padding: 35px 20px;
        margin: 40px 0;
        border-radius: 12px;
    }

    .zf-product-cta h3 {
        font-size: 26px;
    }

    /* Table Mobile Swiping Fix */
    .zf-blog-content table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 25px 0;
        border-radius: 8px;
    }
    
    .zf-blog-content th, 
    .zf-blog-content td {
        padding: 12px 10px;
        font-size: 15px;
        white-space: nowrap; 
    }
}

/* ==========================================================================
   ZENFOREST COFFEE ACADEMY — MASTER ADDITIONS CSS
   Shared across all 25 academy articles. Append to the existing
   zf-blog-content master stylesheet. Self-contained — no other
   additions file is required for these articles.
   ========================================================================== */

/* ARTICLE IMAGES */
.zf-blog-content img {
    display: block;
    margin: 35px auto;
    max-width: 100%;
    height: auto;
    border-radius: 14px;
}

/* QUICK ANSWER BOX */
.zf-quick-answer {
    background: #fff;
    border: 2px solid #c96b2c;
    border-radius: 14px;
    padding: 28px 30px;
    margin: 35px 0;
}
.zf-quick-answer h2 { font-size: 22px !important; margin: 0 0 12px !important; color: #2d1b12 !important; }
.zf-quick-answer h2:after { display: none; }
.zf-quick-answer p { margin: 0; font-size: 18px; line-height: 1.8; color: #2f2f2f !important; }

/* TABLE OF CONTENTS */
.zf-toc {
    background: #faf7f2;
    border: 1px solid #f0eae1;
    border-radius: 14px;
    padding: 25px 30px;
    margin: 35px 0 50px;
}
.zf-toc-title { font-size: 20px !important; margin: 0 0 15px !important; color: #2d1b12 !important; }
.zf-toc ol { margin: 0; padding-left: 22px; }
.zf-toc li { margin-bottom: 10px; color: #2f2f2f; }
.zf-toc a { color: #4a2d1d !important; text-decoration: none; font-weight: 500; border-bottom: 1px solid transparent; }
.zf-toc a:hover { color: #c96b2c !important; border-bottom-color: #c96b2c; }

/* EXPERT TIP BOX */
.zf-expert-tip {
    background: #f3ede0;
    border-left: 5px solid #2d1b12;
    border-radius: 10px;
    padding: 24px 28px;
    margin: 35px 0;
}
.zf-expert-tip .zf-expert-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #8a6a3a !important;
    margin-bottom: 8px;
}
.zf-expert-tip p { margin: 0; color: #2f2f2f !important; font-size: 17px; line-height: 1.8; }

/* COMMON MISTAKES LIST */
.zf-mistake-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin: 25px 0 40px;
}
.zf-mistake-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #fdf3f0;
    border-radius: 10px;
    padding: 16px 18px;
}
.zf-mistake-item .zf-mistake-x { color: #b94a3a !important; font-weight: 700; font-size: 18px; line-height: 1; }
.zf-mistake-item span.zf-mistake-text { color: #2f2f2f !important; font-size: 16px; }

/* RELATED READING GRID */
.zf-further-reading {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin: 25px 0 45px;
}
.zf-reading-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #faf7f2;
    border: 1px solid #f0eae1;
    border-radius: 10px;
    padding: 18px 22px;
    text-decoration: none;
}
.zf-reading-card:hover { background: #fff; border-color: #c96b2c; }
.zf-reading-title { color: #2d1b12 !important; font-weight: 600; font-size: 16px; }
.zf-reading-arrow { color: #c96b2c !important; font-weight: 700; font-size: 18px; margin-left: 12px; }

/* EXTERNAL / LEARN MORE LINK CARDS (Learn More section) */
.zf-external-card {
    background: #2d1b12 !important;
    border-color: #2d1b12 !important;
}
.zf-external-card .zf-reading-title { color: #f5d7a3 !important; }
.zf-external-card .zf-reading-arrow { color: #f5d7a3 !important; }
.zf-external-card:hover { background: #4b2e20 !important; }

/* PRODUCT RECOMMENDATION (single or grouped) */
.zf-product-recs { margin: 30px 0 50px; display: flex; flex-direction: column; gap: 22px; }
.zf-product-rec-group { background: #faf7f2; border: 1px solid #f0eae1; border-radius: 14px; padding: 26px 28px; }
.zf-product-rec-group h4 { margin: 0 0 16px; color: #2d1b12 !important; font-size: 20px; }
.zf-product-rec-items { display: flex; flex-wrap: wrap; gap: 12px; }
.zf-product-rec-items a {
    background: #fff;
    border: 1px solid #c96b2c;
    color: #c96b2c !important;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
}
.zf-product-rec-items a:hover { background: #c96b2c; color: #fff !important; }

/* COMPARISON / FEATURE CARD GRID (used for body/acidity/sweetness type sections) */
.zf-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 25px 0 40px;
}
.zf-feature-card {
    background: #fff;
    border: 1px solid #f0eae1;
    border-radius: 12px;
    padding: 22px 20px;
    border-top: 5px solid #c96b2c;
}
.zf-feature-card h4 { margin: 0 0 10px; font-size: 19px; color: #2d1b12 !important; }
.zf-feature-card p { margin: 0; color: #5a4a3a !important; font-size: 15px; line-height: 1.6; }

@media (max-width: 768px) {
    .zf-mistake-list, .zf-further-reading, .zf-feature-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .zf-toc { padding: 20px; margin: 25px 0 35px; }
    .zf-product-rec-group { padding: 20px 18px; }
    .zf-quick-answer { padding: 22px 20px; margin: 25px 0; }
    .zf-expert-tip { padding: 18px 20px; }
}/* End custom CSS */