/* Homepage — My Home Things style */

.bm-home-intro {
	padding: 1.15rem 0 0.25rem;
	background: var(--bm-canvas, #f5f5f5);
}

.bm-home-intro__inner {
	max-width: 48rem;
}

.bm-home-intro__title {
	margin: 0;
	font-size: clamp(1.35rem, 2.4vw, 1.85rem);
	font-weight: 800;
	line-height: 1.25;
	color: #111;
	letter-spacing: -0.02em;
}

.bm-home-intro__lead {
	margin: 0.45rem 0 0;
	max-width: 40rem;
	color: var(--bm-muted, #666);
	font-size: 0.95rem;
	line-height: 1.5;
}

.bm-hero {
	padding: 1.25rem 0 0.5rem;
}

.bm-hero__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.bm-hero__banner {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 18rem;
	padding: 1.75rem 1.85rem;
	border-radius: 0;
	overflow: hidden;
	color: var(--bm-white);
	background:
		linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.55)),
		var(--bm-hero-image) center / cover no-repeat;
}

.bm-hero__banner--dark {
	color: var(--bm-ink);
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.88)),
		var(--bm-hero-image) center / cover no-repeat;
}

.bm-hero__content {
	position: relative;
	z-index: 1;
	max-width: 26rem;
}

.bm-hero__kicker {
	display: inline-block;
	margin-bottom: 0.55rem;
	color: var(--bm-orange);
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: capitalize;
}

.bm-hero__banner--dark .bm-hero__kicker {
	color: var(--bm-orange-deep);
}

.bm-hero__content h2 {
	font-size: clamp(1.45rem, 2.2vw, 2rem);
	line-height: 1.2;
	font-weight: 800;
	margin-bottom: 0.45rem;
}

.bm-hero__content p {
	font-size: 0.92rem;
	line-height: 1.45;
	opacity: 0.92;
	max-width: 22rem;
}

.bm-hero__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin-top: 1rem;
	padding: 0.65rem 1.15rem;
	border-radius: var(--bm-radius-pill);
	background: var(--bm-orange);
	color: var(--bm-white);
	font-size: 0.88rem;
	font-weight: 800;
}

.bm-hero__banner--dark .bm-hero__cta {
	background: var(--bm-ink);
	color: var(--bm-white);
}

.bm-hero__cta svg {
	width: 1rem;
	height: 1rem;
}

.bm-showcases {
	padding: 0.5rem 0 2rem;
}

.bm-showcase {
	padding: 1.35rem 0 0.25rem;
}

.bm-showcase__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1rem;
}

.bm-showcase__intro {
	min-width: 0;
}

.bm-showcase__title {
	font-size: clamp(1.15rem, 1.8vw, 1.45rem);
	font-weight: 800;
	line-height: 1.25;
	margin-bottom: 0.55rem;
}

.bm-showcase__title a {
	color: inherit;
}

.bm-showcase__title a:hover {
	color: var(--bm-orange);
}

