/*
Theme Name: Suku
Theme URI: https://sitenerdy.com/suku/
Author: SiteNerdy
Author URI: https://sitenerdy.com/
Description: Suku is a free and minimal WordPress FSE theme. It is a Gutenberg-ready WordPress theme and is compatible with all blocks and patterns of WordPress. If you are building a portfolio or blog theme using FSE feature, you can use this theme. If you want to know what full site editing is, you can learn from here https://sitenerdy.com/wordpress-full-site-editing/
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 5.7
Version: 1.0.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: suku
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, translation-ready, wide-blocks, block-styles, style-variations, blog, portfolio, news
*/

/* CUSTOM CSS */

.wp-block-navigation {
	position: unset;
}

.wp-block-navigation__responsive-container-open {
	position: absolute;
	top: 1rem;
	right: 1rem;
}

.d-none {
	display: none !important;
}

@media screen and (max-width: 475px) {
	.center-mobile {
		justify-content: center;
		margin: 0 auto !important;
	}
	
	.invert-mobile {
  		flex-direction: row-reverse;
	}
}
/* 
.ins-block {
	flex-direction: row;
}
@media screen and (max-width: 1150px) {
	.invert-ins-block {
		flex-direction: column-reverse;
		align-items: flex-start;
	}
} */

:where(.wp-site-blocks)>* {
    margin: 0;
}

.pos-r {
    position: relative;
    z-index: 0;
}

.pos-a {
    position: absolute;
}

.pos-a.send-backward {
    z-index: -1;
}

.has-box-shadow {
    box-shadow: 0 53px 75px 0 rgba(0, 0, 0, 0.08);
}

.site-header {
    position: absolute;
    width: 100%;
    z-index: 2;
}

.hero-section {
    position: relative;
}

.hero-img-col .pos-a {
    top: -70px;
    right: -30px;
    max-width: 145px;
    margin: 0;
}

.stats-section {
    position: relative;
}

.tablet-up-absolute {
    position: relative;
}

.show-tablet-up {
    display: none;
}

@media screen and (min-width: 768px) {
    .show-tablet-up {
        display: inline-block;
    }

    .pos-a.img-right {
        top: 0;
        right: -53%;
    }

    .tablet-up-absolute {
        position: absolute;
    }
}

@media screen and (min-width: 992px) {
    .hero-img-col .pos-a {
        right: -60px;
    }
}

@media screen and (min-width: 1601px) {
    .hero-img-col {
        position: absolute;
        top: -100px;
        right: -200px;
        max-width: 495px;
    }
}

@media screen and (max-width: 1600px) {
    .hero-section {
        margin-top: 0 !important;
        margin-bottom: 200px !important;
    }

    .hero-section>.wp-block-column {
        flex-basis: 50% !important;
    }

    .pos-a.hero-img-col {
        position: relative;
        margin-right: 50px;
    }
}


.mobile-down {
	display: none;
}
@media screen and (max-width: 425px) {
    .mobile-down {
		display: block;
    }
}


.tablet-down {
	display: none;
}
@media screen and (max-width: 767px) {
    .tablet-down {
		display: block;
    }
}



.tablet-min {
	display: none;
}
@media screen and (min-width: 767px) {
    .tablet-min {
		display: block;
    }
}

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


    .pos-a.hero-img-col {
        max-width: 500px;
        margin-left: 50px;
        margin-top: 120px;
    }
}

.img-col img {
    width: 100%;
}

.img-col .overlay-text {
    bottom: 30px;
    right: 15px;
    max-width: 175px;
}

.homepage-cta-section {
    position: relative;
    z-index: 1;
}

.homepage-cta-section .content-box {
    position: relative;
    margin-bottom: -350px;
    top: -200px;
}

/* REVIEWS SECTION */
@media screen and (max-width: 781px) {

    .reviews-section .wp-block-column .wp-block-spacer {
        height: 0 !important;
    }

    .reviews-section .wp-block-column p+.wp-block-image {
        margin-top: 20px;
    }
}

/* QUERY LOOP POST */
.wp-block-query .wp-block-post-featured-image {
    border-radius: 10px;
    overflow: hidden;
}

.wp-block-query .wp-block-post-featured-image img {
    height: 350px;
    object-fit: cover;
}

