/*
Theme Name: Impreza Child
Template: Impreza
Version: 1.0
Author:	UpSolution
Theme URI: http://impreza.us-themes.com/
Author URI: http://us-themes.com/
*/

/*Add your own styles here:*/

.grecaptcha-badge {
    display: none !important
}

.cmplz-links ul > li {
	list-style: none;
}

#cmplz-document {
	font-size: 1rem !important;
	max-width: 100%;
}
#cmplz-document h2 {
	font-size: 2.7rem;
	text-transform: uppercase;
}
#cmplz-document p,
.editor-styles-wrapper .cmplz-unlinked-mode p,
#cmplz-document li,
.editor-styles-wrapper .cmplz-unlinked-mode li,
#cmplz-document td,
.editor-styles-wrapper .cmplz-unlinked-mode td {
	font-size: 1rem !important;
}
#cmplz-cookies-overview .cmplz-dropdown .cookies-per-purpose,
#cmplz-document .cmplz-dropdown .cookies-per-purpose,
.editor-styles-wrapper .cmplz-unlinked-mode .cmplz-dropdown .cookies-per-purpose {
	margin-bottom: 0 !important;
}
#cmplz-cookies-overview .cmplz-dropdown summary,
#cmplz-document .cmplz-dropdown summary,
.editor-styles-wrapper .cmplz-unlinked-mode .cmplz-dropdown summary {
	margin: 0 !important;
}
#cmplz-cookies-overview .cmplz-dropdown .cmplz-service-description, #cmplz-document .cmplz-dropdown .cmplz-service-description, .editor-styles-wrapper .cmplz-unlinked-mode .cmplz-dropdown .cmplz-service-description, #cmplz-cookies-overview .cmplz-dropdown .cmplz-sharing-data, #cmplz-document .cmplz-dropdown .cmplz-sharing-data, .editor-styles-wrapper .cmplz-unlinked-mode .cmplz-dropdown .cmplz-sharing-data {
	padding: 15px !important;
}
#cmplz-cookies-overview .cmplz-dropdown, #cmplz-document .cmplz-dropdown, .editor-styles-wrapper .cmplz-unlinked-mode .cmplz-dropdown {
	margin-bottom: 5px;
}
.cmplz-cookiebanner .cmplz-buttons .cmplz-btn {
	font-weight: 600 !important;
	font-size: 16px !important;
	text-transform: uppercase !important;
	letter-spacing: 0.12em !important;
}

.cmplz-cookiebanner {
	z-index: 999999 !important;
}


html[lang="ar"] .w-nav-close {
	right: initial;
	left: 0;
}
html[lang="ar"] .w-dropdown-item {
	padding: 0.4em 1em 0.4em 2.2em !important;
}
html[lang="ar"] .w-nav.type_mobile.m_align_left .menu-item-has-children > .w-nav-anchor .w-nav-arrow {
	right: inherit;
	left: 0;
}
html[lang="ar"] .w-nav.type_mobile.m_align_left .menu-item-has-children > .w-nav-anchor .w-nav-title {
	padding: 0 0 0 2em;
}
html[lang="ar"] .w-nav.type_mobile.m_align_none .w-nav-anchor.level_2,
html[lang="ar"] .w-nav.type_mobile.m_align_left .w-nav-anchor.level_2 {
	padding: .7rem 1.4rem .7rem .7rem;
}
html[lang="ar"] .w-text.icon_atleft span[class*="fa-"],
html[lang="ar"] .w-btn.icon_atleft span[class*="fa-"] {
	margin: 0 0 0 .4em;
}
html[lang="ar"] .deco:after {
	left: inherit;
	right: 0;
}
html[lang="ar"] .w-nav.type_mobile.m_align_left,
html[lang="ar"] form div.row,
html[lang="ar"] span[data-name="legal"],
html[lang="ar"] form div.block-submit {
	text-align: right;
}
html[lang="ar"] .form-right span[data-name="legal"],
html[lang="ar"] form div.block-submit.form-right {
	text-align: left;
}

