:root {
	--mk-primary: #E8363E;
	--mk-bg-gradient: linear-gradient(135deg, #fff3f4, #ffe8ea, #ffd6da);
	--mk-card-bg: rgba(255, 255, 255, 0.78);
	--mk-card-border: rgba(255, 255, 255, 0.5);
	--mk-text-dark: #1a1a1a;
	--mk-text-light: #666666;
	--mk-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.mk-author-wrapper {
	background: var(--mk-bg-gradient);
	min-height: 100vh;
	padding: 40px 20px;
	font-family: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Author Hero Section */
.mk-author-hero {
	background: var(--mk-card-bg);
	backdrop-filter: blur(10px);
	border: 1px solid var(--mk-card-border);
	border-radius: 20px;
	padding: 60px 40px;
	margin: 0 auto 60px;
	max-width: 900px;
	box-shadow: var(--mk-shadow);
	text-align: center;
}

.mk-author-hero-avatar {
	margin: 0 auto 30px;
	position: relative;
	width: 150px;
	height: 150px;
	border-radius: 50%;
	overflow: hidden;
	border: 3px solid var(--mk-primary);
	background: linear-gradient(135deg, rgba(232, 54, 62, 0.1), rgba(255, 200, 200, 0.1));
}

.mk-author-hero-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.mk-author-hero-name {
	margin: 0 0 15px 0;
	font-size: 42px;
	font-weight: 700;
	color: var(--mk-text-dark);
	line-height: 1.2;
	letter-spacing: -0.5px;
}

.mk-author-hero-bio {
	font-size: 16px;
	color: var(--mk-text-light);
	margin: 0 0 30px 0;
	line-height: 1.6;
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
}

.mk-author-hero-meta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	flex-wrap: wrap;
	margin-bottom: 30px;
	padding-bottom: 30px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.mk-author-post-count {
	display: flex;
	align-items: center;
	gap: 8px;
	background: linear-gradient(135deg, rgba(232, 54, 62, 0.1), rgba(255, 200, 200, 0.1));
	padding: 10px 20px;
	border-radius: 50px;
	border: 1px solid var(--mk-card-border);
}

.mk-author-post-count span {
	font-weight: 600;
	color: var(--mk-primary);
	font-size: 18px;
}

.mk-author-post-count label {
	color: var(--mk-text-light);
	font-size: 14px;
	font-weight: 500;
	margin: 0;
}

.mk-author-hero-links {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
}

.mk-author-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 24px;
	background: linear-gradient(135deg, var(--mk-primary), #ff5a63);
	color: white;
	text-decoration: none;
	border-radius: 50px;
	font-weight: 600;
	font-size: 14px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	box-shadow: 0 4px 15px rgba(232, 54, 62, 0.3);
	border: none;
}

.mk-author-link:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(232, 54, 62, 0.4);
	color: white;
	text-decoration: none;
}

.mk-author-link.outline {
	background: transparent;
	color: var(--mk-primary);
	border: 2px solid var(--mk-primary);
	box-shadow: none;
}

.mk-author-link.outline:hover {
	background: rgba(232, 54, 62, 0.1);
	box-shadow: 0 4px 15px rgba(232, 54, 62, 0.2);
}

/* Yazı Grid Section */
.mk-author-posts-section {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.mk-author-posts-heading {
	margin: 0 0 40px 0;
	padding: 40px 0 20px;
	border-bottom: 2px solid rgba(232, 54, 62, 0.2);
}

.mk-author-posts-heading h2 {
	margin: 0;
	font-size: 32px;
	font-weight: 700;
	color: var(--mk-text-dark);
	letter-spacing: -0.5px;
}

.mk-author-posts-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 30px;
	margin-bottom: 50px;
}

.mk-author-post-card {
	background: var(--mk-card-bg);
	backdrop-filter: blur(10px);
	border: 1px solid var(--mk-card-border);
	border-radius: 16px;
	overflow: hidden;
	box-shadow: var(--mk-shadow);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.mk-author-post-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.mk-author-post-image {
	width: 100%;
	height: 200px;
	overflow: hidden;
	background: linear-gradient(135deg, rgba(232, 54, 62, 0.1), rgba(255, 200, 200, 0.1));
	position: relative;
}

.mk-author-post-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.mk-author-post-card:hover .mk-author-post-image img {
	transform: scale(1.05);
}

.mk-author-post-category {
	position: absolute;
	top: 15px;
	left: 15px;
	background: var(--mk-primary);
	color: white;
	padding: 6px 14px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.mk-author-post-content {
	padding: 25px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.mk-author-post-title {
	margin: 0 0 12px 0;
	font-size: 18px;
	font-weight: 700;
	color: var(--mk-text-dark);
	line-height: 1.4;
}

.mk-author-post-title a {
	color: var(--mk-text-dark);
	text-decoration: none;
	transition: color 0.3s ease;
}

.mk-author-post-title a:hover {
	color: var(--mk-primary);
}

.mk-author-post-excerpt {
	margin: 0 0 15px 0;
	font-size: 14px;
	color: var(--mk-text-light);
	line-height: 1.6;
	flex-grow: 1;
}

.mk-author-post-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 15px;
	border-top: 1px solid rgba(0, 0, 0, 0.05);
	font-size: 12px;
	color: var(--mk-text-light);
}

.mk-author-post-date {
	display: flex;
	align-items: center;
	gap: 6px;
}

.mk-author-post-read-more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--mk-primary);
	text-decoration: none;
	font-weight: 600;
	transition: gap 0.3s ease;
}

.mk-author-post-read-more:hover {
	gap: 10px;
}

/* No Yazı Message */
.mk-author-no-posts {
	background: var(--mk-card-bg);
	backdrop-filter: blur(10px);
	border: 1px solid var(--mk-card-border);
	border-radius: 16px;
	padding: 60px 40px;
	text-align: center;
	box-shadow: var(--mk-shadow);
}

.mk-author-no-posts h3 {
	margin: 0 0 15px 0;
	font-size: 24px;
	font-weight: 700;
	color: var(--mk-text-dark);
}

.mk-author-no-posts p {
	margin: 0;
	color: var(--mk-text-light);
	font-size: 16px;
}

/* Pagination */
.mk-author-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin: 50px 0 0;
	flex-wrap: wrap;
}

.mk-author-pagination a,
.mk-author-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	background: var(--mk-card-bg);
	border: 1px solid var(--mk-card-border);
	border-radius: 8px;
	color: var(--mk-text-dark);
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	transition: all 0.3s ease;
	backdrop-filter: blur(10px);
}

