/* ============================================
   AUTHOR PAGE STYLES
   ============================================ */

/* --- Author Hero Section --- */
.author-hero {
	width: 100%;
	background: linear-gradient(180deg, var(--color-aliceblue-100), rgba(239, 246, 255, 0));
	padding: 120px 40px 80px;
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 600px;
	position: relative;
	overflow: hidden;
}

.author-hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url('/landing/Icons/aboutbg.png') no-repeat center center;
	background-size: cover;
	opacity: 0.1;
	z-index: 0;
}

.author-hero-content {
	max-width: 1280px;
	width: 100%;
	position: relative;
	z-index: 2;
}

.author-info {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 80px;
	width: 100%;
}

.author-text {
	flex: 1;
	text-align: left;
	color: var(--color-gray-200);
}

.author-greeting {
	font-family: var(--font-manrope);
	font-size: 20px;
	font-weight: 400;
	margin-bottom: 8px;
	color: var(--color-dimgray-200);
}

.author-name {
	font-family: var(--font-urbanist);
	font-size: 64px;
	font-weight: 700;
	line-height: 1.1;
	margin: 0 0 16px 0;
	color: var(--color-mediumslateblue);
	text-shadow: none;
}

.author-title {
	font-family: var(--font-manrope);
	font-size: 20px;
	font-weight: 600;
	margin-bottom: 24px;
	line-height: 1.4;
	color: var(--color-gray-200);
}

.author-link {
	color: var(--color-mediumslateblue);
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 2px;
	transition: all 0.3s ease;
}

.author-link:hover {
	color: var(--color-mediumslateblue);
	opacity: 0.8;
	text-decoration-thickness: 3px;
}

.author-image {
	flex-shrink: 0;
	position: relative;
}

.author-photo {
	width: 400px;
	height: 400px;
	border-radius: 20px;
	object-fit: cover;
	box-shadow: 0 20px 40px rgba(21, 93, 252, 0.15);
	border: 4px solid rgba(21, 93, 252, 0.1);
	transition: all 0.3s ease;
}

.author-photo:hover {
	transform: translateY(-5px);
	box-shadow: 0 25px 50px rgba(21, 93, 252, 0.2);
}


p.author-description {
    font-size: 18px;
    text-align: left;
}
/* ============================================
   AUTHOR PAGE - RESPONSIVE
   ============================================ */

@media screen and (max-width: 1200px) {
	.author-info {
		gap: 60px;
	}
	
	.author-photo {
		width: 260px;
		height: 260px;
	}
	
	.author-name {
		font-size: 56px;
	}
	p.author-description {
    font-size: 16px;

}
}

@media screen and (max-width: 991px) {
	.author-hero {
		padding: 100px 30px 60px;
		min-height: 500px;
	}
	
	.author-info {
		flex-direction: column;
		text-align: center;
		gap: 40px;
	}
	
	.author-text {
		order: 2;
	}
	
	.author-image {
		order: 1;
	}
	
	.author-name {
		font-size: 48px;
	}
	
	.author-title {
		font-size: 18px;
	}
}

@media screen and (max-width: 768px) {
	.author-hero {
		padding: 80px 20px 50px;
	}
	
	.author-name {
		font-size: 40px;
	}
	
	.author-title {
		font-size: 16px;
	}
	
	.author-description {
		font-size: 15px;
	}
	
	.author-photo {
		width: 220px;
		height: 220px;
	}
}

@media screen and (max-width: 480px) {
	.author-hero {
		padding: 60px 16px 40px;
	}
	
	.author-name {
		font-size: 32px;
	}
	
	.author-title {
		font-size: 15px;
	}
	
	.author-description {
		font-size: 14px;
	}
	
	.author-photo {
		width: 180px;
		height: 180px;
	}
	
	.author-greeting {
		font-size: 18px;
	}
}

/* ============================================
   RECENT ARTICLES SECTION
   ============================================ */

.recent-articles-section {
	width: 100%;
	background: linear-gradient(180deg, rgba(239, 246, 255, 0) 0%, #EFF6FF 100%);
	padding: 80px 40px;
	display: flex;
	justify-content: center;
}

.recent-articles-container {
	max-width: 1280px;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 48px;
}

.recent-articles-header {
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
}

.recent-articles-title {
	font-family: var(--font-urbanist), 'Arial', sans-serif;
	font-size: 42px;
	font-weight: 700;
	color: var(--color-gray-200, #1a1a2e);
	margin: 0;
}

.recent-articles-subtitle {
	font-family: var(--font-manrope), 'Arial', sans-serif;
	font-size: 18px;
	line-height: 1.6;
	color: var(--color-dimgray-200, #6b7280);
	max-width: 600px;
	margin: 0;
}

.recent-articles-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
	gap: 32px;
	width: 100%;
}

.article-card {
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(21, 93, 252, 0.08);
	transition: all 0.3s ease;
	border: 1px solid rgba(21, 93, 252, 0.1);
	cursor: pointer;
	user-select: none;
	position: relative;
}

.article-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(21, 93, 252, 0.02), rgba(124, 58, 237, 0.02));
	opacity: 0;
	transition: all 0.3s ease;
	pointer-events: none;
}

