/*
 * Case studies, partner pages and the case studies hub (2026-11-21).
 * Loaded on every page by shortcodes/case_studies.php, versioned by file date.
 *
 * Shortcode output:  .cz-summary  .cz-bars  .cz-sticky-cta
 * Elementor classes (Advanced → CSS Classes on a widget or section):
 *   cz-hero           the hero section of a partner or service page
 *   cz-hero-visual    the image column of that hero (hidden on phones)
 *   cz-section-title  a section heading ("What clients say about us")
 *   cz-section-intro  the line under a section heading
 *   cz-steps          a text widget with a numbered list: "How we work in 4 simple steps"
 *   cz-builds         a text widget with a bullet list: "What we build"
 *   cz-learned        a text widget with a numbered list: "What we learned"
 *   cz-sidecta        a text widget under the table of contents: "Want this for your store?"
 *   buttons: the site's own "cta-button bold buy" (green, in style.css) on a link inside a text widget
 * TablePress: Extra CSS classes "best-platforms cz-diy" for the
 * "Do it yourself, or let us build it?" table.
 * Site-wide rules (the green button, .ct-hero, customer reviews, FAQ cards,
 * [post label]) live in style.css, next to the rules they belong to.
 *
 * Values are measured on chatimize.com (20 Nov 2026).
 */

:root {
    --cz-ink: #284251;
    --cz-text: #2c353a;
    --cz-soft: #f7fafd;
    --cz-line: #e8e8ee;
    --cz-blue: #1187ee;
    --cz-head: 'Montserrat', sans-serif;
}

/* a button inside the site's quote box: no quote marks, no italics */
blockquote p.cz-btn-row::before,
blockquote p.cz-btn-row::after {
    content: none;
    display: none;
}
blockquote p.cz-btn-row {
    margin-top: 16px;
}

/* ------------------------------------------------------------------ */
/* Partner / service page: hero                                        */
/* ------------------------------------------------------------------ */

.cz-hero h1,
.cz-hero h1.elementor-heading-title {
    font-family: var(--cz-head);
    font-size: 46px;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -1px;
    color: var(--cz-ink);
}
.cz-hero-kicker p {
    font-family: var(--cz-head);
    font-size: 18px;
    font-weight: 600;
    color: var(--cz-blue);
    margin: 0;
}
.cz-hero .elementor-widget-text-editor p {
    font-size: 17px;
    line-height: 1.6;
    color: var(--cz-text);
}
p.cz-hero-micro,
.cz-hero p.cz-hero-micro {
    font-size: 14px;
    color: #5b6b75;
}

/* ------------------------------------------------------------------ */
/* Section headings (the homepage's "Why You Should Choose Us?" style) */
/* ------------------------------------------------------------------ */

.cz-section-title .elementor-heading-title,
h2.cz-section-title {
    font-family: var(--cz-head);
    font-size: 36px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0;
    color: var(--cz-text);
    text-align: center;
}
.cz-section-intro p {
    font-size: 17px;
    line-height: 1.6;
    color: var(--cz-text);
    text-align: center;
}


/* ------------------------------------------------------------------ */
/* .cz-summary: quick summary on a case study (HTML widget in Elementor)   */
/* ------------------------------------------------------------------ */

.cz-summary {
    background: var(--cz-soft);
    border: 1px solid #e3ebf2;
    border-radius: 18px;
    padding: 20px 22px 18px;
    text-align: left;
}
.cz-summary .cz-summary__title {
    font-family: var(--cz-head);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--cz-ink);
    margin: 0 0 10px;
}
.cz-summary .cz-summary__list {
    display: grid;
    gap: 10px;
    margin: 0;
}
.cz-summary .cz-summary__row {
    display: grid;
    grid-template-columns: 78px 1fr;
    gap: 10px;
}
.cz-summary dt {
    font-family: var(--cz-head);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--cz-ink);
}
.cz-summary dd {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    color: var(--cz-ink);
}
.cz-summary dd ul {
    margin: 0;
    padding-left: 18px;
}
.cz-summary dd li {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
}

/* ------------------------------------------------------------------ */
/* cz-sidecta: "Want this for your store?" under the table of contents */
/* ------------------------------------------------------------------ */

