/**
 * Theme Name: Smartgiving
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */

:root {
	--theme-content-spacing: 1.75em;
}
body {
	--wp--preset--font-size--small: 0.833em;
  --wp--preset--font-size--medium: 1em;
  --wp--preset--font-size--large: clamp(1.2rem , calc(1.5vw + 1rem), 1.44rem);		
  --wp--preset--font-size--x-large: clamp(1.65rem , calc(2.5vw + 1rem), 2.44rem);		
  --wp--preset--font-size--xx-large: clamp(2rem , calc(5vw + 1rem), 4rem);	
}



.ct-breadcrumbs {
    --theme-font-weight: 400;
    --theme-text-transform: uppercase;
    --theme-font-size: 14px;
}

.entry-title {
	font-size: 20px;
}
[data-prefix="blog"] .entry-card .entry-meta { font-weight: 400; }

.widget-title { font-size: 1em; text-transform: uppercase;} 

.ct-footer [data-row="middle"] {
	--theme-content-spacing: 0.5em;
}
.nowrap {white-space: nowrap;}

h1.page-title { max-width: 50ch; }

/* LINKS */

body[data-link='type-1'] .entry-content a,
body[data-link='type-1'] .entries a,
body[data-link='type-1'] .ct-footer a,
body[data-link='type-1'] .page-description a {
  background-image: linear-gradient(var(--theme-palette-color-1), var(--theme-palette-color-1));
	background-size: 100% 1px;
	background-position: 0% 100%;
  background-repeat: no-repeat;
	transition: all 0.2s cubic-bezier(0.455, 0.03, 0.515, 0.955); 
}
	body[data-link='type-1'] .entry-content a:hover,
	body[data-link='type-1'] .entries a:hover,
  body[data-link='type-1'] .page-description a:hover 	{
		background-size: 0% 1px;
	}

body[data-link='type-1'] .entry-content a.revert,
body[data-link='type-1'] .ct-footer a  {
	/* color: inherit; */
	background-size: 0% 1px;
}
	body[data-link='type-1'] .entry-content a.revert:hover,
	body[data-link='type-1'] .ct-footer a:hover 	{
	/* 	color: var(--theme-link-initial-color); */
		background-size: 100% 1px;
	}

body[data-link='type-1'] a.ct-image-container, body[data-link='type-1'] a.wp-block-button__link, body[data-link='type-1'] .entry-content a.icon,
body[data-link='type-1'] .ctf-context a, body[data-link='type-1'] .ctf-author-box a,
body[data-link='type-1'] .entry-content :is(h1,h2,h3,h4,h5,h6) > a, body[data-link='type-1'] .entries :is(h1,h2,h3,h4,h5,h6) > a,
body[data-link='type-1'] .highlights2 a, body[data-link='type-1'] .is-style-outline.wp-block-tag-cloud a,
body[data-link='type-1'] a.btn-charitydata,
body[data-link='type-1'] a.ct-button, body[data-link='type-1'] a.ct-button-ghost, 
body[data-link='type-1'] a.page-numbers  {
	background-image: none;
	background-size: 0% 0px;
}

body[data-link='type-1'] .entry-content a.icon:hover svg{
	fill: var(--theme-palette-color-1);
}

p > a, li > a { font-weight: 600; }


/* Buttons */

.ct-button-ghost, .wp-block-buttons .wp-block-button .wp-block-button__link.is-style-outline, .wp-block-buttons .wp-block-button.is-style-outline .wp-block-button__link {
    border-width: 1px;
    border-style: solid;
    border-color: currentColor;;
}

/* Blocks */

.wp-block-separator:not(.is-style-dots) {
    height: 1px;
}

.wp-block-tag-cloud { 
	font-size: 13px; 
	line-height: 1;
	justify-content: center;
}
.wp-block-tag-cloud a {
	font-weight: 400;
}


/*== Spacer */

  .wp-block-spacer.is-style-responsive-large {
    height: 3rem !important;
  }

  .wp-block-spacer.is-style-responsive-small {
    height: 1.5rem !important;
  }


/*  Pullquote */
figure.wp-block-pullquote {
	background-color: var(--theme-palette-color-1);
	color: var(--theme-palette-color-8);
	border-width: 0;
}

