/* Chamons: base completa do eBlog para isolar o blog do fundo escuro global do site. */
#product-category,
#product-product,
#product-search,
#product-manufacturer,
#eblog-home,
.container:has(> .row.eblog),
.ch-eblog-module {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0 15px 88px;
	background: #f4f6f2;
	color: #17201d;
	font-family: inherit;
	text-transform: none;
}

#product-category > .breadcrumb,
#product-product > .breadcrumb,
#product-search > .breadcrumb,
#product-manufacturer > .breadcrumb,
#eblog-home > .breadcrumb,
.container:has(> .row.eblog) > .breadcrumb {
	max-width: 1450px;
	margin: 0 auto 34px;
	padding: 16px 22px;
	border: 1px solid rgba(8, 11, 10, .08);
	border-radius: 0 0 8px 8px;
	background: #ffffff;
	box-shadow: 0 12px 40px rgba(8, 11, 10, .06);
}

#product-category > .breadcrumb a,
#product-product > .breadcrumb a,
#product-search > .breadcrumb a,
#product-manufacturer > .breadcrumb a,
#eblog-home > .breadcrumb a,
.container:has(> .row.eblog) > .breadcrumb a {
	color: #4b6e00;
	font-weight: 800;
}

.row.eblog {
	display: flex;
	align-items: flex-start;
	gap: 34px;
	max-width: 1450px;
	margin: 0 auto;
	padding: 0 0 10px;
	color: #1f2724;
	font-size: 15px;
	line-height: 1.72;
}

.row.eblog:before,
.row.eblog:after {
	display: none;
}

.row.eblog > #column-left {
	position: relative;
	z-index: 5;
	flex: 0 0 320px;
	width: 320px;
	max-width: 320px;
	padding-left: 0;
	padding-right: 0;
}

.row.eblog > #column-right {
	position: relative;
	z-index: 5;
	flex: 0 0 280px;
	width: 280px;
	max-width: 280px;
	padding-left: 0;
	padding-right: 0;
}

.row.eblog #content {
	position: relative;
	z-index: 1;
	flex: 1 1 auto;
	width: auto;
	max-width: none;
	padding-left: 0;
	padding-right: 0;
	color: #1f2724;
}

.row.eblog #content h1,
.row.eblog #content .mail_page_hadding {
	margin: 0 0 28px;
	color: #080b0a;
	font-size: clamp(34px, 5vw, 64px);
	font-weight: 900;
	line-height: 1.04;
	letter-spacing: 0;
}

.row.eblog #content > p,
.row.eblog #content > div:not(.row):not(.openthumbs) {
	color: #4f5a56;
	font-size: 17px;
	line-height: 1.75;
}

.eblog a {
	color: #507000;
	text-decoration: none;
	transition: color .2s ease, transform .2s ease, background .2s ease;
}

.eblog a:hover {
	color: #7caf00;
	text-decoration: none;
}

/* Chamons: sidebar do blog com busca e categorias em cards claros. */
.blog_categories {
	margin-bottom: 22px;
}

.blog_categories .search,
.search.popular_posts,
.search.tags {
	padding: 22px;
	border: 1px solid rgba(8, 11, 10, .08);
	border-radius: 8px;
	background: #ffffff;
	box-shadow: 0 18px 45px rgba(8, 11, 10, .07);
}

.blog_categories .search h4,
.search.popular_posts h4,
.latest_blog_wrapper h4,
.search.tags h4 {
	margin: 0 0 16px;
	color: #080b0a;
	font-size: 18px;
	font-weight: 900;
	text-transform: uppercase;
}

.blog_categories .search h4:after,
.search.popular_posts h4:after,
.latest_blog_wrapper h4:after,
.search.tags h4:after {
	content: "";
	display: block;
	width: 42px;
	height: 3px;
	margin-top: 10px;
	border-radius: 999px;
	background: #c3ff30;
}

#blogsearch {
	display: flex;
	width: 100%;
}

#blogsearch input[type="text"],
#product-search .form-control,
.eblog .form-control {
	height: 48px;
	border: 1px solid rgba(8, 11, 10, .12);
	border-radius: 8px;
	background: #ffffff;
	color: #17201d;
	box-shadow: none;
	font-size: 15px;
}

