// core/tag-cloud
//
// @version  2.0.1

@import '../_tools/_index';
@import '../_setup/_index';

.wp-block-tag-cloud {

	&.is-style-outline {

		.tag-cloud-link {
			@extend %button_outline;
		}
	}

	&.is-style-buttons-inline {

		.tag-cloud-link {

			:root :where(&) {
				position: relative;
				margin: 0;
				font-size: inherit !important;
				letter-spacing: var(--wp--custom--letter-spacing--button);
			}
		}
	}

	&[style*="--theme--css--block-gap:"] {
		--wp--style--block-gap: var( --theme--css--block-gap, #{ $ratio_min + em } 1em );

		display: flex;
		flex-wrap: wrap;
		gap: var(--wp--style--block-gap);
	}
}

.tag-link-count {
	@extend %badge_posts_count;
}

@import '../_extend/_index';
