/* ==========================================================================
   Code of Business Ethics and Conduct
   Mirrors the Zazz "Code of Business Ethics and Conduct" layout 1:1.
   Every length/colour below is taken from the source page's computed styles,
   so keep them literal rather than rounding to "nicer" numbers.
   ========================================================================== */

.zcbe {
    font-family: "Poppins", sans-serif;
    background: #fff;
}

/* Elementor's boxed containers cap their inner at 1440px and centre it. */
.zcbe .zcbe-inner {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

/* ==========================================================================
   HERO
   ========================================================================== */

.zcbe .zcbe-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    min-height: 500px;
    padding: 80px 65px;
    background-color: #04062d;
    background-image: url("https://www.zazz.io/wp-content/uploads/2025/05/05f93c8d616ec794902c2f6e058ae7ed4cfe6b0c.png");
    background-position: center right;
    background-repeat: no-repeat;
    background-size: cover;
}

.zcbe .zcbe-hero > * {
    position: relative;
    z-index: 1;
}

/* Breadcrumb */
.zcbe .zcbe-crumb {
    margin: 0 0 90px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
}

.zcbe .zcbe-crumb li {
    display: inline-flex;
    align-items: center;
    margin-inline: 5.5px;
}

.zcbe .zcbe-crumb li:first-child { margin-inline-start: 0; }

.zcbe .zcbe-crumb a,
.zcbe .zcbe-crumb span.zcbe-crumb-text {
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
    color: #fff;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: color .3s;
}