figure.wp-block-pullquote blockquote:before {
    background-color: currentColor;
		opacity: 0.85;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg fill='%23ffffff' viewBox='0 0 70 70' version='1.1' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.563 8.469l-0.813-1.25c-5.625 3.781-8.75 8.375-8.75 12.156 0 3.656 2.688 5.375 4.969 5.375 2.875 0 4.906-2.438 4.906-5 0-2.156-1.375-4-3.219-4.688-0.531-0.188-1.031-0.344-1.031-1.25 0-1.156 0.844-2.875 3.938-5.344zM21.969 8.469l-0.813-1.25c-5.563 3.781-8.75 8.375-8.75 12.156 0 3.656 2.75 5.375 5.031 5.375 2.906 0 4.969-2.438 4.969-5 0-2.156-1.406-4-3.313-4.688-0.531-0.188-1-0.344-1-1.25 0-1.156 0.875-2.875 3.875-5.344z'%3E%3C/path%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg fill='%23ffffff' viewBox='0 0 70 70' version='1.1' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.563 8.469l-0.813-1.25c-5.625 3.781-8.75 8.375-8.75 12.156 0 3.656 2.688 5.375 4.969 5.375 2.875 0 4.906-2.438 4.906-5 0-2.156-1.375-4-3.219-4.688-0.531-0.188-1.031-0.344-1.031-1.25 0-1.156 0.844-2.875 3.938-5.344zM21.969 8.469l-0.813-1.25c-5.563 3.781-8.75 8.375-8.75 12.156 0 3.656 2.75 5.375 5.031 5.375 2.906 0 4.969-2.438 4.969-5 0-2.156-1.406-4-3.313-4.688-0.531-0.188-1-0.344-1-1.25 0-1.156 0.875-2.875 3.875-5.344z'%3E%3C/path%3E%3C/svg%3E");
}
 
 cite::before, .cite::before {
  content: "\2014";
  margin-right: 6px;
	font-style: normal;
}
.wp-block-pullquote cite {
	font-style: normal;
}	

/*== Lists */

.entry-content ul {
	padding-left: 1rem; 
}

.entry-content ul.nobullet, .entry-content ul.wp-block-social-links , .entry-content ul.entry-meta {
    --theme-list-indent: 0;
    --theme-list-style-type: none;
    --theme-content-spacing: 0;
		padding-left: 0;
}

ul.is-style-fancy, .page-description > ul {
	list-style: none;
	padding-left: 0;
}

ul.is-style-fancy > li, .page-description > ul > li  {
	position: relative;
	padding-left: 1.6em;
}
	ul.is-style-fancy > li+li, .page-description > ul > li+li {
		margin-top: 0.2em;
	}
	ul.is-style-fancy > li::before, .page-description > ul > li::before {
		content: ""; 
		background-color: var(--theme-palette-color-2);
		display: block; 
		position: absolute; left: 0;
		width: 0.8em; 
		height: 0.8em; 
		border-radius: 50%;
		transform: translateY(0.5em); 
	}

	ul.is-style-fancy ul, .page-description > ul ul {
		list-style-type: "\268A\00A0 ";
	}
	
	
ul.is-style-line {
	list-style-type: "\268A\00A0 ";
}	


ul.is-style-nobullet {
	list-style: none;
	padding-left: 0;
}


@media (min-width: 782px) {
  ul.split {
    columns: 2;
    -webkit-columns: 2;
    -moz-columns: 2;
    column-gap: 30px;
  }
}


/*==  Lead  */

.text-lead {
		font-family: Georgia;
		font-size: 1.1875em;
    margin-block-end: var(--theme-content-spacing);
}
.has-style-serif {
	font-family: Georgia;
	text-transform: none;
}


.is-style-text-lead {
  font-size: 1.2em;
  font-weight: 700;
  color: var(--theme-palette-color-2);
}
	@media (max-width: 999.98px) {
		.is-style-text-lead {
			font-size: 1.111rem;
			line-height: 1.4;
		}
	}


.is-style-serif {
	font-family: Georgia;
	font-size: 1.1875em;
}

