/* Challenge-Coins.com Explore Cards v2.0.0 */
.ccpc-pathways,
.ccpc-pathways *,
.ccpc-modal,
.ccpc-modal * { box-sizing: border-box; }

.ccpc-pathways {
	--ccpc-gold: #d3aa55;
	--ccpc-gold-bright: #f0c45c;
	--ccpc-ink: #071019;
	--ccpc-navy: #102434;
	position: relative;
	clear: both;
	width: 100%;
	max-width: 100%;
	margin: 24px 0 30px;
	padding: 0;
	overflow: hidden;
}

.ccpc-pathways__inner {
	width: calc(100% - 32px);
	max-width: 1240px;
	min-width: 0;
	margin: 0 auto;
	padding: 18px;
	border: 1px solid rgba(211,170,85,.28);
	border-radius: 20px;
	background:
		radial-gradient(circle at 85% -20%, rgba(211,170,85,.14), transparent 35%),
		linear-gradient(145deg, rgba(16,36,52,.98), rgba(7,16,25,.99));
	box-shadow: 0 18px 44px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.05);
	overflow: hidden;
}

.ccpc-pathways__heading {
	max-width: 830px;
	margin: 0 auto 18px;
	padding: 2px 10px 6px;
	text-align: center;
}

.ccpc-pathways__heading > span {
	display: block;
	margin-bottom: 4px;
	color: var(--ccpc-gold-bright);
	font-size: 10px;
	font-weight: 900;
	letter-spacing: .18em;
}

.ccpc-pathways__heading h2 {
	margin: 0 !important;
	color: #fff !important;
	font-size: clamp(24px, 3.2vw, 42px) !important;
	font-weight: 900 !important;
	line-height: 1.05 !important;
}

.ccpc-pathways__heading p {
	margin: 8px auto 0 !important;
	color: rgba(255,255,255,.74) !important;
	font-size: 14px !important;
	line-height: 1.45 !important;
}

/* Exactly four columns at desktop = two rows of four for eight cards. */
.ccpc-pathways__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-flow: row;
	gap: 12px;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	margin: 0;
	padding: 0;
}

.ccpc-card {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	min-height: 382px;
	margin: 0 !important;
	padding: 0 !important;
	border: 1px solid rgba(255,255,255,.13) !important;
	border-radius: 16px !important;
	background: linear-gradient(155deg, rgba(255,255,255,.085), rgba(255,255,255,.025)) !important;
	box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 10px 22px rgba(0,0,0,.14) !important;
	color: #fff !important;
	overflow: hidden;
	transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.ccpc-card:hover,
.ccpc-card:focus-within {
	border-color: rgba(240,196,92,.62) !important;
	background: linear-gradient(155deg, rgba(211,170,85,.12), rgba(255,255,255,.035)) !important;
	transform: translateY(-2px);
}

.ccpc-card__visual {
	position: relative;
	display: grid;
	place-items: center;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	aspect-ratio: 16 / 9;
	background: #050a0f;
	overflow: hidden;
	border-bottom: 1px solid rgba(211,170,85,.18);
}

.ccpc-card__visual img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: 100%;
	object-fit: cover;
}

.ccpc-card--membership .ccpc-card__visual img { object-position: center 5%; }
.ccpc-card--lapel-pins .ccpc-card__visual img { object-position: center; }

