/* Grayscale hidden blocks in editor */
.block-editor-block-list__block.hide-editor {
	filter: grayscale(1);
	opacity: 0.5;
	transition: all 0.3s ease;
	position: relative;
}

/* Overlay text showing “Hidden Block – Line X” */
.block-editor-block-list__block.hide-editor::after {
	content: "Visibility Setting Active";
	position: absolute;
	top: 5px;
	left: 5px;
	background: rgba(0, 0, 0, 0.7);
	color: #fff;
	font-size: 11px;
	padding: 2px 6px;
	border-radius: 3px;
	pointer-events: none;
}


/*buttons responsive alignment*/
@media (min-width: 601px) and (max-width: 900px) {
	.wp-block-buttons.align-tablet-left { justify-content: flex-start !important; }
	.wp-block-buttons.align-tablet-center { justify-content: center !important; }
	.wp-block-buttons.align-tablet-right { justify-content: flex-end !important; }
	.wp-block-buttons.align-tablet-space-between { justify-content: space-between !important; }
}


@media (max-width: 600px) {
	.wp-block-buttons.align-mobile-left { justify-content: flex-start !important; }
	.wp-block-buttons.align-mobile-center { justify-content: center !important; }
	.wp-block-buttons.align-mobile-right { justify-content: flex-end !important; }
	.wp-block-buttons.align-mobile-space-between { justify-content: space-between !important; }
}


/*paragraph and heading responsive alignment*/
@media (max-width: 900px) {
	.align-tablet-left { text-align: left !important; }
	.align-tablet-center { text-align: center !important; }
	.align-tablet-right { text-align: right !important; }
}


@media (max-width: 600px) {
	.align-mobile-left { text-align: left !important; }
	.align-mobile-center { text-align: center !important; }
	.align-mobile-right { text-align: right !important; }
}

/*COLUMNS RESPONSIVE ORDER*/
@media (min-width:601px) and (max-width:900px) {
	.wp-block-columns.tablet-reverse-order{flex-direction: column-reverse;}
}

@media screen and (max-width: 600px) {
	.wp-block-columns.mobile-reverse-order{flex-direction: column-reverse;}
}

/*GALLERY LIGHTBOX*/
.lightbox-active .wp-block-image a img{transition: all 300ms ease-in-out;}

.lightbox-active .wp-block-image a:hover img { transform: scale(1.05); }

div.glightbox-clean .gbtn{background-color:var(--wp--custom--primary--dark);}

div.glightbox-clean .gbtn:hover{background-color:var(--wp--custom--primary--light);}

div.glightbox-pagination-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

div.glightbox-pagination-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.3s ease;
}

div.glightbox-pagination-dots .dot.active {
  background: var(--wp--custom--primary--light);
}
