
/* =========================================
   Luxury Single Page Header
   ========================================= */
.sahly-page-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c3e50 100%);
    padding: 180px 0 100px; /* Space for fixed header */
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    margin-bottom: 60px;
}

.sahly-page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(var(--color-secondary-rgb), 0.2), transparent 50%);
    pointer-events: none;
}

.sahly-page-header .page-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.3;
    text-shadow: 0 10px 30px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
}

/* Breadcrumbs in Header */
.sahly-breadcrumbs-wrapper {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 10px 30px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.sahly-breadcrumbs-wrapper:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.sahly-breadcrumbs-wrapper a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.sahly-breadcrumbs-wrapper a:hover {
    color: var(--color-secondary);
}

.sahly-breadcrumbs-wrapper i {
    margin: 0 8px;
    font-size: 0.8rem;
    opacity: 0.7;
}

/* =========================================
   Luxury Single Content
   ========================================= */
.sahly-single-post {
    background: #fff;
    border-radius: 20px;
    padding: 60px;
    margin-bottom: 60px;
}

/* Meta Data Bar */
.entry-header .entry-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
    color: var(--color-text-light);
}

.entry-meta > span {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8f9fa;
    padding: 8px 15px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.entry-meta > span:hover {
    background: var(--color-primary);
    color: #fff;
}

.entry-meta i {
    color: var(--color-secondary);
    font-size: 1.1rem;
}

.entry-meta > span:hover i {
    color: #fff;
}

/* Table of Contents - Redesign */
.sahly-toc-container {
    background: #fff;
    border: 1px solid #eef0f2;
    border-radius: 15px;
    padding: 0;
    margin: 30px 0 50px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    overflow: hidden;
    position: relative;
}

.sahly-toc-container::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: var(--color-secondary);
}

.toc-header {
    background: #fcfcfc;
    padding: 20px 25px;
    border-bottom: 1px solid #eef0f2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.toc-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.toc-toggle {
    background: none;
    border: none;
    color: var(--color-text-light);
    cursor: pointer;
    font-size: 1rem;
    transition: transform 0.3s;
}

.sahly-toc-container.collapsed .toc-toggle {
    transform: rotate(180deg);
}

.sahly-toc {
    padding: 20px 25px;
}

.sahly-toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sahly-toc li {
    margin-bottom: 12px;
    position: relative;
}

.sahly-toc li:last-child {
    margin-bottom: 0;
}

.sahly-toc a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s;
    display: block;
    padding-right: 15px; /* RTL Space for bullet */
    position: relative;
}

.sahly-toc a::before {
    content: '•';
    color: var(--color-secondary);
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.2rem;
    line-height: 1.2;
}

.sahly-toc a:hover {
    color: var(--color-secondary);
    transform: translateX(-5px); /* Move left in RTL */
}

.sahly-toc .toc-sub-item {
    margin-right: 20px; /* Indent in RTL */
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .sahly-page-header {
        padding: 140px 0 60px;
    }
    
    .sahly-page-header .page-title {
        font-size: 2rem;
    }

    .sahly-single-post {
        padding: 25px; /* Less padding on mobile */
    }
    
    .entry-header .entry-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .entry-meta > span {
        width: 100%;
    }
}
