/*!
Theme Name: Metsolan Apteekki
Template: kadence
Author: CTA
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kadence-child
*/


.rank-math-breadcrumb p {
	font-size: 16px;
}
.rank-math-breadcrumb p > * {
	vertical-align: middle;
}
.rank-math-breadcrumb a {
	color: inherit;
	text-decoration: none;
}
.rank-math-breadcrumb a:hover {
	color: inherit;
	text-decoration: underline;
}
.rank-math-breadcrumb a:first-child {
	font-size: 0;
}
.rank-math-breadcrumb a:first-child:before {
	background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg xmlns='http://www.w3.org/2000/svg' version='1.1' viewBox='0 0 24 18.7'%3E%3Cpath d='M11.7,4.8l-7.7,6.3v6.8c0,.4.3.7.7.7h4.7c.4,0,.7-.3.7-.7v-4c0-.4.3-.7.7-.7h2.7c.4,0,.7.3.7.7v4c0,.4.3.7.7.7h4.7c.4,0,.7-.3.7-.7v-6.8l-7.7-6.3c-.2-.2-.5-.2-.6,0h-.3ZM23.8,9.1l-3.5-2.9V.5c.1-.3-.2-.5-.4-.5h-2.3c-.4,0-.6.2-.6.5v3l-3.7-3c-.7-.6-1.8-.6-2.5,0L.2,9.2c-.2.2-.2.5,0,.7l1.1,1.3c.2.2.5.2.7,0h0L11.7,3.1c.2-.2.5-.2.6,0l9.8,8.1c.2.2.5.1.7,0l1.1-1.3c.2-.2.1-.5,0-.7h-.1Z' style='fill: %23FFFFFF;'/%3E%3C/svg%3E");
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain;
	content: '';
	display: inline-block;
	height: 1.3rem;
	vertical-align: middle;
	width: 1.3rem;
}
.rank-math-breadcrumb .separator {
	margin: 0 0.3em;
}


.gform-field-label {
	font-size: 88.889% !important;
	font-weight: 500 !important;
}
.ginput_container_consent .gform-field-label {
	color: var(--global-palette6) !important;
	font-weight: normal !important;
}
input[type="text"],
input[type="email"],
textarea {
	background-color: var(--global-palette8);
	border-color: var(--global-palette8);
	border-radius: 5px;
	color: inherit;
}
.gform_wrapper.gravity-theme .gform_footer,
.gform_wrapper.gravity-theme .gform_page_footer {
	padding-bottom: 0;
}


.loop-entry .entry-header {
	display: flex;
	flex-direction: column;
}
.loop-entry .entry-header .entry-meta {
	margin-bottom: 0.1em;
	margin-top: 0;
	order: -1;
}
.post-more-link .kadence-svg-iconset {
	display: none;
}
.post-more-link:after {
	content: '...';
	margin-left: -0.2em;
}


.services-section ul {
	font-family: var(--global-heading-font-family);
	font-weight: 800;
	list-style: none;
	padding-left: 1em;
}
.services-section li {
	margin-top: 0.2em;
}
.services-section a {
	color: inherit;
	text-decoration: none;
}
.services-section a:hover {
	text-decoration: underline;
}


.ma-news-items {
	display: grid;
	gap: var( --global-row-gutter-md, 2rem );
	grid-template-columns: repeat( 3, minmax( 0, 1fr ) );
}
.ma-news-item-title {
	font-family: var(--global-heading-font-family);
	font-size: 127.78%;
	font-weight: 800;
	line-height: 1.18;
	margin-bottom: 1em !important;
	text-transform: uppercase;
}
.ma-news-item-title a {
	color: inherit;
	text-decoration: none;
}
.ma-news-item-title a:hover {
	text-decoration: underline;
}
.wp-block-latest-posts li {
	display: flex;
	flex-wrap: wrap;
}
.wp-block-latest-posts a {
	color: inherit;
	font-family: var(--global-heading-font-family);
	font-size: 127.78%;
	font-weight: 800;
	line-height: 1.2;
	text-decoration: none;
	text-transform: uppercase;
}
.wp-block-latest-posts a:hover {
	text-decoration: underline;
}
.wp-block-latest-posts time {
	color: inherit;
	font-family: var(--global-heading-font-family);
	font-size: inherit;
	font-weight: bold;
	line-height: 1.1;
	order: -1;
	width: 100%;
}


.site-footer .widget-title {
	margin: 0;
}
.site-footer .textwidget > :first-child {
	margin-top: 0;
}
.footer-html {
	margin: 0.5em 0;
}
.footer-html a {
	text-decoration: none !important;
}
.footer-html a:hover {
	text-decoration: underline !important;
}


@media only screen and ( max-width: 1024px ) {
	.ma-news-items {
		grid-template-columns: repeat( 1, minmax( 0, 1fr ) );
	}

	.site-footer {
		text-align: center;
	}
	.site-footer img {
		display: inline-block;
	}
	.site-footer-middle-section-1 img {
		max-width: 180px !important;
	}
}