.kiro-profile {
	max-width: min( 860px, 100% );
	width: 100%;
	font-family: inherit;
	color: #222;
}

/* ── Hero ── */
.kiro-profile__hero {
	display: grid;
	grid-template-columns: 260px 1fr;
	gap: 36px;
	align-items: start;
	margin-bottom: 32px;
}
.kiro-profile__hero-photo {
	border-radius: 10px;
	overflow: hidden;
	aspect-ratio: 3/3.5;
	background: #e8e8e8;
}
.kiro-profile__hero-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	display: block;
	margin: 0;
}
/* Flex column — reset ALL theme/WP margins on children, then re-apply ours */
.kiro-profile__hero-content {
	display: flex;
	flex-direction: column;
}
.kiro-profile .kiro-profile__name {
	font-size: 1.75rem;
	font-weight: 700;
	line-height: 1.2;
	color: #111;
}
.kiro-profile .kiro-profile__subtitle {
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: #666;
	font-weight: 600;
}
.kiro-profile .kiro-profile__city {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 15px;
	color: #666;
}
.kiro-profile .kiro-profile__city svg { flex-shrink: 0; }
.kiro-profile__clinic-row {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 14px;
	color: #555;
	margin: 0 0 5px;
}
.kiro-profile .kiro-profile__langs {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
}
.kiro-profile .kiro-profile__lang {
	font-size: 12px;
	font-weight: 500;
	color: #555;
	background: #fff;
	border: 1px solid #d8d8d8;
	border-radius: 20px;
	padding: 4px 12px;
	display: inline-flex;
	align-items: center;
}
.kiro-profile .kiro-profile__divider { border: none; border-top: 1px solid #d8d8d8; margin: 10px 0 10px; }
/* Override Astra .entry-content :where(h1…h6) { margin-bottom:20px } — specificity (0,1,0).
   Using tag selectors gives us (0,1,1) which wins, without touching headings outside .kiro-profile. */
.kiro-profile h1, .kiro-profile h2, .kiro-profile h3,
.kiro-profile h4, .kiro-profile h5, .kiro-profile h6 { margin-bottom: 0; }
.kiro-profile .kiro-profile__bio { font-size: 17px; line-height: 1.75; color: var(--wp--preset--color--contrast, #333); margin-bottom: 24px; }
.kiro-profile .kiro-profile__bio p { margin: 0 0 1em; }
.kiro-profile__hero-contact { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 4px !important; }
.kiro-profile__contact-icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 34px; height: 34px;
	border: 1px solid #d8d8d8; border-radius: 6px;
	color: #444; background: #fff;
	text-decoration: none;
	transition: border-color .15s, color .15s;
}
.kiro-profile__contact-icon:hover { border-color: #aaa; color: #111; }

/* Credentials */
.kiro-profile__credentials ul {
	list-style: none;
	margin: 0; padding: 0;
	display: flex; flex-direction: column; gap: 8px;
}
.kiro-profile__credentials li { font-size: 15px; color: #555; line-height: 1.5; }
.kiro-profile__credentials a { color: #444; }

/* ── Body ── */
.kiro-profile__body { display: flex; flex-direction: column; gap: 0; }

/* ── Sections ── */
.kiro-profile__section {
	border: 1px solid #d8d8d8;
	border-radius: 10px;
	background: #f4f4f4;
	padding: 22px 28px;
	margin-bottom: 12px;
	box-sizing: border-box;
}
.kiro-profile__section h2 {
	font-size: 20px;
	font-weight: 700;
	color: #222;
	margin: 0 0 10px;
}

.kiro-profile__section--two-col {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 28px;
}
.kiro-profile__col h2 { margin: 0 0 14px; }

/* Tags */
.kiro-profile__tags { display: flex; flex-wrap: wrap; gap: 7px; }
.kiro-profile__tag {
	background: #fff;
	color: #333;
	border: 1px solid #d8d8d8;
	border-radius: 20px;
	padding: 5px 14px;
	font-size: 15px;
	font-weight: 500;
}
a.kiro-profile__tag { text-decoration: none; }
a.kiro-profile__tag:hover { background: #f0f0f0; border-color: #999; }

/* Timeline */
.kiro-profile__timeline { display: flex; flex-direction: column; gap: 12px; }
.kiro-profile__timeline-row {
	display: grid;
	grid-template-columns: 48px 1fr;
	gap: 8px;
	font-size: 15px;
	line-height: 1.6;
}
.kiro-profile__timeline-year { color: #666; font-weight: 500; }
.kiro-profile__timeline-desc { color: #222; }
.kiro-profile__timeline-program { color: #555; font-size: 15px; }

/* Written articles */
.kiro-profile__article-wrap { position: relative; }
.kiro-profile__article-wrap--collapsed {
	max-height: 168px;
	overflow: hidden;
}
.kiro-profile__article-wrap--collapsed::after {
	content: '';
	position: absolute;
	bottom: 0; left: 0; right: 0;
	height: 60px;
	background: linear-gradient(transparent, #f4f4f4);
	pointer-events: none;
}
.kiro-profile__article-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2px;
}
.kiro-profile__article-item a {
	display: block;
	padding: 9px 12px;
	border-radius: 6px;
	font-size: 15px;
	color: #222;
	text-decoration: none;
	transition: background .12s;
}
.kiro-profile__article-item a:hover {
	background: #ebebeb;
	text-decoration: underline;
}
.kiro-profile__article-toggle {
	display: inline-block;
	margin-top: 10px;
	background: none !important;
	border: none !important;
	box-shadow: none !important;
	border-radius: 0 !important;
	padding: 0 !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	color: #555 !important;
	cursor: pointer;
	text-transform: none !important;
	letter-spacing: normal !important;
	line-height: 1.4 !important;
	outline: none;
}
.kiro-profile__article-toggle:hover {
	text-decoration: underline !important;
	background: none !important;
	box-shadow: none !important;
	transform: none !important;
	color: #222 !important;
}

/* Clinic section */
.kiro-profile__clinic-list { display: flex; flex-direction: column; gap: 16px; }
.kiro-profile__clinic-card + .kiro-profile__clinic-card { border-top: 1px solid #d8d8d8; padding-top: 16px; }
.kiro-profile__clinic-card { display: flex; gap: 16px; align-items: flex-start; }
.kiro-profile__clinic-photo { flex-shrink: 0; width: 90px; height: 90px; border-radius: 8px; overflow: hidden; background: #e8e8e8; }
.kiro-profile__clinic-photo img { width: 100%; height: 100%; object-fit: cover; display: block; margin: 0; }
.kiro-profile__clinic-info { flex: 1; min-width: 0; }
.kiro-profile__clinic-name { font-size: 16px; font-weight: 700; color: #111; margin: 0; padding: 0; line-height: 1.3; }
.kiro-profile__clinic-name a { color: #111; text-decoration: none; display: inline !important; padding: 0 !important; margin: 0 !important; }
.kiro-profile__clinic-name a:hover { text-decoration: underline; }
.kiro-profile__clinic-row {
	display: flex; align-items: center; gap: 7px;
	font-size: 15px; color: #444; margin: 0;
}
.kiro-profile__clinic-row svg { flex-shrink: 0; color: #666; }
.kiro-profile__clinic-row a { color: #444; text-decoration: none; }
.kiro-profile__clinic-row a:hover { text-decoration: underline; }
.kiro-profile__directions { font-size: 13px; color: #666; white-space: nowrap; margin-left: 4px; }
.kiro-profile__directions:hover { color: #111; }
.kiro-profile__clinic-contact { display: flex; gap: 8px; margin: 0 0 8px; }

/* External links */
.kiro-profile__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5px; }
.kiro-profile__links a { font-size: 13px; color: #444; text-decoration: none; }
.kiro-profile__links a:hover { text-decoration: underline; }

/* ── Button ── */
.kiro-profile__btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 22px;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	transition: box-shadow .18s, transform .12s;
}
.kiro-profile__btn:hover { text-decoration: none; }
.kiro-profile__btn--primary {
	background: #0170b9;
	color: #fff;
	box-shadow: 0 2px 6px rgba(1,112,185,.22);
}
.kiro-profile__btn--primary:hover {
	box-shadow: 0 4px 12px rgba(1,112,185,.35);
	transform: translateY(-1px);
}
.kiro-profile__btn--primary:active {
	background: #0163ad;
	box-shadow: 0 1px 4px rgba(1,112,185,.2);
	transform: translateY(0);
}
.kiro-profile__btn--secondary {
	background: transparent;
	color: #333;
	border: 1.5px solid #ccc;
}
.kiro-profile__btn--secondary:hover {
	border-color: #888;
	color: #111;
	transform: translateY(-1px);
}

.kiro-profile__updated {
	font-size: 12px;
	color: #555;
	text-align: right;
	margin: 8px 0 0;
}

/* ── Responsive ── */
@media ( max-width: 600px ) {
	.kiro-profile__hero { grid-template-columns: 1fr; gap: 16px; }
	.kiro-profile__hero-photo { max-width: 100%; width: 100%; min-height: 0; }
	.kiro-profile__section { padding: 18px 20px; }
	.kiro-profile__section--two-col { grid-template-columns: 1fr; gap: 20px; }
	.kiro-profile__timeline-row { grid-template-columns: 48px 1fr; }
	.kiro-profile__article-list { grid-template-columns: 1fr; }
}