.deco-ar {
	position: relative;
}
.deco-ar:before {
	content: '';
	position: absolute;
	top: 1rem;
	width: 100px;
	height: 2px;
	background: #000000;
	display: block;
}
.deco-left-ar:before {
	right: calc(100% + 4rem);
}
.deco-right-ar:before {
	left: calc(100% + 4rem);
}


/* HEADER */

.w-nav-list:not(.level_1) {
	letter-spacing: 0;
}
.w-nav-close::before {
	font-weight: 300;
}

.header_hor .ush_menu_1.type_desktop .menu-item.level_1 > a:not(.w-btn) {
	border: .13rem solid transparent;
}
.header_hor .ush_menu_1.type_desktop .menu-item.level_1 > a:not(.w-btn):hover {
	border-color: var(--color-header-middle-text);
}

.w-dropdown-item,
.l-subheader.at_middle .w-dropdown-list {
	color: var(--color-header-middle-bg) !important;
  	background: var(--color-header-middle-text-hover) !important;
}
.w-dropdown-list {
	top: 0 !important;
}
.w-dropdown-item {
	padding: 0.4em 2.2em 0.4em 1em !important;
}

.ush_menu_2.type_mobile .w-nav-anchor.level_1,
.ush_menu_2 .w-nav-list:not(.level_1) {
	border-bottom: 1px solid rgba(255,255,255,.2);
}
.ush_menu_2.type_mobile li:first-child .w-nav-anchor.level_1 {
	border-top: 1px solid rgba(255,255,255,.2);
}

header .tel a,
header .w-popup-trigger {
	width: 50px;
	height: 50px;
	display: inline-flex;
	align-content: center;
	justify-content: center;
}
header .w-popup-trigger .fal {
	display: inline-flex;
	align-items: center;
}
header .tel,
header .w-popup {
	transition: .3s;
}
header .tel:hover,
header .w-popup:hover {
	background: var(--color-content-secondary) !important;
}
header .w-text.icon_atright span[class*="fa-"] {
	margin-left: 0;
}
header .tel a {
	display: inline-block;
}

.telf-vrt {
	display: none;
}

header .w-dropdown.drop_to_right .w-dropdown-list {
	right: 0;
}

/* HOME */

.w-grid.projects .w-grid-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
.w-grid.projects .w-grid-list > article {
	width: calc(33.33% - var(--gap,0px) * 2);
}


/* GENERAL */

.l-section-img,
.l-section-h {
	z-index: 1;
}

.header .l-section-h {
	mix-blend-mode: screen;
}
.header .l-section-img {
	filter: brightness(.85);
}
.header .w-btn {
	filter: invert();
	font-size: x-large;
}

#page-content .wpb_text_column a {
	color: var(--color-content-link-hover);
}

.width100 img {
	width: 100%;
}
.height100 .wpb_wrapper {
	height: 100%;
}

.framed .l-section-h,
.g-cols.wpb_row.framed {
	background: url('/wp-content/uploads/2025/10/corner1.svg') no-repeat top left,url('/wp-content/uploads/2025/10/corner2.svg') no-repeat top right,url('/wp-content/uploads/2025/10/corner3.svg') no-repeat bottom right,url('/wp-content/uploads/2025/10/corner4.svg') no-repeat bottom left;
	background-size: auto, auto, auto, auto;
	background-size: 50px 50px;
	padding: 50px;
}
section#contacto-small .l-section-h:before {
	content: '';
	width: 50px;
	height: 50px;
	position: absolute;
	bottom: 0;
	left: -25px;
	border-bottom: 2px solid #000;
	border-left: 2px solid #000;
}
section#contacto-small .l-section-h:after {
	content: "";
	width: 50px;
	height: 50px;
	position: absolute;
	top: 0;
	right: -25px;
	border-top: 2px solid #000;
	border-right: 2px solid #000;
}

.deco {
	padding-bottom: 1.5rem;
	position: relative;
}
.deco:after {
	content: '';
	width: 50px;
	height: 2px;
	background: var(--color-content-text);
	position: absolute;
	bottom: 0;
	left: 0;
}
.color_alternate .deco:after {
	background: var(--color-alt-content-text);
}

.small {
	font-size: small;
}

