/* Single Post Page - Premium Professional Design */
:root {
    --single-post-primary: #016A6E;
    --single-post-secondary: #0A8B8F;
    --single-post-accent: #F3BD01;
    --single-post-bg: #f8fcff;
    --single-post-text: #1a1a1a;
    --single-post-muted: #64748b;
    --single-post-light: #ffffff;
    --single-post-space-xs: 8px;
    --single-post-space-sm: 16px;
    --single-post-space-md: 24px;
    --single-post-space-lg: 32px;
    --single-post-space-xl: 48px;
    --single-post-space-2xl: 64px;
    --single-post-radius: 16px;
    --single-post-radius-lg: 24px;
    --single-post-font-elegant: 'IRANSansWeb', sans-serif;
    --single-post-shadow-sm: 0 2px 8px rgba(1, 106, 110, 0.08);
    --single-post-shadow: 0 8px 32px rgba(1, 106, 110, 0.12);
    --single-post-shadow-lg: 0 16px 48px rgba(1, 106, 110, 0.2);
    --single-post-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Main Container */
.single-post-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--single-post-space-2xl) var(--single-post-space-lg);
    background: linear-gradient(135deg, #ffffff 0%, var(--single-post-bg) 50%, #ffffff 100%);
    min-height: 100vh;
    overflow: visible;
}

/* Single Post Grid */
.single-post-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: var(--single-post-space-2xl);
    align-items: start;
}

/* Breadcrumb Navigation */
.post-breadcrumb {
    margin-bottom: var(--single-post-space-xl);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--single-post-space-sm);
    list-style: none;
    padding: 0;
    margin: 0;
    font-family: var(--single-post-font-elegant);
    font-size: 0.95rem;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item a {
    color: var(--single-post-primary);
    text-decoration: none;
    transition: var(--single-post-transition);
    padding: 6px 12px;
    border-radius: 8px;
}

.breadcrumb-item a:hover {
    color: var(--single-post-secondary);
    background: rgba(1, 106, 110, 0.05);
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: var(--single-post-muted);
    font-weight: 600;
    padding: 6px 12px;
}

.breadcrumb-separator {
    color: var(--single-post-muted);
    margin: 0 4px;
}

.rtl-section .breadcrumb-list {
    direction: rtl;
}

.ltr-section .breadcrumb-list {
    direction: ltr;
}

/* Single Post Main */
.single-post-main {
    min-width: 0;
}

/* Single Post Article */
.single-post {
    background: linear-gradient(145deg, #ffffff 0%, var(--single-post-bg) 100%);
    border-radius: var(--single-post-radius-lg);
    box-shadow: var(--single-post-shadow);
    border: 1px solid rgba(1, 106, 110, 0.1);
    overflow: visible;
    transition: var(--single-post-transition);
}

.single-post:hover {
    box-shadow: var(--single-post-shadow-lg);
}

/* Hero Image */
.post-hero-image {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(1, 106, 110, 0.1) 0%, rgba(1, 106, 110, 0.05) 100%);
}

.post-hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.single-post:hover .hero-image {
    transform: scale(1.05);
}

/* Content Wrapper */
.post-content-wrapper {
    padding: var(--single-post-space-2xl);
}

/* Entry Header */
.entry-header {
    margin-bottom: var(--single-post-space-xl);
    padding-bottom: var(--single-post-space-lg);
    border-bottom: 2px solid rgba(1, 106, 110, 0.1);
}

/* Entry Meta */
.entry-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--single-post-space-md);
    margin-bottom: var(--single-post-space-lg);
    font-family: var(--single-post-font-elegant);
    font-size: 0.95rem;
    color: var(--single-post-muted);
}

.entry-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(1, 106, 110, 0.05) 0%, rgba(1, 106, 110, 0.02) 100%);
    border-radius: 50px;
    border: 1px solid rgba(1, 106, 110, 0.1);
    transition: var(--single-post-transition);
}

.entry-meta span:hover {
    background: linear-gradient(135deg, rgba(1, 106, 110, 0.1) 0%, rgba(1, 106, 110, 0.05) 100%);
    transform: translateY(-2px);
    box-shadow: var(--single-post-shadow-sm);
}

.entry-meta a {
    color: var(--single-post-primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--single-post-transition);
}

.entry-meta a:hover {
    color: var(--single-post-secondary);
    text-decoration: underline;
}

.entry-meta i {
    margin-left: 6px;
    color: var(--single-post-accent);
    font-size: 0.9em;
}

