.mbcp-project {
    width: 100%;
    max-width: var(--mbcp-max-width, 1400px);
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
}

.mbcp-project__content {
    width: 100%;
    margin: 0;
    padding: 0;
}

.mbcp-module {
    width: 100%;
    margin: 0;
    padding: 0;
}

.mbcp-module--image {
    display: block;
    line-height: 0;
}

.mbcp-module--image img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
}

.mbcp-module--text {
    box-sizing: border-box;
    padding: clamp(28px, 5vw, 80px) clamp(20px, 6vw, 100px);
    line-height: 1.65;
}

.mbcp-module--text h2,
.mbcp-module--text h3,
.mbcp-module--text h4,
.mbcp-module--text p {
    max-width: 900px;
    margin: 0 auto;
}

.mbcp-module--text h2,
.mbcp-module--text h3,
.mbcp-module--text h4 {
    margin-bottom: 18px;
    line-height: 1.15;
}

.mbcp-module--embed {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
}

.mbcp-module--embed iframe,
.mbcp-module--embed video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.mbcp-project__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px 20px;
    padding: 28px 20px;
    line-height: 1.5;
    text-align: center;
}

.mbcp-project__footer a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border: 1px solid currentColor;
    border-radius: 999px;
    color: inherit;
    text-decoration: none;
}

.mbcp-project__footer span {
    opacity: 0.65;
    font-size: 0.9em;
}

.mbcp-error {
    padding: 12px 16px;
    border-left: 4px solid #d63638;
    background: #fff;
    line-height: 1.5;
}

@media (max-width: 767px) {
    .mbcp-module--text {
        padding: 28px 20px;
    }
}
