.projects-grid {
    	display: grid;
    	grid-template-columns: repeat(auto-fit, minmax(min(22em, 100%), 1fr));
    	gap: 1em;
}

.project-card {
    	display: flex;
    	flex-direction: column;
    	padding: 0.7em;
    	border: 1px solid var(--soft-color);
    	border-radius: 5px;
    	box-shadow: 2px 5px 10px rgba(0,0,0,0.15);
    	transition:
          	background-color 0.25s ease,
          	transform 0.2s ease;
}

.project-card:hover {
        background-color: rgba(63,126,173,0.05);
        transform: translateY(-2px);
}

.project-meta {
    	display: flex;
    	justify-content: space-between;
    	gap: 1em;
    	min-width: 0;
    	font-size: 0.7em;
    	color: var(--text-color);
}

.project-date-s {
    	white-space: nowrap;
}

.project-separator {
    	width: 100%;
    	height: 3px;
    	margin: 1rem 0 1.5rem;
    	background: var(--borders-color);
}

.project-logo-wrap {
    	display: flex;
    	align-items: center;
    	justify-content: center;
   		width: 100%;
    	min-height: 8rem;
    	margin-bottom: 0.5rem;
}

.project-logo {
    	display: block;
    	width: 100%;
    	max-width: 100%;
    	max-height: 8rem;
    	height: auto;
    	object-fit: contain;
}

.project-title {
        color: var(--bup-color);
        font-weight: 500;
        font-size: 0.5rem;
        line-height: 1.2;
        align-items: flex-end;
}

.project-title a {
    	color: inherit;
		font-size: 2rem;
    	text-decoration: none;
}

.project-title a:hover {
    	text-decoration: none;
		color: var(--highlight-color);
}

.project-title a::after {
  		content: " ➜";
		font-size: 1.5rem;
}

.project-sub-title {
    	color: var(--text-color);
    	font-size: 1rem;
    	line-height: 1.5;
}

.p_button {
        font-size: 18px;
        padding: 10px 16px;
        border-radius: 8px;
        border: 2px solid var(--borders-color);
        color: var(--bup-color);
        background-color: var(--base-color);
        cursor: pointer;
        min-width: 25%;
}

.p_button:hover {
        border: 2px solid var(--bup-color);
}

@media (max-width: 480px) {
    	.project-meta {
        	flex-direction: column;
        	align-items: flex-start;
        	gap: 0.25em;
    	}
}
