@charset "UTF-8";
/*
 * BMT Code Pages: 상속·증여 컨설팅 code page (page 9172).
 * Breakpoints match the public page: desktop >= 1025px, tablet 768-1024px, mobile <= 767px.
 * Every value is written out here so the page does not depend on site-wide kit or page-builder CSS.
 */

/* ---------- Page wrapper (applies to the draft and to page 9172 alike) ---------- */

body.bmt-cp-page #page.grid-container {
	max-width: 100%;
	padding: 0;
}

body.bmt-cp-page #content {
	display: block;
	padding: 0;
	margin: 0;
}

@media (max-width: 767px) {
	body.bmt-cp-page #page.grid-container {
		margin: 0 auto;
	}
}

/* ---------- Base ---------- */

.bmt-cp-inheritance-gift-tax-expert *,
.bmt-cp-inheritance-gift-tax-expert ::before,
.bmt-cp-inheritance-gift-tax-expert ::after {
	box-sizing: border-box;
}

.bmt-cp-inheritance-gift-tax-expert a {
	box-shadow: none;
	text-decoration: none;
}

.bmt-cp-inheritance-gift-tax-expert img {
	border: none;
	border-radius: 0;
	box-shadow: none;
	height: auto;
	max-width: 100%;
}

#bmt-code-page {
	color: #222222;
	font-family: Pretendard, sans-serif;
	font-size: 22px;
	font-weight: 500;
	line-height: 39.6px;
	letter-spacing: -0.088px;
}

/* Font lists as computed on the public page: titles and buttons use the page list, inner text the site list. */
#bmt-code-page .bmt-cp-t,
#bmt-code-page .bmt-cp-btn {
	font-family: "pretendard", "Noto Sans KR";
}

#bmt-code-page .bmt-cp-t *,
#bmt-code-page .bmt-cp-btn * {
	font-family: Pretendard, sans-serif;
}

#bmt-code-page .bmt-cp-t {
	margin: 0;
	padding: 0;
	line-height: 1;
}

#bmt-code-page .bmt-cp-t b {
	font-weight: 700;
}

#bmt-code-page .bmt-cp-gold {
	color: #BB8716;
}

#bmt-code-page br.bmt-cp-br-mo {
	display: none;
}

/* Line breaks the public page shows only on desktop and tablet (desktop-br) or only on mobile (mobile-br). */
@media (min-width: 768px) {
	#bmt-code-page br.bmt-cp-br-m {
		display: none;
	}

	#bmt-code-page br.bmt-cp-br-d {
		display: inline;
	}
}

@media (max-width: 767px) {
	#bmt-code-page br.bmt-cp-br-d {
		display: none;
	}

	#bmt-code-page br.bmt-cp-br-m {
		display: inline;
	}
}

/* Layout primitives: a section with a centred inner column, a full box, and a content item. */

#bmt-code-page .bmt-cp-sec {
	display: flex;
	flex: 0 1 auto;
	flex-direction: column;
	min-width: 0;
	position: relative;
	width: 100%;
}

#bmt-code-page .bmt-cp-in {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	height: 100%;
	margin: 0 auto;
	max-width: min(100%, 1140px);
	width: 100%;
}

#bmt-code-page .bmt-cp-box {
	display: flex;
	flex: 0 1 auto;
	flex-direction: column;
	min-width: 0;
	position: relative;
	width: 100%;
}

#bmt-code-page .bmt-cp-w {
	flex: 0 1 auto;
	max-width: 100%;
	min-width: 0;
	position: relative;
}

#bmt-code-page .bmt-cp-sc {
	width: 100%;
}

/* ---------- Hero ---------- */

#bmt-code-page .bmt-cp-hero {
	margin-top: -150px;
	min-height: 80vh;
	overflow: hidden;
}

#bmt-code-page .bmt-cp-hero > .bmt-cp-in {
	align-items: center;
	gap: 20px;
	justify-content: center;
	max-width: min(100%, 1400px);
	padding: 120px 0 0;
}

#bmt-code-page .bmt-cp-hero__slides {
	inset: 0;
	overflow: hidden;
	position: absolute;
	z-index: 0;
}

#bmt-code-page .bmt-cp-hero__slides::before {
	background-image: linear-gradient(339deg, #000000A6 0%, #0000009E 100%);
	content: "";
	inset: 0;
	opacity: 0.92;
	position: absolute;
	z-index: 2;
}

#bmt-code-page .bmt-cp-hero__slide {
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	inset: 0;
	opacity: 0;
	position: absolute;
	transform-origin: 50% 50%;
}

/*
 * Slideshow without JS: 2 slides, 5s each, 500ms fade, loop of 10s, Ken Burns zoom-in.
 * The public slideshow scales the active slide from 1 to 1.3 over 20s (linear) and hands over
 * after 5s, so each slide reaches about 1.075 at hand-over and 1.0825 when its fade ends.
 * With animations off only slide 1 shows, at scale 1.
 */
#bmt-code-page .bmt-cp-hero__slide--1 {
	animation: bmt-cp-hero-first 10s linear infinite;
	background-image: url("https://bigmindtax.com/wp-content/uploads/2026/03/inheritance-hero-1.jpg");
	opacity: 1;
}

#bmt-code-page .bmt-cp-hero__slide--2 {
	animation: bmt-cp-hero-next 10s linear 5s infinite;
	background-image: url("https://bigmindtax.com/wp-content/uploads/2026/03/inheritance-hero-2.jpg");
}

@keyframes bmt-cp-hero-first {
	0% {
		opacity: 1;
		transform: scale(1);
	}

	50% {
		opacity: 1;
		transform: scale(1.075);
	}

	55% {
		opacity: 0;
		transform: scale(1.0825);
	}

	55.001% {
		opacity: 0;
		transform: scale(1);
	}

	99.999% {
		opacity: 0;
		transform: scale(1);
	}

	100% {
		opacity: 1;
		transform: scale(1);
	}
}

@keyframes bmt-cp-hero-next {
	0% {
		opacity: 0;
		transform: scale(1);
	}

	5% {
		opacity: 1;
		transform: scale(1.0075);
	}

	50% {
		opacity: 1;
		transform: scale(1.075);
	}

	55% {
		opacity: 0;
		transform: scale(1.0825);
	}

	55.001% {
		opacity: 0;
		transform: scale(1);
	}

	100% {
		opacity: 0;
		transform: scale(1);
	}
}

#bmt-code-page .bmt-cp-hero__title {
	align-self: center;
	padding: 0 0 10px;
	text-align: center;
	width: 100%;
}

#bmt-code-page .bmt-cp-hero__title .bmt-cp-t {
	color: #FFFFFF;
	font-size: 48px;
	font-weight: 800;
	letter-spacing: -0.088px;
	line-height: 69px;
}

