/* Portfolio Layout */
.wp-portfolio-container {
    display: flex;
    /*gap: 30px;*/
    /*flex-wrap: wrap;*/
}

/* Sidebar with Categories */
.wp-portfolio-sidebar {
    width: 300px;
    background: #fff;
    padding: 20px;
}

.wp-portfolio-sidebar h3 {
    font-size: 18px;
    margin-bottom: 10px;
	    text-align: left;
}

.portfolio-filters {
    list-style: none;
    padding: 0;
}

.portfolio-filters li {
    cursor: pointer;
    padding: 10px;
    background: #fff;
    margin-bottom: 5px;
    border-radius: 5px;
    text-align: left;
    transition: 0.3s;
	font-weight:400;
}

.portfolio-filters li:hover,
.portfolio-filters li.active {
    background: #6ca12b;
    color: #fff;
}

/* Portfolio Grid */
.wp-portfolio-content {
    flex-grow: 1;
	padding-left:30px;
	padding-right:30px;
	margin-bottom:30px;
}

.astra-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Default: 3 columns on desktop */
    gap: 30px;
    flex-grow: 1;
}

/* Portfolio Items */
.portfolio-item {
    background: #fff;
    overflow: hidden;
    position: relative;
    display: inline-block;
}
.portfolio-thumbnail-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%; /* Adjust as needed */
    max-height: 300px; /* Prevents oversized scaling */
}


.portfolio-thumbnail:hover {
    transform: scale(1.2);
}

/* Thumbnail */
.portfolio-thumbnail {
  max-width: 100%;
    max-height: 400px;
    width: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.3s ease-in-out;
}


/* Title & Live Preview Button */
.portfolio-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
	    padding: 20px;
}

.portfolio-header h3 {
    font-size: 16px;
    margin: 0;
}

.portfolio-preview-btn {
    background: #6ca12b;
    color: #fff;
    padding: 6px 12px;
    border-radius: 100px;
    text-decoration: none;
    font-size: 14px;
}

.portfolio-preview-btn:hover {
    background: #f7f7f7;
    color: black;
}

/* Portfolio Tags */

.portfolio-tag {
    display: inline-block;
    /*background: #f1f1f1;
    padding: 5px 10px;
    border-radius: 5px;
	margin-right: 5px;*/
		padding:15px;
    font-size: 14px;
	font-weight:400;
    color:#7a7e82;

}
header.entry-header .entry-title {
    display: none;
}
/* Responsive Styles */
@media screen and (max-width: 1300px) { /* Tablet */
    .astra-portfolio-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
    }
}

@media screen and (max-width: 768px) { /* Mobile */
    .wp-portfolio-container {
        flex-direction: column; /* Stack items */
    }
	
	.wp-portfolio-content {
    padding-top: 30px;
}

    .wp-portfolio-sidebar {
        width: 100%; /* Full width on mobile */
    }

    .astra-portfolio-grid {
        grid-template-columns: 1fr; /* 1 column on mobile */
    }
}

.ast-single-post .entry-content a, .ast-comment-content a:not(.ast-comment-edit-reply-wrap a) {
    text-decoration: none;
}

.ast-single-post.ast-page-builder-template .site-main > article, .woocommerce.ast-page-builder-template .site-main, .ast-page-builder-template .post-navigation {
    padding-top: 0px;
    padding-left: 0px;
	    padding-right: 0px;
	
}

.entry-content ul, .entry-content ol {
    padding-left: 0px;
}

.load-more-container {
    text-align: center;
    margin-top: 20px;
}

#load-more-btn {
    background: #6ca12b;
    color: #fff;
    padding: 14px 20px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    border-radius: 100px;
	font-weight:400;
}

#load-more-btn:hover {
       background: #fff;
    color: black;
}
/* Skeleton Loading Effect */
/* Skeleton container for a portfolio item */
.portfolio-item.skeleton {
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 400px;
    padding: 20px;
    animation: pulse 1.5s infinite;
}

/* Skeleton for thumbnail */
.skeleton-thumbnail {
    background-color: #f7f7f7;
    height: 300px;
    width: 100%;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    margin-bottom: 15px;
}
.skeleton-thumbnail::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150px;
    width: 100px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: skeleton-loading 1.5s infinite;
}

/* Skeleton for title */
.skeleton-title {
    background-color: #f7f7f7;
    height: 20px;
    width: 70%;
    border-radius: 3px;
    position: relative;
    overflow: hidden;
    margin-bottom: 10px;
}
.skeleton-title::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150px;
    width: 100px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: skeleton-loading 1.5s infinite;
}

/* Skeleton for button */
.skeleton-button {
    background-color: #f7f7f7;
    height: 20px;
    width: 30%;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}
.skeleton-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150px;
    width: 100px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: skeleton-loading 1.5s infinite;
}

/* Shimmer animation */
@keyframes skeleton-loading {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(350px);
    }
}

/* Pulse effect */
@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}
.wp-portfolio-search {
    display: flex;
    align-items: center;
    background: #f5f5f5;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.wp-portfolio-search input[type="text"] {
    margin: 0;
    padding: 0 .25em;
    width: 100%;
    height: 2em;
    font-size: 1em;
    border: none;
    background-color: transparent;
    color: inherit;
    font-family: inherit;
    font-weight: inherit;
	    box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.05);
}

.wp-portfolio-search button {
    background: none;
    border: none;
    cursor: pointer;
}

.wp-portfolio-search .dashicons-search {
    font-size: 20px;
    color: #333;
}
.no-results-message {
    text-align: center;
    font-size: 18px;
    padding: 20px;
    color: #333;
    margin: 20px auto;
}