.entry-meta .author-label,
.entry-meta .cat-label {
    margin-left: 4px;
}

/* Entry Title */
.entry-title {
    font-family: var(--single-post-font-elegant);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--single-post-primary);
    line-height: 1.3;
    margin: 0;
    text-shadow: 0 2px 4px rgba(1, 106, 110, 0.1);
}

/* Entry Content */
.entry-content {
    font-family: var(--single-post-font-elegant);
    font-size: 1.125rem;
    line-height: 2;
    color: var(--single-post-text);
    margin-bottom: var(--single-post-space-xl);
}

.entry-content p {
    margin-bottom: var(--single-post-space-lg);
    text-align: justify;
}

.entry-content h2 {
    font-family: var(--single-post-font-elegant);
    font-size: 2rem;
    font-weight: 700;
    color: var(--single-post-primary);
    margin: var(--single-post-space-2xl) 0 var(--single-post-space-lg) 0;
    padding-bottom: var(--single-post-space-sm);
    border-bottom: 3px solid var(--single-post-accent);
}

.entry-content h3 {
    font-family: var(--single-post-font-elegant);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--single-post-secondary);
    margin: var(--single-post-space-xl) 0 var(--single-post-space-md) 0;
}

.entry-content h4 {
    font-family: var(--single-post-font-elegant);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--single-post-primary);
    margin: var(--single-post-space-lg) 0 var(--single-post-space-md) 0;
}

.entry-content ul,
.entry-content ol {
    margin: var(--single-post-space-lg) 0;
    padding-right: var(--single-post-space-xl);
}

.entry-content li {
    margin-bottom: var(--single-post-space-sm);
    line-height: 1.8;
}

.entry-content a {
    color: var(--single-post-primary);
    text-decoration: underline;
    transition: var(--single-post-transition);
}

.entry-content a:hover {
    color: var(--single-post-secondary);
    text-decoration: none;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--single-post-radius);
    margin: var(--single-post-space-xl) 0;
    box-shadow: var(--single-post-shadow);
}

.entry-content blockquote {
    border-right: 4px solid var(--single-post-accent);
    padding: var(--single-post-space-lg);
    margin: var(--single-post-space-xl) 0;
    background: linear-gradient(135deg, rgba(243, 189, 1, 0.05) 0%, rgba(243, 189, 1, 0.02) 100%);
    border-radius: var(--single-post-radius);
    font-style: italic;
    color: var(--single-post-muted);
}

/* Entry Footer */
.entry-footer {
    margin-top: var(--single-post-space-2xl);
    padding-top: var(--single-post-space-xl);
    border-top: 2px solid rgba(1, 106, 110, 0.1);
}

/* Tag Links */
.tag-links {
    margin-bottom: var(--single-post-space-xl);
}

.tags-title {
    display: block;
    font-family: var(--single-post-font-elegant);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--single-post-primary);
    margin-bottom: var(--single-post-space-md);
}

.tag-links a {
    display: inline-block;
    padding: 8px 18px;
    background: linear-gradient(135deg, rgba(1, 106, 110, 0.1) 0%, rgba(1, 106, 110, 0.05) 100%);
    color: var(--single-post-primary);
    text-decoration: none;
    border-radius: 50px;
    font-family: var(--single-post-font-elegant);
    font-size: 0.9rem;
    font-weight: 600;
    margin: 6px 6px 6px 0;
    border: 1px solid rgba(1, 106, 110, 0.2);
    transition: var(--single-post-transition);
}

.tag-links a:hover {
    background: linear-gradient(135deg, var(--single-post-primary) 0%, var(--single-post-secondary) 100%);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--single-post-shadow-sm);
    border-color: var(--single-post-primary);
}

/* Post Navigation */
.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--single-post-space-lg);
    margin-top: var(--single-post-space-xl);
}

.post-navigation a {
    display: flex;
    flex-direction: column;
    padding: var(--single-post-space-lg);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 252, 255, 0.9) 100%);
    border-radius: var(--single-post-radius);
    text-decoration: none;
    border: 2px solid rgba(1, 106, 110, 0.1);
    transition: var(--single-post-transition);
    position: relative;
    overflow: hidden;
}