#bmt-code-page .bmt-cp-hero__lead {
	padding: 10px 0 50px;
	text-align: center;
}

#bmt-code-page .bmt-cp-hero__lead .bmt-cp-t {
	color: #DBDBDB;
	font-size: 20px;
	font-weight: 600;
	letter-spacing: -0.2px;
	line-height: 34px;
}

#bmt-code-page .bmt-cp-hero__down {
	padding: 20px 0 0;
}

#bmt-code-page .bmt-cp-hero__down-wrap {
	text-align: center;
}

#bmt-code-page .bmt-cp-hero__down-link {
	color: #CCCCCCB0;
	display: inline-block;
	font-size: 40px;
	font-weight: 600;
	letter-spacing: -0.5px;
	line-height: 10px;
	text-align: center;
}

#bmt-code-page .bmt-cp-hero__down-link svg {
	display: block;
	fill: #CCCCCCB0;
	height: 40px;
	position: relative;
	width: 1em;
}

/* ---------- Section headings of the two process sections ---------- */

#bmt-code-page .bmt-cp-stitle {
	padding: 15px 30px;
	text-align: center;
}

#bmt-code-page .bmt-cp-stitle .bmt-cp-t {
	color: #222222;
	font-size: 40px;
	font-weight: 700;
	letter-spacing: -0.5px;
	line-height: 34px;
}

#bmt-code-page .bmt-cp-ssub {
	padding: 20px 0 60px;
	text-align: center;
}

#bmt-code-page .bmt-cp-ssub .bmt-cp-t {
	color: #222222;
	font-size: 25px;
	font-weight: 500;
	letter-spacing: -0.5px;
	line-height: 32px;
}

/* ---------- Process sections (inheritance tax, gift tax) ---------- */

#bmt-code-page .bmt-cp-process {
	background-color: #FFFFFF;
}

#bmt-code-page .bmt-cp-process > .bmt-cp-in {
	align-items: center;
	gap: 0;
	justify-content: center;
	max-width: min(100%, 1400px);
	padding: 120px 0;
}

#bmt-code-page .bmt-cp-steps {
	align-self: center;
}

#bmt-code-page .bmt-cp-steps > .bmt-cp-in {
	align-items: center;
	flex-direction: row;
	flex-wrap: nowrap;
	gap: 15px;
	max-width: min(100%, 1600px);
	padding: 20px 0;
}

#bmt-code-page .bmt-cp-card {
	align-items: center;
	border-radius: 20px;
	box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.08);
	gap: 30px;
	justify-content: flex-start;
	min-height: 190px;
	padding: 30px 0;
}

#bmt-code-page .bmt-cp-card--bg {
	background-color: #FFFFFF;
}

#bmt-code-page .bmt-cp-step {
	width: 23%;
}

#bmt-code-page .bmt-cp-step--last {
	width: 25%;
}

#bmt-code-page .bmt-cp-num,
#bmt-code-page .bmt-cp-label {
	text-align: center;
}

#bmt-code-page .bmt-cp-num .bmt-cp-t {
	color: #BB8717;
	font-size: 50px;
	font-weight: 800;
	letter-spacing: -0.2px;
	line-height: 34px;
}

#bmt-code-page .bmt-cp-label .bmt-cp-t {
	color: #222222;
	font-size: 20px;
	font-weight: 400;
	letter-spacing: -0.2px;
	line-height: 28px;
}

#bmt-code-page .bmt-cp-note {
	font-size: 16px;
}

#bmt-code-page .bmt-cp-arrow__wrap {
	font-size: 22px;
	line-height: 39.6px;
	text-align: center;
}

#bmt-code-page .bmt-cp-arrow__icon {
	background-color: #BB8717;
	border-radius: 50%;
	color: #FFFFFF;
	display: inline-block;
	fill: #FFFFFF;
	font-size: 20px;
	line-height: 1;
	padding: 10px;
	text-align: center;
}

#bmt-code-page .bmt-cp-arrow__icon svg {
	display: block;
	fill: #FFFFFF;
	height: 20px;
	position: relative;
	width: 1em;
}

/* ---------- Benefits ---------- */

#bmt-code-page .bmt-cp-benefits {
	background-color: #FAFAFA;
}

#bmt-code-page .bmt-cp-benefits > .bmt-cp-in {
	align-items: center;
	gap: 0;
	justify-content: center;
	max-width: min(100%, 1400px);
	padding: 150px 0;
}

#bmt-code-page .bmt-cp-btitle {
	margin: 0 0 60px;
	padding: 15px 30px;
	text-align: center;
}

#bmt-code-page .bmt-cp-btitle .bmt-cp-t,
#bmt-code-page .bmt-cp-posts__title .bmt-cp-t {
	color: #222222;
	font-size: 40px;
	font-weight: 700;
	letter-spacing: 0.3px;
	line-height: 55px;
}

#bmt-code-page .bmt-cp-bgrid {
	align-self: center;
}

#bmt-code-page .bmt-cp-bgrid > .bmt-cp-in {
	align-items: center;
	flex-direction: row;
	flex-wrap: nowrap;
	gap: 10px;
	max-width: min(100%, 1400px);
	padding: 0;
}

#bmt-code-page .bmt-cp-benefit {
	align-items: center;
	align-self: center;
	background-color: #FFFFFFD9;
	background-repeat: no-repeat;
	background-size: cover;
	border-radius: 20px;
	gap: 5px;
	justify-content: space-between;
	min-height: 300px;
	padding: 95px 0 30px;
}

#bmt-code-page .bmt-cp-benefit::before {
	background-color: #FFFFFFD9;
	border-radius: inherit;
	content: "";
	display: block;
	height: 100%;
	left: 0;
	opacity: 0.73;
	position: absolute;
	top: 0;
	transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
	width: 100%;
}

#bmt-code-page .bmt-cp-benefit:hover::before {
	background-color: #FFFFFF;
	opacity: 0.4;
}

#bmt-code-page .bmt-cp-benefit--1 {
	background-color: #FFFFFF;
	background-image: url("https://bigmindtax.com/wp-content/uploads/2024/11/01_mockup-scaled.jpg");
}

#bmt-code-page .bmt-cp-benefit--2 {
	background-color: #FFFFFF;
	background-image: url("https://bigmindtax.com/wp-content/uploads/2026/03/02_mockup_사업자등록증.png");
	background-position: center center;
}

#bmt-code-page .bmt-cp-benefit--3 {
	background-image: url("https://bigmindtax.com/wp-content/uploads/2024/11/yazid-n-4hUfLQputbY-unsplash-scaled.jpg");
	background-position: center right;
}

#bmt-code-page .bmt-cp-benefit--3::before {
	opacity: 0.88;
}

