/* CoachDesk — a coach's public profile. */

.np-coachp {
	--np-green: var(--cd-primary, #117c87);
	--np-green-d: var(--cd-primary-dark, #0e6470);
	--np-navy: var(--cd-navy, #0f1b2d);
	--np-ink: var(--cd-ink, #1f2733);
	--np-muted: var(--cd-muted, #5f6a74);
	--np-line: var(--cd-line, #e7eaee);
	--np-bg: var(--cd-bg, #f4f6f8);

	color: var(--np-ink);
	font-size: 15px;
	line-height: 1.6;
}

.np-coachp * { box-sizing: border-box; }

/* ---- Hero ---- */
.np-coachp__hero {
	background: linear-gradient(135deg, var(--np-navy) 0%, var(--np-green-d) 100%);
	color: #fff;
	padding: 48px 20px;
}

.np-coachp__hero-inner {
	max-width: 1040px;
	margin: 0 auto;
	display: flex;
	gap: 32px;
	align-items: center;
	flex-wrap: wrap;
}

.np-coachp__avatar {
	flex: 0 0 auto;
	width: 168px;
	height: 168px;
	border-radius: 0;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
	background: #fff;
}

.np-coachp__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.np-coachp__avatar--ph {
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.12);
}

.np-coachp__avatar--ph .dashicons {
	font-size: 90px;
	width: 90px;
	height: 90px;
	color: rgba(255, 255, 255, 0.7);
}

.np-coachp__intro { flex: 1 1 320px; }

.np-coachp__name {
	margin: 0 0 6px;
	font-size: 2.1rem;
	line-height: 1.15;
	color: #fff;
}

.np-coachp__headline {
	margin: 0 0 16px;
	font-size: 1.1rem;
	color: rgba(255, 255, 255, 0.88);
}

.np-coachp__meta {
	list-style: none;
	margin: 0 0 16px;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
}

.np-coachp__meta li {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 0.92rem;
	color: rgba(255, 255, 255, 0.9);
}

.np-coachp__meta .dashicons {
	font-size: 18px;
	width: 18px;
	height: 18px;
	opacity: 0.85;
}

.np-coachp__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 22px;
}

.np-coachp__tag {
	background: rgba(255, 255, 255, 0.16);
	padding: 5px 12px;
	border-radius: 0;
	font-size: 0.85rem;
}

.np-coachp__cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--np-green);
	color: #fff !important;
	text-decoration: none;
	padding: 12px 24px;
	border-radius: 0;
	font-weight: 600;
	transition: background 0.15s ease, transform 0.15s ease;
}

.np-coachp__cta:hover {
	background: var(--np-green);
	transform: translateY(-1px);
	color: #fff !important;
}

.np-coachp__cta .dashicons { font-size: 18px; width: 18px; height: 18px; }

.np-coachp__cta--block {
	display: flex;
	justify-content: center;
	width: 100%;
	margin-top: 16px;
}

/* ---- Body ---- */
.np-coachp__body {
	max-width: 1040px;
	margin: 0 auto;
	padding: 36px 20px 56px;
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 28px;
	align-items: start;
}

.np-coachp__quote {
	font-size: 1.25rem;
	font-style: italic;
	color: var(--np-green-d);
	box-shadow: inset 4px 0 0 var(--np-green);
	padding-left: 16px;
	margin: 0 0 24px;
}

.np-coachp__card {
	background: #fff;
	border-radius: 0;
	padding: 22px 24px;
	margin-bottom: 22px;
	box-shadow: 0 1px 2px rgba(20, 40, 60, .035), 0 6px 18px rgba(20, 40, 60, .045);
}

.np-coachp__card h2 {
	margin: 0 0 14px;
	font-size: 1.1rem;
	color: var(--np-navy);
}

.np-coachp__bio p:last-child { margin-bottom: 0; }

/* Disciplines list */
.np-coachp__disc { list-style: none; margin: 0; padding: 0; }

.np-coachp__disc li {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding: 11px 0;
	box-shadow: inset 0 -1px 0 var(--np-line);
}

.np-coachp__disc li:last-child { box-shadow: none; }
.np-coachp__disc-name { font-weight: 600; }
.np-coachp__disc-meta { color: var(--np-muted); font-size: 0.88rem; white-space: nowrap; }

/* Credentials */
.np-coachp__creds { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.np-coachp__list { margin: 0; padding-left: 18px; }
.np-coachp__list li { margin-bottom: 6px; }

/* ---- Aside ---- */
.np-coachp__day { margin-bottom: 14px; }
.np-coachp__day:last-of-type { margin-bottom: 0; }

.np-coachp__day-label {
	display: block;
	font-weight: 600;
	text-transform: capitalize;
	margin-bottom: 7px;
	color: var(--np-navy);
	font-size: 0.92rem;
}

.np-coachp__times { display: flex; flex-wrap: wrap; gap: 7px; }

.np-coachp__time {
	background: var(--np-green-wash);
	color: var(--np-green-d);
	padding: 5px 11px;
	border-radius: 0;
	font-size: 0.85rem;
	font-weight: 600;
}

.np-coachp__muted { color: var(--np-muted); margin: 0; }

/* Social */
.np-coachp__social-links { display: flex; gap: 10px; }

.np-coachp__social-links a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 0;
	background: var(--np-bg);
	color: var(--np-green-d);
	transition: background 0.15s ease, color 0.15s ease;
}

.np-coachp__social-links a:hover { background: var(--np-green); color: #fff; }
.np-coachp__social-links .dashicons { font-size: 20px; width: 20px; height: 20px; }

/* ---- Responsive (profil) ---- */
@media (max-width: 880px) {
	.np-coachp__body { grid-template-columns: 1fr; }
	.np-coachp__hero-inner { flex-direction: column; text-align: center; }
	.np-coachp__meta, .np-coachp__tags { justify-content: center; }
	.np-coachp__creds { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Coach directory
   ========================================================================== */
.np-coachdir {
	--np-green: var(--cd-primary, #117c87);
	--np-green-d: var(--cd-primary-dark, #0e6470);
	--np-navy: var(--cd-navy, #0f1b2d);
	--np-ink: var(--cd-ink, #1f2733);
	--np-muted: var(--cd-muted, #5f6a74);
	--np-line: var(--cd-line, #e7eaee);
	--np-bg: var(--cd-bg, #f4f6f8);

	color: var(--np-ink);
	font-size: 15px;
	line-height: 1.6;
}

.np-coachdir * { box-sizing: border-box; }

.np-coachdir__hero {
	background: linear-gradient(135deg, var(--np-navy) 0%, var(--np-green-d) 100%);
	color: #fff;
	text-align: center;
	padding: 54px 20px;
}

.np-coachdir__hero h1 { margin: 0 0 10px; color: #fff; font-size: 2.2rem; }
.np-coachdir__hero p { margin: 0; color: rgba(255, 255, 255, 0.88); font-size: 1.05rem; }

.np-coachdir__empty {
	max-width: 1080px;
	margin: 48px auto;
	padding: 0 20px;
	text-align: center;
	color: var(--np-muted);
}

/* Filtres */
.np-coachdir__filters {
	max-width: 1080px;
	margin: 28px auto 0;
	padding: 0 20px;
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	justify-content: center;
}

.np-coachdir__chip {
	box-shadow: inset 0 0 0 1px var(--np-green);
	background: #fff;
	color: var(--np-ink);
	padding: 7px 16px;
	border-radius: 0;
	font-size: 0.9rem;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}

.np-coachdir__chip:hover { color: var(--np-green-d); }
.np-coachdir__chip.is-active { background: var(--np-green); color: #fff; }

/* Grille */
.np-coachdir__grid {
	max-width: 1080px;
	margin: 0 auto;
	padding: 30px 20px 60px;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 24px;
}

.np-coachdir__card {
	background: #fff;
	border-radius: 0;
	overflow: hidden;
	box-shadow: 0 1px 2px rgba(20, 40, 60, .035), 0 6px 18px rgba(20, 40, 60, .045);
	transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.np-coachdir__card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(var(--cd-navy-rgb),0.12); }

.np-coachdir__cardlink {
	display: flex;
	flex-direction: column;
	height: 100%;
	text-decoration: none;
	color: inherit;
}

.np-coachdir__photo {
	position: relative;
	aspect-ratio: 4 / 3;
	background: var(--np-bg);
	overflow: hidden;
}

.np-coachdir__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.np-coachdir__photo-ph {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 64px;
	width: auto;
	height: auto;
	color: var(--np-faint);
}

.np-coachdir__info { padding: 18px 18px 12px; flex: 1 1 auto; }

.np-coachdir__name { margin: 0 0 3px; font-size: 1.2rem; color: var(--np-navy); }
.np-coachdir__headline { margin: 0 0 11px; color: var(--np-green-d); font-size: 0.92rem; }

.np-coachdir__meta {
	list-style: none;
	margin: 0 0 12px;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 4px 16px;
}

.np-coachdir__meta li { display: flex; align-items: center; gap: 5px; font-size: 0.86rem; color: var(--np-muted); }
.np-coachdir__meta .dashicons { font-size: 16px; width: 16px; height: 16px; }

.np-coachdir__tags { display: flex; flex-wrap: wrap; gap: 6px; }

.np-coachdir__tag {
	background: var(--np-green-wash);
	color: var(--np-green-d);
	padding: 3px 10px;
	border-radius: 0;
	font-size: 0.76rem;
}

.np-coachdir__view {
	display: flex;
	align-items: center;
	gap: 5px;
	padding: 13px 18px;
	box-shadow: inset 0 1px 0 var(--np-line);
	color: var(--np-green-d);
	font-weight: 600;
	font-size: 0.9rem;
}

.np-coachdir__view .dashicons { font-size: 17px; width: 17px; height: 17px; transition: transform 0.15s ease; }
.np-coachdir__card:hover .np-coachdir__view .dashicons { transform: translateX(3px); }

@media (max-width: 600px) {
	.np-coachdir__hero { padding: 40px 18px; }
	.np-coachdir__hero h1 { font-size: 1.7rem; }
}
