/* Buttons */
.tf-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: var(--tf-touch);
	padding: 0 1.25rem;
	border-radius: var(--tf-radius-pill);
	font-family: var(--tf-font-sans);
	font-size: 0.9375rem;
	font-weight: 600;
	text-decoration: none;
	border: 2px solid transparent;
	cursor: pointer;
	transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.tf-btn--primary {
	background: var(--tf-navy);
	color: var(--tf-white);
	border-color: var(--tf-navy);
}

.tf-btn--primary:hover,
.tf-btn--primary:focus {
	background: var(--tf-navy-hover);
	border-color: var(--tf-navy-hover);
	color: var(--tf-white);
}

.tf-btn--outline {
	background: transparent;
	color: var(--tf-navy);
	border-color: var(--tf-navy);
}

.tf-btn--outline:hover,
.tf-btn--outline:focus {
	background: var(--tf-tint);
	color: var(--tf-navy-hover);
}

.tf-btn--white {
	background: var(--tf-white);
	color: var(--tf-navy);
	border-color: var(--tf-white);
}

.tf-btn--white:hover {
	background: var(--tf-tint);
}

/* Cards */
.tf-card {
	background: var(--tf-white);
	border: 1px solid var(--tf-border);
	border-radius: var(--tf-radius-lg);
	overflow: hidden;
}

.tf-card__media {
	aspect-ratio: 16 / 9;
	background: var(--tf-surface);
	overflow: hidden;
}

.tf-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.tf-card__body {
	padding: 1.25rem;
}

.tf-eyebrow {
	font-family: var(--tf-font-sans);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--tf-muted);
	margin: 0 0 0.5rem;
}

/* Quick answer & callouts */
.tf-quick-answer {
	background: var(--tf-tint);
	border-radius: var(--tf-radius-lg);
	padding: 1.25rem 1.5rem;
	margin: 1.5rem 0 2rem;
}

.tf-quick-answer__label {
	font-family: var(--tf-font-sans);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--tf-navy);
	margin: 0 0 0.5rem;
}

.tf-key-takeaway {
	border: 1px solid var(--tf-border);
	border-left: 4px solid var(--tf-navy);
	border-radius: var(--tf-radius);
	padding: 1rem 1.25rem;
	margin: 1.5rem 0;
	background: var(--tf-white);
}

.tf-disclaimer {
	background: var(--tf-surface);
	border-radius: var(--tf-radius);
	padding: 1.25rem 1.5rem;
	margin: 2rem 0 0;
	font-size: 0.9375rem;
	color: var(--tf-muted);
}

/* Tables */
.tf-table-wrap {
	overflow-x: auto;
	margin: 1.5rem 0;
	-webkit-overflow-scrolling: touch;
}

.tf-table-wrap table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9375rem;
}

.tf-table-wrap th,
.tf-table-wrap td {
	border: 1px solid var(--tf-border);
	padding: 0.65rem 0.85rem;
	text-align: left;
}

.tf-table-wrap th {
	background: var(--tf-surface);
	font-weight: 600;
}

/* Ad slots (CLS) */
.tf-ad-slot {
	background: var(--tf-surface);
	border: 1px dashed var(--tf-border);
	border-radius: var(--tf-radius);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--tf-muted);
	font-size: 0.8125rem;
	text-align: center;
	margin: 1.5rem 0;
}

.tf-ad-slot--250 {
	min-height: 250px;
}

.tf-ad-slot--600 {
	min-height: 600px;
}

.tf-ad-slot--in-article {
	min-height: 280px;
}

/* Share */
.tf-share {
	display: flex;
	gap: 0.5rem;
	align-items: center;
}

.tf-share__btn {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid var(--tf-border);
	background: var(--tf-white);
	color: var(--tf-ink);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	font-size: 0.875rem;
	cursor: pointer;
}

.tf-share__btn:hover {
	border-color: var(--tf-navy);
	color: var(--tf-navy);
}

/* Author */
.tf-author-box {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
	border: 1px solid var(--tf-border);
	border-radius: var(--tf-radius-lg);
	padding: 1.25rem;
	margin: 2.5rem 0 0;
}

.tf-author-box__avatar img {
	border-radius: 50%;
	width: 64px;
	height: 64px;
}

.tf-author-box__name {
	font-family: var(--tf-font-serif);
	font-size: 1.125rem;
	font-weight: 700;
	margin: 0 0 0.35rem;
	color: var(--tf-ink);
}

.tf-author-box__bio {
	margin: 0;
	font-size: 0.9375rem;
	color: var(--tf-muted);
	line-height: 1.6;
}

/* FAQ accordions in content */
.tf-single .entry-content details {
	border: 1px solid var(--tf-border);
	border-radius: var(--tf-radius);
	padding: 0.75rem 1rem;
	margin: 0.5rem 0;
}

.tf-single .entry-content details summary {
	font-weight: 600;
	cursor: pointer;
	color: var(--tf-ink);
}

/* Hide duplicate Astra mobile menu instances (keep first) */
.ast-header-break-point .ast-mobile-menu-buttons + .ast-mobile-menu-buttons {
	display: none !important;
}

.site-header .main-header-menu .menu-item:nth-child(n+14) {
	display: none;
}