#bmt-code-page .bmt-cp-benefit--4 {
	background-image: url("https://bigmindtax.com/wp-content/uploads/2024/11/04_mockup.jpg");
	background-position: bottom center;
}

#bmt-code-page .bmt-cp-benefit--5 {
	background-image: url("https://bigmindtax.com/wp-content/uploads/2026/03/hero-2.jpg");
	background-position: bottom center;
}

#bmt-code-page .bmt-cp-benefit--5::before {
	opacity: 0.87;
}

#bmt-code-page .bmt-cp-benefit--6 {
	background-image: url("https://bigmindtax.com/wp-content/uploads/2024/11/leon-dewiwje-ldDmTgf89gU-unsplash-1-scaled.jpg");
	background-position: bottom center;
}

#bmt-code-page .bmt-cp-benefit--6::before {
	background-color: transparent;
	background-image: linear-gradient(180deg, #FFFFFF 50%, #0000001F 100%);
	opacity: 0.87;
}

#bmt-code-page .bmt-cp-benefit--6:hover::before {
	background-color: transparent;
	background-image: linear-gradient(180deg, #FFFFFF 0%, #00000059 100%);
	opacity: 0.54;
}

#bmt-code-page .bmt-cp-benefit__title {
	padding: 30px 0 0;
	text-align: center;
}

#bmt-code-page .bmt-cp-benefit__title--two {
	padding-top: 10px;
}

#bmt-code-page .bmt-cp-benefit__title .bmt-cp-t {
	color: #222222;
	font-size: 22px;
	font-weight: 700;
	letter-spacing: -0.2px;
	line-height: 34px;
}

#bmt-code-page .bmt-cp-benefit__num {
	padding: 0 20px 0 0;
	text-align: right;
	width: 100%;
}

#bmt-code-page .bmt-cp-benefit__num .bmt-cp-t {
	color: #FFFFFF;
	font-size: 50px;
	font-weight: 700;
	letter-spacing: -0.2px;
	line-height: 34px;
}

/* ---------- Consultation ---------- */

#bmt-code-page .bmt-cp-consult {
	background-color: #FFFFFF;
	border-bottom: 1px solid #E7E7E7;
}

#bmt-code-page .bmt-cp-consult > .bmt-cp-in {
	align-items: center;
	gap: 0;
	justify-content: center;
	max-width: min(100%, 1400px);
	padding: 120px 0;
}

#bmt-code-page .bmt-cp-consult__title {
	margin: 0 0 5px;
	padding: 15px 30px;
	text-align: center;
}

#bmt-code-page .bmt-cp-consult__title .bmt-cp-t {
	color: #222222;
	font-size: 40px;
	font-weight: 700;
	letter-spacing: -0.5px;
	line-height: 34px;
}

#bmt-code-page .bmt-cp-consult__lead {
	padding: 5px 0 70px;
	text-align: left;
}

#bmt-code-page .bmt-cp-consult__lead .bmt-cp-t {
	color: #333333;
	font-size: 20px;
	font-weight: 500;
	letter-spacing: -0.2px;
	line-height: 28px;
}

#bmt-code-page .bmt-cp-consult__row {
	align-self: center;
}

#bmt-code-page .bmt-cp-consult__row > .bmt-cp-in {
	align-items: flex-start;
	flex-direction: row;
	flex-wrap: nowrap;
	gap: 20px;
	justify-content: space-between;
	max-width: min(100%, 1400px);
	padding: 0;
}

#bmt-code-page .bmt-cp-recent {
	align-items: flex-start;
	gap: 20px;
	justify-content: flex-start;
	padding: 40px 0 0;
}

#bmt-code-page .bmt-cp-recent--mobile {
	width: 50%;
}

#bmt-code-page .bmt-cp-recent--wide {
	width: 55%;
}

#bmt-code-page .bmt-cp-recent .bmt-cp-sc {
	flex: 0 0 auto;
}

#bmt-code-page .bmt-cp-recent__title {
	margin: 0 0 5px;
}

#bmt-code-page .bmt-cp-recent--mobile .bmt-cp-recent__title {
	padding: 15px 30px;
	text-align: center;
}

#bmt-code-page .bmt-cp-recent--mobile .bmt-cp-recent__title .bmt-cp-t {
	color: #222222;
	font-size: 40px;
	font-weight: 700;
	letter-spacing: -0.5px;
	line-height: 34px;
}

#bmt-code-page .bmt-cp-recent--wide .bmt-cp-recent__title {
	padding: 0;
	text-align: left;
}

#bmt-code-page .bmt-cp-recent--wide .bmt-cp-recent__title .bmt-cp-t {
	color: #222222;
	font-size: 25px;
	font-weight: 700;
	letter-spacing: -0.5px;
	line-height: 34px;
}

#bmt-code-page .bmt-cp-formbox {
	align-items: flex-start;
	background-color: #FAFAFA;
	border-radius: 5px;
	gap: 10px;
	min-height: 0;
	padding: 50px 50px 40px;
	width: 40%;
}

/* WPForms look of form 7165 on the public page (widget-scoped variables). */
#bmt-code-page .bmt-cp-form {
	--wpforms-button-background-color: #BB8716;
	--wpforms-field-border-color: #00000000;
	--wpforms-field-border-color-spare: #00000000;
	--wpforms-field-border-radius: 10px;
	--wpforms-button-border-radius: 15px;
	--wpforms-field-size-input-height: 50px;
	--wpforms-field-size-input-spacing: 20px;
	--wpforms-field-size-font-size: 18px;
	--wpforms-field-size-line-height: 21px;
	--wpforms-field-size-padding-h: 14px;
	--wpforms-field-size-checkbox-size: 18px;
	--wpforms-field-size-sublabel-spacing: 10px;
	--wpforms-field-size-icon-size: 1.25;
	--wpforms-label-size-font-size: 18px;
	--wpforms-label-size-line-height: 21px;
	--wpforms-label-size-sublabel-font-size: 16px;
	--wpforms-label-size-sublabel-line-height: 19px;
	--wpforms-button-size-font-size: 20px;
	--wpforms-button-size-height: 48px;
	--wpforms-button-size-padding-h: 20px;
	--wpforms-button-size-margin-top: 15px;
}

/* ---------- Call to action card ---------- */

#bmt-code-page .bmt-cp-cta {
	background-color: #FAFAFA;
	padding: 0 30px;
}

#bmt-code-page .bmt-cp-cta > .bmt-cp-in {
	align-items: center;
	gap: 20px;
	justify-content: center;
	max-width: min(100%, 1200px);
	padding: 80px 0;
}