.cz-sidecta .elementor-widget-container,
div.cz-sidecta-box {
    background: #fff;
    border: 2px solid var(--cz-soft);
    border-radius: 20px;
    padding: 18px;
    box-shadow: 0 4px 18px rgba(17, 40, 60, .05);
}
.cz-sidecta p {
    font-size: 13px;
    line-height: 1.5;
    color: #5b6b75;
    margin: 0 0 12px;
}
.cz-sidecta p:first-child {
    font-family: var(--cz-head);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--cz-ink);
    margin-bottom: 6px;
}
.cz-sidecta p:last-child {
    margin-bottom: 0;
}
.cz-sidecta a.cta-button.bold.buy {
    box-sizing: border-box;
    width: 100%;
    text-align: center;
    font-size: 14px !important;
    padding: 12px 14px !important;
}

/* ------------------------------------------------------------------ */
/* cz-learned: "What we learned" (numbered list in a text widget)      */
/* ------------------------------------------------------------------ */

.cz-learned ol {
    list-style: none;
    counter-reset: cz-learned;
    margin: 8px 0 16px;
    padding: 0;
    display: grid;
    gap: 10px;
}
.cz-learned ol li {
    counter-increment: cz-learned;
    position: relative;
    margin: 0;
    font-size: 16px;
    line-height: 1.55;
    background: #fff;
    border: 1px solid #e3ebf2;
    border-radius: 12px;
    padding: 12px 14px 12px 44px;
}
.cz-learned ol li::before {
    content: counter(cz-learned);
    position: absolute;
    left: 16px;
    top: 12px;
    font-family: var(--cz-head);
    font-weight: 800;
    color: var(--cz-blue);
}

/* ------------------------------------------------------------------ */
/* [cz_bars]: results chart                                            */
/* ------------------------------------------------------------------ */

.cz-bars {
    border: 1px solid #e3ebf2;
    border-radius: 18px;
    padding: 22px 22px 14px;
    background: #fff;
    margin: 20px 0;
}
.cz-bars .cz-bars__title {
    font-family: var(--cz-head);
    font-size: 16px;
    font-weight: 700;
    color: var(--cz-ink);
    margin: 0 0 2px;
}
.cz-bars .cz-bars__note {
    font-size: 13px;
    color: #7b8a94;
    margin: 0;
}
.cz-bars .cz-bars__chart {
    display: flex;
    align-items: flex-end;
    gap: 22px;
    height: 220px;
    margin-top: 16px;
    padding: 0 10px;
}
.cz-bars .cz-bars__bar {
    flex: 1;
    display: grid;
    grid-template-rows: auto 1fr auto;
    justify-items: center;
    align-items: end;
    gap: 6px;
    height: 100%;
}
.cz-bars .cz-bars__bar b {
    font-family: var(--cz-head);
    font-size: 18px;
    font-weight: 800;
    color: var(--cz-ink);
}
.cz-bars .cz-bars__bar i {
    display: block;
    width: 100%;
    max-width: 90px;
    border-radius: 8px 8px 0 0;
    background: #cfe6fb;
    align-self: end;
}
.cz-bars .cz-bars__bar.is-last i {
    background: linear-gradient(180deg, #00adf9, var(--cz-blue));
}
.cz-bars .cz-bars__bar span {
    font-size: 13px;
    color: #5b6b75;
    border-top: 1px solid #e3ebf2;
    width: 100%;
    text-align: center;
    padding-top: 6px;
}

/* ------------------------------------------------------------------ */
/* cz-steps: "How we work in 4 simple steps"                           */
/* In the text widget: <ol><li><h3>Free call</h3><p>…</p></li>…</ol>   */
/* ------------------------------------------------------------------ */

.cz-steps ol {
    list-style: none;
    counter-reset: cz-step;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
}
.cz-steps ol::before {
    content: "";
    position: absolute;
    top: 22px;
    left: 12%;
    right: 12%;
    border-top: 2px dashed #b9dafb;
}
.cz-steps ol li {
    counter-increment: cz-step;
    position: relative;
    display: grid;
    gap: 8px;
    justify-items: center;
    text-align: center;
    min-width: 0;
    margin: 0;
}
.cz-steps ol li::before {
    content: counter(cz-step);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--cz-blue);
    color: #fff;
    font-family: var(--cz-head);
    font-size: 18px;
    font-weight: 800;
    display: grid;
    place-items: center;
    box-shadow: 0 0 0 6px #fff;
}
.cz-steps ol li h3 {
    font-family: var(--cz-head);
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--cz-ink);
    margin: 10px 0 0;
    padding: 0;
}
.cz-steps ol li p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--cz-text);
    max-width: 250px;
    margin: 0;
}
.cz-steps ol li {
    align-content: start;
}
/* desktop: number, title and text each on one line across the 4 steps,
   so a title that wraps doesn't push its text lower than the others */
