/**
 * Directory article page layout (not paid-card markup — cards use card.css).
 */

body.fkz-directory-page #masthead:not(.fkz-site-header),
body.fkz-directory-page .elementor-location-header,
body.fkz-directory-page .site-footer:not(.fkz-site-footer),
body.fkz-directory-page .elementor-location-footer {
	display: none !important;
}

body.fkz-directory-page #page,
body.fkz-directory-page .site,
body.fkz-directory-page #content,
body.fkz-directory-page main.site-main {
	border: none;
	box-shadow: none;
	margin: 0 !important;
	max-width: none;
	padding: 0 !important;
	width: 100%;
}

html:has(body.fkz-directory-page),
body.fkz-directory-page {
	background: var(--fkz-bg-page);
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
}

body.fkz-directory-page #comments,
body.fkz-directory-page .comments-area,
body.fkz-directory-page #respond {
	display: none;
}

body.admin-bar.fkz-directory-page #wpadminbar {
	position: fixed !important;
	top: 0 !important;
	z-index: 999999 !important;
}

.fkz-site-shell > .fkz-directory {
	margin-top: var(--fkz-gap);
}

.fkz-directory {
	display: flex;
	flex-direction: column;
	font-family: var(--fkz-font);
	font-size: var(--fkz-fs-body);
	gap: var(--fkz-gap);
	line-height: 1.6;
	width: 100%;
}

/* Lock typography against theme (Hello Elementor) heading/body rem scales */
body.fkz-directory-page .fkz-directory h1,
body.fkz-directory-page .fkz-directory h2,
body.fkz-directory-page .fkz-directory h3,
body.fkz-directory-page .fkz-directory h4,
body.fkz-directory-page .fkz-directory p,
body.fkz-directory-page .fkz-directory a,
body.fkz-directory-page .fkz-directory li,
body.fkz-directory-page .fkz-directory input,
body.fkz-directory-page .fkz-directory textarea,
body.fkz-directory-page .fkz-directory button,
body.fkz-directory-page .fkz-directory summary {
	font-family: var(--fkz-font);
}

body.fkz-directory-page .fkz-directory-intro__title {
	font-size: 20px;
}

body.fkz-directory-page .fkz-directory-intro__text,
body.fkz-directory-page .fkz-directory-seo__body {
	font-size: var(--fkz-fs-body);
}

body.fkz-directory-page .fkz-directory-section-title,
body.fkz-directory-page .fkz-directory-seo__title,
body.fkz-directory-page .fkz-directory-related__title {
	font-size: 16px;
}

body.fkz-directory-page .fkz-directory-chip {
	color: var(--fkz-body);
	font-size: var(--fkz-fs-caption);
}

.fkz-directory__layout {
	display: flex;
	flex-direction: column;
	gap: var(--fkz-gap);
	width: 100%;
}

.fkz-directory__main {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
}

/* The grey canvas only separates blocks (Sina's standing rule): under short content the last white block runs down
   to the bottom of the taller side column instead of leaving bare canvas. The phone-only related list may come last
   (hidden on desktop), so the block before it grows too. */
.fkz-directory__main > :last-child,
.fkz-directory__main > :has(+ .fkz-directory-related--main:last-child) {
	flex-grow: 1;
}

.fkz-directory__sidebar {
	display: none;
}

.fkz-directory-panel {
	background: var(--fkz-bg-surface);
	border-radius: 20px;
	box-shadow: 0 4px 20px rgba(18, 44, 58, 0.05);
	box-sizing: border-box;
	padding: 18px 16px;
}

.fkz-directory-panel--muted {
	color: var(--fkz-body);
	font-size: var(--fkz-fs-body);
	text-align: center;
}

.fkz-directory-section-title {
	color: var(--fkz-ink);
	font-weight: 800;
	line-height: 1.4;
	margin: 0 0 12px;
}

/* Intro — ADR-063. Banner sits inside the panel with a thin white margin and four round corners; height capped by aspect ratio (Sina 2026-10-26). */
.fkz-directory-intro__banner {
	aspect-ratio: 2 / 1;
	border-radius: var(--fkz-radius-lg);
	margin: -10px -8px 14px;
	overflow: hidden;
}

.fkz-directory-intro__banner-img,
.fkz-directory-intro__banner img {
	display: block;
	height: 100%;
	max-width: 100%;
	object-fit: cover;
	width: 100%;
}

.fkz-directory-intro__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 12px;
}

.fkz-directory-chip {
	background: var(--fkz-neutral-btn);
	border-radius: var(--fkz-radius-pill);
	display: inline-flex;
	font-weight: 600;
	line-height: 1.4;
	padding: 5px 11px;
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease;
}

a.fkz-directory-chip:hover,
a.fkz-directory-chip:focus-visible,
body.fkz-directory-page a.fkz-directory-chip:hover,
body.fkz-directory-page a.fkz-directory-chip:focus-visible {
	background: #e8ecee;
	color: var(--fkz-ink);
}

.fkz-directory-intro__title {
	color: var(--fkz-ink);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.5;
	margin: 0 0 12px;
}

/* One insurer per page: its logo opens the title row (replaces the old insurer pill row). */
.fkz-directory-intro__head {
	align-items: center;
	display: flex;
	gap: 12px;
	margin: 0 0 12px;
}

.fkz-directory-intro__head .fkz-directory-intro__title {
	margin: 0;
	min-width: 0;
}

/* No ring: white-margin logos melt into the white panel, full-colour ones (e.g. Kowsar) still read as a circle. */
.fkz-directory-intro__logo {
	border-radius: var(--fkz-radius-pill);
	flex-shrink: 0;
	height: 60px; /* = a two-line H1 on phones (20px × 1.5), Sina 2026-10-27 */
	overflow: hidden;
	width: 60px;
}

.fkz-directory-intro__logo img {
	display: block;
	height: 100%;
	object-fit: contain;
	width: 100%;
}

.fkz-directory-intro__text {
	color: var(--fkz-body);
	line-height: 1.9;
	margin: 0;
	text-align: justify;
}

/* Related articles */
.fkz-directory-related__title {
	color: var(--fkz-ink);
	font-weight: 800;
	line-height: 1.4;
	margin: 0 0 10px;
}

/* ADR-059 blocks: a heading per block, then text links (hairline between rows, chevron like «مشاهده همه»). */
.fkz-directory-related__links {
	list-style: none;
	margin: 0 0 6px;
	padding: 0;
}

.fkz-directory-related__links + .fkz-directory-related__title {
	margin-top: 16px;
}

.fkz-directory-related__links li {
	margin: 0;
}

.fkz-directory-related__links li + li {
	border-top: 1px solid var(--fkz-border);
}

.fkz-directory-related__link,
.fkz-directory-related__link:visited {
	align-items: center;
	color: var(--fkz-body) !important;
	display: flex;
	font-size: var(--fkz-fs-secondary);
	font-weight: 600;
	gap: 8px;
	justify-content: space-between;
	line-height: 1.7;
	padding: 9px 2px;
	text-decoration: none !important;
	transition: color 0.16s ease;
}

