.wrapper {
	max-width: 400px;
	/* margin: 50px auto; */
	padding-left: 1em;
	padding-right: 1em;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.projects-wrapper .wrapper {
	max-width: none;
	padding-left: 0;
	padding-right: 0;
}

/**
 * Helpers
 */
.border-tlr-radius { 
	border-top-left-radius: 2px;
	border-top-right-radius: 2px; 
}

.text-center { text-align: center; }

.radius { border-radius: 2px; }

.padding-tb { padding-top: 1.6rem; padding-bottom: 1.6rem;}

.shadowDepth0 { box-shadow: 0 1px 3px rgba(0,0,0, 0.12); }

.shadowDepth1 {
   box-shadow: 
  		0 1px 3px rgba(0,0,0, 0.12),
    	0 1px 2px rgba(0,0,0, 0.24);      
}


/**
 * Card Styles
 */

.card {
	background-color: var(--card-bg, #fff);
	margin-bottom: 1.6rem;
	border-radius: 16px;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	border: 1px solid rgba(0, 0, 0, 0.05);
	display: flex;
	flex-direction: column;
	height: 100%;
	flex: 1;
	position: relative;
	overflow: hidden;
}

.card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, #00ff88, #00cc6a);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	z-index: 1;
}

.projects-wrapper .card {
	margin-bottom: 0;
}

.card:hover {
	transform: translateY(-8px) scale(1.02);
	box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15), 0 10px 20px -5px rgba(0, 0, 0, 0.1);
	border-color: rgba(0, 255, 136, 0.2);
}

.card:hover::before {
	transform: scaleX(1);
}

[data-theme="dark"] .card {
	border-color: rgba(255, 255, 255, 0.1);
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
}

.card__padding {
    padding: 1.6rem;
    padding-top: 0.8rem;
}
 
.card__image {
	min-height: 180px;
	max-height: 180px;
    background-color: #eee;
    width: 100%;
	overflow: hidden;
	border-bottom: solid 1px lightgray;
	display: flex;
	align-items: center;
	justify-content: center;
}

.card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.card__content {
	position: relative;
	flex: 1;
	display: flex;
	flex-direction: column;
	min-height: 0;
}

/* card meta */
.card__meta time {
	font-size: 1rem;
	color: #bbb;
    margin-left: 0.8rem;
    float: right;
}

/* card article */
.card__article {
	flex: 1;
	margin-bottom: 16px;
}

.card__article a {
	text-decoration: none;
	color: #444;
	transition: all 0.5s ease;
}

.card__article a:hover {
	color: #2980b9;
}

.card__meta {
	margin-top: auto;
	padding-top: 16px;
}

/* blog cards */
.blog-post {
	width: 100%;
	border-radius: 12px;
	display: grid;
	grid-template-columns: auto 50px;
	background-color: var(--card-bg, #fff);
	margin-bottom: 1.6rem;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	border: 1px solid rgba(0, 0, 0, 0.05);
}

.blog-post:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .blog-post {
	border-color: rgba(255, 255, 255, 0.1);
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
}
	  
.blog-link {
	padding-left: 1rem;
	padding-right: 1rem;
	grid-column-start: 1;
	grid-column-end: 2;
	border-right: solid 1px lightgray;
}

.blog-link a {
	text-decoration: none;
}

.blog-link:hover {
	opacity: 0.6;
	cursor: pointer;
}

.blog-goto-link {
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;

	grid-column-start: 2;
	grid-column-end: 3;
}

.blog-goto-link i {
	font-size: 2rem;
	color: #C0C0C0
}

.blog-goto-link:hover {
	opacity: 0.6;
}

.blog-extra {

}

.more-blogs {
	background-color: #2980b9;
	color: #fff;
}

.more-blogs a {
	color: #fff;
}

.blog-arrow {
	width: 16px;
	height: 58px;
}

#project-image {
	transition: all .5s;
}

#project-image:focus,
#project-image:hover {
	transform: scale(1.1);
}

/* Lightbox - Image clickable styling */
.project-card img {
    cursor: zoom-in;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card img:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}