h1,
h2,
h3,
h4,
h5,
h6 { 
	position: relative;
	float: left;
	clear: both;
	width: 100%;
	overflow:visible;
	color: var(--wbm-theme-font-colour);
	font-weight: normal;
}

h1 {
	font-size: 10rem;
	font-size: clamp( 4.5rem, 10vw, 10rem );
	line-height: 1;
	font-family: var(--wbm-theme-font-heading-family);
	margin-bottom: var(--wbm-theme-gap-default);
	text-transform: uppercase;
}

h1,
.rp-rituals-wrapper h4 {
	hyphens: auto;
	hyphenate-limit-chars: auto 5;
  hyphenate-limit-lines: 2;
}

body.home h1 {
	margin-bottom: 5.8rem;
	margin-bottom: clamp( 2.6rem, 5.8vw, 5.8rem );
}

h2 {
	font-size: 6.5rem;
	font-size: clamp( 4rem, 6.5vw, 6.5rem );
	line-height: 1;
	font-family: var(--wbm-theme-font-heading-family);
	margin-bottom: 2.5rem;
	margin-bottom: clamp( 2rem, 2.5vw, 2.5rem );
	text-transform: uppercase;
}
.content-area-inner h2 {
	margin-bottom: 5.9rem;
	margin-bottom: clamp( 2.5rem, 5.9vw, 5.9rem );
}

/*
h3 {
	font-weight: 500;
	font-size: 2.4rem;
	font-size: clamp( 2rem, 2.4vw, 2.4rem );
	line-height: 1.416666666666667;
	margin: 3.4rem 0;
	margin: clamp( 2.83, 3.4vw, 3.4rem ) 0;
}
*/

h3 {
	font-weight: 500;
	font-size: 3.0rem;
	font-size: clamp( 2.8rem, 3.0vw, 3.0rem );
	line-height: 1.16;
	margin-bottom: 1.5rem;
	margin-bottom: clamp( 1rem, 1.5vw, 1.5rem );
}

figure + h3 {
	margin-top: 3.48rem;
	margin-top: clamp( 3.248rem, 3.48vw, 3.48rem );
}

h4 {
	font-weight: 300;
	font-size: 2.8rem;
	font-size: clamp( 2.4rem, 2.8vw, 2.8rem );
	line-height: 1.428;
	margin-bottom: 3.99rem;
	margin-bottom: clamp( 3.427rem, 3.99vw, 3.99rem );
}
.rp-rituals-wrapper h4 {
	font-weight: 500;
	font-size: clamp( 2rem, 2.2vw, 2.2rem );
	line-height: 1.2;
	height: calc( 2 * clamp( 2rem, 2.2vw, 2.2rem ) );
	margin-bottom: 2.64rem;
	margin-bottom: clamp( 2.4rem, 2.64vw, 2.64rem );
}

h5,
h5 + .wbm-theme-some a {
	font-weight: 300;
	font-size: 2.4rem;
	font-size: clamp( 1.9rem, 2.4vw, 2.4rem );
	line-height: 1.416;
	margin-bottom: 3.39rem;
	margin-bottom: clamp( 2.69rem, 3.39vw, 3.39rem );
}


/* fliesstext */
.wbm-theme-text {
	font-family: var(--wbm-theme-font-default-family);
	font-weight: var(--wbm-theme-font-default-weight);
	color: var(--wbm-theme-font-colour);
	font-size: 2.2rem;
	font-size: clamp( 1.9rem, 2.2vw, 2.2rem );
	line-height: 1.315;
}


.wbm-theme-text p,
.wbm-theme-text .content-area ul li,
.wbm-theme-text .content-area ol li,
.wbm-theme-text figure.wp-block-table {
	position: relative;
	float: left;
	clear: both;
	width: 100%;
	margin-bottom: 2.893rem;
	margin-bottom: clamp( 2.4985rem, 2.893vw, 2.893rem );
}
.wbm-theme-text p:last-of-type:visible { margin-bottom:0; }
.wbm-theme-text p:last-of-type:visible + * {
	margin-top: 2.893rem;
	margin-top: clamp( 2.4985rem, 2.893vw, 2.893rem );
}