.fkz-directory-related__link .fkz-icon-wrap {
	color: var(--fkz-muted);
	flex-shrink: 0;
}

.fkz-directory-related__link:hover,
.fkz-directory-related__link:focus-visible {
	color: var(--fkz-primary) !important;
}

.fkz-directory-related--sidebar {
	border: 1px solid var(--fkz-border);
}

.fkz-directory-related--sidebar .fkz-directory-related__title {
	font-size: var(--fkz-fs-body);
	font-weight: 700;
	margin-bottom: 6px;
	padding: 0 2px;
}

/* One white block for the whole list (Sina 2026-10-26): search bar, cards, banner, "show more". Padding follows the search archive; cards 12px apart like the archive grid. */
.fkz-directory-panel.fkz-directory-list {
	padding: 10px;
}

.fkz-directory-list .fkz-directory-toolbar {
	background: none;
	border-radius: 0;
	box-shadow: none;
	padding: 0 0 10px;
}

/* Unified card stack: paid + free + mobile CTAs — equal gap */
.fkz-directory__stack {
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 100%;
}

/* Free rows live in their own wrapper (so "show more" can append): same gap as the paid cards. */
.fkz-directory__free {
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 100%;
}

/* "Show more": a centred text link with an arrow inside the block (design-system.md §4). */
#fkz-free-more {
	align-items: center;
	align-self: center;
	appearance: none;
	background: none;
	border: 0;
	color: var(--fkz-primary);
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-size: var(--fkz-fs-secondary);
	font-weight: 700;
	gap: 4px;
	padding: 6px 10px;
	transition: color 0.16s ease;
}

#fkz-free-more:hover,
#fkz-free-more:focus-visible {
	background: none;
	color: var(--fkz-ink);
}

#fkz-free-more:disabled {
	cursor: default;
}

.fkz-directory__stack > .fkz-clinic-card-outer {
	margin-bottom: 0;
	margin-left: 0;
	margin-right: 0;
	width: 100%;
}

/* Search / sort / specialty toolbar (above all cards) */
.fkz-directory-toolbar {
	background: var(--fkz-bg-surface);
	border-radius: 20px;
	box-shadow: 0 4px 20px rgba(18, 44, 58, 0.05);
	box-sizing: border-box;
	display: block !important;
	padding: 12px;
	visibility: visible !important;
	width: 100%;
}

/* Same look as the archive search box (.fkz-sr__find). */
.fkz-directory-toolbar__search {
	align-items: center;
	background: var(--fkz-neutral-btn);
	border: 1px solid var(--fkz-border);
	border-radius: var(--fkz-radius-xl);
	display: flex !important;
	gap: 8px;
	min-width: 0;
	padding: 0 14px;
}

.fkz-directory-toolbar__search-icon {
	color: var(--fkz-subtle);
	flex-shrink: 0;
	line-height: 0;
}

.fkz-directory-toolbar__search-input {
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	box-sizing: border-box;
	color: var(--fkz-ink) !important;
	display: block !important;
	font-family: inherit;
	font-size: var(--fkz-fs-body);
	min-height: 44px;
	opacity: 1 !important;
	outline: none;
	padding: 0 4px;
	visibility: visible !important;
	width: 100%;
}

/* 16px only where iOS Safari would zoom into a smaller field (same as the archive search box). */
@supports (-webkit-touch-callout: none) {
	.fkz-directory-toolbar__search-input {
		font-size: 16px;
	}
}

.fkz-listing-row {
	background: var(--fkz-bg-surface);
	border: 1px solid var(--fkz-border);
	border-radius: 20px;
	box-shadow: 0 4px 14px rgba(18, 44, 58, 0.06);
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 7px;
	padding: 11px;
}

.fkz-listing-row__head {
	align-items: center;
	display: flex;
	gap: 9px;
	min-width: 0;
}

.fkz-listing-row__avatar {
	align-items: center;
	background: var(--fkz-neutral-btn);
	border-radius: var(--fkz-radius-pill);
	color: var(--fkz-subtle);
	display: flex;
	flex-shrink: 0;
	height: 34px;
	justify-content: center;
	width: 34px;
}

