/* ── CTA — Image + Buttons ───────────────────────────────────── */

.nml-cib {
	padding: 80px 0;
}

.nml-cib__inner {
    background: var(--color-primary);
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    border-radius: 16px;
    overflow: hidden;
    padding: 0 48px;
    border: 2px solid var(--color-primary);
    box-shadow: 0px 2px 4px 0px #4C83F33D;
    position: relative;
    height: 280px;
    display: flex;
}

/* ── Desktop layout ──────────────────────────────────────────── */
.nml-cib__layout {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    padding-bottom: 40px;
}

/* ── Content ─────────────────────────────────────────────────── */
.nml-cib__content {
    flex: 0 0 auto;
    max-width: 730px;
    padding: 0;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

/* ── Heading ─────────────────────────────────────────────────── */
.nml-cib__heading {
	margin: 0;
    color: var(--color-text-white);
    font-size: 48px;
    line-height: 56px;
    font-weight: 700;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.28);
	margin-bottom: 16px;
}

/* Wrap a word in <span> to give it the accent colour. */
.nml-cib__heading span { color: var(--color-text-accent); }

/* ── Text ────────────────────────────────────────────────────── */
.nml-cib__text {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 32px;
}

.nml-cib__text p {
    margin: 0;
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    color: var(--color-text-white);
}

/* ── Buttons ─────────────────────────────────────────────────── */
.nml-cib__btns {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.nml-cib__btn {
	display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    white-space: nowrap;
    border: 1px solid var(--color-line);
    max-height: 40px;
}

/* Optional icon rendered before the button label (Button 1 icon in the block settings). */
.nml-cib__btn-icon {
	width: 20px;
	height: 20px;
	object-fit: contain;
	display: block;
	flex-shrink: 0;
}

.nml-cib__btn--primary {
	background: var(--color-bg);
	color: var(--color-primary);
}

.nml-cib__btn--primary:hover {
	background: #FFFFFFCC;
	color: var(--color-primary-dark);
}

.nml-cib__btn--primary.disabled {
	opacity: 0.4;
}

.nml-cib__btn--secondary {
    background: transparent;
    color: var(--color-text-white);
    border: 1px solid var(--color-bg);
}

.nml-cib__btn--secondary:hover {
	color: var(--color-line);
	border-color: var(--color-line);
}

.nml-cib__btn--secondary:disabled {
	opacity: 0.4;
}


/* ── Mobile ──────────────────────────────────────────────────── */
@media (max-width: 768px) {
	.nml-cib {
		padding: 40px 0;
	}

	.nml-cib__inner {
        border-radius: 12px;
        padding: 0;
        background-size: cover;
        background-position: top center;
        border: 1.5px solid var(--color-primary);
		width: 100%;
	}

	.nml-cib__layout {
		flex-direction: column;
		align-items: stretch;
		min-height: unset;
		gap: 0;
		padding-bottom: 160px;
		width: 100%;
	}

	.nml-cib__content {
		max-width: 100%;
        padding: 32px 20px;
	}

	.nml-cib__heading {
        font-size: 32px;
        line-height: 40px;
	}

	.nml-cib__btns {
		flex-direction: column;
		gap: 8px;
	}

	.nml-cib__btn {
        width: 100%;
        padding: 15px 20px;
        border-radius: 8px;
        min-height: 44px;
	}

	.nml-cib__inner {
		height: auto;
        min-height: 606px;
	}

	.nml-cib__text p {
		font-size: 14px;
		line-height: 20px;
	}

	.nml-cib__text {
		margin-bottom: 24px;
	}
}
