/* Modern Blog Show Styles */
:root {
    --primary-blue: #0056b3;
    --secondary-blue: #2b84ea;
    --light-blue: #e8f3ff;
    --dark-blue: #004494;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--light-blue);
    min-height: 100vh;
}

.main-container {
    background: var(--light-blue);
    min-height: 100vh;
}

.blog-hero {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    padding: 8rem 0 4rem;
    margin-top: 0;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 86, 179, 0.15);
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 44, 90, 0.7) 0%,
        rgba(43, 132, 234, 0.4) 100%
    );
    z-index: 1;
}

.blog-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='rgba(255,255,255,0.05)' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.1;
    z-index: 2;
}

.blog-hero .container {
    position: relative;
    z-index: 3;
}

.blog-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.blog-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    color: white;
}

.blog-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 800px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.blog-content-wrapper {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 86, 179, 0.08);
    padding: 0;
    margin-bottom: 3rem;
    overflow: hidden;
}

.featured-image-container {
    margin: 0;
    position: relative;
    width: 100%;
    min-height: 300px;
    max-height: 600px;
    height: auto;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-blue);
}

.featured-image {
    position: relative;
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
}

.featured-image:hover {
    transform: scale(1.02);
}

.blog-content {
    padding: 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2d3748;
}

.blog-content h1, .blog-content h2, .blog-content h3, .blog-content h4, .blog-content h5, .blog-content h6 {
    color: var(--primary-blue);
    margin: 2rem 0 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.blog-content h2 { font-size: 1.8rem; }
.blog-content h3 { font-size: 1.5rem; }
.blog-content h4 { font-size: 1.3rem; }

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

.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: 0 4px 12px rgba(0, 86, 179, 0.1);
}

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

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

.blog-content blockquote {
    border-left: 4px solid var(--primary-blue);
    padding: 1rem 2rem;
    margin: 2rem 0;
    background: var(--light-blue);
    border-radius: 0 8px 8px 0;
    font-style: italic;
}

.blog-content pre {
    background: #f8fafc;
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 2rem 0;
}

.blog-content code {
    background: #f8fafc;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.9em;
}

.blog-content a {
    color: var(--primary-blue);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.blog-content a:hover {
    border-bottom-color: var(--primary-blue);
}

.blog-footer {
    margin-top: 2rem;
    padding: 2rem;
    border-top: 1px solid var(--light-blue);
    background: #fafcff;
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.tag {
    background: var(--light-blue);
    color: var(--primary-blue);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tag:hover {
    background: var(--primary-blue);
    color: white;
}

.blog-actions {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.btn-modern-outline {
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    background: white;
}

.btn-modern-outline:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 86, 179, 0.2);
}

.btn-modern-primary {
    background: linear-gradient(45deg, var(--primary-blue), var(--secondary-blue));
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-modern-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.3);
    background: linear-gradient(45deg, var(--secondary-blue), var(--primary-blue));
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .blog-hero {
        padding: 6rem 0 3rem;
    }

    .blog-title {
        font-size: 2rem;
    }

    .blog-subtitle {
        font-size: 1.1rem;
    }

    .featured-image-container {
        min-height: 200px;
        max-height: 400px;
    }

    .featured-image {
        max-height: 400px;
    }

    .blog-content {
        padding: 1.5rem;
    }

    .blog-content h2 { font-size: 1.6rem; }
    .blog-content h3 { font-size: 1.4rem; }
    .blog-content h4 { font-size: 1.2rem; }

    .blog-content blockquote {
        padding: 1rem;
        margin: 1.5rem 0;
    }

    .blog-footer {
        padding: 1.5rem;
    }

    .blog-actions {
        flex-direction: column;
    }

    .blog-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* TinyMCE content styles */
.tinymce-content {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.tinymce-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.tinymce-content h1, 
.tinymce-content h2, 
.tinymce-content h3, 
.tinymce-content h4, 
.tinymce-content h5, 
.tinymce-content h6 {
    color: var(--primary-blue);
    margin: 2rem 0 1rem;
    font-weight: 600;
    line-height: 1.3;
}

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

.tinymce-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.tinymce-content img {
    max-width: 100%;
    height: auto;
    margin: 2rem 0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 86, 179, 0.1);
}

.tinymce-content pre {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 2rem 0;
    font-family: 'Courier New', Courier, monospace;
}

.tinymce-content blockquote {
    border-left: 4px solid var(--primary-blue);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    background: var(--light-blue);
    border-radius: 0 8px 8px 0;
    font-style: italic;
}

.tinymce-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 86, 179, 0.1);
}

.tinymce-content th,
.tinymce-content td {
    padding: 1rem;
    border: 1px solid #e2e8f0;
    text-align: left;
}

.tinymce-content th {
    background: var(--light-blue);
    font-weight: 600;
    color: var(--primary-blue);
}

.tinymce-content iframe {
    max-width: 100%;
    margin: 2rem 0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 86, 179, 0.1);
} 