/*!
Theme Name: Blocksy
Theme URI: https://creativethemes.com/blocksy/
Author: CreativeThemes
Author URI: https://creativethemes.com
Description: Blocksy is a fast, modern WordPress theme with advanced WooCommerce support and full compatibility with the block editor.
Version: 2.1.21
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Copyright: (c) 2019 CreativeThemes.
Requires at least: 6.5
Requires PHP: 7.0
Tested up to: 6.8
Text Domain: blocksy
Blocksy Minimum Companion Version: 2.0.74-beta1
Tags: accessibility-ready, blog, block-patterns, e-commerce, wide-blocks, block-styles, grid-layout, one-column, two-columns, three-columns, four-columns, right-sidebar, left-sidebar, translation-ready, custom-colors, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, theme-options, threaded-comments
*/






/* Sidebar Recent Posts Container */
.widget_recent_entries ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget_recent_entries ul li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    margin-bottom: 12px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

/* Hover Effect */
.widget_recent_entries ul li:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

/* Image Style */
.widget_recent_entries ul li img {
    width: 70px;
    height: 55px;
    object-fit: cover;
    border-radius: 6px;
}

/* Title Style */
.widget_recent_entries ul li a {
    font-size: 14px;
    font-weight: 600;
    color: #222;
    line-height: 1.3;
    text-decoration: none;
}

.widget_recent_entries ul li a:hover {
    color: #d30000;
}


/* Search Widget Wrapper */
#search-2 {
    background: #fff;
    padding: 18px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    margin-bottom: 25px;
}

/* Input Field */
#search-2 .ct-search-form input[type="search"] {
    width: 100%;
    padding: 5px 15px;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

#search-2 .ct-search-form input[type="search"]:focus {
    border-color: #d30000;
    box-shadow: 0 0 5px rgba(211, 0, 0, 0.3);
}

/* Search Button Area */
#search-2 .ct-search-form-controls {
    margin-top: 0px;
    display: flex;
    justify-content: flex-end;
}

/* Search Button */
#search-2 .ct-search-form-controls button {
    background: #d30000;
    border: none;
    padding: 11px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 6px;
}

#search-2 .ct-search-form-controls button:hover {
    background: #b10000;
    transform: translateY(-2px);
}

/* Button Icon */
#search-2 .ct-search-button-content {
    fill: #fff;
}

/* Loader Icon Keep Simple */
#search-2 .ct-ajax-loader svg {
    width: 18px;
    height: 18px;
}


/* Categories Widget Box */
#categories-2, #recent-posts-2 {
    background: #ffffff;
    padding: 18px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    margin-bottom: 25px;
}

/* Title Styling */
#categories-2 .widget-title, #recent-posts-2 .widget-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 14px;
    padding-bottom: 6px;
    border-bottom: 2px solid #d30000;
    color: #111;
}

/* Category List */
#categories-2 ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Category Item */
#categories-2 ul li {
    margin-bottom: 10px;
}

/* Category Link */
#categories-2 ul li a {
    display: block;
    padding: 10px 12px;
    background: #f8f8f8;
    border-radius: 8px;
    font-size: 15px;
    text-decoration: none;
    color: #222;
    transition: all 0.3s ease;
    border: 1px solid #e8e8e8;
}

/* Hover Effect */
#categories-2 ul li a:hover {
    background: #d30000;
    color: #fff;
    border-color: #d30000;
    transform: translateX(5px);
}

/* Active Page Highlight (optional) */
#categories-2 ul li.current-cat a {
    background: #d30000;
    color: #fff;
    border-color: #d30000;
}



/* Inquiry Form Section Styling */


#single_inquiry {
    background: #f9f9f9; /* light gray background */
    padding: 20px 15px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    max-width: 700px;
    margin: 50px auto;
    font-family: 'Poppins', sans-serif;
}


#single_inquiry .elementor-heading-title {
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    color: #222;
    margin-bottom: 7px;
}


#single_inquiry .elementor-form-fields-wrapper {
    display: flex;
    flex-direction: column;
    gap: 5px;
}


#single_inquiry .elementor-field {
    width: 100%;
    padding: 15px 20px;
    border: 1.5px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

#single_inquiry .elementor-field:focus {
    border-color: #0073e6;
    box-shadow: 0 0 6px rgba(0,115,230,0.3);
    outline: none;
}


#single_inquiry .elementor-field-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
}


#single_inquiry .elementor-button {
    background: #c5202d;
    color: #fff;
    font-weight: 600;
    padding: 12px 25px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

#single_inquiry .elementor-button:hover {
    background: #005bb5;
    transform: translateY(-2px);
}

.single-post .wp-block-heading{
   margin-top: 10px;
    margin-bottom: 10px;
}




/* comment form css */


.ct-comments-container {
    padding: 50px 20px;
    background: #f7f8fa;
    border-radius: 12px;
    margin-top: 40px;
}


.ct-container-narrow {
    max-width: 700px;
    margin: auto;
}


#respond .comment-reply-title {
    font-size: 30px;
    font-weight: 600;
    color: #222;
    text-align: center;
    margin-bottom: 30px;
}


#respond .logged-in-as {
    padding: 15px;
    background: #eef4ff;
    border-left: 4px solid #3f7cff;
    border-radius: 8px;
    font-size: 15px;
    color: #333;
}


.comment-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #444;
}


.comment-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1.6px solid #ccc;
    border-radius: 10px;
    font-size: 16px;
    resize: vertical;
    transition: all 0.3s ease;
    outline: none;
    background: #fff;
    box-sizing: border-box;
}

.comment-form textarea:focus {
    border-color: #3f7cff;
    box-shadow: 0 0 8px rgba(63, 124, 255, 0.25);
}


.comment-form .submit,
.comment-form button#submit {
    display: inline-block;
    background: #3f7cff;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    padding: 14px 35px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s ease;
    margin-top: 10px;
}

.comment-form .submit:hover,
.comment-form button#submit:hover {
    background: #1d54d8;
    transform: translateY(-2px);
}


.comment-form-field-textarea {
    margin-bottom: 25px;
}


/* Responsive Mobile */
@media (max-width: 768px) {
    #respond .comment-reply-title {
        font-size: 24px;
    }
    .comment-form textarea {
        font-size: 15px;
        padding: 12px 15px;
    }
    .comment-form .submit {
        width: 100%;
        padding: 14px;
    }
}






/* Responsive tweaks */

@media (max-width:998px) {

 #single_inquiry{
    margin: initial;
   max-width: 100%;
  }

#single_inquiry .elementor-container{
     max-width: initial;
}

}

@media (max-width: 768px) {
    #single_inquiry {
        padding: 40px 15px;
    }

    #single_inquiry .elementor-heading-title {
        font-size: 26px;
        margin-bottom: 30px;
    }

    #single_inquiry .elementor-field {
        font-size: 15px;
        padding: 12px 15px;
    }

    #single_inquiry .elementor-button {
        padding: 12px 20px;
    }
}
