@charset "UTF-8";

#contents {
	padding-bottom: 16rem;
}

.edit-area.hygiene {

	margin-top: 12rem;

	@media screen and (max-width: 767px) {}
}

.common-list {}


.common-hygiene-post {
	display: flex;
	flex-wrap: wrap;
	/* justify-content: space-between; */
	gap: 4.8rem;

	& li {
		max-width: 44.8rem;
	}


	.post-hygiene-container {
		max-width: 44.8rem;
		background: #FFFFFF;
		box-shadow: 0px 0.2rem 0.4rem rgba(0, 0, 0, 0.15);
		border-radius: 1.6rem;

		.thumbnail-container {
			width: 44.8rem;
			height: 27.4rem;
			padding-bottom: 2.6rem;

			& img {
				border-radius: 1.6rem 1.6rem 0 0;
				width: 100%;
				height: 100%;
				object-fit: cover;
			}
		}

		.categorie-container {
			display: flex;
			gap: 0.5rem;
			margin-bottom: 2.4rem;
		}

		.hygiene-tag {
			display: flex;
			flex-direction: row;
			justify-content: center;
			align-items: center;
			padding: 0.8rem 1.8rem;
			background: #D62328;
			border-radius: 5.6rem;

			font-style: normal;
			font-weight: 700;
			font-size: 1.8rem;
			/* line-height: 180%; */
			text-align: center;
			letter-spacing: 0.05em;
			color: #fff;
			width: fit-content;
		}

		.list-title {
			font-style: normal;
			font-weight: 700;
			font-size: 1.8rem;
			line-height: 180%;
			letter-spacing: 0.08em;
			color: #000000;
			padding-bottom: 2.4rem;
		}

		.text-cointainer-post {
			padding: 0 2.4rem;
		}
	}

}

@media screen and (max-width: 767px) {
	.common-hygiene-post {
		row-gap: 1.5rem;
		column-gap: 0.3rem;

		& li {
			max-width: calc(50% - 0.2rem);
		}

		.post-hygiene-container {
			max-width: inherit;
			min-width: 17rem;

			.categorie-container {
				flex-wrap: wrap;
				margin-bottom: 0.8rem;
			}

			.thumbnail-container {
				width: 100%;
				height: 10rem;
				padding-bottom: 1rem;
			}

			.hygiene-tag {
				padding: 0.4rem 1.2rem;
				font-size: 1.2rem;
				line-height: 120%;
			}

			.list-title {
				font-size: 1.4rem;
				line-height: 140%;
				/* Ensures consistent line height for calculation */
				padding-bottom: 2rem;
				overflow: hidden;
				/* Hides content beyond the box boundaries */
				display: -webkit-box;
				/* Required for the line clamping to work */
				-webkit-line-clamp: 2;
				/* Limits the text to 2 lines */
				-webkit-box-orient: vertical;
				/* Stacks the box contents vertically */
				height: 4.1rem;
			}

			.text-cointainer-post {
				padding: 0 0.8rem 1.5rem;
			}
		}


	}

	.list-category {}
}