/**
 * Single Post Styles
 * Ella Radio Theme
 */

/* ==============================================
   BREADCRUMB
============================================== */
.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 0;
    font-size: 0.875rem;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    color: #999;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-item:hover {
    color: hsl(var(--primary));
}

.breadcrumb-item.active {
    color: #333;
    font-weight: 500;
}

.breadcrumb-separator {
    color: #ccc;
    flex-shrink: 0;
}

/* ==============================================
   FEATURED IMAGE
============================================== */
.single-hero-image {
    position: relative;
    margin-bottom: 2rem;
    border-radius: 1.5rem;
    overflow: hidden;
}

.single-hero-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 1.5rem;
}

.image-copyright {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.35);
    color: rgba(255, 255, 255, 0.95);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* ==============================================
   HEADER CONTENT
============================================== */
.single-header-content {
    margin-bottom: 2rem;
}

.category-badge {
    display: inline-block;
    background: linear-gradient(135deg, #E30917, #C10713);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.single-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    color: #1a1a1a;
}

@media (min-width: 768px) {
    .single-title {
        font-size: 3rem;
    }
}

/* ==============================================
   CONTENT AREA
============================================== */
.single-container {
    padding-bottom: 4rem;
}

.single-content-box {
    background: #ffffff;
    border-radius: 1.5rem;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .single-content-box {
        padding: 2rem 1.5rem;
    }
}

/* Meta */
.single-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.875rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.single-meta svg {
    flex-shrink: 0;
}

.single-meta .meta-separator {
    margin: 0 0.25rem;
    color: #ccc;
}

.single-meta .author {
    color: #666;
}

/* Content */
.single-content {
    color: #333333;
    font-size: 1.125rem;
    line-height: 1.8;
}

.single-content p {
    margin-bottom: 1.5rem;
}

.single-content h2 {
    color: #1a1a1a;
    font-size: 1.75rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.single-content h3 {
    color: #333333;
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.single-content a {
    color: #E30917;
    text-decoration: underline;
    transition: var(--transition-smooth);
}

.single-content a:hover {
    color: #C10713;
}

.single-content ul,
.single-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.single-content li {
    margin-bottom: 0.75rem;
}

.single-content blockquote {
    border-left: 4px solid #E30917;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #555;
}

.single-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.75rem;
    margin: 2rem 0;
}

.single-content figcaption {
    text-align: center;
    font-size: 0.875rem;
    color: #666;
    margin-top: 0.5rem;
}

/* Tags */
.single-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.tag {
    display: inline-block;
    background: #f5f5f5;
    color: #555;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.tag:hover {
    background: linear-gradient(135deg, #E30917, #C10713);
    color: #ffffff;
}

/* ==============================================
   RELATED POSTS
============================================== */
.related-posts {
    background: #f5f5f5;
    padding: 4rem 0;
    margin-top: 0;
}

.related-posts-title {
    color: #1a1a1a;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

@media (max-width: 768px) {
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
}

.related-post-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 1rem;
    overflow: hidden;
    transition: var(--transition-smooth);
    text-decoration: none;
    display: block;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.related-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    border-color: #ccc;
}

.related-post-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.related-post-card:hover .related-post-image img {
    transform: scale(1.05);
}

.related-post-content {
    padding: 1.5rem;
}

.related-post-title {
    color: #1a1a1a;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.related-post-date {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    color: #666;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.related-post-date svg {
    flex-shrink: 0;
}

.related-post-excerpt {
    color: #555;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0;
}

/* ==============================================
   RESPONSIVE
============================================== */
@media (max-width: 768px) {
    .single-content {
        font-size: 1rem;
    }
    
    .single-content h2 {
        font-size: 1.5rem;
    }
    
    .related-posts-title {
        font-size: 1.5rem;
    }
}
