/* 
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
*/

#sidebar .card-body {
	border: none;
	border-radius: 0;
}

#sidebar {
	background-color: #fff !important;
	box-shadow: 0 10px 10px -10px rgba(0,0,0,.15);
}

#sidebar h2.widget-title {
	color: #050505;
  line-height: 1.4;
  margin: 10px 0 15px;
  padding: 0 0 20px 0;
  position: relative;
  font-size: 14px;
  text-transform: uppercase;
	background-color: transparent;
	border-bottom: none;
}

#sidebar h2.widget-title::after,
#sidebar h2.widget-title::before {
	content: "";
	position: absolute;
	left: 0;
	bottom: 2px;
	height: 0;
}

#sidebar h2.widget-title::before {
	width: 100%;
	border-bottom: 1px solid #ececec;
}

#sidebar h2.widget-title::after {
	width: 50px;
	border-bottom: 1px solid #b1a276;
}

#sidebar .widget_nav_menu ul li a,
#sidebar .widget_categories ul li a {
	color: #747474;
	display: block;
	padding: 5px 0;
	position: relative;
	border-radius: 2px;
}

#sidebar .widget_nav_menu ul li a::before,
#sidebar .widget_categories ul li a::before {
	content: "";
	display: inline-block;
	margin-right: 12px;
	width: 8px;
	height: 2px;
	background: #e1e1e1;
	vertical-align: middle;
	transition: all .15s ease-out;
}

/* Individual Post Item */
.blog-post-item {
    background: #fff;
    padding: 40px;
    margin-bottom: 30px;
	box-shadow: 0 10px 10px -10px rgba(0,0,0,.15);
}

/* Post Title */
.blog-post-item .post-title {
    margin: 0 0 10px 0;
    font-size: 32px;
    line-height: 1.3;
}

.blog-post-item .post-title a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s;
}

.blog-post-item .post-title a:hover {
    color: #a88f6f;
}

/* Post Meta */
.blog-post-item .post-meta {
    margin-bottom: 25px;
    font-size: 11px;
    color: #999;
}

.blog-post-item .post-meta .post-author {
    margin-left: 5px;
}

.blog-post-item .post-meta .post-author a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s;
}

.blog-post-item .post-meta .post-author a:hover {
    color: #b1a276;
}

/* Post Content Wrapper */
.post-content-wrapper {
    display: flex;
    gap: 30px;
    margin-bottom: 25px;
}

.post-content-wrapper .post-thumbnail {
    flex: 0 0 350px;
}

.post-content-wrapper .post-thumbnail a {
    display: block;
    border-bottom: 5px solid #b1a276;
    position: relative;
}

.post-content-wrapper .post-thumbnail img {
    width: 100%;
    height: 350px;
    display: block;
    object-fit: cover;
    position: relative;
    transition: all .2s ease-out;
}

.post-content-wrapper .post-thumbnail a:hover img {
    opacity: 0.8;
}

.post-content-wrapper .post-thumbnail a::after {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	border-radius: 3px;
	box-shadow: inset 0 0 0 3px hsla(0,0%,100%,.15);
 	transition: box-shadow .2s ease-out,background-color .2s ease-out;
}

.post-content-wrapper .post-thumbnail a:hover::after {
	box-shadow: 0 0 0 5px #b1a276 inset;   
}

.post-content-wrapper .post-excerpt {
    flex: 1;
    color: #666;
    line-height: 1.8;
}

/* Read More Button */
.post-content-wrapper .read-more-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background: #a88f6f;
    color: #fff !important;
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 1px;
    font-weight: 600;
    transition: background 0.3s;
}

.post-content-wrapper .read-more-btn:hover {
    background: #8f7a5f;
}

/* Post Footer */
.blog-post-item .post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
    font-size: 11px;
    letter-spacing: 0.5px;
    color: #999;
}

.blog-post-item .post-categories i {
    margin-right: 5px;
}

.blog-post-item .post-categories a,
.blog-post-item .post-comments a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s;
    text-transform: uppercase;
}

.blog-post-item .post-categories a:hover,
.blog-post-item .post-comments a:hover {
    color: #b1a276;
}

/* Pagination */
.custom-pagination {
    text-align: center;
    margin: 50px 0;
}

.custom-pagination ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-flex;
    gap: 10px;
    font-size: 14px;
}

.custom-pagination li {
    display: inline-block;
}

.custom-pagination a,
.custom-pagination .current {
    display: block;
    padding: 10px 15px;
    background: #fff;
    border: 2px solid transparent;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
    min-width: 42px;
    text-align: center;
    border-radius: 3px;
}

.custom-pagination .current {
    border-color: #ddd;
    font-weight: 600;
}

.custom-pagination li:has(.dots) {
    padding-top: 8px;
}

/* Single Post Styles */
.single-post-article {
  max-width: 100%;
}

.single-post-title {
  font-size: 36px;
  line-height: 1.3;
  margin-bottom: 15px;
  font-weight: 400;
}

.single-post-meta {
  font-size: 11px;
  letter-spacing: 0.5px;
  color: #999;
  margin-bottom: 30px;
}

.single-post-meta .meta-separator {
  margin: 0 8px;
}

.single-post-meta a {
  color: #000;
  text-decoration: none;
  transition: color 0.3s;
}

.single-post-meta a:hover {
  color: #a88f6f;
}

.single-post-content-wrapper {
  margin-bottom: 30px;
}

.single-post-thumbnail {
  float: left;
  margin-right: 30px;
  margin-bottom: 20px;
  width: 100%;
  max-width: 350px;
  height: 350px;
  overflow: hidden;
}

.single-post-thumbnail {
	position: relative;
}

.single-post-thumbnail img {
	position: relative;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	transition: all .2s ease-out;
}

