/* Core styles can be used any where you need a generic HTML block */

body {
	font-smoothing: antialiased;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, p, ul, ol, dl {
    text-rendering: optimizeLegibility;
}

body, h1, h2, h3, h4, h5, h6, p, button, input, select {
	font-family: var(--font-body);
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
}

b {
	font-weight: bold;
}

sub,
sup {
	font-size: smaller;
	position: static;
}

sup {
	vertical-align: super;
}

sub {
	vertical-align: sub;
}

button {
	background-color: var(--amaranth);
	color: var(--white);
}

@media (hover: hover) {
	button:hover {
		background-color: var(--firebrick);
	}
}

a,
:is(.core-styles, .contentRender_name_plugins_core_textbox) a {
	color: var(--dark-gray);
	font-weight: var(--font-weight-medium);
	text-decoration: underline var(--amaranth);
	transition: color var(--transition-appendix);
}

@media (hover: hover) {
	a:hover,
	:is(.core-styles, .contentRender_name_plugins_core_textbox) a:hover {
		color: var(--amaranth);
		text-decoration: underline var(--amaranth);
	}
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) h1,
:is(.core-styles, .contentRender_name_plugins_core_textbox) h2,
:is(.core-styles, .contentRender_name_plugins_core_textbox) h3,
:is(.core-styles, .contentRender_name_plugins_core_textbox) h4,
:is(.core-styles, .contentRender_name_plugins_core_textbox) h5,
:is(.core-styles, .contentRender_name_plugins_core_textbox) h6 {
	line-height: var(--leading-none);
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) h1 {
	margin-bottom: 25px;
	font-size: var(--text-3xl);
	font-weight: var(--font-weight-medium);
	color: var(--black);
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) h2 {
	margin-bottom: var(--space-5);
	font-size: var(--text-xl);
	font-weight: var(--font-weight-bold);
	color: var(--dark-gray);
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) h3 {
	margin-bottom: 15px;
	font-size: var(--text-lg);
	font-weight: var(--font-weight-medium);
	color: var(--amaranth);
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) h4 {
	margin-bottom: var(--space-5);
	font-size: 1.0625rem;
	font-weight: var(--font-weight-bold);
	letter-spacing: 1px;
	color: var(--dark-gray);
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) h5 {
	margin-bottom: 15px;
	font-size: var(--text-sm);
	font-weight: var(--font-weight-medium);
	color: var(--amaranth);
	text-transform: uppercase;
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) h6 {
	color: var(--dark-gray);
    font-weight: var(--font-weight-medium); 
    font-size: .9375rem; ; 
    margin-bottom: var(--space-5);
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) p {
	color: var(--dark-gray);
    font-weight: var(--font-weight-book); 
    font-size: var(--text-base); 
    line-height: 1.8;
    margin-bottom: var(--space-5);
}

/* no blockquote styles, so commenting these out for now */
/* :is(.core-styles, .contentRender_name_plugins_core_textbox) blockquote {
	margin: var(--space-12) 0;
	padding: var(--space-6) var(--space-8);
	border-left: 4px solid var(--primary-color-500);
} */

/* :is(.core-styles, .contentRender_name_plugins_core_textbox) blockquote > p {
	margin: 0;
	font-size: var(--text-2xl);
	font-style: italic;
	line-height: var(--leading-snug);
	color: var(--gray-600);
} */

:is(.core-styles, .contentRender_name_plugins_core_textbox) :is(table) {
	background: var(--white);
	margin-bottom: var(--space-5);
	table-layout: auto;
    border-collapse: collapse;
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) :is(table tbody tr td, table tr td) {
	display: table-cell;
	border: 1px solid var(--black);
    padding: 5px var(--space-2);
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) :is(td, tr) {
	color: var(--dark-gray);
    font-family: var(--font-body);
    font-weight: var(--font-weight-book);
    font-size: var(--text-base);
    line-height: 1.8;
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) :is(table tr):nth-of-type(even){
	background: var(--almost-white);
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) :is(ul, ol, dl) {
	margin-bottom: var(--space-5);
	margin-left: 0;
}
:is(.core-styles, .contentRender_name_plugins_core_textbox) :is(ul, ol, dl) :is(ul, ol, dl) {
	margin-bottom: 0;
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) :is(ul, ol) {
	padding-left: var(--space-10);
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) :is(ul, ol):not([class*="block-grid-"]) li {
	font-family: var(--font-body);
	font-size: var(--text-base);
	font-weight: var(--font-weight-book);
	line-height: 1.8;
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) :is(ul) {
	list-style-type: disc;
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) :is(ol) {
	list-style-type: decimal;
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) :is(ul li ul) {
	list-style-type: circle;
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) :is(ul ul ul) {
	list-style-type: square;
}

/* :is(.core-styles, .contentRender_name_plugins_core_textbox) :is(ul li ul, ul li ol, ol li ol) {
	margin-left: var(--space-5);
} */

:is(h1, h2, h3, h4, h5, h6) > a,
:is(.core-styles, .contentRender_name_plugins_core_textbox) :is(h1, h2, h3, h4, h5, h6) > a {
	font: inherit;
	color: inherit;
	text-decoration: none;
}


/* css pattern to solve content issue */
p > img:first-child + br { display: none; }
p > img:first-child + em:last-child,
p > img:first-child + br + em {
	display: block;
	margin-top: -40px;
	line-height: 1.3em;
}

.contentRender_name_plugins_core_textbox img {
	max-width: 100%;
	margin: var(--space-8) auto var(--space-12) auto;
}

@media (min-width: 40em) {
	:is(.core-styles, .contentRender_name_plugins_core_textbox) h1 {
        font-size: 2.5rem;
    }
    
    :is(.core-styles, .contentRender_name_plugins_core_textbox) h2 {
        font-size: 1.625rem;
		margin-bottom: 25px;
    }
    
    :is(.core-styles, .contentRender_name_plugins_core_textbox) h3 {
        font-size: 1.375rem;
		margin-bottom: var(--space-5);
    }
}

@media (min-width: 64em) {
	.contentRender_name_plugins_core_textbox img {
		max-width: calc(100% - 72px);
		margin: var(--space-14) auto var(--space-12) auto;
	}

	:is(.core-styles, .contentRender_name_plugins_core_textbox) h1 {
        font-size: var(--text-5xl);
    }
    
    :is(.core-styles, .contentRender_name_plugins_core_textbox) h2 {
        font-size: 2.1875rem; 
    }
    
    :is(.core-styles, .contentRender_name_plugins_core_textbox) h3 {
        font-size: var(--text-3xl);
    }
    
    :is(.core-styles, .contentRender_name_plugins_core_textbox) h4 {
        font-size: 1.5625rem; 
    }
    
    :is(.core-styles, .contentRender_name_plugins_core_textbox) h5 {
        font-size: var(--text-xl); 
    }
    
    :is(.core-styles, .contentRender_name_plugins_core_textbox) h6 {
        font-size: var(--text-lg); 
    }
		
	:is(.core-styles, .contentRender_name_plugins_core_textbox) p {
		font-size: 1.0625rem; 
        line-height: 1.9; 
	}
}