p.w-text a.w-text-h  {
	display: flex;
}

.w-image a.w-image-h img,
.w-post-elm.post_image a img {
	transition: .2s;
}
.w-image a.w-image-h:hover img,
.w-post-elm.post_image a:hover img {
	filter: brightness(.9);
}

ul > li {
	list-style: circle;
}

.g-filters.style_2 {
	gap: 0.5rem;
}
.g-filters.style_2 button {
	border: 2px solid #000;
	line-height: 2.4rem;
  	padding: 0 0.6rem;
}
.g-filters.style_2 .g-filters-item.active {
	background: var(--color-content-primary-grad);
	color: #fff;
}

.w-popup-box-title {
	padding-bottom: 0 !important;
}


/* POST */

.contact-aside .col-xs-6,
.contact-aside .col-xs-3 {
    width: 100%;
}

.data-table {
	font-size: smaller;
}
.data-table .w-post-elm {
	padding: 0.5rem 0;
	border-bottom: 1px solid #f0f0f0;
	display: flex;
	align-items: center;
}
.data-table .w-post-elm:first-child {
	border-top: 1px solid #f0f0f0;
}
.data-table .w-post-elm .w-post-elm-before {
	font-weight: 600;
	margin-right: 1rem;
	min-width: 175px;
	max-width: 175px;
}

.blocks-gallery-grid .blocks-gallery-image,
.blocks-gallery-grid .blocks-gallery-item,
.wp-block-gallery .blocks-gallery-image,
.wp-block-gallery .blocks-gallery-item {flex-grow: 0;}

#pbAutoplayBtn {display: none !important;}
#pbCloseBtn::before {background: none !important;}
#pbPrevBtn b::before, #pbNextBtn b::after {font-family: 'Barlow', sans-serif !important;}
.pbThumbs li.active a img {border-color: #fed675 !important;}
#pbOverlay.thumbs #pbCaption label {display: none !important;}
#pbOverlay.on .prevNext:hover:active {text-shadow: none !important;}
#pbOverlay.on .prevNext:hover {text-shadow: none !important;}
#pbCloseBtn::before {font-weight: normal !important;}
.pbThumbs ul {
	list-style: none !important;
}
.pbThumbs li {
	margin-bottom: 0 !important;
}

/* FORMS */

span.label {
	display: none !important;
}

form div.row {
	margin: 0 -4px;
	display: block;
	text-align: left;
}
.row:after {
	clear: both;
	display: table;
	content: " ";
}
.row:before {
	display: table;
	content: " ";
}

.col-xs-3 {
	width: 25%;
	float: left;
	padding: 0 4px;
}
.col-xs-4 {
	width: 33.33%;
	float: left;
	padding: 0 4px;
}
.col-xs-5 {
	width: 40%;
	float: left;
	padding: 0 4px;
}
.col-xs-6 {
	width: 50%;
	float: left;
	padding: 0 4px;
}
.col-xs-7 {
	width: 60%;
	float: left;
	padding: 0 4px;
}
.col-xs-12 {
	width: 100%;
	float: left;
	padding: 0 4px;
}
form div.form-group {
	display: inline-block;
	width: 100%;
	margin-bottom: 8px;
}
form div.form-group label {
	margin-bottom: 0;
}
form div.block-submit {
	display: inline-block;
	width: 100%;
	text-align: left;
}
form div.block-submit.form-right {
	text-align: right;
}
form div.block-submit input[type="submit"]:not(.w-btn) {
	font-size: x-large;
}

label {
	margin: 0 0 0.5rem 0;
	cursor: default;
	display: block;
	line-height: 1.2;
}
.wpcf7-list-item label {
	font-size: 14px;
	font-weight: 300;
	margin: 0 0 1rem 0;
}

select {
	cursor: pointer;
}
/*select option {
	background-color: var(--color-content-bg) !important;
	font-family: var(--font-family), sans-serif !important;
}*/
input[type="text"]:disabled,
select:disabled {
	opacity: 0.5;
	cursor: default;
}

div.wpcf7 .ajax-loader {
	display: none !important;
}
div.wpcf7-validation-errors,
div.wpcf7-acceptance-missing,
div.wpcf7-response-output {
	border: 0;
	margin: 0;
	text-align: center;
}
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="number"],
.wpcf7-form input[type="file"],
.wpcf7-form textarea,
.wpcf7-form select {
    margin-top: 0;
    box-shadow: none !important;
	/*-webkit-appearance: none !important;
    -moz-appearance: none !important;*/
}

