/* single-pseo_firma: içerik + kenar çubuğu
 * Firma / makale sayfaları çoğu temada #primary içinde dar bir sütunda kalır; yan yana iki
 * sütun açıldığında ikinci kolon birkaç piksele düşüp metni harf harf kırar. Bu yüzden
 * body.single-pseo_firma için her zaman alt alta + tam genişlik kenar çubuğu kullanılır.
 * (Ana sayfa şablonu farklı olduğundan orada tema sidebar’ı normal görünür.) */
.pseo-firma-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	align-items: start;
	max-width: 1320px;
	width: 100%;
	margin: 2rem auto;
	padding: 0 1rem;
	box-sizing: border-box;
}

.pseo-firma-layout__main {
	min-width: 0;
	width: 100%;
}

/*
 * Firma tekil şablonu: flex column + çocuklara flex-shrink yok — tema flex satırında ezilmez.
 */
body.single-pseo_firma .pseo-firma-layout {
	display: flex !important;
	flex-direction: column !important;
	flex-wrap: nowrap !important;
	align-items: stretch !important;
	width: 100% !important;
	max-width: 1320px;
	min-width: 0;
	box-sizing: border-box;
}

body.single-pseo_firma .pseo-firma-layout__main {
	flex: 0 1 auto;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0;
}

body.single-pseo_firma .pseo-firma-layout__sidebar {
	flex: 0 0 auto !important;
	align-self: stretch !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
}

.pseo-reading-time {
	margin: 0.35rem 0 1rem;
	font-size: 0.9rem;
	line-height: 1.35;
	color: rgba( 0, 0, 0, 0.55 );
}

.pseo-reading-time__label {
	font-weight: 500;
}

@media (prefers-color-scheme: dark) {
	.pseo-reading-time {
		color: rgba( 255, 255, 255, 0.55 );
	}
}

/* Yazar kutusu */
.pseo-author-box {
	margin-top: 2rem;
	padding: 1.1rem 1.15rem;
	border: 1px solid rgba( 0, 0, 0, 0.1 );
	border-radius: 10px;
	background: rgba( 0, 0, 0, 0.02 );
}

.pseo-author-box__inner {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
}

.pseo-author-box__avatar {
	flex-shrink: 0;
}

.pseo-author-box__img {
	display: block;
	border-radius: 50%;
}

.pseo-author-box__body {
	min-width: 0;
	flex: 1;
}

.pseo-author-box__kicker {
	margin: 0 0 0.15rem;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: rgba( 0, 0, 0, 0.45 );
}

.pseo-author-box__name {
	margin: 0 0 0.5rem;
	font-size: 1.05rem;
	line-height: 1.3;
}

.pseo-author-box__bio {
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.55;
	color: rgba( 0, 0, 0, 0.78 );
}

.pseo-author-box__bio > p:first-child {
	margin-top: 0;
}

.pseo-author-box__bio > p:last-child {
	margin-bottom: 0;
}

.pseo-author-box__links {
	margin: 0.65rem 0 0;
	font-size: 0.88rem;
}

.pseo-author-box__link {
	text-decoration: underline;
	text-underline-offset: 2px;
}

@media (prefers-color-scheme: dark) {
	.pseo-author-box {
		border-color: rgba( 255, 255, 255, 0.14 );
		background: rgba( 255, 255, 255, 0.04 );
	}

	.pseo-author-box__kicker {
		color: rgba( 255, 255, 255, 0.45 );
	}

	.pseo-author-box__bio {
		color: rgba( 255, 255, 255, 0.82 );
	}
}

.pseo-entry-tags {
	margin-top: 1.5rem;
	padding-top: 1.15rem;
	border-top: 1px solid rgba( 0, 0, 0, 0.1 );
	font-size: 0.9rem;
	line-height: 1.6;
}

.pseo-entry-tags__label {
	display: inline-block;
	margin-right: 0.35rem;
	font-weight: 600;
	color: rgba( 0, 0, 0, 0.55 );
}

.pseo-entry-tags__list {
	display: inline;
}

.pseo-entry-tags__link {
	display: inline-block;
	margin: 0.2rem 0.35rem 0.2rem 0;
	padding: 0.2rem 0.65rem;
	border-radius: 999px;
	background: rgba( 0, 0, 0, 0.06 );
	color: inherit;
	text-decoration: none;
	font-size: 0.88em;
}

.pseo-entry-tags__link:hover,
.pseo-entry-tags__link:focus {
	background: rgba( 0, 0, 0, 0.1 );
	text-decoration: none;
}

@media (prefers-color-scheme: dark) {
	.pseo-entry-tags {
		border-top-color: rgba( 255, 255, 255, 0.12 );
	}

	.pseo-entry-tags__label {
		color: rgba( 255, 255, 255, 0.5 );
	}

	.pseo-entry-tags__link {
		background: rgba( 255, 255, 255, 0.08 );
	}

	.pseo-entry-tags__link:hover,
	.pseo-entry-tags__link:focus {
		background: rgba( 255, 255, 255, 0.14 );
	}
}

/* Kenar çubuğu (genel): tema word-break vb. */
.pseo-firma-layout__sidebar {
	box-sizing: border-box;
	width: 100%;
	max-width: 42rem;
	min-width: 0;
	font-size: 0.95rem;
	word-break: normal;
	overflow-wrap: break-word;
	word-wrap: break-word;
	hyphens: manual;
	-webkit-hyphens: manual;
}

/* Firma sayfalarında kenar çubuğu içerik sütunu kadar geniş (dar kolon yok) */
body.single-pseo_firma .pseo-firma-layout__sidebar {
	max-width: 100% !important;
	word-break: normal !important;
	overflow-wrap: break-word !important;
	word-wrap: break-word !important;
	hyphens: manual !important;
	-webkit-hyphens: manual !important;
}

.pseo-firma-layout__sidebar .pseo-sidebar-recent-wrap {
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
}

/* Tema widget blokları */
.pseo-firma-layout__sidebar .widget {
	margin-bottom: 1.25rem;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.pseo-firma-layout__sidebar .widget-title {
	margin-top: 0;
	font-size: 1rem;
}