.post-navigation a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(1, 106, 110, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.post-navigation a:hover::before {
    opacity: 1;
}

.post-navigation a:hover {
    transform: translateY(-5px);
    box-shadow: var(--single-post-shadow);
    border-color: var(--single-post-primary);
}

.nav-subtitle {
    display: block;
    font-family: var(--single-post-font-elegant);
    font-size: 0.85rem;
    color: var(--single-post-muted);
    margin-bottom: 8px;
    font-weight: 500;
}

.nav-title {
    display: block;
    font-family: var(--single-post-font-elegant);
    font-size: 1.1rem;
    color: var(--single-post-primary);
    font-weight: 700;
    line-height: 1.4;
}

.post-navigation a:hover .nav-title {
    color: var(--single-post-secondary);
}

/* RTL Support */
.rtl-section .entry-meta span {
    direction: rtl;
}

.rtl-section .entry-content {
    direction: rtl;
    text-align: right;
}

.rtl-section .entry-content ul,
.rtl-section .entry-content ol {
    padding-right: var(--single-post-space-xl);
    padding-left: 0;
}

.rtl-section .entry-content blockquote {
    border-right: 4px solid var(--single-post-accent);
    border-left: none;
}

/* LTR Support */
.ltr-section .entry-meta span {
    direction: ltr;
}

.ltr-section .entry-content {
    direction: ltr;
    text-align: left;
}

.ltr-section .entry-content ul,
.ltr-section .entry-content ol {
    padding-left: var(--single-post-space-xl);
    padding-right: 0;
}

.ltr-section .entry-content blockquote {
    border-left: 4px solid var(--single-post-accent);
    border-right: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .single-post-container {
        padding: var(--single-post-space-xl) var(--single-post-space-md);
    }
    
    .single-post-grid {
        grid-template-columns: 1fr;
        gap: var(--single-post-space-xl);
    }
    
    .single-post-sidebar {
        position: static;
        max-height: none;
        overflow-y: visible;
    }
    
    .post-content-wrapper {
        padding: var(--single-post-space-xl);
    }
    
    .post-hero-image {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .single-post-container {
        padding: var(--single-post-space-lg) var(--single-post-space-sm);
    }
    
    .single-post-grid {
        grid-template-columns: 1fr;
        gap: var(--single-post-space-lg);
    }
    
    .single-post-sidebar {
        order: -1;
    }
    
    .post-breadcrumb {
        margin-bottom: var(--single-post-space-lg);
    }
    
    .breadcrumb-list {
        font-size: 0.85rem;
    }
    
    .post-hero-image {
        height: 300px;
    }
    
    .post-content-wrapper {
        padding: var(--single-post-space-lg);
    }
    
    .entry-header {
        margin-bottom: var(--single-post-space-lg);
        padding-bottom: var(--single-post-space-md);
    }
    
    .entry-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--single-post-space-sm);
        margin-bottom: var(--single-post-space-md);
    }
    
    .entry-meta span {
        width: 100%;
        justify-content: flex-start;
    }
    
    .entry-title {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }
    
    .entry-content {
        font-size: 1rem;
        line-height: 1.9;
    }
    
    .entry-content h2 {
        font-size: 1.75rem;
        margin: var(--single-post-space-xl) 0 var(--single-post-space-md) 0;
    }
    
    .entry-content h3 {
        font-size: 1.35rem;
        margin: var(--single-post-space-lg) 0 var(--single-post-space-sm) 0;
    }
    
    .entry-content h4 {
        font-size: 1.15rem;
    }
    
    .entry-content ul,
    .entry-content ol {
        padding-right: var(--single-post-space-lg);
    }
    
    .rtl-section .entry-content ul,
    .rtl-section .entry-content ol {
        padding-right: var(--single-post-space-lg);
        padding-left: 0;
    }
    
    .ltr-section .entry-content ul,
    .ltr-section .entry-content ol {
        padding-left: var(--single-post-space-lg);
        padding-right: 0;
    }
    
    .post-navigation {
        grid-template-columns: 1fr;
        gap: var(--single-post-space-md);
    }
    
    .tag-links a {
        font-size: 0.85rem;
        padding: 6px 14px;
    }
}

