/* =========================================================
   Illustrations (Sales Cookbook theme)
   ========================================================= */

/* Shared frame so cream illustrations sit well in dark mode too */
.step-icon,
.example-illustration,
.section-illustration {
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    background: #faf6ee;
}

/* ----- How it works: one 3:1 image, cropped to each third ----- */
.step-icon {
    display: block;
    width: 120px;
    height: 120px;
    object-fit: cover;
    margin-bottom: 18px;
}

.step-icon-1 { object-position: 0% 50%; }
.step-icon-2 { object-position: 50% 50%; }
.step-icon-3 { object-position: 100% 50%; }

/* Number sits beside the heading once there's an icon above */
.step-card .step-icon + .step-number {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

/* ----- Example: corkboard recipe card ----- */
.example-illustration {
    display: block;
    width: 100%;
    max-width: 340px;
    height: auto;
    margin: 0 0 22px;
}

.example-copy .panel-label {
    color: var(--brand-dark);
    margin-bottom: 6px;
}

.example-copy strong {
    color: var(--text);
}

/* ----- Section illustrations (time, who it's for) ----- */
.section-illustration {
    display: block;
    width: 100%;
    height: auto;
}

.media-split {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 32px;
    align-items: center;
    margin-bottom: 28px;
}

.media-split .section-header {
    margin-bottom: 0;
}

/* ----- Section intros with more than one paragraph ----- */
.section-header p + p {
    margin-top: 12px;
}

.section-header .hero-actions {
    margin-top: 22px;
}

/* Highlight boxes standing alone under a section (inner pages) */
.container > .example-highlight {
    max-width: 760px;
}

/* Text-only metric values (Once / Daily / Weekly) */
.metric-value {
    white-space: nowrap;
}

@media (max-width: 980px) {
    .media-split {
        grid-template-columns: 1fr;
    }

    .media-split .section-illustration {
        max-width: 420px;
    }
}
