/* ══════════════════════════════════════════════════════════
   cards.css — shared experience-card system (.ec, .ec-card, .ec-summary, badges).
   Extracted from style.css without changing declarations.
   ══════════════════════════════════════════════════════════ */

/* Experience Cards */
.ec {
	background: var(--surface);
	border: 2.5px solid var(--border);
	border-radius: var(--r);
	overflow: hidden;
	opacity: 0;
	transform: translateY(16px);
	/* transform: translateY(20px); */
	/* transition:
		border-color 0.25s,
		box-shadow 0.25s,
		opacity 0.5s,
		transform 0.5s; */
	/* transition: opacity 0.3s ease-out, transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); */
	/* transition: opacity 0.3s ease-out, transform 0.4s ease-out; */
	/* this controls the NEIGHBORING slide's transform */
	transition: all 0.15s ease-out;
	/* will-change: transform, opacity; */
}
.ec.visible {
	opacity: 1;
	transform-origin: top left;
	transform: translateY(0) scale(1) translateZ(0);
	transition: all 0.3s ease-in-out;

	/* border-color: color-mix(in srgb, var(--accent2) 70%, transparent); */
	/* box-shadow:
	0 0 7px 4px color-mix(in srgb, var(--accent) 10%, transparent), 0 0 9px 4px color-mix(in srgb, var(--accent) 6%, transparent); */
	/* --miniheader: color-mix(in srgb, var(--accent2) 50%, transparent); */
}
.ec.visible:hover {
	/* border-color: rgba(100, 118, 97, 0.6); */
	/* border-color: color-mix(in srgb, var(--accent) 40%, transparent); */
	/* border-color: color-mix(in srgb, var(--accent) 60%, transparent); */
	/* 0 0 9px 4px rgba(100, 118, 97, 0.06); */
	/* box-shadow: 0 0 7px 4px color-mix(in srgb, var(--accent) 5%, transparent), 0 0 9px 4px color-mix(in srgb, var(--accent) 5%, transparent); */
	/* 0 0 7px 4px rgba(100, 118, 97, 0.1), */
	transform-origin: top left;
	transform: translateY(0) scale(1.01) translateZ(0);
	/* --ec-card-lines-color: var(--accent2); */

	/* hover interaction */
	border-color: color-mix(in srgb, var(--accent2) 100%, transparent);
	box-shadow:
		0 0 7px 4px color-mix(in srgb, var(--accent) 10%, transparent),
		0 0 9px 4px color-mix(in srgb, var(--accent) 6%, transparent);
	/* --miniheader: var(--accent2); */
	/* --miniheader: var(--not-white); */
	/* --miniheader: var(--not-black); */
	/* transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s; */
	transition: all 0.3s ease-out;
	/* floating up transition time */
}
.ec.visible:hover .ect {
	color: var(--accent2);
	/* color: var(--not-white); */
}

.ec.visible:hover .cbul {
	transform: translateX(5px);
}
/* .ec.visible:hover .badge {
	background: var(--badge);
	color: var(--bg);
} */

.ech {
	padding: 15px 20px 11px;
	border-bottom: var(--ec-card-lines) solid var(--ec-card-lines-color);
	transition: all 0.3 ease-in-out;
}
.ect {
	font-weight: 900;
	/* font-size: clamp(25px, 1.9vw, 200px); */
	font-size: clamp(20px, 1.7vw, 200px);
	letter-spacing: 0.01em;
	color: var(--dimtitle);
	line-height: 1;
	padding-bottom: 0px;
	transition: all 0.3s ease-in-out;
	/* color: color-mix(in srgb, var(--accent2) 50%, transparent); */
}
.ecm {
	display: flex;
	align-items: baseline;
	gap: 5px;
	flex-wrap: wrap;
	margin-top: 4px;
	margin: 10px 0;
	line-height: 0.8;
	/* font-size: clamp(13px, 0.7vw, 50px); */
	font-style: normal;
	font-weight: 700;
	/* color: var(--g); */
	/* color: var(--bullbold); */
	color: var(--tdim);
	text-transform: uppercase;
}
.ecm span:not(:last-child)::after {
	content: " // ";
	margin: 0 5px;
	opacity: 0.7;
	font-weight: normal;
	color: var(--dimtitle);
}
.ecdate {
	/* color: var(--badge); */
	color: var(--accent2);
}
.echr {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 15px;
}
.eclogos {
	display: flex;
	align-items: center;
	background: white;
	padding: 6px 10px;
	border-radius: 6px;
	gap: 10px;
	flex-shrink: 0;
	margin-right: -8px;
}
.eclogos img {
	height: clamp(35px, 3.5vw, 55px);
	/* height: clamp(30px, 3vw, 55px); */
	width: auto;
	object-fit: contain;
	filter: brightness(0.88);
}
.darkimgs {
	background: white;
	padding: 3px;
	border-radius: 6px;
	/* margin-bottom:5px; */
}

