/* Newsam Team — About-Us team cards. Mirrors the .nsm-* design from the
   original hand-built About Us block so the shortcode output is identical. */

.nsm-about {
	max-width: 1100px;
	margin: 0 auto;
	line-height: 1.75;
	color: #1a1a1a;
}

/* Kill the extra top margin on the first element of each block so the gap
   between widgets/containers stays uniform (no double-spacing at boundaries). */
.nsm-about > :first-child {
	margin-top: 0;
}

.nsm-about p {
	margin: 0 0 1em;
}

.nsm-section-title {
	font-size: 2rem;
	font-weight: 800;
	margin: 1.6em 0 .2em;
	padding-bottom: .3em;
	border-bottom: 3px solid #c1121f;
}

.nsm-section-sub {
	color: #444;
	margin-bottom: 1.6em;
}

.nsm-tier {
	font-size: 1.35rem;
	font-weight: 700;
	color: #c1121f;
	margin: 1.6em 0 .8em;
	padding-left: .6em;
	border-left: 5px solid #c1121f;
}

.nsm-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 20px;
	margin-bottom: 1.6em;
}

.nsm-card {
	background: #fff;
	border: 1px solid #ececec;
	border-radius: 14px;
	padding: 24px 22px 18px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
	transition: transform .18s ease, box-shadow .18s ease;
	text-align: center;
}

.nsm-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 22px rgba(0, 0, 0, .10);
}

.nsm-lead {
	border-top: 4px solid #c1121f;
}

.nsm-photo {
	width: 110px;
	height: 110px;
	border-radius: 50%;
	margin: 0 auto 14px;
	background-size: cover;
	background-position: center;
	background-color: #c1121f;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 2rem;
	font-weight: 700;
	letter-spacing: 1px;
	box-shadow: 0 3px 10px rgba(193, 18, 31, .25);
}

.nsm-name {
	font-size: 1.15rem;
	font-weight: 800;
	color: #111;
}

.nsm-role {
	font-size: .92rem;
	font-weight: 600;
	color: #c1121f;
	margin: .25em 0 .35em;
}

.nsm-loc {
	font-size: .82rem;
	color: #666;
	text-transform: uppercase;
	letter-spacing: .4px;
	margin-bottom: .7em;
}

.nsm-bio {
	font-size: .92rem;
	color: #333;
	margin: 0;
	line-height: 1.6;
	text-align: left;
}

@media (max-width: 600px) {
	.nsm-section-title {
		font-size: 1.6rem;
	}

	.nsm-grid {
		grid-template-columns: 1fr;
	}
}

/* --- Founder featured card (featured_tier) + Previously chips --- */
.nsm-founder{background:linear-gradient(180deg,#ffffff,#fdf6f6);border:1px solid #f0dede;border-top:5px solid #c1121f;border-radius:16px;padding:34px 36px;box-shadow:0 6px 24px rgba(193,18,31,.10);display:flex;gap:34px;align-items:flex-start;margin-bottom:1.6em;}
.nsm-founder-photo{flex:0 0 150px;width:150px;height:150px;border-radius:50%;background-color:#c1121f;background-size:cover;background-position:center;display:flex;align-items:center;justify-content:center;color:#fff;font-size:2.8rem;font-weight:800;letter-spacing:1px;box-shadow:0 6px 18px rgba(193,18,31,.30);}
.nsm-founder-body{flex:1;min-width:0;}
.nsm-founder-name{font-size:1.9rem;font-weight:800;color:#111;line-height:1.1;}
.nsm-founder-role{font-size:1.05rem;font-weight:700;color:#c1121f;margin:.35em 0 .15em;}
.nsm-founder-loc{font-size:.82rem;color:#666;text-transform:uppercase;letter-spacing:.5px;margin-bottom:1em;}
.nsm-founder-bio{font-size:.98rem;color:#333;line-height:1.7;margin:0 0 1em;text-align:left;}
.nsm-prev{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:1.2em;list-style:none;padding:0;}
.nsm-prev-label{font-size:.75rem;font-weight:700;letter-spacing:1px;text-transform:uppercase;color:#888;margin-right:4px;}
.nsm-chip{display:inline-block;background:#fdecec;color:#c1121f;border:1px solid #f3c9cd;border-radius:20px;padding:6px 14px;font-size:.85rem;font-weight:600;line-height:1;}
.nsm-prev .nsm-chip::before{content:none !important;}
@media(max-width:600px){.nsm-founder{flex-direction:column;align-items:center;text-align:center;padding:26px 20px;}.nsm-founder-photo{flex-basis:120px;width:120px;height:120px;font-size:2.2rem;}.nsm-founder-name{font-size:1.6rem;}.nsm-founder-bio{text-align:left;}}