.bm-showcase__subcats {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem 0.75rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.bm-showcase__subcats a {
	display: inline-flex;
	padding: 0.35rem 0.75rem;
	border-radius: var(--bm-radius-pill);
	background: #f3f3f3;
	color: var(--bm-muted);
	font-size: 0.82rem;
	font-weight: 600;
}

.bm-showcase__subcats a:hover {
	background: #ececec;
	color: var(--bm-ink);
}

.bm-showcase__more {
	display: inline-flex;
	align-items: center;
	gap: 0.2rem;
	flex-shrink: 0;
	margin-top: 0.15rem;
	color: var(--bm-ink);
	font-size: 0.88rem;
	font-weight: 800;
	white-space: nowrap;
}

.bm-showcase__more svg {
	width: 1rem;
	height: 1rem;
}

.bm-showcase--picker {
	padding: 1.35rem 0 0.25rem;
}

.bm-showcase__head--inline {
	align-items: center;
	justify-content: flex-start;
	flex-wrap: wrap;
	gap: 0.75rem 1rem;
}

.bm-showcase__head--inline .bm-showcase__title {
	margin-bottom: 0;
	flex-shrink: 0;
}

.bm-showcase__head--inline .bm-showcase__subcats {
	flex: 1 1 auto;
	min-width: 0;
}

.bm-showcase__empty {
	margin: 0;
	padding: 1rem 0;
	color: var(--bm-muted);
	font-size: 0.9rem;
}

@media (max-width: 768px) {
	.bm-hero__grid {
		grid-template-columns: 1fr;
	}

	.bm-hero__banner {
		min-height: 15rem;
	}

	.bm-showcase__head {
		flex-direction: column;
	}

	.bm-showcase__head--inline {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* Blog grid (Home — Blog block + Journal archive) */

.bm-blog {
	padding: 1.35rem 0 2rem;
}

.bm-blog__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1rem;
}

.bm-blog__intro {
	min-width: 0;
}

.bm-blog__sub {
	margin: 0.35rem 0 0;
	color: var(--bm-muted);
	font-size: 0.92rem;
	line-height: 1.45;
}

.bm-blog__more {
	display: inline-flex;
	align-items: center;
	gap: 0.2rem;
	flex-shrink: 0;
	margin-top: 0.15rem;
	color: var(--bm-ink);
	font-size: 0.88rem;
	font-weight: 800;
	white-space: nowrap;
}

.bm-blog__more svg {
	width: 1rem;
	height: 1rem;
}

.bm-blog__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
}

.bm-blog__grid--archive {
	margin-top: 1rem;
}

.bm-blog-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	background: var(--bm-white);
}

.bm-blog-card__media {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #f3f3f3;
}

.bm-blog-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bm-blog-card__media--placeholder {
	background: linear-gradient(135deg, #f5f5f5, #ececec);
}

.bm-blog-card__body {
	padding: 0.85rem 0.15rem 0.35rem;
}

.bm-blog-card__date {
	display: block;
	margin-bottom: 0.35rem;
	color: var(--bm-muted);
	font-size: 0.78rem;
	font-weight: 600;
}

.bm-blog-card__title {
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.35;
}

.bm-blog-card__title a {
	color: var(--bm-ink);
}

.bm-blog-card__title a:hover {
	color: var(--bm-orange);
}

.bm-blog-card__excerpt {
	margin-top: 0.45rem;
	color: var(--bm-muted);
	font-size: 0.86rem;
	line-height: 1.45;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	line-clamp: 3;
	overflow: hidden;
}

.bm-blog__empty {
	margin: 0;
	padding: 1rem 0;
	color: var(--bm-muted);
	font-size: 0.9rem;
}

@media (max-width: 992px) {
	.bm-blog__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.bm-blog__head {
		flex-direction: column;
	}

	.bm-blog__grid {
		grid-template-columns: 1fr;
		gap: 0.85rem;
	}
}

/* Brand logos strip */

.bm-brands {
	padding: 1.25rem 0 2rem;
}

.bm-brands__title {
	margin-bottom: 1rem;
}

.bm-brands__grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 1.25rem 1.5rem;
	align-items: center;
}

.bm-brand-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 3.5rem;
	padding: 0.65rem 0.85rem;
	border: 1px solid #ececec;
	background: #fafafa;
	text-decoration: none;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}

.bm-brand-logo:hover {
	border-color: #ddd;
	background: #fff;
}

.bm-brand-logo img {
	display: block;
	width: auto;
	max-width: 100%;
	max-height: 2.25rem;
	object-fit: contain;
	filter: grayscale(1);
	opacity: 0.82;
	transition: filter 0.2s ease, opacity 0.2s ease;
}

.bm-brand-logo:hover img {
	filter: grayscale(0);
	opacity: 1;
}

.bm-brand-logo__text {
	color: var(--bm-muted);
	font-size: 0.92rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-align: center;
	line-height: 1.2;
}

.bm-brand-logo:hover .bm-brand-logo__text {
	color: var(--bm-ink);
}

@media (max-width: 992px) {
	.bm-brands__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.bm-brands__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.75rem;
	}
}
