/* JSC Trips (mockup, Nov 2026). Brand tokens match the homepage refresh (home.css).
   Loads only on the /trips/ pages and on single posts in the Trips category.
   Yellow is only a fill under charcoal text, or text on charcoal (8:1). Yellow on white or
   cream is 1.3–1.5:1, so it is never used for text or edges there. */

.jsc-trips,
.jsc-trip-single .page-header,
.jsc-trip-single .jt-desc {
	--jsc-charcoal: #2E383F;
	--jsc-yellow: #F7D03B;
	--jsc-slate: #92ADC5;
	--jsc-cream: #F0ECE4;
	--jsc-charcoal-light: #4A5860; /* 7.3:1 on white, 6.2:1 on cream (#6A7880 failed on cream) */
	--jt-border: rgba(46, 56, 63, .12);
	--font-display: 'Arkhip', Georgia, 'Times New Roman', serif;
	--font-body: 'Bitter', Georgia, 'Times New Roman', serif;
	--font-ui: Arial, Helvetica, sans-serif;
	font-family: var(--font-body);
	color: var(--jsc-charcoal);
}

/* The listing and submit pages draw their own heading. */
.jsc-trips-page .page-header {
	display: none;
}
/* The hero band is full-bleed (100vw); clip the scrollbar-width overhang. */
.jsc-trips-page {
	overflow-x: clip;
}
.jsc-trips-page .site-main,
.jsc-trip-single .site-main {
	max-width: 1140px;
	padding-inline: 20px;
	box-sizing: border-box;
}

.jsc-trips a:hover {
	text-decoration: none;
}

/* ---------- Type ---------- */
.jsc-trips .jt-eyebrow {
	font-family: var(--font-ui);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: var(--jsc-charcoal-light);
	margin: 0 0 12px;
}
.jsc-trips .jt-eyebrow a {
	color: inherit;
}
.jsc-trips .jt-h1,
.jsc-trip-single .page-header .entry-title {
	font-family: var(--font-display);
	font-weight: 400;
	text-transform: uppercase;
	line-height: .95;
	letter-spacing: -1px;
	color: var(--jsc-charcoal);
	text-wrap: balance;
}
.jsc-trips .jt-h1 {
	font-size: clamp(40px, 7vw, 88px);
	margin: 0 0 18px;
	padding: 0;
	overflow-wrap: anywhere;
}
.jsc-trips .jt-h1 .y {
	color: var(--jsc-yellow);
}
.jsc-trip-single .page-header .entry-title {
	font-size: clamp(34px, 6vw, 60px);
	margin: 8px 0 20px;
}
.jsc-trips .jt-lede {
	font-size: 18px;
	line-height: 1.5;
	max-width: 560px;
	margin: 0 0 24px;
}
.jsc-trips .jt-h2 {
	font-family: var(--font-ui);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	margin: 0 0 18px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--jt-border);
}

/* ---------- Button ---------- */
.jsc-trips .jt-btn {
	display: inline-block;
	font-family: var(--font-ui);
	font-weight: 700;
	font-size: 12px;
	letter-spacing: 2px;
	text-transform: uppercase;
	line-height: 1.2;
	padding: 14px 28px;
	border-radius: 2px;
	background: var(--jsc-yellow);
	color: var(--jsc-charcoal);
	transition: opacity .15s;
}
.jsc-trips .jt-btn:hover {
	opacity: .85;
	color: var(--jsc-charcoal);
}

/* ---------- Hero ---------- */
.jsc-trips .jt-hero {
	background: var(--jsc-charcoal);
	margin: 0 calc(50% - 50vw) 40px;
	padding: 56px max(20px, calc(50vw - 550px)) 48px;
}
.jsc-trips .jt-hero .jt-h1 {
	color: var(--jsc-cream);
}
.jsc-trips .jt-hero .jt-eyebrow,
.jsc-trips .jt-hero .jt-eyebrow a {
	color: var(--jsc-slate);
}
.jsc-trips .jt-hero .jt-lede {
	color: var(--jsc-cream);
}
.jsc-trips .jt-hero-sm {
	padding-bottom: 40px;
}

/* ---------- Grid + cards ---------- */
.jsc-trips .jt-section {
	margin-bottom: 48px;
}
.jsc-trips .jt-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
}
@media (min-width: 768px) {
	.jsc-trips .jt-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1025px) {
	.jsc-trips .jt-grid { grid-template-columns: repeat(3, 1fr); }
}

