/*!
Theme Name: Kadence Child
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: Kadence WP
Author URI: https://www.kadencewp.com/
Description: A child theme for the Kadence Theme.
Version: 1.0.0
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kadence-child
*/

/* Theme customization starts here
-------------------------------------------------------------- */
:root {
	--global-palette10: #f790b7;
}

/*Text balance */
.balance, h1 {
    text-wrap: balance;
}

.page h1.entry-title,
.blog h1.archive-title,
.single-toolkit h1.entry-title {
	display: flex;
	align-items: baseline;
	gap: 10px;
}

@media screen and (max-width: 768px) {
	.page h1.entry-title,
	.blog h1.archive-title,
	.single-toolkit h1.entry-title {
		flex-direction: column;
		align-items: center;
		margin-top: 1rem;
	}
}

.page h1.entry-title::before,
.blog h1.archive-title::before,
.single-toolkit h1.entry-title::before {
	content: '';
	background: transparent url( 'svg/rainbow.svg' ) no-repeat;
	background-size: contain;
	width: 60px;
	height: 30px;
	display: block;
}

.site-footer section.widget li {
	margin: 0;
	line-height: 1.6;
}

/*  HOME PAGE  */

.toyw-youtube iframe {
	border: solid 0.5rem var( --global-palette9 );
	border-radius: 40px;
	box-shadow: 0px 12px 18px -6px rgba(0, 0, 0, 0.3);
}

.toyw-polaroid-pictures .wp-block-kadence-column:nth-of-type(odd) .kt-inside-inner-col {
	transform: rotate( -10deg );
}

.toyw-polaroid-pictures .wp-block-kadence-column:nth-of-type(even) .kt-inside-inner-col {
	transform: rotate( 10deg );
}
/* Add .toyw-pencils-border to a full width row */
.toyw-pencils-border::after {
    content: " ";
    background: url( '/wp-content/uploads/2024/06/Pencils.png' );
	background-repeat: repeat-x;
    width: 100%;
	height: 145px;
    position: absolute;
    bottom: 0;
    z-index: 0;
}

/*  GET INVOLVED  */

.toyw-get-involved-hero-image .wp-block-kadence-column:first-of-type .kt-inside-inner-col {
	transform: rotate( -5deg );
}

.toyw-get-involved-content::after {
    content: url( '/wp-content/uploads/2024/06/spott-pattern-left.svg' );
    position: absolute;
	top: 25%;
    right: 0;
	opacity: 0.75;
	transform: scaleX(-1) scale(2);
}

/*  -----------------------  */

/*  POSTS  */

/* .toyw-featured-image div {
	transform: rotate( -5deg );
} */

.blog .primary-sidebar .widget ul,
.category .primary-sidebar .widget ul {
	list-style-type: none;
	margin: 0;
}

.blog .wrap {
	position: relative;
}

.blog .wrap::after {
    content: url( '/wp-content/uploads/2024/06/spott-pattern-left.svg' );
    position: absolute;
	top: 50%;
    right: 0;
	transform: translateY(-50%) scaleX(-1) scale(2);
	z-index: -1;
}

/*  -----------------------  */

/* FOOTER */

.site-footer-row-layout-fullwidth>.site-footer-row-container-inner>.site-container {
	padding: 0;
}

/* TOOLKIT */

div.toyw-toolkits .kb-query-grid-wrap .toolkit:nth-of-type(even) {
	background: color-mix( in hsl, var( --global-palette10 ) 60%, #fff);
}