/**
Theme Name: Astra Child
Author: Rocky Mountain Code
Author URI: https://rockymountaincode.com/
Description: Child theme of Astra for customization
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/
body{
	background-color: #f2f2f2 !important;
}
.section-padding-y{
	padding-top: 40px;
	padding-bottom: 40px;
}

.section-bottom-padding{
	padding-bottom: 40px;
}

.elementor-widget-image-box .elementor-image-box-img img{
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
}

.design-icon .uagb-ifb-image-content {
    width: 150px !important;
    height: 150px;
    overflow: hidden;
    position: relative;
    margin: 0 auto 20px auto  !important;
    border-radius: 50%; /* 50% for clarity */
}

.design-icon .uagb-ifb-image-content img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* ensures circle without distortion */
}



.blog,
.archive,
.category {
    background: #F2F5F7;
}

body.single-post a:not(.wp-button, .ast-custom-button-link, .menu-link, .wp-block-button__link) {
    font-weight: 700;
    text-decoration: underline;
}

body.single-post .wp-block-uagb-image__figure img {
    border-radius: 12px;
}

.post .wp-block-uagb-image__figure{
	height: 100% !important;
}

.post .wp-block-uagb-image__figure img {
        height: 100% !important;
        margin: 30px 0;
        object-fit: cover;
        object-position:  center;
}

.ast-single-entry-banner[data-post-type=post] {
    padding: 0 0 4em 0 !important;
    border-top: 2px solid #ccc;
}

.ast-single-entry-banner[data-post-type=post] .ast-container {
    width: 100vw !important;
    max-width: 100vw;
    padding: 0;
}

.ast-single-entry-banner[data-post-type=post] img {
    max-height: 500px;
    width: 100%;
    object-fit: cover;
    object-position: center;
    -webkit-box-shadow: -2px 12px 16px -8px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: -2px 12px 16px -8px rgba(0, 0, 0, 0.75);
    box-shadow: -2px 12px 16px -8px rgba(0, 0, 0, 0.75);
}

/*post cards on archive page*/

.entry-title a:not(.ast-excerpt-container p) {
    color: #00558d !important;
}

.entry-title a:not(.ast-excerpt-container p):hover,
.entry-title a:not(.ast-excerpt-container p):active,
.entry-title a:not(.ast-excerpt-container p):focus {
    color: rgba(0, 85, 141, 0.7) !important;
}

.ast-article-post {
    background-color: #fff !important;
    border-radius: 12px;
    padding: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ast-article-post:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.ast-article-inner {
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
}

.ast-article-inner .wp-post-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/*portfolio page cards for hover effect*/
.port-cards {
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.port-cards:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

	.port-cards .uagb-ifb-image-content{
	height: 150px;
		width: 100%;
		overflow: hidden;
		margin-bottom: 20px;
		
}
	
	.port-cards .uagb-ifb-image-content img{
	width: 100% !important;
		height: 100% !important;
		object-fit: cover;
}

footer .widget-title{
	margin-bottom: 8px;
}

.ast-article-post,
.ast-related-post{
	    -webkit-box-shadow: 5px 5px 15px -7px #000000;
    box-shadow: 5px 5px 15px -7px #000000;
	border-radius: 8px;
}

.ast-article-post:hover,
.ast-related-post:hover{
	cursor: pointer;
}

.ast-article-post h2,
.ast-related-post h3{
	font-family: Inter;
}

.ast-related-post-title  a{
	text-decoration: none !important;
	line-height: 1.2 !important;
	margin-bottom: 10px !important;
}

.ast-related-post .entry-header{
	padding: 20px;
}

.ast-related-post-featured-section img{
	    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.video-bg-container {
  position: relative;
  overflow: hidden;
	
}

.video-bg-container video {
  position: absolute !important;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.video-bg-container::before {
  z-index: 1; /* Spectra overlay */
}

.video-bg-container > *:not(video) {
  position: relative;
  z-index: 2;
}

.ast-blog-layout-4-grid .ast-article-post{
		width: 100% !important;
	}


.author-header{
	margin: 100px 0;
}
@media(min-width: 200px) {
    body.single-post h1 {
        font-size: 1.5em !important;
        padding: 0 1.5em 1.5em 1.5em;
    }

    .ast-right-sidebar #secondary {
        display: none;
    }

    body.single-post .wp-block-uagb-image__figure img {
        height: 120px !important;
        margin: 20px 0;
    }



    .ast-article-post:not(:last-child) {
        margin-right: 0;
    }

    .ast-single-entry-banner[data-post-type=post] img {
        margin-bottom: 2em;
    }

}

.form-button button{
	background: #ff6e1d !important;
}
@media(min-width: 564px) {
    body.single-post h1 {
        font-size: 3em !important;
        padding: .5em 2em 10px 2em;
    }

    body.single-post .wp-block-uagb-image__figure img {
        height: 300px !important;
        margin: 30px 0;
    }



    .ast-article-post:not(:last-child) {
        margin-right: 32px;
    }
}

@media(min-width: 1024px) {
    .ast-right-sidebar #secondary {
        display: block;
        padding-left: 30px !important;
    }

    .blog .site-content,
    .archive .site-content,
    .category .site-content {
        padding: 0;
    }

    .ast-single-entry-banner[data-post-type=post] img {
        margin-bottom: 4em;
    }
	
	    .design-icon .uagb-ifb-image-content {
        width: 150px;
        height: 150px;
        margin: 0 20px 0 0 !important;
    }

    .design-icon .uagb-ifb-image-content img {
        width: 100%;
        height: 100%;
    }
	
	.port-cards .uagb-ifb-image-content{
        height: 200px;
        width: 350px;
        overflow: hidden;
        margin-bottom: 20px;
		
}
	
	.port-cards .uagb-ifb-image-content img{
	width: 100% !important;
		height: 100% !important;
		object-fit: cover;
}
	.ast-blog-layout-4-grid .ast-article-post{
		width: 30% !important;
	}
	
	.post .wp-block-uagb-image__figure{
	height: 300px !important;
}
	
	.section-padding-y{
	padding-top: 96px;
	padding-bottom: 96px;
}
	
	.section-bottom-padding{
	padding-bottom: 96px;
}
}

