.hm-wedding-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 32px;
}

.hm-elementor-wedding-grid {
	grid-template-columns: repeat(var(--hm-list-columns, 3), minmax(0, 1fr));
}

.hm-wedding-card {
	overflow: hidden;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 18px 45px rgba(25, 22, 21, 0.08);
}

.hm-editorial-showcase {
	--hm-editorial-gap: 32px;
	display: grid;
	gap: var(--hm-editorial-gap);
}

.hm-editorial-showcase__row,
.hm-editorial-showcase__focus-row {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: var(--hm-editorial-gap);
	align-items: start;
}

.hm-editorial-tile {
	min-width: 0;
	grid-column: var(--hm-editorial-column-start, auto) / span var(--hm-editorial-column-span, 3);
}

.hm-editorial-tile__link {
	display: flex;
	flex-direction: column;
	gap: 12px;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.hm-editorial-tile__media {
	position: relative;
	aspect-ratio: 5 / 4;
	overflow: hidden;
	border-radius: 22px;
	background: #f5f0ed;
	box-shadow: 0 18px 40px rgba(25, 22, 21, 0.08);
}

.hm-editorial-tile__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(24, 17, 13, 0.18);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

.hm-editorial-tile__img,
.hm-editorial-tile__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	transition: transform 0.35s ease;
}

.hm-editorial-tile__link:hover .hm-editorial-tile__img,
.hm-editorial-tile__link:hover .hm-editorial-tile__media img {
	transform: scale(1.03);
}

.hm-editorial-tile__caption {
	margin: 0;
	color: #675c58;
	font-size: 0.92rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	line-height: 1.5;
	text-align: center;
	text-transform: uppercase;
	text-wrap: balance;
}

.hm-editorial-showcase__focus {
	display: grid;
	grid-column: 4 / span 6;
	align-content: center;
	justify-items: center;
	align-self: center;
	min-height: 100%;
	padding: 22px 12px;
	text-align: center;
}

.hm-editorial-showcase__quote-block {
	--hm-editorial-quote-line-color: rgba(176, 125, 97, 0.22);
	--hm-editorial-quote-line-width: 3px;
	display: grid;
	justify-items: center;
	width: 100%;
	max-width: 540px;
}

.hm-editorial-showcase__quote-block--with-line {
	position: relative;
	padding-left: 34px;
}

.hm-editorial-showcase__quote-block--with-line::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: var(--hm-editorial-quote-line-width);
	height: min(160px, 72%);
	border-radius: 999px;
	background: var(--hm-editorial-quote-line-color);
	transform: translateY(-50%);
}

.hm-editorial-showcase__quote {
	margin: 0;
	border: 0;
	padding: 0;
	color: #b07d61;
	font-size: clamp(1.55rem, 2vw, 2.2rem);
	font-style: italic;
	line-height: 1.35;
	text-wrap: balance;
}

.hm-editorial-showcase__author {
	margin: 18px 0 0;
	color: #8c705d;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.5;
}

.hm-editorial-showcase__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 220px;
	margin-top: 26px;
	padding: 15px 28px;
	border-radius: 999px;
	background: #b58a74;
	box-shadow: 0 14px 32px rgba(181, 138, 116, 0.24);
	color: #fff;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.hm-editorial-showcase__button-label {
	display: inline-block;
}

.hm-editorial-showcase__button:hover,
.hm-editorial-showcase__button:focus-visible {
	background: #a97860;
	box-shadow: 0 18px 34px rgba(169, 120, 96, 0.28);
	transform: translateY(-2px);
}

.hm-editorial-showcase--hover-darken .hm-editorial-tile__link:hover .hm-editorial-tile__media::after,
.hm-editorial-showcase--hover-darken .hm-editorial-tile__link:focus-visible .hm-editorial-tile__media::after,
.hm-editorial-showcase--hover-zoom-darken .hm-editorial-tile__link:hover .hm-editorial-tile__media::after,
.hm-editorial-showcase--hover-zoom-darken .hm-editorial-tile__link:focus-visible .hm-editorial-tile__media::after {
	opacity: 1;
}

