/* =========================================
   Blog Post Detail Styles
   ========================================= */

.post-hero {
    padding: 140px 0 80px;
    background: #f8fafc;
    position: relative;
    overflow: hidden;
}

.post-header {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.post-category-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(253, 82, 2, 0.1);
    color: var(--brand-orange);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
}

.post-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-navy);
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 32px;
}

.post-meta-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    color: var(--text-gray);
    font-size: 0.95rem;
}

.author-info-mini {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar-mini {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

/* ---- Post Layout ---- */
.post-layout {
    padding: 80px 0 120px;
}

.post-container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---- Content Area ---- */
.post-main-image-wrapper {
    margin-bottom: 60px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.post-main-image {
    width: 100%;
    height: auto;
    display: block;
}

.post-content {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #334155;
}

.post-content p {
    margin-bottom: 28px;
}

.post-content h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-navy);
    margin: 56px 0 24px;
    letter-spacing: -0.02em;
}

.post-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-navy);
    margin: 40px 0 20px;
}

.post-content blockquote {
    margin: 48px 0;
    padding: 32px 40px;
    background: #f8fafc;
    border-left: 4px solid var(--brand-orange);
    border-radius: 0 16px 16px 0;
    font-style: italic;
    font-size: 1.4rem;
    color: var(--text-navy);
    line-height: 1.6;
}

.post-content ul, .post-content ol {
    margin-bottom: 28px;
    padding-left: 24px;
}

.post-content li {
    margin-bottom: 12px;
}

/* ---- Post Footer Widgets ---- */
.post-footer-widgets {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 80px;
    border-top: 1px solid #e8edf5;
    padding-top: 80px;
}

.sidebar-widget {
    background: white;
    border: 1px solid #e8edf5;
    border-radius: 20px;
    padding: 30px;
    height: 100%;
}

.widget-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-navy);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.author-avatar-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 16px;
    object-fit: cover;
}

.author-name {
    font-weight: 700;
    color: var(--text-navy);
    font-size: 1.1rem;
}

.author-role {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-bottom: 12px;
}

.author-bio {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-gray);
}

.related-post-link {
    display: flex;
    gap: 16px;
    text-decoration: none;
    margin-bottom: 20px;
    transition: all 0.2s;
}

.related-post-link:hover .rpl-title {
    color: var(--brand-orange);
}

.related-thumb {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

.rpl-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.rpl-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-navy);
    line-height: 1.4;
    margin-bottom: 4px;
    transition: color 0.2s;
}

.rpl-date {
    font-size: 0.8rem;
    color: var(--text-gray);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .post-footer-widgets {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .post-footer-widgets {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .post-hero {
        padding: 100px 0 60px;
    }
    
    .post-title {
        font-size: 2rem;
    }
    
    .post-meta-main {
        flex-direction: column;
        gap: 12px;
    }
}