.jsc-trips .jt-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--jt-border);
	border-radius: 4px;
	overflow: hidden;
	color: var(--jsc-charcoal);
	transition: transform .15s, box-shadow .15s;
}
.jsc-trips .jt-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(46, 56, 63, .10);
	color: var(--jsc-charcoal);
}
.jsc-trips .jt-img {
	position: relative;
	aspect-ratio: 3 / 2;
	background: var(--jsc-cream);
	overflow: hidden;
}
/* Fixed size beats any theme/Elementor img height rule. */
.jsc-trips .jt-img img.jt-photo {
	width: 100%;
	height: 100% !important;
	max-height: none;
	object-fit: cover;
	display: block;
}
.jsc-trips .jt-ph {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: flex-end;
	padding: 18px;
	background:
		radial-gradient(circle at 85% 20%, rgba(247, 208, 59, .55) 0 18%, transparent 19%),
		linear-gradient(160deg, var(--jsc-slate) 0%, var(--jsc-charcoal) 100%);
}
.jsc-trips .jt-ph span {
	font-family: var(--font-display);
	font-size: 34px;
	line-height: .95;
	text-transform: uppercase;
	color: #fff;
}
.jsc-trips .jt-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	font-family: var(--font-ui);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	padding: 6px 10px;
	border-radius: 2px;
	background: var(--jsc-yellow);
	color: var(--jsc-charcoal);
}
.jsc-trips .jt-badge-off {
	background: var(--jsc-charcoal);
	color: #fff;
}
.jsc-trips .jt-body {
	padding: 16px 18px 20px;
}
.jsc-trips .jt-meta {
	font-family: var(--font-ui);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--jsc-charcoal-light);
	margin-bottom: 6px;
}
.jsc-trips .jt-title {
	font-family: var(--font-body);
	font-size: 21px;
	font-weight: 700;
	line-height: 1.25;
	margin: 0 0 8px;
	color: var(--jsc-charcoal);
}
.jsc-trips .jt-by {
	font-size: 14px;
	margin: 0;
	color: var(--jsc-charcoal-light);
}
.jsc-trips .jt-by b {
	color: var(--jsc-charcoal);
}
/* Fade past trips through the image only; fading the card would drop text below 4.5:1. */
.jsc-trips .jt-past .jt-img {
	filter: grayscale(1);
	opacity: .75;
}
.jsc-trips .jt-empty,
.jsc-trips .jt-note {
	font-size: 14px;
	color: var(--jsc-charcoal-light);
}
.jsc-trips .jt-note {
	border-top: 1px solid var(--jt-border);
	padding-top: 16px;
	margin: 0 0 40px;
}

.jsc-trips .jt-note p {
	margin: 0 0 10px;
	line-height: 1.55;
}
.jsc-trips .jt-note p:last-child {
	margin-bottom: 0;
}
.jsc-trips .jt-details .jt-check {
	font-size: 13px;
	line-height: 1.5;
	color: var(--jsc-cream);
	opacity: .85;
	margin: 10px 0 0;
}

/* ---------- Single trip ---------- */
.jsc-trip-single .page-header {
	max-width: 760px;
	margin-inline: auto;
}
.jsc-trip-single .page-content {
	max-width: 760px;
	margin-inline: auto;
}
.jsc-trips.jt-single-top {
	margin-bottom: 28px;
	padding-top: 24px;
}
.jsc-trips .jt-h1.jt-single-title {
	font-size: clamp(34px, 6vw, 60px);
	margin-bottom: 24px;
}
/* Eyebrow sits above the title visually via order in markup; keep it tight. */
/* Uncropped: organizers often send square flyers with text that a crop would cut off. */
.jsc-trips .jt-single-img {
	border-radius: 4px;
	overflow: hidden;
	margin-bottom: 20px;
	text-align: center;
	background: var(--jsc-cream);
}
.jsc-trips .jt-single-img img.jt-photo {
	width: auto;
	max-width: 100%;
	height: auto !important;
	max-height: 720px;
	display: inline-block;
	vertical-align: top;
}
.jsc-trips .jt-details {
	background: var(--jsc-charcoal);
	color: var(--jsc-cream);
	border-radius: 4px;
	padding: 24px;
}
.jsc-trips .jt-details dt {
	color: var(--jsc-slate) !important;
}
.jsc-trips .jt-details .jt-by,
.jsc-trips .jt-details .jt-by b {
	color: var(--jsc-cream);
}
.jsc-trips .jt-details dl {
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px 24px;
	margin: 0 0 20px;
}
@media (min-width: 600px) {
	.jsc-trips .jt-details dl { grid-template-columns: 1fr 1fr; }
}
.jsc-trips .jt-details dt {
	font-family: var(--font-ui);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--jsc-charcoal-light);
	margin: 0 0 2px;
}
.jsc-trips .jt-details dd {
	margin: 0;
	font-size: 17px;
	font-weight: 600;
}
.jsc-trips .jt-details .jt-by {
	margin-top: 14px;
}
.jsc-trips .jt-closed {
	display: inline-block;
	font-family: var(--font-ui);
	font-weight: 700;
	font-size: 12px;
	letter-spacing: 2px;
	text-transform: uppercase;
	padding: 12px 18px;
	margin: 0;
	border-radius: 2px;
	border: 2px solid var(--jsc-cream);
	color: var(--jsc-cream);
}
.jsc-trip-single .jt-desc {
	font-size: 17px;
	line-height: 1.65;
}
.jsc-trips.jt-single-bottom {
	margin-top: 32px;
}
.jsc-trips .jt-more {
	font-family: var(--font-ui);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	margin: 0 0 40px;
}
.jsc-trips .jt-more a {
	color: var(--jsc-charcoal);
	border-bottom: 2px solid var(--jsc-charcoal);
}

/* ---------- Submit form ---------- */
.jsc-trips.jt-submit .fluentform {
	max-width: 760px;
	margin-bottom: 56px;
}
.jsc-trips.jt-submit .ff-el-section-break h3 {
	font-family: var(--font-ui);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	margin-top: 12px;
}
.jsc-trips.jt-submit .ff-btn-submit {
	font-family: var(--font-ui) !important;
	font-weight: 700 !important;
	font-size: 12px !important;
	letter-spacing: 2px;
	text-transform: uppercase;
	padding: 14px 28px !important;
	border-radius: 2px !important;
	background: var(--jsc-yellow) !important;
	border-color: var(--jsc-yellow) !important;
	color: var(--jsc-charcoal) !important;
}
