/**
 * Rialto Bridge — article wall + reader.
 * Brand tokens mirror the Elementor front page so Bridge reads as one site.
 */

.rlt-bridge {
	--bg: #0a0b0f;
	--surface: #14171f;
	--surface-2: #1a1e28;
	--line: rgba(255, 255, 255, .08);
	--text: #f4f5f7;
	--muted: #99a2b2;
	--accent: #ffb347;
	--grad: linear-gradient(118deg, #ffb347, #ff6a3d);
	background: var(--bg);
	color: var(--text);
	font-family: 'Inter', system-ui, -apple-system, sans-serif;
	line-height: 1.65;
}

.rlt-bridge *,
.rlt-bridge *::before,
.rlt-bridge *::after { box-sizing: border-box; }

.rlt-bridge h1,
.rlt-bridge h2,
.rlt-bridge h3,
.rlt-bridge h4 {
	font-family: 'Sora', 'Inter', system-ui, sans-serif;
	letter-spacing: -.015em;
	line-height: 1.18;
	color: var(--text);
	margin: 0;
}

.rlt-bridge-wrap {
	width: min(1180px, 100% - clamp(32px, 6vw, 80px));
	margin-inline: auto;
}

.rlt-bridge-measure { max-width: 720px; }

.rlt-bridge-kicker {
	display: inline-block;
	font-family: 'Sora', sans-serif;
	font-size: .7rem;
	font-weight: 800;
	letter-spacing: .16em;
	text-transform: uppercase;
	background: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	margin-bottom: 14px;
}

/* ---------- "Back to Bridge" item in the theme's primary menu ----------
   This lives in the site header, outside .rlt-bridge, so the custom properties
   declared there are not in scope — colours are literal here on purpose. */
.rch-bridge-nav-item > a {
	display: inline-flex !important;
	align-items: center;
	gap: .1em;
	white-space: nowrap;
}
.rch-bridge-nav-item .rch-bridge-nav-mark {
	color: #ff8a3d;
	width: 1.5em;
	height: 1.5em;
	flex: 0 0 auto;
}
.rch-bridge-nav-item.current-menu-item .rch-bridge-nav-mark { opacity: .75; }

/* ---------- iconography ---------- */

/* Inline mark. Sized in em so it scales with whatever label it sits in. */
.rlt-bridge-mark {
	width: 1.45em;
	height: 1.45em;
	vertical-align: -.32em;
	margin-right: .45em;
	overflow: visible;
}

/* The kicker is gradient-clipped text, which would clip the stroke to
   transparent too — so the mark opts out and takes the flat accent. */
.rlt-bridge-kicker .rlt-bridge-mark,
.rlt-bridge-cta-eyebrow .rlt-bridge-mark {
	color: var(--accent);
	-webkit-text-fill-color: currentColor;
}

/* Decorative span behind the masthead. Sits at the baseline of the band and
   fades out toward the top so it never competes with the headline. */
.rlt-bridge-span {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	width: 100%;
	/* Aspect ratio is preserved (xMidYMax meet) so the bridge is never stretched;
	   the box is what flexes, and the silhouette sits bottom-centre inside it. */
	height: clamp(190px, 27vw, 380px);
	color: var(--accent);
	opacity: .12;
	pointer-events: none;
	-webkit-mask-image: linear-gradient(to top, #000 42%, transparent 96%);
	mask-image: linear-gradient(to top, #000 42%, transparent 96%);
}

.rlt-bridge-crumb-home { display: inline-flex; align-items: center; }
.rlt-bridge-crumb-home .rlt-bridge-mark { width: 1.25em; height: 1.25em; }

/* ---------- masthead ---------- */
.rlt-bridge-masthead {
	position: relative;
	overflow: hidden;
	padding: clamp(56px, 9vw, 110px) 0 clamp(44px, 6vw, 76px);
	background: radial-gradient(ellipse at 20% -10%, rgba(255, 106, 61, .16), transparent 62%);
	border-bottom: 1px solid var(--line);
}
.rlt-bridge-masthead > .rlt-bridge-wrap { position: relative; z-index: 1; }
.rlt-bridge-masthead h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); font-weight: 800; }
.rlt-bridge-standfirst {
	color: var(--muted);
	font-size: clamp(1rem, 1.6vw, 1.15rem);
	max-width: 62ch;
	margin: 18px 0 0;
}
.rlt-bridge-masthead .rlt-bridge-btn { margin-top: 28px; }

/* ---------- buttons ---------- */
.rlt-bridge-btn {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 12px 24px;
	border-radius: 999px;
	font-family: 'Sora', sans-serif;
	font-weight: 700;
	font-size: .9rem;
	text-decoration: none;
	transition: transform .25s, border-color .25s, background .25s;
}
.rlt-bridge-btn-primary { background: var(--grad); color: #0a0b0f !important; }
.rlt-bridge-btn-primary:hover { transform: translateY(-2px); }
.rlt-bridge-btn-ghost {
	border: 1px solid var(--line);
	background: var(--surface);
	color: var(--text) !important;
}
.rlt-bridge-btn-ghost:hover { border-color: rgba(255, 179, 71, .55); }

/* ---------- topic nav ---------- */
.rlt-bridge-topics {
	border-bottom: 1px solid var(--line);
	position: sticky;
	top: 0;
	z-index: 20;
	background: rgba(10, 11, 15, .86);
	backdrop-filter: blur(12px);
}
.rlt-bridge-topics .rlt-bridge-wrap {
	display: flex;
	gap: 26px;
	overflow-x: auto;
	scrollbar-width: none;
	padding: 15px 0;
}
.rlt-bridge-topics .rlt-bridge-wrap::-webkit-scrollbar { display: none; }
.rlt-bridge-topics a {
	color: var(--muted);
	font-size: .88rem;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	position: relative;
	padding-bottom: 3px;
	transition: color .25s;
}
.rlt-bridge-topics a:hover { color: var(--text); }
.rlt-bridge-topics a.is-active { color: var(--text); }
.rlt-bridge-topics a.is-active::after {
	content: "";
	position: absolute;
	inset: auto 0 -1px 0;
	height: 2px;
	background: var(--grad);
	border-radius: 2px;
}

/* ---------- the wall ---------- */
.rlt-bridge-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 26px;
	padding: clamp(36px, 5vw, 60px) 0;
}
.rlt-bridge-card {
	display: flex;
	flex-direction: column;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 18px;
	overflow: hidden;
	transition: transform .35s, border-color .35s;
}
.rlt-bridge-card:hover { transform: translateY(-5px); border-color: rgba(255, 179, 71, .35); }

/* The lead story spans the row and sets its image beside the copy. */
.rlt-bridge-card.is-lead {
	grid-column: 1 / -1;
	flex-direction: row;
	background: linear-gradient(160deg, var(--surface-2), var(--surface));
}
.rlt-bridge-card.is-lead .rlt-bridge-card-img { flex: 0 0 46%; }
.rlt-bridge-card.is-lead .rlt-bridge-card-body { padding: clamp(26px, 3.4vw, 44px); justify-content: center; }
.rlt-bridge-card.is-lead h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }

