.sc-gallery-trigger {
	--sc-gallery-brand-gold: #8b6524;
	--sc-gallery-brand-gold-hover: #c8a45d;
	--sc-gallery-brand-ink: #11110d;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 18px;
	border: 1px solid var(--sc-gallery-brand-gold);
	border-radius: 0;
	background: transparent;
	color: var(--sc-gallery-brand-gold);
	font: inherit;
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: 0.035em;
	text-decoration: none;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.sc-gallery-trigger:hover,
.sc-gallery-trigger:focus-visible {
	border-color: var(--sc-gallery-brand-gold-hover);
	background: var(--sc-gallery-brand-gold-hover);
	color: var(--sc-gallery-brand-ink);
	text-decoration: none;
}

/* A szöveges galérialink az oldal „Bővebben” hivatkozásának saját változata. */
.sc-gallery-trigger--link {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-height: 0;
	padding: 0 6.2em 0 0;
	border: 0;
	background: transparent;
	color: var(--sc-gallery-brand-ink);
	font-size: 13px;
	font-weight: 600;
	line-height: 21px;
	letter-spacing: 0.8px;
	text-transform: uppercase;
	vertical-align: top;
	white-space: nowrap;
	appearance: none;
	cursor: pointer;
	transition: color 300ms ease;
}

.sc-gallery-trigger__link-thumbnail {
	display: block;
	flex: 0 0 40px;
	width: 40px;
	height: 40px;
	border: 1px solid #c8c4b7;
	background: #e7e2d4;
	overflow: hidden;
}

.sc-gallery-trigger__link-thumbnail-image {
	display: block;
	width: 40px;
	height: 40px;
	margin: 0;
	object-fit: cover;
}

.sc-gallery-trigger--link::after {
	content: "\e996";
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	top: 50%;
	right: 0;
	z-index: 1;
	width: 2.6em;
	height: 2.6em;
	border: 1px solid #c8c4b7;
	border-radius: 50%;
	color: currentColor;
	font-family: "fontello";
	font-size: 14px;
	font-weight: 400;
	line-height: 1;
	letter-spacing: -1px;
	transform: translateY(-50%);
	transition: border-color 300ms ease, border-width 300ms ease-out;
}

.sc-gallery-trigger--link::before {
	content: "";
	display: block;
	position: absolute;
	top: 50%;
	right: 1.2em;
	z-index: 2;
	width: 45px;
	height: 2px;
	border-radius: 0 2px 2px 0;
	background: currentColor;
	transform: translateY(-50%);
	transition: width 300ms ease-out, background-color 300ms ease;
	will-change: width;
}

.sc-gallery-trigger--link:hover,
.sc-gallery-trigger--link:focus-visible {
	border-color: transparent;
	background: transparent;
	color: var(--sc-gallery-brand-gold);
}

.sc-gallery-trigger--link:hover::before,
.sc-gallery-trigger--link:focus-visible::before {
	width: 0;
}

.sc-gallery-trigger--link:hover::after,
.sc-gallery-trigger--link:focus-visible::after {
	border-color: currentColor;
}

.sc-gallery-trigger--link:hover .sc-gallery-trigger__link-thumbnail,
.sc-gallery-trigger--link:focus-visible .sc-gallery-trigger__link-thumbnail {
	border-color: currentColor;
}

.sc-gallery-trigger--cover {
	display: block;
	position: relative;
	max-width: 100%;
	min-height: 0;
	padding: 0;
	overflow: hidden;
	border-color: rgb(200 164 93 / 60%);
	background: var(--sc-gallery-brand-ink);
	text-decoration: none;
}

.sc-gallery-trigger__media,
.sc-gallery-trigger__image {
	display: block;
	width: 100%;
}

.sc-gallery-trigger__image {
	height: auto;
	transition: transform 180ms ease-out, opacity 180ms ease-out;
}

.sc-gallery-trigger--cover .sc-gallery-trigger__label {
	display: flex;
	align-items: center;
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	min-height: 48px;
	padding: 10px 16px;
	border-top: 1px solid rgb(200 164 93 / 42%);
	background: linear-gradient(transparent, rgb(10 10 7 / 92%));
	color: #ead6a8;
	font-weight: 600;
	letter-spacing: 0.035em;
}

.sc-gallery-trigger--cover:hover .sc-gallery-trigger__image,
.sc-gallery-trigger--cover:focus-visible .sc-gallery-trigger__image {
	transform: scale(1.015);
	opacity: 0.92;
}

.sc-gallery-trigger:focus-visible {
	outline: 3px solid #c8a45d;
	outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
	.sc-gallery-trigger,
	.sc-gallery-trigger::before,
	.sc-gallery-trigger::after,
	.sc-gallery-trigger__image {
		transition: none;
	}
}
