/*
Theme Name: GeneratePress Child
Template: generatepress
Theme URI: https://generatepress.com
Author: Martin Pedanik
Author URI: http://labor.ee/
Description: Child theme of GeneratePress
Version: 3.6.1
Requires at least: 6.5
Tested up to: 6.9
Requires PHP: 7.4
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: generatepress
Tags: two-columns, three-columns, one-column, right-sidebar, left-sidebar, footer-widgets, blog, e-commerce, flexible-header, full-width-template, buddypress, custom-header, custom-background, custom-menu, custom-colors, sticky-post, threaded-comments, translation-ready, rtl-language-support, featured-images, theme-options
*/


strong, b {
	font-weight: 600;
}


.single-post header.entry-header {/* postituse pealkiri */
	display: none;
}


@media (min-width: 1441px) and (max-width: 2200px) {

	/* 
.home .grid-container {
		max-width: 84%;
	}
 */
	
	.home .inside-header.grid-container {
		margin: 0;
	}

}


#site-navigation, #mobile-menu-control-wrapper {/* hide theme's main and mobile menu */
	display: none;
}






.inside-header {
	padding: 50px 24px 20px;
}


@media (min-width: 769px) {

	.inside-header {
		padding: 60px 30px 20px;
	}

}




@media (max-width: 560px) {

	.site-logo {
		max-width: 75%;
	}

}






.one-container .site-content {
	padding: 30px 24px 120px;
}

@media (min-width: 769px) {

	.one-container .site-content {
		padding: 40px 30px 170px;
	}

}





/* 
h1, h2, h3, h4, h5, h6 {
	text-transform: uppercase;
}
 */

h1.entry-title, h2.entry-title, h3.entry-title, h4.entry-title, h5.entry-title, h6.entry-title {
	font-weight: 600;
}

.home .entry-title, .home .entry-title-en, .archive .entry-title, .archive .entry-title-en {
	font-size: 15px;
	line-height: 1.2em;
	/* text-transform: uppercase; */
}

h1.entry-title, .entry-title-en {
	font-size: 30px;
	/* text-transform: uppercase; */
}



.home .entry-summary, .archive .entry-summary {
	display: none; 
}



.entry-content:not(:first-child), .entry-summary:not(:first-child), .page-content:not(:first-child) {
	margin-top: 0;/* 2em */
}

.page .entry-content:not(:first-child), .page .entry-summary:not(:first-child), .page .page-content:not(:first-child) {
	margin-top: 2em;/* 2em */
}


figure.wp-block-image {
	margin-bottom: 0.75em;
}

figure.wp-block-image:last-of-type {
	margin-bottom: 2em;
}

.one-container .inside-article > .featured-image {/* featured image of single posts */
	display: none; 
}

.entry-meta, footer.entry-meta {
	display: none; 
}



/* blogi ja arhiivi postitused pilt-pealkiri järjekord */

.blog .inside-article, .archive .inside-article {
    display: flex;
    flex-direction: column;
}

/* tunnuspilt esimeseks */
.blog .post-image, .archive .post-image {
    order: 1;
}

/* pealkiri + ingliskeelne pealkiri pildi alla */
.blog .entry-header, .archive .entry-header {
    order: 2;
}

/* excerpt/sisu pärast pealkirja */
.blog .entry-summary,
.blog .entry-content,
.archive .entry-summary,
.archive .entry-content {
    order: 3;
}


.post-image:not(:first-child) {
	margin-top: 0;
	margin-bottom: .5em;
}

@media (min-width: 769px) {

	.post-image:not(:first-child) {
		margin-top: 0;
		margin-bottom: 1em;
	}

}

/* end blogi ja arhiivi postitused pilt-pealkiri järjekord */




@media (max-width: 768px) {
	
	.one-container.archive .post:not(:last-child):not(.is-loop-template-item), .one-container.blog .post:not(:last-child):not(.is-loop-template-item) {
		padding-bottom: 0;
	}
	
}



/* blogi ja arhiivi postitused paigutus */

/* mobiil */

.blog .post-image img,
.archive .post-image img {
	width: 100%;
	height: clamp(120px, 18vh, 180px);
	object-fit: cover;
	display: block;
}

/* end mobiil */