#blogsearch input[type="text"] {
	border-radius: 8px 0 0 8px;
}

#blogsearch .input-group-btn {
	width: auto;
}

#blogsearch button[type="button"] {
	height: 48px;
	border: 0;
	border-radius: 0 8px 8px 0;
	background: #c3ff30;
	color: #080b0a;
	font-weight: 900;
}

.blog_categories ul,
.search.tags ul,
.eblog ul {
	list-style: none;
}

.blog_categories .search ul,
.search.tags ul {
	margin: 0;
	padding: 0;
}

.blog_categories .search ul li {
	margin-bottom: 8px;
}

.blog_categories .search ul li a {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 9px 10px;
	border-radius: 8px;
	color: #3d4744;
	font-weight: 800;
}

.blog_categories .search ul li.active > a,
.blog_categories .search ul li a:hover {
	background: rgba(195, 255, 48, .2);
	color: #080b0a;
}

.blog_categories .search ul li a i {
	color: #8dc400;
}

/* Chamons: grade de posts com imagem preenchendo o card e leitura forte. */
.row.eblog #content > .row:has(> .update_post) {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 30px;
	margin-left: 0;
	margin-right: 0;
}

#eblog-home .row.eblog #content > .row:has(> .update_post),
#product-category .row.eblog #content > .row:has(> .update_post),
#product-search .row.eblog #content > .row:has(> .update_post),
#product-manufacturer .row.eblog #content > .row:has(> .update_post) {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: start;
}

.row.eblog #content > .row:has(> .update_post) > [class*="col-"],
.row.eblog #content > .row:has(> .update_post) > .update_post {
	float: none;
	width: auto;
	max-width: 100%;
	padding: 0;
	margin-left: 0;
	grid-column: auto;
}

.row.eblog #content > .row:has(> .update_post) > .update_post:first-child {
	grid-column: 1;
}

.eblog .update_post,
.ch-eblog-card {
	overflow: hidden;
	margin-bottom: 0;
	border: 1px solid rgba(8, 11, 10, .08);
	border-radius: 8px;
	background: #ffffff;
	box-shadow: 0 22px 55px rgba(8, 11, 10, .08);
}

.eblog .update_post .video-image,
.ch-eblog-card__media {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #111916;
}

.eblog .update_post .video-image a,
.ch-eblog-card__media {
	display: block;
	width: 100%;
	height: 100%;
}

.eblog .update_post .video-image img,
.ch-eblog-card__media img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	transition: transform .35s ease;
}

.eblog .update_post:hover .video-image img,
.ch-eblog-card:hover .ch-eblog-card__media img {
	transform: scale(1.04);
}

.eblog .update_post .update_post_text,
.ch-eblog-card__body {
	padding: 26px;
	background: #ffffff;
	color: #3f4b47;
}

.eblog .update_post .update_post_text h3,
.ch-eblog-card h3 {
	min-height: 0;
	margin: 0 0 14px;
	color: #080b0a;
	font-size: 25px;
	font-weight: 900;
	line-height: 1.14;
}

.eblog .update_post .update_post_text h3 a,
.ch-eblog-card h3 a {
	color: #080b0a;
}

.eblog .update_post .update_post_text h3:after {
	display: none;
}

.eblog .update_post .update_post_text span a,
.ch-eblog-card__meta span {
	display: inline-flex;
	align-items: center;
	margin: 0;
	padding: 5px 10px;
	border-radius: 999px;
	background: rgba(195, 255, 48, .2);
	color: #587800;
	font-size: 11px;
	font-weight: 900;
	font-style: normal;
	line-height: 1;
}

.ch-eblog-card__meta span a {
	color: inherit;
	font-weight: inherit;
}

.eblog .update_post .update_post_text p,
.ch-eblog-card p {
	margin: 0 0 18px;
	color: #55615d;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.72;
	text-align: left;
}

.eblog .update_post a.base_button,
.ch-eblog-card__footer .base_button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #080b0a;
	font-weight: 900;
	text-transform: uppercase;
}

