/* Single Post Page Specific Styles */
.single-post-page .site-header.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
}

.post-hero-section {
    padding: 180px 0 100px;
    background-size: cover;
    background-position: center;
    position: relative;
    background-attachment: fixed;
}

.post-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(74, 35, 90, 0.9), rgba(0, 0, 0, 0.6));
}

.post-hero-section .container {
    position: relative;
    z-index: 2;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-item a:hover {
    color: #fff;
}

.breadcrumb-item.active {
    color: #fff;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

.tiny-text {
    font-size: 0.75rem;
}

/* Premium Glass Card Utility */
.glass-card-premium {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card-premium:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

/* Sidebar Styling */
.sidebar-widget {
    padding: 25px;
}

.widget-title {
    font-weight: 800;
    position: relative;
    padding-bottom: 12px;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.category-list li {
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
}

.category-list li:last-child {
    border-bottom: none;
}

.category-list a {
    color: #555;
    text-decoration: none;
    transition: all 0.3s;
    display: block;
}

.category-list a:hover {
    color: var(--primary-color);
    padding-right: 5px;
}

.latest-post-items a {
    text-decoration: none;
    transition: color 0.3s;
}

.latest-post-items a:hover {
    color: var(--primary-color) !important;
}

/* Content Styling */
.post-text-content {
    color: #444;
    font-size: 1.05rem;
}

.post-text-content h2,
.post-text-content h3 {
    color: var(--primary-dark);
}

.italic {
    font-style: italic;
}

.post-tags a {
    text-decoration: none;
    transition: all 0.3s;
}

.post-tags a:hover {
    background-color: var(--primary-color) !important;
    color: #fff !important;
    transform: translateY(-2px);
}

.post-share .btn {
    width: 35px;
    height: 35px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.post-share .btn:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    transform: scale(1.1);
}

/* Author Box */
.author-box img {
    border: 3px solid #fff;
}

/* Related Posts */
.related-posts-carousel .item {
    padding: 10px;
}

.related-posts-carousel .card {
    transition: transform 0.3s;
}

.related-posts-carousel .card:hover {
    transform: translateY(-5px);
}

.related-posts a {
    text-decoration: none;
    transition: color 0.3s;
}

.related-posts a:hover {
    color: var(--primary-color) !important;
}

/* Comments */
.comment-item:last-child {
    border-bottom: none !important;
}

.comment-list .comment-item img {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-control {
    padding: 12px 20px;
    border-radius: 12px;
    border: 1px solid #eee;
    background: rgba(255, 255, 255, 0.8);
}

.form-control:focus {
    box-shadow: 0 0 15px rgba(142, 68, 173, 0.1);
    border-color: var(--primary-light);
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .sidebar-widget {
        margin-top: 30px;
    }

    .post-hero-section {
        padding: 140px 0 60px;
    }
}