/* Button selectors carry their class twice (.x.x) so they outrank Elementor's global button style
   (.elementor-kit-N button) but stay below each widget's own Elementor settings. */
/* Significo content widgets, group E (queries and grids). One block per widget, in widget order. */

/* Posts Grid */

.sgc-post-card2 {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.sgc-post-card2__media {
	display: block;
	overflow: hidden;
}

.sgc-post-card2__media .sgc-img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.sgc-post-card2:hover .sgc-post-card2__media .sgc-img {
	transform: scale(1.04);
}

.sgc-post-card2__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 10px;
	padding-top: 16px;
}

.sgc-post-card2__cat {
	align-self: flex-start;
	padding: 3px 10px;
	border-radius: calc(999px * var(--sg-radius-scale, 1));
	background: color-mix(in srgb, var(--e-global-color-accent, #a85a14) 14%, transparent);
	color: var(--e-global-color-accent, #a85a14);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.sgc-post-card2__title {
	margin: 0;
	font-size: 1.2rem;
	line-height: 1.3;
}

.sgc-post-card2__title a {
	color: inherit;
	text-decoration: none;
}

.sgc-post-card2__excerpt {
	margin: 0;
	color: color-mix(in srgb, currentColor 85%, transparent);
}

.sgc-post-card2__more {
	margin-top: auto;
	color: var(--e-global-color-accent, #a85a14);
	font-weight: 600;
	text-decoration: none;
}

/* Image beside */
.sgc-posts-grid--side .sgc-post-card2 {
	flex-direction: row;
	gap: 20px;
}

.sgc-posts-grid--side .sgc-post-card2__media {
	flex: 0 0 40%;
}

.sgc-posts-grid--side .sgc-post-card2__body {
	padding-top: 0;
}

/* Text over image */
.sgc-posts-grid--overlay .sgc-post-card2__media .sgc-img {
	aspect-ratio: 3 / 4;
}

.sgc-posts-grid--overlay .sgc-post-card2__body {
	position: absolute;
	inset: auto 0 0;
	padding: 24px;
	background: linear-gradient(transparent, rgb(0 0 0 / 0.75));
	color: #fff;
}

.sgc-posts-grid--overlay .sgc-post-card2__excerpt,
.sgc-posts-grid--overlay .sgc-post-card2__more {
	color: #fff;
}

@media (max-width: 767px) {
	.sgc-posts-grid--side .sgc-post-card2 {
		flex-direction: column;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sgc-post-card2:hover .sgc-post-card2__media .sgc-img {
		transform: none;
	}
}

/* Posts List */

.sgc-posts-list {
	--sgc-thumb: 72px;
	--sgc-list-gap: 16px;
	--sgc-divider: rgb(0 0 0 / 0.1);
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: sgc-list;
}

.sgc-posts-list__item {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: calc(var(--sgc-list-gap) / 2) 0;
	counter-increment: sgc-list;
}

.sgc-posts-list--dividers-yes .sgc-posts-list__item + .sgc-posts-list__item {
	border-top: 1px solid var(--sgc-divider);
}

.sgc-posts-list__num {
	display: none;
}

.sgc-posts-list--numbered .sgc-posts-list__num {
	display: block;
	flex: 0 0 auto;
	min-width: 1.6em;
	color: var(--e-global-color-accent, #a85a14);
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1;
}

.sgc-posts-list--numbered .sgc-posts-list__num::before {
	content: counter(sgc-list, decimal-leading-zero);
}

.sgc-posts-list__media {
	flex: 0 0 var(--sgc-thumb);
	overflow: hidden;
	border-radius: calc(8px * var(--sg-radius-scale, 1));
}

.sgc-posts-list__media .sgc-img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.sgc-posts-list__item:hover .sgc-posts-list__media .sgc-img {
	transform: scale(1.06);
}

.sgc-posts-list__body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.sgc-posts-list__title {
	margin: 0;
	font-size: 1rem;
	line-height: 1.35;
}

.sgc-posts-list__title a {
	color: inherit;
	text-decoration: none;
}

.sgc-posts-list__title a:hover {
	color: var(--e-global-color-accent, #a85a14);
}

.sgc-posts-list__date {
	font-size: 0.85rem;
	color: color-mix(in srgb, currentColor 70%, transparent);
}

/* Featured Posts */

.sgc-featured-posts {
	--sgc-gap: 20px;
	--sgc-featured-h: 520px;
	--sgc-overlay: rgb(0 0 0 / 0.72);
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
	gap: var(--sgc-gap);
}

.sgc-featured-posts__side {
	display: grid;
	grid-template-rows: repeat(var(--sgc-small-count, 2), minmax(0, 1fr));
	gap: var(--sgc-gap);
}

.sgc-featured-posts__item {
	position: relative;
	min-height: 180px;
	overflow: hidden;
	border-radius: calc(12px * var(--sg-radius-scale, 1));
	background: #1f2937;
	color: #fff;
}

.sgc-featured-posts__item--large {
	min-height: var(--sgc-featured-h);
}

.sgc-featured-posts__media,
.sgc-featured-posts__media .sgc-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sgc-featured-posts__media .sgc-img {
	transition: transform 0.6s ease;
}

.sgc-featured-posts__item:hover .sgc-featured-posts__media .sgc-img {
	transform: scale(1.05);
}

.sgc-featured-posts__body {
	position: absolute;
	inset: auto 0 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	padding: 20px;
	background: linear-gradient(transparent, var(--sgc-overlay));
}

.sgc-featured-posts__item--large .sgc-featured-posts__body {
	padding: 32px;
}

.sgc-featured-posts__cat {
	padding: 3px 10px;
	border-radius: calc(999px * var(--sg-radius-scale, 1));
	background: var(--e-global-color-accent, #a85a14);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.sgc-featured-posts__title {
	margin: 0;
	color: inherit;
	font-size: 1.1rem;
	line-height: 1.3;
}

.sgc-featured-posts__item--large .sgc-featured-posts__title {
	font-size: clamp(1.4rem, 2.5vw, 2rem);
}

.sgc-featured-posts__link {
	color: inherit;
	text-decoration: none;
}

/* The whole tile is clickable. */
.sgc-featured-posts__link::after {
	content: "";
	position: absolute;
	inset: 0;
}

.sgc-featured-posts__link:focus-visible {
	outline: none;
}

.sgc-featured-posts__item:focus-within {
	outline: 2px solid var(--e-global-color-accent, #a85a14);
	outline-offset: 2px;
}

.sgc-featured-posts__excerpt {
	margin: 0;
	max-width: 60ch;
	color: color-mix(in srgb, currentColor 90%, transparent);
}

.sgc-featured-posts__date {
	font-size: 0.85rem;
	color: color-mix(in srgb, currentColor 85%, transparent);
}

/* Large post on top */
.sgc-featured-posts--top .sgc-featured-posts {
	grid-template-columns: minmax(0, 1fr);
}

.sgc-featured-posts--top .sgc-featured-posts__side {
	grid-template-rows: none;
	grid-template-columns: repeat(var(--sgc-small-count, 3), minmax(0, 1fr));
}

.sgc-featured-posts--top .sgc-featured-posts__side .sgc-featured-posts__item {
	min-height: 240px;
}

@media (max-width: 1024px) {
	.sgc-featured-posts {
		grid-template-columns: minmax(0, 1fr);
	}

	.sgc-featured-posts__side,
	.sgc-featured-posts--top .sgc-featured-posts__side {
		grid-template-rows: none;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.sgc-featured-posts__item--large {
		min-height: min(var(--sgc-featured-h), 440px);
	}
}

@media (max-width: 767px) {
	.sgc-featured-posts__side,
	.sgc-featured-posts--top .sgc-featured-posts__side {
		grid-template-columns: minmax(0, 1fr);
	}

	.sgc-featured-posts__side .sgc-featured-posts__item {
		min-height: 220px;
	}
}

/* Portfolio Grid */

.sgc-portfolio__item {
	position: relative;
	overflow: hidden;
	border-radius: calc(10px * var(--sg-radius-scale, 1));
	background: #e5e7eb;
}

.sgc-portfolio__link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.sgc-portfolio__media .sgc-img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.sgc-portfolio--masonry .sgc-portfolio__media .sgc-img {
	aspect-ratio: auto;
	height: auto;
}

.sgc-portfolio__overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 6px;
	padding: 24px;
	background: linear-gradient(transparent 30%, rgb(17 24 39 / 0.85));
	color: #fff;
	opacity: 0;
	transition: opacity 0.35s ease;
}

.sgc-portfolio__title {
	margin: 0;
	color: inherit;
	font-size: 1.2rem;
	line-height: 1.3;
	transform: translateY(10px);
	transition: transform 0.35s ease;
}

.sgc-portfolio__cat {
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: color-mix(in srgb, currentColor 85%, transparent);
}

.sgc-portfolio__link:hover .sgc-portfolio__overlay,
.sgc-portfolio__link:focus-visible .sgc-portfolio__overlay {
	opacity: 1;
}

.sgc-portfolio__link:hover .sgc-portfolio__title,
.sgc-portfolio__link:focus-visible .sgc-portfolio__title {
	transform: none;
}

.sgc-portfolio__link:hover .sgc-img {
	transform: scale(1.05);
}

.sgc-portfolio__link:focus-visible {
	outline: 3px solid var(--e-global-color-accent, #a85a14);
	outline-offset: -3px;
}

/* Touch screens have no hover: keep the overlay visible. */
@media (hover: none) {
	.sgc-portfolio__overlay {
		opacity: 1;
	}

	.sgc-portfolio__title {
		transform: none;
	}
}

/* Masonry: CSS columns. */
.sgc-portfolio--masonry .sgc-portfolio__items {
	display: block;
	columns: var(--sgc-cols, 3);
	column-gap: var(--sgc-gap, 24px);
}

.sgc-portfolio--masonry .sgc-portfolio__item {
	margin-bottom: var(--sgc-gap, 24px);
	break-inside: avoid;
}

.sgc-portfolio__items > [hidden] {
	display: none;
}

/* Products Grid */

.sgc-product {
	position: relative;
	display: flex;
	flex-direction: column;
}

.sgc-product__media {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: calc(10px * var(--sg-radius-scale, 1));
	background: #f3f4f6;
}

.sgc-product__media .sgc-img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	transition: opacity 0.4s ease, transform 0.6s ease;
}

.sgc-product__top {
	position: relative;
}

.sgc-product__media .sgc-product__hover {
	position: absolute;
	inset: 0;
	height: 100%;
	opacity: 0;
}

/* Second image: pointer devices only (a tap would leave it stuck, and touch never fetches it). */
@media (hover: hover) {
	.sgc-product--has-hover:hover .sgc-product__hover {
		opacity: 1;
	}

	.sgc-product:not(.sgc-product--has-hover):hover .sgc-product__media .sgc-img {
		transform: scale(1.04);
	}
}

@media (hover: none) {
	.sgc-product__media .sgc-product__hover {
		display: none;
	}
}

.sgc-product__badges {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	max-width: calc(100% - 24px);
	pointer-events: none;
}

.sgc-product__badge {
	padding: 4px 10px;
	border-radius: calc(999px * var(--sg-radius-scale, 1));
	background: var(--e-global-color-accent, #a85a14);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.sgc-product__badge--new {
	background: #fff;
	color: #1f2937;
	box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.12);
}

.sgc-product__badge--sold-out {
	background: #1f2937;
	color: #fff;
}

/* "Button on hover" cards (Theme Options → Shop → Product card). */
.sgc-product__actions--hover {
	position: absolute;
	right: 12px;
	bottom: 12px;
	left: 12px;
	z-index: 2;
	margin: 0;
	padding: 0;
	text-align: center;
}

.sgc-product__actions--hover .sgc-product__button {
	width: 100%;
}

.sgc-product__actions--hover .added_to_cart {
	display: block;
	margin: 6px 0 0;
	padding: 6px;
	border-radius: calc(6px * var(--sg-radius-scale, 1));
	background: rgb(255 255 255 / 0.95);
	color: #1f2937;
}

@media (hover: hover) {
	.sgc-product__actions--hover {
		opacity: 0;
		transform: translateY(6px);
		transition: opacity 0.2s ease, transform 0.2s ease;
	}

	.sgc-product:hover .sgc-product__actions--hover,
	.sgc-product__actions--hover:focus-within,
	.sgc-product__actions--hover:has(.added_to_cart) {
		opacity: 1;
		transform: none;
	}
}

.sgc-product__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 6px;
	padding-top: 14px;
}

.sgc-product__title {
	margin: 0;
	font-size: 1.05rem;
	line-height: 1.3;
}

.sgc-product__title a {
	color: inherit;
	text-decoration: none;
}

.sgc-product__price {
	font-weight: 600;
}

.sgc-product__price del {
	margin-right: 6px;
	font-weight: 400;
	color: color-mix(in srgb, currentColor 70%, transparent);
}

.sgc-product__price ins {
	text-decoration: none;
}

.sgc-product__rating .star-rating {
	margin: 0;
	font-size: 0.85rem;
}

/* SVG stars from Testimonial::stars_html() (styled in widgets-b.css). */
.sgc-product__rating .sgc-stars {
	margin: 0;
	font-size: 0.95rem;
}

.sgc-product__actions {
	margin-top: auto;
	padding-top: 8px;
}

.sgc-product__actions .sgc-product__button {
	padding: 10px 18px;
	font-size: 0.9rem;
}

.sgc-product__button.loading {
	opacity: 0.6;
	cursor: progress;
}

.sgc-product__actions .added_to_cart {
	display: inline-block;
	margin-left: 10px;
	font-size: 0.9rem;
}

.sgc-woo-notice {
	padding: 16px;
	border: 1px dashed #d1d5db;
	border-radius: calc(8px * var(--sg-radius-scale, 1));
	text-align: center;
}

/* Product Categories */

.sgc-product-cats {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sgc-product-cats__item {
	position: relative;
	overflow: hidden;
}

.sgc-product-cats__link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.sgc-product-cats__media {
	overflow: hidden;
	border-radius: calc(10px * var(--sg-radius-scale, 1));
	background: #f3f4f6;
}

.sgc-product-cats__media .sgc-img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.sgc-product-cats__link:hover .sgc-img {
	transform: scale(1.05);
}

.sgc-product-cats__body {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding-top: 12px;
	text-align: center;
}

.sgc-product-cats__title {
	margin: 0;
	color: inherit;
	font-size: 1.05rem;
}

.sgc-product-cats__count {
	font-size: 0.85rem;
	color: color-mix(in srgb, currentColor 70%, transparent);
}

.sgc-product-cats--overlay .sgc-product-cats__item {
	border-radius: calc(10px * var(--sg-radius-scale, 1));
}

.sgc-product-cats--overlay .sgc-product-cats__body {
	position: absolute;
	inset: auto 0 0;
	padding: 20px;
	background: linear-gradient(transparent, rgb(0 0 0 / 0.7));
	color: #fff;
}

.sgc-product-cats__link:focus-visible {
	outline: 3px solid var(--e-global-color-accent, #a85a14);
	outline-offset: 2px;
}

/* Gallery */

.sgc-gallery {
	--sgc-row-h: 240px;
}

.sgc-gallery__item {
	position: relative;
	margin: 0;
	overflow: hidden;
}

.sgc-gallery__link {
	display: block;
}

.sgc-gallery .sgc-img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	transition: transform 0.5s ease, filter 0.3s ease;
}

.sgc-gallery-hover--zoom .sgc-gallery__item:hover .sgc-img {
	transform: scale(1.05);
}

.sgc-gallery-hover--dim .sgc-gallery__item:hover .sgc-img {
	filter: brightness(0.75);
}

.sgc-gallery__caption {
	position: absolute;
	inset: auto 0 0;
	padding: 10px 14px;
	background: linear-gradient(transparent, rgb(0 0 0 / 0.65));
	color: #fff;
	font-size: 0.85rem;
	pointer-events: none;
}

.sgc-gallery__link:focus-visible {
	outline: 3px solid var(--e-global-color-accent, #a85a14);
	outline-offset: -3px;
}

.sgc-gallery > [hidden] {
	display: none;
}

/* Masonry */
.sgc-gallery--masonry .sgc-gallery {
	display: block;
	columns: var(--sgc-cols, 3);
	column-gap: var(--sgc-gap, 24px);
}

/* Beats Elementor's ".elementor .elementor-widget:not(…) figure { margin: 0 }". */
.elementor .elementor-widget.sgc-gallery--masonry .sgc-gallery .sgc-gallery__item {
	margin-bottom: var(--sgc-gap, 24px);
	break-inside: avoid;
}

.sgc-gallery--masonry .sgc-gallery .sgc-img {
	aspect-ratio: auto;
	height: auto;
}

/* Justified rows: each image grows in proportion to its aspect ratio. */
.sgc-gallery--justified .sgc-gallery {
	display: flex;
	flex-wrap: wrap;
}

.sgc-gallery--justified .sgc-gallery::after {
	content: "";
	flex-grow: 999;
}

.sgc-gallery--justified .sgc-gallery__item {
	flex-grow: calc(var(--sgc-w) / var(--sgc-h));
	flex-basis: calc(var(--sgc-row-h) * var(--sgc-w) / var(--sgc-h));
}

.sgc-gallery--justified .sgc-gallery .sgc-img {
	aspect-ratio: auto;
	height: var(--sgc-row-h);
}

.sgc-gallery__more {
	margin-top: 32px;
	text-align: center;
}

@media (max-width: 767px) {
	.sgc-gallery--justified .sgc-gallery .sgc-img {
		height: calc(var(--sgc-row-h) * 0.7);
	}

	.sgc-gallery--justified .sgc-gallery__item {
		flex-basis: calc(var(--sgc-row-h) * 0.7 * var(--sgc-w) / var(--sgc-h));
	}
}

/* Bento Grid */

.sgc-bento {
	--sgc-row-h: 220px;
	--sgc-gap: 16px;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-rows: var(--sgc-row-h);
	grid-auto-flow: dense;
	gap: var(--sgc-gap);
}

.sgc-bento__tile {
	--sgc-overlay: rgb(17 24 39 / 0.75);
	position: relative;
	overflow: hidden;
	border-radius: calc(16px * var(--sg-radius-scale, 1));
	background: #1f2937;
	color: #fff;
}

.sgc-bento__tile--2x1 {
	grid-column: span 2;
}

.sgc-bento__tile--1x2 {
	grid-row: span 2;
}

.sgc-bento__tile--2x2 {
	grid-column: span 2;
	grid-row: span 2;
}

.sgc-bento__tile .sgc-bento__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.sgc-bento__tile:hover .sgc-bento__img {
	transform: scale(1.05);
}

.sgc-bento__body {
	position: absolute;
	inset: auto 0 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 24px;
	background: linear-gradient(transparent, var(--sgc-overlay));
}

.sgc-bento__title {
	margin: 0;
	color: inherit;
	font-size: 1.2rem;
	line-height: 1.25;
}

.sgc-bento__tile--2x2 .sgc-bento__title {
	font-size: clamp(1.4rem, 2.4vw, 2rem);
}

.sgc-bento__text {
	margin: 0;
	color: color-mix(in srgb, currentColor 90%, transparent);
}

.sgc-bento__link {
	color: inherit;
	text-decoration: none;
}

.sgc-bento__link::after {
	content: "";
	position: absolute;
	inset: 0;
}

.sgc-bento__tile:focus-within {
	outline: 3px solid var(--e-global-color-accent, #a85a14);
	outline-offset: 2px;
}

.sgc-bento__link:focus-visible {
	outline: none;
}

@media (max-width: 1024px) {
	.sgc-bento {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.sgc-bento {
		grid-template-columns: minmax(0, 1fr);
	}

	.sgc-bento__tile--2x1,
	.sgc-bento__tile--2x2 {
		grid-column: auto;
	}

	.sgc-bento__tile--2x2 {
		grid-row: span 2;
	}
}

/* Taxonomy List */

.sgc-terms {
	--sgc-terms-accent: var(--e-global-color-accent, #a85a14);
	--sgc-terms-gap: 4px;
	display: flex;
	flex-direction: column;
	gap: var(--sgc-terms-gap);
	margin: 0;
	padding: 0;
	list-style: none;
}

.sgc-terms__link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 8px 0;
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.sgc-terms__count {
	min-width: 2em;
	padding: 1px 8px;
	border-radius: calc(999px * var(--sg-radius-scale, 1));
	background: rgb(0 0 0 / 0.06);
	font-size: 0.8rem;
	text-align: center;
}

.sgc-terms__link:hover,
.sgc-terms__link.is-current {
	color: var(--sgc-terms-accent);
}

.sgc-terms__link.is-current {
	font-weight: 700;
}

.sgc-terms--list .sgc-terms__item + .sgc-terms__item {
	border-top: 1px solid rgb(0 0 0 / 0.08);
}

.sgc-terms--chips .sgc-terms {
	--sgc-terms-gap: 8px;
	flex-flow: row wrap;
}

.sgc-terms--chips .sgc-terms__link {
	padding: 6px 14px;
	border: 1px solid rgb(0 0 0 / 0.12);
	border-radius: calc(999px * var(--sg-radius-scale, 1));
}

.sgc-terms--chips .sgc-terms__count {
	padding: 0 6px;
}

.sgc-terms--chips .sgc-terms__link:hover,
.sgc-terms--chips .sgc-terms__link.is-current {
	border-color: var(--sgc-terms-accent);
	background: var(--sgc-terms-accent);
	color: #fff;
}

.sgc-terms--chips .sgc-terms__link:hover .sgc-terms__count,
.sgc-terms--chips .sgc-terms__link.is-current .sgc-terms__count {
	background: rgb(255 255 255 / 0.25);
}

/* Search Form */

.sgc-search {
	--sgc-search-h: 52px;
	--sgc-search-radius: 8px;
	position: relative;
}

.sgc-search__field {
	display: flex;
	align-items: stretch;
	min-height: var(--sgc-search-h);
	overflow: hidden;
	border: 1px solid rgb(0 0 0 / 0.15);
	border-radius: var(--sgc-search-radius);
	background: #fff;
}

.sgc-search__field:focus-within {
	border-color: var(--e-global-color-accent, #a85a14);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--e-global-color-accent, #a85a14) 25%, transparent);
}

.elementor-widget-significo-search-form .sgc-search__input {
	flex: 1;
	min-width: 0;
	margin: 0;
	padding: 0 16px;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	outline: none;
	box-shadow: none;
}

.sgc-search__input::-webkit-search-cancel-button {
	cursor: pointer;
}

.sgc-search .sgc-search__submit.sgc-search__submit {
	flex: 0 0 auto;
	border-radius: 0;
}

.sgc-search__submit.sgc-search__submit--icon {
	width: var(--sgc-search-h);
	padding: 0;
}

.sgc-search.is-loading .sgc-search__submit.sgc-search__submit svg {
	animation: sgc-search-pulse 0.9s ease-in-out infinite alternate;
}

@keyframes sgc-search-pulse {
	to {
		opacity: 0.35;
	}
}

.sgc-search__results {
	position: absolute;
	top: calc(100% + 6px);
	right: 0;
	left: 0;
	z-index: 100;
	max-height: 420px;
	margin: 0;
	padding: 6px;
	overflow-y: auto;
	border: 1px solid rgb(0 0 0 / 0.1);
	border-radius: var(--sgc-search-radius);
	background: #fff;
	box-shadow: 0 16px 40px rgb(0 0 0 / 0.12);
	color: #111827;
	list-style: none;
}

.sgc-search__results[hidden] {
	display: none;
}

.sgc-search__result a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px;
	border-radius: calc(6px * var(--sg-radius-scale, 1));
	color: inherit;
	text-decoration: none;
}

.sgc-search__result[aria-selected="true"] a,
.sgc-search__result a:hover {
	background: color-mix(in srgb, var(--e-global-color-accent, #a85a14) 12%, transparent);
}

.sgc-search__result .sgc-search__thumb {
	flex: 0 0 40px;
	width: 40px;
	height: 40px;
	border-radius: calc(6px * var(--sg-radius-scale, 1));
	object-fit: cover;
}

.sgc-search__thumb--empty {
	background: #e5e7eb;
}

.sgc-search__result-text {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.sgc-search__result-title {
	overflow: hidden;
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.sgc-search__result-type {
	font-size: 0.75rem;
	color: color-mix(in srgb, currentColor 70%, transparent);
}

.sgc-search__none {
	padding: 12px;
	color: color-mix(in srgb, currentColor 70%, transparent);
}

/* Author Box */

.sgc-author-box {
	--sgc-avatar: 96px;
	display: flex;
	align-items: flex-start;
	gap: 24px;
	padding: 28px;
	border-radius: calc(12px * var(--sg-radius-scale, 1));
	background: rgb(0 0 0 / 0.03);
}

.sgc-author-box__avatar {
	flex: 0 0 var(--sgc-avatar);
}

.sgc-author-box__avatar .sgc-img {
	width: var(--sgc-avatar);
	height: var(--sgc-avatar);
	border-radius: calc(50% * var(--sg-radius-scale, 1));
	object-fit: cover;
}

.sgc-author-box__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	min-width: 0;
}

.sgc-author-box__label {
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: color-mix(in srgb, currentColor 70%, transparent);
}

.sgc-author-box__name {
	margin: 0;
	font-size: 1.25rem;
}

.sgc-author-box__name a {
	color: inherit;
	text-decoration: none;
}

.sgc-author-box__name a:hover {
	color: var(--e-global-color-accent, #a85a14);
}

.sgc-author-box__bio p {
	margin: 0 0 0.6em;
}

.sgc-author-box__bio p:last-child {
	margin-bottom: 0;
}

.sgc-author-box__website {
	color: var(--e-global-color-accent, #a85a14);
	font-weight: 600;
	text-decoration: none;
}

.sgc-author-box--stacked .sgc-author-box {
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.sgc-author-box--stacked .sgc-author-box__body {
	align-items: center;
}

@media (max-width: 767px) {
	.sgc-author-box {
		flex-direction: column;
	}
}

/* Post Navigation */

.sgc-post-nav {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 24px;
}

.sgc-post-nav--borders-yes .sgc-post-nav {
	padding: 20px 0;
	border-top: 1px solid rgb(0 0 0 / 0.1);
	border-bottom: 1px solid rgb(0 0 0 / 0.1);
}

.sgc-post-nav__side--next {
	display: flex;
	justify-content: flex-end;
	text-align: right;
}

.sgc-post-nav__link {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	max-width: 100%;
	color: inherit;
	text-decoration: none;
}

.sgc-post-nav__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.sgc-post-nav__label {
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: color-mix(in srgb, currentColor 70%, transparent);
}

.sgc-post-nav__title {
	font-weight: 600;
	line-height: 1.35;
	transition: color 0.2s ease;
}

.sgc-post-nav__link:hover .sgc-post-nav__title {
	color: var(--e-global-color-accent, #a85a14);
}

.sgc-post-nav__arrow {
	flex: 0 0 auto;
	width: 24px;
	height: 24px;
	transition: transform 0.2s ease;
}

.sgc-post-nav__link--prev:hover .sgc-post-nav__arrow {
	transform: translateX(-4px);
}

.sgc-post-nav__link--next:hover .sgc-post-nav__arrow {
	transform: translateX(4px);
}

.sgc-post-nav__thumb {
	flex: 0 0 64px;
}

.sgc-post-nav__thumb .sgc-img {
	width: 64px;
	height: 64px;
	border-radius: calc(8px * var(--sg-radius-scale, 1));
	object-fit: cover;
}

@media (max-width: 767px) {
	.sgc-post-nav__thumb {
		display: none;
	}
}

/* Related Posts */

.sgc-related__heading {
	margin: 0 0 24px;
}

.sgc-related .sgc-post-meta {
	font-size: 0.85rem;
}

@media (prefers-reduced-motion: reduce) {
	.sgc-posts-list__media .sgc-img,
	.sgc-featured-posts__media .sgc-img,
	.sgc-portfolio__media .sgc-img,
	.sgc-portfolio__overlay,
	.sgc-portfolio__title,
	.sgc-product__media .sgc-img,
	.sgc-product__actions--hover,
	.sgc-product-cats__media .sgc-img,
	.sgc-gallery .sgc-img,
	.sgc-bento__tile .sgc-bento__img,
	.sgc-post-nav__arrow {
		transition: none;
	}

	.sgc-posts-list__item:hover .sgc-posts-list__media .sgc-img,
	.sgc-featured-posts__item:hover .sgc-featured-posts__media .sgc-img,
	.sgc-portfolio__link:hover .sgc-img,
	.sgc-product:hover .sgc-product__media .sgc-img:not(.sgc-product__hover),
	.sgc-product-cats__link:hover .sgc-img,
	.sgc-gallery__item:hover .sgc-img,
	.sgc-bento__tile:hover .sgc-bento__img,
	.sgc-post-nav__link:hover .sgc-post-nav__arrow {
		transform: none;
	}

	.sgc-search.is-loading .sgc-search__submit.sgc-search__submit svg {
		animation: none;
	}
}