@media (max-width: 480px) {
    .single-post-container {
        padding: var(--single-post-space-md) var(--single-post-space-sm);
    }
    
    .post-breadcrumb {
        margin-bottom: var(--single-post-space-md);
    }
    
    .breadcrumb-list {
        font-size: 0.8rem;
        gap: 6px;
    }
    
    .breadcrumb-item a,
    .breadcrumb-item.active {
        padding: 4px 8px;
    }
    
    .post-hero-image {
        height: 250px;
    }
    
    .post-content-wrapper {
        padding: var(--single-post-space-md);
    }
    
    .entry-title {
        font-size: clamp(1.5rem, 7vw, 2rem);
    }
    
    .entry-content {
        font-size: 0.95rem;
        line-height: 1.85;
    }
    
    .entry-content h2 {
        font-size: 1.5rem;
    }
    
    .entry-content h3 {
        font-size: 1.25rem;
    }
    
    .entry-content h4 {
        font-size: 1.1rem;
    }
    
    .entry-content p {
        margin-bottom: var(--single-post-space-md);
    }
    
    .entry-content ul,
    .entry-content ol {
        padding-right: var(--single-post-space-md);
    }
    
    .rtl-section .entry-content ul,
    .rtl-section .entry-content ol {
        padding-right: var(--single-post-space-md);
    }
    
    .ltr-section .entry-content ul,
    .ltr-section .entry-content ol {
        padding-left: var(--single-post-space-md);
    }
    
    .post-navigation a {
        padding: var(--single-post-space-md);
    }
    
    .nav-title {
        font-size: 1rem;
    }
    
    .tag-links a {
        font-size: 0.8rem;
        padding: 5px 12px;
        margin: 4px 4px 4px 0;
    }
}

/* Enhanced Entry Meta Icons */
.entry-meta i {
    margin-left: 6px;
    color: var(--single-post-accent);
    font-size: 0.9em;
}

.entry-meta .comment-count {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Optimized Images in Content */
.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--single-post-radius);
    margin: var(--single-post-space-xl) auto;
    box-shadow: var(--single-post-shadow);
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.entry-content img:hover {
    transform: scale(1.02);
    box-shadow: var(--single-post-shadow-lg);
}

.entry-content img[loading="lazy"] {
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Image Alignment */
.entry-content img.alignleft,
.entry-content img.alignright {
    max-width: 50%;
    margin: var(--single-post-space-md);
}

.entry-content img.alignleft {
    float: left;
    margin-left: 0;
}

.entry-content img.alignright {
    float: right;
    margin-right: 0;
}

.entry-content img.aligncenter {
    display: block;
    margin: var(--single-post-space-xl) auto;
}

/* Video Wrapper */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    margin: var(--single-post-space-xl) 0;
    border-radius: var(--single-post-radius);
    box-shadow: var(--single-post-shadow);
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* YouTube and Vimeo Embeds */
.entry-content iframe[src*="youtube"],
.entry-content iframe[src*="youtu.be"],
.entry-content iframe[src*="vimeo"] {
    max-width: 100%;
    border-radius: var(--single-post-radius);
}

/* Sidebar */
.single-post-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: var(--single-post-space-xl);
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.single-post-sidebar::-webkit-scrollbar {
    width: 6px;
}

.single-post-sidebar::-webkit-scrollbar-track {
    background: rgba(1, 106, 110, 0.05);
    border-radius: 10px;
}

.single-post-sidebar::-webkit-scrollbar-thumb {
    background: var(--single-post-primary);
    border-radius: 10px;
}

.single-post-sidebar::-webkit-scrollbar-thumb:hover {
    background: var(--single-post-secondary);
}

/* Sidebar Widget */
.sidebar-widget {
    background: linear-gradient(145deg, #ffffff 0%, var(--single-post-bg) 100%);
    border-radius: var(--single-post-radius-lg);
    box-shadow: var(--single-post-shadow);
    border: 1px solid rgba(1, 106, 110, 0.1);
    overflow: hidden;
    transition: var(--single-post-transition);
}

.sidebar-widget:hover {
    box-shadow: var(--single-post-shadow-lg);
    transform: translateY(-2px);
}

.widget-header {
    display: flex;
    align-items: center;
    gap: var(--single-post-space-sm);
    padding: var(--single-post-space-lg);
    background: linear-gradient(135deg, rgba(1, 106, 110, 0.08) 0%, rgba(1, 106, 110, 0.04) 100%);
    border-bottom: 2px solid rgba(1, 106, 110, 0.1);
}

.widget-header i {
    color: var(--single-post-accent);
    font-size: 1.2rem;
}

.widget-title {
    font-family: var(--single-post-font-elegant);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--single-post-primary);
    margin: 0;
}

.widget-content {
    padding: var(--single-post-space-lg);
}

/* Latest Posts List */
.latest-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--single-post-space-md);
}