.eblog .update_post .blogcomments,
.ch-eblog-card__footer .blogcomments {
	display: flex;
	gap: 10px;
	margin: 0;
	padding: 0;
	color: #6d7a75;
	font-weight: 800;
}

.eblog .update_post .blogcomments i {
	color: #95cf00;
}

/* Chamons: modulo de blog na home segue o mesmo card, mas com faixa propria. */
.ch-eblog-module {
	padding: 76px 15px 92px;
	overflow: hidden;
	background:
		linear-gradient(135deg, rgba(195, 255, 48, .14), transparent 34%),
		#ffffff;
}

.ch-eblog-module__head,
.ch-eblog-grid {
	max-width: 1450px;
	margin-left: auto;
	margin-right: auto;
}

.ch-eblog-module__head {
	margin-bottom: 34px;
}

.ch-eblog-module__head span {
	display: inline-flex;
	margin-bottom: 12px;
	padding: 8px 16px;
	border: 1px solid rgba(169, 255, 35, .72);
	border-radius: 999px;
	color: #6d9100;
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
}

.ch-eblog-module__head h2 {
	margin: 0;
	color: #080b0a;
	font-size: clamp(30px, 4vw, 48px);
	font-weight: 900;
	line-height: 1.08;
}

.ch-eblog-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 30px;
	padding: 0;
	align-items: stretch;
}

/* Chamons: os cards da home ficam independentes do layout das listagens internas do blog. */
.ch-eblog-module .ch-eblog-card {
	display: flex;
	flex-direction: column;
	min-height: 100%;
	box-shadow: 0 18px 44px rgba(8, 11, 10, .08);
}

.ch-eblog-module .ch-eblog-card__media {
	aspect-ratio: 16 / 9;
}

.ch-eblog-module .ch-eblog-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 24px 26px 26px;
}

.ch-eblog-module .ch-eblog-card__meta {
	margin-bottom: 18px;
}

.ch-eblog-module .ch-eblog-card h3 {
	font-size: 23px;
	line-height: 1.18;
}

.ch-eblog-module .ch-eblog-card p {
	margin-bottom: 22px;
}

.ch-eblog-module .ch-eblog-card__footer {
	margin-top: auto;
}

.ch-eblog-module__actions {
	display: flex;
	justify-content: center;
	max-width: 1450px;
	margin: 34px auto 0;
}

.ch-eblog-module__actions a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 0 28px;
	border-radius: 999px;
	background: #c3ff30;
	color: #080b0a;
	font-weight: 900;
	text-transform: uppercase;
	box-shadow: 0 14px 34px rgba(195, 255, 48, .28);
}

.ch-eblog-module__actions a:hover {
	background: #080b0a;
	color: #ffffff;
}

.ch-eblog-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 16px;
}

.ch-eblog-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

/* Chamons: pagina de post com imagem central, texto legivel e galeria adicional abaixo. */
#product-product .row.eblog {
	max-width: 1450px;
}

.eblog .openthumbs {
	max-width: 1040px;
	margin: 0 auto 42px;
	text-align: center;
}

.eblog .openthumbs > a {
	display: block;
	overflow: hidden;
	border-radius: 8px;
	box-shadow: 0 24px 70px rgba(8, 11, 10, .16);
}

.eblog .openthumbs > a img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: contain;
}

.eblog .subimages {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
	margin-top: 18px;
}

.eblog .subimages .images_silde {
	float: none;
	width: auto;
	padding: 0;
}

.eblog .subimages a {
	display: block;
	overflow: hidden;
	border-radius: 8px;
	border: 1px solid rgba(8, 11, 10, .08);
	background: #ffffff;
}

.eblog .subimages img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	display: block;
}

.eblog .shear_and_editer {
	margin: 0 0 28px;
}

.eblog .shear_and_editer .update_post_text {
	padding: 0;
	background: transparent;
	box-shadow: none;
}

.eblog ul.fullblogcomments {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
}

.eblog ul.fullblogcomments li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 9px 13px;
	border-radius: 999px;
	background: rgba(195, 255, 48, .2);
	color: #35403c;
	font-size: 13px;
	font-weight: 900;
}

.eblog ul.fullblogcomments li a {
	color: #35403c;
}