/* desktop */

@media (min-width: 769px) {

    .blog .site-main,
    .archive .site-main {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 5vw;
        row-gap: 1vh;
    }

    .blog .site-main > article,
    .archive .site-main > article {
        margin: 0;
    }

    .blog .paging-navigation,
    .archive .paging-navigation,
    .archive .page-header {
        grid-column: 1 / -1;
    }



    .blog .post-image img,
    .archive .post-image img {
        width: 100%;
        height: clamp(200px, 24vh, 320px);
        object-fit: cover;
        display: block;
    }
}

/* end desktop */

/* end blogi ja arhiivi postitused paigutus */






/* nav lingid postituse lõpus (next-prev) */

.post-navigation {
    padding-top: 3rem;
}

.post-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.post-navigation .nav-previous {
    text-align: left;
}

.post-navigation .nav-next {
    margin-left: auto;
    text-align: right;
}

.post-navigation a {
	font-size: 16px;
    text-decoration: none;
}

@media (max-width: 600px) {
    .post-navigation .nav-links {
        flex-direction: column;
    }

    .post-navigation .nav-next {
        margin-left: 0;
        text-align: left;
    }
}

/* end nav lingid postituse lõpus (next-prev) */








/* footer lehekülje allserva-lõppu */

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-header.grid-container, .container.grid-container {
    width: 100%;
}

.site-footer {
    margin-top: auto;
}

/* end footer lehekülje allserva-lõppu */





.copyright-bar {
	margin-right: auto;
	margin-left: auto;
}

@media (max-width: 768px) {

	.copyright-bar {
		margin-right: auto !important;
		margin-left: auto;
	}

}

body:not(.page-id-2) .copyright-bar {
	display: none;
}



/* x-nupp jaluses */

.site-footer {
    position: relative;
}

.footer-home-btn {
    position: absolute;
    right: 24px;
    bottom: 48px;
    display: inline-block;
    z-index: 5;
}

.footer-home-btn img {
    display: block;
    width: 30px;
    height: auto;
}

body.home .footer-home-btn, body.page-id-2 .footer-home-btn {
    display: none;
}

/* Et nupp ei kataks copyright-teksti kitsamal ekraanil */
/* 
.site-footer .inside-site-info {
    padding-right: 90px;
}
 */

/* end x-nupp jaluses */



.search-results h1.page-title {
	font-size: 28px;
}

.search-results .page-header {
	margin-bottom: 50px;
}







/* PLUGIN   plugin   PLUGIN */


/* Responsive Menu */


@media (min-width: 769px) {

	#rmp_menu_trigger-88 {
		top: 52px;
	}
	
	#rmp_menu_trigger-88 .responsive-menu-pro-inner, #rmp_menu_trigger-88 .responsive-menu-pro-inner::before, #rmp_menu_trigger-88 .responsive-menu-pro-inner::after {
		width: 30px;
		height: 4px;
		border-radius: 0;
	}

}

#rmp-menu-wrap-88, #rmp-container-88 {/* menu bacground, upper + lower part */
	background-image: none;
	background-color: #f5f5f5;
}

@media screen and (max-width: 5600px) {

	#rmp-menu-wrap-88 {
		padding-top: 40%;
	}

}

#rmp_menu_trigger-88 .responsive-menu-pro-inner, #rmp_menu_trigger-88 .responsive-menu-pro-inner::before, #rmp_menu_trigger-88 .responsive-menu-pro-inner::after {
	background-color: #111;/* trigger button */
}

#rmp_menu_trigger-88:not(.is-active):hover .responsive-menu-pro-inner, #rmp_menu_trigger-88:not(.is-active):hover .responsive-menu-pro-inner::before, #rmp_menu_trigger-88:not(.is-active):hover .responsive-menu-pro-inner::after {
	background-color: #777;/* trigger button hover */
}

#rmp_menu_trigger-88.is-active .responsive-menu-pro-inner, #rmp_menu_trigger-88.is-active .responsive-menu-pro-inner::before, #rmp_menu_trigger-88.is-active .responsive-menu-pro-inner::after {
	background-color: #111;/* close button */
}

/* end Responsive Menu */


/* end PLUGIN   plugin   PLUGIN */
