/* ==========================================================================
   Sports Graphics hub page. Builds on hub.css (gallery cards, steps, FAQ,
   reviews, buttons) — adds the hero split, showcase grid, type cards,
   browse-by-sport chips and the related-services cards.

   Image dimensions are controlled: showcase cards use a fixed portrait ratio
   in a responsive grid; nothing renders full-content-width.
   ========================================================================== */

/* ---- shared prose --------------------------------------------------------- */
.jpc-gr-prose { max-width: 760px; }
.jpc-gr-prose p { font-size: 17.5px; line-height: 1.72; margin: 0 0 1.2em; color: #33373F; }
.jpc-sec--sand .jpc-gr-prose p { color: #3C4048; }
.jpc-gr-prose h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.05; margin-bottom: 16px; color: var(--wp--preset--color--ink); }
.jpc-gr-uses { margin: 8px 0 0; }
.jpc-gr-uses li { font-size: 16.5px; line-height: 1.55; margin-bottom: 12px; align-items: flex-start; color: var(--wp--preset--color--ink); }
.jpc-gr-uses li .ck { flex-shrink: 0; margin-top: 2px; }
.jpc-gr-uses strong { color: var(--wp--preset--color--ink); }

/* ---- hero ----------------------------------------------------------------- */
.jpc-gr-hero { padding-top: clamp(34px, 4vw, 56px); }
.jpc-gr-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 4vw, 56px); align-items: center; }
.jpc-gr-hero__copy { max-width: 600px; }
.jpc-gr-hero h1 { font-size: clamp(38px, 5.2vw, 62px); line-height: 1; margin: 4px 0 18px; }
.jpc-gr-hero__trust { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.jpc-gr-hero__trust li { display: flex; gap: 10px; align-items: center; color: rgba(245,242,234,.86); font-size: 14.5px; }
.jpc-gr-hero__trust .ck { color: var(--wp--preset--color--accent-tint); font-weight: 800; }
/* Hero art: one dominant graphic + two fanned behind (same component the
   homepage and sport pages use). Sizing variant lives here; the base
   .jpc-hero__art/.fan/.main/.glow/.chip styles come from hub.css. */
.jpc-hero__art--graphics { max-width: 470px; }

/* ---- showcase / hero card media ------------------------------------------ */
.jpc-gr-showcase { grid-template-columns: repeat(4, 1fr); }
.jpc-gr-showcase .jpc-gcard__media { aspect-ratio: 1080 / 1350; }
.jpc-gr-ex__meta { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
	color: var(--wp--preset--color--muted); text-align: center; padding: 10px 2px 0; }

/* ---- type cards ----------------------------------------------------------- */
.jpc-gr-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.jpc-gr-type { background: #fff; border: 1px solid rgba(12,14,19,.10); border-radius: 16px;
	padding: 26px 24px 24px; display: flex; flex-direction: column; }
.jpc-gr-type__ico { font-size: 28px; line-height: 1; margin-bottom: 14px; }
.jpc-gr-type h3 { font-family: var(--wp--preset--font-family--body); font-weight: 800; text-transform: none;
	font-size: 19px; line-height: 1.2; margin: 0 0 8px; color: var(--wp--preset--color--ink); letter-spacing: 0; }
.jpc-gr-type p { font-size: 14.5px; line-height: 1.6; color: var(--wp--preset--color--muted); margin: 0 0 16px; }
.jpc-gr-type__link { margin-top: auto; font-size: 13.5px; font-weight: 800; color: var(--wp--preset--color--accent-ink);
	text-decoration: none; }
.jpc-gr-type__link:hover { text-decoration: underline; }

/* ---- browse by sport ------------------------------------------------------ */
.jpc-gr-sports { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.jpc-gr-sport { display: flex; align-items: center; justify-content: space-between; gap: 8px;
	background: rgba(255,255,255,.05); border: 1px solid var(--wp--custom--hairline-dark); border-radius: 12px;
	padding: 15px 18px; color: #E6E8EC; font-weight: 700; font-size: 15px; text-decoration: none;
	transition: background .15s, border-color .15s; }
.jpc-gr-sport:hover { background: rgba(255,255,255,.10); border-color: var(--wp--preset--color--accent-tint); color: #fff; }
.jpc-gr-sport span { color: var(--wp--preset--color--accent-tint); }

/* ---- related cards -------------------------------------------------------- */
.jpc-gr-related { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 940px; margin-inline: auto; }
.jpc-gr-related__card { background: #fff; border: 1px solid rgba(12,14,19,.12); border-radius: 18px; padding: 28px 26px;
	display: flex; flex-direction: column; }
.jpc-gr-related__ico { font-size: 30px; line-height: 1; margin-bottom: 12px; }
.jpc-gr-related__card h3 { font-family: var(--wp--preset--font-family--display); text-transform: uppercase;
	font-size: 24px; margin: 0 0 10px; color: var(--wp--preset--color--ink); }
.jpc-gr-related__card p { font-size: 15.5px; line-height: 1.65; color: #3C4048; margin: 0 0 20px; }
.jpc-gr-related__card strong { color: var(--wp--preset--color--ink); }
.jpc-gr-related__card .jpc-btn-ghost--dark { margin-top: auto; align-self: flex-start; display: inline-block; }

/* Ghost variant for light backgrounds (base .jpc-btn-ghost is cream-on-dark). */
.jpc-btn-ghost--dark { color: var(--wp--preset--color--ink); border-color: rgba(12,14,19,.28); }
.jpc-btn-ghost--dark:hover { border-color: var(--wp--preset--color--ink); background: rgba(12,14,19,.04); }

/* ---- 6-step process ------------------------------------------------------- */
.jpc-steps--6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

/* Section-head paragraph on dark ink (default #5C6270 is only 3.15:1 there). */
.jpc-graphics .jpc-sec--ink .jpc-sec__head-c p { color: #C6CAD2; }

/* Final-CTA secondary link — home.css (which styles it) isn't loaded here, so
   without this it renders as a default orange link on the orange band. */
.jpc-final__actions { display: flex; flex-direction: column; align-items: center; gap: 16px; }
/* White (not ink) — the link sits on the darker end of the orange band where
   ink is only 3.54:1; white on #C7300A is 5.45:1, matching the band's h2/lead. */
.jpc-final__contact { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.jpc-final__contact:hover { color: rgba(255,255,255,.82); }

/* ---- reviews foot AA ------------------------------------------------------ */
.jpc-graphics .jpc-reviews__foot { color: var(--wp--preset--color--muted); }

/* ---- responsive ----------------------------------------------------------- */
@media (max-width: 1000px) {
	.jpc-gr-hero__grid { grid-template-columns: 1fr; }
	.jpc-hero__art--graphics { order: -1; max-width: 380px; margin-bottom: 8px; }
	.jpc-gr-types { grid-template-columns: 1fr 1fr; }
	.jpc-gr-showcase { grid-template-columns: repeat(3, 1fr); }
	.jpc-gr-sports { grid-template-columns: repeat(3, 1fr); }
	.jpc-steps--6 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
	.jpc-gr-showcase { grid-template-columns: repeat(2, 1fr); }
	.jpc-gr-sports { grid-template-columns: repeat(2, 1fr); }
	.jpc-gr-related { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
	.jpc-gr-types { grid-template-columns: 1fr; }
	.jpc-steps--6 { grid-template-columns: 1fr; }
	.jpc-hero__art--graphics { max-width: 260px; }
	.jpc-gr-prose p { font-size: 16.5px; }
}
