/* Blocks in footer */
.site-footer {
	.wp-block-page-list {
		list-style: none;

		.wp-block-pages-list__item {
			margin: 0;

			&:not(.has-child) {
				@include s-r-2(padding-bottom);
			}
		}

		.submenu-container {
			list-style: none;
		}
	}

	.wp-block-archives-list {
		li:not(:last-child) {
			@include s-r-2(padding-bottom);
		}
	}
}

/* Widget Blocks */
.entry-content {
	.wp-block-latest-posts,
	.wp-block-latest-comments {
		padding-left: 0;
	}

	.wp-block-categories-list {
		list-style: none;
	}

	.wp-block-latest-posts li a {
		border: none;
	}
}

.wp-block-latest-comments__comment {
	font-size: var(--global--font-size--body-xs) !important;
}

.entry-content .wp-block-calendar {

	caption {
		color: var(--wp--custom--color--font-primary);
		margin-bottom: var(--space-04);
		text-align: center;
	}

	table {

		margin-bottom: var(--space-04);

		th {
			background: transparent;
			text-align: center;
			font-weight: bold;
		}

		tbody {
			color: var(--wp--custom--color--font-secondary);
			border-right: 1px solid var(--wp--custom--color--border);
		}

		td#today {
			background: var(--wp--custom--color--background-primary);
		}

		tbody td,
		th {
			padding: 16px 8px;
			border: 1px solid var(--wp--custom--color--border);
		}
	}
}

.wp-block-latest-comments__comment-excerpt p {
	font-size: var(--global--font-size--body-xs) !important;
	margin: var(--space-02) 0 var(--space-06);
}

// Lists with Button Styles
.wp-block-tag-cloud,
.wp-block-categories {

	&.is-style-btn {
		display: flex;
		flex-wrap: wrap;

		ul li a,
		a {
			display: block;
			line-height: 1;
			@include s-r-2 (margin-right);
			@include s-r-2 (margin-bottom);

			&:hover {
				text-decoration: none;
			}
		}

	}
}