.fkz-listing-row__name {
	color: #4f6d7f;
	font-size: var(--fkz-fs-body);
	font-weight: 500;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.fkz-listing-row__name--link {
	color: var(--fkz-ink) !important;
	font-weight: 700;
	text-decoration: none !important;
	transition: color 0.15s ease;
}

a.fkz-listing-row__name--link:hover,
a.fkz-listing-row__name--link:focus-visible {
	color: var(--fkz-primary) !important;
}

.fkz-listing-row__avatar {
	overflow: hidden;
}

.fkz-listing-row__photo {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

/* Second number: beside the first on mobile, behind an arrow on desktop (see the desktop block). */
.fkz-listing-row__more {
	display: none;
}

.fkz-listing-row__address {
	color: var(--fkz-subtle);
	font-size: var(--fkz-fs-caption);
	line-height: 1.6;
	margin: 0;
	width: 100%;
}

.fkz-listing-row__phones {
	display: flex;
	gap: 6px;
	width: 100%;
}

.fkz-listing-row__phone {
	align-items: center;
	background: var(--fkz-neutral-btn);
	border-radius: 9px;
	box-sizing: border-box;
	color: var(--fkz-primary) !important;
	display: flex;
	flex: 1;
	font-size: var(--fkz-fs-secondary);
	font-weight: 700;
	gap: 6px;
	justify-content: center;
	padding: 9px;
	text-decoration: none !important;
	transition: color 0.15s ease;
	white-space: nowrap;
}

.fkz-listing-row__phone:hover,
.fkz-listing-row__phone:focus-visible {
	/* Keep pill fill; only text/icon shift primary → ink (Design System links). */
	background: var(--fkz-neutral-btn);
	color: var(--fkz-ink) !important;
}

.fkz-listing-row__phone .fkz-icon-wrap {
	color: inherit;
}

/* Signup banner, option B1 (Sina 2026-10-26): insurance tint on white, teal button. Same look as the sidebar card. */
.fkz-directory-cta-banner {
	align-items: center;
	background: var(--fkz-badge-insurance-bg);
	border-radius: var(--fkz-radius-xl);
	box-sizing: border-box;
	display: flex;
	gap: 12px;
	padding: 12px;
}

.fkz-directory-cta-banner__icon {
	align-items: center;
	background: var(--fkz-bg-surface);
	border-radius: 12px;
	color: var(--fkz-badge-insurance-fg);
	display: flex;
	flex-shrink: 0;
	height: 42px;
	justify-content: center;
	width: 42px;
}

.fkz-directory-cta-banner__text {
	flex: 1;
	min-width: 0;
}

.fkz-directory-cta-banner__title {
	color: var(--fkz-ink);
	font-size: var(--fkz-fs-secondary);
	font-weight: 800;
	margin-bottom: 2px;
}

.fkz-directory-cta-banner__sub {
	color: var(--fkz-badge-insurance-fg);
	font-size: var(--fkz-fs-caption);
	line-height: 1.5;
}

.fkz-directory-cta-banner__btn {
	align-items: center;
	background: var(--fkz-badge-insurance-fg);
	border-radius: 10px;
	color: #fff;
	display: inline-flex;
	flex-shrink: 0;
	font-size: var(--fkz-fs-caption);
	font-weight: 700;
	gap: 4px;
	padding: 9px 13px;
	white-space: nowrap;
}

/* SEO */
.fkz-directory-seo__title {
	color: var(--fkz-ink);
	font-weight: 800;
	margin: 0 0 12px;
}

.fkz-directory-seo__body {
	color: var(--fkz-body);
	line-height: 2;
}

.fkz-directory-seo__body p {
	margin: 0 0 1em;
	text-align: justify;
}

.fkz-directory-seo__body h2,
.fkz-directory-seo__body h3,
.fkz-directory-seo__body h4 {
	color: var(--fkz-ink);
	font-weight: 700;
	line-height: 1.5;
	margin: 16px 0 6px;
}

.fkz-directory-seo__body h2 {
	font-size: 15px;
}

.fkz-directory-seo__body h3 {
	font-size: 14px;
}

.fkz-directory-seo__body h4 {
	font-size: var(--fkz-fs-body);
}

.fkz-directory-seo__body img,
.fkz-directory-seo__body .wp-block-image img,
.fkz-directory-seo__body figure img {
	border-radius: 14px;
	display: block;
	height: auto;
	max-width: 100%;
}

.fkz-directory-seo__body figure,
.fkz-directory-seo__body .wp-block-image {
	border-radius: 14px;
	margin: 14px 0;
	overflow: hidden;
}

/* «نکته» (Sina 2026-10-26): one fixed look for notes/warnings in the article. Writers use the WordPress quote block; old posts' hand-coloured
   paragraphs show in the same box, and hand-set colours are ignored in the new design so the article keeps the site's identity. */
/* Converted Elementor pages (.fkz-landing) keep their carried colours, already mapped to the site palette. */
.fkz-directory:not(.fkz-landing) .fkz-directory-seo__body [style*="color"] {
	color: inherit !important;
}

.fkz-directory-seo__body blockquote,
.fkz-directory:not(.fkz-landing) .fkz-directory-seo__body p:has(span[style*="color"]) {
	background: var(--fkz-badge-insurance-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%230b5764' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v5M12 8h.01'/%3E%3C/svg%3E") no-repeat right 14px top 14px;
	border: 0;
	border-radius: var(--fkz-radius-lg);
	color: var(--fkz-ink);
	font-size: var(--fkz-fs-body);
	font-style: normal;
	line-height: var(--fkz-lh-body);
	margin: 14px 0;
	padding: 12px 42px 12px 16px;
	text-align: start;
}

.fkz-directory-seo__body blockquote p {
	margin: 0;
}

.fkz-directory-seo__body blockquote cite {
	color: var(--fkz-badge-insurance-fg);
	display: block;
	font-size: var(--fkz-fs-caption);
	font-style: normal;
	margin-top: 4px;
}

@counter-style fkz-fa {
	system: numeric;
	symbols: "۰" "۱" "۲" "۳" "۴" "۵" "۶" "۷" "۸" "۹";
}

/* Table of contents (Easy TOC plugin) in the site's look (checklist 6): one quiet box, collapsed, chevron like the sidebar; the whole title row toggles. */
.fkz-directory-seo__body #ez-toc-container {
	background: var(--fkz-neutral);
	border: 1px solid var(--fkz-border);
	border-radius: var(--fkz-radius-lg);
	box-shadow: none;
	box-sizing: border-box;
	display: block;
	margin: 14px 0;
	padding: 0;
	width: 100%;
}

.fkz-directory-seo__body #ez-toc-container .ez-toc-title-container {
	align-items: center;
	display: flex;
	justify-content: space-between;
	padding: 12px 16px;
	position: relative;
}

.fkz-directory-seo__body #ez-toc-container p.ez-toc-title {
	color: var(--fkz-ink);
	font-size: var(--fkz-fs-body);
	font-weight: 700;
	margin: 0;
	text-align: start;
}

.fkz-directory-seo__body #ez-toc-container .ez-toc-js-icon-con {
	display: none;
}

.fkz-directory-seo__body #ez-toc-container a.ez-toc-toggle {
	align-items: center;
	background: none !important;
	border: 0 !important;
	box-shadow: none !important;
	display: inline-flex;
	height: 16px;
	justify-content: center;
	margin: 0;
	padding: 0;
	width: 16px;
}

.fkz-directory-seo__body #ez-toc-container a.ez-toc-toggle::before {
	content: "";
	inset: 0;
	position: absolute;
}

.fkz-directory-seo__body #ez-toc-container a.ez-toc-toggle::after {
	border-bottom: 2px solid var(--fkz-primary);
	border-right: 2px solid var(--fkz-primary);
	content: "";
	height: 7px;
	margin-top: -4px;
	transform: rotate(45deg);
	transition: transform 0.16s ease;
	width: 7px;
}

.fkz-directory-seo__body #ez-toc-container:has(ul.ez-toc-list[style*="block"]) a.ez-toc-toggle::after {
	margin-top: 4px;
	transform: rotate(-135deg);
}

.fkz-directory-seo__body #ez-toc-container nav ul.ez-toc-list {
	margin: 0;
	padding: 0 16px 12px;
}

/* Sub-items sit one step in (hierarchy); their own list keeps the outer padding off. */
.fkz-directory-seo__body #ez-toc-container nav ul.ez-toc-list ul {
	margin: 0;
	padding: 0;
	padding-inline-start: 1.8em;
}

.fkz-directory-seo__body #ez-toc-container nav li {
	font-size: var(--fkz-fs-secondary);
	line-height: var(--fkz-lh-secondary);
	margin: 0;
}

.fkz-directory-seo__body #ez-toc-container nav a,
.fkz-directory-seo__body #ez-toc-container nav a:visited {
	color: var(--fkz-body) !important;
	display: flex;
	gap: 6px;
	text-decoration: none !important;
}

/* Persian numbers in a fixed-width column, so «۱۰.» and «۹.» start their titles on the same line. */
.fkz-directory-seo__body #ez-toc-container nav a::before {
	color: var(--fkz-subtle);
	flex: 0 0 auto;
	min-width: 1.6em;
}

.fkz-directory-seo__body #ez-toc-container nav ul.ez-toc-list > li > a::before {
	content: counter(item-level1, fkz-fa) ".";
}

.fkz-directory-seo__body #ez-toc-container nav ul.ez-toc-list > li > ul > li > a::before {
	content: counter(item-level1, fkz-fa) "." counter(item-level2, fkz-fa);
	min-width: 2.4em;
}

.fkz-directory-seo__body #ez-toc-container nav ul.ez-toc-list > li > ul > li > ul > li > a::before {
	content: counter(item-level1, fkz-fa) "." counter(item-level2, fkz-fa) "." counter(item-level3, fkz-fa);
	min-width: 3.2em;
}