@media (min-width: 1025px) {
    .cz-steps ol {
        grid-template-rows: auto auto 1fr;
        row-gap: 0;
    }
    .cz-steps ol li {
        grid-row: span 3;
        grid-template-rows: subgrid;
        row-gap: 12px;
    }
}

/* ------------------------------------------------------------------ */
/* cz-builds: "What we build"                                          */
/* In the text widget: <ul><li><strong>Title</strong> text</li>…</ul>  */
/* ------------------------------------------------------------------ */

.cz-builds ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.cz-builds ul li {
    min-width: 0;
    margin: 0;
    background: #fff;
    border: 1px solid #e3ebf2;
    border-radius: 14px;
    padding: 22px 24px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--cz-text);
}
.cz-builds ul li strong {
    display: block;
    margin-bottom: 6px !important;
    font-family: var(--cz-head);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--cz-ink);
    margin-bottom: 4px;
}

/* ------------------------------------------------------------------ */
/* cz-indep: "Why platform-independent matters" (service pages)       */
/* ------------------------------------------------------------------ */

/* "Not sure Tidio is the right tool?": class cz-indep on the Text Editor widget */
.cz-indep .elementor-widget-container {
    background: #eaf2f9; /* the design's light blue-grey */
    border-radius: 16px;
    padding: 18px 22px;
}
.cz-row .elementor-widget.cz-indep {
    margin-top: 14px;
}
.cz-indep p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--cz-text);
    margin: 0;
}
.cz-indep p.cz-indep-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}
.cz-indep p.cz-indep-logos span {
    font-family: var(--cz-head);
    font-size: 13px;
    font-weight: 700;
    color: var(--cz-ink);
    background: var(--cz-soft);
    border: 1px solid #e3ebf2;
    border-radius: 999px;
    padding: 5px 12px;
}

/* ------------------------------------------------------------------ */
/* TablePress "best-platforms cz-diy": Do it yourself, or let us build */
/* ------------------------------------------------------------------ */

table.tablepress.best-platforms.cz-diy th.column-1 {
    min-width: 0;
    width: 22%;
}
table.tablepress.best-platforms.cz-diy th.column-2,
table.tablepress.best-platforms.cz-diy th.column-3 {
    min-width: 0;
    width: 39%;
}
table.tablepress.best-platforms.cz-diy td.column-1 {
    font-size: 15px;
}
/* the best-list table makes the 2nd column bold and one line (platform names); here it's an answer */
table.tablepress.best-platforms.cz-diy td.column-2,
table.tablepress.best-platforms.cz-diy td.column-3 {
    white-space: normal !important;
    font-weight: 400 !important;
    font-family: inherit;
    color: #4a4a5e;
    min-width: 0;
}
table.tablepress.best-platforms.cz-diy td.column-1 {
    font-weight: 700 !important;
}
table.tablepress.best-platforms.cz-diy a.cta-button.bold.buy {
    padding: 12px 18px !important;
    font-size: 14px !important;
}


/* ------------------------------------------------------------------ */
/* [cz_sticky_cta]: phones only                                        */
/* ------------------------------------------------------------------ */

.cz-sticky-cta {
    display: none;
}

/* ------------------------------------------------------------------ */
/* Tablet                                                              */
/* ------------------------------------------------------------------ */

@media (max-width: 1024px) {
    .cz-steps ol {
        grid-template-columns: 1fr 1fr;
    }
    .cz-steps ol::before {
        display: none;
    }
    .cz-builds ul {
        grid-template-columns: 1fr 1fr;
    }
    
}

/* ------------------------------------------------------------------ */
/* Phone                                                               */
/* ------------------------------------------------------------------ */