.hm-editorial-showcase--hover-zoom .hm-editorial-tile__link:hover .hm-editorial-tile__img,
.hm-editorial-showcase--hover-zoom .hm-editorial-tile__link:focus-visible .hm-editorial-tile__img,
.hm-editorial-showcase--hover-zoom-darken .hm-editorial-tile__link:hover .hm-editorial-tile__img,
.hm-editorial-showcase--hover-zoom-darken .hm-editorial-tile__link:focus-visible .hm-editorial-tile__img {
	transform: scale(1.04);
}

.hm-wedding-card__link {
	display: block;
	position: relative;
	color: inherit;
	text-decoration: none;
}

.hm-editorial-tile__link {
	position: relative;
}

.hm-wedding-card__link::before,
.hm-editorial-tile__link::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: rgba(255, 255, 255, 0.36);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease;
}

.hm-wedding-card__link::after,
.hm-editorial-tile__link::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 28px;
	height: 28px;
	margin: -14px 0 0 -14px;
	border: 2px solid rgba(176, 125, 97, 0.22);
	border-top-color: rgba(176, 125, 97, 0.92);
	border-radius: 999px;
	opacity: 0;
	pointer-events: none;
	transform: scale(0.8);
	transition: opacity 0.2s ease, transform 0.2s ease;
	animation: hm-link-spinner 0.8s linear infinite;
}

.hm-wedding-card__link.hm-link-loading::before,
.hm-editorial-tile__link.hm-link-loading::before,
.hm-wedding-card__link.hm-link-loading::after,
.hm-editorial-tile__link.hm-link-loading::after {
	opacity: 1;
	transform: scale(1);
}

.hm-wedding-card__image picture,
.hm-wedding-card__image img,
.hm-single-wedding__featured-image picture,
.hm-single-wedding__featured-image img,
.hm-gallery-masonry picture,
.hm-gallery-masonry img {
	display: block;
	width: 100%;
	height: auto;
}

.hm-wedding-card__image {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #f5f0ed;
}

.hm-wedding-card__img,
.hm-wedding-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}

.hm-wedding-card__content {
	padding: 22px;
}

.hm-wedding-card__title {
	margin: 0 0 8px;
	font-size: 1.35rem;
}

.hm-wedding-card__subtitle {
	margin: 0;
	color: #675c58;
}

.hm-single-wedding {
	max-width: 1200px;
	margin: 0 auto;
	padding: 48px 20px 80px;
}

.hm-single-wedding__tabs {
	display: grid;
	gap: 32px;
}

.hm-single-wedding__tab-list {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 10px;
	width: fit-content;
	max-width: 100%;
	padding: 8px;
	border-radius: 999px;
	background: #f4ece7;
}

.hm-single-wedding__tab-button {
	appearance: none;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: #675c58;
	cursor: pointer;
	font: inherit;
	font-weight: 600;
	line-height: 1;
	padding: 14px 24px;
	transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.hm-single-wedding__tab-button:hover,
.hm-single-wedding__tab-button:focus-visible {
	background: rgba(255, 255, 255, 0.7);
	color: #18110d;
	outline: none;
}

.hm-single-wedding__tab-button.is-active {
	background: #ffffff;
	box-shadow: 0 12px 28px rgba(24, 17, 13, 0.1);
	color: #18110d;
}

.hm-single-wedding__tab-panel {
	min-width: 0;
}

.hm-single-wedding__info-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	gap: 32px;
	align-items: stretch;
}

.hm-single-wedding__info-card {
	display: flex;
	flex-direction: column;
	gap: 28px;
	height: 100%;
	padding: clamp(24px, 3vw, 36px);
	border: 1px solid #eadfd8;
	border-radius: 28px;
	background: #ffffff;
	box-shadow: 0 24px 60px rgba(24, 17, 13, 0.08);
}

.hm-single-wedding__hero-copy {
	display: grid;
	gap: 12px;
}

.hm-single-wedding__hero {
	display: grid;
	grid-template-columns: 1fr minmax(280px, 520px);
	gap: 36px;
	align-items: center;
	margin-bottom: 48px;
}