.ccpc-card__visual--symbolic {
	background:
		radial-gradient(circle at 50% 36%, rgba(240,196,92,.17), transparent 38%),
		linear-gradient(145deg, #0e2030, #050b11);
}

.ccpc-symbol-coin {
	display: grid;
	place-items: center;
	width: clamp(68px, 7vw, 88px);
	height: clamp(68px, 7vw, 88px);
	border: 3px double rgba(240,196,92,.82);
	border-radius: 50%;
	background: radial-gradient(circle, rgba(211,170,85,.17), rgba(5,11,17,.92));
	box-shadow: 0 0 0 8px rgba(211,170,85,.05), 0 10px 24px rgba(0,0,0,.35);
}

.ccpc-symbol-coin .dashicons {
	width: 40px;
	height: 40px;
	font-size: 40px;
	line-height: 40px;
	color: var(--ccpc-gold-bright);
}

.ccpc-symbol-words {
	position: absolute;
	left: 10px;
	right: 10px;
	bottom: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-width: 0;
	color: rgba(255,255,255,.83);
	font-size: 9px;
	font-weight: 900;
	letter-spacing: .1em;
	white-space: nowrap;
}

.ccpc-symbol-words i { color: var(--ccpc-gold-bright); font-style: normal; }

.ccpc-card__content {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-width: 0;
	padding: 15px 16px 16px;
}

.ccpc-card__eyebrow {
	display: block;
	margin-bottom: 6px;
	color: var(--ccpc-gold-bright) !important;
	font-size: 9px;
	font-weight: 900;
	line-height: 1.25;
	letter-spacing: .11em;
	overflow-wrap: anywhere;
}

.ccpc-card h3 {
	margin: 0 0 8px !important;
	color: #fff !important;
	font-size: clamp(18px, 1.55vw, 23px) !important;
	font-weight: 900 !important;
	line-height: 1.1 !important;
	overflow-wrap: anywhere;
}

.ccpc-card p {
	margin: 0 !important;
	color: rgba(255,255,255,.72) !important;
	font-size: 12.25px !important;
	line-height: 1.43 !important;
	overflow-wrap: break-word;
}

.ccpc-card__actions {
	display: grid;
	gap: 8px;
	width: 100%;
	min-width: 0;
	margin-top: auto;
	padding-top: 15px;
}

.ccpc-card__cta {
	appearance: none;
	-webkit-appearance: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	margin: 0 !important;
	padding: 11px 12px;
	border: 1px solid rgba(240,196,92,.46);
	border-radius: 10px;
	background: rgba(211,170,85,.11);
	color: #fff !important;
	text-decoration: none !important;
	font-family: inherit;
	font-size: 10px;
	font-weight: 900;
	line-height: 1.2;
	letter-spacing: .055em;
	cursor: pointer;
	overflow-wrap: anywhere;
}

button.ccpc-card__cta { text-align: left; }
.ccpc-card__cta:hover,
.ccpc-card__cta:focus-visible {
	border-color: rgba(240,196,92,.9);
	background: rgba(211,170,85,.2);
	color: #fff !important;
}
.ccpc-card__cta > span { flex: 0 0 auto; color: var(--ccpc-gold-bright); font-size: 17px; }
.ccpc-card--foundry { border-color: rgba(240,196,92,.42) !important; }
.ccpc-card--war { border-color: rgba(182,51,45,.46) !important; }

/* Full-screen membership image viewer. */
.ccpc-modal {
	position: fixed;
	inset: 0;
	z-index: 2147482500;
	display: none;
	align-items: center;
	justify-content: center;
	width: 100vw;
	max-width: 100vw;
	height: 100vh;
	padding: 18px;
	overflow: auto;
}
.ccpc-modal[aria-hidden="false"] { display: flex; }
.ccpc-modal__backdrop {
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,.86);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	cursor: zoom-out;
}
.ccpc-modal__dialog {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	width: min(94vw, 860px);
	max-width: 94vw;
	max-height: calc(100vh - 36px);
	border: 1px solid rgba(240,196,92,.55);
	border-radius: 14px;
	background: #071019;
	box-shadow: 0 28px 90px rgba(0,0,0,.58);
	overflow: hidden;
}
.ccpc-modal__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 10px 12px;
	border-bottom: 1px solid rgba(240,196,92,.25);
	background: #0d1c29;
	color: #fff;
}
.ccpc-modal__bar strong { display: block; font-size: 13px; }
.ccpc-modal__bar span { display: block; margin-top: 2px; color: rgba(255,255,255,.62); font-size: 10px; }
.ccpc-modal__close {
	flex: 0 0 auto;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 1px solid rgba(255,255,255,.18);
	border-radius: 50%;
	background: rgba(255,255,255,.06);
	color: #fff;
	font-size: 25px;
	line-height: 1;
	cursor: pointer;
}
.ccpc-modal__image-button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 0;
	padding: 0;
	border: 0;
	background: #020507;
	cursor: zoom-out;
	overflow: auto;
}
.ccpc-modal__image-button img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: calc(100vh - 96px);
	object-fit: contain;
}
body.ccpc-modal-open { overflow: hidden; }

@media (max-width: 980px) {
	.ccpc-pathways__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ccpc-card { min-height: 360px; }
}

@media (max-width: 560px) {
	.ccpc-pathways { width: 100%; max-width: 100%; margin-left: 0; margin-right: 0; }
	.ccpc-pathways__inner { width: calc(100% - 20px); max-width: 100%; padding: 12px; border-radius: 16px; }
	.ccpc-pathways__grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.ccpc-card { min-height: 0; }
	.ccpc-card__content { padding: 14px; }
	.ccpc-symbol-words { font-size: 8px; gap: 5px; }
	.ccpc-modal { padding: 8px; }
	.ccpc-modal__dialog { width: 96vw; max-width: 96vw; max-height: calc(100vh - 16px); }
}
