/* Homepage category sections: horizontal cards on phones; desktop stays with the theme. */
@media (max-width: 767px) {
	/* Keep headings within the theme's overflow:hidden module container. */
	.layout-39.common-home #content .so-categories.suv-cat-grid-mobile .head-title {
		margin-top: 0;
	}

	.layout-39.common-home #content .so-categories.suv-cat-grid-mobile.suv-cat-grid .cat-wrap {
		justify-content: center;
		gap: 16px 12px;
	}

	.layout-39.common-home #content .so-categories.suv-cat-grid-mobile.suv-cat-grid .cat-wrap .content-box {
		display: flex;
		align-items: center;
		position: relative;
		flex-basis: calc((100% - 12px) / 2);
		max-width: calc((100% - 12px) / 2);
		min-height: 100px;
		margin: 0;
		padding: 12px 8px;
		background: #f7f7f9;
		border: 1px solid #eeeeef;
		border-radius: 22px;
		box-shadow: 0 3px 3px rgb(0 0 0 / 12%);
	}

	.layout-39.common-home #content .so-categories.suv-cat-grid-mobile.suv-cat-grid .cat-wrap .content-box:last-child:nth-child(odd) {
		flex-basis: 64%;
		max-width: 64%;
	}

	.layout-39.common-home #content .so-categories.suv-cat-grid-mobile .cat-wrap .content-box .image-cat {
		flex: 0 0 32%;
		width: 32%;
		margin: 0;
		padding: 0 7px 0 0;
		background: transparent;
		border-radius: 0;
	}

	.layout-39.common-home #content .so-categories.suv-cat-grid-mobile .cat-wrap .content-box .image-cat img {
		width: 100%;
		height: 72px;
		object-fit: contain;
		border-radius: 0;
		transform: none;
	}

	.layout-39.common-home #content .so-categories.suv-cat-grid-mobile .cat-wrap .content-box .content-parent {
		flex: 1;
		min-width: 0;
		padding: 0 0 0 8px;
		border-left: 1px solid #d4d4d8;
		text-align: left;
	}

	.layout-39.common-home #content .so-categories.suv-cat-grid-mobile .cat-wrap .content-box .cat-title a {
		display: block;
		height: auto;
		font-size: clamp(12px, 3.5vw, 16px);
		font-weight: 700;
		line-height: 1.3;
		color: #111111;
		-webkit-line-clamp: unset;
		line-clamp: unset;
		overflow: visible;
		overflow-wrap: normal;
		text-overflow: clip;
	}

	.layout-39.common-home #content .so-categories.suv-cat-grid-mobile .cat-title a::after {
		content: '';
		position: absolute;
		inset: 0;
		z-index: 1;
		border-radius: 22px;
	}

	.layout-39.common-home #content .so-categories.suv-cat-grid-mobile .content-box:focus-within {
		outline: 2px solid #d93b00;
		outline-offset: 3px;
	}

	.layout-39.common-home #content .so-categories.suv-cat-grid-mobile .cat-content,
	.layout-39.common-home #content .so-categories.suv-cat-grid-mobile .post_text br {
		display: none;
	}

	.layout-39.common-home #content .so-categories.suv-cat-grid-mobile .post_text {
		margin-top: 24px;
	}

	.layout-39.common-home #content .so-categories.suv-cat-grid-mobile .post_text .btn-style {
		display: block;
		width: 90%;
		max-width: 420px;
		margin: 0 auto;
		padding: 15px 12px;
		border-radius: 32px;
		background: #d93b00;
		color: #ffffff;
		font-size: clamp(13px, 3.6vw, 17px);
		font-weight: 700;
		line-height: 1.3;
		white-space: normal;
	}

	.layout-39.common-home #content .so-categories.suv-cat-grid-mobile .post_text .btn-style:hover,
	.layout-39.common-home #content .so-categories.suv-cat-grid-mobile .post_text .btn-style:focus-visible {
		background: #b92f00;
		color: #ffffff;
	}
}
