/* ==============================
   Applied Research — page styling
================================ */

/* Section titles (h3) — used both in the intro block and inside #applied-research-calls */
.arp-section-title {
	display: inline-block;
	font-size: 21px;
	font-weight: 800;
	color: #2f2a5e;
	padding-left: 16px;
	margin-bottom: 12px;
	border-left: 4px solid #a09bd1;
	line-height: 1.3;
}

.arp-section-title.arp-section-title-spaced {
	margin-top: 55px;
}

/* Intro paragraph (Applied Research Projects overview) */
.arp-intro-text {
	font-size: 14.5px;
	line-height: 1.75;
	color: #374151;
	margin-bottom: 16px;
	text-align: justify;
}

/* Scope note (callout box) */
.arp-scope-note {
	background: #f4f3ff;
	border: 1px solid rgba(160, 155, 209, 0.35);
	border-radius: 10px;
	padding: 14px 20px;
	font-size: 13.5px;
	font-style: italic;
	color: #534d75;
	margin-bottom: 26px;
}

/* Highlighted key terms inside scope notes / intro text */
.arp-scope-note .arp-highlight {
	color: #4d4094;
	font-weight: 700;
	font-style: normal;
}

#applied-research-calls .accordion-content {
	padding: 22px 20px !important;
}

/* Entry title line — wraps the badge (no icon) */
#applied-research-calls .accordion-content p.entry-title {
	padding-left: 0;
	margin-top: 2px;
	margin-bottom: 12px !important;
}

#applied-research-calls .accordion-content p.entry-title::before {
	content: none !important;
}

/* Call / opportunity name — badge style (matches the CU badges on Resources) */
#applied-research-calls .entry-badge {
	display: inline-block;
	padding: 6px 16px;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 700;
	background: #bebbde;
	color: #3c3670;
	letter-spacing: 0.3px;
	box-shadow: 2px 4px 20px rgba(160, 155, 209, 0.35);
}

/* Detail lines (Managing Body / Target / Description / Link) — normal dot bullet */
#applied-research-calls .accordion-content p.entry-detail {
	padding-left: 38px;
	margin-bottom: 8px !important;
	position: relative;
}

#applied-research-calls .accordion-content p.entry-detail::before {
	content: '';
	background-image: none !important;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background-color: #a09bd1;
	left: 16px;
	top: 10px;
	transform: none;
}

#applied-research-calls .accordion-content p.entry-detail b {
	color: #4d4094;
}

/* Divider between entries of the same country */
#applied-research-calls .accordion-content hr.entry-divider {
	border: none;
	height: 1px;
	margin: 20px 0 22px;
	background: linear-gradient(90deg, rgba(160,155,209,0) 0%, rgba(160,155,209,0.6) 50%, rgba(160,155,209,0) 100%);
}

#applied-research-calls .accordion-content p.entry-detail a.links-normalxpto9 {
	font-weight: 600;
}
/* ==============================
   Completed ARP Pilots table
   — clean, minimalist, responsive
================================ */

.arp-table-wrap {
	width: 100%;
	margin: 22px 0 32px;
	background: #ffffff;
	border: 1px solid #e7e5f5;
	border-radius: 14px;
	box-shadow: 3px 6px 24px rgba(160, 155, 209, 0.18);
	padding: 8px 4px;
}

.arp-pilots-table {
	width: 100%;
	border-collapse: collapse;
	font-family: Calcutta-Regular;
	background: transparent;
}

.arp-pilots-table thead th {
	text-align: left;
	font-size: 11.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	color: #7a72b3;
	padding: 16px 18px 12px;
	border-bottom: 2px solid #a09bd1;
}

.arp-pilots-table tbody td {
	padding: 16px 18px;
	font-size: 13.5px;
	line-height: 1.55;
	color: #374151;
	border-bottom: 1px solid #eeecfa;
	vertical-align: top;
}

.arp-pilots-table tbody tr:last-child td {
	border-bottom: none;
}

.arp-pilots-table tbody tr {
	transition: background 0.2s ease;
}

/* Subtle zebra striping on even rows */
.arp-pilots-table tbody tr:nth-child(even) {
	background: rgba(160, 155, 209, 0.06);
}

.arp-pilots-table tbody tr:hover {
	background: rgba(160, 155, 209, 0.16);
}

.arp-pilots-table td:first-child {
	white-space: nowrap;
}

.arp-pilots-table td:last-child {
	font-weight: 600;
	color: #2f2a5e;
}

/* Leading partner badge (reuses the entry-badge visual language) */
.arp-partner-badge {
	display: inline-block;
	min-width: 78px;
	padding: 4px 14px;
	border-radius: 14px;
	background: #bebbde;
	color: #3c3670;
	font-weight: 700;
	font-size: 12px;
	letter-spacing: 0.3px;
	text-align: center;
}

/* Column proportions on desktop */
.arp-pilots-table th:nth-child(1) { width: 14%; }
.arp-pilots-table th:nth-child(2) { width: 15%; }
.arp-pilots-table th:nth-child(3) { width: 21%; }
.arp-pilots-table th:nth-child(4) { width: 50%; }

/* Responsive: below tablet, rows become clean stacked cards (no horizontal scroll) */
@media (max-width: 768px) {
	.arp-table-wrap {
		background: transparent;
		border: none;
		box-shadow: none;
		padding: 0;
	}

	.arp-pilots-table thead {
		display: none;
	}

	.arp-pilots-table,
	.arp-pilots-table tbody,
	.arp-pilots-table tr,
	.arp-pilots-table td {
		display: block;
		width: 100%;
	}

	.arp-pilots-table tr {
		margin-bottom: 14px;
		padding: 16px 18px;
		border: 1px solid #e7e5f5;
		border-radius: 12px;
		box-shadow: 2px 4px 16px rgba(160, 155, 209, 0.18);
	}

	.arp-pilots-table tr:last-child {
		margin-bottom: 0;
	}

	.arp-pilots-table td {
		padding: 6px 0;
		border-bottom: none;
	}

	.arp-pilots-table td:first-child {
		padding-top: 0;
	}

	.arp-pilots-table td:last-child {
		padding-bottom: 0;
	}

	.arp-pilots-table td::before {
		content: attr(data-label);
		display: block;
		font-size: 10.5px;
		font-weight: 700;
		text-transform: uppercase;
		letter-spacing: 0.5px;
		color: #a09bd1;
		margin-bottom: 3px;
	}
}
