/* 
Theme Name:		 VA Custom Theme
Theme URI:		 https://www.verticalaxion.com/
Description:	 VA Custom Theme is a child theme of BootScore.
Author:			 Vertical Axion LLC
Author URI:		 https://www.verticalaxion.com/
Template:		 bootscore-main
Version:		 1.0.0
Text Domain:	 bootscore-custom
*/


/*
    Add your custom styles here
*/

.share {
	margin-bottom: 15px;
}

.share:after {
  content: "";
  display: block;
  clear: both;
}

.fb-share-button span {
  vertical-align: top !important;
  padding-top: 3px;
}

.entry-content .twitter-share-button,
.twitter-share-button {
	margin-bottom: 0 !important;
}

.related-posts-container {
	display: flex;
	justify-content: space-between;
}

.related-post {
	width: 32%;
	padding: 15px;
	border-radius: 10px;
}

.related-post a {
	text-decoration: none;
	color: inherit;
}

.related-post-image {
	width: 100%;
	height: 200px;
	overflow: hidden;
	border-radius: 10px;
	background-color: #EEF5FE;
}

.related-post-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.post-date {
	font-size: 14px;
	color: #9dacc2;
	margin-top: 10px;
	margin-bottom: 10px;
}

.post-title {
	font-size: 18px;
	margin-bottom: 15px;
	font-weight: bold;
}

.post-excerpt {
	font-size: 14px;
	opacity: 0.8;
}

@media (max-width: 767.98px) {
    /* Hide the sidebar toggle button */
    .btn[data-bs-target="#sidebar"] {
        display: none !important;
    }
    
    /* Reset offcanvas behavior for mobile */
    #sidebar.offcanvas-md {
        position: static !important;
        transform: none !important;
        visibility: visible !important;
        background-color: transparent !important;
        border: none !important;
        width: 100% !important;
        height: auto !important;
        margin-top: 0 !important;
    }
    
    /* Hide offcanvas header on mobile since we're not using the slide-out */
    #sidebar .offcanvas-header {
        display: none !important;
    }
    
    /* Ensure sidebar content is visible */
    #sidebar .offcanvas-body {
        padding: 0 !important;
    }
    
    /* Ensure proper column order - sidebar after main content */
    .col-md-4.order-first.order-md-last {
        order: 2 !important;
    }
    
    .col-md-8.col-lg-9 {
        order: 1 !important;
    }
}

@media only screen and (max-width: 768px) {	
	.related-posts-container {
		flex-direction: column;
	}

	.related-post {
		width: 100%;
		margin-bottom: 20px;
	}
	
	.author-posts-link a {
		position: static;
	}
	
	.clearmobile {
    display: block !important;
    float: none !important;
    clear: both !important;
    margin: 10px auto !important;
  }
}