.rlt-bridge-card-img { display: block; overflow: hidden; }
.rlt-bridge-card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	aspect-ratio: 16 / 9;
	display: block;
	transition: transform .5s;
}
.rlt-bridge-card:hover .rlt-bridge-card-img img { transform: scale(1.04); }

.rlt-bridge-card-body { padding: 24px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.rlt-bridge-card h2 { font-size: 1.12rem; font-weight: 700; margin-bottom: 10px; }
.rlt-bridge-card h2 a { color: inherit; text-decoration: none; }
.rlt-bridge-card h2 a:hover { color: var(--accent); }
.rlt-bridge-card p { color: var(--muted); font-size: .92rem; margin: 0 0 18px; flex: 1; }

.rlt-bridge-tag {
	align-self: flex-start;
	font-family: 'Sora', sans-serif;
	font-size: .64rem;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--accent);
	background: rgba(255, 179, 71, .12);
	padding: 4px 10px;
	border-radius: 999px;
	margin-bottom: 13px;
}

.rlt-bridge-card-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	font-size: .78rem;
	color: var(--muted);
	border-top: 1px solid var(--line);
	padding-top: 13px;
}
.rlt-bridge-lock {
	font-weight: 700;
	font-size: .68rem;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--accent);
}

/* ---------- article ---------- */
.rlt-bridge-article-head { padding: clamp(46px, 7vw, 84px) 0 0; }
.rlt-bridge-crumbs { font-size: .82rem; color: var(--muted); margin-bottom: 20px; }
.rlt-bridge-crumbs a { color: var(--muted); text-decoration: none; }
.rlt-bridge-crumbs a:hover { color: var(--accent); }
.rlt-bridge-crumbs span { margin: 0 8px; opacity: .5; }
.rlt-bridge-article-head h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); font-weight: 800; }
.rlt-bridge-byline {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--muted);
	font-size: .85rem;
	margin-top: 22px;
	padding-bottom: 26px;
	border-bottom: 1px solid var(--line);
}
.rlt-bridge-hero-img { margin: 34px auto 0; }
.rlt-bridge-hero-img img { width: 100%; border-radius: 18px; display: block; }

