/* realmedia-kc-styles 1.20.0: article template v3 (blog articles rendered by the Elementor template only).
   Tokens from the kit (--e-global-*), fallbacks = design-system hex. Approved by Roko 2026-11-23 (mockup v3), including
   filled Primary buttons for the article's asks (rail, mid card, download, form submit). */

/* --- the article body: headings and links (Divi's #333 headings were 1.5:1 on Ink; links were Divi blue) --- */
.rm-article h2 {
	color: var(--e-global-color-text, #F5F2ED) !important;
	font-family: var(--e-global-typography-secondary-font-family), sans-serif !important;
	font-size: var(--e-global-typography-h3-font-size, 26px) !important;
	font-weight: var(--e-global-typography-secondary-font-weight, 600) !important;
	line-height: 1.25 !important;
	letter-spacing: -0.01em;
	margin: 48px 0 16px !important;
	scroll-margin-top: 32px;
}
.rm-article h3 { color: var(--e-global-color-text, #F5F2ED) !important; font-weight: 600 !important; margin: 32px 0 12px !important; }
.rm-article p a, .rm-article li a {
	color: var(--e-global-color-text, #F5F2ED) !important;
	text-decoration: underline; text-decoration-color: var(--e-global-color-primary, #F15B23);
	text-decoration-thickness: 1px; text-underline-offset: 3px;
}
.rm-article p a:hover, .rm-article li a:hover { color: var(--e-global-color-primary, #F15B23) !important; }

/* --- shared parts --- */
.rm-a-card { background: var(--e-global-color-raised, #1F222A); border: 1px solid var(--e-global-color-line, #2A2E37); border-radius: 10px; padding: 24px; box-sizing: border-box; }
.rm-a-eyebrow {
	margin: 0 0 12px; color: var(--e-global-color-accent, #9B958D);
	font-family: var(--e-global-typography-eyebrow-font-family), sans-serif; font-size: var(--e-global-typography-eyebrow-font-size, 12.5px);
	font-weight: var(--e-global-typography-eyebrow-font-weight, 600); letter-spacing: var(--e-global-typography-eyebrow-letter-spacing, .128em);
	text-transform: uppercase; line-height: 1.4;
}
.rm-a-h3, .rm-article .rm-a-h3 {
	margin: 0 0 8px !important; color: var(--e-global-color-text, #F5F2ED);
	font-family: var(--e-global-typography-secondary-font-family), sans-serif; font-size: 22px;
	font-weight: var(--e-global-typography-secondary-font-weight, 600); line-height: 1.2;
}
.rm-a-small { margin: 0; color: var(--e-global-color-accent, #9B958D); font-size: var(--e-global-typography-small-font-size, 15px); line-height: 1.55; }
.rm-a-link { color: var(--e-global-color-text, #F5F2ED) !important; font-weight: 600; text-decoration: underline !important;
	text-decoration-color: var(--e-global-color-primary, #F15B23) !important; text-underline-offset: 4px; }
.rm-a-link:hover { color: var(--e-global-color-primary, #F15B23) !important; }
.rm-a-btn, .rm-a-magform .gform_footer input[type=submit], .rm-a-form .gform_footer input[type=submit] {
	display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; box-sizing: border-box;
	padding: 16px 24px; border: 0; border-radius: 999px; cursor: pointer;
	background: var(--e-global-color-primary, #F15B23); color: var(--e-global-color-secondary, #0E0F12) !important; text-decoration: none !important;
	font-family: var(--e-global-typography-accent-font-family), sans-serif; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
	transition: background-color var(--rm-fast, 150ms) ease, color var(--rm-fast, 150ms) ease, transform var(--rm-fast, 150ms) var(--rm-ease-out, cubic-bezier(.23,1,.32,1));
}
.rm-a-btn:hover, .rm-a-magform .gform_footer input[type=submit]:hover, .rm-a-form .gform_footer input[type=submit]:hover {
	background: var(--e-global-color-deep, #C64213); color: var(--e-global-color-text, #F5F2ED) !important;
}
.rm-a-btn:active, .rm-a-play:active { transform: scale(.97); }
.rm-a-btn:focus-visible, .rm-a-play:focus-visible, .rm-a-link:focus-visible { outline: 2px solid rgba(241, 91, 35, .55); outline-offset: 3px; }
/* the components set the site's text font themselves (they sit inside widgets that don't) */
.rm-a-card, .rm-a-mag, .rm-a-take, .rm-a-work, .rm-a-written, .rm-a-brad, .rm-a-rail-inner { font-family: var(--e-global-typography-text-font-family), sans-serif; }
.rm-a-avatar { width: 56px !important; height: 56px !important; max-width: none !important; border-radius: 50% !important; object-fit: cover !important;
	object-position: 58% 22% !important; flex: none; border: 1px solid var(--e-global-color-line, #2A2E37) !important; }
.rm-a-byline-avatar { width: 32px !important; height: 32px !important; vertical-align: middle; margin-right: 10px; }

/* --- short answer, contents --- */
.rm-a-short { margin: 0 0 40px; }
.rm-a-short-text { margin: 0; color: var(--e-global-color-text, #F5F2ED); font-size: 17px; line-height: 1.65; }
.rm-a-toc nav ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.rm-a-toc nav li { padding-left: 12px; border-left: 2px solid transparent; }
.rm-a-toc nav li.on { border-left-color: var(--e-global-color-primary, #F15B23); }
.rm-a-toc nav a { color: var(--e-global-color-accent, #9B958D); text-decoration: none; font-size: var(--e-global-typography-small-font-size, 15px); line-height: 1.45; }
.rm-a-toc nav a:hover, .rm-a-toc nav li.on a { color: var(--e-global-color-text, #F5F2ED); }
.rm-a-progress { height: 2px; margin: -4px 0 18px; background: var(--e-global-color-line, #2A2E37); border-radius: 2px; overflow: hidden; }
.rm-a-progress i { display: block; height: 100%; width: 0; background: var(--e-global-color-primary, #F15B23); }
.rm-a-toc-inline { margin: 0 0 40px; }
.rm-a-toc-inline summary { cursor: pointer; list-style: none; color: var(--e-global-color-text, #F5F2ED); font-weight: 600; }
.rm-a-toc-inline summary::-webkit-details-marker { display: none; }
.rm-a-toc-inline summary::after { content: " +"; color: var(--e-global-color-primary, #F15B23); }
.rm-a-toc-inline[open] summary::after { content: " \2212"; }
.rm-a-toc-inline nav { margin-top: 16px; }

/* --- the side column (Elementor column with class rm-a-rail) --- */
.rm-a-rail { position: sticky !important; top: 32px; align-self: flex-start !important; }
.rm-a-rail-inner { display: flex; flex-direction: column; gap: 24px; }
.rm-a-railcard { padding: 0; overflow: hidden; }
.rm-a-railphoto { position: relative; height: 230px; }
.rm-a-railphoto img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 22%; display: block; }
.rm-a-railphoto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,15,18,0) 40%, rgba(31,34,42,.96) 100%); }
.rm-a-railname { position: absolute; left: 24px; bottom: 14px; z-index: 1; margin: 0; color: var(--e-global-color-text, #F5F2ED); font-weight: 600; font-size: 15px; }
.rm-a-railname span { display: block; color: var(--e-global-color-accent, #9B958D); font-weight: 400; font-size: 13px; }
.rm-a-railbody { padding: 20px 24px 24px; }
.rm-a-railbody .rm-a-btn { width: 100%; margin-top: 20px; }
.rm-a-proof { margin: 14px 0 0; text-align: center; color: var(--e-global-color-accent, #9B958D); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }

/* --- mid-article: topic call to action, or the free download on Paper (the page's one light section) --- */
.rm-a-mid { margin: 48px 0; display: flex; gap: 32px; align-items: center; justify-content: space-between; }
.rm-a-mid .rm-a-btn { flex: none; }
/* the download: Primary art panel with a page of the PDF + Paper body (Roko 2026-11-23: "more engaging and eye catchy") */
.rm-a-mag { margin: 56px 0; display: grid; grid-template-columns: 240px 1fr; overflow: hidden;
	background: var(--e-global-color-paper, #F5F2ED); border-radius: 10px; }
.rm-a-magart { position: relative; min-height: 340px; overflow: hidden; background: var(--e-global-color-primary, #F15B23); }
.rm-a-sheet { position: absolute; left: 50%; top: 50%; width: 168px; height: 224px; margin: -112px 0 0 -84px; box-sizing: border-box; border-radius: 4px; }
.rm-a-sheet.b { background: var(--e-global-color-deep, #C64213); transform: rotate(5deg) translate(10px, 6px); }
.rm-a-sheet.f { display: flex; flex-direction: column; gap: 9px; padding: 18px 16px; background: #FFFFFF;
	box-shadow: 0 18px 36px rgba(14, 15, 18, .28); transform: rotate(-5deg);
	transition: transform 320ms var(--rm-ease-out, cubic-bezier(.23,1,.32,1)); }
.rm-a-mag:hover .rm-a-sheet.f { transform: rotate(-2deg) translateY(-6px); }
.rm-a-sheet small { color: var(--e-global-color-deep, #C64213); font-size: 8px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.rm-a-sheet strong { margin: 0 0 4px; color: #14161A; font-family: var(--e-global-typography-secondary-font-family), sans-serif; font-size: 15px; line-height: 1.15; }
.rm-a-sheet .r { display: flex; align-items: center; gap: 7px; }
.rm-a-sheet .r i { width: 9px; height: 9px; flex: none; border: 1.5px solid rgba(20, 22, 26, .4); border-radius: 2px; }
.rm-a-sheet .r em { display: block; height: 3px; border-radius: 2px; background: rgba(20, 22, 26, .16); }
.rm-a-sheet .r:nth-of-type(1) em { width: 92%; } .rm-a-sheet .r:nth-of-type(2) em { width: 70%; } .rm-a-sheet .r:nth-of-type(3) em { width: 84%; }
.rm-a-sheet .r:nth-of-type(4) em { width: 58%; } .rm-a-sheet .r:nth-of-type(5) em { width: 76%; }
.rm-a-sheet b { display: block; width: 28px; height: 3px; margin-top: auto; background: var(--e-global-color-primary, #F15B23); }
.rm-a-sticker { position: absolute; left: 50%; top: 50%; margin: -132px 0 0 36px; z-index: 1; width: 66px; height: 66px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center; text-align: center; transform: rotate(12deg);
	background: var(--e-global-color-secondary, #0E0F12); color: var(--e-global-color-text, #F5F2ED);
	font-family: var(--e-global-typography-accent-font-family), sans-serif; font-size: 12px; font-weight: 700; line-height: 1.1; letter-spacing: .1em; text-transform: uppercase; }
.rm-a-magbody { padding: 36px 36px 32px; }
.rm-a-mag .rm-a-eyebrow { color: var(--e-global-color-onlight, #14161A); }   /* not Primary (3.0:1) or Deep (4.48:1): small text on Paper needs 4.5:1 */
.rm-a-mag .rm-a-eyebrow span { color: rgba(20, 22, 26, .6); }
.rm-article .rm-a-mag .rm-a-h3, .rm-a-mag .rm-a-h3 { color: var(--e-global-color-onlight, #14161A) !important; font-size: 26px; }
.rm-a-mag .rm-a-small { color: rgba(20, 22, 26, .72); }
.rm-article .rm-a-inside, .rm-a-inside { list-style: none !important; margin: 20px 0 0 !important; padding: 0 !important; display: flex; flex-direction: column; gap: 10px; }
.rm-article .rm-a-inside li, .rm-a-inside li { position: relative; margin: 0 !important; padding: 0 0 0 30px; color: #14161A; font-size: 15px; line-height: 1.45; }
.rm-a-inside li::before { content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--e-global-color-primary, #F15B23); }
.rm-a-inside li::after { content: ""; position: absolute; left: 7px; top: 5px; width: 5px; height: 9px; border: solid var(--e-global-color-secondary, #0E0F12); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.rm-a-fine { margin: 12px 0 0; font-size: 13px; color: rgba(20, 22, 26, .6); }
/* the form, stacked: email, the button, then the consent tick (GF's wrappers flattened so the three can be ordered) */
.rm-a-magform { margin-top: 24px; }
.rm-a-magform form { display: flex !important; flex-direction: column; gap: 12px; }
.rm-a-magform .gform-body, .rm-a-magform .gform_body, .rm-a-magform .gform_wrapper .gform_fields { display: contents !important; }
.rm-a-magform .gfield--type-email { order: 1; }
.rm-a-magform .gform_footer { order: 2; margin: 0 !important; padding: 0 !important; }
.rm-a-magform .gfield--type-consent { order: 3; margin: 2px 0 0 !important; border: 0; padding: 0; }
.rm-a-magform .gform_validation_errors { order: 0; }
.rm-a-magform .gform_footer input[type=submit] { width: 100% !important; }
.rm-a-magform .gfield--type-email > .gfield_label, .rm-a-magform .gfield--type-consent > .gfield_label, .rm-a-magform .gfield--type-consent > legend {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }   /* kept for screen readers */
.rm-a-magform input[type=email], .rm-a-magform input[type=text] {
	width: 100% !important; height: 56px !important; padding: 0 22px !important; box-sizing: border-box; border-radius: 999px !important;
	border: 1px solid rgba(20, 22, 26, .22) !important; background: #FFFFFF !important; color: #14161A !important; font-size: 16px !important;
}
.rm-a-magform input[type=email]:focus { outline: 2px solid rgba(241, 91, 35, .55) !important; outline-offset: 2px; border-color: transparent !important; }
.rm-a-magform .gfield_consent_label, .rm-a-magform .gfield_description { color: rgba(20, 22, 26, .72) !important; font-size: 13px !important; line-height: 1.45 !important; }
.rm-a-magform .ginput_container_consent { display: flex; align-items: flex-start; gap: 8px; padding-left: 22px; }
.rm-a-magform .ginput_container_consent input { margin-top: 2px; accent-color: var(--e-global-color-primary, #F15B23); }

/* --- Brad's take --- */
.rm-a-take { margin: 48px 0; padding: 4px 0 4px 24px; border-left: 2px solid var(--e-global-color-primary, #F15B23); }
.rm-a-take blockquote { margin: 0 0 16px; padding: 0; border: 0; }
.rm-a-take blockquote p { margin: 0; color: var(--e-global-color-text, #F5F2ED); font-family: var(--e-global-typography-secondary-font-family), sans-serif;
	font-size: 24px; line-height: 1.35; font-weight: var(--e-global-typography-secondary-font-weight, 600); }
.rm-a-take figcaption { display: flex; align-items: center; gap: 12px; color: var(--e-global-color-accent, #9B958D); font-size: 14px; }
.rm-a-take figcaption .rm-a-avatar { width: 40px !important; height: 40px !important; }
.rm-a-take figcaption strong { color: var(--e-global-color-text, #F5F2ED); display: block; }

/* --- work card, written-by --- */
.rm-a-work { margin: 56px 0 0; }
.rm-a-workmedia { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--e-global-color-raised, #1F222A); }
.rm-a-workmedia img, .rm-a-workmedia iframe { width: 100%; height: 100%; object-fit: cover; display: block; border: 0; }
.rm-a-workmedia .rm-a-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.rm-a-workmedia .rm-a-play:active { transform: translate(-50%, -50%) scale(.97); }
.rm-a-worktitle { margin: 14px 0 6px; color: var(--e-global-color-text, #F5F2ED); }
.rm-a-worktitle span { color: var(--e-global-color-accent, #9B958D); }
.rm-a-written { display: flex; align-items: center; gap: 16px; margin: 56px 0 0; padding: 20px 0;
	border-top: 1px solid var(--e-global-color-line, #2A2E37); border-bottom: 1px solid var(--e-global-color-line, #2A2E37); }
.rm-a-written p { margin: 0; color: var(--e-global-color-text, #F5F2ED); font-size: 15px; line-height: 1.5; }
.rm-a-written p span { color: var(--e-global-color-accent, #9B958D); }
.rm-a-written .rm-a-link { margin-left: auto; white-space: nowrap; }

/* --- play button (Brad's video, the work card) --- */
.rm-a-play { display: inline-flex; align-items: center; gap: 10px; padding: 0; border: 0; background: none; cursor: pointer;
	color: var(--e-global-color-text, #F5F2ED); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.rm-a-play i { width: 56px; height: 56px; border-radius: 50%; background: var(--e-global-color-primary, #F15B23); display: flex; align-items: center; justify-content: center; flex: none; }
.rm-a-play i::before { content: ""; margin-left: 4px; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent var(--e-global-color-secondary, #0E0F12); }
.rm-a-play[hidden] { display: none; }

/* --- the end band's left column: Brad --- */
.rm-a-brad { width: 100%; max-width: 460px; }
.rm-a-fig { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--e-global-color-raised, #1F222A); }
.rm-a-fig img.rm-a-figimg, .rm-a-fig iframe { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover !important; object-position: 58% 20%; border: 0; }
.rm-a-fig::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,15,18,0) 52%, rgba(14,15,18,.92) 100%); pointer-events: none; }
.rm-a-fig.is-playing::after { display: none; }
.rm-a-figtag { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.rm-a-figtag b { display: block; color: var(--e-global-color-text, #F5F2ED); font-family: var(--e-global-typography-secondary-font-family), sans-serif; font-size: 28px; line-height: 1.1; }
.rm-a-figtag span { color: var(--e-global-color-accent, #9B958D); font-size: 14px; }
.rm-a-play-label span { color: var(--e-global-color-text, #F5F2ED); font-size: 12px; white-space: nowrap; }
.rm-a-stats { display: flex; margin: 20px 0; border-top: 1px solid var(--e-global-color-line, #2A2E37); border-bottom: 1px solid var(--e-global-color-line, #2A2E37); }
.rm-a-stats div { flex: 1; padding: 14px 16px 14px 0; }
.rm-a-stats div + div { padding-left: 16px; border-left: 1px solid var(--e-global-color-line, #2A2E37); }
.rm-a-stats b { display: block; color: var(--e-global-color-text, #F5F2ED); font-family: var(--e-global-typography-secondary-font-family), sans-serif; font-size: 22px; }
.rm-a-stats span { display: block; margin-top: 4px; color: var(--e-global-color-accent, #9B958D); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; line-height: 1.4; }
.rm-a-bio { margin: 0; color: var(--e-global-color-text, #F5F2ED); font-size: 15px; line-height: 1.6; }
.rm-a-quote { margin: 24px 0 0; padding: 20px 0 0; border-top: 1px solid var(--e-global-color-line, #2A2E37); }
.rm-a-quote blockquote { margin: 0 0 10px; padding: 0; border: 0; }
.rm-a-quote blockquote p { margin: 0; color: var(--e-global-color-text, #F5F2ED); font-size: 17px; line-height: 1.55; font-style: normal; }
.rm-a-quote figcaption { color: var(--e-global-color-accent, #9B958D); font-size: 14px; }
.rm-a-form .gform_footer input[type=submit] { width: 100% !important; }
.rm-a-magform .gform_footer input[type=submit] { white-space: nowrap; padding: 0 28px !important; }
.rm-a-form .gform_footer input[type=submit]:hover, .rm-a-magform .gform_footer input[type=submit]:hover {
	background: var(--e-global-color-deep, #C64213) !important; color: var(--e-global-color-text, #F5F2ED) !important; }
.rm-a-form .gform_footer input[type=submit], .rm-a-magform .gform_footer input[type=submit] { height: 56px !important; justify-content: center;
	/* Gravity Forms' Orbital theme sets these on the button; the article's ask uses the capsule type */
	font-family: var(--e-global-typography-accent-font-family), sans-serif !important; font-size: 13px !important; font-weight: 600 !important;
	letter-spacing: .12em !important; text-transform: uppercase !important; border-radius: 999px !important;
	background: var(--e-global-color-primary, #F15B23) !important; color: var(--e-global-color-secondary, #0E0F12) !important; }

/* --- desktop rail on; below 1280 it folds into the inline contents --- */
@media (max-width: 1279px) {
	.rm-a-rail { display: none !important; }
}
@media (min-width: 1280px) {
	.rm-a-toc-inline { display: none !important; }
}
@media (max-width: 767px) {
	.rm-a-mid { flex-direction: column; align-items: flex-start; gap: 16px; }
	/* phones: the art becomes a band on top with the page peeking up out of it; the form stacks */
	.rm-a-mag { grid-template-columns: 1fr; }
	.rm-a-magart { min-height: 0; height: 168px; }
	.rm-a-sheet { top: 34px; margin-top: 0; }
	.rm-a-sticker { top: 22px; margin-top: 0; }
	.rm-a-magbody { padding: 26px 22px 24px; }
	.rm-article .rm-a-mag .rm-a-h3, .rm-a-mag .rm-a-h3 { font-size: 22px; }
	.rm-a-take blockquote p { font-size: 20px; }
	.rm-a-written { flex-wrap: wrap; }
	.rm-a-written .rm-a-link { margin-left: 72px; }
	/* phones: Brad stays visible above the form, as a compact landscape card (suggestion 6) */
	.rm-a-brad { max-width: none; }
	.rm-a-fig { aspect-ratio: 16 / 10; }
	.rm-a-fig img.rm-a-figimg { object-position: 58% 25%; }
	.rm-a-figtag b { font-size: 22px; }
	.rm-a-play-label span { display: none; }
	.rm-a-stats b { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
	.rm-a-btn, .rm-a-play, .rm-a-sheet.f { transition: none; }
	.rm-a-mag:hover .rm-a-sheet.f { transform: rotate(-5deg); }
}