span[data-name="legal"], .wpcf7-form-control-wrap {
	display: inline-block;
	width: 100%;
	margin: 0;
	line-height: 1.2;
}
span[data-name="legal"] {
	text-align: left;
	margin-bottom: 1.5rem;
}
.form-right span[data-name="legal"] {
	text-align: right;
}
span[data-name="legal"] label {
	font-size: 0.9rem !important;
	text-transform: none;
	margin: 0;
}
span[data-name="legal"] a {
	color: inherit;
}
.wpcf7-form-control.wpcf7-checkbox {
	padding: 0;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.sent .wpcf7-response-output {
	padding: 5px 0 !important;
	margin: 0 !important;
	border: 0 !important;
	font-size: 0.9rem;
 	line-height: 1.2;
}
.wpcf7-form span.wpcf7-not-valid {
	border: 0 !important;
}
span.wpcf7-list-item {
	margin: 0;
	width: auto;
}
span.wpcf7-list-item > label {
	display: inline-block;
	padding: 0;
}
.wpcf7-not-valid-tip {
    font-size: 0.9rem;
	text-transform: none;
	line-height: 1.2;
}
.wpcf7-spinner {
	margin: 0 auto;
	display: block;
}

/* FOOTER */

#page-footer {
	line-height: 1.2;
}
.color_footer-bottom {
	z-index: 9;
}

#page-footer .w-btn-wrapper {
	margin: 0;
}

@media (max-width: 992px) {
	
	.framed .l-section-h,
	.g-cols.wpb_row.framed {
		padding: 0;
		background: none;
	}
	
	.w-grid.projects .w-grid-list > article {
		width: calc(50% - var(--gap,0px) * 2);
	}

	
}


@media (max-width: 600px) {

	#cmplz-document h2 {
		font-size: 1.8rem;
	}
	
	.w-grid.projects .w-grid-list > article {
		width: 100%;
	}
	
	.data-table .w-post-elm .w-post-elm-before {
		min-width: 135px;
		max-width: 135px;
	}
	
	header .tel a,
	header .w-popup-trigger {
		width: 44.8px;
		height: 44.8px;
	}
	
	footer .w-btn.call_icon .w-btn-label {
		display: none;
	}
	footer .w-btn.call_icon.icon_atleft span[class*="fa-"] {
		margin: 0 !important;
	}
	
}


/* OLD */

