:root {
    --primary: #1a2250;
    --secondary: #2b3470;
    --accent: #f5a623;
    --text-main: #0f172a;
    --text-light: #64748b;
    --surface: #ffffff;
    --body-bg: #fdfdfd;
}

body {
    background-color: var(--body-bg);
}

.blog-post-wrapper {
    padding-bottom: 80px;
}

/* --- Sophisticated Header --- */
.post-header {
    padding: 80px 0 60px;
    text-align: center;
    background: radial-gradient(circle at top right, #eff6ff, transparent), 
                radial-gradient(circle at bottom left, #f8fafc, transparent);
}

.breadcrumb-custom {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    color: var(--secondary);
}

.breadcrumb-custom a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-custom a:hover {
    color: var(--primary);
}

.post-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.1;
    max-width: 900px;
    margin: 0 auto 30px;
    letter-spacing: -1px;
}

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

.author-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--text-main);
}

.author-badge img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

/* --- Featured Image --- */
.post-featured-image {
    width: 100%;
    border-radius: 32px;
    margin-top: -30px;
    box-shadow: 0 40px 80px -20px rgba(0,0,0,0.15);
    object-fit: cover;
    max-height: 550px;
}

/* --- Content Area --- */
.post-content-inner {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #334155;
    margin-top: 50px;
}

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

.post-content-inner h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-main);
    margin-top: 50px;
    margin-bottom: 20px;
}

/* --- Sidebar Enhancements --- */
.sticky-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget-premium {
    background: var(--surface);
    border: 1px solid #f1f5f9;
    border-radius: 24px;
    padding: 32px;
    margin-bottom: 32px;
    transition: box-shadow 0.3s;
}

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

.widget-heading::before {
    content: '';
    width: 4px;
    height: 20px;
    background: var(--accent);
    border-radius: 2px;
}

.mini-post {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    text-decoration: none !important;
    group: hover;
}

.mini-post-img {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

.mini-post-content h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 4px;
    line-height: 1.4;
    transition: color 0.2s;
}

.mini-post:hover h4 {
    color: var(--secondary);
}

.mini-post-date {
    font-size: 0.75rem;
    color: var(--text-light);
}

/* --- CTA Card --- */
.cta-card-fancy {
    background: var(--primary);
    color: white;
    padding: 40px;
    border-radius: 32px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-card-fancy::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    z-index: -1;
}

.cta-card-fancy h3 {
    font-weight: 800;
    margin-bottom: 16px;
}

.btn-cta-sidebar {
    background: var(--accent);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 14px;
    font-weight: 700;
    width: 100%;
    margin-top: 20px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-cta-sidebar:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.3);
    color: white;
}

@media (max-width: 768px) {
    .post-title { font-size: 2.25rem; }
    .post-header { padding: 40px 0; }
}
