
/* Funding Source Tag on Card */
.funding-tag-logo-wrapper {
	display: inline-block;
	margin: 4px 0;
	background: #ffffff;
	padding: 8px 12px;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.funding-tag-logo {
	height: 40px;
	width: auto;
	max-width: 120px;
	object-fit: contain;
	display: block;
}

.funding-tag-pill {
	display: inline-block;
	
	 background: #F2F6FB;
	 border-radius: 20px;
	 padding: 4px 12px;
	font-size: 0.8rem;
	  color: #4A5A68;
	white-space: nowrap;
}

@media (max-width: 600px) {
	.funding-tag-pill {
		white-space: wrap;
	}
}


/* Category Pills on Cards */
.project-card-border__categories {
    display: flex;
    flex-wrap: wrap;
	justify-content: start;
	margin-top: 0.5rem;
}

.project-category-pill {
    display: inline-block;
    padding: 0.25rem 0.625rem;
	margin-right: 0.5rem;
	margin-bottom: 0.25rem;
    background: #f0f0f0;
    border-radius: 12px;
    font-size: 0.75rem;
    color: #555;
}

/* Removes gap when only 1 category pill displays*/
.project-category-pill:only-child {
	 margin-right: 0rem;
}

/* Project Grid Layout */
.project-grid {
    display: grid;
    gap: 1rem 0.75rem;
}
.project-grid.columns-2 { grid-template-columns: repeat(2, 1fr); }
.project-grid.columns-3 { grid-template-columns: repeat(3, 1fr); }
.project-grid.columns-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
    .project-grid.columns-3,
    .project-grid.columns-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .project-grid { grid-template-columns: 1fr !important; }
}

/* Card Styling */
.project-card-border {
    background: #fff;
    overflow: hidden;
	border: 1px solid #e2e8f0; /* light border*/
	transition: border-color 0.25s ease; /* for hover border effect*/
	box-shadow: 0 1px 4px rgba(0,0,0,0.04);	
	display: flex;
    flex-direction: column; 
	justify-items: start;
}

/* for hover border effect*/
 /*
.project-card-border:hover {
	border-color: #F68E39;
}
*/

.project-card-border__link {
	display: flex;
  	flex-direction: column;   /* or column, depending on layout */
	height: 100%; /* makes each card take up full available space */
  	align-items: flex-start;
  	text-align: left;
    text-decoration: none;
    color: inherit;
}



.project-card-border__body {
	height: 100%;
	padding: 30px 30px 30px 30px;
}

.project-card-border__image {
    margin-bottom: 0.5rem;
    overflow: hidden;
	width: 100%;
}
.project-card-border__image img {
	padding: 6px 6px 6px 0;
    width: auto;
    max-height: 50px;
	max-width: 250px;
    object-fit: contain;
}
.project-card-border__fundingTag{
	display: flex;
	justify-content: end;
	width: 100%;
}

.logo-funding-tag-row {
	height: 50px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 600px) {
  .logo-funding-tag-row {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
}
@media (max-width: 600px) {
  .project-card-border__fundingTag {
    justify-content: start;
  }
}


.project-card-border__content {
    /* padding: 1.25rem 0; */
	line-height: 1.6;
	text-align: left;
  	align-items: flex-start;
}

.project-card-border__title {
	font-size: 1.5rem;
  	font-weight: 600;
  	color: #102A43;
	/*
	 margin-bottom: 1rem;
	
    margin: 0 0 0.5rem;
	font-family: Open Sans;
    font-weight: 400;
    text-decoration: none;
    font-size: 1.25em;
    line-height: 1.5; */
	text-align: left;
	pointer-events: none;
}

.project-card-border__about {
    /* margin: 0 0 0.5rem; */
	font-family: Open Sans;
    font-weight: 400;
    text-decoration: none;
    font-size: 1em;
    line-height: 1.8;
	text-align: left;
	pointer-events: none;
}

.project-card-border__details-label {
	color: #90A1B9;
	font-size: 14px;
}

.project-card-border__details-value {
	margin-bottom: 16px; 
	color: #F68E39;
}

.project-card-border__staff {
	color: #F68E39;
}

.project-card-border__funding-source{
	margin-bottom: 16px; 
	color: #90A1B9;
	font-size: 14px;
}

.project-card-border__footer {
	background: #F8FAFC;
	padding: 16px 30px;
	width: 100%;
	border-top: 1px solid #E4EAF1;
	margin-top: 0.5rem;
	justify-content: end;
}


.project-link-btn {
    display: flex;
    color: #F68E39;
	fill: #F68E39;
	background: none;
	border: none;
    font-size: 0.9rem;
    text-decoration: none;
    cursor: pointer;
}

.project-link-btn:hover {
    color: #a15d25;
	fill: #a15d25;
}

.external-link-icon {
	width: 24px;
	height: 24px;
	margin-left: 4px;
	padding-bottom: 3px;
}

/* Disable link on Colibri blog links*/
.h-blog-title a {
	pointer-events: none;
}

.project-card-border__category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #f0f0f0;
    border-radius: 4px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-thumb-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
}