/*
 * Theme-conflict protection for TF Apps pages.
 * Every override is scoped beneath .tfam-page so unrelated site content is untouched.
 */
.tfam-page,
.tfam-page * {
	box-sizing: border-box !important;
}

.tfam-page {
	width: 100% !important;
	max-width: none !important;
	margin: 150px 0 70px !important;
	padding: 0 !important;
	background: #ffffff !important;
	color: #26343a !important;
}

.tfam-page .tfam-container {
	width: calc(100% - 48px) !important;
	max-width: 1280px !important;
	margin-right: auto !important;
	margin-left: auto !important;
	padding-right: 0 !important;
	padding-left: 0 !important;
}

.tfam-page .tfam-title-band {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 38px 0 !important;
	background: #f2fafc !important;
	border-top: 1px solid #e3edef !important;
	border-bottom: 1px solid #e3edef !important;
}

.tfam-page .tfam-breadcrumb {
	display: block !important;
	margin: 0 0 14px !important;
	padding: 0 !important;
	font-size: 13px !important;
	font-weight: 400 !important;
	line-height: 1.5 !important;
	color: #66767c !important;
}

.tfam-page .tfam-breadcrumb a {
	color: #5417e6 !important;
	text-decoration: none !important;
}

.tfam-page .tfam-title-band h1 {
	display: block !important;
	max-width: 100% !important;
	margin: 0 0 9px !important;
	padding: 0 !important;
	font-size: clamp(30px, 3.2vw, 42px) !important;
	font-weight: 700 !important;
	line-height: 1.18 !important;
	letter-spacing: -0.02em !important;
	color: #075568 !important;
}

.tfam-page .tfam-title-band p {
	max-width: 900px !important;
	margin: 0 !important;
	padding: 0 !important;
	font-size: 16px !important;
	font-weight: 400 !important;
	line-height: 1.65 !important;
	color: #43545a !important;
}

.tfam-page .tfam-archive-body {
	width: calc(100% - 48px) !important;
	max-width: 1280px !important;
	margin: 0 auto !important;
	padding: 38px 0 48px !important;
}

.tfam-page .tfam-filter {
	display: grid !important;
	grid-template-columns: minmax(260px, 1fr) 250px 112px !important;
	align-items: stretch !important;
	gap: 12px !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 0 28px !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
}

.tfam-page .tfam-filter input,
.tfam-page .tfam-filter select,
.tfam-page .tfam-filter button {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;
	height: 46px !important;
	min-height: 46px !important;
	margin: 0 !important;
	padding: 0 14px !important;
	font-family: inherit !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	line-height: 44px !important;
	color: #26343a !important;
	background: #ffffff !important;
	border: 1px solid #cbd9dc !important;
	border-radius: 7px !important;
	box-shadow: 0 1px 3px rgba(7, 85, 104, 0.05) !important;
}

.tfam-page .tfam-filter button {
	font-weight: 650 !important;
	color: #ffffff !important;
	background: #5417e6 !important;
	border-color: #5417e6 !important;
	cursor: pointer !important;
}

.tfam-page .tfam-filter button:hover,
.tfam-page .tfam-filter button:focus {
	color: #ffffff !important;
	background: #4210bd !important;
	border-color: #4210bd !important;
}

