/*
Theme Name: Custom Theme
Theme URI: https://jaloinidea.fi
Template: kadence
Author: Jaloin !dea
Author URI: https://jaloinidea.fi
Description: Custom tailored theme.
Tags: translation-ready,two-columns,right-sidebar,left-sidebar,footer-widgets,blog,custom-logo,custom-background,custom-menu,rtl-language-support,editor-style,threaded-comments,custom-colors,featured-images,wide-blocks,full-width-template,theme-options,e-commerce
Version: 1.1.0.1751539829
Updated: 2025-07-03 10:50:29

*/



/* --------------------------------
TABLE OF CONTENTS 
01 Global styles and typography
02 Header and navigation
03 Hero section
04 Gutenberg ja blocks
05 Widget areas
06 Posts
07 Misc
---------------------------------*/


/* 01 Global styles and typography */


.kadence-breadcrumbs a {
    text-decoration: none !important;
}


.wp-block-kadence-postgrid .entry-title a:hover, .wp-block-kadence-postgrid .entry-title a:focus, .wp-block-kadence-postgrid .entry-title a:active {
    color: var(--global-palette-highlight-alt);
}

a {
    text-underline-offset: 4px;
}

/* 02 Header and navigation */


.site-header-row.site-header-row-center-column {
    grid-template-columns: 10% 80% 10% !important;
}
.header-navigation-layout-stretch-true .header-navigation {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.drawer-nav-drop-wrap .drawer-sub-toggle {
    display: inline !important;
    width: 100% !important;
    position: absolute !important;
    border-left: 0 !important;
    padding: 1.2em 0.2em 1.2em 90% !important;
}


.header-menu-container a, .menu-item-has-children, .header-navigation ul li a:not([href]) {
    cursor: pointer;
}

#site-navigation .sub-menu {
    margin-top: -2px;
    border-top: solid 2px var(--global-palette1);
}

.dropdown-nav-toggle {
    display: none !important;
    width: 0 !important;
}

.nav-drop-title-wrap {
	padding-right: 0;
	display:inline;
}

#footer-menu {
	display:block !important;
}



/* 03 Hero section */

.otsikkoalue {
	display:block;
	width: 100vw;
	
}


/* 04 Gutenberg ja blocks */


.wp-block-kadence-rowlayout {
	margin-top: 0;
	margin-bottom: 0;
}

.wp-block-kadence-rowlayout:last-child {
	margin-bottom: 0;
}	

.kt-row-layout-overlay {
	top: -1px !important;
	height: 101% !important;
}

.wp-block-kadence-spacer {
    margin-bottom: 20px;
}

.kt-svg-icon-list-item-wrap a {
    text-decoration: none;
}

.kt_simple_share_container.kt_share_aftercontent {
    padding-top: 30px !important;
}

.home .kt_simple_share_container {
    display: none;
}

.wp-block-kadence-advancedgallery, .wp-block-kadence-postgrid {
    margin: 40px auto !important;
}

.kt-split-content-media-image img {
    max-width: 350px !important;
}

.wp-block-media-text {
	margin: auto !important;
    width: 100% !important;
}

.wp-block-kadence-splitcontent {
    margin-bottom: 30px !important;
}

.kadence-blocks-gallery-item__caption a {
    text-decoration: none !important;
}
.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
    background-color: #e3e3e3;
}
.wp-block-kadence-accordion {
    margin-top: 30px;
    margin-bottom: 30px;
}

.wp-block-social-links, .wp-block-social-links .wp-social-link a {
	padding-left: 0 !important;
}

.wp-block-pullquote {
	padding: 1em 0 !important;
}


a.wp-block-social-link-anchor {
	text-decoration:none !important;
	border-bottom: 0 hidden !important;
	background: transparent !important;
}

a.wp-block-social-link-anchor:hover {
	background: transparent !important;
	color: var(--global-palette-btn-bg-hover) !important;
}

.button .kt-btn-svg-icon {
	display:inline-block !important;
}

.wp-block-kadence-advancedbtn .button, .wp-block-file__button {
	border-radius: 50px !important;
}

.wp-block-file__button {
    font-size: 0.9rem;
    line-height: 1.1;

}

/* 05 Widget areas and footer */


.footer-widget-area img {
    max-width: 180px !important;
}

.site-footer .site-footer-wrap .footer-social-wrap .social-button {
	margin-left: 0 !important;
	margin-right: 0.4em !important;
	width: unset;
}



/* 06 Posts */

.entry {
    box-shadow: none !important;
    border-radius: 0 !Important;
}
	
.entry-meta {
    margin-top: 0;
}
.entry-meta-divider-customicon.entry-meta>*>.kadence-svg-iconset {
    margin-left: 0;
}
.entry-taxonomies {
    margin-top: 1em;
}

.posted-by {
    margin-right: 0.3em;
}


.entry-related-carousel .content-bg {
	background: transparent !important;
}

.entry-related .tns-controls {
	display:none !Important;
}



.pagination .nav-links {
		text-align: center;
}

.pagination .page-numbers {
	border: 1px solid var(--global-palette4);	
	border-radius: 0 !important;
}

.pagination .page-numbers:hover {
	border-color: var(--global-palette1);
    background: transparent;
    color: var(--global-palette1);
}

.pagination .current {
	border-color: var(--global-palette4);
    background: var(--global-palette7);
    color: var(--global-palette4);
}



/* 07 Misc */

.error404 #secondary {
    display: none !important;
}
.error404 .content-container {
    display: block !important;
}


/* External link settings*/
.external-link {
    color: inherit;
    text-decoration: underline;
    position: relative;
}

/* Nuoli ::after */
.external-link::after {
    content: '';
    display: inline-block;
    width: 0.6em;
    height: 0.6em;
    margin-left: 0.2em;
    vertical-align: baseline;
    background-color: currentColor;
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 7 7' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.0426 6.8097L0.3778 6.1449L5.3210 1.1932H1.5028L1.5114 0.2727H6.9063V5.6761H5.9773L5.9858 1.8580L1.0426 6.8097Z'/%3E%3C/svg%3E") no-repeat center;
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 7 7' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.0426 6.8097L0.3778 6.1449L5.3210 1.1932H1.5028L1.5114 0.2727H6.9063V5.6761H5.9773L5.9858 1.8580L1.0426 6.8097Z'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
    transition: background-color 0.2s ease-in-out;
}

/* Hover-väri */
.external-link:hover {
    color: var(--global-palette-highlight-alt);
}
.button::after {
    display: none !important;
}

.sr-only,
.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}