.fkz-directory-seo__body #ez-toc-container nav a:hover,
.fkz-directory-seo__body #ez-toc-container nav a:focus-visible {
	color: var(--fkz-primary) !important;
}

@media (prefers-reduced-motion: reduce) {
	.fkz-directory-seo__body #ez-toc-container a.ez-toc-toggle::after {
		transition: none;
	}
}

/* Old TablePress tables (pages still in table mode) in the site's look (checklist 6): calm header, hairlines, scroll inside its frame on phones. */
.fkz-directory-seo__body .dt-container {
	font-size: var(--fkz-fs-secondary);
	margin: 14px 0;
}

.fkz-directory-seo__body .dt-layout-table .dt-layout-cell {
	border: 1px solid var(--fkz-card-line, rgba(18, 44, 58, 0.16));
	border-radius: var(--fkz-radius-lg);
	overflow-x: auto;
	padding: 0; /* DataTables' 5px left a white strip above the header */
	-webkit-overflow-scrolling: touch;
}

/* Sort arrows: two small hairline chevrons instead of the solid ▲▼; the active direction turns primary. */
.fkz-directory-seo__body table.tablepress thead .dt-column-order::before,
.fkz-directory-seo__body table.tablepress thead .dt-column-order::after {
	border-bottom: 1.5px solid var(--fkz-muted);
	border-right: 1.5px solid var(--fkz-muted);
	content: "" !important;
	height: 4px;
	left: 50% !important;
	opacity: 1 !important;
	position: absolute;
	width: 4px;
}

.fkz-directory-seo__body table.tablepress thead .dt-column-order::before {
	top: calc(50% - 6px) !important;
	transform: translateX(-50%) rotate(-135deg);
}

.fkz-directory-seo__body table.tablepress thead .dt-column-order::after {
	top: calc(50% + 1px) !important;
	transform: translateX(-50%) rotate(45deg);
}

.fkz-directory-seo__body table.tablepress thead th.dt-ordering-asc .dt-column-order::before,
.fkz-directory-seo__body table.tablepress thead th.dt-ordering-desc .dt-column-order::after {
	border-color: var(--fkz-primary);
}

/* Table search: same look as the search box above the directory cards (icon inside, 44px, radius 16). */
.fkz-directory-seo__body .dt-layout-row:not(.dt-layout-table) .dt-layout-cell:has(.dt-search) {
	flex: 1 1 auto;
}

.fkz-directory-seo__body .dt-search {
	display: flex;
	margin-bottom: 10px;
	width: 100%;
}