.has-large-font-size {
	line-height: 1.4; 
}

/*==  Stats */


.stats strong {
  font-size: 1.25em;
  line-height: 1.3;
}

@media (min-width: 1000px) {
  .stats strong {
    font-size: 2.074em;
    line-height: 1.2;
  }
}




/* SUBSCRIBE FORM */

body .style-light input {
    border-color: #777;
}

.subscribe-form  div {
    display: flex;
    width: 100%;
    max-width: 600px;
	margin: 0 auto;
}
	.subscribe-form input[type=email] {
		flex-grow: 1;
		margin: 0;
	}
	.subscribe-form button { 
		white-space: nowrap;
	}


/* Contact info */


.ct-contact-info-block  .contact-title {display: none;}
.ct-contact-info-block  .contact-text {font-weight: 600; }
.ct-contact-info-block ul[data-icons-type="simple"] { padding-left: 0;}







/* SIDEBAR */
.ct-widget .wp-block-group.has-palette-color-2-background-color  {
	background-color: var(--theme-palette-color-2);
	color: var(--theme-palette-color-8);
}

.ct-widget .wp-block-group.has-palette-color-2-background-color  a {
	color: var(--theme-palette-color-8);
}
.ct-widget .wp-block-group.has-palette-color-2-background-color  a:hover{
	color: var(--theme-palette-color-1);
}
.ct-widget .sidebar-menu>li {margin: 18px 0; padding-left: 2em; line-height: 1.3; }
.ct-widget .sidebar-menu>li:before { content: " "; speak: none; display: inline-block;
		color: #a7b431;
		width: 1.5em;
		height: 1.5em;
		margin-left: -2em;
		margin-right: .5em;
		text-align: center;
		background-image: url("data:image/svg+xml,%3Csvg width='64px' height='64px' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg' fill='%239f1422' stroke='%2300558a' stroke-width='102.4'%3E%3Cg stroke-width='0'%3E%3C/g%3E%3Cg stroke-linecap='round' stroke-linejoin='round'%3E%3C/g%3E%3Cg%3E%3Cpath fill='%2300558a' d='M338.752 104.704a64 64 0 000 90.496l316.8 316.8-316.8 316.8a64 64 0 0090.496 90.496l362.048-362.048a64 64 0 000-90.496L429.248 104.704a64 64 0 00-90.496 0z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E");
    background-size: cover;
    background-color: #a7b431;
    border-radius: 50%;
    border: solid #a7b431 3px;
		transform: scale(0.95);
		vertical-align: bottom;
}

.ct-widget .sidebar-menu > li > ul {margin: 0;}	
.ct-widget .sub-menu li {margin: 9px 0; padding-left: 0em; line-height: 1.3; }

.ct-widget .sub-menu>li:before { content: '–'; display: inline-block;  width: 1.5em; margin-left: -2em; margin-right: .5em; text-align: center; transform: scale(1.7); color: #a7b431;}

 .ct-widget .sidebar-menu .current-menu-item > a {
  color: #a7b431;
}


/* CTA */
.cta { padding-left: 3em; position: relative; max-width: 33ch;}
.cta:before { content: " "; speak: none; position: absolute; top: 0; left: 0;
		color: #a7b431;
		width: 2em;
		height: 2em;
		background-image: url("data:image/svg+xml,%3Csvg width='64px' height='64px' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' stroke='%23ffffff' stroke-width='102.4'%3E%3Cg stroke-width='0'%3E%3C/g%3E%3Cg stroke-linecap='round' stroke-linejoin='round'%3E%3C/g%3E%3Cg%3E%3Cpath fill='%23ffffff' d='M338.752 104.704a64 64 0 000 90.496l316.8 316.8-316.8 316.8a64 64 0 0090.496 90.496l362.048-362.048a64 64 0 000-90.496L429.248 104.704a64 64 0 00-90.496 0z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E");
    background-size: cover;
    background-color: #a7b431;
    border-radius: 50%;
    border: solid #a7b431 6px;
}		

.cta h2 { 
	font-family: Georgia, serif;
	text-transform: none;
	font-size: 1.2em;
}
.cta p { 
	font-size: 0.88em;
}