.hm-single-wedding__title {
	margin: 0 0 12px;
	font-size: clamp(2.2rem, 5vw, 4rem);
	line-height: 1;
}

.hm-single-wedding__subtitle {
	margin: 0;
	font-size: 1.1rem;
	color: #675c58;
}

.hm-single-wedding__featured-image {
	flex: 1 1 auto;
}

.hm-single-wedding__featured-image img {
	display: block;
	width: 100%;
	min-height: 320px;
	height: 100%;
	object-fit: cover;
	border-radius: 24px;
}

.hm-single-wedding__content,
.hm-single-wedding__testimonial,
.hm-single-wedding__gallery,
.hm-single-wedding__info {
	margin: 0;
}

.hm-single-wedding__content > :first-child,
.hm-single-wedding__info > :first-child,
.hm-single-wedding__testimonial > :first-child,
.hm-single-wedding__gallery > :first-child {
	margin-top: 0;
}

.hm-single-wedding__content > :last-child,
.hm-single-wedding__info > :last-child,
.hm-single-wedding__testimonial > :last-child,
.hm-single-wedding__gallery > :last-child {
	margin-bottom: 0;
}

.hm-single-wedding__info h2,
.hm-single-wedding__testimonial h2 {
	margin: 0 0 14px;
	color: #8a766d;
	font-size: 0.9rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.hm-single-wedding__info p {
	margin: 0;
	line-height: 1.8;
	color: #3b302c;
}

.hm-single-wedding__empty-gallery {
	margin: 0;
	padding: 28px 32px;
	border-radius: 22px;
	background: #fbf7f5;
	color: #675c58;
}

.hm-shortcode-subtitle {
	margin: 0;
	color: #675c58;
	font-size: 1.1rem;
	line-height: 1.6;
}

.hm-single-wedding__testimonial blockquote {
	margin: 0;
	padding: 24px 28px;
	border-left: 4px solid #d9c8c0;
	background: #fbf7f5;
	font-size: 1.15rem;
	line-height: 1.6;
}

.hm-gallery-masonry {
	column-count: 3;
	column-gap: 20px;
}

.hm-gallery-masonry--enhanced {
	display: grid;
	grid-auto-flow: row;
	grid-auto-rows: 1px;
	grid-template-columns: repeat(var(--hm-gallery-columns, 3), minmax(0, 1fr));
	column-count: unset;
	column-gap: 0;
	row-gap: var(--hm-gallery-gap, 20px);
	column-gap: var(--hm-gallery-gap, 20px);
	align-items: start;
}

.hm-gallery-masonry--shortcode {
	column-count: var(--hm-gallery-columns, 3);
	column-gap: var(--hm-gallery-gap, 20px);
}

.hm-gallery-masonry--grid {
	display: grid;
	grid-template-columns: repeat(var(--hm-gallery-columns, 3), minmax(0, 1fr));
	column-count: unset;
	column-gap: var(--hm-gallery-gap, 20px);
	row-gap: var(--hm-gallery-gap, 20px);
}

.hm-gallery-masonry__item {
	break-inside: avoid;
	margin: 0 0 20px;
	background: transparent;
}

.hm-gallery-masonry--enhanced .hm-gallery-masonry__item {
	margin: 0;
}

.hm-gallery-masonry--grid .hm-gallery-masonry__item {
	margin: 0;
}

.hm-gallery-masonry--shortcode:not(.hm-gallery-masonry--enhanced) .hm-gallery-masonry__item {
	margin-bottom: var(--hm-gallery-gap, 20px);
}

.hm-gallery-masonry__media {
	position: relative;
	overflow: hidden;
	border-radius: 18px;
	background: var(--hm-gallery-corner-fill, transparent);
	isolation: isolate;
}

.hm-gallery-masonry__link {
	display: block;
	position: relative;
	overflow: hidden;
	color: inherit;
	text-decoration: none;
}

.hm-gallery-masonry__media,
.hm-gallery-masonry__link,
.hm-gallery-masonry__media picture,
.hm-gallery-masonry__item img {
	border-radius: inherit;
	outline: 1px solid transparent;
	-webkit-mask-image: -webkit-radial-gradient(white, black);
}

.hm-gallery-masonry__media picture {
	display: block;
	overflow: hidden;
	background: var(--hm-gallery-corner-fill, transparent);
}

.hm-gallery-masonry__media,
.hm-gallery-masonry__link,
.hm-gallery-masonry__media picture,
.hm-gallery-masonry__item img {
	clip-path: inset(0 round inherit);
}

.hm-gallery-masonry__image {
	display: block;
	width: 100%;
	height: auto;
	border-radius: inherit;
	background: var(--hm-gallery-corner-fill, transparent);
}

.hm-gallery-masonry__link[data-hm-lightbox="true"] {
	cursor: zoom-in;
}

.hm-gallery-masonry__link::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: rgba(24, 17, 13, var(--hm-gallery-hover-overlay-opacity, 0.18));
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

.hm-gallery-masonry__item img {
	background: var(--hm-gallery-corner-fill, transparent);
	backface-visibility: hidden;
	transform: translateZ(0);
	transition: transform 0.35s ease;
}

.hm-gallery-masonry__caption {
	margin-top: 10px;
	color: #675c58;
	font-size: 0.95rem;
	line-height: 1.5;
}

.hm-lightbox-open {
	overflow: hidden;
}

.hm-lightbox {
	--hm-lightbox-overlay-color: rgba(22, 16, 12, 0.82);
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: var(--hm-lightbox-overlay-color);
}

.hm-lightbox[hidden] {
	display: none;
}

.hm-lightbox__backdrop {
	position: absolute;
	inset: 0;
	background: var(--hm-lightbox-overlay-color);
	backdrop-filter: blur(4px);
}

.hm-lightbox__dialog {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	width: min(100%, 1280px);
	max-height: min(100%, 92vh);
	gap: 24px;
	padding: 0 24px;
	background: transparent;
	box-shadow: none;
	outline: none;
}

.hm-lightbox__image-wrap {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: visible;
	max-height: calc(92vh - 110px);
	background: transparent;
}

.hm-lightbox__image {
	display: block;
	width: auto;
	max-width: min(100vw - 208px, 100%);
	height: auto;
	max-height: calc(92vh - 110px);
	object-fit: contain;
}

.hm-lightbox__nav {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border: 0 !important;
	border-radius: 0 !important;
	padding: 0;
	background: transparent !important;
	color: #fff !important;
	font-size: 48px;
	font-weight: 400;
	line-height: 1;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	box-shadow: none !important;
	outline: none !important;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
	-webkit-tap-highlight-color: transparent;
	transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.hm-lightbox__nav::before,
.hm-lightbox__nav::after {
	display: none !important;
	content: none !important;
}

.hm-lightbox__nav:hover,
.hm-lightbox__nav:focus,
.hm-lightbox__nav:focus-visible,
.hm-lightbox__nav:active {
	background: transparent !important;
	color: #fff !important;
	box-shadow: none !important;
	outline: none !important;
	opacity: 0.82;
	transform: scale(1.04);
}

.hm-lightbox__nav[hidden] {
	display: none;
}

.hm-gallery-masonry--hover-zoom .hm-gallery-masonry__item:hover img {
	transform: scale(1.04);
}

.hm-gallery-masonry--hover-darken .hm-gallery-masonry__item:hover .hm-gallery-masonry__link::after,
.hm-gallery-masonry--hover-zoom-darken .hm-gallery-masonry__item:hover .hm-gallery-masonry__link::after {
	opacity: 1;
}

.hm-gallery-masonry--hover-zoom-darken .hm-gallery-masonry__item:hover img {
	transform: scale(1.04);
}

.hm-gallery-masonry--hover-lift .hm-gallery-masonry__item {
	transition: transform 0.3s ease;
}

.hm-gallery-masonry--hover-lift .hm-gallery-masonry__item:hover {
	transform: translateY(-5px);
}

.hm-shortcode-testimonial,
.hm-shortcode-gallery {
	margin-top: 32px;
}

.hm-elementor-subtitle,
.hm-elementor-testimonial,
.hm-elementor-gallery,
.hm-elementor-admin-link {
	width: 100%;
}

.hm-elementor-admin-link__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 46px;
	padding: 12px 22px;
	border-radius: 999px;
	background: #b07d61;
	box-shadow: 0 14px 30px rgba(176, 125, 97, 0.24);
	color: #fff;
	font-size: 0.98rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hm-elementor-admin-link__button:hover,
.hm-elementor-admin-link__button:focus-visible {
	background: #9e6d54;
	box-shadow: 0 16px 34px rgba(158, 109, 84, 0.28);
	transform: translateY(-1px);
}

.hm-elementor-placeholder {
	display: grid;
	gap: 12px;
	padding: 18px 20px;
	border: 1px dashed rgba(120, 108, 99, 0.4);
	border-radius: 18px;
	background: rgba(250, 245, 241, 0.72);
}

.hm-elementor-placeholder__label {
	display: inline-flex;
	width: fit-content;
	padding: 5px 9px;
	border-radius: 999px;
	background: rgba(184, 108, 82, 0.12);
	color: #92523c;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.hm-elementor-placeholder__note,
.hm-elementor-placeholder__text {
	margin: 0;
	color: #6d6158;
	font-size: 0.92rem;
	line-height: 1.6;
}

.hm-elementor-placeholder__media {
	display: block;
	width: 100%;
	min-height: 100%;
	border-radius: inherit;
	background: linear-gradient(135deg, rgba(184, 108, 82, 0.14), rgba(214, 198, 188, 0.4));
}

.hm-elementor-placeholder__media--gallery {
	aspect-ratio: 4 / 5;
	background-color: var(--hm-gallery-corner-fill, transparent);
	background-image: linear-gradient(135deg, rgba(184, 108, 82, 0.14), rgba(214, 198, 188, 0.4));
}

.hm-elementor-placeholder-card .hm-wedding-card__link {
	pointer-events: none;
}

.hm-elementor-placeholder-card .hm-wedding-card__title,
.hm-elementor-placeholder-card .hm-wedding-card__subtitle {
	pointer-events: none;
}

.hm-elementor-placeholder--gallery .hm-elementor-gallery__grid,
.hm-elementor-placeholder--list .hm-elementor-wedding-grid {
	width: 100%;
}

.hm-elementor-placeholder--gallery .hm-gallery-masonry__item,
.hm-elementor-placeholder--list .hm-wedding-card {
	pointer-events: none;
}

.hm-elementor-placeholder--gallery .hm-gallery-masonry__caption {
	margin-top: 8px;
}

.single-hm_wedding .site-content,
.single-hm_wedding .site-main {
	padding-top: 0;
}

.single-hm_wedding .site-content > .ast-container,
.single-hm_wedding .site-content .ast-container,
.single-hm_wedding .site-content .ast-container-fluid,
.single-hm_wedding #primary,
.single-hm_wedding .entry-content,
.single-hm_wedding .elementor-location-single,
.single-hm_wedding .elementor-location-single > * {
	width: 100%;
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
}

.single-hm_wedding .site-content > .ast-container,
.single-hm_wedding .site-content .ast-container,
.single-hm_wedding .site-content .ast-container-fluid,
.single-hm_wedding #primary {
	padding-left: 0;
	padding-right: 0;
}

.hm-shortcode-testimonial__title,
.hm-shortcode-gallery__title {
	margin: 0 0 18px;
	font-size: clamp(1.4rem, 2vw, 1.9rem);
	line-height: 1.2;
}

.hm-elementor-testimonial__title {
	margin: 0 0 12px;
	font-size: clamp(1.25rem, 1.8vw, 1.7rem);
	line-height: 1.3;
}

.hm-elementor-testimonial__text {
	margin: 0;
	color: inherit;
	font-size: 1.05rem;
	line-height: 1.8;
	white-space: normal;
}

.hm-shortcode-testimonial__quote {
	margin: 0;
	padding: 24px 28px;
	border-left: 4px solid #d9c8c0;
	border-radius: 18px;
	background: #fbf7f5;
	font-size: 1.15rem;
	line-height: 1.6;
}

.hm-shortcode-testimonial__quote p,
.hm-elementor-testimonial__text p,
.hm-single-wedding__testimonial blockquote p {
	margin: 0;
}

.hm-shortcode-testimonial__quote p + p,
.hm-elementor-testimonial__text p + p,
.hm-single-wedding__testimonial blockquote p + p {
	margin-top: 1em;
}

@keyframes hm-link-spinner {
	to {
		transform: rotate(360deg);
	}
}

.hm-shortcode-info__text {
	display: grid;
	gap: 0.85em;
}

.hm-shortcode-info__text > * {
	margin: 0;
}

@media (max-width: 900px) {
	.hm-elementor-wedding-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hm-editorial-showcase__row,
	.hm-editorial-showcase__focus-row {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}

	.hm-editorial-showcase__focus {
		grid-column: 1 / -1;
		order: 2;
	}

	.hm-editorial-showcase__focus-side,
	.hm-editorial-showcase__row .hm-editorial-tile {
		grid-column: auto / span 3 !important;
	}

	.hm-gallery-masonry--grid,
	.hm-gallery-masonry--enhanced {
		grid-template-columns: repeat(min(2, var(--hm-gallery-columns, 2)), minmax(0, 1fr));
	}

	.hm-single-wedding__info-grid,
	.hm-single-wedding__hero {
		grid-template-columns: 1fr;
	}

	.hm-single-wedding__tab-list {
		width: 100%;
	}

	.hm-gallery-masonry:not(.hm-gallery-masonry--enhanced) {
		column-count: 2;
	}

	.hm-gallery-masonry--shortcode:not(.hm-gallery-masonry--enhanced) {
		column-count: min(2, var(--hm-gallery-columns, 2));
	}
}

@media (max-width: 600px) {
	.hm-elementor-wedding-grid {
		grid-template-columns: 1fr;
	}

	.hm-editorial-showcase__row,
	.hm-editorial-showcase__focus-row {
		grid-template-columns: 1fr;
	}

	.hm-editorial-showcase__focus,
	.hm-editorial-showcase__focus-side,
	.hm-editorial-showcase__row .hm-editorial-tile {
		grid-column: auto;
	}

	.hm-single-wedding__tab-button {
		flex: 1 1 100%;
		text-align: center;
	}

	.hm-editorial-showcase__focus {
		padding: 14px 0 6px;
	}

	.hm-editorial-showcase__quote-block--with-line {
		padding-left: 0;
	}

	.hm-editorial-showcase__quote-block--with-line::before {
		display: none;
	}

	.hm-editorial-showcase__quote {
		font-size: 1.4rem;
	}

	.hm-editorial-showcase__button {
		width: 100%;
		min-width: 0;
	}

	.hm-wedding-card__img,
	.hm-wedding-card__image img,
	.hm-editorial-tile__img,
	.hm-editorial-tile__media img {
		object-position: var(--hm-mobile-image-focus-position, center center);
	}

	.hm-gallery-masonry--grid,
	.hm-gallery-masonry--enhanced {
		grid-template-columns: 1fr;
	}

	.hm-gallery-masonry:not(.hm-gallery-masonry--enhanced) {
		column-count: 1;
	}

	.hm-gallery-masonry--shortcode:not(.hm-gallery-masonry--enhanced) {
		column-count: 1;
	}

	.hm-lightbox {
		padding: 14px;
	}

	.hm-lightbox__dialog {
		gap: 16px;
		padding: 0 8px;
	}

	.hm-lightbox__image-wrap,
	.hm-lightbox__image {
		max-height: calc(92vh - 96px);
	}

	.hm-lightbox__image {
		max-width: min(100vw - 116px, 100%);
	}

	.hm-lightbox__nav {
		width: 52px;
		height: 52px;
		font-size: 40px;
	}

	.hm-elementor-admin-link__button {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hm-gallery-masonry__link::after,
	.hm-gallery-masonry__item img,
	.hm-gallery-masonry--hover-lift .hm-gallery-masonry__item,
	.hm-wedding-card__link::before,
	.hm-wedding-card__link::after,
	.hm-editorial-tile__link::before,
	.hm-editorial-tile__link::after,
	.hm-lightbox__nav,
	.hm-elementor-admin-link__button {
		transition: none;
	}
}
