
body {
    font-family: "Inter", Arial, sans-serif;
    background: #ffffff;
    color: #333;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

h1, h2, h3 {
    font-weight: 700;
    margin-bottom: 12px;
    color: #1f1f1f;
}

p { margin-bottom: 16px; }

.meliworld-making section {
    min-height: auto !important;
    padding-top: 24px;
    padding-bottom: 24px;
}
.section {
    max-width: 980px;
    margin: 0 auto;
    padding: 64px 2;
}

.indent-block {
    margin-left: 40px;   /* adjust as needed */
}

.hero {
    text-align: center;
    padding: 20px 24px;
    background: linear-gradient(135deg, #eae6ff, #fde6dd);
}

.hero-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 32px;
}

.hero-sub {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto;
    color: #444;
    padding: 24px 24px;
}

.img-box {
    padding: 8px 12px;   /* MUCH tighter */
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

/*///////////*/
/* Section 2 */

/* === Overview layout === */

.section h2 {
    margin-bottom: 16px;
}

/* Two-column layout: text + UI image */
.section .two-col {
    display: flex;
    align-items: flex-start;
    gap: 40px;              /* space between text and image */
}

/* Left column (text) grows, right column stays compact */
.section .two-col > div:first-child {
    flex: 1 1 0;
}

/* Image container on the right */
.section .img-box {
    flex: 0 0 auto;
    max-width: 520px;       /* 🔑 controls how wide the screenshot can get */
    margin: 0;
    padding: 0;
}

/* Screenshot itself */
.section .img-box img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.workflow-steps {
    font-size: 1.25rem;      /* Increase size */
    font-weight: 600;        /* Slight emphasis */
    letter-spacing: 0.5px;   /* Cleaner spacing */
    text-align: left;        /* Keep aligned with paragraph */
    margin: 20px 0;          /* Good breathing room */
}

.case-section {
    margin-bottom: 1px;
}

.quote-block {
    margin: 20px 0 40px;
}

.multi-row {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 20px;
}

.multi-row .item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 1rem;
}

.multi-row .icon {
    font-size: 1.6rem;
    margin-bottom: 6px;
}

.multi-row .label {
    font-weight: 500;
    color: #333;
}

/* Emotional Mapping Flow */
.emotion-flow {
    font-size: 1.35rem;
    font-weight: 500;
    text-align: center;
    margin: 30px 0 10px 0;
    color: #333;
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    padding: 10px 0;
}

.emotion-flow span {
    display: inline-block;
}

.emotion-flow .arrow {
    opacity: 0.55;
    font-weight: 400;
}


@media (max-width: 900px) {
    .section .two-col {
        flex-direction: column;
    }

    .section .two-col .img-box {
        flex: 0 0 auto;
        max-width: 100%;
        margin-top: 24px;
    }
}

.section .two-col .img-box {
    flex: 0 0 340px;     /* narrower column */
    max-width: 340px;
    margin-left: 30px;   /* adds breathing room from text */
}

.section .two-col .img-box img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}


/*@media(max-width: 900px) {
    .two-col {
        grid-template-columns: 1fr;
    }
}*/

.img-box {
    width: 100%;
    height: 260px;
    background: #f3f3f3;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
    font-size: 18px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    margin-top: 32px;
}

.card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0px 4px 18px rgba(0,0,0,0.06);
    border: 1px solid #eee;
}

.diagram {
    background: #fafafa;
    border-radius: 16px;
    padding: 24px;
    margin: 24px 0;
    text-align: center;
    font-size: 18px;
    border: 1px solid #eee;
}

.diagram span {
    font-weight: 700;
    margin: 0 8px;
    display: inline-block;
}

.icon-row {
    display: flex;
    gap: 24px;
    margin: 24px 0;
    flex-wrap: wrap;
    font-size: 28px;
}

.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 14px;
    color: #444;
}

.pull-quote {
    font-family: "Georgia", serif;
    font-size: 24px;
    font-style: italic;
    text-align: center;
    margin: 40px auto;
    max-width: 780px;
    color: #222;
}