#bmt-code-page .bmt-cp-cta__card {
	align-items: stretch;
	background-color: #FFFFFF;
	border-radius: 20px;
	box-shadow: 0 4px 30px 0 rgba(0, 0, 0, 0.08);
	flex-direction: row;
	gap: 0;
	justify-content: center;
	overflow: hidden;
}

#bmt-code-page .bmt-cp-cta__photo {
	background-image: url("https://bigmindtax.com/wp-content/uploads/2026/03/cta_person.jpg");
	background-position: center center;
	background-size: cover;
	gap: 20px;
	min-height: 350px;
	width: 40%;
}

#bmt-code-page .bmt-cp-cta__body {
	align-items: flex-start;
	gap: 8px 0;
	justify-content: center;
	padding: 50px 60px;
	width: 60%;
}

#bmt-code-page .bmt-cp-cta__title {
	margin: 0 0 20px;
}

#bmt-code-page .bmt-cp-cta__title .bmt-cp-t {
	color: #222222;
	font-size: 28px;
	font-weight: 700;
	letter-spacing: -0.112px;
	line-height: 42px;
}

#bmt-code-page .bmt-cp-cta__actions {
	flex-direction: row;
	flex-wrap: nowrap;
	gap: 12px;
	justify-content: flex-start;
	padding: 0;
}

#bmt-code-page .bmt-cp-btn {
	border-radius: 8px;
	border-style: solid;
	border-width: 2px;
	display: inline-block;
	font-size: 16px;
	font-weight: 600;
	letter-spacing: -0.5px;
	line-height: 10px;
	padding: 14px 28px;
	text-align: center;
	transition: all 0.3s;
	word-spacing: 0;
}

#bmt-code-page .bmt-cp-btn__text {
	display: block;
}

#bmt-code-page .bmt-cp-btn--primary {
	background-color: #BB8716;
	border-color: #BB8716;
	color: #FFFFFF;
}

#bmt-code-page .bmt-cp-btn--primary:hover,
#bmt-code-page .bmt-cp-btn--primary:focus {
	background-color: #9A6F0E;
	color: #FFFFFF;
}

#bmt-code-page .bmt-cp-btn--ghost {
	background-color: transparent;
	border-color: #CCCCCC;
	color: #333333;
}

#bmt-code-page .bmt-cp-btn--ghost:hover,
#bmt-code-page .bmt-cp-btn--ghost:focus {
	background-color: #333333;
	color: #FFFFFF;
}

/* ---------- Recommended posts ---------- */

#bmt-code-page .bmt-cp-posts {
	background-color: #FAFAFA;
}

#bmt-code-page .bmt-cp-posts > .bmt-cp-in {
	align-items: center;
	gap: 0;
	justify-content: center;
	max-width: min(100%, 1600px);
	padding: 150px 0;
}

#bmt-code-page .bmt-cp-posts__title {
	margin: 0 0 50px;
	padding: 15px 30px;
	text-align: center;
}

#bmt-code-page .bmt-cp-divider {
	margin: 0 0 20px;
	width: 100%;
}

#bmt-code-page .bmt-cp-divider__line {
	display: flex;
	padding: 20px 0;
}

#bmt-code-page .bmt-cp-divider__rule {
	border-top: 1px solid #E0E0E0;
	display: flex;
	margin: 0;
	width: 100%;
}

#bmt-code-page .bmt-cp-posts__more {
	align-self: center;
	padding: 0 80px;
}

#bmt-code-page .bmt-cp-posts__more > .bmt-cp-in {
	align-items: center;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 20px;
	max-width: min(100%, 1600px);
	padding: 30px 0;
}

/* ---------- Partners ---------- */

#bmt-code-page .bmt-cp-partners {
	align-items: center;
	background-color: #FFFFFF;
	gap: 0;
	justify-content: center;
	margin: 0 auto;
	max-width: 100%;
	padding: 150px 0;
}

#bmt-code-page .bmt-cp-partners__kicker,
#bmt-code-page .bmt-cp-partners__title {
	text-align: center;
}

#bmt-code-page .bmt-cp-partners__kicker .bmt-cp-t {
	color: #505050;
	font-size: 20px;
	font-weight: 500;
	letter-spacing: -0.5px;
	line-height: 47px;
}

#bmt-code-page .bmt-cp-partners__title .bmt-cp-t {
	color: #222222;
	font-size: 40px;
	font-weight: 700;
	letter-spacing: -0.5px;
	line-height: 47px;
}

#bmt-code-page .bmt-cp-partners__logos > .bmt-cp-in {
	align-items: center;
	flex-direction: row;
	flex-wrap: nowrap;
	gap: 20px;
	justify-content: space-around;
	padding: 70px 0 0;
}

#bmt-code-page .bmt-cp-logo {
	text-align: center;
}

#bmt-code-page .bmt-cp-logo img {
	display: inline-block;
	vertical-align: middle;
}

#bmt-code-page .bmt-cp-logo--half img {
	width: 50%;
}

#bmt-code-page .bmt-cp-logo--full img {
	width: 100%;
}

/* ---------- Shortcode output: look the public page gives it (recommended posts) ---------- */

:where(#bmt-code-page) .bmt-rec-grid {
	display: grid;
	gap: 20px;
	grid-template-columns: 1fr 1fr 1fr;
	grid-template-rows: 1fr 1fr;
	width: 100%;
}

:where(#bmt-code-page) .bmt-rec-card--large {
	grid-column: 1 / 2;
	grid-row: 1 / 3;
}

:where(#bmt-code-page) .bmt-rec-card--small:nth-child(2) {
	grid-column: 2;
	grid-row: 1;
}

:where(#bmt-code-page) .bmt-rec-card--small:nth-child(3) {
	grid-column: 3;
	grid-row: 1;
}

:where(#bmt-code-page) .bmt-rec-card--small:nth-child(4) {
	grid-column: 2;
	grid-row: 2;
}

:where(#bmt-code-page) .bmt-rec-card--small:nth-child(5) {
	grid-column: 3;
	grid-row: 2;
}

:where(#bmt-code-page) .bmt-rec-card {
	background: #FFFFFF;
	border: 1px solid #E8E8E8;
	border-radius: 10px;
	color: inherit;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	transition: box-shadow 0.3s ease, transform 0.3s ease;
}

:where(#bmt-code-page) .bmt-rec-card:hover {
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
	transform: translateY(-4px);
}

:where(#bmt-code-page) .bmt-rec-card:hover h3.bmt-rec-title {
	color: #BB8716 !important;
}

:where(#bmt-code-page) .bmt-rec-link {
	color: inherit;
	display: flex;
	flex-direction: column;
	gap: inherit;
	text-decoration: none;
}

:where(#bmt-code-page) .bmt-rec-thumb {
	background: #F0F0F0;
	overflow: hidden;
	position: relative;
}