.fkz-directory-seo__body .dt-search label {
	clip: rect(0 0 0 0);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.fkz-directory-seo__body table.tablepress {
	border: 0;
	border-collapse: collapse;
	margin: 0;
	min-width: 560px;
	width: 100%;
}

.fkz-directory-seo__body table.tablepress thead th,
.fkz-directory-seo__body table.tablepress tfoot th {
	background: var(--fkz-neutral-btn) !important;
	border: 0;
	border-bottom: 1px solid var(--fkz-border);
	color: var(--fkz-ink) !important;
	font-size: var(--fkz-fs-secondary);
	font-weight: 700;
	padding: 10px 12px;
	text-align: start;
	white-space: nowrap;
}

.fkz-directory-seo__body table.tablepress tbody td {
	background: var(--fkz-bg-surface) !important;
	border: 0;
	border-top: 1px solid var(--fkz-border);
	color: var(--fkz-body);
	font-size: var(--fkz-fs-secondary);
	line-height: 1.7;
	padding: 10px 12px;
	text-align: start;
	vertical-align: top;
}

.fkz-directory-seo__body table.tablepress tbody tr:first-child td {
	border-top: 0;
}

.fkz-directory-seo__body .dt-search input.dt-input {
	background: var(--fkz-neutral-btn) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 24 24' fill='none' stroke='%235c707b' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat right 14px center;
	border: 1px solid var(--fkz-border);
	border-radius: var(--fkz-radius-xl);
	box-shadow: none;
	box-sizing: border-box;
	color: var(--fkz-ink);
	flex: 1;
	font-family: var(--fkz-font);
	font-size: var(--fkz-fs-body);
	margin: 0;
	min-height: 44px;
	outline: 0;
	padding: 0 38px 0 14px;
	transition: border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
	width: 100%;
}

.fkz-directory-seo__body .dt-search input.dt-input:focus {
	background-color: var(--fkz-bg-surface);
	border-color: var(--fkz-primary);
	box-shadow: 0 0 0 3px rgba(95, 126, 145, 0.18);
}

@supports (-webkit-touch-callout: none) {
	.fkz-directory-seo__body .dt-search input.dt-input {
		font-size: 16px;
	}
}

.fkz-directory-seo__body .dt-info {
	color: var(--fkz-subtle);
	font-size: var(--fkz-fs-caption);
}

/* Sidebar */
.fkz-directory-sidebar {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

/* Signup card, option B1: a white frame (like every other block) around the insurance-tint box.
   Tall = the phone's end-of-page banner (and the landing contact box); small = the desktop card under the map. */
.fkz-directory-sidebar__cta {
	background: var(--fkz-bg-surface);
	border-radius: 20px;
	box-shadow: 0 4px 20px rgba(18, 44, 58, 0.05);
	box-sizing: border-box;
	overflow: hidden;
	padding: 10px;
	text-align: center;
}

.fkz-directory-sidebar__cta-tall {
	background: var(--fkz-badge-insurance-bg);
	border-radius: var(--fkz-radius-xl);
	box-sizing: border-box;
	padding: 22px 16px;
}

.fkz-directory-sidebar__cta-compact {
	align-items: center;
	background: var(--fkz-badge-insurance-bg);
	border-radius: var(--fkz-radius-xl);
	box-sizing: border-box;
	display: flex;
	gap: 12px;
	padding: 10px;
	text-align: right;
}

.fkz-directory-sidebar__cta-inner {
	align-items: center;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.fkz-directory-sidebar__cta-icon,
.fkz-directory-sidebar__cta-compact-icon {
	align-items: center;
	background: var(--fkz-bg-surface);
	border-radius: 12px;
	color: var(--fkz-badge-insurance-fg);
	display: flex;
	flex-shrink: 0;
	height: 42px;
	justify-content: center;
	width: 42px;
}

.fkz-directory-sidebar__cta-icon {
	border-radius: 16px;
	height: 52px;
	width: 52px;
}

.fkz-directory-sidebar__cta-title {
	color: var(--fkz-ink);
	font-size: 15px;
	font-weight: 800;
	margin: 0;
}

.fkz-directory-sidebar__cta-text {
	color: var(--fkz-badge-insurance-fg);
	font-size: var(--fkz-fs-secondary);
	line-height: 1.8;
	margin: 0;
}

.fkz-directory-sidebar__cta-btn,
.fkz-directory-sidebar__cta-compact-btn {
	align-items: center;
	background: var(--fkz-badge-insurance-fg);
	border-radius: 10px;
	color: #fff;
	display: inline-flex;
	flex-shrink: 0;
	font-size: var(--fkz-fs-caption);
	font-weight: 700;
	gap: 4px;
	padding: 9px 13px;
	white-space: nowrap;
}

.fkz-directory-sidebar__cta-btn {
	border-radius: 11px;
	font-size: var(--fkz-fs-body);
	gap: 6px;
	margin-top: 4px;
	padding: 11px 20px;
}

.fkz-directory-sidebar__cta-compact-text {
	flex: 1;
	min-width: 0;
}

.fkz-directory-sidebar__cta-compact-title {
	color: var(--fkz-ink);
	font-size: var(--fkz-fs-secondary);
	font-weight: 800;
	margin-bottom: 2px;
}

.fkz-directory-sidebar__cta-compact-sub {
	color: var(--fkz-badge-insurance-fg);
	font-size: var(--fkz-fs-caption);
	line-height: 1.5;
}

/* Mobile: CTA + related in flow; map/sidebar-related hidden (related is in main) */
@media (max-width: 899px) {
	.fkz-directory__sidebar {
		display: block;
	}

	.fkz-directory-related--sidebar {
		display: none;
	}
}

@media (min-width: 900px) {
	.fkz-site-shell {
		max-width: var(--fkz-max-desktop);
	}

	.fkz-directory__layout {
		align-items: stretch;
		flex-direction: row;
		gap: 16px; /* same as main column panel stack */
	}

	.fkz-directory__main {
		flex: 1;
		gap: 16px;
		/* The page is sent in pieces: the main column can be painted before the sidebar HTML has arrived. Without this it first
		   spans the whole width and jumps narrower when the sidebar appears; max-width keeps its final width from the start. */
		max-width: calc(100% - var(--fkz-sidebar) - 16px);
		min-width: 0;
	}

	.fkz-directory__sidebar {
		display: block;
		flex-shrink: 0;
		width: var(--fkz-sidebar);
	}

	.fkz-directory-related--main {
		display: none;
	}

	.fkz-directory-panel {
		padding: 28px 32px;
	}

	.fkz-directory-intro__banner {
		aspect-ratio: 3 / 1;
		border-radius: var(--fkz-radius-xl);
		margin: -18px -22px 20px;
	}

	.fkz-directory-intro__chips {
		gap: 8px;
		margin-bottom: 16px;
	}

	.fkz-directory-chip {
		padding: 6px 14px;
	}

	.fkz-directory-intro__title {
		line-height: 1.4;
		margin-bottom: 14px;
	}

	body.fkz-directory-page .fkz-directory-intro__title {
		font-size: 28px;
	}

	body.fkz-directory-page .fkz-directory-intro__text {
		font-size: 15px;
	}

	body.fkz-directory-page .fkz-directory-seo__body {
		font-size: 14px;
	}

	body.fkz-directory-page .fkz-directory-section-title,
	body.fkz-directory-page .fkz-directory-seo__title {
		font-size: 20px;
	}

	body.fkz-directory-page .fkz-directory-chip {
		font-size: var(--fkz-fs-secondary);
	}

	.fkz-directory-intro__head {
		gap: 14px;
		margin-bottom: 14px;
	}

	.fkz-directory-intro__logo {
		height: 56px;
		width: 56px;
	}

	.fkz-directory-section-title,
	.fkz-directory-seo__title {
		margin-bottom: 14px;
	}

	.fkz-directory-seo__body h2,
	.fkz-directory-seo__body h3,
	.fkz-directory-seo__body h4 {
		margin: 20px 0 8px;
	}

	.fkz-directory-seo__body h2 {
		font-size: 18px;
	}

	.fkz-directory-seo__body h3 {
		font-size: 16px;
	}

	.fkz-directory-seo__body h4 {
		font-size: 15px;
	}

	.fkz-directory-seo__body img,
	.fkz-directory-seo__body .wp-block-image img,
	.fkz-directory-seo__body figure img {
		border-radius: 16px;
	}

	.fkz-directory-seo__body figure,
	.fkz-directory-seo__body .wp-block-image {
		border-radius: 16px;
		margin: 16px 0;
	}

	.fkz-directory-panel.fkz-directory-list {
		padding: 14px;
	}

	.fkz-directory-list .fkz-directory-toolbar {
		padding-bottom: 14px;
	}

	.fkz-directory-toolbar {
		padding: 16px 20px;
	}

	.fkz-directory-toolbar__search {
		font-size: var(--fkz-fs-body);
	}

	.fkz-listing-row {
		align-items: center;
		flex-direction: row;
		gap: 14px;
		padding: 12px 18px;
	}

	.fkz-listing-row__head {
		align-items: center;
		flex-direction: row;
		flex-shrink: 0;
		gap: 14px;
		width: auto;
	}

	.fkz-listing-row__avatar {
		height: 32px;
		width: 32px;
	}

	.fkz-listing-row__name {
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
		display: -webkit-box;
		flex-shrink: 0;
		line-clamp: 2;
		line-height: 1.3;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: normal;
		width: 200px;
	}

	.fkz-listing-row__address {
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
		display: -webkit-box;
		flex: 1;
		font-size: var(--fkz-fs-secondary);
		line-clamp: 2;
		line-height: 1.45;
		min-width: 0;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: normal;
	}

	/* Fixed column on the left: the number buttons line up under each other; the arrow is an optional extra on their right (empty slot there in rows without it). */
	.fkz-listing-row__phones {
		flex-direction: row-reverse;
		flex-shrink: 0;
		justify-content: flex-start;
		position: relative;
		width: 168px;
	}

	.fkz-listing-row__more {
		align-items: center;
		background: var(--fkz-neutral-btn);
		border: 0;
		border-radius: 9px;
		color: var(--fkz-primary);
		cursor: pointer;
		display: flex;
		flex: none;
		justify-content: center;
		padding: 0 10px;
	}

	.fkz-listing-row__more:hover,
	.fkz-listing-row__more:focus-visible {
		color: var(--fkz-ink);
	}

	.fkz-listing-row__more .fkz-icon-wrap {
		transition: transform 0.16s ease;
	}

	.fkz-listing-row__phones.is-open .fkz-listing-row__more .fkz-icon-wrap {
		transform: rotate(180deg);
	}

	.fkz-listing-row__phone--second {
		display: none;
	}

	.fkz-listing-row__phones.is-open .fkz-listing-row__phone--second {
		background: var(--fkz-bg-surface);
		border: 1px solid var(--fkz-border);
		box-shadow: 0 6px 18px rgba(18, 44, 58, 0.14);
		display: flex;
		left: 0;
		position: absolute;
		top: calc(100% + 6px);
		z-index: 20;
	}

	.fkz-listing-row__phone {
		flex: none;
		min-width: 128px;
		padding: 8px 14px;
	}

	.fkz-directory-cta-banner {
		display: none;
	}
}

/* Hover tag for text cut with "…": dark rounded tag, no native title tooltip. */
.fkz-tip {
	background: var(--fkz-ink, #122c3a);
	border-radius: 10px;
	box-shadow: 0 8px 24px rgba(18, 44, 58, 0.25);
	color: #fff;
	display: none;
	font-size: var(--fkz-fs-secondary);
	font-weight: 600;
	line-height: 1.7;
	max-width: min(360px, calc(100vw - 16px));
	padding: 7px 11px;
	pointer-events: none;
	position: fixed;
	z-index: 100000;
}

#fkz-no-results {
	color: var(--fkz-subtle);
	text-align: center;
}

/* Focus: no black browser/theme ring around the bare input; the whole search box lights up softly instead. */
.fkz-directory-toolbar__search-input:focus,
.fkz-directory-toolbar__search-input:focus-visible {
	border: 0 !important;
	box-shadow: none !important;
	outline: 0 !important;
	outline-offset: 0 !important;
}

.fkz-directory-toolbar__search {
	transition: border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.fkz-directory-toolbar__search:focus-within {
	background: var(--fkz-bg-surface);
	border-color: var(--fkz-primary);
	box-shadow: 0 0 0 3px rgba(95, 126, 145, 0.18);
}

/* Signup CTA buttons are real links now (same target as the header «ورود / ثبت کلینیک»). */
a.fkz-directory-sidebar__cta-btn,
a.fkz-directory-sidebar__cta-compact-btn,
a.fkz-directory-cta-banner__btn {
	cursor: pointer;
	text-decoration: none;
}

/* Explicit colours in every state so the theme's link colours never apply (design-system.md §4). */
a.fkz-directory-sidebar__cta-btn,
a.fkz-directory-sidebar__cta-btn:visited,
a.fkz-directory-sidebar__cta-compact-btn,
a.fkz-directory-sidebar__cta-compact-btn:visited,
a.fkz-directory-cta-banner__btn,
a.fkz-directory-cta-banner__btn:visited {
	background: var(--fkz-badge-insurance-fg);
	color: #fff;
	transition: background-color 0.16s ease;
}

a.fkz-directory-sidebar__cta-btn:hover,
a.fkz-directory-sidebar__cta-btn:active,
a.fkz-directory-sidebar__cta-compact-btn:hover,
a.fkz-directory-sidebar__cta-compact-btn:active,
a.fkz-directory-cta-banner__btn:hover,
a.fkz-directory-cta-banner__btn:active {
	background: var(--fkz-ink);
	color: #fff;
}

a.fkz-directory-sidebar__cta-btn:focus-visible,
a.fkz-directory-sidebar__cta-compact-btn:focus-visible,
a.fkz-directory-cta-banner__btn:focus-visible {
	background: var(--fkz-ink);
	box-shadow: 0 0 0 3px rgba(11, 87, 100, 0.3);
	color: #fff;
	outline: 0;
}

/* Search box: our own clear button (the native WebKit "x" floated mid-box). Sits at the box's end with the box padding as margin. */
.fkz-directory-toolbar__search-input::-webkit-search-cancel-button,
.fkz-directory-toolbar__search-input::-webkit-search-decoration {
	-webkit-appearance: none;
	appearance: none;
	display: none;
}

.fkz-search-clear {
	align-items: center;
	appearance: none;
	background: transparent;
	border: 0;
	border-radius: 50%;
	color: var(--fkz-subtle);
	cursor: pointer;
	display: inline-flex;
	flex-shrink: 0;
	height: 22px;
	justify-content: center;
	margin: 0;
	padding: 0;
	transition: background-color 0.16s ease, color 0.16s ease;
	width: 22px;
}

.fkz-search-clear[hidden] {
	display: none;
}

.fkz-search-clear:hover,
.fkz-search-clear:focus-visible {
	background: rgba(95, 126, 145, 0.14);
	color: var(--fkz-ink, #122c3a);
	outline: 0;
}

/* The `hidden` attribute must win over theme button styles (otherwise "show more" stays visible with zero results). */
#fkz-free-more[hidden],
#fkz-no-results[hidden] {
	display: none !important;
}

/* Clinic map styles: directory-map.css (shared with the clinic search archive). */

@media (min-width: 900px) {
	/* the sidebar's inner column spans the whole layout height so the map can stick */
	.fkz-directory__sidebar .fkz-directory-sidebar {
		min-height: 100%;
	}

	/* Option B (map-architecture.md): related articles scroll away; the map and the small signup card stick together. */
	.fkz-directory-sidebar__cta--tall {
		display: none;
	}

	.fkz-directory-sidebar__stick {
		display: flex;
		flex-direction: column;
		gap: 12px;
		position: sticky;
		top: calc(16px + var(--wp-admin--admin-bar--height, 0px));
	}

	.fkz-directory-sidebar__cta--small {
		padding: 6px;
	}

	.fkz-directory-sidebar__cta--small .fkz-directory-sidebar__cta-compact {
		border-radius: 14px;
	}

	/* the map fills the screen height: minus top and bottom gaps, map head and frame, the gap and the small signup card */
	.fkz-directory-map__canvas {
		height: calc(100vh - 32px - var(--wp-admin--admin-bar--height, 0px) - 44px - 12px - 74px);
		min-height: 260px;
	}
}

@media (max-width: 899px) {
	.fkz-directory-sidebar__cta--small {
		display: none;
	}
}

/* Elementor-built landings and guides rebuilt without Elementor (templates/single-landing.php, Sina 2026-10-27).
   Widgets reuse the article body (.fkz-directory-seo__body) and the CTA button; only the layout bits live here. */
.fkz-landing__panel {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.fkz-landing__title {
	color: var(--fkz-ink);
	font-weight: 800;
	line-height: 1.5;
	margin: 0;
}

.fkz-landing__row {
	display: grid;
	gap: 14px;
}

.fkz-landing__col {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
}

.fkz-landing__figure {
	margin: 0;
}

.fkz-landing__figure img,
.fkz-landing__gallery img {
	border-radius: 14px;
	display: block;
	height: auto;
	max-width: 100%;
}

.fkz-landing__figure img {
	margin-inline: auto;
}

.fkz-landing__gallery {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
}

.fkz-landing__gallery img {
	aspect-ratio: 4 / 3;
	object-fit: cover;
	width: 100%;
}

.fkz-landing__cta,
.fkz-landing__socials {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
}

a.fkz-landing__social,
a.fkz-landing__social:visited {
	background: var(--fkz-neutral-btn);
	border-radius: 10px;
	color: var(--fkz-ink);
	font-size: var(--fkz-fs-caption);
	padding: 6px 12px;
	text-decoration: none;
}

.fkz-landing__divider {
	border: 0;
	border-top: 1px solid var(--fkz-card-line);
	margin: 4px 0;
}

.fkz-landing__html {
	min-width: 0;
	overflow-x: auto;
}

/* Admin-only note: an Elementor widget the rebuild does not know yet. */
.fkz-landing__missing {
	border: 1px dashed var(--fkz-card-line);
	border-radius: 10px;
	color: var(--fkz-muted);
	font-size: var(--fkz-fs-caption);
	margin: 0;
	padding: 8px 12px;
}

@media (min-width: 900px) {
	.fkz-landing__row {
		grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	}
}

/* Article body links and images (mother article body, every page that uses it; Sina 2026-10-27): links in primary with ink hover
   (design-system.md §4) instead of the theme's red; images centred, floats from old posts undone. */
.fkz-directory-seo__body a:not([class]),
.fkz-directory-seo__body a:not([class]):visited {
	color: var(--fkz-primary);
	text-decoration: underline;
	text-decoration-color: rgba(95, 126, 145, 0.35);
	text-underline-offset: 3px;
	transition: color 0.16s ease, text-decoration-color 0.16s ease;
}

.fkz-directory-seo__body a:not([class]):hover,
.fkz-directory-seo__body a:not([class]):focus-visible {
	color: var(--fkz-ink);
	text-decoration-color: currentColor;
}

.fkz-directory-seo__body img:not(.emoji) {
	margin-inline: auto;
}

.fkz-directory-seo__body .alignleft,
.fkz-directory-seo__body .alignright,
.fkz-directory-seo__body .aligncenter {
	display: block;
	float: none;
	margin-inline: auto;
}

/* Landing pages: one centred reading column; images never wider or taller than a screenful. */
.fkz-landing__panel > * {
	margin-inline: auto;
	max-width: 820px;
	width: 100%;
}

.fkz-landing__panel img:not(.emoji) {
	height: auto;
	max-height: 560px;
	object-fit: contain;
	width: auto;
}

/* Carried page CSS may fix a pixel width (sinad image 556px, sahami iframe 600px): never past the column on phones. */
.fkz-landing__panel img,
.fkz-landing__panel iframe,
.fkz-landing__panel video {
	max-width: 100% !important;
}

.fkz-landing__gallery img {
	max-height: none;
	width: 100%;
}

/* Gravity Forms in the new look: site colours instead of the plugin's blue (its per-form variables are inline, hence !important). */
.fkz-directory .gform-theme {
	--gf-color-primary: #0b5764 !important;
	--gf-color-primary-rgb: 11, 87, 100 !important;
	--gf-color-primary-darker: #122c3a !important;
	--gf-color-primary-lighter: #5f7e91 !important;
	--gf-ctrl-btn-radius: 12px !important;
	--gf-ctrl-radius: 12px !important;
	--gf-font-family-base: var(--fkz-font) !important;
}

/* Landing side column (desktop only): clinic landings get a contact card from the page's own phone link and form, at the
   bottom of the one-screen column under related articles; with no related articles the card fills the column (Sina 2026-10-28). */
.fkz-landing__contact {
	flex-shrink: 0;
	order: 2;
}

.fkz-landing__contact:only-child {
	display: flex;
	flex: 1 1 auto;
}

.fkz-landing__contact:only-child .fkz-directory-sidebar__cta-tall {
	align-items: center;
	display: flex;
	flex: 1 1 auto;
	justify-content: center;
}

/* Headerless pages (Elementor's blank canvas): the same 14px page margin top and bottom as every page, no header gap. */
.fkz-site-shell--bare {
	padding-bottom: var(--fkz-gap);
}

.fkz-site-shell--bare > .fkz-directory {
	margin-top: 0;
}

/* Thank-you pages (templates/single-landing.php): one card in the middle of the screen, message and picture stacked and
   centred, nothing to scroll; the card is the whole screen on phones (Sina 2026-10-28). */
.fkz-thanks {
	align-items: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: calc(100dvh - 2 * var(--fkz-gap) - var(--wp-admin--admin-bar--height, 0px));
}

.fkz-thanks__card {
	box-sizing: border-box;
	max-width: 520px;
	text-align: center;
	width: 100%;
}

.fkz-thanks__card .fkz-landing__row {
	display: flex;
	flex-direction: column;
}

.fkz-thanks__card img {
	max-height: 42dvh !important;
}

/* Visually hidden: the page keeps its name for screen readers and search, no title on screen. */
.fkz-thanks__title {
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

/* Phones: the card fills the screen inside the usual canvas margin, rounded like every block (Sina 2026-10-28). */
@media (max-width: 899px) {
	.fkz-thanks {
		align-items: stretch;
	}

	.fkz-thanks .fkz-thanks__card {
		display: flex;
		flex: 1 1 auto;
		flex-direction: column;
		justify-content: center;
		max-width: none;
	}
}

a.fkz-landing__contact-alt,
a.fkz-landing__contact-alt:visited {
	color: var(--fkz-badge-insurance-fg);
	font-size: var(--fkz-fs-secondary);
	font-weight: 700;
	text-decoration: underline;
	text-decoration-color: rgba(11, 87, 100, 0.35);
	text-underline-offset: 3px;
}

a.fkz-landing__contact-alt:hover,
a.fkz-landing__contact-alt:focus-visible {
	color: var(--fkz-ink);
}

@media (max-width: 899px) {
	.fkz-landing__side {
		display: none;
	}
}

/* Guides, landings and article lists (no map): the side column is exactly one screen tall and stays in view (Sina 2026-10-27).
   Related articles fill the space above (scrolling inside when long); the tall signup card sits at the bottom instead of the small one. */
@media (min-width: 900px) {
	.fkz-landing__side .fkz-directory-sidebar,
	.fkz-tax .fkz-directory__sidebar .fkz-directory-sidebar {
		box-sizing: border-box;
		height: calc(100vh - 2 * var(--fkz-gap) - var(--wp-admin--admin-bar--height, 0px));
		min-height: 0; /* the directory page stretches it to the whole column for its map; here it is one screen */
		position: sticky;
		top: calc(var(--fkz-gap) + var(--wp-admin--admin-bar--height, 0px));
	}

	.fkz-landing__side .fkz-directory-related--sidebar,
	.fkz-tax .fkz-directory__sidebar .fkz-directory-related--sidebar {
		display: flex;
		flex: 1 1 auto;
		flex-direction: column;
		min-height: 140px;
		order: 1;
		overflow: hidden;
	}

	/* The list scrolls, not the white block: the bar runs 2px from the block's edge (Sina 2026-10-28: borderless, so a hair of
	   separation), between the title and the bottom padding, clear of the rounded corners. 30px = the panel's 32px desktop
	   padding minus that 2px; the text keeps its place. (DESIGN_SYSTEM_RULES §27-الف: no track or arrows, slim rounded thumb.) */
	.fkz-landing__side .fkz-directory-related--sidebar .fkz-directory-related__links,
	.fkz-tax .fkz-directory__sidebar .fkz-directory-related--sidebar .fkz-directory-related__links {
		flex: 1 1 auto;
		margin-inline-end: -30px;
		min-height: 0;
		overflow-y: auto;
		padding-inline-end: 30px;
	}

	/* Chrome ignores the ::-webkit-scrollbar styles (and draws arrows) once scrollbar-color is set: standard props only elsewhere. */
	@supports not selector(::-webkit-scrollbar) {
		.fkz-directory-related--sidebar .fkz-directory-related__links {
			scrollbar-color: #c3ccd1 transparent;
			scrollbar-width: thin;
		}
	}

	.fkz-directory-related--sidebar .fkz-directory-related__links::-webkit-scrollbar {
		width: 6px;
	}

	.fkz-directory-related--sidebar .fkz-directory-related__links::-webkit-scrollbar-thumb {
		background: #c3ccd1;
		border-radius: 999px;
	}

	.fkz-directory-related--sidebar .fkz-directory-related__links::-webkit-scrollbar-thumb:hover {
		background: #9aa8ae;
	}

	.fkz-directory-related--sidebar .fkz-directory-related__links::-webkit-scrollbar-track,
	.fkz-directory-related--sidebar .fkz-directory-related__links::-webkit-scrollbar-button {
		background: transparent;
		display: none;
	}

	.fkz-landing__side .fkz-directory-sidebar__cta--tall,
	.fkz-tax .fkz-directory__sidebar .fkz-directory-sidebar__cta--tall {
		display: block;
		flex-shrink: 0;
		order: 2;
	}

	.fkz-landing__side .fkz-directory-sidebar__stick,
	.fkz-tax .fkz-directory__sidebar .fkz-directory-sidebar__stick {
		display: none;
	}
}

/* Plain articles (fkz_article_with_toc): a quiet table of contents at the top of the text. */
.fkz-article-toc {
	background: var(--fkz-badge-insurance-bg);
	border-radius: var(--fkz-radius-lg);
	margin: 0 0 18px;
	padding: 12px 16px;
}

.fkz-article-toc__title {
	color: var(--fkz-ink);
	font-weight: 700;
	margin: 0 0 4px !important;
}

.fkz-article-toc ol {
	display: grid;
	gap: 2px;
	margin: 0;
	padding-inline-start: 20px;
}

.fkz-directory-seo__body h2[id^="fkz-toc-"] {
	scroll-margin-top: calc(16px + var(--wp-admin--admin-bar--height, 0px));
}

/* Converted Elementor pages: a block aligned in the Elementor panel (carried as an inline style) keeps that alignment. */
.fkz-landing .fkz-directory-seo__body[style*="text-align"] p,
.fkz-landing .fkz-directory-seo__body[style*="text-align"] li {
	text-align: inherit;
}

/* Directory FAQ (inc/directory-faq.php, templates/parts/directory-faq.php): the look of the block removed in 1.0.278
   (Sina 2026-10-27): grey <details> boxes, chevron in primary, the first one open. Questions are h3 inside the summary. */
.fkz-directory-faq__list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.fkz-directory-faq__item {
	background: var(--fkz-neutral);
	border-radius: 14px;
	overflow: hidden;
}

.fkz-directory-faq__q {
	align-items: center;
	color: var(--fkz-ink);
	cursor: pointer;
	display: flex;
	font-size: var(--fkz-fs-body);
	font-weight: 700;
	gap: 10px;
	justify-content: space-between;
	list-style: none;
	padding: 13px 14px;
}

.fkz-directory-faq__q::-webkit-details-marker {
	display: none;
}

/* Keyboard focus drawn inside the box: the item clips its rounded corners, so an outside ring would not show. */
.fkz-directory-faq__q:focus-visible {
	border-radius: 14px;
	outline: 2px solid var(--fkz-primary);
	outline-offset: -2px;
}

body.fkz-directory-page .fkz-directory-faq__qt {
	color: inherit;
	font-size: inherit;
	font-weight: inherit;
	line-height: 1.7;
	margin: 0;
}

.fkz-directory-faq__q .fkz-icon-wrap {
	color: var(--fkz-primary);
	flex-shrink: 0;
	transition: transform 0.2s ease;
}

.fkz-directory-faq__item[open] .fkz-directory-faq__q .fkz-icon-wrap {
	transform: rotate(180deg);
}

.fkz-directory-faq__a {
	color: var(--fkz-body);
	font-size: var(--fkz-fs-body);
	line-height: 1.9;
	padding: 0 14px 14px;
}

/* Answer links like the article body's (faint underline, ink on hover); the darker primary keeps 4.5:1 on the grey box. */
.fkz-directory-faq__a a,
.fkz-directory-faq__a a:visited {
	color: var(--fkz-primary-hover);
	text-decoration: underline;
	text-decoration-color: rgba(95, 126, 145, 0.35);
	text-underline-offset: 3px;
	transition: color 0.16s ease, text-decoration-color 0.16s ease;
}

.fkz-directory-faq__a a:hover,
.fkz-directory-faq__a a:focus-visible {
	color: var(--fkz-ink);
	text-decoration-color: currentColor;
}

@media (min-width: 900px) {
	.fkz-directory-faq__q {
		font-size: 14px;
		padding: 14px 16px;
	}

	.fkz-directory-faq__a {
		padding: 0 16px 16px;
	}
}

/* The article's own FAQ shown in the same boxes, inside the article text (fkz_directory_faq_inline). */
.fkz-directory-faq--inline {
	margin: 4px 0 16px;
}

.fkz-directory-faq__a p:last-child,
.fkz-directory-faq__a ul:last-child {
	margin-bottom: 0;
}

@media (prefers-reduced-motion: reduce) {
	.fkz-directory-faq__q .fkz-icon-wrap {
		transition: none;
	}
}

/* Breadcrumb at the top of the intro panel (Sina 2026-10-31); same look as the profile line */
.fkz-directory-intro__crumbs {
	color: var(--fkz-subtle);
	font-size: var(--fkz-fs-caption);
	line-height: var(--fkz-lh-caption);
	margin: 0 0 10px;
}

.fkz-directory-intro__crumbs a {
	color: var(--fkz-subtle);
	text-decoration: none;
}

.fkz-directory-intro__crumbs a:hover {
	color: var(--fkz-ink);
}

.fkz-directory-intro__crumbs .breadcrumb_last {
	color: var(--fkz-body);
}

/* the banner pulls itself up to the panel edge (negative margin); under the breadcrumb it starts below it */
.fkz-directory-intro__crumbs + .fkz-directory-intro__banner {
	margin-top: 0 !important;
}

/* Speed (performance/execution-plan.md, mobile main thread): a list page carries 60+ cards and ~3,400 elements.
   Cards off screen are not styled or laid out until they come near the viewport; "auto" remembers each card's
   real height once it has been drawn, so the scrollbar settles. An open popup or second-phone menu inside a
   card turns the containment off, because containment clips what overflows the card. */
.fkz-directory__stack > .fkc-po,
.fkz-directory__stack .fkc-cc {
	content-visibility: auto;
	contain-intrinsic-size: auto 560px;
}

.fkz-directory__stack .fkc-cc {
	contain-intrinsic-size: auto 240px;
}

.fkz-directory__stack > .fkc-po.pop-open,
.fkz-directory__stack .fkc-cc.pop-open,
.fkz-directory__stack .fkc-cc:has(.is-open) {
	content-visibility: visible;
}