@media (max-width: 767px) {
    .cz-hero h1,
    .cz-hero h1.elementor-heading-title {
        font-size: 38px;
        line-height: 1.08;
        letter-spacing: -.5px;
    }
    .cz-hero-visual {
        display: none !important;
    }
    .cz-hero a.cta-button.bold.buy,
    .cz-hero .elementor-widget-button .elementor-button {
        width: 100%;
    }

    /* section headings: smaller and left-aligned on phones */
    .cz-section-title .elementor-heading-title,
    h2.cz-section-title {
        font-size: 28px;
        text-align: left;
    }
    .cz-section-intro p {
        text-align: left;
    }

    
    
    
    
    
    
    

    .cz-summary {
        padding: 16px 14px;
    }
    .cz-summary .cz-summary__title {
        font-size: 18px;
        margin-bottom: 8px;
    }
    .cz-summary .cz-summary__list {
        gap: 8px;
    }
    .cz-summary .cz-summary__row {
        grid-template-columns: 66px 1fr;
        gap: 8px;
    }
    .cz-summary dt {
        font-size: 13px;
        line-height: 1.45;
    }
    .cz-summary dd,
    .cz-summary dd li {
        font-size: 14px;
        line-height: 1.45;
    }

    /* the table of contents is a bar on phones; the call-to-action box is at the end of the article */
    .cz-sidecta {
        display: none;
    }

    .cz-bars .cz-bars__chart {
        gap: 12px;
        height: 180px;
    }

    /* how we work: a vertical timeline */
    .cz-steps ol {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    .cz-steps ol::before {
        display: block;
        top: 10px;
        bottom: 10px;
        left: 22px;
        right: auto;
        border-top: 0;
        border-left: 2px dashed #b9dafb;
    }
    .cz-steps ol li {
        grid-template-columns: 46px 1fr;
        justify-items: start;
        text-align: left;
        column-gap: 14px;
        row-gap: 2px;
    }
    .cz-steps ol li::before {
        grid-row: span 2;
    }
    .cz-steps ol li h3 {
        font-size: 20px;
        margin-top: 0;
        align-self: end;
    }
    .cz-steps ol li p {
        max-width: none;
    }

    .cz-builds ul {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .cz-builds ul li {
        padding: 14px 16px;
    }

    /* do it yourself table: the row label on its own line, the two answers next to each other */
    table.tablepress.best-platforms.cz-diy,
    table.tablepress.best-platforms.cz-diy thead,
    table.tablepress.best-platforms.cz-diy tbody {
        display: block;
        width: 100%;
        min-width: 0;
    }
    table.tablepress.best-platforms.cz-diy tr {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
    table.tablepress.best-platforms.cz-diy thead th.column-1 {
        display: none;
    }
    table.tablepress.best-platforms.cz-diy th.column-2,
    table.tablepress.best-platforms.cz-diy th.column-3 {
        width: auto;
        font-size: 14px;
        padding: 12px 10px;
    }
    table.tablepress.best-platforms.cz-diy td {
        font-size: 14px;
        padding: 6px 10px 12px;
        border-bottom: 0;
        border-top: 0 !important; /* no line between the row label and its two answers */
    }
    table.tablepress.best-platforms.cz-diy td.column-1 {
        grid-column: 1 / -1;
        font-size: 13px;
        padding: 12px 10px 2px;
        border-top: 1px solid var(--cz-line) !important; /* a line between the rows */
        white-space: normal;
    }
    table.tablepress.best-platforms.cz-diy tbody tr:first-child td.column-1 {
        border-top: 0 !important;
    }
    /* the last row (links) has no label: the line goes on its answers */
    table.tablepress.best-platforms.cz-diy tbody tr:has(> td.column-1:empty) td {
        border-top: 1px solid var(--cz-line) !important;
    }
    table.tablepress.best-platforms.cz-diy td.column-1:empty {
        display: none;
    }
    table.tablepress.best-platforms.cz-diy a.cta-button.bold.buy {
        padding: 11px 12px !important;
        font-size: 13px !important;
    }

    /* hub: filters in one row you swipe through; the faded edge shows there is more */
    
    
    
    
    
    
    
    
    
    
    
    
    

    /* sticky "Book a free call" bar */
    .cz-sticky-cta {
        box-sizing: border-box;
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 999;
        background: rgba(255, 255, 255, .96);
        border-top: 1px solid var(--cz-line);
        padding: 10px 16px calc(12px + env(safe-area-inset-bottom));
        box-shadow: 0 -6px 18px rgba(17, 40, 60, .08);
    }
    .cz-sticky-cta a.cta-button.bold.buy {
        box-sizing: border-box;
        width: 100%;
        text-align: center;
        padding: 14px 18px !important;
    }
    body.cz-has-sticky-cta {
        padding-bottom: 76px;
    }

}

/* ------------------------------------------------------------------ */
/* Rows: cz-row is our own row, separate from the site's row-standard  */
/* (2026-11-25, Joren). Give a section or container the class cz-row,  */
/* without row-standard. Only the row has padding: the container and   */
/* column inside it have none. Add "grey" for a grey row.             */
/* (The !important also beats row-standard's, for the generated pages  */
/* that still have both classes.)                                      */
/* ------------------------------------------------------------------ */

.elementor-element.cz-row {
    padding: 50px 20px 75px !important;
    border-top: 1px solid #e9e9e9;
}
.elementor-element.cz-row.grey {
    background-color: #f7fafd;
    border-bottom: 0;
}
/* old-style section: no padding on the container or the column */
.cz-row > .elementor-container {
    padding-top: 0;
}
/* room between columns side by side: inside the next column, so two 50%
   columns still fit next to each other (a gap made them wrap below ~1040px) */
@media (min-width: 768px) {
    .cz-row > .elementor-container > .elementor-column:not(:first-child) > .elementor-widget-wrap {
        padding-left: 40px !important;
    }
}
.cz-row > .elementor-container > .elementor-column > .elementor-widget-wrap {
    padding: 0 !important;
}
/* container (flexbox): the same, content 1140px wide */
.e-con.cz-row > .e-con-inner {
    max-width: 1140px;
    padding: 0;
}
.cz-row h2.elementor-heading-title {
    padding-top: 0;
}
.elementor-element.cz-row.cz-hero,
.elementor-element.cz-row.cz-bigcta {
    border-top: 0;
}

/* ------------------------------------------------------------------ */
/* Closing call-to-action (dark band, like "Don't Know Where To       */
/* Start From?" on the homepage)                                      */
/* ------------------------------------------------------------------ */

.cz-bigcta {
    background-color: #284251;
}
.cz-bigcta > .elementor-container,
.cz-bigcta.e-con > .e-con-inner {
    align-items: center;
}
.cz-bigcta h2.elementor-heading-title {
    font-family: var(--cz-head);
    font-size: 36px;
    font-weight: 600;
    line-height: 1.25;
    color: #fff;
}
.cz-bigcta .elementor-widget-text-editor p {
    font-size: 17px;
    line-height: 1.6;
    color: #eaf2f9;
}
.cz-bigcta p.cz-joren {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 14px;
    color: #cfdbe5;
}
.cz-bigcta p.cz-joren img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    background: #fff;
}
.cz-oncall .elementor-widget-container {
    background: #fff;
    border-radius: 10px;
    padding: 26px 28px;
}
.cz-bigcta .cz-oncall p {
    margin: 0;
    font-family: var(--cz-head);
    font-size: 17px;
    font-weight: 600;
    color: #284251;
}
.cz-oncall ol {
    margin: 12px 0 0;
    padding-left: 20px;
    font-size: 16px;
    line-height: 1.55;
    color: #2c353a;
}
.cz-oncall li + li {
    margin-top: 8px;
}

@media (max-width: 767px) {
    .elementor-element.cz-row {
        padding: 36px 16px !important;
    }

    .cz-bigcta h2.elementor-heading-title {
        font-size: 28px;
    }
    .cz-bigcta a.cta-button.bold.buy {
        box-sizing: border-box;
        width: 100%;
        text-align: center;
    }
    .cz-oncall .elementor-widget-container {
        padding: 22px 20px;
    }
}

/* ------------------------------------------------------------------ */
/* Spacing between widgets (2026-11-24, Joren: "way too much padding"). */
/* Elementor puts 20px under every widget and the paragraphs add their  */
/* own margin on top. The homepage sets widget spacing to 0, so these   */
/* rows do the same and set each gap here.                              */
/* ------------------------------------------------------------------ */

.cz-row .elementor-widget:not(:last-child) {
    margin-bottom: 14px;
}
.cz-row .elementor-widget-text-editor p:last-child,
.cz-row .elementor-widget-text-editor ul:last-child,
.cz-row .elementor-widget-text-editor ol:last-child {
    margin-bottom: 0;
}
/* hero: rating, kicker, title, text, button, small print */
.cz-hero .elementor-widget-shortcode:not(:last-child) {
    margin-bottom: 18px;
}
.cz-hero .cz-hero-kicker:not(:last-child) {
    margin-bottom: 4px;
}
.cz-hero .elementor-widget-heading:not(.cz-hero-kicker):not(:last-child) {
    margin-bottom: 16px;
}
.cz-hero .elementor-widget-text-editor:not(:last-child) {
    margin-bottom: 20px;
}
.cz-hero .elementor-widget:has(+ .elementor-widget p.cz-hero-micro) {
    margin-bottom: 10px;
}
/* section title, then its intro line, then the content */
.cz-row .cz-section-title:not(:last-child) {
    margin-bottom: 10px;
}
.cz-row .cz-section-intro:not(:last-child) {
    margin-bottom: 36px;
}
.cz-row .elementor-widget-heading.cz-section-title:not(:has(+ .cz-section-intro)) {
    margin-bottom: 40px;
}
/* FAQ: question close to its answer, room before the next question */
.cz-row:not(.cz-hero):not(.cz-bigcta) .elementor-widget-heading:not(.cz-section-title):not(:last-child) {
    margin-bottom: 6px;
}
.cz-row:not(.cz-hero):not(.cz-bigcta) .elementor-widget-heading:not(.cz-section-title) + .elementor-widget-text-editor:not(:last-child) {
    margin-bottom: 20px;
}
/* closing call to action */
.cz-bigcta .elementor-widget-heading:not(:last-child) {
    margin-bottom: 10px;
}
.cz-bigcta .elementor-widget-text-editor:not(:last-child) {
    margin-bottom: 20px;
}

/* FAQ: each question is the blog's FAQ card (.schema-faq-section in style.css),
   with the blog's 30px between cards. */
.cz-row .elementor-widget:has(.schema-faq-section):not(:last-child) {
    margin-bottom: 0;
}
.cz-row .elementor-widget:last-child .schema-faq-section {
    margin-bottom: 0;
}
.cz-row .schema-faq-section h3.schema-faq-question {
    font-family: var(--cz-head);
    color: var(--cz-ink);
    line-height: 1.3;
}

/* The kicker sits right on top of the title, also in a copy of the homepage hero. */
.elementor-widget.cz-hero-kicker {
    margin-bottom: 4px;
}

/* on phones the hero button is full width, like the homepage's buttons */
@media (max-width: 767px) {
    .cz-hero a.cta-button.bold.buy {
        box-sizing: border-box;
        text-align: center;
    }
}

/* ------------------------------------------------------------------ */
/* FAQ with the class on the Text Editor widget itself (2026-11-24):   */
/* class "schema-faq-section" on the widget, then plain <h3> and <p>.  */
/* The card (shadow, padding, 30px under it) comes from style.css;     */
/* this gives the plain h3 the blog's question style.                  */
/* ------------------------------------------------------------------ */


/* ------------------------------------------------------------------ */
/* Case study cards: the theme's [post] shortcode with class           */
/* "case-study", e.g. [post id="36049,36100" class="case-study"].      */
/* Two per row on desktop, one per row on phones. Without a featured   */
/* image the card shows a blue gradient instead.                       */
/* ------------------------------------------------------------------ */

.related-post-list:has(> .case-study) {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.related-post-container.case-study:not(.related-post-list > *) {
    max-width: calc(50% - 8px);
}
.related-post-container.case-study article.related-post {
    margin: 0;
    background: #fff;
    border-radius: 18px;
    padding: 8px;
    box-shadow: 0 6px 24px rgba(17, 40, 60, .09);
}
.related-post-container.case-study article.related-post a {
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 6px;
    align-items: center;
    height: 100%;
    text-decoration: none;
}
.related-post-container.case-study article.related-post img,
.related-post-container.case-study article.related-post a:not(:has(img))::before {
    width: 100%;
    height: 100%;
    min-height: 118px;
    object-fit: cover;
    border-radius: 12px;
}
.related-post-container.case-study article.related-post a:not(:has(img))::before {
    content: '';
    display: block;
    background: linear-gradient(135deg, #1187ee, #00c2f9);
}
.related-post-container.case-study article.related-post h3.post-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    color: #111;
    padding: 10px 14px;
}
@media (max-width: 767px) {
    .related-post-list:has(> .case-study) {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .related-post-container.case-study:not(.related-post-list > *) {
        max-width: none;
    }
    .related-post-container.case-study article.related-post {
        padding: 6px;
        border-radius: 14px;
    }
    .related-post-container.case-study article.related-post a {
        grid-template-columns: 96px 1fr;
    }
    .related-post-container.case-study article.related-post img,
    .related-post-container.case-study article.related-post a:not(:has(img))::before {
        width: 100%;
        min-height: 86px;
        border-radius: 10px;
    }
    .related-post-container.case-study article.related-post h3.post-title {
        font-size: 15px;
        padding: 6px 10px;
    }
}


/* ------------------------------------------------------------------ */
/* 2026-11-25 (Joren): less room under the hero's small print, no      */
/* white strip under the do-it-yourself table.                         */
/* ------------------------------------------------------------------ */

p.cz-hero-micro,
body .ct-hero p.cz-hero-micro {
    margin-bottom: 0;
}
.cz-row table.tablepress.cz-diy {
    margin-bottom: 0;
}
/* the last FAQ card: the row's padding is the room under it, not the card's 30px */
.cz-row .elementor-widget.schema-faq-section:last-child {
    margin-bottom: 0;
}

/* ------------------------------------------------------------------ */
/* 2026-11-25 (Joren), round 2                                         */
/* ------------------------------------------------------------------ */

/* the kicker sits right on top of the title */
.cz-hero-kicker p,
body .ct-hero .cz-hero-kicker p {
    margin-bottom: 0;
}

/* "See case studies ↓" next to the green button (the design's ghost link):
   <p class="cz-hero-ctas"><a class="cta-button bold buy" href="…">Book a free call</a>
   <a class="cz-hero-more" href="#case-studies">See case studies ↓</a></p>
   Phones: the link goes under the button, centred. */
p.cz-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 26px;
}
a.cz-hero-more {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #284251;
    text-decoration: none;
}
a.cz-hero-more:hover {
    color: #1187ee;
}
@media (max-width: 767px) {
    p.cz-hero-ctas {
        flex-direction: column;
        align-items: stretch;
    }
    a.cz-hero-more {
        text-align: center;
        padding: 4px 0;
    }
}
/* the link scrolls the cards into view with some room above them */
#case-studies {
    scroll-margin-top: 100px;
}


/* The section that holds [cz_sticky_cta] takes no room: on phones the bar
   is fixed to the bottom of the screen, elsewhere it's hidden. */
.elementor-element:has(.cz-sticky-cta),
.elementor-widget-wrap:has(.cz-sticky-cta),
.elementor-widget-container:has(.cz-sticky-cta),
.elementor-container:has(.cz-sticky-cta),
.e-con-inner:has(.cz-sticky-cta) {
    padding: 0 !important;
    margin: 0 !important;
    min-height: 0 !important;
    border: 0 !important;
}
.cz-sticky-holder {
    display: none !important;
}

/* Do it yourself table on phones: the same room above the label, between
   the label and its answers, and under the answers; one left edge. */
@media (max-width: 767px) {
    table.tablepress.best-platforms.cz-diy td.column-1 {
        padding: 14px 14px 2px !important;
    }
    table.tablepress.best-platforms.cz-diy td.column-2,
    table.tablepress.best-platforms.cz-diy td.column-3 {
        padding: 6px 14px 14px !important;
    }
    /* last row: both cells as tall as the row (same background, one line on top),
       the link and the button centred in them */
    table.tablepress.best-platforms.cz-diy tbody tr:has(> td.column-1:empty) td {
        display: flex;
        align-items: center;
        padding: 14px !important;
    }
    table.tablepress.best-platforms.cz-diy tbody tr:has(> td.column-1:empty) td.column-1 {
        display: none;
    }
}
table.tablepress.best-platforms.cz-diy tbody tr:has(> td.column-1:empty) td {
    vertical-align: middle;
}

@media (max-width: 767px) {
    /* the chat button (Chatbase) above the sticky "Book a free call" bar,
       only on pages that have that bar */
    body.cz-has-sticky-cta #chatbase-bubble-button {
        bottom: 88px !important;
    }
    body.cz-has-sticky-cta #chatbase-message-bubbles {
        bottom: 157px !important;
    }
}