:where(#bmt-code-page) .bmt-rec-thumb img {
	display: block;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	transition: transform 0.4s ease;
	width: 100%;
}

:where(#bmt-code-page) .bmt-rec-card:hover .bmt-rec-thumb img {
	transform: scale(1.04);
}

:where(#bmt-code-page) .bmt-rec-card--large .bmt-rec-thumb {
	aspect-ratio: 1 / 1;
	min-height: 280px;
}

:where(#bmt-code-page) .bmt-rec-card--small .bmt-rec-thumb {
	aspect-ratio: 16 / 10;
	min-height: 120px;
}

:where(#bmt-code-page) .bmt-rec-thumb--logo {
	background: linear-gradient(135deg, #FFF9ED 0%, #F1E6D0 100%);
}

:where(#bmt-code-page) .bmt-rec-thumb--logo img {
	object-fit: contain;
	padding: 20%;
}

:where(#bmt-code-page) .bmt-rec-thumb--fallback {
	background: linear-gradient(135deg, #FFF9ED 0%, #F1E6D0 100%);
}

:where(#bmt-code-page) .bmt-rec-thumb--fallback img {
	object-fit: contain;
	opacity: 0.35;
	padding: 22%;
}

:where(#bmt-code-page) .bmt-rec-text {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 4px;
	padding: 12px 14px 16px;
}

:where(#bmt-code-page) .bmt-rec-badge {
	align-self: flex-start;
	border: 1px solid #BB8716;
	border-radius: 20px;
	color: #BB8716;
	display: inline-block;
	font-family: "pretendard", sans-serif;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.01em;
	line-height: 1.3;
	margin-bottom: 4px;
	padding: 3px 10px;
	position: relative;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease;
	z-index: 2;
}

:where(#bmt-code-page) .bmt-rec-badge:hover {
	background: #BB8716;
	color: #FFFFFF;
}

:where(#bmt-code-page) h3.bmt-rec-title {
	-webkit-box-orient: vertical;
	color: #222222;
	display: -webkit-box;
	font-family: "pretendard", sans-serif !important;
	font-size: 22px !important;
	font-weight: 700 !important;
	letter-spacing: -0.01em;
	-webkit-line-clamp: 2;
	line-height: 1.45 !important;
	margin: 0;
	overflow: hidden;
	transition: color 0.2s ease;
}

/* On the public page this value wins over the kit h3 letter-spacing by load order; pin it here. */
#bmt-code-page h3.bmt-rec-title {
	letter-spacing: -0.01em;
}

:where(#bmt-code-page) .bmt-rec-excerpt {
	-webkit-box-orient: vertical;
	color: #777777;
	display: -webkit-box;
	font-family: "pretendard", sans-serif;
	font-size: 16px;
	font-weight: 400;
	-webkit-line-clamp: 2;
	line-height: 1.55;
	margin: 0;
	overflow: hidden;
}

:where(#bmt-code-page) .bmt-rec-card--large .bmt-rec-text {
	gap: 6px;
	padding: 16px 20px 22px;
}

:where(#bmt-code-page) .bmt-rec-card--small .bmt-rec-badge {
	font-size: 10px;
	padding: 2px 8px;
}

:where(#bmt-code-page) .bmt-rec-card--large .bmt-rec-badge {
	font-size: 12px;
	margin-bottom: 6px;
	padding: 3px 12px;
}

:where(#bmt-code-page) .bmt-rec-card--large h3.bmt-rec-title {
	font-size: 22px !important;
	font-weight: 700 !important;
	-webkit-line-clamp: 2;
	line-height: 1.45 !important;
}

:where(#bmt-code-page) .bmt-rec-card--large .bmt-rec-excerpt {
	color: #666666;
	font-size: 16px;
	font-weight: 400;
	-webkit-line-clamp: 2;
	line-height: 1.6;
}

/* ---------- Breakpoint: min 768px ---------- */

@media (min-width: 768px) {
	#bmt-code-page .bmt-cp-benefit {
		width: 100%;
	}
}

/* ---------- Breakpoint: tablet and below (max 1024px) ---------- */

@media (max-width: 1024px) {
	#bmt-code-page .bmt-cp-in {
		max-width: min(100%, 1024px);
	}

	#bmt-code-page .bmt-cp-hero {
		margin-top: -111px;
		min-height: 700px;
	}

	#bmt-code-page .bmt-cp-hero > .bmt-cp-in {
		max-width: min(100%, 1400px);
		padding: 0;
	}

	#bmt-code-page .bmt-cp-hero__title {
		margin: 20px 0 0;
		padding: 10px 0 0;
	}

	#bmt-code-page .bmt-cp-hero__title .bmt-cp-t {
		font-size: 42px;
		line-height: 59px;
	}

	#bmt-code-page .bmt-cp-process,
	#bmt-code-page .bmt-cp-benefits,
	#bmt-code-page .bmt-cp-consult,
	#bmt-code-page .bmt-cp-posts {
		padding-left: 20px;
		padding-right: 20px;
	}

	#bmt-code-page .bmt-cp-process > .bmt-cp-in,
	#bmt-code-page .bmt-cp-consult > .bmt-cp-in,
	#bmt-code-page .bmt-cp-benefits > .bmt-cp-in,
	#bmt-code-page .bmt-cp-posts > .bmt-cp-in {
		padding: 100px 0;
	}

	#bmt-code-page .bmt-cp-stitle {
		margin: 0 0 30px;
		padding: 0;
	}

	#bmt-code-page .bmt-cp-stitle .bmt-cp-t {
		font-size: 30px;
		line-height: 45px;
	}

	#bmt-code-page .bmt-cp-ssub {
		padding: 10px 0 50px;
	}

	#bmt-code-page .bmt-cp-ssub .bmt-cp-t {
		font-size: 20px;
	}

	#bmt-code-page .bmt-cp-steps > .bmt-cp-in {
		flex-wrap: wrap;
		gap: 10px;
	}

	#bmt-code-page .bmt-cp-card {
		gap: 10px;
	}

	#bmt-code-page .bmt-cp-num .bmt-cp-t {
		font-size: 20px;
		letter-spacing: -1px;
	}

	#bmt-code-page .bmt-cp-label .bmt-cp-t {
		letter-spacing: -1px;
	}

	#bmt-code-page .bmt-cp-btitle {
		margin: 0 0 50px;
		padding: 0;
	}

	#bmt-code-page .bmt-cp-btitle .bmt-cp-t {
		font-size: 30px;
		line-height: 45px;
	}

	#bmt-code-page .bmt-cp-benefit {
		gap: 10px;
	}

	#bmt-code-page .bmt-cp-benefit__title .bmt-cp-t {
		font-size: 20px;
		letter-spacing: -1px;
	}

	#bmt-code-page .bmt-cp-benefit__num .bmt-cp-t {
		font-size: 35px;
		letter-spacing: -1px;
	}

	#bmt-code-page .bmt-cp-consult__title .bmt-cp-t,
	#bmt-code-page .bmt-cp-recent--mobile .bmt-cp-recent__title .bmt-cp-t,
	#bmt-code-page .bmt-cp-recent--wide .bmt-cp-recent__title .bmt-cp-t {
		font-size: 30px;
	}

	#bmt-code-page .bmt-cp-consult__lead {
		padding: 0 0 50px;
	}

	#bmt-code-page .bmt-cp-consult__row > .bmt-cp-in {
		flex-direction: column;
	}

	#bmt-code-page .bmt-cp-recent {
		padding: 50px 0 0;
	}

	#bmt-code-page .bmt-cp-formbox {
		padding: 10px;
	}

	#bmt-code-page .bmt-cp-posts__title .bmt-cp-t {
		font-size: 30px;
		line-height: 44px;
	}

	#bmt-code-page .bmt-cp-posts__more {
		padding: 0;
	}

	#bmt-code-page .bmt-cp-posts__more > .bmt-cp-in {
		gap: 10px;
		padding: 0;
	}

	#bmt-code-page .bmt-cp-partners {
		padding: 100px 20px;
	}

	#bmt-code-page .bmt-cp-partners__kicker {
		padding: 0 0 10px;
	}

	#bmt-code-page .bmt-cp-partners__kicker .bmt-cp-t {
		font-size: 24px;
		letter-spacing: 0;
		line-height: 30px;
	}

	#bmt-code-page .bmt-cp-partners__title .bmt-cp-t {
		font-size: 32px;
		letter-spacing: 0;
		line-height: 30px;
	}

	#bmt-code-page .bmt-cp-partners__logos > .bmt-cp-in {
		padding: 80px 0 0;
	}

	#bmt-code-page .bmt-cp-logo img,
	#bmt-code-page .bmt-cp-logo--half img,
	#bmt-code-page .bmt-cp-logo--full img {
		width: 80%;
	}

	:where(#bmt-code-page) .bmt-rec-grid {
		gap: 16px;
		grid-template-columns: 1fr 1fr;
		grid-template-rows: auto;
	}

	:where(#bmt-code-page) .bmt-rec-card--large {
		grid-column: 1 / 3;
		grid-row: auto;
	}

	:where(#bmt-code-page) .bmt-rec-card--large .bmt-rec-thumb {
		aspect-ratio: 2.2 / 1;
		min-height: 180px;
	}

	:where(#bmt-code-page) .bmt-rec-card--small {
		grid-column: auto;
		grid-row: auto;
	}
}

