/* Main slider container */
.psp-slider {
    margin: 20px 0;
    position: relative;
}

/* Slide styles */
.psp-slide {
    padding: 0 15px;
    box-sizing: border-box;
}

/* Thumbnail styles */
/* .psp-slide-thumbnail {
    position: relative;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.psp-slide-thumbnail:hover {
    opacity: 0.9;
}

.psp-slide-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.psp-slide-thumbnail:hover img {
    transform: scale(1.05);
}

.psp-format-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 12px;
    text-transform: uppercase;
} */

/* Content styles */
.psp-slide-content {
    padding: 0 10px;
}

.psp-slide-category {
    display: inline-block;
    color: #3498db;
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 12px;
    text-transform: uppercase;
}

.psp-slide-title {
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 1.3;
}

.psp-slide-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.psp-slide-title a:hover {
    color: #3498db;
}

.psp-slide-meta {
    font-size: 12px;
    color: #777;
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.psp-slide-meta span {
    display: inline-flex;
    align-items: center;
}

.psp-slide-meta span:before {
    content: '·';
    margin-right: 5px;
}

.psp-slide-meta span:first-child:before {
    display: none;
}

.psp-slide-excerpt {
    margin-bottom: 15px;
    color: #555;
    font-size: 14px;
    line-height: 1.5;
}

.psp-read-more {
    display: inline-block;
    padding: 8px 15px;
    background: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 3px;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.psp-read-more:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

/* Slick slider overrides */
.slick-prev,
.slick-next {
    width: 40px;
    height: 40px;
    z-index: 1;
}

.slick-prev:before,
.slick-next:before {
    color: #3498db;
    font-size: 40px;
    opacity: 1;
}

.slick-prev {
    left: -20px;
}

.slick-next {
    right: -20px;
}

.slick-dots {
    bottom: -30px;
}

.slick-dots li button:before {
    color: #3498db;
    opacity: 0.5;
    font-size: 10px;
}

.slick-dots li.slick-active button:before {
    opacity: 1;
}

/* Responsive styles */
@media (max-width: 768px) {
    .psp-slide {
        padding: 0 10px;
    }

    .slick-prev {
        left: -10px;
    }

    .slick-next {
        right: -10px;
    }
}


/* Grid Layout Styles */
.psp-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.psp-grid .slick-list {
    overflow: visible;
}

.psp-grid-item {
    padding: 0 15px;
    margin-bottom: 30px;
}

.psp-grid-inner {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.psp-grid-inner:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.psp-grid-thumbnail {
    position: relative;
    overflow: hidden;
}

.psp-grid-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.psp-grid-thumbnail:hover img {
    transform: scale(1.1);
}

.psp-grid-category {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: #3498db;
    color: white;
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 11px;
    text-transform: uppercase;
    z-index: 1;
}

.psp-grid-content {
    padding: 20px;
}

.psp-grid-title {
    margin: 0 0 10px;
    font-size: 18px;
}

.psp-grid-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.psp-grid-title a:hover {
    color: #3498db;
}

.psp-grid-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12px;
    color: #777;
    margin-bottom: 15px;
}

.psp-grid-excerpt {
    color: #555;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.psp-grid-readmore {
    display: inline-block;
    padding: 8px 15px;
    background: #f8f9fa;
    color: #3498db;
    text-decoration: none;
    border-radius: 3px;
    font-size: 13px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.psp-grid-readmore:hover {
    background: #3498db;
    color: white;
}

/* List Layout Styles */
.psp-list-item {
    display: flex;
    margin-bottom: 30px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.psp-list-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.psp-list-thumbnail {
    flex: 0 0 40%;
    position: relative;
    overflow: hidden;
}

.psp-list-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 200px;
}

.psp-list-content {
    flex: 1;
    padding: 25px;
}

.psp-list-category {
    display: inline-block;
    color: #3498db;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 12px;
    text-transform: uppercase;
}

.psp-list-title {
    margin: 0 0 15px;
    font-size: 20px;
}

.psp-list-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.psp-list-title a:hover {
    color: #3498db;
}

.psp-list-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 13px;
    color: #777;
    margin-bottom: 15px;
}

.psp-list-excerpt {
    color: #555;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.psp-list-readmore {
    display: inline-block;
    padding: 8px 20px;
    background: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 3px;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.psp-list-readmore:hover {
    background: #2980b9;
}

/* Responsive Styles for List Layout */
@media (max-width: 768px) {
    .psp-list-item {
        flex-direction: column;
    }

    .psp-list-thumbnail {
        flex: 0 0 auto;
    }

    .psp-list-thumbnail img {
        min-height: 150px;
    }
}


/* Add Chips for Categories and Tags */
.psp-slide-thumbnail {
    position: relative;
    display: block;
    overflow: hidden;
    /*border-radius: 8px;*/ /* Match your design */
}

.psp-thumbnail-img {
    display: block;
    height: 300px !important;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.psp-thumbnail-overlay {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    z-index: 2;
}

.psp-category-chip,
.psp-format-chip {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: white;
    background-color: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    line-height: 1;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.psp-category-chip {
    background-color: rgba(52, 152, 219, 0.9); /* Semi-transparent blue */
}

.psp-format-chip {
    background-color: rgba(231, 76, 60, 0.9); /* Semi-transparent red */
}

/* Hover effects */
.psp-slide-thumbnail:hover .psp-thumbnail-img {
    transform: scale(1.03);
}

.psp-slide-thumbnail:hover .psp-category-chip {
    background-color: rgba(41, 128, 185, 0.9); /* Darker blue on hover */
}

.psp-slide-thumbnail:hover .psp-format-chip {
    background-color: rgba(192, 57, 43, 0.9); /* Darker red on hover */
}

.psp-category-chip,
.psp-format-chip {
    position: relative;
    overflow: hidden;
    padding: 4px 14px;
    border: none;
}

.psp-category-chip::before,
.psp-format-chip::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 100%);
    z-index: -1;
    border-radius: 16px;
}

@media (max-width: 768px) {
    .psp-thumbnail-overlay {
        top: 10px;
        left: 10px;
    }

    .psp-category-chip,
    .psp-format-chip {
        padding: 4px 10px;
        font-size: 10px;
    }
}

/* End of CSS for Chips */