/*!
Theme Name: Cosmick
Theme URI: http://underscores.me/
Author: Cosmick Media
Author URI: http://cosmickmedia.com
Description: Professional Clean Design - Premium Theme for Cosmick Media
Version: 3.2.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: cosmick
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* MB Added 2/6/25 */
.cosmickblank {
    margin-bottom: 16em;
}
/*  */

.form-sec .form form {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 -15px;
}
.form-sec .form form .form-group {
	padding: 0 15px;
}
.form-sec .form form .form-group p {
	position: relative;
}

.form-sec .form form h6 {
	padding: 0 15px 0;
}
.form .form-group .form-icon {
	left: 30px;
}
.form .form-group .form-icon + span select, 
.form .form-group .form-icon + span textarea, 
.form .form-group .form-icon + span input{
	padding: 0 15px 0 60px;
}
.form .form-group .form-icon + span textarea {
	padding-top: 25px;
    padding-bottom: 25px;
}
/*.testimonial .slick-list .slick-track {
	max-width: 100%; width: 100% !important;
}*/


.ti-footer strong{
	color: #ff675b !important;
}
.ti-footer{
	order: -1 !important; margin: 0 0 60px;
}
.ti-footer .ti-rating-text strong ,
.ti-footer .ti-rating-text ,
.ti-footer .ti-rating-text span {
	font-size: 20px !important;
}
.ti-widget.ti-goog .ti-widget-container {
	display: flex !important;
	flex-direction: column !important;
}
.review-section .ti-widget.ti-goog .ti-review-item>.ti-inner {
	padding: 50px 35px 95px !important;
    background-color: #fff !important;
    border-radius: 10px !important;
    border: 1px solid #ffebd5 !important;
    padding: 50px 35px 95px !important;
    background-image: url(assets/images/qoute.png) !important;
    background-repeat: no-repeat !important;
    background-position: right 25px bottom 25px !important;
}
.ti-widget.ti-goog .ti-review-header:after {display: none !important}
.wp-pagenavi {
	display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 8px;
}
.wp-pagenavi > * {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	padding: 0 !important;
	margin: 0!important;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: transparent;
	border: 1px solid #d6d2d7;
	font-size: 20px;
	color: #545454;
}
.wp-pagenavi .previouspostslink ,
.wp-pagenavi .nextpostslink{
	background-color: #eae7eb
}
.wp-pagenavi > *:hover,
.wp-pagenavi > *.current,
.wp-pagenavi .previouspostslink:hover ,
.wp-pagenavi .nextpostslink:hover{
	background-color: #ff675b;
	color: #fff;
	border-color: #ff675b !important;
}
.form-sec .form form .form-group {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
}
.form-sec .form form .form-group p {
	width: 100%; margin: 0;
}
.form-sec .form form .form-group:not(.col-md-6) {
    width: 100%;
    max-width: 100%;
}
.form-sec .form form {
    row-gap: 30px;
}
.map-sec p ,
.map-sec {font-size: 0; margin: 0}
.form-sec .btn.btn-primary {
	display: block;
	margin: 0 auto;
}

.search-no-results .def_sty form ,
.error404 .def_sty form {
	max-width: 420px;
	width: 100%	;	
	display: flex;
	margin-top: 30px;
}
.search-no-results .def_sty form label  ,
.error404 .def_sty form label {
	max-width: calc(100% - 105px);
	width: calc(100% - 105px);
	height: 44px;
}
.search-no-results .def_sty form label input[type="search"]  ,
.error404 .def_sty form label input[type="search"] {
	width: 100%;
	max-width: 100%;
	border: 1px solid #000;
	padding: 0 15px;
	height: 100%;
	font-size: 18px;
	border-radius: 0;
	outline: none;
	box-shadow: none;
	border-right: none;
}
.search-no-results .def_sty form .search-submit  ,
.error404 .def_sty form .search-submit {
	width: 105px;
	max-width: 105px;
    background-color: #ff675b;
    height: 50px;
    border: 2px solid #ff675b;
    border-radius: 0;
	padding: 0 5px;
	color: #fff;
	font-size: 18px;
	height: 44px;
}
.search-no-results .def_sty form .search-submit:hover ,
.error404 .def_sty form .search-submit:hover{
	background-color: transparent; color: #ff675b;
}
@media(max-width: 991px) {
	.form-sec .form form {
	    row-gap: 20px;
	}
	body:not(.home) .hero-section .hero-bg {
		clip-path: none;
	}
}
@media(max-width: 767px) {
	.form-sec .form form h6 ,
	.form-sec .form form .form-group {
		width: 100%; padding: 0;
	}
	.wp-pagenavi {
		gap: 4px;
	}
	.wp-pagenavi > * {
		width: 40px;
		height: 40px;
		font-size: 15px;
	}
	.form-sec .form form {
	    row-gap: 15px;
	}
	.review-section .ti-widget.ti-goog .ti-review-item>.ti-inner {
	    padding: 30px 20px 80px !important;
	}
}
@media(max-width: 575px) {
	.review-section .ti-widget.ti-goog .ti-review-item>.ti-inner {
	    padding: 25px 15px 70px !important;
	}
}


/* Submenu styles are now handled in professional-header.css */

/* ========================================
   Blog Archive Styles
========================================== */

/* Import blog styles from blog.css file for better organization */
/* Main blog archive styling is handled in assets/css/blog.css */

/* Blog post card hover effects */
.blog-post-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

/* Blog category filter sticky behavior */
.blog-category-filter {
    position: sticky;
    top: 0;
    z-index: 100;
    background: white;
    border-bottom: 1px solid #e5e5e5;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Blog date stamp animation */
.blog-date-stamp {
    animation: fadeInDown 0.6s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Blog share link notifications */
.blog-share-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #ff675b;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(255, 103, 91, 0.3);
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Blog responsive adjustments */
@media (max-width: 768px) {
    .blog-archive-page {
        margin-bottom: 100px;
    }

    .blog-post-card {
        margin-bottom: 30px;
    }

    .blog-filter-tabs {
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .blog-filter-tabs::-webkit-scrollbar {
        display: none;
    }
}
