/* Wrapper base styles */
.wp-block-columns.has-separator {
	display: flex;
	flex-wrap: wrap;
	position: relative;
}

/* Each column base */
.wp-block-columns.has-separator > .wp-block-column {
	position: relative;
}

/* Default separator via pseudo-element */
.wp-block-columns.has-separator > *:not(:last-child)::after{
	content: "";
	position: absolute;
	right: 0;
	width: var(--separator-width, 1px);
	background-color: var(--separator-color, #ccc);
	top: 0;
	bottom: 0;
}
/* .wp-block-columns.has-separator > .wp-block-column::after {
	content: "";
	position: absolute;
	right: 0;
	width: var(--separator-width, 1px);
	background-color: var(--separator-color, #ccc);
	top: 0;
	bottom: 0;
} */



/* Alignment: Top */
.wp-block-columns.has-separator.align-separator-top > .wp-block-column::after {
	top: 0;
	height: var(--separator-height, 50%);
	bottom: auto;
	transform: none;
}

/* Alignment: Center */
.wp-block-columns.has-separator.align-separator-center > .wp-block-column::after {
	top: 50%;
	height: var(--separator-height, 50%);
	transform: translateY(calc(-1 * var(--separator-height, 50%) / 2));
	bottom: auto;
}

/* Alignment: Bottom */
.wp-block-columns.has-separator.align-separator-bottom > .wp-block-column::after {
	bottom: 0;
	top: auto;
	height: var(--separator-height, 50%);
	transform: none;
}
/* Override partial height when full is active */
.wp-block-columns.has-separator.align-separator-full > .wp-block-column::after {
	top: 0 !important;
	bottom: 0 !important;
	height: auto !important;
	transform: none !important;
}
/* === RESPONSIVE RULES === */



/* Tablet (typically 2 columns per row): hide after every 2nd column */
 @media (min-width: 992px) and (max-width: 1199px) {
	/* .wp-block-columns.has-separator > .wp-block-column:nth-child(2n)::after {
		display: none; 
	} */
	
	.wp-block-columns.has-separator:has(> :last-child:nth-child(4))> :nth-child(2)::after,
	.wp-block-columns.has-separator:has(> :last-child:nth-child(5))> :nth-child(3)::after,
	.wp-block-columns.has-separator:has(> :last-child:nth-child(6))> :nth-child(3)::after{
		display: none;
	}
	
} 

@media (min-width: 768px) and (max-width: 991px) {
	.wp-block-columns.has-separator:has(> :last-child:nth-child(4))>:nth-child(2)::after,
	.wp-block-columns.has-separator:has(> :last-child:nth-child(5))> :nth-child(2)::after,
	.wp-block-columns.has-separator:has(> :last-child:nth-child(6))> :nth-child(2)::after,
	.wp-block-columns.has-separator:has(> :last-child:nth-child(5))>:nth-child(4)::after,
	.wp-block-columns.has-separator:has(> :last-child:nth-child(6))>:nth-child(4)::after {
		display: none;
	}
}

/* Mobile stacked: remove all separators */
@media (max-width: 765px) {
	.wp-block-columns.has-separator>.wp-block-column::after {
		display: none !important;
	}
}