.blog-cta .btn.btn-outline {
    color: #ffffff !important;
    border-color: rgba(255,255,255,0.8) !important;
}

.blog-cta .btn.btn-outline:hover {
    color: #111827 !important;
    background: #ffffff !important;
}

.blog-post-cta .btn.btn-outline {
    color: #ffffff !important;
    border-color: rgba(255,255,255,0.8) !important;
}

.blog-post-cta .btn.btn-outline:hover {
    color: #111827 !important;
    background: #ffffff !important;
}
/* Blog Page Styles */

/* Post Gallery Styles */
.post-gallery {
    margin: 2rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid #e5e7eb;
}

.post-gallery h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* Image Modal Styles */
.image-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.image-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
}

.image-modal img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.image-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.image-modal-close:hover {
    color: #ccc;
}

/* Blog Hero Section - Modern */
.blog-hero-modern { position: relative; min-height: 60vh; display: flex; align-items: center; background: linear-gradient(135deg, #0b1220 0%, #0f172a 40%, #111827 100%); overflow: hidden; }
.blog-hero-modern .hero-bg { position: absolute; inset: 0; z-index: 1; }
.blog-hero-modern .hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px); background-size: 40px 40px; animation: blogGridPan 40s linear infinite; }
.blog-hero-modern .hero-glow { position: absolute; inset: -20% -10% -10% -10%; background: radial-gradient(700px 350px at 20% 30%, rgba(1,79,182,0.25), transparent 60%), radial-gradient(600px 300px at 80% 70%, rgba(152,87,235,0.20), transparent 60%); filter: blur(10px); }
.blog-hero-modern .hero-inner { position: relative; z-index: 5; width: 100%; text-align: center; padding: 4rem 0; }
.blog-hero-modern .hero-badge { display: inline-flex; align-items: center; gap: .5rem; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); padding: .5rem 1rem; border-radius: 999px; color: #e5e7eb; margin-bottom: 1rem; }
.blog-hero-modern .hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #60a5fa; box-shadow: 0 0 10px #60a5fa; }
.blog-hero-modern .hero-title-modern { font-size: 3rem; font-weight: 900; line-height: 1.05; margin-bottom: 1rem; background: linear-gradient(135deg, #ffffff 0%, #9ec5ff 45%, #c4b5fd 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.blog-hero-modern .hero-subtitle-modern { font-size: 1.125rem; color: rgba(255,255,255,0.85); line-height: 1.75; max-width: 60ch; margin: 0 auto 1.5rem; }
.blog-hero-modern .hero-actions { display: flex; justify-content: center; gap: 1rem; }
.blog-hero-modern .btn-hero-primary { display: inline-flex; align-items: center; gap: .6rem; padding: .9rem 1.6rem; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 1rem; transition: all .3s ease; background: linear-gradient(135deg, #014fb6 0%, #9857eb 100%); color: #fff; box-shadow: 0 10px 30px rgba(1,79,182,.3); }
.blog-hero-modern .btn-hero-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(1,79,182,.4); }
.blog-hero-modern .btn-icon { transition: transform .3s ease; }
.blog-hero-modern .btn-hero-primary:hover .btn-icon { transform: translateX(4px); }
@keyframes blogGridPan { from { background-position: 0 0, 0 0; } to { background-position: 200px 200px, 200px 200px; } }

/* Minimal variant */
.blog-hero.is-minimal .geometric-shapes { display: none; }
.blog-hero.is-minimal .hero-title { font-size: 2.5rem; }
.blog-hero.is-minimal .hero-subtitle { font-size: 1.1rem; max-width: 52ch; }

/* Unique Blog Hero */
.blog-hero-unique { position: relative; min-height: 70vh; display: flex; align-items: center; overflow: hidden; background: linear-gradient(135deg, #0b1220 0%, #0f172a 40%, #111827 100%); }
.blog-hero-unique .unique-bg { position: absolute; inset: 0; z-index: 1; }
.blog-hero-unique .unique-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px); background-size: 48px 48px; animation: blogGridPan 50s linear infinite; }
.blog-hero-unique .unique-gradient { position: absolute; inset: -25% -15% -10% -15%; background: radial-gradient(900px 450px at 20% 30%, rgba(1,79,182,0.30), transparent 60%), radial-gradient(800px 400px at 85% 70%, rgba(152,87,235,0.25), transparent 60%); filter: blur(12px); }
.blog-hero-unique .unique-diagonal { position: absolute; top: -30%; left: -10%; width: 140%; height: 70%; transform: rotate(-6deg); background: linear-gradient(90deg, rgba(255,255,255,0.06), rgba(255,255,255,0)); z-index: 2; }
.blog-hero-unique .unique-inner { position: relative; z-index: 5; width: 100%; text-align: center; padding: 4rem 0; }
.blog-hero-unique .unique-badge { display: inline-flex; align-items: center; gap: .5rem; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); padding: .5rem 1rem; border-radius: 999px; color: #e5e7eb; margin-bottom: 1rem; }
.blog-hero-unique .unique-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #60a5fa; box-shadow: 0 0 10px #60a5fa; }
.blog-hero-unique .unique-card { margin: 0 auto 1.5rem; max-width: 900px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 24px; padding: 2rem 2.25rem; backdrop-filter: blur(10px); box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.blog-hero-unique .unique-title { font-size: 3rem; font-weight: 900; line-height: 1.05; margin-bottom: .75rem; background: linear-gradient(135deg, #ffffff 0%, #9ec5ff 45%, #c4b5fd 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.blog-hero-unique .unique-subtitle { font-size: 1.125rem; color: rgba(255,255,255,0.9); line-height: 1.75; max-width: 70ch; margin: 0 auto 1.25rem; }
.blog-hero-unique .unique-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.blog-hero-unique .btn-unique-primary, .blog-hero-unique .btn-unique-secondary { display: inline-flex; align-items: center; gap: .6rem; padding: .9rem 1.6rem; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 1rem; transition: all .3s ease; color: #fff; }
.blog-hero-unique .btn-unique-primary { background: linear-gradient(135deg, #014fb6 0%, #9857eb 100%); box-shadow: 0 10px 30px rgba(1,79,182,.3); }
.blog-hero-unique .btn-unique-secondary { background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.18); backdrop-filter: blur(8px); }
.blog-hero-unique .btn-unique-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(1,79,182,.4); }
.blog-hero-unique .btn-unique-secondary:hover { transform: translateY(-3px); background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.28); }
.blog-hero-unique .btn-icon { transition: transform .3s ease; }
.blog-hero-unique .btn-unique-primary:hover .btn-icon, .blog-hero-unique .btn-unique-secondary:hover .btn-icon { transform: translateX(4px); }
.blog-hero-unique .unique-marquee { overflow: hidden; mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); }
.blog-hero-unique .marquee-track { display: flex; gap: .75rem; padding: .5rem 0; animation: marqueeScroll 20s linear infinite; }
.blog-hero-unique .chip { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .9rem; border-radius: 999px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); color: #e5e7eb; font-weight: 600; font-size: .9rem; }
@keyframes marqueeScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

@media (max-width: 768px) {
    .blog-hero-unique .unique-title { font-size: 2.25rem; }
    .blog-hero-unique .unique-card { padding: 1.5rem 1.75rem; }
    .blog-hero-unique { min-height: 60vh; }
}

/* Blog Filter Section */
.blog-filter {
    padding: 3rem 0;
    background: #f8fafc;
}

.filter-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.filter-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid #e2e8f0;
    background: white;
    color: #64748b;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: #667eea;
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

.search-box {
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    padding: 0.5rem;
    min-width: 300px;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    background: transparent;
}

.search-btn {
    background: #667eea;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: #5a67d8;
    transform: scale(1.1);
}

/* Blog Content Section */
.blog-content {
    padding: 4rem 0;
}

.blog-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.blog-main {
    min-height: 500px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    opacity: 1;
    transform: translateY(0);
}

.blog-card.hidden {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.blog-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: #f8fafc;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.placeholder-image {
    width: 100%;
    height: 100%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
}

.blog-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(102, 126, 234, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.blog-content {
    padding: 2rem;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.blog-date,
.blog-tags {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    font-size: 0.875rem;
}

.blog-date svg,
.blog-tags svg {
    color: #667eea;
}

.blog-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-title a:hover {
    color: #667eea;
}

.blog-excerpt {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.read-more {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: #5a67d8;
    transform: translateX(5px);
}

.read-more svg {
    transition: transform 0.3s ease;
}

.read-more:hover svg {
    transform: translateX(3px);
}

/* No Posts State */
.no-posts {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
}

.no-posts-icon {
    color: #cbd5e1;
    margin-bottom: 1rem;
}

.no-posts h3 {
    font-size: 1.5rem;
    color: #475569;
    margin-bottom: 0.5rem;
}

.no-posts p {
    color: #64748b;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
}

.pagination-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: white;
    color: #475569;
    text-decoration: none;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination-btn:hover {
    border-color: #667eea;
    color: #667eea;
    transform: translateY(-2px);
}

.pagination-numbers {
    display: flex;
    gap: 0.5rem;
}

.pagination-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: white;
    color: #475569;
    text-decoration: none;
    border: 2px solid #e2e8f0;
    border-radius: 50%;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination-number:hover,
.pagination-number.active {
    border-color: #667eea;
    background: #667eea;
    color: white;
}

/* Blog Sidebar */
.blog-sidebar {
    position: sticky;
    top: 2rem;
}

.sidebar-widget {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.sidebar-widget h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1.5rem;
}

.recent-posts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.recent-post {
    display: flex;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.recent-post:last-child {
    border-bottom: none;
}

.recent-post-image {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.recent-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-post-image .placeholder-image {
    width: 100%;
    height: 100%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
}

.recent-post-content h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.recent-post-content h4 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.recent-post-content h4 a:hover {
    color: #667eea;
}

.recent-post-date {
    font-size: 0.75rem;
    color: #64748b;
}

.category-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.category-link {
    color: #64748b;
    text-decoration: none;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    border-radius: 8px;
    padding-left: 0.75rem;
}

.category-link:hover {
    color: #667eea;
    background: #f8fafc;
    transform: translateX(5px);
}

/* Blog Post Detail Styles */
.blog-post-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #014fb6 0%, #9857eb 100%);
    overflow: hidden;
}

.blog-post-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.blog-post-hero .geometric-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.blog-post-hero .shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 20s infinite linear;
}

.blog-post-hero .circle-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.blog-post-hero .circle-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-delay: -5s;
}

.blog-post-hero .triangle-1 {
    width: 0;
    height: 0;
    border-left: 75px solid transparent;
    border-right: 75px solid transparent;
    border-bottom: 130px solid rgba(255, 255, 255, 0.1);
    top: 30%;
    right: 30%;
    border-radius: 0;
    animation-delay: -10s;
}

.blog-post-hero .gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(1, 79, 182, 0.9) 0%, rgba(152, 87, 235, 0.9) 100%);
    z-index: 2;
}

.blog-post-hero .hero-content {
    position: relative;
    z-index: 10;
    color: white;
}

.post-breadcrumb {
    margin-bottom: 2rem;
}

.post-breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-breadcrumb a:hover {
    color: white;
}

.breadcrumb-separator {
    margin: 0 1rem;
    color: rgba(255, 255, 255, 0.6);
}

.post-header {
    max-width: 800px;
}

.post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.post-category {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.post-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

.post-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.post-excerpt {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: white;
}

.post-tags {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

/* Blog Post Content */
.blog-post-content {
    padding: 4rem 0;
}

.post-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.post-main {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.post-featured-image {
    height: 400px;
    overflow: hidden;
}

.post-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-content {
    padding: 3rem;
    font-size: 1.125rem;
    line-height: 1.7;
    color: #475569;
}

/* Preserve author-entered line breaks in plain-text content */
.post-content { white-space: pre-line; }

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
    color: #1a202c;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.post-content h2 {
    font-size: 2rem;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 0.5rem;
}

.post-content h3 {
    font-size: 1.5rem;
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content ul,
.post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.post-content li {
    margin-bottom: 0.5rem;
}

.post-content blockquote {
    border-left: 4px solid #667eea;
    padding-left: 2rem;
    margin: 2rem 0;
    font-style: italic;
    color: #64748b;
    background: #f8fafc;
    padding: 2rem;
    border-radius: 10px;
}

.post-content code {
    background: #f1f5f9;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.875rem;
    color: #e53e3e;
}

.post-content pre {
    background: #1a202c;
    color: #e2e8f0;
    padding: 2rem;
    border-radius: 10px;
    overflow-x: auto;
    margin: 2rem 0;
}

.post-content pre code {
    background: none;
    color: inherit;
    padding: 0;
}

.post-footer {
    padding: 2rem 3rem;
    border-top: 1px solid #f1f5f9;
}

.post-share h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 1rem;
}

.share-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.share-btn.twitter {
    background: #1da1f2;
    color: white;
}

.share-btn.linkedin {
    background: #0077b5;
    color: white;
}

.share-btn.facebook {
    background: #4267b2;
    color: white;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Related Posts */
.related-posts {
    padding: 4rem 0;
    background: #f8fafc;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: #64748b;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.related-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.related-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.related-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.related-image {
    height: 200px;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-item:hover .related-image img {
    transform: scale(1.05);
}

.related-content {
    padding: 1.5rem;
}

.related-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.related-category {
    color: #014fb6;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Blog CTA */
.blog-cta,
.blog-post-cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, #014fb6 0%, #9857eb 100%);
    color: white;
    text-align: center;
}

.blog-cta .cta-content h2,
.blog-post-cta .cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.blog-cta .cta-content p,
.blog-post-cta .cta-content p {
    font-size: 1.25rem;
    color: #ffffff;
    opacity: 1;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
}

.blog-cta .cta-buttons,
.blog-post-cta .cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-hero .hero-title,
    .blog-post-hero .post-title {
        font-size: 2rem;
    }
    
    .blog-hero .hero-subtitle,
    .blog-post-hero .post-excerpt {
        font-size: 1rem;
    }
    
    .filter-content {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box {
        min-width: auto;
    }
    
    .blog-layout,
    .post-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .blog-sidebar {
        position: static;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .post-content {
        padding: 2rem;
        font-size: 1rem;
    }
    
    .post-content h2 {
        font-size: 1.5rem;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-cta .cta-buttons,
    .blog-post-cta .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-30px) rotate(120deg); }
    66% { transform: translateY(30px) rotate(240deg); }
}

/* Blog Card Animations */
.blog-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.blog-card:nth-child(1) { animation-delay: 0.1s; }
.blog-card:nth-child(2) { animation-delay: 0.2s; }
.blog-card:nth-child(3) { animation-delay: 0.3s; }
.blog-card:nth-child(4) { animation-delay: 0.4s; }
.blog-card:nth-child(5) { animation-delay: 0.5s; }
.blog-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