.tfam-page .tfam-grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	align-items: stretch !important;
	gap: 22px !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.tfam-page article.tfam-app-card {
	position: relative !important;
	display: flex !important;
	flex-direction: column !important;
	float: none !important;
	clear: none !important;
	width: 100% !important;
	min-width: 0 !important;
	max-width: none !important;
	min-height: 300px !important;
	margin: 0 !important;
	padding: 24px !important;
	overflow: hidden !important;
	background: #ffffff !important;
	border: 1px solid #d8e3e5 !important;
	border-radius: 12px !important;
	box-shadow: 0 6px 24px rgba(7, 85, 104, 0.07) !important;
	transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.tfam-page article.tfam-app-card:hover {
	transform: translateY(-3px) !important;
	border-color: #b8ced2 !important;
	box-shadow: 0 12px 30px rgba(7, 85, 104, 0.11) !important;
}

.tfam-page .tfam-card-top {
	display: flex !important;
	align-items: flex-start !important;
	justify-content: space-between !important;
	gap: 16px !important;
	width: 100% !important;
	margin: 0 0 18px !important;
	padding: 0 !important;
}

.tfam-page .tfam-app-icon {
	display: grid !important;
	place-items: center !important;
	flex: 0 0 64px !important;
	width: 64px !important;
	height: 64px !important;
	min-width: 64px !important;
	max-width: 64px !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	color: #ffffff !important;
	background: linear-gradient(145deg, #075568, #0b6f80) !important;
	border: 0 !important;
	border-radius: 12px !important;
	box-shadow: none !important;
	text-decoration: none !important;
}

.tfam-page .tfam-app-icon img {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	object-fit: cover !important;
	border: 0 !important;
	border-radius: 0 !important;
}

.tfam-page .tfam-card-badges {
	display: flex !important;
	flex: 1 1 auto !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	justify-content: flex-end !important;
	gap: 8px !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
}

.tfam-page .tfam-category,
.tfam-page .tfam-status {
	display: inline-flex !important;
	align-items: center !important;
	width: auto !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 5px 9px !important;
	font-size: 11px !important;
	font-weight: 650 !important;
	line-height: 1.2 !important;
	white-space: nowrap !important;
	border-radius: 999px !important;
}

.tfam-page .tfam-category {
	color: #075568 !important;
	background: #eaf6f8 !important;
}

.tfam-page .tfam-live {
	color: #147a3d !important;
	background: #e7f7ec !important;
}

.tfam-page .tfam-coming_soon {
	color: #ad5b00 !important;
	background: #fff0d8 !important;
}

.tfam-page .tfam-planned {
	color: #526167 !important;
	background: #edf1f3 !important;
}

.tfam-page .tfam-card-title {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 0 12px !important;
	padding: 0 !important;
	font-size: 21px !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
	letter-spacing: -0.01em !important;
	text-align: left !important;
	text-transform: none !important;
}

.tfam-page .tfam-card-title a {
	display: inline !important;
	color: #075568 !important;
	text-decoration: none !important;
	word-break: normal !important;
	overflow-wrap: break-word !important;
}

.tfam-page .tfam-card-title a:hover {
	color: #5417e6 !important;
}

.tfam-page article.tfam-app-card > p {
	display: block !important;
	flex: 1 1 auto !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 0 20px !important;
	padding: 0 !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	line-height: 1.65 !important;
	color: #46565c !important;
	text-align: left !important;
}

.tfam-page article.tfam-app-card > footer {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 12px !important;
	width: 100% !important;
	margin: auto 0 0 !important;
	padding: 15px 0 0 !important;
	font-size: 13px !important;
	line-height: 1.4 !important;
	color: #68777c !important;
	background: transparent !important;
	border-top: 1px solid #e8edef !important;
}

.tfam-page article.tfam-app-card > footer a {
	color: #5417e6 !important;
	font-weight: 650 !important;
	text-decoration: none !important;
	white-space: nowrap !important;
}

.tfam-page .tfam-pagination,
.tfam-page .tfam-archive-copy {
	width: 100% !important;
	max-width: none !important;
}

.tfam-page .tfam-archive-copy {
	margin: 44px 0 0 !important;
	padding: 0 !important;
}

.tfam-page .tfam-archive-copy p {
	max-width: 1000px !important;
}

.tfam-page .tfam-archive-copy h2,
.tfam-page .tfam-archive-faq > h2 {
	display: block !important;
	margin: 34px 0 12px !important;
	padding: 0 !important;
	font-size: 25px !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
	color: #075568 !important;
}

.tfam-page .tfam-archive-copy p,
.tfam-page .tfam-archive-faq p {
	margin: 0 0 14px !important;
	padding: 0 !important;
	font-size: 16px !important;
	font-weight: 400 !important;
	line-height: 1.75 !important;
	color: #3d4d53 !important;
}

.tfam-page .tfam-archive-faq {
	width: 100% !important;
	max-width: none !important;
	margin: 52px 0 0 !important;
	padding: 34px !important;
	background: #f7fbfc !important;
	border: 1px solid #dce8ea !important;
	border-radius: 12px !important;
}

.tfam-page .tfam-archive-faq > h2 {
	margin-top: 0 !important;
}

.tfam-page .tfam-faq-list {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 0 34px !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

.tfam-page .tfam-faq-list article {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 20px 0 !important;
	background: transparent !important;
	border: 0 !important;
	border-top: 1px solid #dbe6e8 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

.tfam-page .tfam-faq-list article h3 {
	display: block !important;
	margin: 0 0 8px !important;
	padding: 0 !important;
	font-size: 18px !important;
	font-weight: 700 !important;
	line-height: 1.4 !important;
	color: #18343d !important;
}

.tfam-page .tfam-faq-list article p {
	margin-bottom: 0 !important;
}

.tfam-page .tfam-article {
	width: calc(100% - 48px) !important;
	max-width: 1280px !important;
	margin: 0 auto !important;
	padding: 38px 0 48px !important;
}

.tfam-page .tfam-article > section,
.tfam-page .tfam-article > footer {
	width: 100% !important;
	max-width: none !important;
}

.tfam-page .tfam-article h2 {
	display: block !important;
	margin: 34px 0 12px !important;
	padding: 0 !important;
	font-size: 25px !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
	color: #075568 !important;
}

.tfam-page .tfam-article h3 {
	display: block !important;
	margin: 22px 0 7px !important;
	padding: 0 !important;
	font-size: 18px !important;
	font-weight: 700 !important;
	line-height: 1.4 !important;
	color: #18343d !important;
}

.tfam-page .tfam-article p,
.tfam-page .tfam-article li {
	max-width: 1050px !important;
	font-size: 16px !important;
	font-weight: 400 !important;
	line-height: 1.75 !important;
	color: #3d4d53 !important;
}

.tfam-page .tfam-summary {
	display: grid !important;
	grid-template-columns: 96px minmax(0, 1fr) auto !important;
	align-items: start !important;
	gap: 24px !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 24px !important;
	background: #ffffff !important;
	border: 1px solid #cedbdd !important;
	border-radius: 10px !important;
	box-shadow: 0 5px 20px rgba(7, 85, 104, 0.06) !important;
}

.tfam-page .tfam-summary dl,
.tfam-page .tfam-summary dl > div {
	width: 100% !important;
	max-width: none !important;
}

.tfam-page .tfam-summary dl > div {
	display: grid !important;
	grid-template-columns: 190px minmax(0, 1fr) !important;
	gap: 14px !important;
	margin: 0 !important;
	padding: 8px 0 !important;
}

.tfam-page .tfam-button {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-height: 44px !important;
	margin: 0 !important;
	padding: 0 20px !important;
	font-size: 14px !important;
	font-weight: 650 !important;
	line-height: 1 !important;
	color: #ffffff !important;
	background: #5417e6 !important;
	border: 1px solid #5417e6 !important;
	border-radius: 7px !important;
	text-decoration: none !important;
}

.tfam-page .tfam-article figure {
	width: 100% !important;
	max-width: 1100px !important;
	margin: 26px 0 !important;
}

/* Keep inline editorial images at a sensible natural size. Dashboard images
 * stored in dedicated app fields remain full-width through the rule above. */
.tfam-page .tfam-content figure {
	display: table !important;
	width: auto !important;
	max-width: min(720px, 100%) !important;
	margin: 26px 0 !important;
	padding: 18px !important;
	background: #ffffff !important;
	border: 1px solid #dce6e8 !important;
	border-radius: 8px !important;
}

.tfam-page .tfam-content figure img,
.tfam-page .tfam-content img {
	display: block !important;
	width: auto !important;
	height: auto !important;
	max-width: 100% !important;
	max-height: 420px !important;
	margin: 0 auto !important;
	object-fit: contain !important;
}

.tfam-page .tfam-content figure figcaption {
	display: table-caption !important;
	caption-side: bottom !important;
	max-width: 720px !important;
	padding: 8px 4px 0 !important;
	font-size: 13px !important;
	line-height: 1.5 !important;
	color: #66767c !important;
	text-align: center !important;
}

.tfam-page .tfam-content img[src*="WordPress-logotype-wmark"] {
	width: 180px !important;
	max-width: min(180px, 100%) !important;
	height: auto !important;
}

@media (max-width: 980px) {
	.tfam-page {
		margin-top: 130px !important;
		margin-bottom: 70px !important;
	}
	.tfam-page .tfam-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
	.tfam-page .tfam-summary {
		grid-template-columns: 88px minmax(0, 1fr) !important;
	}
	.tfam-page .tfam-summary .tfam-button {
		grid-column: 1 / -1 !important;
		width: fit-content !important;
	}
}

@media (max-width: 720px) {
	.tfam-page {
		margin-top: 120px !important;
		margin-bottom: 70px !important;
	}
	.tfam-page .tfam-title-band {
		padding: 30px 0 !important;
	}
	.tfam-page .tfam-container,
	.tfam-page .tfam-archive-body,
	.tfam-page .tfam-article {
		width: calc(100% - 28px) !important;
	}
	.tfam-page .tfam-filter,
	.tfam-page .tfam-grid,
	.tfam-page .tfam-faq-list {
		grid-template-columns: 1fr !important;
	}
	.tfam-page .tfam-archive-faq {
		padding: 22px !important;
	}
	.tfam-page .tfam-content figure {
		width: 100% !important;
		padding: 14px !important;
	}
	.tfam-page article.tfam-app-card {
		min-height: 0 !important;
		padding: 20px !important;
	}
	.tfam-page .tfam-card-badges {
		justify-content: flex-start !important;
	}
	.tfam-page .tfam-summary {
		grid-template-columns: 1fr !important;
		padding: 20px !important;
	}
	.tfam-page .tfam-summary dl > div {
		grid-template-columns: 1fr !important;
		gap: 3px !important;
	}
	.tfam-page .tfam-summary .tfam-button {
		width: 100% !important;
	}
}

@media (max-width: 420px) {
	.tfam-page .tfam-card-top {
		flex-direction: column !important;
	}
	.tfam-page .tfam-card-title {
		font-size: 19px !important;
	}
	.tfam-page article.tfam-app-card > footer {
		align-items: flex-start !important;
		flex-direction: column !important;
	}
}
