/* Single Post Main Wrapper */
.single-post-main {
    background: linear-gradient(180deg, #0d1117 0%, #161b22 50%, #0d1117 100%);
    min-height: 100vh;
}

/* Hero Section */
.single-post-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: flex-end;
    margin-bottom: 60px;
    overflow: hidden;
}

.hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4) contrast(1.1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, 
                                rgba(13, 17, 23, 0.3) 0%,
                                rgba(13, 17, 23, 0.8) 70%,
                                rgba(13, 17, 23, 1) 100%);
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 60px 20px;
}

.hero-content-wrapper .container {
    max-width: 1200px;
    margin: 0 auto;
}

.post-meta-top {
    margin-bottom: 20px;
}

.post-categories-top {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.category-badge-hero {
    background: linear-gradient(135deg, rgba(0, 255, 157, 0.2), rgba(0, 162, 255, 0.2));
    color: #00ff9d;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid rgba(0, 255, 157, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.category-badge-hero:hover {
    background: linear-gradient(135deg, #00ff9d, #00a2ff);
    color: #0d1117;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 255, 157, 0.4);
}

.post-title-hero {
    font-size: 3.5rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 25px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.post-meta-hero {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    font-weight: 500;
}

.meta-item i {
    color: #00ff9d;
    font-size: 1.1rem;
}

/* Content Wrapper */
.single-post-content-wrapper {
    padding: 0 20px 80px;
}

.content-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 50px;
}

/* Main Article */
.single-post-article {
    background: linear-gradient(135deg, rgba(22, 27, 34, 0.6), rgba(13, 17, 23, 0.8));
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(0, 255, 157, 0.1);
    backdrop-filter: blur(10px);
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(0, 255, 157, 0.3);
}

.section-title i {
    color: #00ff9d;
    font-size: 1.8rem;
}

/* Camera Specifications */
.camera-specifications {
    margin-bottom: 50px;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.spec-item {
    background: rgba(22, 27, 34, 0.6);
    border: 1px solid rgba(0, 255, 157, 0.2);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.spec-item:hover {
    background: rgba(0, 255, 157, 0.05);
    border-color: rgba(0, 255, 157, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 255, 157, 0.2);
}

.spec-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #00ff9d, #00a2ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.spec-icon i {
    color: #0d1117;
    font-size: 1.2rem;
}

.spec-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.spec-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.spec-value {
    font-size: 1.1rem;
    color: #ffffff;
    font-weight: 700;
}

/* Post Content Body */
.post-content-body {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 50px;
}

.post-content-body h2 {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 800;
    margin: 40px 0 20px;
    padding-left: 20px;
    border-left: 4px solid #00ff9d;
}

.post-content-body h3 {
    color: #00ff9d;
    font-size: 1.6rem;
    font-weight: 700;
    margin: 30px 0 15px;
}

.post-content-body p {
    margin-bottom: 20px;
}

.post-content-body a {
    color: #00ff9d;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 255, 157, 0.3);
    transition: all 0.3s ease;
}

.post-content-body a:hover {
    color: #00a2ff;
    border-bottom-color: #00a2ff;
}

.post-content-body ul,
.post-content-body ol {
    margin: 20px 0;
    padding-left: 30px;
}

.post-content-body li {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.85);
}

.post-content-body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 30px 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.post-content-body blockquote {
    background: rgba(0, 255, 157, 0.05);
    border-left: 4px solid #00ff9d;
    padding: 20px 30px;
    margin: 30px 0;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
}

/* Pros and Cons Section */
.pros-cons-section {
    margin-bottom: 50px;
}

.pros-cons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.pros-box,
.cons-box {
    background: rgba(22, 27, 34, 0.6);
    border-radius: 15px;
    padding: 30px;
    border: 2px solid;
    transition: all 0.3s ease;
}

.pros-box {
    border-color: rgba(0, 255, 157, 0.3);
}

.pros-box:hover {
    border-color: rgba(0, 255, 157, 0.6);
    box-shadow: 0 8px 30px rgba(0, 255, 157, 0.2);
    transform: translateY(-5px);
}

.cons-box {
    border-color: rgba(255, 82, 82, 0.3);
}

.cons-box:hover {
    border-color: rgba(255, 82, 82, 0.6);
    box-shadow: 0 8px 30px rgba(255, 82, 82, 0.2);
    transform: translateY(-5px);
}

.pros-title,
.cons-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.pros-title {
    color: #00ff9d;
}

.cons-title {
    color: #ff5252;
}

.pros-title i,
.cons-title i {
    font-size: 1.6rem;
}

.pros-content ul,
.cons-content ul {
    list-style: none;
    padding: 0;
}

.pros-content li,
.cons-content li {
    padding-left: 30px;
    margin-bottom: 12px;
    position: relative;
    color: rgba(255, 255, 255, 0.85);
}

.pros-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #00ff9d;
    font-weight: bold;
    font-size: 1.2rem;
}

.cons-content li::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: #ff5252;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Rating Section */
.camera-rating-section {
    margin-bottom: 50px;
}

.rating-display {
    background: rgba(22, 27, 34, 0.6);
    border: 2px solid rgba(0, 255, 157, 0.3);
    border-radius: 15px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.rating-stars {
    display: flex;
    gap: 8px;
}

.rating-stars i {
    font-size: 2.5rem;
    transition: transform 0.2s ease;
}

.star-filled {
    color: #00ff9d;
}

.star-empty {
    color: rgba(255, 255, 255, 0.2);
}

.rating-stars i:hover {
    transform: scale(1.2);
}

.rating-score {
    font-size: 4rem;
    font-weight: 900;
    color: #00ff9d;
    text-shadow: 0 0 20px rgba(0, 255, 157, 0.5);
}

.rating-max {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Post Footer */
.post-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 255, 157, 0.2);
}

.post-taxonomy {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.post-categories,
.post-tags {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    font-size: 0.95rem;
}

.post-categories i,
.post-tags i {
    color: #00ff9d;
    font-size: 1.1rem;
}

.post-categories a,
.post-tags a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 6px 15px;
    background: rgba(0, 255, 157, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 157, 0.2);
    transition: all 0.3s ease;
}

.post-categories a:hover,
.post-tags a:hover {
    background: linear-gradient(135deg, #00ff9d, #00a2ff);
    color: #0d1117;
    border-color: transparent;
    transform: translateY(-2px);
}

/* Post Navigation */
.post-navigation {
    margin-top: 50px;
}

.nav-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.nav-link {
    background: rgba(22, 27, 34, 0.6);
    border: 1px solid rgba(0, 255, 157, 0.2);
    border-radius: 12px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background: rgba(0, 255, 157, 0.05);
    border-color: rgba(0, 255, 157, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 255, 157, 0.2);
}

.nav-direction {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #00ff9d;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-next .nav-direction {
    justify-content: flex-end;
}

.nav-title {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
}

.nav-next .nav-title {
    text-align: right;
}

/* Sidebar */
.single-post-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Author Box */
.author-box {
    background: linear-gradient(135deg, rgba(22, 27, 34, 0.8), rgba(13, 17, 23, 0.9));
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(0, 255, 157, 0.2);
}

.author-avatar {
    margin-bottom: 20px;
}

.author-avatar img {
    border-radius: 50%;
    border: 3px solid #00ff9d;
    box-shadow: 0 0 30px rgba(0, 255, 157, 0.4);
}

.author-name {
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
}

.author-bio {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Sidebar Widget */
.sidebar-widget {
    background: linear-gradient(135deg, rgba(22, 27, 34, 0.8), rgba(13, 17, 23, 0.9));
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(0, 255, 157, 0.1);
}

.widget-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(0, 255, 157, 0.2);
}

.widget-title i {
    color: #00ff9d;
}

.recent-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-post-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.recent-post-item:last-child {
    border-bottom: none;
}

.recent-post-item:hover {
    padding-left: 10px;
}

.recent-post-thumb {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
}

.recent-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.recent-post-item:hover .recent-post-thumb img {
    transform: scale(1.1);
}

.recent-post-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.recent-post-title {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.recent-post-title:hover {
    color: #00ff9d;
}

.recent-post-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.recent-post-date i {
    color: #00ff9d;
}

/* Responsive */
@media (max-width: 1200px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .single-post-sidebar {
        max-width: 800px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .post-title-hero {
        font-size: 2.5rem;
    }
    
    .single-post-article {
        padding: 30px 25px;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
    }
    
    .post-meta-hero {
        flex-direction: column;
        gap: 12px;
    }
    
    .rating-display {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .single-post-hero {
        min-height: 400px;
    }
    
    .post-title-hero {
        font-size: 2rem;
    }
    
    .single-post-article {
        padding: 25px 20px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}
