/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/


.main-navigation.sticky-navigation-transition {
	background: white;
}
body{
	overflow-x: hidden !important;
}
.con ul{
	    display: flex;
    justify-content: end;
}
.con .socl-p{
	    margin-right: 10px;
}
.con .socl-p i{
	    margin-right: 10px;
}
.con ul li a{
	    color: #ffff;
/*     font-weight: 500; */
    font-size: 17px;
}
.con .socl-icn{
	padding: 0px 10px;
    border-left: 1px solid rgba(255, 255, 255, 0.22);
}
a{
	text-decoration: none !important;
}
.inside-top-bar{
	padding: 10px 0px;
}
/* .inside-site-info{
	    display: flex;
    justify-content: space-between !important;
} */
 .copyright-bar {
    width: 100%;
    display: flex;

    justify-content: space-between;
}
.copyright-bar p{
	    margin-bottom: 0em;
}
.con {
    display: flex;
    gap: 10px;
 
	
}
.footer-widgets ul li a:after {
    font-family: fontawesome;
    content: "\f054";
    margin-right: 12px;
    opacity: 0.9;
    position: absolute;
   left: 0px;
    font-size: 10px;
    top: 3px;
}
.footer-widgets ul li{
	    padding-left: 21px;
}
.site-footer p{
	color: #ffff;
}
.site-footer a{
	color: #ffff;
}
.site-footer i{
	color: #ffff;
}
.footer-widgets .widget-title{
		color: #ffff;
}
.footer-widgets .widget-title:after {
    content: "";
    border-bottom: 2px solid #ffffffb3;
    display: block;
    width: 20%;
    margin-right: auto;
    margin-top: 20px;
}
.main-navigation .main-nav ul li a{
	 
}

.nav-c{
	background-color: #36478e;
    padding-left: 0px;
    padding-right: 13px;
/*     border-left: 1px solid rgba(255, 255, 255, 0.22); */
	    margin-left: 20px;
}
.nav-c a:after{
	font-family: fontawesome; 
	 content: "\f061";
	position: absolute;
    right: 7px;
}
.nav-c a{
    padding-left: 12px;
}
.main-navigation .main-nav ul li a{
	    line-height: 40px;
}
.main-navigation.sticky-navigation-transition .main-nav .nav-c a{
	        line-height: 48px;
        color: #ffff;
}
.sub-menu{
	    border-bottom: 3px solid #36478e;
}


