.dba-profile,
.dba-partner-single {
	--dba-accent: var(--dba-orange, #F2A31E);
	--dba-ink: var(--dba-heading, #29303B);
	--dba-copy: var(--dba-body, #415674);
	color: var(--dba-copy);
}

.dba-profile__container,
.dba-partner-single__container {
	width: min(100% - 2rem, var(--dba-container, 1200px));
	margin-inline: auto;
}

.dba-profile__hero,
.dba-partner-single__hero {
	padding: clamp(3.5rem, 7vw, 7rem) 0;
	background: #fafafa;
}

.dba-profile__hero-grid {
	display: grid;
	grid-template-columns: minmax(240px, .75fr) minmax(0, 1.25fr);
	gap: clamp(2rem, 6vw, 6rem);
	align-items: center;
}

.dba-profile__portrait img,
.dba-partner-single__logo img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 12px;
}

.dba-partner-single__logo {
	max-width: 260px;
	margin-bottom: 2rem;
}

.dba-profile__eyebrow,
.dba-partner-single__eyebrow {
	margin: 0 0 .75rem;
	color: var(--dba-accent);
	font-weight: 700;
	letter-spacing: .08em;
}

.dba-profile h1,
.dba-partner-single h1 {
	margin: 0 0 1rem;
	color: var(--dba-ink);
	font-size: 34px;
	line-height: 45px;
}

.dba-profile__lead,
.dba-partner-single__lead {
	font-size: 16px;
	line-height: 1.875;
}

.dba-profile__section,
.dba-partner-single__content {
	padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.dba-profile__section--soft {
	background: #fafafa;
}

.dba-profile__section--dark {
	background: #101c32;
	color: #fff;
}

.dba-profile__section h2,
.dba-partner-single__content h2 {
	margin-top: 0;
	color: inherit;
	font-size: 30px;
	line-height: 39px;
}

.dba-partner-single__benefit {
	margin: 0;
	padding: 1.25rem;
	border: 1px solid #dfe4ea;
	border-radius: 8px;
	background: #fff;
}

.dba-profile__cta {
	text-align: center;
	background: var(--dba-band-cream, #FCF9F0);
}

.dba-profile__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 1rem;
	padding: .8rem 1.25rem;
	border-radius: 4px;
	background: var(--dba-accent);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}

.dba-partner-single__content {
	display: grid;
	gap: 2rem;
}

.dba-partner-single__validity {
	margin-top: 1.5rem;
	font-size: 12px;
}

@media (max-width: 860px) {
	.dba-profile__hero-grid {
		grid-template-columns: 1fr;
	}

	.dba-profile__portrait {
		max-width: 420px;
	}
}

/* ===========================================================================
 * Physician profile parity layer — DA-FE-008.
 *
 * Scoped to `.dba-profile__*` so partner-route styles stay untouched. Section
 * order mirrors the legacy page from the bio block down: hero, 教學理念,
 * 堅實的專業根基, 教學成果, 學員見證, 專業學習資源, CTA. Cards inside
 * 專業學習資源 belong to the shared query components and are styled there.
 * ======================================================================== */
.dba-profile {
	--dba-profile-navy: var(--dba-blue-deep, #0F4C81);
	--dba-profile-band: #FAFAFA;
	--dba-profile-hairline: #DCE4EC;
	/* Legacy testimonial border/quote rotation (gostudy feedback style 3). */
	--dba-profile-quote-1: #01BCA7;
	--dba-profile-quote-2: #FFBC51;
	--dba-profile-quote-3: #FF6D34;
}

.dba-profile__titlebar {
	padding: 40px 0;
	background: linear-gradient(90deg, #FAFAFA 0%, #FFFFFF 100%);
	text-align: center;
}

.dba-profile__titlebar h1 {
	margin: 0;
	color: var(--dba-ink);
	font-size: 34px;
	font-weight: 500;
	line-height: 45px;
}

.dba-profile__breadcrumb {
	margin: 8px 0 0;
	font-family: system-ui, sans-serif;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: .08em;
}

.dba-profile__breadcrumb a {
	color: var(--dba-copy);
}

/* --- shared section rhythm ------------------------------------------------ */
.dba-profile__section {
	padding: 64px 0;
	background: #FFFFFF;
}

.dba-profile__section--soft {
	background: var(--dba-profile-band);
}

.dba-profile__section > .dba-profile__container > h2 {
	margin: 0 0 32px;
	color: var(--dba-profile-navy);
	font-size: var(--dba-heading-size, 28px);
	font-weight: var(--dba-heading-weight, 500);
	line-height: 1.5;
	text-align: center;
}

.dba-profile__section-lead {
	margin: -12px 0 40px;
	color: var(--dba-ink);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.8;
	text-align: center;
}

.dba-profile__richtext {
	font-size: 16px;
	line-height: 2.05;
}

.dba-profile__richtext p {
	margin: 0 0 1em;
}

.dba-profile__richtext p:last-child {
	margin-bottom: 0;
}

/* --- hero ----------------------------------------------------------------- */
.dba-profile__hero {
	padding: 40px 0 64px;
	background: #FFFFFF;
}

.dba-profile__hero-grid {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 56px;
	align-items: center;
}

.dba-profile__portrait {
	width: min(100%, 290px);
	margin-inline: auto;
}

.dba-profile__portrait img {
	aspect-ratio: 1;
	border-radius: 9999px;
	object-fit: cover;
}

.dba-profile__hero-copy {
	min-width: 0;
}

.dba-profile__experience {
	margin-top: 28px;
}

.dba-profile__experience ul {
	margin: 14px 0 0;
	padding: 0;
	list-style: none;
}

.dba-profile__experience li {
	position: relative;
	margin: 0 0 10px;
	padding-left: 32px;
	line-height: 1.9;
}

.dba-profile__experience li::before {
	content: "";
	position: absolute;
	top: .6em;
	left: 2px;
	width: 13px;
	height: 7px;
	border-bottom: 2px solid var(--dba-copy);
	border-left: 2px solid var(--dba-copy);
	transform: rotate(-45deg);
}

/* --- 教學理念 -------------------------------------------------------------- */
.dba-profile__philosophy h3 {
	margin: 0 0 28px;
	color: var(--dba-ink);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.8;
	text-align: center;
}

.dba-profile__philosophy-quote {
	margin: 56px 0 0;
	color: var(--dba-ink);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.8;
	text-align: center;
}

.dba-profile__signature {
	margin: 24px 0 0;
	text-align: right;
}

.dba-profile__signature img {
	display: inline-block;
	width: 185px;
	height: auto;
}

/* --- 堅實的專業根基 --------------------------------------------------------- */
.dba-profile__columns {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 80px;
}

.dba-profile__column {
	position: relative;
	min-width: 0;
}

.dba-profile__column + .dba-profile__column::before {
	content: "";
	position: absolute;
	top: 24px;
	bottom: 0;
	left: -40px;
	width: 1px;
	background: var(--dba-profile-hairline);
}

.dba-profile__column-title {
	margin: 0 0 26px;
	padding: 18px 16px;
	background: var(--dba-profile-navy);
	color: #FFFFFF;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.7;
	text-align: center;
}

.dba-profile__column ul {
	margin: 0;
	padding-left: 22px;
}

.dba-profile__column li {
	margin: 0 0 12px;
	line-height: 1.9;
}

.dba-profile__column li::marker {
	color: var(--dba-muted-border, #A3ABB8);
}

/* --- 教學成果 -------------------------------------------------------------- */
.dba-profile__stat-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}

.dba-profile__stat {
	text-align: center;
}

.dba-profile__stat-number {
	margin: 0;
	color: var(--dba-accent);
	font-size: 40px;
	font-weight: 500;
	line-height: 1.25;
}

.dba-profile__stat-suffix {
	font-size: 32px;
}

.dba-profile__stat-label {
	margin: 10px 0 0;
	color: var(--dba-ink);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.6;
}

.dba-profile__stat-caption {
	margin: 8px 0 0;
	font-size: 14px;
	line-height: 1.8;
}

/* --- 學員見證 -------------------------------------------------------------- */
.dba-profile__quotes {
	display: grid;
	overflow-x: auto;
	padding: 48px 4px 12px;
	gap: 30px;
	grid-auto-columns: calc((100% - 90px) / 4);
	grid-auto-flow: column;
	grid-template-columns: none;
	scroll-padding-inline: 4px;
	scroll-snap-type: inline proximity;
}

.dba-profile__quote {
	display: flex;
	position: relative;
	margin: 0;
	flex-direction: column;
	scroll-snap-align: start;
}

.dba-profile__quote-avatar {
	position: absolute;
	z-index: 1;
	top: -38px;
	left: 35px;
}

.dba-profile__quote-avatar img {
	display: block;
	width: 75px;
	height: 75px;
	border-radius: 50%;
	object-fit: cover;
}

.dba-profile__quote-body {
	display: flex;
	position: relative;
	flex: 1;
	flex-direction: column;
	padding: 38px 34px 44px;
	border: 1px solid #DDDDDD;
	border-radius: 10px;
	background: #FFFFFF;
}

.dba-profile__quote-body blockquote {
	margin: 0 0 22px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--dba-ink);
	font-size: 21px;
	line-height: 1.8;
}

.dba-profile__quote-foot {
	display: flex;
	align-items: flex-end;
	gap: 12px;
}

.dba-profile__quote-body figcaption {
	min-width: 0;
}

.dba-profile__quote-name {
	display: block;
	color: var(--dba-ink);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.7;
}

.dba-profile__quote-unit {
	display: block;
	color: var(--dba-ink);
	font-size: 14px;
	line-height: 1.7;
}

.dba-profile__quote-mark {
	margin-left: auto;
	flex: none;
	font-size: 46px;
	font-weight: 700;
	line-height: .8;
}

.dba-profile__quote:nth-child(3n+1) .dba-profile__quote-body { border-color: var(--dba-profile-quote-1); }
.dba-profile__quote:nth-child(3n+2) .dba-profile__quote-body { border-color: var(--dba-profile-quote-2); }
.dba-profile__quote:nth-child(3n+3) .dba-profile__quote-body { border-color: var(--dba-profile-quote-3); }
.dba-profile__quote:nth-child(3n+1) .dba-profile__quote-mark { color: var(--dba-profile-quote-1); }
.dba-profile__quote:nth-child(3n+2) .dba-profile__quote-mark { color: var(--dba-profile-quote-2); }
.dba-profile__quote:nth-child(3n+3) .dba-profile__quote-mark { color: var(--dba-profile-quote-3); }

/* --- 專業學習資源 ---------------------------------------------------------- */
.dba-profile__collection {
	margin-top: 56px;
}

.dba-profile__collection:first-of-type {
	margin-top: 8px;
}

.dba-profile__collection-title {
	margin: 0 0 24px;
	padding-left: 20px;
	border-left: 4px solid var(--dba-accent);
	color: var(--dba-ink);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.6;
}

/* The shared components own the card; the profile owns the rail geometry. */
.dba-profile__collection .dba-article-query__inner,
.dba-profile__collection .dba-course-query__inner {
	width: 100%;
	padding-block: 0;
}

.dba-profile__collection-more {
	margin: 32px 0 0;
	text-align: center;
}

.dba-profile__collection-more a {
	padding: 15px 48px;
}

/* --- CTA ------------------------------------------------------------------ */
.dba-profile__cta {
	padding: 40px 0 80px;
	background: #FFFFFF;
	text-align: left;
}

.dba-profile__cta-grid {
	display: grid;
	padding: 44px 48px;
	gap: 48px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: start;
	border-radius: 10px;
	background: var(--dba-band-cream, #FCF9F0);
}

.dba-profile__cta-grid > :only-child {
	grid-column: 1 / -1;
	text-align: center;
}

.dba-profile__cta-panel h2,
.dba-profile__follow h2 {
	margin: 0 0 24px;
	color: var(--dba-ink);
	font-size: 26px;
	font-weight: 700;
	line-height: 1.5;
}

.dba-profile__cta-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.dba-profile__cta-actions .dba-cta--solid,
.dba-profile__cta-actions .dba-cta--outline {
	padding: 15px 32px;
	border-radius: 8px;
	font-size: 18px;
}

.dba-profile__cta-note {
	margin: 16px 0 0;
	font-size: 13px;
	font-style: italic;
	line-height: 1.8;
}

.dba-profile__follow {
	position: relative;
}

.dba-profile__follow::before {
	content: "";
	position: absolute;
	top: 4px;
	bottom: 4px;
	left: -24px;
	width: 1px;
	background: #E7DFCC;
}

.dba-profile__follow ul {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.dba-profile__follow li {
	flex: 0 0 auto;
}

.dba-profile__follow a {
	display: inline-flex;
	min-height: 0;
	align-items: center;
	gap: 10px;
	padding: 4px 0;
	border: 0;
	border-radius: 0;
	background: none;
	color: var(--dba-ink);
	font-size: 15px;
	font-weight: 400;
	text-decoration: none;
}

.dba-profile__follow a:hover,
.dba-profile__follow a:focus-visible {
	background: none;
	color: var(--dba-ink);
	text-decoration: underline;
}

.dba-profile__follow-icon {
	width: 22px;
	height: 22px;
	flex: none;
}

.dba-profile__follow-icon--facebook { color: #1877F2; }
.dba-profile__follow-icon--instagram { color: #E1306C; }

@media (max-width: 1080px) {
	.dba-profile__quotes {
		grid-auto-columns: calc((100% - 60px) / 3);
	}
}

@media (max-width: 860px) {
	.dba-profile__hero-grid,
	.dba-profile__columns,
	.dba-profile__cta-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.dba-profile__hero-grid {
		gap: 40px;
	}

	.dba-profile__columns {
		gap: 40px;
	}

	.dba-profile__column + .dba-profile__column::before,
	.dba-profile__follow::before {
		display: none;
	}

	.dba-profile__stat-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 40px 24px;
	}

	.dba-profile__quotes {
		grid-auto-columns: calc((100% - 30px) / 2);
	}

	.dba-profile__cta-grid {
		padding: 32px 24px;
		gap: 32px;
	}
}

@media (max-width: 620px) {
	.dba-profile__titlebar {
		padding: 24px 0;
	}

	.dba-profile__hero {
		padding: 32px 0 40px;
	}

	.dba-profile__section {
		padding: 44px 0;
	}

	.dba-profile__portrait {
		width: min(76vw, 260px);
	}

	.dba-profile__quotes {
		grid-auto-columns: minmax(240px, 86%);
	}

	.dba-profile__signature {
		text-align: center;
	}

	.dba-profile__collection-title {
		font-size: 20px;
	}

	.dba-profile__cta-actions .dba-cta--solid,
	.dba-profile__cta-actions .dba-cta--outline {
		width: 100%;
	}
}

/* Legacy article archive parity. Layout/columns/sidebar come from Kadence archive
   theme mods; the card and sidebar bodies come from the DA-FE-002b Kadence Elements. */
body.blog,
body.category,
body.tag,
body.single-post {
	--dba-accent: var(--dba-orange, #F2A31E);
	--dba-accent-deep: var(--dba-blue-deep, #0F4C81);
	--dba-ink: var(--dba-heading, #1B2336);
	--dba-muted: var(--dba-body, #415674);
	--dba-meta-ink: #101C32;
}

body.blog #archive-container,
body.category #archive-container,
body.tag #archive-container {
	gap: 70px;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* --- archive loop item (Kadence Element on replace_loop_content) --- */
.dba-article-card {
	overflow: hidden;
	border-radius: 10px;
	background: #FFFFFF;
	box-shadow: 0 5px 15px 2px rgb(0 0 0 / 5%);
}

.dba-article-card__media {
	display: block;
	line-height: 0;
}

.dba-article-card__image {
	display: block;
	width: 100%;
	aspect-ratio: 40 / 23;
	object-fit: cover;
}

.dba-article-card__body {
	padding: 37px 50px 40px;
}

.dba-article-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 16px;
	margin-bottom: 20px;
	color: var(--dba-meta-ink);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
}

.dba-article-card__terms {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 8px;
}

.dba-article-card__term {
	display: inline-block;
	padding: 8px 15px;
	border-radius: 100px;
	background: #90D181;
	color: #FFFFFF;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
	text-decoration: none;
}

/* Legacy rotates the chip colour per card rather than per term. */
#archive-container > *:nth-child(4n+2) .dba-article-card__term { background: #FF6D34; }
#archive-container > *:nth-child(4n+3) .dba-article-card__term { background: #41C8D0; }
#archive-container > *:nth-child(4n+4) .dba-article-card__term { background: #F9BB03; }

.dba-article-card__author {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.dba-article-card__author a,
.dba-article-card__author a:hover {
	color: var(--dba-meta-ink);
	text-decoration: none;
}

.dba-article-card__avatar {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	object-fit: cover;
}

.dba-article-card__author::after {
	content: "|";
	margin-left: 8px;
	color: #C9D1DC;
	font-weight: 400;
}

.dba-article-card__views {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-left: auto;
	white-space: nowrap;
}

.dba-article-card__views svg {
	width: 16px;
	height: 16px;
	flex: none;
}

.dba-article-card__title {
	margin: 0 0 14px;
	font-size: 28px;
	font-weight: 500;
	line-height: 30px;
}

.dba-article-card__title a,
.dba-article-card__title a:hover {
	color: var(--dba-ink);
	text-decoration: none;
}

.dba-article-card__excerpt {
	margin: 0;
	color: var(--dba-muted);
	font-size: 16px;
	line-height: 30px;
}

.dba-article-card__more {
	margin-top: 20px;
}

.dba-article-card__button {
	display: inline-block;
	color: var(--dba-accent);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-decoration: none;
}

/* --- archive sidebar (Kadence Element on kadence_replace_sidebar) --- */
.dba-article-sidebar {
	color: var(--dba-muted);
}

.dba-article-sidebar__search {
	margin-bottom: 20px;
}

.dba-article-sidebar__search .wp-block-search__inside-wrapper {
	gap: 0;
}

.dba-article-sidebar__search .wp-block-search__input {
	min-height: 44px;
	padding: 11px 20px;
	border: 1px solid #D6D5D7;
	border-radius: 5px 0 0 5px;
	background: #FFFFFF;
	color: var(--dba-muted);
	font-size: 13px;
	font-weight: 700;
}

.dba-article-sidebar__search .wp-block-search__button {
	margin-left: 0;
	padding: 11px 18px;
	border: 1px solid var(--dba-accent);
	border-radius: 0 5px 5px 0;
	background: var(--dba-accent);
	color: #FFFFFF;
	font-size: 13px;
	font-weight: 700;
}

.dba-article-sidebar__title {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 36px 0 23px;
	color: var(--dba-ink);
	font-size: 20px;
	font-weight: 800;
	line-height: 30px;
}

.dba-article-sidebar__title::after {
	content: "";
	display: inline-block;
	width: 25px;
	height: 2px;
	background: var(--dba-accent);
}

.dba-article-sidebar > .wp-block-group__inner-container > .dba-article-sidebar__title:first-child,
.dba-article-sidebar__search + .dba-article-sidebar__title {
	margin-top: 0;
}

.dba-article-sidebar__categories {
	margin: 0;
	padding: 0;
	list-style: none;
}

.dba-article-sidebar__categories li {
	display: flex;
	gap: 12px;
	justify-content: space-between;
	margin: 0;
	padding: 6px 0;
	border-bottom: 1px solid #E5E5E5;
	color: #496285;
	font-size: 14px;
	font-weight: 700;
	line-height: 37px;
}

.dba-article-sidebar__categories a {
	color: var(--dba-ink);
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
}

.dba-article-sidebar__categories a:hover,
.dba-article-sidebar__categories a:focus-visible {
	color: var(--dba-accent-deep);
}

.dba-article-sidebar__tagcloud {
	line-height: 1;
}

.dba-article-sidebar__tagcloud a {
	display: inline-block;
	margin: 0 6px 10px 0;
	padding: 6px 11px;
	border-radius: 5px;
	background: #F2F9FC;
	color: var(--dba-muted);
	font-size: 14px !important;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
}

.dba-article-sidebar__tagcloud a:hover,
.dba-article-sidebar__tagcloud a:focus-visible {
	background: var(--dba-accent);
	color: #FFFFFF;
}

.dba-article-sidebar__tagcloud .tag-link-count {
	opacity: 0.7;
}

/* --- in-content archive heading (Kadence Element on kadence_archive_before_entry_header) --- */
.dba-archive-heading {
	margin: 0 0 40px;
}

.dba-archive-heading__title {
	margin: 0;
	color: var(--dba-ink);
	font-size: 36px;
	font-weight: 500;
	line-height: 48px;
}

.dba-archive-heading__title em {
	color: var(--dba-accent);
	font-style: normal;
}

.dba-archive-heading__description:empty {
	display: none;
}

.dba-archive-heading__description {
	margin: 10px 0 0;
	color: var(--dba-muted);
	font-size: 16px;
	line-height: 30px;
}

@media (max-width: 1024px) {
	body.blog #archive-container,
	body.category #archive-container,
	body.tag #archive-container {
		gap: 48px;
	}
}

@media (max-width: 620px) {
	body.blog #archive-container,
	body.category #archive-container,
	body.tag #archive-container {
		gap: 32px;
	}

	.dba-article-card__body {
		padding: 28px 24px 32px;
	}
}

/* --- single post parity (DA-FE-003) ---------------------------------------
   Layout, hero, sidebar, tags, navigation and related posts are Kadence native
   (post_* theme mods + the shared sidebar Element 79444). Only the legacy meta
   row and a few spacing/typography tokens live here. */

body.single-post .entry-content-wrap {
	padding: 0;
}

body.single-post .entry.single-entry {
	box-shadow: none;
	background: transparent;
}

body.single-post .post-thumbnail img {
	border-radius: 10px;
}

/* legacy `.post_meta-wrap .meta-data`: categories | author | date | comments */
.dba-single-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 16px;
	margin: 40px 0 24px;
	color: var(--dba-meta-ink);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
}

.dba-single-meta a,
.dba-single-meta a:hover {
	color: var(--dba-meta-ink);
	text-decoration: none;
}

.dba-single-meta .dba-article-card__term {
	margin-right: 4px;
}

.dba-single-meta__author {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.dba-single-meta__avatar {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	object-fit: cover;
}

.dba-single-meta__author::after,
.dba-single-meta__date::after {
	content: "|";
	margin-left: 8px;
	color: #C9D1DC;
	font-weight: 400;
}

.dba-single-meta__views {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-left: auto;
	white-space: nowrap;
}

.dba-single-meta__views svg {
	width: 16px;
	height: 16px;
	flex: none;
	color: var(--dba-accent);
}

/* DA-FE-003b: community links Element (79508) + 延伸閱讀/推薦資源 pattern (79509).
   Typography, colors, spacing and icon alignment live in the block attributes.
   Selectors mirror Kadence's own chain (.wp-block-kadence-iconlist ul .item-wrap
   .single) because its 4px icon padding outranks a short selector. */
.wp-block-kadence-iconlist.dba-community-links ul.kt-svg-icon-list .kt-svg-icon-list-item-wrap .kt-svg-icon-list-single {
	padding-top: 0;
	padding-bottom: 0; /* 30px icon + 32px text line = 32px row, like the legacy Elementor list */
}

/* bullet lists (icon align "top" in the block): give the dot a fixed 38px box
   so it stays centred on the first text line even when an item wraps. */
.wp-block-kadence-iconlist.dba-post-related-links ul.kt-svg-icon-list .kt-svg-icon-list-item-wrap .kt-svg-icon-list-single,
.wp-block-kadence-iconlist.dba-post-resource-links ul.kt-svg-icon-list .kt-svg-icon-list-item-wrap .kt-svg-icon-list-single {
	padding: 0;
	height: 38px;
}

/* legacy `.tagcloud a` */
body.single-post .entry-footer {
	margin-top: 28px;
	border-top: 0;
	padding: 0;
}

body.single-post .entry-tags .tags-links a {
	display: inline-block;
	margin: 0 8px 10px 0;
	padding: 6px 11px;
	border-radius: 5px;
	background: #F2F9FC;
	color: var(--dba-muted);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
}

body.single-post .entry-tags .tag-hash {
	display: none;
}

/* legacy `.related_posts .gostudy_module_title h4` */
body.single-post .entry-related-title {
	margin: 0 0 24px;
	color: var(--dba-ink);
	font-size: 30px;
	font-weight: 500;
	line-height: 39px;
}

@media (max-width: 620px) {
	.dba-single-meta {
		margin: 28px 0 20px;
		gap: 8px 12px;
	}

	.dba-single-meta__views {
		margin-left: 0;
	}
}

/* Legacy hero grows with the title (padding), Kadence only sets a min-height. */
body.single-post .post-hero-section .entry-header {
	padding: 130px 0 100px;
}

body.single-post .post-hero-section .entry-title {
	margin: 0;
}

@media (max-width: 767px) {
	body.single-post .post-hero-section .entry-header {
		padding: 70px 0 60px;
	}
}
