/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */

@font-face {
    font-family: 'montserrat';
    src: url('fonts/montserrat.woff2') format('woff2'),
        url('fonts/montserrat.woff') format('woff');
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --theme-font-family: 'montserrat', sans-serif;
    --theme-content-spacing: 1.3em;
}

body {
    font-family: 'montserrat', sans-serif;
    overflow-y: scroll;
}

button:focus {
    outline: none;
}

a svg path {
    stroke: currentcolor;
}

svg {
    transition: all 0.3s cubic-bezier(0.42, 0, 0.58, 1);
}

/* display_menu shortcode css start */
.shortcode-menu-list-info {
    font-size: 0.75em;
}

.shortcode-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.shortcode-menu-list li {
    border-bottom: 1px solid var(--theme-palette-color-7);
}

.shortcode-menu-list li:first-child {
    border-top: 1px solid var(--theme-palette-color-7);
}

.shortcode-menu-list li a {
    display: inline-block;
    padding: 12px 0;
    transition: all 0.4s ease-in-out;
}

.shortcode-menu-list li a:hover {
    transform: translatex(12px);
}

/* display_menu shortcode css end */
/* common css for homepage-blog & services & favorite-services shortcode start */
.services-list,
.f-services,
.homepage-blog {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 30px;
}

.services-list .item,
.f-services .item,
.homepage-blog .item {
    display: flex;
    flex-direction: column;
}

.services-list .image,
.f-services .image,
.homepage-blog .image {
    width: 100%;
	aspect-ratio: 6/5;
    overflow: hidden;
    border-radius: 12px;
}
.home .services-list .image,
.home .f-services .image {
    background-color: #ffffff12;
}

.homepage-blog .image {
    background-color: rgba(0, 0, 0, 0.05);
}

.services-list .image img,
.f-services .image img,
.homepage-blog .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s ease-in-out;
}

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

    .services-list,
    .f-services,
    .homepage-blog {
        grid-template-columns: 1fr 1fr;
    }
}

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

    .services-list,
    .f-services,
    .homepage-blog {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

/* common css for homepage-blog & services & favorite-services shortcode end */
/* individual for homepage-blog & services & favorite-services shortcode start */
.services-list .content {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: nowrap;
    margin-top: 22px
}

.home .f-services h3,
.home .services-list h3 {
    color: #fff;
}
.services-list .content .icon{
	display: inline-block;
	width: 42px;
	height: 42px;
	line-height: 42px;
	text-align: center;
	border: 2px solid #fff;
	border-radius: 50%;
	flex-shrink: 0;
	background-color: transparent;
	transition: all 0.3s ease-in-out;
}
.services-list .content svg {
	width: 18px;
    color: #fff;
    transform: rotate(-30deg);
    transition: all 0.3s ease-in-out;
}

.services-list .item:hover img {
    transform: scale(1.2);
}

.services-list .item:hover .icon {
	background-color: #fff;
}
.services-list .item:hover svg {
    color: black;
	transform: rotate(0deg);
}
.f-services .btn-wrapper,
.homepage-blog .btn-wrapper {
    padding: 15px 0;
}
.homepage-blog .btn-wrapper {
    margin-top: auto;
}
.f-services .btn-wrapper svg,
.homepage-blog .btn-wrapper svg {
    margin-left: 10px;
    transition: transform 0.3s ease-in-out;
}

.f-services .btn-wrapper a:hover svg,
.homepage-blog .btn-wrapper a:hover svg {
    transform: translatex(12px);
}

.f-services .btn-wrapper {
    border-top: 2px solid rgba(255, 255, 255, 0.25);
}

.f-services .btn-wrapper a{
	color: #fff;
}

.homepage-blog .btn-wrapper {
    border-top: 2px solid #ccc;
}

.f-services h3 {
   margin-top: 18px;
   margin-bottom: 12px;
}

.homepage-blog h3 {
    margin-top: 15px;
	margin-bottom: 30px;
}

.f-services .excerpt {
    color: var(--theme-palette-color-3);
    margin: 0;
}

.f-services .starting-price {
    color: #fff;
    font-weight: 600;
	padding-bottom: 15px;
}

@media screen and (max-width: 1099.98px) {
	.services-list .content .icon{
	width: 34px;
	height: 34px;
	line-height: 34px;
}
}

/* individual for homepage-blog & services & favorite-services shortcode end */
/* services-in-sidebar shortcode css start */
.sidebar-services li {
    margin: 4px 0;
}

.sidebar-services a {
    font-weight: 500;
    color: var(--theme-palette-color-4);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 8px 10px;
    border-radius: 8px;
    transition: all 0.5s;
}

.sidebar-services svg {
    transform: rotate(-40deg);
    border: 1px solid;
    width: 34px;
    height: 34px;
    padding: 8px;
    border-radius: 50%;
}

.sidebar-services .active a,
.sidebar-services a:hover {
    color: #fff;
    background-color: var(--theme-palette-color-4);
}

.sidebar-services .active a svg,
.sidebar-services a:hover svg {
    transform: rotate(0deg);
}

.services-dropdown-toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 8px 15px;
    border: 2px solid;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
}

.services-dropdown-toggle .icon {
    font-size: 36px;
    line-height: 20px;
    transition: all 0.3s;
}

.services-dropdown-toggle[aria-expanded="true"] .icon {
    transform: rotate(90deg);
}

.services-dropdown {
    width: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 10px;
    padding: 5px;
    background-color: #fff;
    border: 2px solid;
    border-radius: 10px;
    overflow: hidden;
    z-index: 5;
    transition: opacity 0.3s;
}

.services-dropdown.open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.services-dropdown-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    height: 315px;
    overflow-x: hidden;
    overflow-y: auto;
}

.services-dropdown a {
    display: inline-block;
    font-size: 18px;
    font-weight: 500;
    color: var(--theme-palette-color-4);
    padding: 8px 20px;
}

/* services-in-sidebar shortcode css end*/
/* single and blog post css start */
.blog  main .ct-container,
.single-post [data-sidebar] {
    padding-top: 80px;
    padding-bottom: 80px;
}
.blog .hero-section,
.single-post .hero-section {
    width: var(--theme-container-width);
    max-width: var(--theme-normal-container-max-width);
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 20px;
	padding: 0 40px;
    border-radius: 30px;
    overflow: hidden;
}
.single-post img.wp-post-image{
	max-height: 700px;
	object-fit: cover;
	object-position: top center;
}
.single-post p img {
    width: 20px;
}

.single-post hr {
    margin-left: 0;
    background-color: #ccc;
}

.single-post .ct-comments {
    padding: 40px;
    border-radius: 20px;
    background-color: var(--wp--preset--color--palette-color-7);
}

@media screen and (max-width: 1000px) {
	.blog main .ct-container,
    .single-post [data-sidebar] {
        padding-top: 50px;
        padding-bottom: 50px;
    }
}

@media screen and (max-width: 600px) {
	.blog .hero-section,
	.single-post .hero-section {
		padding: 0 20px;
		border-radius: 20px;
	}
    .single-post .ct-comments {
        padding: 30px 25px;
    }
}

/* single and blog post css end */
/* xxl device gap css */
@media screen and (min-width: 1400px) {
.services-list, 
	.f-services, 
	.homepage-blog {
        gap: 40px;
    }
}