.gpe-explorer {
	--gpe-bg: #0f1b2d;
	--gpe-card-bg: #152238;
	--gpe-accent: #d6a84a;
	--gpe-text: #c9d3e0;
	--gpe-heading: #ffffff;
	--gpe-radius: 10px;
	--gpe-border: #263652;

	/* Hero banner */
	--gpe-hero-heading: #ffffff;
	--gpe-hero-subtitle: #d6a84a;
	--gpe-hero-overlay-start: rgba(10, 16, 28, 0.92);
	--gpe-hero-overlay-end: rgba(10, 16, 28, 0.15);
	--gpe-hero-min-height: 150px;

	/* Tabs */
	--gpe-tab-active-text: #1a1204;

	/* Badges / pills */
	--gpe-pill-bg: rgba(10, 16, 28, 0.75);
	--gpe-pill-text: #ffffff;
	--gpe-badge-bg: #d6a84a;
	--gpe-badge-text: #1a1204;

	/* Package Includes / Exclusions */
	--gpe-include-color: #c9d3e0;
	--gpe-exclude-color: #e08a8a;

	/* Buttons */
	--gpe-btn-solid-text: #1a1204;

	background: var(--gpe-bg);
	color: var(--gpe-text);
	padding: 24px;
	border-radius: var(--gpe-radius);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	box-sizing: border-box;
}
.gpe-explorer *,
.gpe-explorer *::before,
.gpe-explorer *::after {
	box-sizing: border-box;
}

/* Tabs */
.gpe-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 20px;
}
.gpe-tab {
	display: flex;
	align-items: center;
	gap: 8px;
	background: var(--gpe-card-bg);
	border: 1px solid var(--gpe-border);
	color: var(--gpe-text);
	padding: 10px 16px;
	border-radius: 8px;
	cursor: pointer;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.gpe-tab:hover {
	border-color: var(--gpe-accent);
}
.gpe-tab.is-active {
	background: var(--gpe-accent);
	border-color: var(--gpe-accent);
	color: var(--gpe-tab-active-text);
}
.gpe-tab-icon {
	display: inline-flex;
	color: var(--gpe-text);
	opacity: 0.75;
}
.gpe-tab.is-active .gpe-tab-icon {
	color: var(--gpe-tab-active-text);
	opacity: 0.85;
}
.gpe-tab-count {
	background: rgba(0, 0, 0, 0.25);
	border-radius: 6px;
	padding: 2px 9px;
	font-size: 11px;
	font-weight: 700;
}
.gpe-tab.is-active .gpe-tab-count {
	background: rgba(0, 0, 0, 0.2);
}

/* Panels */
.gpe-panel {
	display: none;
}
.gpe-panel.is-active {
	display: block;
	animation: gpe-fade 0.2s ease;
}
@keyframes gpe-fade {
	from { opacity: 0; transform: translateY(4px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* Hero */
.gpe-hero {
	position: relative;
	border-radius: var(--gpe-radius);
	overflow: hidden;
	min-height: var(--gpe-hero-min-height);
	margin-bottom: 24px;
	background-color: #1c2c46;
	/* Falls back to the gradient placeholder whenever no Background Image
	   has been set on the Destination term; the moment PHP outputs
	   --gpe-hero-image inline, this rule automatically uses the photo -
	   no specificity fight with an inline background-image needed. */
	background-image: var(--gpe-hero-image, linear-gradient(120deg, #1c2c46, #223a2c));
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
}
.gpe-hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, var(--gpe-hero-overlay-start) 0%, var(--gpe-hero-overlay-end) 100%);
}
.gpe-hero-text {
	position: relative;
	z-index: 1;
	padding: 28px 32px;
}
.gpe-hero-text h2 {
	margin: 0 0 6px;
	color: var(--gpe-hero-heading);
	font-size: 28px;
	letter-spacing: 0.04em;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}
.gpe-hero-text p {
	margin: 0;
	color: var(--gpe-hero-subtitle);
	font-size: 13px;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

/* Cards grid */
.gpe-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	align-items: start;
}
@media (max-width: 900px) {
	.gpe-cards { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 620px) {
	.gpe-cards { grid-template-columns: 1fr !important; }
}

.gpe-card {
	background: var(--gpe-card-bg);
	border: 1px solid var(--gpe-border);
	border-radius: var(--gpe-radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.gpe-card-media {
	height: 150px;
	background-image: var(--gpe-card-image, none);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	background-color: #1e3324;
	position: relative;
	padding: 10px;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
}
.gpe-pill {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.03em;
	padding: 4px 9px;
	border-radius: 5px;
	background: var(--gpe-pill-bg);
	color: var(--gpe-pill-text);
}
.gpe-pill-badge {
	background: var(--gpe-badge-bg);
	color: var(--gpe-badge-text);
}

.gpe-card-body {
	padding: 18px 18px 20px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1;
}
.gpe-card-title {
	margin: 0;
	color: var(--gpe-heading);
	font-size: 18px;
}

.gpe-meta-row {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin: 0;
	padding: 0;
	font-size: 13px;
	color: var(--gpe-accent);
}
.gpe-meta-row li {
	display: flex;
	align-items: center;
	gap: 5px;
}
.gpe-ico { font-size: 12px; }

.gpe-starts {
	margin: 0;
	font-size: 13px;
	color: var(--gpe-text);
	display: flex;
	gap: 6px;
	align-items: center;
}

.gpe-desc {
	margin: 0;
	padding: 10px 12px;
	border: 1px solid var(--gpe-border);
	border-radius: 8px;
	font-size: 13.5px;
	line-height: 1.55;
	color: var(--gpe-text);
}

.gpe-section-label {
	margin: 4px 0 4px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--gpe-accent);
	display: flex;
	gap: 6px;
	align-items: center;
}
.gpe-courses-list {
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	color: var(--gpe-heading);
}

.gpe-details {
	border-top: 1px solid var(--gpe-border);
	padding-top: 12px;
	margin-top: 4px;
}
.gpe-list {
	list-style: none;
	margin: 0 0 10px;
	padding: 0;
	font-size: 13px;
	line-height: 1.7;
	color: var(--gpe-text);
}
.gpe-list-excludes li { color: var(--gpe-exclude-color); }
.gpe-list-includes li { color: var(--gpe-include-color); }

.gpe-note {
	margin: 4px 0 10px;
	padding: 10px 14px;
	border: 1px solid var(--gpe-accent);
	border-radius: 8px;
	background: rgba(214, 168, 74, 0.08);
	color: var(--gpe-accent);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.5;
	text-align: center;
}

.gpe-card-actions {
	margin-top: auto;
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding-top: 6px;
}
.gpe-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 10px 14px;
	border-radius: 7px;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	border: 1px solid var(--gpe-accent);
	transition: background 0.15s ease, color 0.15s ease;
}
.gpe-btn-outline {
	background: transparent;
	color: var(--gpe-accent);
}
.gpe-btn-outline:hover {
	background: rgba(214, 168, 74, 0.1);
}
.gpe-btn-solid {
	background: var(--gpe-accent);
	color: var(--gpe-btn-solid-text);
}
.gpe-btn-solid:hover {
	filter: brightness(1.08);
	color: var(--gpe-btn-solid-text);
}
.gpe-btn-text-hide { display: none; }
.gpe-btn.is-open .gpe-btn-text-show { display: none; }
.gpe-btn.is-open .gpe-btn-text-hide { display: inline; }