.wbm-theme-text .content-area ul,
.wbm-theme-text .content-area ol {
	margin-left: 20px;
	max-width: calc(100% - 20px);
}


.wbm-theme-text strong { font-weight:500; }

/* inline links */
.wbm-theme-text a {
	color: var(--wbm-theme-font-colour);
	text-decoration: underline;
	text-decoration-color: transparent;
	text-underline-offset: 7px;
	transition: text-decoration-color 300ms ease-out 0ms;
}
.wbm-theme-text.widget-area a {
	color: var(--wbm-theme-font-colour-footer);
}
.wbm-theme-text h1 a,
.wbm-theme-text h2 a,
.wbm-theme-text h3 a {
	color: inherit;
}

.wbm-theme-text a:not(.button):hover,
.wbm-theme-text a:not(.button):focus {
	text-decoration: underline;
	text-decoration-color: var(--wbm-theme-font-colour);
}

.wbm-theme-text .home-intro a:not(.button):hover,
.wbm-theme-text .home-intro a:not(.button):focus {
	text-decoration-color: var(--wbm-theme-font-colour-footer);
}

.wbm-theme-text.widget-area a:not(.button):hover,
.wbm-theme-text.widget-area a:not(.button):focus {
	color: var(--wbm-theme-footer-hover);
	text-decoration-color: var(--wbm-theme-footer-hover);
}


.widget-area * {
	color: var(--wbm-theme-font-colour-footer);
}

.wbm-theme-text a.wbm-theme-read-more-toggle {
	font-style: italic;
}

/* footer */

.widget-area {
	font-size: 18px;
	line-height: 1.388888888888889;
}

/* BUTTON */

.button,
.wp-block-button__link,
.wbm-theme-text p.link-buttons a,
a.lang-toggle,
ul.lang a {
	padding: 3px clamp(10px, 2vw, 20px);
	background: none;
	font-size: 2.2rem;
	line-height: 1.363636363636364;
	cursor: pointer;
	transition: color 200ms ease-out 0ms, background-color 200ms ease-out 0ms !important;
	text-align: left;
	border: 1px var(--wbm-theme-font-colour) solid;
	background-color: var(--wbm-theme-bg);
	border-radius: 2000px;
	color: var(--wbm-theme-font-colour);
	text-decoration: none !important;
}
.widget-area .button,
.widget-area .wp-block-button__link,
.widget-area.wbm-theme-text p.link-buttons a {
	border: 1px var(--wbm-theme-bg) solid;
	background-color: var(--wbm-theme-font-colour);
	border-radius: 2000px;
	color: var(--wbm-theme-bg);
}
a.lang-toggle,
ul.lang a {
	padding: 1px 9px;
}
a.lang-toggle { padding-right: 12px; }


.button:not(.no-link):hover,
.button:not(.no-link):focus,
.wp-block-button__link:hover,
.wp-block-button__link:focus,
.wbm-theme-text p.link-buttons a:hover,
.wbm-theme-text p.link-buttons a:focus,
a.lang-toggle:hover,
a.lang-toggle:focus,
ul.lang a:hover,
ul.lang a:focus {
	color: var(--wbm-theme-bg);
	background-color: var(--wbm-theme-font-colour);
}

.widget-area .button:not(.no-link):hover,
.widget-area .button:not(.no-link):focus,
.widget-area .wp-block-button__link:hover,
.widget-area .wp-block-button__link:focus,
.widget-area.wbm-theme-text p.link-buttons a:hover,
.widget-area.wbm-theme-text p.link-buttons a:focus {
	color: var(--wbm-theme-font-colour) !important;
	background-color: var(--wbm-theme-bg);
}