/*
Theme Name: Measure Twice Theme
Description: Table and block-specific styles for the Measure Twice WordPress theme.
*/

/* Table
--------------------------------------------- */

.wp-block-table table {
	background: var(--wp--preset--color--base);
	border-radius: 5px;
	border: solid 1px var(--wp--preset--color--border-light);
	font-size: var(--wp--preset--font-size--x-small);
}

.wp-block-table.is-style-stripes {
	border-bottom: none;
}

.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
	background-color: var(--wp--preset--color--tertiary);
}

.wp-block-table td,
.wp-block-table th,
.wp-block-table thead {
	border: none;
	border-bottom: solid 1px color-mix(in srgb, var(--wp--preset--color--border-light) 50%, var(--wp--preset--color--base) 5%);
}

.wp-block-table th,
.wp-block-table tfoot {
	text-align: left;
	background-color: color-mix(in srgb, var(--wp--preset--color--tertiary) 75%, var(--wp--preset--color--base) 5%);
}

.wp-block-table td,
.wp-block-table th {
	padding: .8em 1em;
}

.wp-block-table tfoot {
	border-top: solid 1px var(--wp--preset--color--border-light);
}

.wp-block-table tfoot td {
	border-bottom: none;
}

/* Image Block Styles
--------------------------------------------- */

.is-style-team-headshot img {
	width: 178px;
	height: 178px;
	object-fit: cover;
	aspect-ratio: 1 / 1;
	border-radius: 24px;
}

/* Icon Block Styles
--------------------------------------------- */

.is-style-gradient-background {
	background: linear-gradient(135deg, #5D4EFF, #B347FF);
	border-radius: 2%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.is-style-gradient-background:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 15px rgba(93, 78, 255, 0.3);
}

.is-style-gradient-background svg {
	width: 32px;
	height: 32px;
}