.eblog ul.fullblogcomments i {
	color: #83b400;
}

#product-product .row.eblog #content > .row:first-child {
	display: block;
}

#product-product .row.eblog #content > .row:first-child > .update_post_text,
#product-product .row.eblog #content > .row:first-child > div > .update_post_text {
	padding: 0;
	background: transparent;
	border: 0;
	box-shadow: none;
}

#product-product .row.eblog #content > .row:first-child > .update_post_text,
#product-product .row.eblog #content .shear_and_editer + .update_post_text {
	max-width: 980px;
	margin: 0 auto;
	color: #26312d;
	font-size: 18px;
	line-height: 1.85;
}

#product-product .row.eblog #content .shear_and_editer + .update_post_text p {
	color: #26312d;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.85;
}

#product-product .row.eblog #content .shear_and_editer + .update_post_text h2,
#product-product .row.eblog #content .shear_and_editer + .update_post_text h3,
#product-product .row.eblog #content .shear_and_editer + .update_post_text strong {
	color: #080b0a;
	font-weight: 900;
}

.dec_tags a {
	display: inline-flex;
	margin: 4px;
	padding: 6px 10px;
	border-radius: 999px;
	background: #edf5df;
	font-weight: 800;
}

.eblog #form-comment {
	max-width: 980px;
	margin: 40px auto 0;
	padding: 28px;
	border: 1px solid rgba(8, 11, 10, .08);
	border-radius: 8px;
	background: #ffffff;
	box-shadow: 0 18px 45px rgba(8, 11, 10, .07);
}

.eblog #form-comment h2,
.eblog h2,
.eblog h3 {
	color: #080b0a;
	font-weight: 900;
}

.eblog #button-comment,
.eblog .btn-primary,
#product-search #button-search {
	height: 48px;
	border: 0;
	border-radius: 999px;
	background: #c3ff30;
	color: #080b0a;
	font-weight: 900;
	box-shadow: 0 12px 34px rgba(195, 255, 48, .28);
}

/* Chamons: perfil do autor mais discreto, com imagem menor e arredondada. */
.eblog .auther_des {
	display: flex;
	align-items: center;
	gap: 28px;
	margin: 0 0 34px;
	padding: 28px;
	border: 1px solid rgba(8, 11, 10, .08);
	border-radius: 8px;
	background: #ffffff;
	box-shadow: 0 18px 45px rgba(8, 11, 10, .07);
}

.eblog .auther_des:before,
.eblog .auther_des:after {
	display: none;
}

.eblog .auther_des > [class*="col-"] {
	float: none;
	width: auto;
	padding: 0;
}

.eblog .auther_des > .col-sm-3 {
	flex: 0 0 150px;
}

.eblog .auther_des > .col-sm-9 {
	flex: 1 1 auto;
}

.eblog .auther_images {
	width: 150px;
	height: 150px;
	object-fit: contain;
	border-radius: 8px;
	background: #f5f7f2;
	padding: 14px;
}

.eblog .auther_des h1 {
	margin-bottom: 12px;
}

/* Chamons: criterios da busca destacados em card, com controles na mesma linha no desktop. */
.ch-eblog-search-panel {
	display: grid;
	grid-template-columns: minmax(220px, 1.2fr) minmax(190px, .8fr) auto auto minmax(130px, auto);
	align-items: end;
	gap: 14px;
	margin: 0 0 30px;
	padding: 22px;
	border: 1px solid rgba(8, 11, 10, .08);
	border-radius: 8px;
	background: #ffffff;
	box-shadow: 0 18px 45px rgba(8, 11, 10, .07);
}

.ch-eblog-search-panel__field {
	min-width: 0;
}

.ch-eblog-search-panel label,
#product-search label {
	color: #2f3a36;
	font-weight: 900;
}

.ch-eblog-search-panel__field label {
	display: block;
	margin-bottom: 8px;
	font-size: 13px;
	text-transform: uppercase;
}

.ch-eblog-search-panel__check {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 48px;
	margin: 0;
	padding: 0 12px;
	border-radius: 8px;
	background: #f5f8ef;
	white-space: nowrap;
}