.footer-widget-4 .widget-title{
	  opacity:0;
}
.nav-c a{
	color: #ffff !important;
}
.breadcrumbs{
	    background-image: url("https://sangareandassociates.com/blog/wp-content/uploads/2024/09/titlebar-img.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 15px 0px 4px;
}
.breadcrumbs p{
	    font-family: Crimson Pro;
	font-weight: 400;
    font-size: 35px;
    line-height: 42px;
    color: #fff !important;
    margin-bottom: 10px;
}
.breadcrumbs h1{
	    font-family: Crimson Pro;
	font-weight: 400;
    font-size: 35px;
    line-height: 42px;
    color: #fff !important;
    margin-bottom: 10px;
}
.breadcrumbs .bread-crumbs {
    margin-top: 10px;
    margin-bottom: 1.2rem;
    display: flex;
    list-style: none;
    flex-wrap: wrap;

    padding-left: inherit;
    margin-left: 0px;
    color: white;
    text-decoration: none;
}
.breadcrumbs .bread-crumbs li {
    margin-right: 20px;
    padding-left: 0;
    color: white;
    position: relative;
    margin-bottom: 0px;
}
.breadcrumbs .bread-crumbs li a {
        font-weight: 500;
    font-size: 14px;
    line-height: 22px;
    color: #fff;
}
.breadcrumbs .bread-crumbs li:first-child::after {
    content: ' >';
    position: absolute;
    top: 3px;
    right: -16px;
    left: auto;
    width: auto;
    height: auto;
    border-radius: 0;
    background-color: transparent;
    font-weight: 400;
    font-size: 17px;
    color: white;
}
/* .breadcrumbs .bread-crumbs li:nth-child(2)::after {
    content: ' >';
    position: absolute;
    top: 3px;
    right: -16px;
    left: auto;
    width: auto;
    height: auto;
    border-radius: 0;
    background-color: transparent;
    font-weight: 400;
    font-size: 17px;
    color: white;
} */
.social-f i {
    color: #fff;
    font-size: 20px;
    margin-right: 10px;
}
@media (max-width: 767px){
	.top-bar{
		display: none;
	}
	.wp-block-image .alignright{
	    display: contents;
}
.wp-block-image .alignright img{
	    margin-bottom: 12px;
}
 ul, ol {
	margin: 0px 0px 10px 20px !important;
}
		.main-navigation .main-nav ul li[class*="current-menu-"] > a{
		color: #fff !important;
	}
	.mobile-menu-control-wrapper .menu-toggle{
		    background-color: transparent;
	}
	    .inside-footer-widgets>div:not(:last-child) {
        margin-bottom: 15px;
    }
	.footer-widget-4 {
    margin-top: 0px;
}
	
	.footer-widget-4	.widget-title{
		display:none;
	}
	
	
	#block-16{
		display:none;
	}
	.site-header{
		    padding-top: 10px !important;
	}
	.inside-header{
		padding: 0px !important;
	}
	.main-navigation .main-nav ul li a{
		color: #ffff;
	
}
	.inside-header .site-logo {
		padding-left: 10px;
	}
	.breadcrumbs{
			padding-left: 10px;
	}
	#primary-menu{
		    background-color: #313538;
		    border-top: 3px solid #36478e;
		        margin-top: 10px;
	}
	.main-navigation.toggled .main-nav li{
		    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
	}
	.nav-c{
		display: none;
	}
	.sticky-navigation-transition .menu-toggle{
		    color: black;
		
	}
	
	.main-navigation.has-sticky-branding.navigation-stick .menu-toggle{flex-grow: 1; padding-right: 0px;}	
	
	
	.copyright-bar{
		display: block;
	}
}
.main-navigation .main-nav ul li[class*="current-menu-"] > a {
        border-bottom: 1px solid #36478e;
}
.main-navigation .main-nav ul li a {
	margin-left: 20px;
padding-left: 0px;
	    padding-right: 0px;
}
.nav-c a{
	padding-right: 20px !important;
}
.footer-widget-4{
	flex: 0 0 29.33333333% !important;
}
.footer-widget-2{
	    flex: 0 0 15.33333333% !important;
}
.con-g{
	  display:flex;
	gap:15px
    margin-bottom: 15px;
}

.con-f{
	   
    margin-bottom: 15px;
}
.main-navigation.sticky-navigation-transition .main-nav > ul > li > a{
	        line-height: 40px;
}
@media (min-width: 767px) {
	.menu-item-has-children .dropdown-menu-toggle{
		    display: none;
	}

}
.main-navigation .main-nav ul li[class*="current-menu-"] > a:hover{
	    background: white;
	color: #36478e;
}
.main-navigation .main-nav ul li[class*="current-menu-"] > a{
	color: #36478e;
}
.sub-menu li a{
	margin-left: 0px !important;
}
.footer-widget-3{
	    flex: 0 0 29.33333333% !important;
}
.sp-pcp-post .sp-pcp-title, .sp-pcp-post .sp-pcp-title a{
	    font-size: 25px;
    line-height: 34px;
}
#pcp_wrapper-482 .pcp-readmore-link:hover {
    background-color: white;
    color: #000;
    border-color: #000;
}
#pcp_wrapper-495 .pcp-readmore-link:hover{
	  background-color: white;
    color: #000;
    border-color: #000;
}
.pcp-wrapper-495 .sp-pcp-post-meta li a:hover{
	 color: #000;
}
.sp-pcp-readmore{
	display:none;
}
.pcp-wrapper-482 .sp-pcp-title a{
	color:#36478e
}

.wp-block-latest-posts.wp-block-latest-posts__list li a{color:#36478e}



.svg img{
	margin-top 15px !important;
}
.site-footer a{
    width: 22px !important;
}
#post-483 .entry-header{
	text-align: center;
	padding-top: 15px;
}
.entry-content:not(:first-child), .entry-summary:not(:first-child), .page-content:not(:first-child) {
    margin-top: 0px;
}

.sp-pcp-post .sp-pcp-title {
    border-bottom: 1px solid #EDEDED;
    position: relative;
    padding-bottom: 10px;
    font-size: 25px;
}