.mk-author-pagination a:hover {
	background: var(--mk-primary);
	color: white;
	border-color: var(--mk-primary);
	transform: translateY(-2px);
}

.mk-author-pagination .page-numbers.current {
	background: var(--mk-primary);
	color: white;
	border-color: var(--mk-primary);
}

.mk-author-pagination .dots {
	color: var(--mk-text-light);
}

/* Responsive Design */
@media (max-width: 768px) {
	.mk-author-hero {
		padding: 40px 25px;
	}

	.mk-author-hero-name {
		font-size: 32px;
	}

	.mk-author-hero-meta {
		flex-direction: column;
		gap: 12px;
	}

	.mk-author-hero-links {
		flex-direction: column;
		width: 100%;
	}

	.mk-author-link {
		width: 100%;
		justify-content: center;
	}

	.mk-author-posts-grid {
		grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
		gap: 20px;
	}

	.mk-author-posts-heading h2 {
		font-size: 24px;
	}
}

@media (max-width: 480px) {
	.mk-author-wrapper {
		padding: 20px 15px;
	}

	.mk-author-hero {
		padding: 30px 20px;
	}

	.mk-author-hero-name {
		font-size: 26px;
	}

	.mk-author-hero-bio {
		font-size: 14px;
	}

	.mk-author-posts-grid {
		grid-template-columns: 1fr;
	}

	.mk-author-post-card {
		border-radius: 12px;
	}
}

/* Author Subtitle */
.mk-author-hero-subtitle {
    font-size: 16px;
    color: #666;
    margin: 4px 0 0;
    text-align: center;
}
.mk-author-hero-subtitle span {
    color: #E24B4A;
}

/* Meta items */
.mk-author-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #888;
    margin: 0 8px;
}
.mk-author-meta-item svg {
    color: #999;
}

/* Stats Grid */
.mk-author-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 860px;
    margin: 32px auto;
    padding: 0 20px;
}
.mk-author-stat-card {
    background: #f8f8f6;
    border-radius: 12px;
    padding: 24px 16px;
    text-align: center;
}
.mk-stat-number {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: #1A1A1A;
}
.mk-stat-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    margin-top: 4px;
}

/* Section Titles */
.mk-author-section-title {
    font-size: 18px;
    font-weight: 600;
    color: #1A1A1A;
    margin: 0 0 16px;
}

/* Expertise Pills */
.mk-author-expertise {
    max-width: 860px;
    margin: 32px auto;
    padding: 0 20px;
}
.mk-expertise-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.mk-expertise-pill {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    background: #fef2f2;
    color: #E24B4A;
    border: 1px solid rgba(226,75,74,0.15);
}
.mk-expertise-pill:nth-child(2) {
    background: #eff6ff;
    color: #2563eb;
    border-color: rgba(37,99,235,0.15);
}
.mk-expertise-pill:nth-child(3) {
    background: #f0fdf4;
    color: #16a34a;
    border-color: rgba(22,163,74,0.15);
}
.mk-expertise-pill:nth-child(4) {
    background: #faf5ff;
    color: #9333ea;
    border-color: rgba(147,51,234,0.15);
}
.mk-expertise-pill:nth-child(5) {
    background: #fff7ed;
    color: #ea580c;
    border-color: rgba(234,88,12,0.15);
}
.mk-expertise-pill:nth-child(6) {
    background: #fefce8;
    color: #ca8a04;
    border-color: rgba(202,138,4,0.15);
}

/* Career Timeline */
.mk-author-timeline {
    max-width: 860px;
    margin: 32px auto;
    padding: 0 20px;
}
.mk-timeline-items {
    position: relative;
    padding-left: 28px;
    border-left: 2px solid #e5e5e5;
}
.mk-timeline-item {
    position: relative;
    padding-bottom: 24px;
}
.mk-timeline-dot {
    position: absolute;
    left: -35px;
    top: 4px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    border: 2px solid #fff;
}
.mk-timeline-item.active .mk-timeline-dot {
    background: #E24B4A;
}
.mk-timeline-role {
    font-size: 15px;
    font-weight: 600;
    color: #1A1A1A;
    margin: 0 0 2px;
}
.mk-timeline-company {
    font-size: 14px;
    color: #666;
    margin: 0;
}
.mk-timeline-date {
    font-size: 12px;
    color: #999;
}

/* Brands */
.mk-author-brands {
    max-width: 860px;
    margin: 32px auto;
    padding: 0 20px;
}
.mk-brands-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.mk-brand-card {
    padding: 10px 20px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    font-size: 14px;
    color: #555;
    background: #fff;
}

/* Responsive */
@media (max-width: 600px) {
    .mk-author-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}
