/**
 * About the author (single post) — Figma Frame 8
 */

.ce-about-author {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 28px;
	margin-top: 24px;
	padding: 13px 20px 20px;
	background-color: #f5f5f5;
	/* Top accent: design reference uses a blue bar above the block */
	border-top: 6px solid #4DA6DC;
	box-sizing: border-box;
}

.ce-about-author__media {
	flex: 0 0 auto;
	width: 232px;
	max-width: 100%;
}

.ce-about-author__img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 232px;
	border-radius: 4px;
	object-fit: cover;
}

.ce-about-author__content {
	flex: 1 1 280px;
	min-width: 0;
}

.ce-about-author__kicker {
    margin: 0 0 16px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.3;
    color: #60615d;
    text-transform: uppercase;
}

.ce-about-author__kicker.mobile {
    display: none;
 }

.blog-post-content .ce-about-author__name {
    margin: 0;
    font-size: 28px !important;
    font-weight: 700;
    line-height: normal;
    color: #333333;
	font-family: 'basier_squarebold';
}

.blog-post-content .ce-about-author__name a {
	color: inherit;
	text-decoration: none;
}

.blog-post-content .ce-about-author__name a:hover,
.blog-post-content .ce-about-author__name a:focus {
	color: #4ab848;
	text-decoration: none;
}

.blog-post-content .ce-about-author__name a:focus {
	outline: none;
}

.ce-about-author__role {
	margin: 0 0 15px;
	font-size: 16px;
	font-style: italic;
	line-height: 1.4;
	color: #6aac70;
}

.ce-about-author__bio {
	margin: 0 0 15px;
	font-size: 16px;
	line-height: 1.55;
	color: #3a3c48;
}

.ce-about-author__bio p {
	margin: 0 0 0.75em;
}

.ce-about-author__bio p:last-child {
	margin-bottom: 0;
}

.ce-about-author__social {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

.ce-about-author__follow {
	font-size: 16px;
	text-transform: capitalize;
	line-height: 1.3;
	font-style: italic;
	color: #4c4c4c;
}

.ce-about-author__linkedin {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #6aac70;
	text-decoration: none;
	transition: color 0.15s ease, opacity 0.15s ease;
}

.ce-about-author__linkedin:hover,
.ce-about-author__linkedin:focus {
	color: #55965e;
}

.ce-about-author__linkedin:focus {
	outline: 2px solid #6aac70;
	outline-offset: 2px;
}

.ce-about-author__linkedin-icon {
	display: block;
}

.blog-detail-wrapper .blog-post-content .ce-about-author__img {
    height: auto;
}

/* —— Mobile: stack, image on top (centered) —— */

@media (max-width: 480px) {
	.ce-about-author__kicker.mobile {
		display: block;
		margin-bottom: 0;
	 }

	.ce-about-author__kicker.desktop {
		display: none;
	 }

	 .ce-about-author {
		flex-direction: column;
		align-items: flex-start;
		text-align: left;
	}
	
	.ce-about-author__content {
		text-align: left;
		width: 100%;
		flex: 0 0 auto;
	}

	.ce-about-author__media {
		width: 100%;
		max-width: 200px;
		margin: 0;
	}

	.ce-about-author__img {
		max-width: 100%;
		margin: 0 auto;
	}

	.ce-about-author__social {
		justify-content: flex-start;
	}
}

/* @media (max-width: 767px) {

} */

/* —— Author archive: “About the Author” hero (archive.php + is_author()) —— */

.ce-author-about {
	margin: 0 0 40px;
	padding: 0 0 8px;
	box-sizing: border-box;
}

.ce-author-about__header {
	text-align: center;
	margin: 0 0 32px;
}

.ce-author-about__page-title {
	margin: 0 0 16px;
    font-size: 36px;
    line-height: 1.09;
	font-weight: 700;
	color: #000000;
	font-family: 'basier_squarebold', sans-serif;
}

.ce-author-about__accent {
	display: block;
	width: 108px;
	height: 5px;
	margin: 0 auto;
	background-color: #2f5e24;
	border-radius: 2px;
}

.ce-author-about__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 48px 72px;
}

.ce-author-about__media {
	flex: 0 0 auto;
	width: 317px;
	max-width: 100%;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 17px;
}

.ce-author-about__img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 317px;
	aspect-ratio: 1 / 1;
	border-radius: 20px;
	object-fit: cover;
}

.ce-author-about__social {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: 100%;
}

.ce-author-about__follow {
	font-size: 16px;
	line-height: 1.3;
	font-style: italic;
	color: #4c4c4c;
}

.ce-author-about__content {
	flex: 1 1 280px;
	min-width: 0;
}

.ce-author-about__name {
	margin: 0;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.2;
	color: #000000;
	font-family: 'basier_squarebold', sans-serif;
}

.ce-author-about__role {
	margin: 0 0 16px;
	font-size: 16px;
	font-weight: 500;
	font-style: italic;
	line-height: 1.5;
	font-weight: 600;	
	color: #6aac70;
}

.ce-author-about__bio {
	margin: 0;
	font-size: 16px;
	line-height: 1.55;
	color: #3a3c48;
}

.ce-author-about__bio p {
	margin: 0 0 0.75em;
}

.ce-author-about__bio p:last-child {
	margin-bottom: 0;
}

.ce-author-about__separator {
	margin-top: 17px;
	border-bottom: 1px solid #2f5e24;
}

.ce-author-archive .cms-page {
	padding-top: 32px;
}

@media (min-width: 1600px) {
    .ce-author-about__page-title {
        font-size: 42px;
    }

	.ce-author-about__header {
		margin: 0 0 48px;
	}
}

/* Tablet: narrower gap */
@media (max-width: 991px) {
	.ce-author-about__inner {
		gap: 36px 48px;
	}
}

/* Mobile: stack — title, image + social, text */
@media (max-width: 767px) {
	.ce-author-about__header {
		margin-bottom: 24px;
	}

	.ce-author-about__inner {
		flex-direction: column;
		align-items: stretch;
		gap: 24px;
	}

	.ce-author-about__media {
		width: 100%;
		max-width: 317px;
		margin-left: auto;
		margin-right: auto;
		align-items: flex-start;
	}

	.ce-author-about__img {
		margin-left: auto;
		margin-right: auto;
	}

	.ce-author-about__content {
		text-align: left;
		width: 100%;
	}

	.ce-author-about__name {
		font-size: 24px;
	}
}