.ch-eblog-search-panel__check input {
	margin: 0;
}

.ch-eblog-search-panel #button-search {
	width: 100%;
	min-width: 130px;
}

/* Chamons: na pagina de busca existe sidebar, entao o painel respeita o quadrante do conteudo. */
#product-search .ch-eblog-search-panel {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 1499px) {
	.ch-eblog-search-panel {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ch-eblog-search-panel #button-search {
		width: 100%;
	}
}

@media (max-width: 991px) {
	.row.eblog {
		display: block;
	}

	.row.eblog #content > .row:has(> .update_post),
	.ch-eblog-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.blog_categories {
		margin-bottom: 18px;
	}

	.eblog .subimages {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	/* Chamons: no mobile o blog ganha leitura de um card por vez, sem coluna dupla apertada. */
	.row.eblog #content > .row:has(> .update_post),
	.ch-eblog-grid {
		grid-template-columns: 1fr;
	}

	.row.eblog #content > .row {
		margin-left: 0;
		margin-right: 0;
	}

	.row.eblog #content .update_post,
	.row.eblog #content > .row:has(> .update_post) > .update_post,
	.row.eblog #content > .row:has(> .update_post) > [class*="col-"] {
		/* Chamons: sobrescreve as classes col-xs/col-sm do modulo para manter 1 post por linha no celular. */
		float: none !important;
		width: 100% !important;
		max-width: 100% !important;
		flex: 0 0 100% !important;
		grid-column: 1 / -1 !important;
	}

	.eblog .update_post:not(.ch-eblog-card) {
		display: block;
	}

	.ch-eblog-module {
		padding-left: 16px;
		padding-right: 16px;
	}

	.ch-eblog-module .ch-eblog-card__media {
		aspect-ratio: 4 / 3;
	}

	/* Chamons: no modulo da home o card precisa mostrar imagem e texto dentro do primeiro scroll. */
	.ch-eblog-module .ch-eblog-card {
		display: flex;
		width: 100%;
		max-width: 100%;
	}

	.ch-eblog-module .ch-eblog-card__body {
		display: flex;
		visibility: visible;
		opacity: 1;
	}
}

@media (max-width: 640px) {
	#product-category,
	#product-product,
	#product-search,
	#product-manufacturer,
	.ch-eblog-module {
		padding-left: 12px;
		padding-right: 12px;
	}

	.eblog .update_post .update_post_text,
	.ch-eblog-card__body {
		padding: 20px;
	}

	.ch-eblog-card__footer {
		align-items: flex-start;
		flex-direction: column;
	}

	.ch-eblog-search-panel {
		grid-template-columns: 1fr;
	}

	.ch-eblog-grid {
		grid-template-columns: 1fr;
	}

	.eblog .openthumbs {
		/* Chamons: respiro lateral para a imagem principal do post em telas estreitas. */
		box-sizing: border-box;
		padding-left: 12px;
		padding-right: 12px;
	}
}

@media (max-width: 399px) {
	/* Chamons: ajuste para Galaxy/Android abaixo de 400px, evitando card de blog só com imagem gigante. */
	.ch-eblog-module {
		padding: 56px 12px 64px;
	}

	.ch-eblog-module__head {
		margin-bottom: 22px;
	}

	.ch-eblog-module__head h2 {
		font-size: 30px;
		line-height: 1.08;
	}

	.ch-eblog-grid {
		gap: 22px;
	}

	.ch-eblog-module .ch-eblog-card__media {
		aspect-ratio: 16 / 10;
		max-height: 210px;
	}

	.ch-eblog-module .ch-eblog-card__body {
		padding: 18px 18px 20px;
	}

	.ch-eblog-module .ch-eblog-card__meta {
		gap: 8px;
		margin-bottom: 14px;
	}

	.ch-eblog-module .ch-eblog-card h3 {
		margin-bottom: 12px;
		font-size: 22px;
		line-height: 1.12;
	}

	.ch-eblog-module .ch-eblog-card p {
		margin-bottom: 16px;
		font-size: 14px;
		line-height: 1.55;
	}

	.ch-eblog-module__actions {
		margin-top: 24px;
	}
}