.latest-post-item {
    border-bottom: 1px solid rgba(1, 106, 110, 0.1);
    padding-bottom: var(--single-post-space-md);
}

.latest-post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.latest-post-link {
    display: flex;
    gap: var(--single-post-space-md);
    text-decoration: none;
    transition: var(--single-post-transition);
    padding: var(--single-post-space-sm);
    border-radius: var(--single-post-radius);
}

.latest-post-link:hover {
    background: rgba(1, 106, 110, 0.05);
    transform: translateX(-3px);
}

.rtl-section .latest-post-link:hover {
    transform: translateX(3px);
}

.latest-post-thumbnail {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: var(--single-post-radius);
    overflow: hidden;
    box-shadow: var(--single-post-shadow-sm);
}

.latest-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.latest-post-link:hover .latest-post-thumbnail img {
    transform: scale(1.1);
}

.latest-post-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.latest-post-title {
    font-family: var(--single-post-font-elegant);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--single-post-primary);
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.latest-post-link:hover .latest-post-title {
    color: var(--single-post-secondary);
}

.latest-post-date {
    font-family: var(--single-post-font-elegant);
    font-size: 0.8rem;
    color: var(--single-post-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.latest-post-date i {
    font-size: 0.75rem;
    color: var(--single-post-accent);
}

/* Categories List */
.categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--single-post-space-sm);
}

.category-item {
    border-bottom: 1px solid rgba(1, 106, 110, 0.05);
    padding-bottom: var(--single-post-space-sm);
}

.category-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.category-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--single-post-space-sm) var(--single-post-space-md);
    text-decoration: none;
    border-radius: var(--single-post-radius);
    transition: var(--single-post-transition);
}

.category-link:hover {
    background: rgba(1, 106, 110, 0.05);
    transform: translateX(-3px);
}

.rtl-section .category-link:hover {
    transform: translateX(3px);
}

.category-name {
    font-family: var(--single-post-font-elegant);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--single-post-primary);
}

.category-link:hover .category-name {
    color: var(--single-post-secondary);
}

.category-count {
    font-family: var(--single-post-font-elegant);
    font-size: 0.85rem;
    color: var(--single-post-muted);
    background: rgba(1, 106, 110, 0.1);
    padding: 4px 10px;
    border-radius: 50px;
    font-weight: 600;
}

/* Tags Cloud */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: var(--single-post-space-sm);
}

.tag-cloud-item {
    display: inline-block;
    padding: 6px 14px;
    background: linear-gradient(135deg, rgba(1, 106, 110, 0.1) 0%, rgba(1, 106, 110, 0.05) 100%);
    color: var(--single-post-primary);
    text-decoration: none;
    border-radius: 50px;
    font-family: var(--single-post-font-elegant);
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(1, 106, 110, 0.2);
    transition: var(--single-post-transition);
}

.tag-cloud-item:hover {
    background: linear-gradient(135deg, var(--single-post-primary) 0%, var(--single-post-secondary) 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--single-post-shadow-sm);
    border-color: var(--single-post-primary);
}

.no-posts {
    font-family: var(--single-post-font-elegant);
    font-size: 0.95rem;
    color: var(--single-post-muted);
    text-align: center;
    padding: var(--single-post-space-lg);
    margin: 0;
}

/* Comments Section - Premium Minimal Professional Design */
.comments-section {
    margin-top: var(--single-post-space-2xl);
    padding-top: var(--single-post-space-2xl);
    border-top: 1px solid rgba(1, 106, 110, 0.08);
    position: relative;
}

/* Force text visibility in comments section */
.comments-section,
.comments-section * {
    color: inherit;
}

.comments-section h1,
.comments-section h2,
.comments-section h3,
.comments-section h4,
.comments-section h5,
.comments-section h6 {
    color: #0f172a !important;
}

.comments-wrapper {
    background: #ffffff;
    border-radius: var(--single-post-radius-lg);
    box-shadow: 0 2px 24px rgba(1, 106, 110, 0.06), 0 1px 4px rgba(1, 106, 110, 0.04);
    border: 1px solid rgba(1, 106, 110, 0.08);
    padding: var(--single-post-space-2xl);
    margin-top: var(--single-post-space-xl);
    position: relative;
    overflow: visible;
}

.comments-title {
    font-family: var(--single-post-font-elegant);
    font-size: 1.875rem;
    font-weight: 700;
    color: #0f172a !important;
    margin: 0 0 var(--single-post-space-2xl) 0;
    display: flex;
    align-items: center;
    gap: var(--single-post-space-md);
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    position: relative;
}

