/*
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
*/

html {
  scroll-behavior: smooth;
} 
.dotpost-meta{
display: none !important;
}
/* CUSTOM CSS */

: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;
    max-height: 300px;
}

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

.stats-section {
    position: relative;
    margin-top: -110px;
}

.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: 200px !important;
        margin-bottom: 200px !important;
    }

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

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

@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;
    }
}

/** rombot **/
.dotform {  
    max-width: 90%;
    margin: 2rem auto;
    font-family: system-ui, -apple-system, BlinkMacSystemFont,
                 'Segoe UI', Roboto, Ubuntu, Cantarell, 'Open Sans', sans-serif;
    color: #222;
    line-height: 1.5;
    background: #f1f1f1;
    padding: 1rem;
    box-shadow: 0px 0px 60px -6px rgba(10, 10, 10, 0.2);

}

.dotform > div {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;                   
}

@media (min-width: 600px) {
    .dotform {
        grid-template-columns: 1fr 1fr;   
        gap: 1rem 1.5rem;                
    }
    
    .dotform > div:nth-child(3),
    .dotform > div:nth-child(4),
    .dotform > div:nth-child(5),
    .dotform > div:nth-child(6) {
        grid-column: 1 / -1;
    }
}



.dotform label {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}



.dotform input[type="text"],
.dotform input[type="email"],
.dotform textarea {
    width: 100%;
    padding: 0.75rem 0.9rem;
    border: 1px solid #ccd0d5;
    border-radius: 4px;
    background: #fff;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;     
}

.dotform input[type="text"]:focus,
.dotform input[type="email"]:focus,
.dotform textarea:focus {
    outline: none;
    border-color: #0069d9;
    box-shadow: 0 0 0 3px rgba(0, 105, 217, 0.25);
}



.dotform textarea {
    min-height: 140px;          
    resize: vertical;           
}



.your-turn {
    display: flex;
    justify-content: center;   
    align-items: center;
    margin-top: 0.5rem;
}



.your-submit {
    display: flex;
    justify-content: center;   
    margin-top: 1rem;
}

.your-submit input[type="submit"] {
    background: #0069d9;
    color: #fff;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.your-submit input[type="submit"]:hover {
    background: #0053ba;
}

.your-submit input[type="submit"]:active {
    transform: scale(0.98);
}

.your-submit input[type="submit"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 105, 217, 0.25);
}

@media (max-width: 480px) {
    .dotform {
        margin: 1rem;
    }
}