.rlt-bridge-body { padding: 38px 0 clamp(50px, 7vw, 90px); font-size: 1.06rem; }
.rlt-bridge-body h2 { font-size: 1.5rem; font-weight: 700; margin: 44px 0 14px; }
.rlt-bridge-body h3 { font-size: 1.18rem; font-weight: 700; margin: 32px 0 10px; }
.rlt-bridge-body p { margin: 0 0 20px; color: #dfe3ea; }
.rlt-bridge-body ul, .rlt-bridge-body ol { margin: 0 0 22px; padding-left: 22px; color: #dfe3ea; }
.rlt-bridge-body li { margin-bottom: 9px; }
.rlt-bridge-body strong { color: var(--text); }
.rlt-bridge-body a { color: var(--accent); }

.rlt-bridge-disclaimer {
	margin-top: 44px;
	padding: 18px 20px;
	border-radius: 14px;
	border: 1px dashed var(--line);
	background: rgba(255, 255, 255, .02);
	color: var(--muted);
	font-size: .84rem;
	line-height: 1.6;
}
.rlt-bridge-disclaimer strong { color: var(--accent); }

/* ---------- paywall ---------- */
.rlt-bridge-teaser { position: relative; font-size: 1.06rem; color: #dfe3ea; }
.rlt-bridge-wall { position: relative; margin-top: -40px; }
.rlt-bridge-wall-fade {
	height: 120px;
	background: linear-gradient(to bottom, rgba(10, 11, 15, 0), var(--bg));
	pointer-events: none;
}
.rlt-bridge-wall-body {
	background: linear-gradient(160deg, var(--surface-2), var(--surface));
	border: 1px solid var(--line);
	border-radius: 20px;
	padding: clamp(28px, 4vw, 44px);
	text-align: center;
}
.rlt-bridge-wall-eyebrow {
	display: block;
	font-family: 'Sora', sans-serif;
	font-size: .68rem;
	font-weight: 800;
	letter-spacing: .15em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 12px;
}
.rlt-bridge-wall-body h3 { font-size: clamp(1.3rem, 2.6vw, 1.75rem); font-weight: 800; margin-bottom: 12px; }
.rlt-bridge-wall-body > p { color: var(--muted); font-size: .96rem; max-width: 52ch; margin: 0 auto 22px; }
.rlt-bridge-wall-incl {
	list-style: none;
	margin: 0 auto 24px;
	padding: 0;
	display: inline-grid;
	gap: 9px;
	text-align: left;
}
.rlt-bridge-wall-incl li {
	position: relative;
	padding-left: 25px;
	color: var(--muted);
	font-size: .9rem;
}
.rlt-bridge-wall-incl li::before {
	content: "\2713";
	position: absolute;
	left: 0;
	color: var(--accent);
	font-weight: 800;
}
.rlt-bridge-wall-price { font-family: 'Sora', sans-serif; margin-bottom: 22px; }
.rlt-bridge-wall-price strong {
	font-size: 2.4rem;
	font-weight: 800;
	background: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.rlt-bridge-wall-price span { color: var(--muted); font-size: .9rem; margin-left: 6px; }
.rlt-bridge-wall-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.rlt-bridge-wall-fine { color: var(--muted); font-size: .8rem; margin: 20px 0 0; }
.rlt-bridge-wall-fine a { color: var(--accent); }

/* ---------- sources ---------- */
.rlt-bridge-sources {
	margin-top: 44px;
	padding: 24px 26px;
	border-radius: 16px;
	background: rgba(255, 255, 255, .02);
	border: 1px solid var(--line);
}
.rlt-bridge-sources h3 {
	font-family: 'Sora', sans-serif;
	font-size: .68rem;
	font-weight: 800;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--accent);
	margin: 0 0 14px;
}
.rlt-bridge-sources ol { margin: 0; padding-left: 20px; }
.rlt-bridge-sources li { margin-bottom: 11px; font-size: .88rem; line-height: 1.5; }
.rlt-bridge-sources li:last-child { margin-bottom: 0; }
.rlt-bridge-sources li a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.rlt-bridge-sources li a:hover { color: var(--accent); }
.rlt-bridge-sources li span { display: block; color: var(--muted); font-size: .8rem; margin-top: 2px; }

/* ---------- narrated presentation offer ---------- */
.rlt-bridge-deck {
	display: flex;
	gap: 22px;
	align-items: flex-start;
	margin-top: 44px;
	padding: clamp(22px, 3vw, 30px);
	border-radius: 18px;
	background: var(--surface);
	border: 1px solid var(--line);
}
.rlt-bridge-deck-icon {
	flex: 0 0 46px;
	height: 46px;
	border-radius: 13px;
	background: rgba(255, 179, 71, .12);
	display: grid;
	place-items: center;
	color: var(--accent);
}
.rlt-bridge-deck-icon svg { width: 24px; height: 24px; }
.rlt-bridge-deck-eyebrow {
	display: block;
	font-family: 'Sora', sans-serif;
	font-size: .64rem;
	font-weight: 800;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 8px;
}
.rlt-bridge-deck h3 { font-size: 1.16rem; font-weight: 700; margin-bottom: 8px; }
.rlt-bridge-deck p { color: var(--muted); font-size: .92rem; margin: 0 0 18px; }
.rlt-bridge-deck-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.rlt-bridge-deck-price {
	font-family: 'Sora', sans-serif;
	font-weight: 800;
	font-size: 1.35rem;
	background: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.rlt-bridge-deck-price .woocommerce-Price-amount { color: inherit; }
.rlt-bridge-deck-note { font-size: .8rem; margin: 14px 0 0 !important; }
.rlt-bridge-deck-status {
	margin: 0 !important;
	padding: 13px 16px;
	border-radius: 12px;
	background: rgba(255, 179, 71, .09);
	border: 1px solid rgba(255, 179, 71, .22);
	font-size: .88rem;
}
.rlt-bridge-deck-status strong { color: var(--accent); }

/* ---------- engagement CTA ---------- */
.rlt-bridge-cta {
	margin-top: 30px;
	padding: clamp(26px, 3.6vw, 40px);
	border-radius: 20px;
	background: linear-gradient(160deg, var(--surface-2), var(--surface));
	border: 1px solid rgba(255, 179, 71, .28);
}
.rlt-bridge-cta-eyebrow {
	display: block;
	font-family: 'Sora', sans-serif;
	font-size: .66rem;
	font-weight: 800;
	letter-spacing: .15em;
	text-transform: uppercase;
	background: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	margin-bottom: 11px;
}
.rlt-bridge-cta h3 { font-size: clamp(1.2rem, 2.3vw, 1.5rem); font-weight: 800; margin-bottom: 12px; }
.rlt-bridge-cta p { color: var(--muted); font-size: .95rem; margin: 0 0 22px; max-width: 58ch; }
.rlt-bridge-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 640px) {
	.rlt-bridge-deck { flex-direction: column; gap: 16px; }
	.rlt-bridge-cta-actions { flex-direction: column; }
	.rlt-bridge-cta-actions .rlt-bridge-btn { justify-content: center; }
}

/* ---------- join band + misc ---------- */
.rlt-bridge-join {
	border-top: 1px solid var(--line);
	padding: clamp(50px, 7vw, 88px) 0;
	text-align: center;
	background: radial-gradient(ellipse at 50% 120%, rgba(255, 106, 61, .12), transparent 62%);
}
.rlt-bridge-join h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 800; margin-bottom: 12px; }
.rlt-bridge-join > .rlt-bridge-wrap > p { color: var(--muted); max-width: 48ch; margin: 0 auto 22px; }
.rlt-bridge-join-price { font-family: 'Sora', sans-serif; margin-bottom: 22px; }
.rlt-bridge-join-price strong {
	font-size: 2.6rem;
	font-weight: 800;
	background: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.rlt-bridge-join-price span { color: var(--muted); margin-left: 8px; font-size: .9rem; }

.rlt-bridge-more { border-top: 1px solid var(--line); padding-bottom: 40px; }
.rlt-bridge-more-title { font-size: 1.3rem; font-weight: 700; padding-top: 44px; }
.rlt-bridge-more .rlt-bridge-grid { padding-top: 24px; }

.rlt-bridge-pagination { padding: 0 0 clamp(46px, 6vw, 80px); display: flex; justify-content: center; }
.rlt-bridge-pagination .page-numbers {
	display: inline-block;
	padding: 9px 15px;
	margin: 0 4px;
	border-radius: 10px;
	border: 1px solid var(--line);
	color: var(--muted);
	text-decoration: none;
	font-size: .88rem;
}
.rlt-bridge-pagination .page-numbers.current { background: var(--grad); color: #0a0b0f; border-color: transparent; font-weight: 700; }
.rlt-bridge-empty { color: var(--muted); padding: 60px 0; text-align: center; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
	.rlt-bridge-grid { grid-template-columns: repeat(2, 1fr); }
	.rlt-bridge-card.is-lead { flex-direction: column; }
	.rlt-bridge-card.is-lead .rlt-bridge-card-img { flex: none; }
}
@media (max-width: 640px) {
	.rlt-bridge-grid { grid-template-columns: 1fr; gap: 20px; }
	.rlt-bridge-wall-cta { flex-direction: column; }
	.rlt-bridge-wall-cta .rlt-bridge-btn { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
	.rlt-bridge * { transition: none !important; }
}