.comments-title i {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #016A6E 0%, #0A8B8F 100%);
    color: white;
    border-radius: 12px;
    font-size: 1.25rem;
    box-shadow: 0 4px 12px rgba(1, 106, 110, 0.2);
    flex-shrink: 0;
}

/* Comment List - Minimal Clean Design */
.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--single-post-space-lg);
}

.comment {
    background: #ffffff;
    border-radius: 16px;
    padding: var(--single-post-space-xl);
    border: 1px solid rgba(1, 106, 110, 0.08);
    box-shadow: 0 1px 3px rgba(1, 106, 110, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: visible;
}

.comment:hover {
    box-shadow: 0 4px 16px rgba(1, 106, 110, 0.1), 0 2px 6px rgba(1, 106, 110, 0.06);
    transform: translateY(-2px);
    border-color: rgba(1, 106, 110, 0.15);
}

.comment-author {
    display: flex;
    align-items: center;
    gap: var(--single-post-space-md);
    margin-bottom: var(--single-post-space-lg);
    padding-bottom: var(--single-post-space-lg);
    border-bottom: 1px solid rgba(1, 106, 110, 0.06);
}

.comment-author .avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid rgba(1, 106, 110, 0.1);
    box-shadow: 0 2px 8px rgba(1, 106, 110, 0.08);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.comment:hover .comment-author .avatar {
    border-color: #016A6E;
    box-shadow: 0 4px 12px rgba(1, 106, 110, 0.15);
}

.comment-author-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.comment-author .fn {
    font-family: var(--single-post-font-elegant);
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-block;
    line-height: 1.4;
}

.comment-author .fn:hover {
    color: #016A6E;
}

.comment-metadata {
    font-family: var(--single-post-font-elegant);
    font-size: 0.875rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.comment-metadata i {
    color: #94a3b8;
    font-size: 0.75rem;
}

.comment-metadata a {
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.comment-metadata a:hover {
    color: #016A6E;
}

.comment-content {
    font-family: var(--single-post-font-elegant);
    font-size: 0.9375rem;
    line-height: 1.75;
    color: #374151;
    margin-bottom: var(--single-post-space-lg);
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    position: relative;
}

.comment-content p {
    margin-bottom: var(--single-post-space-sm);
    color: #374151;
    line-height: 1.75;
}

.comment-content p:last-child {
    margin-bottom: 0;
}

.comment-reply-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: transparent;
    color: #016A6E;
    text-decoration: none;
    border-radius: 8px;
    font-family: var(--single-post-font-elegant);
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s ease;
    border: 1px solid rgba(1, 106, 110, 0.15);
}

.comment-reply-link:hover {
    background: rgba(1, 106, 110, 0.05);
    border-color: #016A6E;
    color: #0A8B8F;
}

.comment-reply-link i {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.comment-reply-link:hover i {
    transform: translateX(-3px);
}

.ltr-section .comment-reply-link:hover i {
    transform: translateX(3px);
}

/* Comment Form - Minimal Clean Design */
.comment-respond {
    background: #ffffff;
    border-radius: var(--single-post-radius-lg);
    box-shadow: 0 2px 24px rgba(1, 106, 110, 0.06), 0 1px 4px rgba(1, 106, 110, 0.04);
    border: 1px solid rgba(1, 106, 110, 0.08);
    padding: var(--single-post-space-2xl);
    margin-top: var(--single-post-space-2xl);
    position: relative;
    overflow: visible;
}

.comment-reply-title {
    font-family: var(--single-post-font-elegant);
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a !important;
    margin: 0 0 var(--single-post-space-xl) 0;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    display: flex;
    align-items: center;
    gap: var(--single-post-space-md);
}

.comment-reply-title::before {
    content: '';
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #016A6E 0%, #0A8B8F 100%);
    color: white;
    border-radius: 10px;
    font-size: 1rem;
    flex-shrink: 0;
}

.comment-reply-title::before {
    content: '\f075';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: var(--single-post-space-lg);
}

.comment-form-comment,
.comment-form-author,
.comment-form-email,
.comment-form-url {
    display: flex;
    flex-direction: column;
    gap: var(--single-post-space-sm);
}

.comment-form label {
    font-family: var(--single-post-font-elegant);
    font-size: 0.875rem;
    font-weight: 600;
    color: #0f172a !important;
    margin-bottom: 8px;
    display: block;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(1, 106, 110, 0.3) !important;
    border-radius: 10px;
    font-family: var(--single-post-font-elegant);
    font-size: 0.9375rem;
    transition: all 0.2s ease;
    background: #ffffff !important;
    color: #0f172a !important;
    box-shadow: 0 1px 3px rgba(1, 106, 110, 0.1);
}

.comment-form input[type="text"]::placeholder,
.comment-form input[type="email"]::placeholder,
.comment-form input[type="url"]::placeholder,
.comment-form textarea::placeholder {
    color: #94a3b8 !important;
    opacity: 1;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none !important;
    border-color: #016A6E !important;
    border-width: 2px !important;
    box-shadow: 0 0 0 4px rgba(1, 106, 110, 0.12) !important;
    background: #ffffff !important;
    color: #0f172a !important;
}

.comment-form textarea {
    min-height: 140px;
    resize: vertical;
    line-height: 1.7;
}

.comment-form .form-submit {
    margin-top: var(--single-post-space-md);
}

.comment-form input[type="submit"] {
    padding: 12px 32px;
    background: #016A6E;
    color: white;
    border: none;
    border-radius: 10px;
    font-family: var(--single-post-font-elegant);
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(1, 106, 110, 0.2);
    min-width: 140px;
}

.comment-form input[type="submit"]:hover {
    background: #0A8B8F;
    box-shadow: 0 4px 12px rgba(1, 106, 110, 0.3);
    transform: translateY(-1px);
}

/* Additional Comment Form Styles for Visibility */
.comment-form p {
    color: #0f172a !important;
}

.comment-form .logged-in-as,
.comment-form .comment-notes,
.comment-form .comment-form-cookies-consent {
    color: #475569 !important;
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: var(--single-post-space-md);
}

.comment-form .comment-form-cookies-consent label {
    color: #475569 !important;
    font-weight: 500;
    cursor: pointer;
}

.comment-form input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-left: 8px;
    cursor: pointer;
    accent-color: #016A6E;
}

.ltr-section .comment-form input[type="checkbox"] {
    margin-left: 0;
    margin-right: 8px;
}

.comment-form .required {
    color: #dc2626;
    font-weight: 700;
}

/* Ensure all text in comment form is visible */
.comment-respond * {
    color: inherit;
}

.comment-respond h3,
.comment-respond h4,
.comment-respond h5,
.comment-respond h6 {
    color: #0f172a !important;
}

.comment-respond p,
.comment-respond span,
.comment-respond div {
    color: #475569 !important;
}

/* Ensure form fields are always visible */
.comment-form input[type="text"]:not(:focus),
.comment-form input[type="email"]:not(:focus),
.comment-form input[type="url"]:not(:focus),
.comment-form textarea:not(:focus) {
    border: 2px solid rgba(1, 106, 110, 0.3) !important;
    background: #ffffff !important;
    color: #0f172a !important;
}

/* Make sure all labels are visible */
.comment-form label,
.comment-form-comment label,
.comment-form-author label,
.comment-form-email label,
.comment-form-url label {
    color: #0f172a !important;
    font-weight: 600 !important;
    display: block !important;
    margin-bottom: 8px !important;
}

/* Ensure submit button text is visible */
.comment-form input[type="submit"] {
    color: #ffffff !important;
    background: #016A6E !important;
    border: none !important;
}

.comment-form input[type="submit"]:hover {
    color: #ffffff !important;
    background: #0A8B8F !important;
}

/* Nested Comments - Minimal Design */
.children {
    list-style: none;
    padding: 0;
    margin: var(--single-post-space-lg) 0 0 var(--single-post-space-xl);
    padding-right: var(--single-post-space-lg);
    border-right: 2px solid rgba(1, 106, 110, 0.08);
    position: relative;
}

.ltr-section .children {
    border-right: none;
    border-left: 2px solid rgba(1, 106, 110, 0.08);
    margin-left: var(--single-post-space-xl);
    margin-right: 0;
    padding-left: var(--single-post-space-lg);
    padding-right: 0;
}

.children .comment {
    background: #ffffff;
    border-color: rgba(1, 106, 110, 0.06);
    box-shadow: 0 1px 2px rgba(1, 106, 110, 0.04);
}

.children .comment:hover {
    box-shadow: 0 2px 8px rgba(1, 106, 110, 0.08);
    border-color: rgba(1, 106, 110, 0.12);
}

/* Responsive Comments - Minimal Mobile Design */
@media (max-width: 768px) {
    .comments-wrapper,
    .comment-respond {
        padding: var(--single-post-space-lg);
        border-radius: 12px;
    }
    
    .comments-title {
        font-size: 1.5rem;
        gap: var(--single-post-space-sm);
    }
    
    .comments-title i {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .comment {
        padding: var(--single-post-space-lg);
        border-radius: 12px;
    }
    
    .comment-author {
        gap: var(--single-post-space-sm);
        padding-bottom: var(--single-post-space-md);
        margin-bottom: var(--single-post-space-md);
    }
    
    .comment-author .avatar {
        width: 48px;
        height: 48px;
    }
    
    .comment-author .fn {
        font-size: 0.9375rem;
    }
    
    .comment-metadata {
        font-size: 0.8125rem;
    }
    
    .comment-content {
        font-size: 0.875rem;
        margin-bottom: var(--single-post-space-md);
    }
    
    .comment-reply-link {
        padding: 6px 14px;
        font-size: 0.8125rem;
    }
    
    .children {
        margin-right: var(--single-post-space-md);
        margin-left: 0;
        padding-right: var(--single-post-space-md);
        border-right-width: 1px;
    }
    
    .ltr-section .children {
        margin-left: var(--single-post-space-md);
        margin-right: 0;
        padding-left: var(--single-post-space-md);
        padding-right: 0;
        border-left-width: 1px;
    }
    
    .comment-reply-title {
        font-size: 1.25rem;
        gap: var(--single-post-space-sm);
    }
    
    .comment-reply-title::before {
        width: 36px;
        height: 36px;
        font-size: 0.875rem;
    }
    
    .comment-form input[type="text"],
    .comment-form input[type="email"],
    .comment-form input[type="url"],
    .comment-form textarea {
        padding: 10px 14px;
        font-size: 0.875rem;
    }
    
    .comment-form textarea {
        min-height: 120px;
    }
    
    .comment-form input[type="submit"] {
        padding: 10px 24px;
        font-size: 0.875rem;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .comments-wrapper,
    .comment-respond {
        padding: var(--single-post-space-md);
        border-radius: 10px;
    }
    
    .comments-title {
        font-size: 1.25rem;
        gap: var(--single-post-space-xs);
    }
    
    .comments-title i {
        width: 36px;
        height: 36px;
        font-size: 0.875rem;
    }
    
    .comment {
        padding: var(--single-post-space-md);
        border-radius: 10px;
    }
    
    .comment-author {
        gap: var(--single-post-space-xs);
        padding-bottom: var(--single-post-space-sm);
        margin-bottom: var(--single-post-space-sm);
    }
    
    .comment-author .avatar {
        width: 44px;
        height: 44px;
    }
    
    .comment-author-info {
        width: 100%;
    }
    
    .comment-author .fn {
        font-size: 0.875rem;
    }
    
    .comment-metadata {
        font-size: 0.75rem;
        gap: 6px;
    }
    
    .comment-content {
        font-size: 0.8125rem;
        line-height: 1.7;
        margin-bottom: var(--single-post-space-sm);
    }
    
    .comment-reply-link {
        padding: 6px 12px;
        font-size: 0.75rem;
        width: 100%;
        justify-content: center;
    }
    
    .children {
        margin-right: var(--single-post-space-sm);
        margin-left: 0;
        padding-right: var(--single-post-space-sm);
    }
    
    .ltr-section .children {
        margin-left: var(--single-post-space-sm);
        margin-right: 0;
        padding-left: var(--single-post-space-sm);
        padding-right: 0;
    }
    
    .comment-reply-title {
        font-size: 1.125rem;
        gap: var(--single-post-space-xs);
    }
    
    .comment-reply-title::before {
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
    }
    
    .comment-form {
        gap: var(--single-post-space-sm);
    }
    
    .comment-form label {
        font-size: 0.8125rem;
    }
    
    .comment-form input[type="text"],
    .comment-form input[type="email"],
    .comment-form input[type="url"],
    .comment-form textarea {
        padding: 10px 12px;
        font-size: 0.8125rem;
    }
    
    .comment-form textarea {
        min-height: 100px;
    }
    
    .comment-form input[type="submit"] {
        padding: 10px 20px;
        font-size: 0.8125rem;
    }
    
    .entry-content img.alignleft,
    .entry-content img.alignright {
        max-width: 100%;
        float: none;
        margin: var(--single-post-space-md) 0;
    }
}

