/* Quick Facts box — colors inherit from the theme so this reads
   correctly whether the site is in light or dark mode. */
.tcb-quick-facts-wrap {
	color: inherit;
	margin: 0 0 24px;
	border: 1px solid rgba(127, 127, 127, .25);
	border-radius: 10px;
	overflow: hidden;
}
.tcb-qf-highlight {
	background: rgba(127, 127, 127, .12);
	padding: 16px;
}
.tcb-qf-title {
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .05em;
	opacity: .65;
	margin: 0 0 14px;
}
.tcb-qf-header {
	display: flex;
	align-items: center;
	gap: 16px;
}
.tcb-qf-name {
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3;
}
.tcb-quick-facts {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
	color: inherit;
}
.tcb-quick-facts th,
.tcb-quick-facts td {
	padding: 10px 14px;
	border: 1px solid rgba(127, 127, 127, .25);
	text-align: left;
	vertical-align: top;
	color: inherit;
}
.tcb-quick-facts tr:first-child th,
.tcb-quick-facts tr:first-child td {
	border-top: none;
}
.tcb-quick-facts th {
	width: 35%;
	background: rgba(127, 127, 127, .08);
	font-weight: 600;
}
.tcb-avatar {
	width: 80px;
	height: 80px;
	flex-shrink: 0;
	border-radius: 50%;
	object-fit: cover;
	border: 1px solid rgba(127, 127, 127, .25);
}
.tcb-badge-today {
	display: inline-block;
	background: rgba(255, 180, 0, .18);
	border: 1px solid rgba(255, 180, 0, .6);
	color: inherit;
	padding: 2px 8px;
	border-radius: 3px;
	font-weight: 600;
	font-size: 13px;
}

/* Sidebar widget */
.tcb-birthday-widget {
	color: inherit;
}
.tcb-birthday-widget .tcb-widget-label {
	font-weight: 600;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: .03em;
	margin: 14px 0 6px;
	opacity: .7;
}
.tcb-birthday-widget .tcb-widget-label:first-child {
	margin-top: 0;
}
.tcb-birthday-widget ul.tcb-list {
	list-style: none;
	margin: 0 0 4px;
	padding: 0;
}
.tcb-birthday-widget ul.tcb-list li {
	padding: 6px 0;
	border-bottom: 1px solid rgba(127, 127, 127, .15);
	font-size: 14px;
}
.tcb-birthday-widget ul.tcb-list li:last-child {
	border-bottom: none;
}
.tcb-birthday-widget ul.tcb-list li a {
	font-weight: 600;
	text-decoration: none;
	color: inherit;
}
.tcb-birthday-widget .tcb-age {
	display: block;
	font-size: 12px;
	opacity: .65;
}
.tcb-birthday-widget .tcb-loading,
.tcb-birthday-widget .tcb-empty {
	opacity: .6;
	font-style: italic;
	font-size: 13px;
}
.tcb-birthday-widget .tcb-ad-slot {
	margin-top: 16px;
	text-align: center;
}
.tcb-birthday-widget .tcb-widget-more {
	margin-top: 12px;
	font-size: 13px;
	text-align: center;
}
.tcb-birthday-widget .tcb-widget-more a {
	color: inherit;
	font-weight: 600;
}

/* Birthdays calendar page */
.tcb-calendar-page {
	color: inherit;
}
.tcb-calendar-heading {
	font-size: 20px;
	margin: 32px 0 14px;
}
.tcb-calendar-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 16px;
}
.tcb-calendar-card {
	background: rgba(127, 127, 127, .06);
	border: 1px solid rgba(127, 127, 127, .2);
	border-radius: 8px;
	padding: 14px;
	text-align: center;
}
.tcb-calendar-card img {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	object-fit: cover;
	margin: 0 auto 10px;
	border: 1px solid rgba(127, 127, 127, .25);
	display: block;
}
.tcb-calendar-card .tcb-cc-placeholder {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	margin: 0 auto 10px;
	background: rgba(127, 127, 127, .15);
}
.tcb-calendar-card a {
	font-weight: 600;
	text-decoration: none;
	color: inherit;
	display: block;
	margin-bottom: 4px;
}
.tcb-calendar-card .tcb-cc-meta {
	font-size: 12px;
	opacity: .7;
	line-height: 1.5;
}
.tcb-calendar-ad {
	margin: 28px 0;
	text-align: center;
}
.tcb-calendar-loading,
.tcb-calendar-empty {
	opacity: .6;
	font-style: italic;
	font-size: 14px;
	grid-column: 1 / -1;
}

/* Mobile */
@media (max-width: 480px) {
	.tcb-quick-facts th,
	.tcb-quick-facts td {
		padding: 8px 10px;
		font-size: 13px;
	}
	.tcb-quick-facts th {
		width: 40%;
	}
	.tcb-qf-highlight {
		padding: 12px;
	}
	.tcb-qf-title {
		font-size: 12px;
		margin-bottom: 10px;
	}
	.tcb-qf-header {
		flex-direction: column;
		text-align: center;
	}
	.tcb-qf-name {
		font-size: 19px;
	}
	.tcb-avatar {
		width: 72px;
		height: 72px;
	}
	.tcb-calendar-heading {
		font-size: 17px;
		margin: 24px 0 10px;
	}
	.tcb-calendar-grid {
		grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
		gap: 10px;
	}
	.tcb-calendar-card {
		padding: 10px;
	}
}