.article-card:hover::before {
	opacity: 1;
}

.article-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 12px 40px rgba(21, 93, 252, 0.15);
	border-color: rgba(21, 93, 252, 0.2);
}

.article-card:active {
	transform: translateY(-4px);
	transition: all 0.1s ease;
}

.article-image {
	width: 100%;
	height: 220px;
	overflow: hidden;
	position: relative;
}

.article-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: all 0.3s ease;
}

.article-card:hover .article-image img {
	transform: scale(1.05);
}

.article-content {
	padding: 24px;
	display: flex;
	flex-direction: column;
	text-align: left;
	gap: 12px;
}

.article-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 8px;
}

.article-category {
	background: linear-gradient(135deg, var(--color-mediumslateblue, #155dfc), #7c3aed);
	color: white !important;
	font-family: var(--font-manrope), 'Arial', sans-serif;
	font-size: 12px;
	font-weight: 600;
	padding: 4px 12px;
	border-radius: 20px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.article-date {
	font-family: var(--font-manrope), 'Arial', sans-serif;
	font-size: 13px;
	color: var(--color-dimgray-200, #6b7280) !important;
	font-weight: 500;
}

.article-title {
	margin: 0;
	margin-bottom: 8px;
}

.article-title span {
	font-family: var(--font-manrope), 'Arial', sans-serif;
	font-size: 20px;
	font-weight: 700;
	color: var(--color-gray-200, #1a1a2e) !important;
	line-height: 1.3;
	transition: all 0.3s ease;
	display: block;
}

.article-card:hover .article-title span {
	color: var(--color-mediumslateblue, #155dfc) !important;
}

.article-excerpt {
	font-family: var(--font-manrope), 'Arial', sans-serif;
	font-size: 15px;
	line-height: 1.6;
	color: var(--color-dimgray-200, #6b7280) !important;
	margin: 0;
	margin-bottom: 16px;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.article-author {
	font-family: var(--font-manrope), 'Arial', sans-serif;
	font-size: 14px;
	color: var(--color-mediumslateblue, #155dfc) !important;
	font-weight: 600;
	margin-top: auto;
}

.view-all-articles {
	display: flex;
	justify-content: center;
}

.view-all-btn {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 14px 32px;
	background: linear-gradient(135deg, var(--color-mediumslateblue), #7c3aed);
	color: white;
	text-decoration: none;
	font-family: var(--font-manrope);
	font-size: 16px;
	font-weight: 600;
	border-radius: 12px;
	transition: all 0.3s ease;
	box-shadow: 0 4px 20px rgba(21, 93, 252, 0.2);
}

.view-all-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 30px rgba(21, 93, 252, 0.3);
	color: white;
}

.view-all-btn i {
	font-size: 14px;
	transition: all 0.3s ease;
}

.view-all-btn:hover i {
	transform: translateX(4px);
}

/* Loading and Error States */
.articles-loading,
.no-articles,
.articles-error {
	grid-column: 1 / -1;
	text-align: center;
	padding: 60px 20px;
	color: var(--color-dimgray-200);
}

.loading-spinner {
	width: 40px;
	height: 40px;
	border: 4px solid rgba(21, 93, 252, 0.2);
	border-top-color: var(--color-mediumslateblue);
	border-radius: 50%;
	animation: spin 1s linear infinite;
	margin: 0 auto 16px;
}

@keyframes spin {
	to { transform: rotate(360deg); }
}

.articles-loading p,
.no-articles p,
.articles-error p {
	font-family: var(--font-manrope);
	font-size: 16px;
	margin: 0;
}

/* ============================================
   RECENT ARTICLES - RESPONSIVE
   ============================================ */

@media screen and (max-width: 1200px) {
	.recent-articles-grid {
		grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
		gap: 28px;
	}
}

@media screen and (max-width: 991px) {
	.recent-articles-section {
		padding: 60px 30px;
	}
	
	.recent-articles-title {
		font-size: 36px;
	}
	
	.recent-articles-grid {
		grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
		gap: 24px;
	}
}

@media screen and (max-width: 768px) {
	.recent-articles-section {
		padding: 50px 20px;
	}
	
	.recent-articles-title {
		font-size: 32px;
	}
	
	.recent-articles-subtitle {
		font-size: 16px;
	}
	
	.recent-articles-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	
	.article-content {
		padding: 20px;
	}
	
	.article-title a {
		font-size: 18px;
	}
}

@media screen and (max-width: 480px) {
	.recent-articles-section {
		padding: 40px 16px;
	}
	
	.recent-articles-title {
		font-size: 28px;
	}
	
	.recent-articles-subtitle {
		font-size: 15px;
	}
	
	.article-image {
		height: 180px;
	}
	
	.article-content {
		padding: 16px;
		gap: 8px;
	}
	
	.article-meta {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}
	
	.view-all-btn {
		padding: 12px 24px;
		font-size: 14px;
	}
}