/* Asanhoury Reel: The Reel opens every page, The Board carries the body.
   Fonts and colours from The Reel. Brand colours enter through tiles, numbers and one band per story; gold is the only action colour. */

:root {
	--rb-page: #0B0B0C;
	--rb-tile: #161618;
	--rb-cream: #F2EEE6;
	--rb-lede: #D9D4CA;
	--rb-muted: #A8A39A;
	--rb-line: rgba(242, 238, 230, .16);
	--rb-gold: #E8C468;
	--rb-gold-muted: #4A4637;
	--rb-ink: #111111;
	--rb-radius: 22px;
	--rb-gap: 24px;
	--rb-serif: "Instrument Serif", Georgia, serif;
	--rb-sans: "Inter Tight", system-ui, sans-serif;
	/* Brand roles: defaults, overridden per brand below. */
	--b-deep: #161618;
	--b-accent: var(--rb-gold);
	--b-acctext: var(--rb-gold);
	--b-onaccent: var(--rb-ink);
	--b-muted: var(--rb-muted);
	--b-line: var(--rb-line);
	--b-card: #1E1E21;
}

/* Brands. Body gets brand-{slug} on a story; story cards in a query loop get it from post_class. Every pair passes WCAG AA. */
.brand-canonical { --b-deep: #2C001E; --b-accent: #E95420; --b-acctext: #F99B6B; --b-onaccent: #111111; --b-muted: #D2BFCB; --b-line: #5A2A4C; --b-card: #3F0B2E; }
.brand-maharat { --b-deep: #0D1411; --b-accent: #5CE0A0; --b-acctext: #5CE0A0; --b-onaccent: #0D1411; --b-muted: #A9B8AF; --b-line: #2A3B32; --b-card: #1B2A23; }
.brand-mindvalley { --b-deep: #1E1145; --b-accent: #C9B8FF; --b-acctext: #C9B8FF; --b-onaccent: #1E1145; --b-muted: #C4B9E8; --b-line: #3B2C73; --b-card: #2A1B5E; }
.brand-agency { --b-deep: #000000; --b-accent: #EBDC4E; --b-acctext: #EBDC4E; --b-onaccent: #111111; --b-muted: #B8B5AB; --b-line: #2E2E2A; --b-card: #232321; }

body { margin: 0; overflow-x: clip; }
img { max-width: 100%; height: auto; }

/* Layout */
.rb-main > * + * { margin-block-start: 0 !important; }
.rb-wrap { max-width: 1400px; margin-inline: auto !important; padding-inline: clamp(14px, 3vw, 40px); box-sizing: border-box; width: 100%; }
.rb-wrap.is-narrow { max-width: 1100px; }
.rb-section { padding-block-start: 104px; }
.rb-section.is-last { padding-block-end: 14px; }
.rb-bento { display: grid !important; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--rb-gap); }
.rb-bento > * { margin: 0 !important; min-width: 0; }
.rb-s3 { grid-column: span 3; } .rb-s4 { grid-column: span 4; } .rb-s5 { grid-column: span 5; } .rb-s6 { grid-column: span 6; }
.rb-s7 { grid-column: span 7; } .rb-s8 { grid-column: span 8; } .rb-s12 { grid-column: span 12; }
.rb-stack { display: flex !important; flex-direction: column; gap: var(--rb-gap); }
.rb-stack > * { margin: 0 !important; flex: 1; }
@media (max-width: 1000px) {
	.rb-bento > * { grid-column: span 6; }
	.rb-bento > .rb-s7, .rb-bento > .rb-s8, .rb-bento > .rb-s12 { grid-column: span 12; }
}
@media (max-width: 640px) { .rb-bento > * { grid-column: 1 / -1 !important; } }

/* Tiles */
.rb-tile { border-radius: var(--rb-radius); padding: clamp(20px, 2vw, 30px) !important; background: var(--rb-tile); border: 1px solid var(--rb-line); position: relative; overflow: hidden; box-sizing: border-box; }
.rb-tile > * + * { margin-block-start: 14px; }
.rb-tile.is-gold { background: var(--rb-gold); color: var(--rb-ink); border-color: var(--rb-gold); }
.rb-tile.is-gold a { color: var(--rb-ink); }
.rb-tile.is-gold .rb-soft { color: var(--rb-gold-muted); }
.rb-tile.is-brand { background: var(--b-deep); border-color: var(--b-line); }
.rb-tile.is-brand .rb-soft { color: var(--b-muted); }
.rb-tile.is-media { padding: 10px !important; }
.rb-tile.is-photo { padding: 0 !important; min-height: 220px; }
.rb-tile.is-photo .wp-block-image, .rb-tile.is-photo img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; margin: 0; }
.rb-tile.is-bare { background: transparent; border: 0; padding: 6px 4px 0 !important; }

/* Type */
.rb-kick { font-family: var(--rb-sans); font-size: 12px !important; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; line-height: 1.4; color: var(--rb-gold); }
.rb-acc { color: var(--b-acctext) !important; }
.rb-soft { color: var(--rb-muted); }
.rb-lede { color: var(--rb-lede); font-size: 19px; }
.rb-serif, .rb-display, .rb-h2, .rb-h3, .rb-num { font-family: var(--rb-serif) !important; font-weight: 400 !important; }
.rb-display { font-size: clamp(60px, 8.6vw, 148px) !important; line-height: .88 !important; letter-spacing: -.01em; margin: 16px 0 0 !important; max-width: 1100px; }
.rb-display.is-story { font-size: clamp(52px, 7vw, 120px) !important; line-height: .9 !important; max-width: 1150px; }
.rb-h2 { font-size: clamp(40px, 4.6vw, 72px) !important; line-height: .95 !important; letter-spacing: -.01em; margin: 10px 0 0 !important; }
.rb-h2.is-small { font-size: clamp(36px, 3.6vw, 58px) !important; }
.rb-h3 { font-size: clamp(28px, 2.4vw, 38px) !important; line-height: 1.02 !important; margin: 0 !important; }
.rb-num { font-size: clamp(52px, 4.6vw, 76px) !important; line-height: 1 !important; color: var(--b-acctext); margin: 0 !important; }
.rb-num.is-gold { color: var(--rb-gold); }
.rb-quote-big { font-family: var(--rb-serif); font-size: clamp(32px, 3.8vw, 58px); line-height: 1.08; }

/* Buttons and links */
.wp-block-button__link { border-radius: 999px !important; font-weight: 700; min-height: 52px; display: inline-flex !important; align-items: center; gap: 10px; padding: 0 26px !important; box-sizing: border-box; }
.wp-block-button.is-style-ghost .wp-block-button__link { background: transparent !important; color: var(--rb-cream) !important; border: 1px solid var(--rb-line) !important; font-weight: 600; }
.wp-block-button.is-style-ink .wp-block-button__link { background: var(--rb-ink) !important; color: var(--rb-gold) !important; }
.wp-block-button.is-style-reel .wp-block-button__link { min-height: 64px; padding: 0 28px 0 10px !important; font-size: 16px; }
.wp-block-button.is-style-reel .wp-block-button__link::before { content: ""; width: 46px; height: 46px; border-radius: 999px; flex: none;
	background: var(--rb-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5.5v13l11-6.5z' fill='%23E8C468'/%3E%3C/svg%3E") center / 22px no-repeat; }
.rb-link a, a.rb-link { font-weight: 700; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 6px; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; color: inherit; }
.rb-link a::after, a.rb-link::after { content: "\2192"; text-decoration: none; display: inline-block; }
.rb-link.is-download a::after { content: "\2193"; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid var(--rb-gold); outline-offset: 3px; }

/* Header and footer */
.rb-header { position: sticky; top: 0; z-index: 30; background: rgba(11, 11, 12, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--rb-line); }
.admin-bar .rb-header { top: 32px; }
.rb-header .rb-wrap { min-height: 72px; }
.rb-header .wp-block-site-title { font-family: var(--rb-sans); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; font-size: 14px !important; margin: 0; }
.rb-header .wp-block-site-title a { text-decoration: none; }
.rb-header .wp-block-navigation { font-size: 15px; font-weight: 600; }
.rb-header .wp-block-navigation a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.rb-header .wp-block-button__link { min-height: 44px; padding: 0 20px !important; }
.rb-footer .rb-tile { display: flex !important; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; align-items: center; font-size: 14.5px; color: var(--rb-muted); }
.rb-footer .rb-tile > * { margin: 0 !important; }
.rb-footer a { min-height: 44px; display: inline-flex; align-items: center; }

/* Reel hero */
.rb-hero.wp-block-cover { padding: 0 !important; align-items: flex-end !important; }
.rb-hero .wp-block-cover__background { opacity: 1 !important; background: linear-gradient(180deg, rgba(11, 11, 12, .25), rgba(11, 11, 12, .6) 50%, var(--rb-page)) !important; }
.rb-hero.is-story .wp-block-cover__background { background: linear-gradient(180deg, color-mix(in srgb, var(--b-deep) 50%, transparent), color-mix(in srgb, var(--b-deep) 97%, transparent) 48%, var(--b-deep)) !important; }
.rb-hero.is-story { background: var(--b-deep); }
.rb-hero .wp-block-cover__inner-container { width: 100% !important; max-width: none !important; }
.rb-hero .rb-wrap { padding-block: 64px 56px; }
.rb-hero .rb-kick { margin: 0; }
.rb-hero .rb-row { display: flex !important; flex-wrap: wrap; gap: 28px 64px; align-items: flex-end; margin-top: 34px !important; }
.rb-hero .rb-row > * { margin: 0 !important; }
.rb-hero .rb-bignum { max-width: 420px; padding-left: 20px; border-left: 2px solid var(--rb-gold); }
.rb-hero .rb-bignum > * { margin: 0 !important; }
.rb-hero .wp-block-buttons { margin-top: 36px !important; gap: 14px 18px; }
.rb-hero .rb-meta { color: var(--rb-muted); font-size: 14.5px; margin-top: 20px !important; }
.rb-hero.is-story .rb-meta { color: var(--b-muted); }

/* Credits strip */
.rb-credits { border-bottom: 1px solid var(--rb-line); text-align: center; padding-block: 34px; }
.rb-credits .rb-cols { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 22px 40px; }
.rb-credits .rb-cols > * { margin: 0 !important; }
.rb-credits p { margin: 0; }
.rb-credits .rb-serif { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.15; margin-top: 8px !important; }

/* Brand line and chapter bar (stories) */
.rb-brandline { background: var(--b-deep); border-block: 1px solid var(--b-line); }
.rb-brandline .rb-wrap { display: flex !important; flex-wrap: wrap; gap: 20px 36px; align-items: center; justify-content: flex-start; padding-block: 44px; }
.rb-brandline .rb-swatches { margin-inline-start: auto; }
.rb-brandmark { flex: 0 0 auto; display: none; width: 132px; height: 30px; background-repeat: no-repeat; background-position: left center; background-size: contain; opacity: .92; }
.brand-canonical .rb-brandmark { display: inline-block; background-image: url("../images/brand-canonical-white.png"); width: 120px; }
.brand-mindvalley .rb-brandmark { display: inline-block; background-image: url("../images/brand-mindvalley.svg"); width: 150px; }
.rb-brandline .rb-wrap > * { margin: 0 !important; }
.rb-brandline .rb-serif { font-size: clamp(26px, 2.4vw, 36px); line-height: 1.15; max-width: 900px; }
.rb-swatches { display: inline-flex; gap: 6px; }
.rb-swatches span { width: 30px; height: 30px; border-radius: 999px; border: 1px solid rgba(242, 238, 230, .3); display: inline-block; }
.rb-chapterbar { position: sticky; top: 72px; z-index: 15; background: rgba(11, 11, 12, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--rb-line); }
.admin-bar .rb-chapterbar { top: 104px; }
.rb-chapterbar .rb-wrap { display: flex; gap: 6px; overflow-x: auto; padding-block: 10px; }
.rb-chapterbar a { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--rb-line); font-size: 14.5px; font-weight: 600; text-decoration: none; color: var(--rb-cream); }
.rb-chapterbar a::before { content: ""; width: 8px; height: 8px; border-radius: 999px; border: 1.5px solid var(--b-accent); }
.rb-chapterbar a[aria-current="true"] { border-color: var(--b-accent); }
.rb-chapterbar a[aria-current="true"]::before { background: var(--b-accent); }

/* Story cards (query loop): the image fills the box, a brand-colour fade, the text on top. */
.rb-stories .wp-block-post-template { gap: var(--rb-gap) !important; }
.rb-stories .wp-block-post[hidden] { display: none !important; }
.rb-card.wp-block-cover { border-radius: var(--rb-radius); border: 1px solid var(--b-line); padding: clamp(20px, 2vw, 28px) !important; align-items: stretch !important; background: var(--b-deep); height: 100%; box-sizing: border-box; overflow: hidden; }
.rb-card .wp-block-cover__image-background { transition: transform .8s; }
.rb-card:hover .wp-block-cover__image-background { transform: scale(1.04); }
.rb-card .wp-block-cover__background { opacity: 1 !important; background: linear-gradient(180deg, color-mix(in srgb, var(--b-deep) 70%, transparent) 0%, color-mix(in srgb, var(--b-deep) 20%, transparent) 30%, color-mix(in srgb, var(--b-deep) 85%, transparent) 62%, var(--b-deep) 100%) !important; }
.rb-card .wp-block-cover__inner-container { display: flex; flex-direction: column; justify-content: space-between; color: var(--rb-cream); }
.rb-card .rb-card__top { display: flex !important; justify-content: space-between; gap: 8px; }
.rb-card .rb-card__top > * { margin: 0 !important; }
.rb-card .wp-block-post-terms a { text-decoration: none; color: inherit; }
.rb-card .wp-block-post-title a { text-decoration: none; color: inherit; }
.rb-card .rb-card__num { display: flex !important; align-items: baseline; gap: 10px; margin-top: 14px !important; }
.rb-card .rb-card__num > * { margin: 0 !important; }
.rb-card .rb-card__num .rb-num { font-size: 54px !important; color: var(--b-accent); }
.rb-card .wp-block-read-more { font-weight: 700; color: inherit; min-height: 44px; display: inline-flex; align-items: center; margin-top: 8px !important; }
.rb-card .wp-block-read-more::after { content: " \2192"; }

/* Chips */
.rb-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rb-chip { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--rb-line); background: transparent; color: var(--rb-cream); font: inherit; font-weight: 600; font-size: 15px; cursor: pointer; }
.rb-chip[aria-pressed="true"] { background: var(--rb-gold); color: var(--rb-ink); border-color: var(--rb-gold); }
.rb-tile.is-gold .rb-chip { border-color: var(--rb-ink); color: var(--rb-ink); }
.rb-tile.is-gold .rb-chip[aria-pressed="true"] { background: var(--rb-ink); color: var(--rb-gold); }
.rb-filterhead { display: flex !important; flex-wrap: wrap; gap: 16px 40px; align-items: flex-end; justify-content: space-between; margin-bottom: var(--rb-gap) !important; }
.rb-filterhead > * { margin: 0 !important; }

/* Engine flow */
.rb-flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rb-flow li { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 52px; padding: 0 18px; border-radius: 14px; border: 1px solid var(--rb-line); font-weight: 700; }
.rb-flow li.is-human { background: var(--rb-gold); color: var(--rb-ink); border-color: var(--rb-gold); }
.rb-flow small { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }

/* In their words (The Reel) */
.rb-voices { border-block: 1px solid var(--rb-line); margin-top: 56px; }
.rb-voices .rb-wrap { padding-block: 120px; }
.rb-voices .wp-block-quote { border: 0; margin: 22px 0 0; padding: 0; }
.rb-voices .wp-block-quote p { font-family: var(--rb-serif); font-size: clamp(32px, 3.8vw, 58px); line-height: 1.08; margin: 0; max-width: 1100px; }
.rb-voices .wp-block-quote cite { display: block; margin-top: 22px; font-style: normal; font-size: 15.5px; color: var(--rb-muted); }
.rb-voices.is-enhanced .wp-block-quote:not(.is-active) { display: none; }
.rb-dots { display: flex; gap: 14px; margin-top: 26px; }
.rb-dots button { position: relative; width: 12px; height: 12px; padding: 0; border-radius: 999px; border: 1px solid var(--rb-muted); background: transparent; color: transparent; font-size: 0; line-height: 0; cursor: pointer; }
.rb-dots button::after { content: ""; position: absolute; inset: -14px; border-radius: 999px; }
.rb-dots button[aria-pressed="true"] { border-color: var(--rb-gold); background: var(--rb-gold); }
.rb-dots button:focus-visible { outline: 2px solid var(--rb-gold); outline-offset: 4px; }

/* Video facade: nothing third-party loads until the tap. */
.rb-facade { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; }
.rb-facade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rb-facade::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .72)); pointer-events: none; }
.rb-facade .rb-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 76px; height: 76px; border-radius: 999px; border: 0; background: var(--rb-gold); color: var(--rb-ink); display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 2; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.rb-facade .rb-facade__meta { position: absolute; left: 18px; right: 18px; bottom: 16px; color: #fff; z-index: 2; }
.rb-facade .rb-facade__meta strong { display: block; font-size: 20px; }
.rb-facade .rb-facade__meta span { font-size: 12.5px; opacity: .85; }
.rb-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.rb-facade .rb-facade__note { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; color: var(--rb-cream); background: rgba(0, 0, 0, .78); z-index: 3; }
.rb-playlist { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 10px; margin-top: 10px; }
.rb-playlist button { display: flex; gap: 14px; align-items: center; text-align: left; width: 100%; padding: 8px; border-radius: 14px; border: 1px solid var(--rb-line); background: transparent; color: var(--rb-cream); min-height: 76px; font: inherit; cursor: pointer; }
.rb-playlist button[aria-pressed="true"] { border-color: var(--rb-gold); background: rgba(232, 196, 104, .12); }
.rb-playlist img { flex: 0 0 100px; width: 100px; height: 58px; border-radius: 10px; object-fit: cover; }
.rb-stage .rb-facade[hidden] { display: none; }

/* Proof parts */
.rb-ba { display: grid; gap: 10px; }
.rb-ba div { display: flex; align-items: center; gap: 12px; }
.rb-ba .rb-ba__bar { flex: 1; height: 14px; border-radius: 999px; background: rgba(242, 238, 230, .1); }
.rb-ba .rb-ba__bar i { display: block; height: 100%; border-radius: 999px; }
.rb-ba small { width: 62px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.rb-ba span, .rb-ba strong { width: 76px; text-align: right; }
.rb-screens { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.rb-screens img { aspect-ratio: 9 / 17; width: 100%; object-fit: cover; object-position: top; border-radius: 12px; }
.rb-cta-bar { display: flex !important; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.rb-cta-bar > * { margin: 0 !important; }
/* "Your company could be next": centre the stack vertically in its tile. */
.rb-cta-stack { display: flex !important; flex-direction: column; justify-content: center; gap: 14px; }
.rb-cta-stack > * { margin: 0 !important; }
.rb-band { background: var(--b-accent); color: var(--b-onaccent); }
.rb-band .rb-wrap { padding-block: 104px; }
.rb-band .rb-kick { color: var(--b-onaccent); }
.rb-band .rb-serif { font-size: clamp(20px, 2.5vw, 42px); line-height: 1.35; max-width: 1150px; margin-top: 16px !important; }

/* Brands worked with: a logo wall on cream chips. Colour logos need a light surface: several
   marks are a solid colour box or black artwork that a dark tile swallows, and a white
   silhouette destroys them outright. Heights and widths are both capped so a 7:1 wordmark and
   a square icon read at comparable weight, and the source files are trimmed to their ink so
   nothing sits small inside its own empty margin. */
.rb-tile.rb-logo { display: flex !important; align-items: center; justify-content: center; min-height: 140px; padding: 16px !important; background: #F2EEE6 !important; border-color: #F2EEE6 !important; }
.rb-tile.rb-logo .wp-block-image { margin: 0 !important; width: auto !important; text-align: center; }
.rb-tile.rb-logo .wp-block-image img { display: block; margin-inline: auto !important; height: auto !important; width: auto !important; max-height: 74px !important; max-width: 90% !important; object-fit: contain; border-radius: 0 !important; opacity: 1; }
.rb-tile.rb-logo .rb-logo-name { font-family: var(--rb-serif); font-size: 21px; line-height: 1.2; color: #14110C; margin: 0 !important; text-align: center; }
@media (max-width: 700px) {
	.rb-tile.rb-logo { min-height: 104px; padding: 12px !important; }
	.rb-tile.rb-logo .wp-block-image img { max-height: 52px !important; }
	.rb-tile.rb-logo .rb-logo-name { font-size: 16px; }
}

/* The long read: text and inline images both span the full content width, no side floats. */
.rb-longform { padding-block: 168px 104px; border-top: 1px solid var(--rb-line); }
.rb-longform .rb-kick { text-align: left; margin: 0 0 40px !important; }
.rb-longform .rb-lf-h { font-family: var(--rb-serif); font-size: clamp(28px, 2.6vw, 40px); line-height: 1.12; margin: 46px 0 16px !important; max-width: none; }
.rb-longform .rb-lf-p { font-size: 20px; line-height: 1.75; color: var(--rb-lede); margin: 0 0 1.35em !important; max-width: none; }
.rb-longform .wp-block-image { float: none; width: 100%; max-width: none; margin: 44px 0 !important; }
.rb-longform .wp-block-image img { width: 100%; height: auto; border-radius: 14px; display: block; }
.rb-longform .wp-block-image figcaption { text-align: left; font-size: 14px; color: var(--rb-muted); margin-top: 12px; line-height: 1.5; }
@media (max-width: 780px) {
	.rb-longform .rb-lf-p { font-size: 18px; }
	.rb-longform { padding-block: 96px 72px; }
}
.rb-move .wp-block-image img { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; object-position: top; border-radius: 14px; }
.rb-role table { border-collapse: collapse; width: 100%; }
.rb-role td { border: 0; border-top: 1px solid var(--b-line); padding: 12px 8px 12px 0; vertical-align: top; }
.rb-role td:first-child { width: 110px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--b-muted); }
.rb-role .wp-block-table { margin: 0; }
.rb-list { list-style: none; padding: 0 !important; margin: 0; }
.rb-list li { padding: 11px 0; border-top: 1px solid var(--rb-line); }
.rb-list li small { color: var(--rb-muted); }
.rb-next.wp-block-cover { border-radius: var(--rb-radius); border: 1px solid var(--b-line); padding: clamp(20px, 2.4vw, 32px) !important; align-items: stretch !important; overflow: hidden; }

/* Contact */
.rb-form { display: flex; flex-direction: column; gap: 14px; }
.rb-form label { font-size: 14px; color: var(--rb-muted); }
.rb-form input, .rb-form textarea { display: block; width: 100%; box-sizing: border-box; min-height: 52px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--rb-line); background: rgba(255, 255, 255, .04); color: var(--rb-cream); font: inherit; font-size: 16px; margin-top: 6px; }
.rb-form .rb-hp { position: absolute; left: -9999px; }
.rb-form button { align-self: flex-start; min-height: 52px; padding: 0 28px; border-radius: 999px; border: 0; background: var(--rb-gold); color: var(--rb-ink); font: inherit; font-weight: 700; cursor: pointer; }
.rb-pane[hidden] { display: none; }
.rb-notice { padding: 12px 16px; border-radius: 14px; background: rgba(232, 196, 104, .12); border: 1px solid var(--rb-gold); }

@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; animation: none !important; }
	.rb-card:hover .wp-block-cover__image-background { transform: none; }
}

/* Spacing and detail fixes */
.rb-section.is-tight { padding-block-start: 14px; }
.rb-section.is-tight#glance, #glance.rb-section { padding-block-start: 40px; }
.rb-story-body > * + *, .wp-block-post-content.rb-story-body > * + * { margin-block-start: 0 !important; }
.rb-tile.is-photo.is-tall { min-height: 520px; }
.rb-tile.is-gold .rb-kick { color: var(--rb-ink); }
.rb-row .rb-lede { max-width: 520px; }
.rb-bignum .rb-num { font-size: 72px !important; }
.rb-bignum .rb-lede { font-size: 16px; }
.rb-next .wp-block-cover__inner-container { display: flex; flex-direction: column; justify-content: space-between; min-height: 316px; }
.rb-cta-bar .rb-h3 { font-size: clamp(28px, 2.6vw, 40px) !important; }
.rb-card__bottom > * + * { margin-block-start: 6px; }
.rb-voices .rb-kick { margin: 0; }
@media (max-width: 782px) { .admin-bar .rb-header { top: 46px; } }

/* Story parts added for the fifteen stories */
a.rb-chip { display: inline-flex; align-items: center; text-decoration: none; }
a.rb-chip:hover { border-color: var(--rb-gold); color: var(--rb-gold); }
.rb-more { margin-top: var(--rb-gap) !important; }
/* The all-stories button: a full-width, tall target rather than a text link. */
.rb-more-cta { margin-top: calc(var(--rb-gap) * 1.6) !important; }
.rb-more-cta .wp-block-button,
.rb-more-cta .wp-block-button__link { width: 100% !important; }
.rb-more-cta .wp-block-button__link { min-height: 88px !important; font-size: 19px !important; letter-spacing: .01em; justify-content: center !important; border-radius: 999px !important; padding: 0 40px !important; }
@media (max-width: 700px) { .rb-more-cta .wp-block-button__link { min-height: 70px !important; font-size: 16px !important; } }
.rb-move .rb-h3.is-long { font-size: clamp(22px, 1.8vw, 28px) !important; line-height: 1.12 !important; }
.rb-move .wp-block-image { margin: 0; }
.rb-tile .wp-block-image { margin: 0; }
.rb-tile .wp-block-image img { border-radius: 14px; width: 100%; height: auto; }
.rb-tile .wp-element-caption, .rb-tile figcaption { font-size: 13.5px; color: var(--rb-muted); margin: 8px 0 0; text-align: left; }
.rb-figure .wp-block-image img { max-height: 420px; object-fit: cover; object-position: top; }
.rb-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.rb-tags li { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--rb-line); font-size: 14.5px; font-weight: 600; }
.rb-tile.is-brand .rb-tags li { border-color: var(--b-line); }
.rb-statlist { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px; }
.rb-statlist > * { margin: 0 !important; }
.rb-statlist .rb-num { font-size: clamp(40px, 3.4vw, 56px) !important; }
.rb-statlist p { margin: 0; }
.rb-flow.is-numbered li { justify-content: flex-start; font-weight: 600; }
.rb-flow.is-numbered small { color: var(--b-acctext); margin-right: 8px; }

/* Story hero, review fixes (18 Nov 2026) */
.rb-hero.is-story .wp-block-cover__background { background: linear-gradient(180deg, color-mix(in srgb, var(--b-deep) 62%, transparent), color-mix(in srgb, var(--b-deep) 88%, transparent) 46%, var(--b-deep)) !important; }
/* Framed hero: for screenshots and graphics. The image sits as a card on the right; the title sits on solid brand colour. */
.hero-framed .rb-hero.is-story .wp-block-cover__background { background: var(--b-deep) !important; }
.hero-framed .rb-hero.is-story .wp-block-cover__image-background { z-index: 1; left: auto !important; right: clamp(14px, 3vw, 40px); top: 50% !important; bottom: auto; transform: translateY(-50%); width: 40% !important; height: auto !important; max-height: calc(100% - 166px); border-radius: var(--rb-radius); object-fit: contain; object-position: center; border: 1px solid var(--b-line); }
.hero-framed .rb-hero.is-story .wp-block-cover__inner-container { z-index: 2; }
.hero-framed .rb-hero.is-story .rb-display, .hero-framed .rb-hero.is-story .rb-meta { max-width: 55%; }
@media (max-width: 900px) {
	.hero-framed .rb-hero.is-story .wp-block-cover__image-background { position: relative !important; inset: auto !important; transform: none; width: calc(100% - 28px) !important; height: auto !important; max-height: 320px; margin: 100px 14px 0; }
	.hero-framed .rb-hero.is-story { flex-direction: column; }
	.hero-framed .rb-hero.is-story .rb-display, .hero-framed .rb-hero.is-story .rb-meta { max-width: none; }
	.hero-framed .rb-hero.is-story .rb-wrap { padding-block-start: 32px; }
}
/* Next-story card: keep the picture as texture under the words. */
.rb-next .wp-block-cover__background { background: linear-gradient(180deg, color-mix(in srgb, var(--b-deep) 55%, transparent) 0%, color-mix(in srgb, var(--b-deep) 88%, transparent) 40%, var(--b-deep) 75%) !important; }
/* Images inside stacked columns stay short; wide banners are shown whole. */
.rb-stack .wp-block-image img { max-height: 230px; object-fit: cover; object-position: top; }
.rb-figure.is-brand .wp-block-image img, .rb-stack .rb-figure .wp-block-image img { max-height: 260px; }
.rb-tile .wp-block-image.is-contain img { object-fit: contain !important; aspect-ratio: auto !important; background: #fff; max-height: 160px; }