.sp-pcp-post .sp-pcp-title:after {
    content: "";
    bottom: 0px;
    left: 0;
    width: 50px;
    height: 1px;
    position: absolute;
    background: #CCA876;
}

.wp-block-latest-posts.wp-block-latest-posts__list li{    border-bottom: 1px solid #EDEDED;
    position: relative;
    padding-bottom: 10px;}

.generate-columns .inside-article .entry-header .entry-title{
    border-bottom: 1px solid #EDEDED;     margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
    font-size: 25px;
}
.generate-columns .inside-article .entry-header .entry-title a{color: #36478e;}
.generate-columns .inside-article .entry-header .entry-title:after {
    content: "";
    bottom: 0px;
    left: 0;
    width: 50px;
    height: 1px;
    position: absolute;
    background: #CCA876;
}

/* Author Box Container */
.author-box {
    display: flex;
    align-items: center; /* Vertically align center */
    background-color: #f8f9fa; /* Light gray background */
    padding: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
    border-radius: 5px;
    border: 1px solid #e2e2e2;
}

/* Avatar Image */
.author-box-avatar {
    margin-right: 30px;
    flex-shrink: 0; /* Prevents image from shrinking on mobile */
}

.author-box-avatar img {
    border-radius: 50%; /* Makes image circular */
    display: block;
}

/* Title and Bio */
.author-box-title {
    margin-bottom: 10px;
    font-size: 20px;
}

.author-box-bio {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.6;
}

.author-box-link {
    font-size: 14px;
    font-weight: bold;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .author-box {
        flex-direction: column;
        text-align: center;
    }

    .author-box-avatar {
        margin-right: 0;
        margin-bottom: 15px;
    }
}



/* =========================================
   AUTHOR PAGE SPECIFIC FIXES
   ========================================= */

/* 1. FIX COLUMN CONFLICT
   Override GeneratePress grid classes ONLY on Author Page.
   GP adds width: 50% to .generate-columns, but since we are already 
   inside a 33% custom column, we must force the card to be 100% of that space.
*/
.author .custom-post-card.generate-columns {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 2. FIX BACKGROUND EDGE-TO-EDGE
   Remove default margins from the main container so background colors touch edges.
*/
.author .site-main {
    margin: 0 !important;
}

/* 3. LAYOUT SPACING
   Add padding since we removed the default container margins.
*/
.author-bio-wrapper,
.author-posts-wrapper {
    padding: 30px 0;
    width: 100%;
}

.bg-light {
    background-color: #f6f6f6;
}

/* 4. CUSTOM GRID SYSTEM
   Ensures your columns work independently of GeneratePress grid.
*/
.custom-flex-row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -20px;
    margin-left: -20px;
}

.vertical-center {
    align-items: center;
}

.custom-col-100, .custom-col-70, .custom-col-30, .custom-col-33 {
    padding-right: 20px;
    padding-left: 20px;
    box-sizing: border-box;
}

.custom-col-100 { width: 100%; }
.custom-col-70  { width: 70%; }
.custom-col-30  { width: 30%; }
.custom-col-33  { width: 33.33%; margin-bottom: 40px; }

/* 5. CARD STYLING & IMAGE FIX */
.custom-post-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #eee; /* Optional border for definition */
}

/* Ensure image fills the card width */
.card-image img {
    width: 100%; 
    height: 220px;
    object-fit: cover;
    display: block;
}

.card-content {
    padding: 25px;
   
}

.card-excerpt {
    margin-bottom: 20px;
    
} .card-excerpt p{margin-bottom:0;}

/* 6. MOBILE RESPONSIVENESS */
@media (max-width: 768px) {
    .custom-col-70, 
    .custom-col-30, 
    .custom-col-33 {
        width: 100%;
    }
    
    .author-bio-wrapper {
        text-align: center;
    }
    
    .vertical-center {
        flex-direction: column-reverse;
    }
    
    .author-avatar-box {
        margin-bottom: 25px;
    }
}

#pcp_wrapper-482 .pcp-post-pagination .page-numbers.current, #pcp_wrapper-482 .pcp-post-pagination a.active, #pcp_wrapper-482 .pcp-post-pagination a:hover {
    color: #ffffff;
    background: #36478e;
    border-color: #36478e;
}

