.blog-post-detail {
    margin: 240 0 0 0;
    padding: 0;
    
}

.post-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.post-content {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.post-header {
    margin-bottom: 2rem;
}

.post-header h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: #333;
}

.post-meta {
    font-size: 0.95rem;
    color: #6b7280;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
}

.post-meta-left {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.post-meta-right {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.post-excerpt {
    color: #333;
    font-size: 1.3rem;
    margin-top: 1rem;
}

.featured-image {
    text-align: center;
    margin-bottom: 2rem;
}

.featured-image img {
    width: 100%;
    border-radius: 18px;
    object-fit: cover;
}

.post-divider {
    border: 0;
    height: 3px;
    background: #e5e7eb;
    border-radius: 2px;
    margin: 2.5rem 0;
}

.content-wrapper {
    line-height: 1.9;
    font-size: 1.12rem;
    color: #111827;
}

.post-footer {
    margin-top: 2rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.share {
    display: flex;
    gap: 0.6rem;
    align-items: center;
}

.share span {
    color: #6b7280;
}

.share a {
    color: #667eea;
    text-decoration: none;
}

.copy-link {
    background: none;
    border: none;
    color: #667eea;
    cursor: pointer;
    font-size: 16px;
    font-family: 'Arial', sans-serif;
}

.post-card {
    background:#ffffff;
    border-radius:32px;
    padding:2.5rem;
    box-shadow: 0 0 120px rgba(0,0,0,0.03);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    margin-top: 120px;
}

.post-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 120px rgba(0,0,0,0.03);
}

.post-content p {
    margin-bottom: 1.5rem;
    color: #333;
}

.post-content h2 {
    color: #333;
    margin: 2rem 0 1rem 0;
    font-size: 1.8rem;
}

.post-content h3 {
    color: #333;
    margin: 1.5rem 0 1rem 0;
    font-size: 1.4rem;
}

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

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

.post-content li {
    margin-bottom: 0.5rem;
}

.post-content table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff !important;
    color: #111827;
}

.post-content .table-wrapper {
    background: #ffffff !important;
    border: 1px solid #e5e7eb;
    padding: 0;
    margin: 2rem 0;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none !important;
}

.post-content th,
.post-content td {
    padding: 0.85rem 1rem;
    border: 1px solid #e5e7eb;
    background: #ffffff !important;
}

.post-content thead {
    background: #f3f4f6 !important;
    font-weight: 600;
}

.post-content tbody tr:nth-child(even) {
    background: #ffffff !important;
}

.post-content tbody tr:nth-child(odd) {
    background: #ffffff !important;
}

.post-content figure {
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.post-content .media-embed {
    margin: 0 auto;
    border-radius: 18px !important;
    overflow: hidden;
    background: #0f172a !important;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.25) !important;
    text-align: center;
}

.post-content figure figcaption,
.media-embed__caption {
    margin: 0;
    padding: 0.85rem 1.2rem;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.08);
    color: #e5e7eb;
}

.post-content img,
.post-content video {
    display: block;
    margin: 2rem auto;
    border-radius: 16px;
    max-width: 100%;
    height: auto;
}

.post-content video {
    width: 100%;
}

.media-embed__frame {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #000;
}

.media-embed__frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 0;
}

.video-switcher {
    margin: 18px 0;
}

.video-switcher__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
}

.video-switcher__tab {
    appearance: none;
    border: 0;
    cursor: pointer;
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.12);
    color: #e5e7eb;
    transition: transform .15s ease, background .15s ease, opacity .15s ease;
}

.video-switcher__tab:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.18);
}

.video-switcher__tab.is-active {
    background: #667eea;
    color: #fff;
}

.btn {
    margin: 1rem 0;
    color: #6b7280;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: color 0.3s ease, transform 0.3s ease;
}

.btn:hover {
    color: #333;
    transform: translateX(-5px);
}


@media (max-width: 1024px) {
    .post-card {
        padding: 2rem;
        border-radius: 30px;
    }
    .post-container {
        padding: 0 1.8rem;
    }
}

@media (max-width: 768px) {
    .blog-post-detail {
        padding: 2.2rem 0;
    }

    .post-container {
        padding: 0 1.5rem;
    }

    .post-card {
        padding: 1.8rem 1.4rem;
        border-radius: 26px;
    }

    .post-header h1 {
        font-size: 2rem;
    }

    .post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .blog-post-detail {
        padding: 2rem 0;
    }

    .post-container {
        padding: 0 1.2rem;
    }

    .post-card {
        padding: 1.3rem 0.8rem;
        border-radius: 22px;
    }

    .post-header h1 {
        font-size: 1.7rem;
    }
}