.blocks-gallery-grid:not(.has-nested-images),
.wp-block-gallery:not(.has-nested-images) {
  display:flex;
  flex-wrap:wrap;
  list-style-type:none;
  margin:0;
  padding:0
}
.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-image,
.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-item,
.wp-block-gallery:not(.has-nested-images) .blocks-gallery-image,
.wp-block-gallery:not(.has-nested-images) .blocks-gallery-item {
  display:flex;
  flex-direction:column;
  flex-grow:1;
  justify-content:center;
  margin:0 1em 1em 0;
  position:relative;
  width:calc(50% - 1em)
}
.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-image:nth-of-type(2n),
.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-item:nth-of-type(2n),
.wp-block-gallery:not(.has-nested-images) .blocks-gallery-image:nth-of-type(2n),
.wp-block-gallery:not(.has-nested-images) .blocks-gallery-item:nth-of-type(2n) {
  margin-right:0
}
.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-image figure,
.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-item figure,
.wp-block-gallery:not(.has-nested-images) .blocks-gallery-image figure,
.wp-block-gallery:not(.has-nested-images) .blocks-gallery-item figure {
  align-items:flex-end;
  display:flex;
  height:100%;
  justify-content:flex-start;
  margin:0
}
.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-image img,
.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-item img,
.wp-block-gallery:not(.has-nested-images) .blocks-gallery-image img,
.wp-block-gallery:not(.has-nested-images) .blocks-gallery-item img {
  display:block;
  height:auto;
  max-width:100%;
  width:auto
}
.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-image figcaption,
.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-item figcaption,
.wp-block-gallery:not(.has-nested-images) .blocks-gallery-image figcaption,
.wp-block-gallery:not(.has-nested-images) .blocks-gallery-item figcaption {
  background:linear-gradient(0deg,#000000b3,#0000004d 70%,#0000);
  bottom:0;
  box-sizing:border-box;
  color:#fff;
  font-size:.8em;
  margin:0;
  max-height:100%;
  overflow:auto;
  padding:3em .77em .7em;
  position:absolute;
  text-align:center;
  width:100%;
  z-index:2
}
.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-image figcaption img,
.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-item figcaption img,
.wp-block-gallery:not(.has-nested-images) .blocks-gallery-image figcaption img,
.wp-block-gallery:not(.has-nested-images) .blocks-gallery-item figcaption img {
  display:inline
}
.blocks-gallery-grid:not(.has-nested-images) figcaption,
.wp-block-gallery:not(.has-nested-images) figcaption {
  flex-grow:1
}
.blocks-gallery-grid:not(.has-nested-images).is-cropped .blocks-gallery-image a,
.blocks-gallery-grid:not(.has-nested-images).is-cropped .blocks-gallery-image img,
.blocks-gallery-grid:not(.has-nested-images).is-cropped .blocks-gallery-item a,
.blocks-gallery-grid:not(.has-nested-images).is-cropped .blocks-gallery-item img,
.wp-block-gallery:not(.has-nested-images).is-cropped .blocks-gallery-image a,
.wp-block-gallery:not(.has-nested-images).is-cropped .blocks-gallery-image img,
.wp-block-gallery:not(.has-nested-images).is-cropped .blocks-gallery-item a,
.wp-block-gallery:not(.has-nested-images).is-cropped .blocks-gallery-item img {
  flex:1;
  height:100%;
  object-fit:cover;
  width:100%
}
.blocks-gallery-grid:not(.has-nested-images).columns-1 .blocks-gallery-image,
.blocks-gallery-grid:not(.has-nested-images).columns-1 .blocks-gallery-item,
.wp-block-gallery:not(.has-nested-images).columns-1 .blocks-gallery-image,
.wp-block-gallery:not(.has-nested-images).columns-1 .blocks-gallery-item {
  margin-right:0;
  width:100%
}
@media (min-width:600px) {
  .blocks-gallery-grid:not(.has-nested-images).columns-3 .blocks-gallery-image,
  .blocks-gallery-grid:not(.has-nested-images).columns-3 .blocks-gallery-item,
  .wp-block-gallery:not(.has-nested-images).columns-3 .blocks-gallery-image,
  .wp-block-gallery:not(.has-nested-images).columns-3 .blocks-gallery-item {
    margin-right:1em;
    width:calc(33.33333% - .66667em)
  }
  .blocks-gallery-grid:not(.has-nested-images).columns-4 .blocks-gallery-image,
  .blocks-gallery-grid:not(.has-nested-images).columns-4 .blocks-gallery-item,
  .wp-block-gallery:not(.has-nested-images).columns-4 .blocks-gallery-image,
  .wp-block-gallery:not(.has-nested-images).columns-4 .blocks-gallery-item {
    margin-right:1em;
    width:calc(25% - .75em)
  }
  .blocks-gallery-grid:not(.has-nested-images).columns-5 .blocks-gallery-image,
  .blocks-gallery-grid:not(.has-nested-images).columns-5 .blocks-gallery-item,
  .wp-block-gallery:not(.has-nested-images).columns-5 .blocks-gallery-image,
  .wp-block-gallery:not(.has-nested-images).columns-5 .blocks-gallery-item {
    margin-right:1em;
    width:calc(20% - .8em)
  }
  .blocks-gallery-grid:not(.has-nested-images).columns-6 .blocks-gallery-image,
  .blocks-gallery-grid:not(.has-nested-images).columns-6 .blocks-gallery-item,
  .wp-block-gallery:not(.has-nested-images).columns-6 .blocks-gallery-image,
  .wp-block-gallery:not(.has-nested-images).columns-6 .blocks-gallery-item {
    margin-right:1em;
    width:calc(16.66667% - .83333em)
  }
  .blocks-gallery-grid:not(.has-nested-images).columns-7 .blocks-gallery-image,
  .blocks-gallery-grid:not(.has-nested-images).columns-7 .blocks-gallery-item,
  .wp-block-gallery:not(.has-nested-images).columns-7 .blocks-gallery-image,
  .wp-block-gallery:not(.has-nested-images).columns-7 .blocks-gallery-item {
    margin-right:1em;
    width:calc(14.28571% - .85714em)
  }
  .blocks-gallery-grid:not(.has-nested-images).columns-8 .blocks-gallery-image,
  .blocks-gallery-grid:not(.has-nested-images).columns-8 .blocks-gallery-item,
  .wp-block-gallery:not(.has-nested-images).columns-8 .blocks-gallery-image,
  .wp-block-gallery:not(.has-nested-images).columns-8 .blocks-gallery-item {
    margin-right:1em;
    width:calc(12.5% - .875em)
  }
  .blocks-gallery-grid:not(.has-nested-images).columns-1 .blocks-gallery-image:nth-of-type(1n),
  .blocks-gallery-grid:not(.has-nested-images).columns-1 .blocks-gallery-item:nth-of-type(1n),
  .blocks-gallery-grid:not(.has-nested-images).columns-2 .blocks-gallery-image:nth-of-type(2n),
  .blocks-gallery-grid:not(.has-nested-images).columns-2 .blocks-gallery-item:nth-of-type(2n),
  .blocks-gallery-grid:not(.has-nested-images).columns-3 .blocks-gallery-image:nth-of-type(3n),
  .blocks-gallery-grid:not(.has-nested-images).columns-3 .blocks-gallery-item:nth-of-type(3n),
  .blocks-gallery-grid:not(.has-nested-images).columns-4 .blocks-gallery-image:nth-of-type(4n),
  .blocks-gallery-grid:not(.has-nested-images).columns-4 .blocks-gallery-item:nth-of-type(4n),
  .blocks-gallery-grid:not(.has-nested-images).columns-5 .blocks-gallery-image:nth-of-type(5n),
  .blocks-gallery-grid:not(.has-nested-images).columns-5 .blocks-gallery-item:nth-of-type(5n),
  .blocks-gallery-grid:not(.has-nested-images).columns-6 .blocks-gallery-image:nth-of-type(6n),
  .blocks-gallery-grid:not(.has-nested-images).columns-6 .blocks-gallery-item:nth-of-type(6n),
  .blocks-gallery-grid:not(.has-nested-images).columns-7 .blocks-gallery-image:nth-of-type(7n),
  .blocks-gallery-grid:not(.has-nested-images).columns-7 .blocks-gallery-item:nth-of-type(7n),
  .blocks-gallery-grid:not(.has-nested-images).columns-8 .blocks-gallery-image:nth-of-type(8n),
  .blocks-gallery-grid:not(.has-nested-images).columns-8 .blocks-gallery-item:nth-of-type(8n),
  .wp-block-gallery:not(.has-nested-images).columns-1 .blocks-gallery-image:nth-of-type(1n),
  .wp-block-gallery:not(.has-nested-images).columns-1 .blocks-gallery-item:nth-of-type(1n),
  .wp-block-gallery:not(.has-nested-images).columns-2 .blocks-gallery-image:nth-of-type(2n),
  .wp-block-gallery:not(.has-nested-images).columns-2 .blocks-gallery-item:nth-of-type(2n),
  .wp-block-gallery:not(.has-nested-images).columns-3 .blocks-gallery-image:nth-of-type(3n),
  .wp-block-gallery:not(.has-nested-images).columns-3 .blocks-gallery-item:nth-of-type(3n),
  .wp-block-gallery:not(.has-nested-images).columns-4 .blocks-gallery-image:nth-of-type(4n),
  .wp-block-gallery:not(.has-nested-images).columns-4 .blocks-gallery-item:nth-of-type(4n),
  .wp-block-gallery:not(.has-nested-images).columns-5 .blocks-gallery-image:nth-of-type(5n),
  .wp-block-gallery:not(.has-nested-images).columns-5 .blocks-gallery-item:nth-of-type(5n),
  .wp-block-gallery:not(.has-nested-images).columns-6 .blocks-gallery-image:nth-of-type(6n),
  .wp-block-gallery:not(.has-nested-images).columns-6 .blocks-gallery-item:nth-of-type(6n),
  .wp-block-gallery:not(.has-nested-images).columns-7 .blocks-gallery-image:nth-of-type(7n),
  .wp-block-gallery:not(.has-nested-images).columns-7 .blocks-gallery-item:nth-of-type(7n),
  .wp-block-gallery:not(.has-nested-images).columns-8 .blocks-gallery-image:nth-of-type(8n),
  .wp-block-gallery:not(.has-nested-images).columns-8 .blocks-gallery-item:nth-of-type(8n) {
    margin-right:0
  }
}
.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-image:last-child,
.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-item:last-child,
.wp-block-gallery:not(.has-nested-images) .blocks-gallery-image:last-child,
.wp-block-gallery:not(.has-nested-images) .blocks-gallery-item:last-child {
  margin-right:0
}
.blocks-gallery-grid:not(.has-nested-images).alignleft,
.blocks-gallery-grid:not(.has-nested-images).alignright,
.wp-block-gallery:not(.has-nested-images).alignleft,
.wp-block-gallery:not(.has-nested-images).alignright {
  max-width:420px;
  width:100%
}
.blocks-gallery-grid:not(.has-nested-images).aligncenter .blocks-gallery-item figure,
.wp-block-gallery:not(.has-nested-images).aligncenter .blocks-gallery-item figure {
  justify-content:center
}
.wp-block-gallery:not(.is-cropped) .blocks-gallery-item {
  align-self:flex-start
}
figure.wp-block-gallery.has-nested-images {
  align-items:normal
}
.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) {
  margin:0;
  width:calc(50% - var(--wp--style--unstable-gallery-gap, 16px)/2)
}
.wp-block-gallery.has-nested-images figure.wp-block-image {
  box-sizing:border-box;
  display:flex;
  flex-direction:column;
  flex-grow:1;
  justify-content:center;
  max-width:100%;
  position:relative
}
.wp-block-gallery.has-nested-images figure.wp-block-image>a,
.wp-block-gallery.has-nested-images figure.wp-block-image>div {
  flex-direction:column;
  flex-grow:1;
  margin:0
}
.wp-block-gallery.has-nested-images figure.wp-block-image img {
  display:block;
  height:auto;
  max-width:100%!important;
  width:auto
}
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption,
.wp-block-gallery.has-nested-images figure.wp-block-image:has(figcaption):before {
  bottom:0;
  left:0;
  max-height:100%;
  position:absolute;
  right:0
}
.wp-block-gallery.has-nested-images figure.wp-block-image:has(figcaption):before {
  -webkit-backdrop-filter:blur(3px);
  backdrop-filter:blur(3px);
  content:"";
  height:100%;
  -webkit-mask-image:linear-gradient(0deg,#000 20%,#0000);
  mask-image:linear-gradient(0deg,#000 20%,#0000);
  max-height:40%
}
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
  background:linear-gradient(0deg,#0006,#0000);
  box-sizing:border-box;
  color:#fff;
  font-size:13px;
  margin:0;
  overflow:auto;
  padding:1em;
  scrollbar-color:#0000 #0000;
  scrollbar-gutter:stable both-edges;
  scrollbar-width:thin;
  text-align:center;
  text-shadow:0 0 1.5px #000;
  will-change:transform
}
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption::-webkit-scrollbar {
  height:12px;
  width:12px
}
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption::-webkit-scrollbar-track {
  background-color:initial
}
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption::-webkit-scrollbar-thumb {
  background-clip:padding-box;
  background-color:initial;
  border:3px solid #0000;
  border-radius:8px
}
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption:focus-within::-webkit-scrollbar-thumb,
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption:focus::-webkit-scrollbar-thumb,
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption:hover::-webkit-scrollbar-thumb {
  background-color:#fffc
}
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption:focus,
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption:focus-within,
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption:hover {
  scrollbar-color:#fffc #0000
}
@media (hover:none) {
  .wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
    scrollbar-color:#fffc #0000
  }
}
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption img {
  display:inline
}
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption a {
  color:inherit
}
.wp-block-gallery.has-nested-images figure.wp-block-image.has-custom-border img {
  box-sizing:border-box
}
.wp-block-gallery.has-nested-images figure.wp-block-image.has-custom-border>a,
.wp-block-gallery.has-nested-images figure.wp-block-image.has-custom-border>div,
.wp-block-gallery.has-nested-images figure.wp-block-image.is-style-rounded>a,
.wp-block-gallery.has-nested-images figure.wp-block-image.is-style-rounded>div {
  flex:1 1 auto
}
.wp-block-gallery.has-nested-images figure.wp-block-image.has-custom-border figcaption,
.wp-block-gallery.has-nested-images figure.wp-block-image.is-style-rounded figcaption {
  background:none;
  color:inherit;
  flex:initial;
  margin:0;
  padding:10px 10px 9px;
  position:relative;
  text-shadow:none
}
.wp-block-gallery.has-nested-images figure.wp-block-image.has-custom-border:before,
.wp-block-gallery.has-nested-images figure.wp-block-image.is-style-rounded:before {
  content:none
}
.wp-block-gallery.has-nested-images figcaption {
  flex-basis:100%;
  flex-grow:1;
  text-align:center
}
.wp-block-gallery.has-nested-images:not(.is-cropped) figure.wp-block-image:not(#individual-image) {
  margin-bottom:auto;
  margin-top:0
}
.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) {
  align-self:inherit
}
.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image)>a,
.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image)>div:not(.components-drop-zone) {
  display:flex
}
.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) a,
.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) img {
  flex:1 0 0%;
  height:100%;
  object-fit:cover;
  width:100%
}
.wp-block-gallery.has-nested-images.columns-1 figure.wp-block-image:not(#individual-image) {
  width:100%
}
@media (min-width:600px) {
  .wp-block-gallery.has-nested-images.columns-3 figure.wp-block-image:not(#individual-image) {
    width:calc(33.33333% - var(--wp--style--unstable-gallery-gap, 16px)*.66667)
  }
  .wp-block-gallery.has-nested-images.columns-4 figure.wp-block-image:not(#individual-image) {
    width:calc(25% - var(--wp--style--unstable-gallery-gap, 16px)*.75)
  }
  .wp-block-gallery.has-nested-images.columns-5 figure.wp-block-image:not(#individual-image) {
    width:calc(20% - var(--wp--style--unstable-gallery-gap, 16px)*.8)
  }
  .wp-block-gallery.has-nested-images.columns-6 figure.wp-block-image:not(#individual-image) {
    width:calc(16.66667% - var(--wp--style--unstable-gallery-gap, 16px)*.83333)
  }
  .wp-block-gallery.has-nested-images.columns-7 figure.wp-block-image:not(#individual-image) {
    width:calc(14.28571% - var(--wp--style--unstable-gallery-gap, 16px)*.85714)
  }
  .wp-block-gallery.has-nested-images.columns-8 figure.wp-block-image:not(#individual-image) {
    width:calc(12.5% - var(--wp--style--unstable-gallery-gap, 16px)*.875)
  }
  .wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image) {
    width:calc(33.33% - var(--wp--style--unstable-gallery-gap, 16px)*.66667)
  }
  .wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image):first-child:nth-last-child(2),
  .wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image):first-child:nth-last-child(2)~figure.wp-block-image:not(#individual-image) {
    width:calc(50% - var(--wp--style--unstable-gallery-gap, 16px)*.5)
  }
  .wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image):first-child:last-child {
    width:100%
  }
}
.wp-block-gallery.has-nested-images.alignleft,
.wp-block-gallery.has-nested-images.alignright {
  max-width:420px;
  width:100%
}
.wp-block-gallery.has-nested-images.aligncenter {
  justify-content:center
}