/* Case study: the title and the line under it centred, like the best-lists
   (there it's the title widget's own Elementor alignment setting). */
.cz-case-study .whatsapp-tutorial-header,
.cz-case-study .whatsapp-tutorial-header + .elementor-widget-text-editor {
    text-align: center;
}

/* Tablet and phone: Elementor puts the columns of a row under each other;
   keep room between them (e.g. the dark call-to-action and its white box). */
@media (max-width: 1024px) {
    .cz-row > .elementor-container {
        row-gap: 28px;
    }
}

/* ------------------------------------------------------------------ */
/* Case studies hub (2026-11-25): [case_study_hub] in case_studies.php */
/* prints the filters and a card per case study. Clicking a filter     */
/* filters at once (case-studies.js). The card shows the featured      */
/* image if there is one, with the result on it; otherwise the result  */
/* sits above the title.                                               */
/* ------------------------------------------------------------------ */

.cz-hub-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0 0 28px;
}
.cz-hub-filters button {
    border: 1px solid #dfe6eb;
    border-radius: 999px;
    padding: 7px 14px;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    color: #284251;
    background: #fff;
    cursor: pointer;
    white-space: nowrap;
}
.cz-hub-filters button:hover {
    border-color: #284251;
}
.cz-hub-filters button.on {
    background: #284251;
    border-color: #284251;
    color: #fff;
}
.cz-hub-filters .sep {
    align-self: center;
    width: 1px;
    height: 18px;
    margin: 0 4px;
    background: #dfe6eb;
}
.cz-hub-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
a.cz-vcard {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #dfe6eb;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: #284251;
    transition: box-shadow .2s, transform .2s;
}
a.cz-vcard:hover {
    box-shadow: 0 10px 28px rgba(17, 40, 60, .12);
    transform: translateY(-2px);
}
a.cz-vcard[hidden] {
    display: none;
}
.cz-vthumb {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f7fafd;
}
.cz-vthumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cz-vres {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 800;
    color: #284251;
}
.cz-vthumb .cz-vres {
    position: absolute;
    left: 12px;
    bottom: 12px;
    background: #fff;
    border-radius: 8px;
    padding: 4px 9px;
}
.cz-vbody > .cz-vres {
    color: #1187ee;
}
.cz-vbody {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    padding: 18px 20px;
}
.cz-vtags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.cz-vtags span {
    border-radius: 999px;
    padding: 3px 10px;
    background: #eaf2f9;
    font-size: 12.5px;
    font-weight: 600;
    color: #284251;
}
.cz-vtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    color: #284251;
}
.cz-vfrom {
    margin-top: auto;
    padding-top: 6px;
    font-size: 13px;
    color: #7b8a94;
}