/* PAGINATON */
.wp-block-query-pagination>.wp-block-query-pagination-next,
.wp-block-query-pagination>.wp-block-query-pagination-numbers,
.wp-block-query-pagination>.wp-block-query-pagination-previous {
    margin-bottom: 0;
    margin-right: 0;
}

.wp-block-query-pagination-numbers {
    display: flex;
    gap: 24px;
    margin-right: 0;
    margin-bottom: 0;
}

.page-numbers.current {
    color: var(--wp--preset--color--custom-primary-button);
}

/* SIDEBAR */
.sidebar-recent-posts.wp-block-latest-posts li {
    margin-bottom: 24px;
}

.sidebar-recent-posts .wp-block-latest-posts__featured-image {
    width: 123px;
    float: left;
    margin-right: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.sidebar-recent-posts .wp-block-latest-posts__featured-image a {
    display: block;
}

.sidebar-recent-posts .wp-block-latest-posts__featured-image img {
    width: 100%;
    display: block;
}

.sidebar-recent-posts .wp-block-latest-posts__post-title {
    display: block;
    overflow: hidden;
    font-size: 20px;
    font-weight: 600;
    color: #000;
    margin-bottom: 15px;
}

.sidebar-recent-posts .wp-block-latest-posts__post-date {
    display: block;
    overflow: hidden;
    color: var(--wp--preset--color--custom-primary-button);
    font-size: 16px;
}

.sidebar-recent-posts .wp-block-latest-posts__post-excerpt {
    display: block;
    overflow: hidden;
}

/* SINGLE POST / PAGE */
.wp-block-post-author__name {
    font-size: 20px;
    color: var(--wp--preset--color--custom-primary-button);
}

.single .wp-block-post-author {
    position: relative;
}

.single .wp-block-post-author__avatar {
    position: absolute;
    top: -35px;
    left: 0;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
}

.single .wp-block-post-author__avatar img {
    width: 100%;
    height: 100%;
}

.single .wp-block-post-author .wp-block-post-author__avatar+.wp-block-post-author__content {
    padding-left: 125px;
}

.single .wp-block-post-author .wp-block-post-author__avatar+.wp-block-post-author__content .wp-block-post-author__name {
    font-size: 24px;
    color: var(--wp--preset--color--custom-footer-background);
}

.wp-block-post-comments-form {
    margin-bottom: 160px;
}

.wp-block-post-content ul,
.wp-block-post-content ol {
    margin-bottom: 24px;
}

.wp-block-post-content li {
    margin-bottom: 20px;
}

.wp-block-post-content li>ul {
    margin-top: 1rem;
}

.footer-top-col .wp-block-navigation .wp-block-navigation-item__label {
    line-height: 1.5;
}

.review-type-2 .wp-block-image {
    margin-top: 24px;
}

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

    .review-type-1,
    .review-type-2 {
        margin-bottom: 2rem;
    }

    .review-type-2 {
        display: grid;
    }

    .review-type-2>* {
        order: 2;
    }

    .review-type-2 .wp-block-image {
        order: 1;
    }

    .footer-top-col {
        margin-bottom: 2rem !important;
    }

    .footer-top-col .wp-block-heading {
        margin-bottom: 20px !important;
    }

    .footer-bottom-col-right p {
        text-align: left;
    }
}

/** Custom Insurance Block **/
.ins-container {
	
}

.ins-block {
	
}

.ins-block:not(.is-vertical) {
	align-items: start;
}

.ins-block .ins-image {
	
}

@media screen and (max-width: 1024px) {
	.ins-btn {
		flex-grow: 1;
	}
	.ins-container {
		display: flex !important;
		flex-direction: column;
	}
	.ins-block, .ins-block:not(.is-vertical) {
        flex-direction: column;
        align-items: center;
		text-align: center;
	}
}
/** End Custom Insurance Block **/

/** Custom Dialog **/

.xd-dialog.no-padding .xd-body {
	padding: 0;
}

.xd-dialog.title-close .xd-title {
	display: flex;
    align-items: center;
    justify-content: space-between;
}

.xd-dialog .frame-content {
	width: 100%;
	height: 600px;
}

.xd-dialog .close {
	cursor: pointer;
	font-size: 1em;
}

/** End Custom Dialog **/