.zcbe .zcbe-crumb a:hover { color: #dadada; }

.zcbe .zcbe-crumb .zcbe-dot {
    display: inline-flex;
    padding-inline-end: 4px;
}

.zcbe .zcbe-crumb .zcbe-dot svg {
    width: 7px;
    height: 7px;
    margin-inline-end: 1.75px;
    fill: #fff;
    transition: fill .3s;
}

.zcbe .zcbe-crumb .zcbe-crumb-label { padding-inline-start: 5px; }

/* Headline. The source caps this at 640px, which fits its two-line headline;
   "AppStudio" is longer than "Zazz", so widen just enough to keep two lines. */
.zcbe .zcbe-hero h1 {
    width: 100%;
    max-width: 760px;
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    font-size: 64px;
    font-weight: 600;
    line-height: 65px;
    letter-spacing: normal;
    color: #fff;
}

.zcbe .zcbe-sub {
    margin: 0 0 38.4px;
    font-family: "Poppins", sans-serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 32px;
    color: #fff;
}

/* ==========================================================================
   BODY — copy column + portrait
   ========================================================================== */

.zcbe .zcbe-body {
    background-color: #fff;
    padding: 0 15px;
}

.zcbe .zcbe-body .zcbe-inner {
    display: flex;
    flex-direction: row;
    gap: 20px;
    padding: 100px 0;
}

.zcbe .zcbe-copy {
    width: 70%;
    flex-grow: 0;
    flex-shrink: 0;
    padding: 0 25px 0 0;
}

.zcbe .zcbe-copy p {
    font-family: "Poppins", sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 28px;
    color: #000;
    margin: 0 0 1rem;
}

/* The three specialised paragraphs need to outrank the generic rule above. */
.zcbe .zcbe-copy p.zcbe-lead {
    margin: 0 0 58px;
    font-size: 24px;
    font-weight: 500;
    line-height: 28px;
    text-transform: uppercase;
    color: #121212;
}

.zcbe .zcbe-copy p.zcbe-name {
    margin: 20px 0 0;
    font-size: 20px;
    font-weight: 500;
    line-height: 33px;
    color: #000;
}

.zcbe .zcbe-copy p.zcbe-role {
    margin: 1px 0 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 26.4px;
    color: #000;
}

.zcbe .zcbe-copy a {
    color: #046bd2;
    text-decoration: none;
}

.zcbe .zcbe-portrait {
    display: flex;
    align-items: flex-start;
    max-width: 41%;
}

.zcbe .zcbe-portrait img {
    width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   NEWSLETTER BAND
   ========================================================================== */

.zcbe .zcbe-news {
    display: flex;
    min-height: 380px;
    padding: 0 100px;
    background-image: url("https://www.zazz.io/wp-content/uploads/2025/05/Frame-6-1.png");
    background-position: center right;
    background-repeat: no-repeat;
    background-size: cover;
}

.zcbe .zcbe-news .zcbe-inner {
    display: flex;
    flex-direction: row;
    gap: 0;
    padding: 60px 0;
}

.zcbe .zcbe-news-copy {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 32px;
}

.zcbe .zcbe-news-spacer {
    flex: 0 1 350px;
}

.zcbe .zcbe-news-text p {
    margin: 0;
    font-family: "Poppins", sans-serif;
    font-size: 32px;
    font-weight: 500;
    line-height: 32px;
    color: #fff;
}

.zcbe .zcbe-news-text .hl { color: #07e5fa; }

.zcbe .zcbe-news-btn {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 24px;
    padding: 13px 35px;
    background-color: #fff;
    color: #000;
    fill: #000;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.15;
    border: none;
    border-radius: 0;
    text-decoration: none;
    transition: background-color .3s, color .3s;
}

.zcbe .zcbe-news-btn:hover {
    background-color: #f2f2f2;
    color: #000;
}

.zcbe .zcbe-news-btn svg { flex: none; }

/* ==========================================================================
   RESPONSIVE — breakpoints copied from the source page
   ========================================================================== */

@media (min-width: 2400px) {
    .zcbe .zcbe-hero h1 { font-size: 56px; }
}

@media (max-width: 1366px) {
    .zcbe .zcbe-body { padding: 0 20px; }
}

@media (max-width: 1200px) {
    .zcbe .zcbe-body { padding: 0 20px; }
    .zcbe .zcbe-body .zcbe-inner { padding: 50px 0; }
    .zcbe .zcbe-copy { padding: 0; }
    .zcbe .zcbe-news {
        padding: 0 3px 0 30px;
        background-position: center center;
    }
}

@media (max-width: 1024px) {
    .zcbe .zcbe-hero h1 { font-size: 36px; }
    .zcbe .zcbe-copy p.zcbe-name { font-size: 14px; }
    .zcbe .zcbe-copy p.zcbe-role { font-size: 14px; }
    .zcbe .zcbe-news { background-position: center center; }
}

@media (max-width: 880px) {
    .zcbe .zcbe-hero h1 { font-size: 41px; }
}

@media (max-width: 767px) {
    .zcbe .zcbe-hero { padding: 40px 30px; }
    .zcbe .zcbe-crumb { margin: 0; }
    .zcbe .zcbe-crumb a,
    .zcbe .zcbe-crumb span.zcbe-crumb-text { font-size: 14px; }
    .zcbe .zcbe-hero h1 { font-size: 31px; line-height: 1.3em; }
    .zcbe .zcbe-sub { font-size: 18px; line-height: 1.3em; }

    .zcbe .zcbe-body .zcbe-inner { flex-direction: column-reverse; }
    .zcbe .zcbe-copy { width: 100%; }
    .zcbe .zcbe-portrait { max-width: 100%; }
    .zcbe .zcbe-copy p.zcbe-lead { font-size: 18px; margin-bottom: 32px; }
    .zcbe .zcbe-copy p { font-size: 16px; line-height: 1.4em; }

    .zcbe .zcbe-news { padding: 50px 20px; }
    .zcbe .zcbe-news .zcbe-inner { padding: 0; }
    .zcbe .zcbe-news-spacer { display: none; }
    .zcbe .zcbe-news-text p { text-align: center; font-size: 20px; line-height: 1.5em; }
    .zcbe .zcbe-news-btn { align-self: center; }
}