@media (max-width: 1024px) {
    .cz-hub-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 767px) {
    /* filters: one row you swipe through */
    .cz-hub-filters {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        margin: 0 -16px 20px;
        padding: 2px 16px 6px;
        scrollbar-width: none;
    }
    .cz-hub-filters::-webkit-scrollbar {
        display: none;
    }
    .cz-hub-filters button {
        flex: none;
        padding: 8px 14px;
    }
    .cz-hub-filters .sep {
        display: none;
    }
    /* cards: one per row, image left */
    .cz-hub-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    a.cz-vcard:has(.cz-vthumb) {
        display: grid;
        grid-template-columns: 110px minmax(0, 1fr);
    }
    .cz-vthumb {
        aspect-ratio: auto;
        min-height: 100%;
    }
    .cz-vthumb .cz-vres {
        left: 6px;
        bottom: 6px;
        font-size: 11px;
        padding: 2px 6px;
    }
    .cz-vbody {
        padding: 10px 12px;
        gap: 5px;
    }
    .cz-vtags span {
        font-size: 11.5px;
        padding: 2px 8px;
    }
    .cz-vtitle {
        font-size: 15px;
    }
    .cz-vfrom {
        display: none;
    }
}

/* cz-row small: a row with less room on top (e.g. under the header) */
.elementor-element.cz-row.small {
    padding-top: 25px !important;
}