/* ---------- Breakpoint: tablet only (768-1024px) ---------- */

@media (min-width: 768px) and (max-width: 1024px) {
	#bmt-code-page .bmt-cp-hero__title .bmt-cp-t {
		font-size: 32px;
	}

	#bmt-code-page .bmt-cp-stitle .bmt-cp-t,
	#bmt-code-page .bmt-cp-btitle .bmt-cp-t {
		font-size: 26px;
		line-height: 1.4em;
	}

	#bmt-code-page .bmt-cp-step,
	#bmt-code-page .bmt-cp-step--last {
		width: 45%;
	}

	#bmt-code-page .bmt-cp-recent--mobile,
	#bmt-code-page .bmt-cp-recent--wide,
	#bmt-code-page .bmt-cp-formbox {
		width: 100%;
	}
}

/* ---------- Breakpoint: mobile (max 767px) ---------- */

@media (max-width: 767px) {
	#bmt-code-page {
		font-size: 16px;
		letter-spacing: -0.064px;
		line-height: 28.8px;
	}

	#bmt-code-page br.bmt-cp-br-mo {
		display: block;
	}

	#bmt-code-page .bmt-cp-in {
		flex-wrap: wrap;
		max-width: 100%;
	}

	#bmt-code-page .bmt-cp-box {
		flex-wrap: wrap;
	}

	/* Hero */
	#bmt-code-page .bmt-cp-hero {
		margin-top: -102px;
		min-height: 380px;
		padding: 0 20px;
	}

	#bmt-code-page .bmt-cp-hero > .bmt-cp-in {
		gap: 0;
		max-width: 100%;
		padding: 120px 0 40px;
	}

	#bmt-code-page .bmt-cp-hero__title {
		margin: 70px 0 0;
		padding: 0;
		text-align: left;
	}

	#bmt-code-page .bmt-cp-hero__title .bmt-cp-t {
		font-size: 24px;
		letter-spacing: -0.4px;
		line-height: 1.4em;
	}

	#bmt-code-page .bmt-cp-hero__lead {
		padding: 30px 0 0;
		text-align: left;
		width: 100%;
	}

	#bmt-code-page .bmt-cp-hero__lead .bmt-cp-t {
		font-size: 16px;
		line-height: 1.5em;
	}

	#bmt-code-page .bmt-cp-hero__down-wrap,
	#bmt-code-page .bmt-cp-arrow__wrap {
		font-size: 16px;
		line-height: 28.8px;
	}

	/* Section paddings */
	#bmt-code-page .bmt-cp-process,
	#bmt-code-page .bmt-cp-benefits {
		padding-left: 16px;
		padding-right: 16px;
	}

	#bmt-code-page .bmt-cp-consult,
	#bmt-code-page .bmt-cp-posts {
		padding-left: 20px;
		padding-right: 20px;
	}

	#bmt-code-page .bmt-cp-process > .bmt-cp-in,
	#bmt-code-page .bmt-cp-consult > .bmt-cp-in,
	#bmt-code-page .bmt-cp-benefits > .bmt-cp-in,
	#bmt-code-page .bmt-cp-posts > .bmt-cp-in {
		padding: 80px 0;
	}

	/* Section headings */
	#bmt-code-page .bmt-cp-stitle {
		margin: 0;
		padding: 0 0 30px;
		text-align: left;
	}

	#bmt-code-page .bmt-cp-stitle .bmt-cp-t {
		font-size: 20px;
		line-height: 1.4em;
	}

	#bmt-code-page .bmt-cp-ssub {
		padding: 0 0 10px;
		text-align: left;
	}

	#bmt-code-page .bmt-cp-ssub .bmt-cp-t {
		font-size: 15px;
		line-height: 1.5em;
	}

	/* Steps become a 2 x 2 grid */
	#bmt-code-page .bmt-cp-steps {
		padding: 0 8px;
	}

	#bmt-code-page .bmt-cp-steps > .bmt-cp-in {
		display: grid;
		gap: 10px;
		grid-template-columns: 1fr 1fr;
	}

	#bmt-code-page .bmt-cp-card,
	#bmt-code-page .bmt-cp-step,
	#bmt-code-page .bmt-cp-step--last {
		background: #FFFFFF;
		border: 1px solid #E8E0D0;
		border-radius: 12px;
		justify-content: center;
		max-width: 100%;
		padding: 20px 10px 16px;
		text-align: center;
		width: 100%;
	}

	#bmt-code-page .bmt-cp-num .bmt-cp-t {
		color: #BB8716;
		font-size: 28px;
		font-weight: 700;
		line-height: 1.2em;
		margin-bottom: 6px;
	}

	#bmt-code-page .bmt-cp-label .bmt-cp-t {
		color: #222222;
		font-size: 15px;
		font-weight: 600;
		letter-spacing: 0;
		line-height: 1.5em;
	}

	#bmt-code-page .bmt-cp-label--tight-m .bmt-cp-t {
		letter-spacing: -1px;
	}

	#bmt-code-page .bmt-cp-note {
		color: #666666;
		font-size: 11px;
		font-weight: 400;
	}

	/* Benefits */
	#bmt-code-page .bmt-cp-btitle {
		margin: 0 0 16px;
		padding: 12px 20px;
		text-align: left;
	}

	#bmt-code-page .bmt-cp-btitle .bmt-cp-t {
		font-size: 18px;
		line-height: 1.5em;
	}

	#bmt-code-page .bmt-cp-bgrid > .bmt-cp-in {
		display: grid;
		gap: 8px;
		grid-template-columns: 1fr 1fr 1fr;
	}

	#bmt-code-page .bmt-cp-benefit {
		align-items: center;
		aspect-ratio: 1 / 1;
		border-radius: 10px;
		display: flex;
		gap: 10px;
		justify-content: center;
		max-width: 100%;
		min-height: auto;
		overflow: hidden;
		padding: 10px 6px 8px;
		width: 100%;
	}

	#bmt-code-page .bmt-cp-benefit::before,
	#bmt-code-page .bmt-cp-benefit:hover::before {
		opacity: 0.2;
	}

	#bmt-code-page .bmt-cp-benefit__title .bmt-cp-t {
		color: #FFFFFF;
		font-size: 11px;
		font-weight: 700;
		letter-spacing: 0;
		line-height: 1.35em;
		text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
	}

	#bmt-code-page .bmt-cp-benefit__num {
		padding: 0 20px 10px 0;
	}

	#bmt-code-page .bmt-cp-benefit__num .bmt-cp-t {
		color: #FFFFFF;
		font-size: 20px;
		font-weight: 700;
		line-height: 1.2em;
		text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
	}

	/* Consultation */
	#bmt-code-page .bmt-cp-consult__title {
		padding: 0 0 10px;
		text-align: left;
	}

	#bmt-code-page .bmt-cp-consult__title .bmt-cp-t {
		font-size: 22px;
		line-height: 1.4em;
	}

	#bmt-code-page .bmt-cp-consult__lead {
		padding: 0;
	}

	#bmt-code-page .bmt-cp-consult__lead .bmt-cp-t {
		font-size: 14px;
		line-height: 1.5em;
	}

	#bmt-code-page .bmt-cp-consult__row > .bmt-cp-in {
		flex-wrap: wrap;
	}

	#bmt-code-page .bmt-cp-recent {
		padding: 30px 0;
		width: 100%;
	}

	#bmt-code-page .bmt-cp-recent--mobile .bmt-cp-recent__title {
		padding: 0;
		text-align: center;
		width: 100%;
	}

	#bmt-code-page .bmt-cp-recent--mobile .bmt-cp-recent__title .bmt-cp-t {
		font-size: 18px;
		line-height: 1.4em;
	}

	#bmt-code-page .bmt-cp-formbox {
		padding: 20px 20px 10px;
		width: 100%;
	}

	#bmt-code-page .bmt-cp-form {
		padding: 0 20px;
	}

	/* Call to action */
	#bmt-code-page .bmt-cp-cta {
		padding: 0 16px;
	}

	#bmt-code-page .bmt-cp-cta > .bmt-cp-in {
		padding: 0 0 24px;
	}

	#bmt-code-page .bmt-cp-cta__card {
		flex-direction: column;
	}

	#bmt-code-page .bmt-cp-cta__photo {
		border-radius: 12px 12px 0 0;
		max-height: 180px;
		min-height: 250px;
		overflow: hidden;
		width: 100%;
	}

	#bmt-code-page .bmt-cp-cta__body {
		align-items: center;
		padding: 30px 25px;
		width: 100%;
	}

	#bmt-code-page .bmt-cp-cta__title {
		text-align: center;
	}

	#bmt-code-page .bmt-cp-cta__title .bmt-cp-t {
		font-size: 20px;
		letter-spacing: -0.08px;
		line-height: 1.4em;
	}

	#bmt-code-page .bmt-cp-cta__actions {
		flex-wrap: wrap;
		justify-content: center;
	}

	#bmt-code-page .bmt-cp-btn {
		font-size: 13px;
		letter-spacing: -1.4px;
		line-height: 20px;
		padding: 10px 20px;
		word-spacing: 0.1em;
	}

	/* Recommended posts */
	#bmt-code-page .bmt-cp-posts__title {
		margin: 0 0 16px;
		padding: 12px 20px;
		text-align: left;
		width: 100%;
	}

	#bmt-code-page .bmt-cp-posts__title .bmt-cp-t {
		font-size: 18px;
		line-height: 1.5em;
	}

	#bmt-code-page .bmt-cp-posts__more > .bmt-cp-in {
		padding: 30px 0 0;
	}

	/* Partners */
	#bmt-code-page .bmt-cp-partners {
		padding: 80px 20px;
	}

	#bmt-code-page .bmt-cp-partners__kicker .bmt-cp-t {
		font-size: 16px;
	}

	#bmt-code-page .bmt-cp-partners__title .bmt-cp-t {
		font-size: 22px;
		line-height: 1.4em;
	}

	#bmt-code-page .bmt-cp-partners__logos > .bmt-cp-in {
		flex-wrap: wrap;
		gap: 50px;
		padding: 60px 0 0;
	}

	/* Recommended posts: the public page's own mobile rules first, its mobile-optimisation rules after. */
	:where(#bmt-code-page) .bmt-rec-grid {
		gap: 14px;
		grid-template-columns: 1fr;
	}

	:where(#bmt-code-page) .bmt-rec-card--large {
		grid-column: 1;
	}

	:where(#bmt-code-page) .bmt-rec-card--large .bmt-rec-thumb {
		aspect-ratio: 4 / 3;
		min-height: 180px;
	}

	:where(#bmt-code-page) .bmt-rec-card--large h3.bmt-rec-title {
		font-size: 20px !important;
	}

	:where(#bmt-code-page) .bmt-rec-card--small {
		grid-column: 1;
	}

	:where(#bmt-code-page) .bmt-rec-card--small .bmt-rec-thumb {
		aspect-ratio: 16 / 9;
	}

	/* Mobile-optimisation rules of the public page for shortcode output (one class stronger, as there). */
	.bmt-cp-inheritance-gift-tax-expert .rc-table {
		font-size: 12px !important;
	}

	.bmt-cp-inheritance-gift-tax-expert .rc-table th {
		font-size: 11px !important;
		padding: 8px 4px !important;
	}

	.bmt-cp-inheritance-gift-tax-expert .rc-table td {
		font-size: 12px !important;
		padding: 7px 4px !important;
	}

	.bmt-cp-inheritance-gift-tax-expert #wpforms-7165 .wpforms-field-label {
		font-size: 15px !important;
		margin-bottom: 6px !important;
	}

	.bmt-cp-inheritance-gift-tax-expert #wpforms-7165 .wpforms-field-label-inline {
		font-size: 15px !important;
	}

	.bmt-cp-inheritance-gift-tax-expert #wpforms-7165 legend.wpforms-field-label {
		font-size: 15px !important;
		margin-bottom: 8px !important;
	}

	.bmt-cp-inheritance-gift-tax-expert #wpforms-7165 .wpforms-field-radio ul li {
		margin-bottom: 4px !important;
	}

	.bmt-cp-inheritance-gift-tax-expert #wpforms-7165 input.wpforms-field-large,
	.bmt-cp-inheritance-gift-tax-expert #wpforms-7165 input.wpforms-field-medium {
		font-size: 15px !important;
		height: auto !important;
		padding: 8px 12px !important;
	}

	.bmt-cp-inheritance-gift-tax-expert #wpforms-7165 textarea {
		font-size: 13px !important;
		line-height: 1.5em !important;
		max-height: 120px !important;
		min-height: 100px !important;
		padding: 8px 12px !important;
	}

	.bmt-cp-inheritance-gift-tax-expert #wpforms-7165 .wpforms-field {
		margin-bottom: 12px !important;
		padding: 0 !important;
	}

	.bmt-cp-inheritance-gift-tax-expert .wpforms-submit {
		font-size: 14px !important;
		padding: 10px 20px !important;
	}

	.bmt-cp-inheritance-gift-tax-expert .bmt-rec-grid,
	.bmt-cp-inheritance-gift-tax-expert .bmt-cp-sc .bmt-rec-grid {
		display: flex !important;
		flex-direction: column !important;
		gap: 12px !important;
		padding: 0 8px !important;
	}

	.bmt-cp-inheritance-gift-tax-expert .bmt-rec-card,
	.bmt-cp-inheritance-gift-tax-expert .bmt-rec-card--large,
	.bmt-cp-inheritance-gift-tax-expert .bmt-rec-card--small {
		border-radius: 10px !important;
		display: flex !important;
		flex-direction: row !important;
		grid-column: auto !important;
		grid-row: auto !important;
		min-height: 0 !important;
		overflow: hidden !important;
	}

	.bmt-cp-inheritance-gift-tax-expert .bmt-rec-card .bmt-rec-thumb,
	.bmt-cp-inheritance-gift-tax-expert .bmt-rec-card--large .bmt-rec-thumb,
	.bmt-cp-inheritance-gift-tax-expert .bmt-rec-card--small .bmt-rec-thumb {
		aspect-ratio: auto !important;
		flex-shrink: 0 !important;
		height: auto !important;
		max-height: 110px !important;
		max-width: 110px !important;
		min-height: 90px !important;
		min-width: 110px !important;
		width: 110px !important;
	}

	.bmt-cp-inheritance-gift-tax-expert .bmt-rec-card .bmt-rec-thumb img {
		border-radius: 0 !important;
		height: 100% !important;
		object-fit: cover !important;
		width: 100% !important;
	}

	.bmt-cp-inheritance-gift-tax-expert .bmt-rec-card .bmt-rec-text {
		display: flex !important;
		flex: 1 !important;
		flex-direction: column !important;
		justify-content: center !important;
		padding: 10px 12px !important;
	}

	.bmt-cp-inheritance-gift-tax-expert .bmt-rec-card .bmt-rec-title,
	.bmt-cp-inheritance-gift-tax-expert .bmt-rec-card--large .bmt-rec-title,
	.bmt-cp-inheritance-gift-tax-expert .bmt-rec-card--small .bmt-rec-title,
	.bmt-cp-inheritance-gift-tax-expert h3.bmt-rec-title,
	.bmt-cp-inheritance-gift-tax-expert .bmt-rec-card--large h3.bmt-rec-title {
		font-size: 14px !important;
		-webkit-line-clamp: 2 !important;
		line-height: 1.4 !important;
		margin: 0 0 4px !important;
	}

	.bmt-cp-inheritance-gift-tax-expert .bmt-rec-card .bmt-rec-excerpt,
	.bmt-cp-inheritance-gift-tax-expert .bmt-rec-card--large .bmt-rec-excerpt,
	.bmt-cp-inheritance-gift-tax-expert .bmt-rec-card--small .bmt-rec-excerpt {
		font-size: 12px !important;
		-webkit-line-clamp: 2 !important;
		line-height: 1.4 !important;
		margin: 0 !important;
	}

	.bmt-cp-inheritance-gift-tax-expert .bmt-rec-card .bmt-rec-badge,
	.bmt-cp-inheritance-gift-tax-expert .bmt-rec-card--large .bmt-rec-badge,
	.bmt-cp-inheritance-gift-tax-expert .bmt-rec-card--small .bmt-rec-badge {
		font-size: 10px !important;
		margin-bottom: 4px !important;
		padding: 2px 6px !important;
	}
}

/* ---------- Breakpoint hiding (same breakpoints as the public page) ---------- */

@media (min-width: 1025px) {
	#bmt-code-page .bmt-cp-hide-d {
		display: none !important;
	}
}

@media (min-width: 768px) and (max-width: 1024px) {
	#bmt-code-page .bmt-cp-hide-t {
		display: none !important;
	}
}

@media (max-width: 767px) {
	#bmt-code-page .bmt-cp-hide-m {
		display: none !important;
	}
}

/* SEO h1 (2026-10-11): the page title is an h1. Keep the look of the former div: zero-specificity reset of the
   browser h1 defaults so the page's class rules still win, and inherit letter-spacing over the site h1 rule. */
:where(#bmt-code-page h1.bmt-cp-t) {
	margin: 0;
	font-size: inherit;
	font-weight: inherit;
}

#bmt-code-page h1.bmt-cp-t {
	letter-spacing: inherit;
}
