/* Impact Stats Block */
#main .entry-content .impactstats-block {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-auto-rows: 50%;
	gap: 16px;
	max-width: 1354px;
	margin-bottom: 2.5em;
	color: #1e2933;
}

.impactstats-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 30px;
  background-color: #fcfff4;
  border: 4px solid #8dd648;
  border-radius: 6px;
  margin: 0;
}

/* Shape classes */
.impactstats-1x1 {
  grid-column: span 1; 
  grid-row: span 1;
}
.impactstats-1x2 {
  grid-column: span 1; 
  grid-row: span 2;
}
.impactstats-2x1 {
  grid-column: span 2; 
  grid-row: span 1;
}

/* Stats content */
.entry-content .impactstats-title,
.entry-content .impactstats-merged-heading {
  text-align: center;
  line-height: 1.5;
  margin-bottom: .5em;
  font-size: 20px;
  font-weight: 600;
  color: #0a1838;
}
.impactstats-value {
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5em;
}
.impactstats-value.green {
	color: #8ed650;
}
.impactstats-value.yellow {
	color: #f6bf38;
}
.impactstats-value.blue {
	color: #1f497d;
}
.impactstats-value.ltblue {
	color: #56afe9;
}
.impactstats-label {
  font-size: 18px;
  text-align: center;
  line-height: 1.5;
  margin: 0;
  color: #0a1838;
}
.impactstats-text {
  font-size: 18px;
  line-height:1.5;
  color: #0a1838;
}

/* Paired stats */
.impactstats-pair {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: center;
	width: 100%;
	gap: 4px;
}

.impactstats-group {
    flex: 1;
    width: auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.impactstats-divider {
    width: 1px;
    height: 48px;
    background: currentColor;
    opacity: 0.15;
    flex-shrink: 0;
    margin: 0 8px;
}

/* Residents Block */
#main .entry-content .impactstats-block.impactstats-residents {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-auto-rows: 50%;
	gap: 16px;
	max-width: 1354px;
	margin-bottom: 2.5em;
	color: #1e2933;
}
.impactstats-residents .impactstats-item {
  border: 4px solid #f6bf38;
  box-shadow: 8px 10px 12px #00000070;
}

/* Values Staff Block */
#main .entry-content .impactstats-block.impactstats-values-staff {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-auto-rows: 50%;
	gap: 16px;
	max-width: 1354px;
	margin-bottom: 2.5em;
	color: #1e2933;
}
#main .entry-content .impactstats-values-staff .impactstats-item {
  border: 4px solid #f6bf38;
  box-shadow: 8px 10px 12px #00000070;
}

/* Values Board Block */
#main .entry-content .impactstats-block.impactstats-values-board {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-auto-rows: 50%;
	gap: 16px;
	max-width: 1354px;
	margin-bottom: 2.5em;
	color: #1e2933;
}
.impactstats-values-board .impactstats-item {
  border: 4px solid #f6bf38;
  box-shadow: 8px 10px 12px #00000070;
}
/* Careers Block */
#main .entry-content .impactstats-block.impactstats-careers {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-auto-rows: 50%;
	gap: 16px;
	max-width: 1354px;
	margin-bottom: 2.5em;
	color: #1e2933;
}
.impactstats-careers .impactstats-item {
  border: 4px solid #f6bf38;
  box-shadow: 8px 10px 12px #00000070;
}
/* Media Queries */
@media (max-width: 600px) {
    .impactstats-block {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }
    .impactstats-2x1 { grid-column: span 1; }
    .impactstats-1x2 { grid-row: span 1; }
	.impactstats-pair { flex-direction: column; }
	.impactstats-divider { width: 48px; height: 1px; margin: 8px 0; }
}