/* ------------------------------------------------- TDN Page Tweaks
 *
 * Static pages (About, Contact, …) render their featured image in the
 * theme's full-width 16:9 hero box, which dwarfs the page. Cap it to a
 * modest width and center it. Posts keep the theme's full hero treatment.
 */

.page .entry-featured__media {
	max-width: 640px;
	margin-left: auto;
	margin-right: auto;
}

/* ------------------------------------------------- Social links bar
 *
 * Injected after the entry header on the About and Contact pages.
 * Prominent row of brand-color icon buttons, dark-mode aware.
 */

.tdnpt-social {
	background: var(--tdnpt-card, #f6f6f8);
	border: 1px solid var(--tdnpt-card-border, #e6e6ea);
	border-radius: 14px;
	margin: 12px auto 26px;
	max-width: 640px;
	padding: 20px 20px 22px;
	text-align: center;
}

.tdnpt-social__heading {
	color: var(--tdnpt-ink, #1a1a1a);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.12em;
	margin: 0 0 14px;
	text-transform: uppercase;
}

.tdnpt-social__list {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	justify-content: center;
	list-style: none;
	margin: 0;
	padding: 0;
}

.tdnpt-social__link {
	align-items: center;
	border-radius: 999px;
	color: #fff;
	display: inline-flex;
	height: 54px;
	justify-content: center;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
	width: 54px;
}

.tdnpt-social__link:hover {
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
	transform: translateY(-2px);
}

.tdnpt-social__link svg {
	display: block;
}

.tdnpt-social__name {
	border: 0;
	clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.tdnpt-social__link--facebook {
	background: #1877f2;
}

.tdnpt-social__link--instagram {
	background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.tdnpt-social__link--tiktok,
.tdnpt-social__link--x {
	background: #111;
	border: 1px solid rgba(140, 140, 140, 0.45);
}

html[data-theme="dark"] .tdnpt-social {
	background: var(--tdnpt-card-dark, #17171a);
	border-color: var(--tdnpt-card-border-dark, #2c2c31);
}

html[data-theme="dark"] .tdnpt-social__heading {
	color: var(--tdnpt-ink-dark, #f0f0f0);
}

@media (prefers-reduced-motion: reduce) {
	.tdnpt-social__link {
		transition: none;
	}
}
