/**
 * GeneratePress Child Theme - Custom Styles
 *
 * @package GeneratePress_Child
 */

/* ============================================
   프로필 섹션 스타일
   ============================================ */

.teddylee-profile {
	text-align: center;
	padding: 60px 20px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #fff;
}

.teddylee-profile .profile-photo {
	width: 150px;
	height: 150px;
	border-radius: 50%;
	object-fit: cover;
	border: 5px solid rgba(255, 255, 255, 0.3);
	margin-bottom: 20px;
}

.teddylee-profile .profile-name {
	font-size: 2.5rem;
	font-weight: 700;
	margin: 0 0 15px;
	color: #fff;
}

.teddylee-profile .profile-bio {
	font-size: 1.125rem;
	line-height: 1.6;
	max-width: 600px;
	margin: 0 auto 15px;
	opacity: 0.95;
}

.teddylee-profile .profile-location {
	font-size: 0.95rem;
	margin: 0 0 25px;
	opacity: 0.9;
}

.teddylee-profile .location-icon {
	margin-right: 5px;
}

.teddylee-profile .social-links {
	display: flex;
	justify-content: center;
	gap: 15px;
	flex-wrap: wrap;
}

.teddylee-profile .social-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 45px;
	height: 45px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
	text-decoration: none;
	transition: all 0.3s ease;
}

.teddylee-profile .social-link:hover {
	background: rgba(255, 255, 255, 0.3);
	transform: translateY(-3px);
}

.teddylee-profile .social-link .dashicons {
	font-size: 20px;
	width: 20px;
	height: 20px;
}

/* ============================================
   포스트 카드 그리드 스타일
   ============================================ */

.posts-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
	gap: 24px;
}

.post-card {
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.post-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}

.post-link {
	text-decoration: none;
	display: block;
	padding: 24px;
	color: inherit;
}

.post-thumbnail {
	width: 100%;
	height: 200px;
	object-fit: cover;
	border-radius: 10px;
	margin-bottom: 18px;
	background: #f5f5f5;
}

.post-thumbnail.placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #999999;
	font-size: 48px;
	background: #f5f5f5;
	border-radius: 10px;
	margin-bottom: 18px;
	height: 200px;
}

.post-thumbnail.placeholder .fa-file-alt {
	color: #cccccc;
}

.post-title {
	font-size: 20px;
	font-weight: 700;
	margin: 0 0 14px;
	line-height: 1.5;
	color: #333333;
}

.post-meta {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	color: #999999;
	margin-bottom: 14px;
}

.post-meta .divider {
	color: #dddddd;
}

.post-meta .read-time {
	color: #0073aa;
	font-weight: 600;
}

.post-excerpt {
	font-size: 15px;
	color: #666666;
	line-height: 1.75;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin: 0;
}

/* ============================================
   반응형 브레이크포인트
   ============================================ */

@media (max-width: 768px) {
	.posts-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.post-link {
		padding: 20px;
	}

	.post-thumbnail {
		height: 180px;
	}

	.post-thumbnail.placeholder {
		height: 180px;
	}

	.post-title {
		font-size: 18px;
	}
}

/* ============================================
   모바일 토글 버튼
   ============================================ */
.mobile-toggle {
	display: none;
	position: fixed;
	bottom: 24px;
	right: 24px;
	width: 56px;
	height: 56px;
	background: #0073aa;
	color: #ffffff;
	border: none;
	border-radius: 50%;
	font-size: 22px;
	cursor: pointer;
	z-index: 1000;
	box-shadow: 0 4px 16px rgba(0, 115, 170, 0.4);
	align-items: center;
	justify-content: center;
}

.mobile-toggle:hover {
	background: #005a87;
}

@media (max-width: 768px) {
	.mobile-toggle {
		display: flex;
	}
}

.archive .site-main,
.blog .site-main {
	max-width: 1100px;
	margin: 0 auto;
	padding: 40px 20px;
}

.posts-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
	gap: 30px;
}

/* 포스트 카드 */
.posts-container article,
.post-image-archive {
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	transition: all 0.3s ease;
}

.posts-container article:hover,
.post-image-archive:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* 포스트 내부 여백 */
.posts-container .entry-content {
	padding: 25px;
}

/* 포스트 메타 정보 */
.post-meta {
	display: flex;
	align-items: center;
	gap: 15px;
	font-size: 0.875rem;
	color: #666;
	margin-bottom: 10px;
}

.post-meta .posted-on {
	display: flex;
	align-items: center;
	gap: 5px;
}

.post-meta .reading-time {
	display: flex;
	align-items: center;
	gap: 5px;
}

/* ============================================
   반응형 브레이크포인트
   ============================================ */

/* 태블릿 (768px - 1024px) */
@media (max-width: 1024px) {
	.posts-container {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* 모바일 (768px 미만) */
@media (max-width: 768px) {
	.teddylee-profile {
		padding: 40px 20px;
	}

	.teddylee-profile .profile-name {
		font-size: 1.75rem;
	}

	.teddylee-profile .profile-bio {
		font-size: 1rem;
	}

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

	.posts-container article:hover,
	.post-image-archive:hover {
		transform: none;
	}
}
