/* Radiance Blocks: core blocks inside Radiance sections take on the theme's type and buttons. */
.rav-page > :not(.section):not(.hero) { max-width: var(--wrap, 1280px); margin-left: auto; margin-right: auto; padding-left: var(--gut, 40px); padding-right: var(--gut, 40px); }
.rav-sec--flush-top { padding-top: 24px; }
.rav-wrap--prose { max-width: 820px; }

.rav-flow > * { margin-top: 0; margin-bottom: 0; }
.rav-flow > * + * { margin-top: 24px; }
.rav-flow .wp-block-column > * { margin-top: 0; margin-bottom: 0; }
.rav-flow .wp-block-column > * + * { margin-top: 20px; }
.hero__body .rav-flow > * + * { margin-top: 0; }

.rav-flow h1, .rav-flow h2, .rav-flow h3, .rav-flow h4 { font-family: var(--serif); font-weight: 400; color: inherit; letter-spacing: 0; }
.rav-flow h1 { font-size: clamp(48px, 6.4vw, 96px); line-height: 0.96; }
.rav-flow h2 { font-size: clamp(40px, 4.4vw, 64px); line-height: 1.02; }
.rav-flow h3 { font-size: clamp(28px, 2.6vw, 40px); line-height: 1.08; }
.rav-flow h4 { font-size: 24px; line-height: 1.15; }
.rav-flow .is-style-display { font-size: clamp(52px, 7.4vw, 108px); line-height: 0.98; letter-spacing: -0.01em; max-width: 1000px; }
.hero__body .rav-flow .is-style-display { max-width: 960px; }
.rav-flow p:not([class]), .rav-flow p[class^="has-"], .rav-flow .wp-block-list li { font-size: 17px; color: var(--text2); }
.rav-flow .is-style-eyebrow { font-size: 12px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.rav-flow .is-style-lede { font-size: 18px; color: var(--text2); }
.rav-flow .is-style-statement { font-family: var(--serif); font-size: clamp(28px, 3.2vw, 44px); line-height: 1.2; color: var(--text); }
.rav-flow .is-style-muted { color: var(--muted); }
.rav-flow ul.wp-block-list, .rav-flow ol.wp-block-list { padding-left: 1.2em; }
.rav-flow .wp-block-list li { margin-bottom: 0.5em; }
.rav-flow .wp-block-heading + p { margin-top: 16px; }

.section--paper .rav-flow, .section--paper2 .rav-flow { color: var(--ink); }
.section--paper .rav-flow p:not([class]), .section--paper .rav-flow .wp-block-list li, .section--paper2 .rav-flow p:not([class]), .section--paper2 .rav-flow .wp-block-list li { color: #26231d; }
.section--paper .rav-flow .is-style-eyebrow, .section--paper2 .rav-flow .is-style-eyebrow, .section--paper .rav-flow .is-style-muted, .section--paper2 .rav-flow .is-style-muted { color: var(--ink2); }
.section--paper .rav-flow .is-style-statement, .section--paper2 .rav-flow .is-style-statement { color: var(--ink); }

/* Buttons */
.rav-flow .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.rav-flow .wp-block-button { margin: 0; }
.rav-flow .wp-block-button .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; border: 1px solid var(--text); border-radius: 0;
	background: var(--text); color: var(--bg); font-family: var(--sans); font-size: 16px; font-weight: 500; line-height: 1.2; text-decoration: none; transition: background .15s, color .15s, border-color .15s;
}
.rav-flow .wp-block-button .wp-block-button__link:hover { background: #fff; border-color: #fff; color: var(--bg); }
.rav-flow .wp-block-button.is-style-outline .wp-block-button__link { background: transparent; border: 1px solid var(--text); color: var(--text); padding: 0 26px; }
.rav-flow .wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--text); color: var(--bg); }
.rav-flow .wp-block-button.is-style-quiet .wp-block-button__link { background: transparent; border-color: var(--line2); color: var(--text); }
.rav-flow .wp-block-button.is-style-quiet .wp-block-button__link:hover { border-color: var(--text); }
.rav-flow .wp-block-button.is-style-accent .wp-block-button__link { background: transparent; border-color: var(--accent); color: var(--accent); }
.rav-flow .wp-block-button.is-style-accent .wp-block-button__link:hover { background: var(--accent); color: var(--bg); }
.section--paper .rav-flow .wp-block-button .wp-block-button__link, .section--paper2 .rav-flow .wp-block-button .wp-block-button__link { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.section--paper .rav-flow .wp-block-button.is-style-outline .wp-block-button__link, .section--paper .rav-flow .wp-block-button.is-style-quiet .wp-block-button__link,
.section--paper2 .rav-flow .wp-block-button.is-style-outline .wp-block-button__link, .section--paper2 .rav-flow .wp-block-button.is-style-quiet .wp-block-button__link { background: transparent; color: var(--ink); border-color: var(--ink); }

/* Columns */
.rav-flow .wp-block-columns { gap: 48px 72px; margin-bottom: 0; }
.rav-flow .wp-block-columns.is-style-heading-row { gap: 16px 24px; margin-bottom: 44px; }
.rav-flow .wp-block-columns.is-style-heading-row + * { margin-top: 0; }
.rav-flow .wp-block-columns.is-style-heading-row > .wp-block-column:last-child > * { max-width: 460px; margin-left: auto; }
.rav-flow .wp-block-columns.is-style-heading-row > .wp-block-column:last-child { text-align: right; }
.rav-flow .wp-block-columns.is-style-heading-row a { font-weight: 500; }
@media (max-width: 781px) {
	.rav-flow .wp-block-columns.is-style-heading-row > .wp-block-column:last-child { text-align: left; }
	.rav-flow .wp-block-columns.is-style-heading-row > .wp-block-column:last-child > * { margin-left: 0; }
	.rav-flow .wp-block-columns.is-style-heading-row { margin-bottom: 32px; }
}

.rav-flow .rav-feature, .rav-flow .rav-makers { margin: 0; }
.rav-note { margin: 0; padding: 16px 18px; border: 1px dashed var(--line2); color: var(--muted); font-size: 14px; }
.rav-flow .wp-block-column > h3:not(:first-child), .rav-flow .wp-block-column > h4:not(:first-child),
.rav-flow > h3:not(:first-child), .rav-flow > h4:not(:first-child) { margin-top: 40px; }