.single-post-thumbnail a:hover img {
    opacity: 0.8;
}

.single-post-thumbnail a::after {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	border-radius: 3px;
	box-shadow: inset 0 0 0 3px hsla(0,0%,100%,.15);
 	transition: box-shadow .2s ease-out,background-color .2s ease-out;
}

.single-post-thumbnail a:hover::after {
	box-shadow: 0 0 0 5px #b1a276 inset;   
}

.single-post-content {
  overflow: visible;
  color: #666;
  line-height: 1.8;
  font-size: 16px;
}

.single-post-content p {
  margin-bottom: 20px;
}

/* Social Share Buttons */
.single-post-share {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 0;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  margin-bottom: 40px;
}

/* Related Posts */
.related-posts-section {
  margin-top: 50px;
  clear: both;
}

.related-posts-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 30px;
  text-align: center;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.related-post-item {
  text-align: center;
}

.related-post-thumbnail {
  margin-bottom: 15px;
  height: 180px;
  overflow: hidden;
}

.related-post-thumbnail img {
  width: 100%;
  height: 180px;
  transition: transform 0.3s;
  object-fit: cover;
  object-position: center center;
}

.related-post-thumbnail:hover img {
  transform: scale(1.05);
}

.related-post-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.related-post-title a {
  color: #000;
  text-decoration: none;
  transition: color 0.3s;
}

.related-post-title a:hover {
  color: #a88f6f;
}


/* Sidebar Recent Posts */
.sidebar-recent-posts {
    background: #fff;
}

.sidebar-post-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #e5e5e5;
}

.sidebar-post-item:last-child {
    border-bottom: none;
}

.sidebar-post-thumb {
    flex: 0 0 55px;
}

.sidebar-post-thumb img {
    width: 55px;
    height: 55px;
    object-fit: cover;
    display: block;
}

.sidebar-post-content {
    flex: 1;
    min-width: 0;
}

.sidebar-post-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 8px 0;
}

.sidebar-post-title a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s;
}

.sidebar-post-title a:hover {
    color: #a88f6f;
}

.sidebar-post-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* Posts Slider Styles */
.posts-slider-wrapper {
    position: relative;
    padding: 20px 0;
}

.posts-slider {
    margin: 0;
    padding: 0;
    list-style: none;
    height: auto;
    height: auto !important;
    position: relative !important;
}

.post-slide-item {
    float: left;
    margin: 0;
    padding: 0 10px;
}

.post-slide-link {
    display: block;
    text-decoration: none;
    color: inherit;
	position: relative;
}

.post-slide-link::after {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	right: 0;
	border-radius: 3px;
	box-shadow: inset 0 0 0 3px hsla(0,0%,100%,.15);
	transition: box-shadow .2s ease-out,background-color .2s ease-out;
}

.post-slide-link:hover::after {
	box-shadow: 0 0 0 5px #b1a276 inset;
}

.post-slide-image {
    position: relative;
    border-radius: 4px;
    margin-bottom: 35px !important;
}

.post-slide-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.post-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.plus-icon {
    color: #fff;
    font-size: 48px;
    font-weight: 300;
    line-height: 1;
}

.posts-slider-wrapper .read-more-btn {
    position: absolute;
    left: -10px;
    bottom: 16px;
    color: #fff;
    padding: 11px 14px;
    background: #ecc03e;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    margin: 0;
    border-radius: 2px;
    z-index: 1;
    transition: all 0.3s ease;
}

.post-slide-link:hover .read-more-btn {
    left: 15px;
    background: #fff;
    color: #b1a276;
}

.post-slide-item:hover .post-slide-overlay {
    opacity: 1;
}

.post-slide-content {
    padding: 0;
}

.post-meta {
    display: block;
    font-size: 11px;
    color: #7d7d7d;
    margin-bottom: 5px;
    line-height: 1.6;
}

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

.post-meta a:hover {
    color: #CD2122;
}

.post-title {
    font-style: italic;
    font-size: 16px;
    line-height: 1.4;
    margin-top: 10px;
    margin-bottom: 0;
    font-weight: 400;
    color: #333;
}

/* Slick Arrows */
.posts-slider-wrapper .slick-arrow {
    position: absolute;
    top: -45px;
    right: 40px;
    width: 36px;
    height: 36px;
    background: #fff;
    border: none;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
}

.posts-slider-wrapper .slick-arrow:hover {
    opacity: 1;
}

.posts-slider-wrapper .slick-arrow:hover svg {
    stroke: #000;
}

.posts-slider-wrapper .slick-arrow svg {
    stroke: #333;
}

.posts-slider-wrapper .slick-prev {
    right: 45px;
}

.posts-slider-wrapper .slick-next {
    right: 0;
}

.posts-slider-wrapper .slick-arrow.slick-disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

@media (max-width: 768px) {
	.posts-slider-wrapper {
		padding-bottom: 50px;
	}
    .posts-slider-wrapper .slick-arrow {
        top: auto;
        bottom: -50px;
    }

    .posts-slider-wrapper .slick-prev {
        right: auto;
        left: 50%;
        margin-left: -50px;
    }

    .posts-slider-wrapper .slick-next {
        right: auto;
        left: 50%;
        margin-left: 10px;
    }

    .posts-slider-wrapper::before {
        display: none;
    }
}

/* Responsive */
@media (max-width: 768px) {
  .single-post-thumbnail {
    float: none;
    margin-right: 0;
    max-width: 100%;
  }
  
  .related-posts-grid {
    grid-template-columns: 1fr;
  }

    .blog-post-item {
        padding: 20px;
    }
    
    .post-content-wrapper {
        flex-direction: column;
    }
    
    .post-thumbnail {
        flex: 0 0 auto;
    }
    
    .post-footer {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}