/*
Theme Name: Twenty Twenty-Two Child
Theme URI: https://github.com/wordpress/twentytwentytwo/
Author: Heiko Mamerow
Author URI: https://heikomamerow.dev/
Description: Child theme for Twenty Twenty-Two.
Requires at least: 5.8
Tested up to: 5.9
Requires PHP: 5.6
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentytwo-child
Template: twentytwentytwo
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments

Twenty Twenty-Two WordPress Theme, (C) 2021 WordPress.org
Twenty Twenty-Two is distributed under the terms of the GNU GPL.
*/

html {
	font-size: 18px;
	scroll-behavior: smooth;
}

h1 {
	font-size: 2rem !important;
}
h2 {
	font-size: 1.5rem !important;
}
h3 {
	font-size: 1.25rem !important;
}
h4 {
	font-size: 1rem !important;
}
h5 {
	font-size: .75rem !important;
}
h6 {
	font-size: .5rem !important;
}
h1, h2, h3, h4, h5, h6 {
	margin-top: 0.25rem !important;
	margin-bottom: 0.25rem !important;
	padding-top: 0.5rem !important;
	padding-bottom: 0.5rem !important;
}

a {
	text-decoration: none;
	border-bottom: 1px dotted #666 !important;
}
a:hover {
	text-decoration: none;
	border-bottom: 1px solid #666 !important;
}
a:visited {
	text-decoration: none;
	border-bottom: 1px dotted #333 !important;
}
a img,
a:hover img,
a:visited img {
	border-bottom: none;
}

.sticky-block-wrapper,
.maxwidthnone {
	max-width: none;
}

.wp-block-video figcaption {
	color: #fff !important;
	font-size: 1em !important;
	text-align: center !important;
	background-color: black !important;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

.wp-block-cover__inner-container {
	width: 100% !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

.wp-block-column .wp-block-image figcaption {
	color: #666 !important;
	font-size: 0.66rem !important;
	text-align: center !important;
	line-height: 1 !important;
	font-weight: 600 !important;
}

.wc-block-grid__products,
.wc-block-grid__product .wc-block-grid__product-image:not(.wc-block-components-product-image) {
  margin-bottom: 0;
}

/* remove parent theme's gap above cover blocks - 220409 AT. */
.wp-block-cover { margin-top: 0 !important; } 
/* */

.wp-block-site-logo.is-default-size img.custom-logo {
	width: 64px;
}
.wp-block-columns {
	margin-bottom: 0 !important;
}
.wp-block-columns.is-not-stacked-on-mobile > .wp-block-column:not(:first-child) {
	margin-left: 20px;
}

@media (max-width: 599px) {
	.hm-site-logo {
		display: none;
	}

	.wp-block-columns.is-not-stacked-on-mobile > .wp-block-column:not(:first-child) {
		margin-left: 5px;
	}

	.wp-block-columns.is-not-stacked-on-mobile > .wp-block-column:not(:first-child) h1 {
		font-size: 130% !important;
	}

	.wp-block-columns.is-not-stacked-on-mobile > .wp-block-column:not(:first-child) p {
		font-size: 70%;
		letter-spacing: 0.08rem !important;
	}
}

@keyframes heartbeat {
	0% {
		transform: scale(1);
	}
	40% {
		transform: scale(1.2);
	}
	50% {
		transform: scale(1.5);
	}
	60% {
		transform: scale(1.2);
	}
	70% {
		transform: scale(1.5);
	}
	80% {
		transform: scale(1.2);
	}
	100% {
		transform: scale(1);
	}
}

.heartbeat {
	animation: heartbeat 2.5s ease 0s infinite;
	display: inline-block;
	margin-left: .03rem;
}

/* START - WOOCOMMERCE 
*/

/* remove Storefront breadcrumb */
.storefront-breadcrumb {
	display: none;
}

/* WooCommerce info/error/warning 
*/
.woocommerce-error, 
.woocommerce-info, 
.woocommerce-message, 
.woocommerce-noreviews, 
p.no-comments {
    margin-bottom: 0.5em;
    background-color: #0f834d;
    border-radius: 2px;
    color: #fff;
    padding: 0.75em 2em .75em 3.5em;
}

/* END - WOOCOMMERCE 
*/