/* Badges */
.brow {
	padding: 9px 20px;
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
}
.brow--flush {
	padding: 0;
	margin-bottom: 10px;
}
.badge {
	margin-top: 2px;
	display: inline-flex;
	align-items: center;
	padding: 2px 9px;
	/* border-radius: 2px; */
	border-radius: 5px;
	/* background: transparent; */
	border: 1px solid var(--badge);
	/* color: var(--badge); */
	color: var(--g);
	/* font-size: clamp(11px, 0.6vw, 40px); */
	font-size: clamp(10px, 0.6vw, 13px);
	font-weight: 500;
	letter-spacing: 0.1em;
	white-space: nowrap;
	/* background: var(--badge); */
	background: color-mix(in srgb, var(--badge) 1%, transparent);
	/* background: color-mix(in srgb, var(--badge) 10%, transparent); */
	/* background: pink; */
	/* color: var(--bg); */
	/* color: var(--tdim); */
	/* transition: all 0.3s ease-in-out; */
	text-transform: uppercase;
}

/* Card Body */
.cbody {
	display: grid;
	grid-template-columns: 1fr 240px;
	gap: 16px;
	padding: 8px 20px 16px;
	align-items: start;
	font-size: clamp(13.5px, 0.8vw, 20px);
}
.cbody.full {
	grid-template-columns: 1fr;
}
.cbody.wimg {
	grid-template-columns: 1fr 270px;
}
.cbody.flex-img {
	grid-template-columns: 3fr 1fr;
}
.cbody > * {
	min-width: 0;
}
.cbody > div > *:first-child {
	margin-top: 0 !important;
}
.cintro {
	font-size: clamp(13.5px, 0.8vw, 20px);
	color: var(--tdim);
	/* line-height: 1.7; */
}
.cbul {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 5px;
	transition: transform 0.3s ease-in-out;
}
.cbul > li {
	position: relative;
	padding-left: 16px;
	/* font-size: clamp(13.5px, 0.8vw, 50px); */
	/* font-size: clamp(13.5px, 0.8vw, 30px); */
	font-size: clamp(13.5px, 0.8vw, 20px);
	line-height: 1.15;
	/* color: var(--tdim); */
	color: var(--cbul);
	padding-bottom: 3px;
}
.cbul > li::before {
	content: "•";
	position: absolute;
	left: 2px;
	/* color: var(--tdim); */
	color: var(--cbul);
}
.cbul > li > ul {
	margin-top: 4px;
	padding-left: 18px;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 3px;
}
.cbul > li > ul > li {
	position: relative;
	/* font-size: clamp(13.5px, 0.8vw, 50px); */
	/* font-size: clamp(13.5px, 0.8vw, 25px); */
	/* font-size: clamp(13.5px, 0.8vw, 20px); */
	font-size: inherit;
	/* color: var(--tdim); */
	color: var(--cbul);
	line-height: 1.15;
	padding-bottom: 3px;
}
.cbul > li > ul > li::before {
	content: "•";
	position: absolute;
	left: -14px;
	/* color: var(--tdim); */
	color: var(--cbul);
	/* font-size: clamp(13.5px, 0.8vw, 50px); */
	font-size: clamp(13.5px, 0.8vw, 25px);
}
.cbul b,
.cbul strong {
	color: var(--bullbold);
	font-weight: 700;
}
.cbul i {
	font-style: italic;
}
.cbul a {
	color: var(--accent2);
	text-decoration: underline;
	text-underline-offset: 2px;
	transition: color 0.2s;
}
/* .cbul a:hover {
	color: var(--accent);
} */
.csub {
	margin-top: 12px;
	padding-top: 10px;
	border-top: 1px solid var(--border);
}
.cslbl {
	/* font-size: clamp(13.5px, 0.9vw, 50px); */
	/* font-size: clamp(13.5px, 0.9vw, 30px); */
	font-size: clamp(13.5px, 0.9vw, 20px);
	/* font-size: clamp(13px, 0.8vw, 16px); */
	font-weight: 800;
	/* font-weight: 700; */
	letter-spacing: 0.1em;
	color: var(--miniheader);
	text-transform: uppercase;
	margin-bottom: 5px;
	padding-top: 15px;
	/* padding-top: 0; */
	transition: 0.3s ease-in-out;
}
.cslbl:first-child {
	padding-top: 0;
}
