/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* YouTube Embed Styles */
.youtube-embed-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 8px;
    margin: 16px 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.youtube-embed-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 8px;
}

.youtube-embed-container:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transform: translateY(-1px);
    transition: all 0.3s ease;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8fafc;
}

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

/* Header Styles */
.header {
    background: #fff;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}


.nav-link {
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #2563eb;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #2563eb;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: absolute;
    right: 20px;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 0 20px;
    text-align: center;
}

/* Hero Image Responsive Styles */
.hero-background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    max-width: 100%;
    max-height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.hero-phone-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-width: 100%;
    display: block;
}

/* Additional responsive breakpoints for hero images */
@media (max-width: 1024px) {
    .hero-background-image {
        object-fit: cover;
        object-position: center center;
    }
    
    .hero-phone-image {
        max-width: 400px;
    }
}

@media (max-width: 640px) {
    .hero-background-image {
        object-fit: cover;
        object-position: center center;
    }
    
    .hero-phone-image {
        max-width: 280px;
    }
}

/* Override Tailwind pb-16 class for hero section */
section.relative.min-h-\[500px\].flex.items-center.bg-gradient-to-br.from-nubes-purple.to-nubes-pink.pt-12.pb-16 {
    padding-bottom: 1rem !important;
}

/* Mobile-specific hero section adjustments */
@media (max-width: 768px) {
    section.relative.min-h-\[500px\].flex.items-center.bg-gradient-to-br.from-nubes-purple.to-nubes-pink.pt-12.pb-16 {
        min-height: 300px !important;
        padding-top: 80px !important;
        padding-bottom: 2rem !important;
    }
}

@media (max-width: 480px) {
    section.relative.min-h-\[500px\].flex.items-center.bg-gradient-to-br.from-nubes-purple.to-nubes-pink.pt-12.pb-16 {
        min-height: 250px !important;
        padding-top: 70px !important;
        padding-bottom: 1.5rem !important;
    }
}

/* Extra small mobile devices */
@media (max-width: 360px) {
    section.relative.min-h-\[500px\].flex.items-center.bg-gradient-to-br.from-nubes-purple.to-nubes-pink.pt-12.pb-16 {
        min-height: 200px !important;
        padding-top: 60px !important;
        padding-bottom: 1rem !important;
    }
    
    .hero-background-image {
        object-fit: cover;
        object-position: center center;
    }
}

.hero-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
   
    opacity: 0.9;
}

.cta-button {
    background: #fff;
    color: #2563eb;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Main Content */
.main {
    padding: 20px 0 80px 0;
    min-height: 60vh;
}

/* Loading Spinner */
.loading {
    text-align: center;
    padding: 60px 0;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #e2e8f0;
    border-top: 4px solid #B24AA1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Error Message */
.error {
    text-align: center;
    padding: 60px 0;
    color: #dc2626;
}

.error i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.retry-button {
    background: #dc2626;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 1rem;
    transition: background 0.3s ease;
}

.retry-button:hover {
    background: #b91c1c;
}

/* Posts Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.post-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.post-image-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(45deg, #f1f5f9, #e2e8f0);
    border-radius: 8px 8px 0 0;
}

.post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: linear-gradient(45deg, #f1f5f9, #e2e8f0);
    transition: opacity 0.3s ease;
    opacity: 0;
}

.post-image.loaded {
    opacity: 1;
}

/* Loading placeholder */
.post-image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #f1f5f9, #e2e8f0);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 0.875rem;
    transition: opacity 0.01s ease;
    z-index: 1;
}

.post-image-placeholder i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    opacity: 0.7;
}

.post-image-placeholder span {
    font-size: 0.75rem;
    font-weight: 500;
}

.post-image-placeholder.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Skeleton loading animation */
@keyframes skeleton-loading {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

.post-image-placeholder.loading {
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200px 100%;
    animation: skeleton-loading 1.5s infinite;
}

.post-content {
    padding: 1rem;
}

.post-meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 0.75rem;
    font-size: 0.75rem;
    color: #64748b;
}

.post-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-category {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: #e0f2fe;
    color: #0369a1;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.post-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1e293b;
    line-height: 1.3;
}

.post-excerpt {
    color: #64748b;
    margin-bottom: 0.75rem;
    line-height: 1.5;
    font-size: 0.875rem;
}

.read-more {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
    font-size: 0.875rem;
}

.read-more:hover {
    color: #1d4ed8;
}

/* Read More Button Styles */
.read-more-btn {
    background: linear-gradient(90deg, #8A4693 0%, #C14CA7 100%);
    color: white;
    border: none;
    padding: 10px 40px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0 auto;
    box-shadow: 0 2px 8px rgba(138, 70, 147, 0.3);
    position: relative;
    overflow: hidden;
    min-width: 120px;
}

.read-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(138, 70, 147, 0.4);
}

.read-more-btn:active {
    transform: translateY(0);
}

.read-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.read-more-btn:hover::before {
    left: 100%;
}

/* Read More Container */
.read-more-container {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    padding-top: 0.5rem;
}

/* Filter Buttons */
.filter-buttons-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 0.5rem 0 3rem 0;
    flex-wrap: wrap;
}

.filter-btn {
    background: linear-gradient(90deg, #8A4693 0%, #C14CA7 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(138, 70, 147, 0.3);
    position: relative;
    overflow: hidden;
    min-width: 120px;
}

.filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(138, 70, 147, 0.4);
}

.filter-btn:active {
    transform: translateY(0);
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.filter-btn:hover::before {
    left: 100%;
}

.filter-btn.active {
    background: linear-gradient(90deg, #A259C6 0%, #EC4899 100%);
    box-shadow: 0 4px 15px rgba(162, 89, 198, 0.4);
}

.filter-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: #FFD600;
    border-radius: 1px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
}

.pagination-arrow {
    background: white;
    border: 2px solid #e2e8f0;
    color: #64748b;
    padding: 8px 12px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1.2rem;
}

.pagination-arrow:hover:not(:disabled) {
    border-color: #B24AA1 ;
    color: #B24AA1 ;
}

.pagination-arrow:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-numbers {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.page-number {
    background: white;
    border: 2px solid #e2e8f0;
    color: #64748b;
    padding: 8px 12px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9rem;
}

.page-number:hover {
    border-color: #B24AA1 ;
    color: #B24AA1 ;
}

.page-number.active {
    background: #B24AA1;
    border-color: #B24AA1;
    color: white;
}

.page-number.active:hover {
    background: #9A3A8A;
    border-color: #9A3A8A;
    color: white;
}

.page-ellipsis {
    color: #64748b;
    font-weight: 500;
    padding: 0 0.5rem;
    user-select: none;
}

.page-info {
    font-weight: 500;
    color: #64748b;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 2% auto;
    padding: 0;
    border-radius: 12px;
    width: 95%;
    max-width: 1200px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #64748b;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    background: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.close:hover {
    color: #dc2626;
}

#modal-body {
    padding: 3rem;
}

.modal-post-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.modal-post-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1e293b;
    line-height: 1.3;
}

.modal-post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.modal-post-content {
    line-height: 1.8;
    color: #374151;
    font-size: 1.1rem;
}

.modal-post-content h1,
.modal-post-content h2,
.modal-post-content h3 {
    margin: 1.5rem 0 1rem;
    color: #1e293b;
}

.modal-post-content p {
    margin-bottom: 1rem;
}

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

.modal-post-content ul {
    list-style-type: disc;
}

.modal-post-content ol {
    list-style-type: decimal;
}

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

.modal-post-content ul ul,
.modal-post-content ol ol,
.modal-post-content ul ol,
.modal-post-content ol ul {
    margin: 0.5rem 0 0.5rem 1.5rem;
}

.modal-post-content ul ul {
    list-style-type: circle;
}

.modal-post-content ul ul ul {
    list-style-type: square;
}

.modal-post-content blockquote {
    border-left: 4px solid #2563eb;
    padding-left: 1rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #64748b;
}

.modal-post-content code {
    background-color: #f1f5f9;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.modal-post-content pre {
    background-color: #f8fafc;
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1rem 0;
    border: 1px solid #e2e8f0;
}

.modal-post-content pre code {
    background: none;
    padding: 0;
    border-radius: 0;
}

.modal-post-content a {
    color: #B74BA3;
    text-decoration: none !important;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-post-content a:hover {
    color: #9A3A8A;
    text-decoration: none !important;
}

.modal-post-content strong {
    font-weight: 600;
}

.modal-post-content em {
    font-style: italic;
}

.modal-post-content u {
    text-decoration: underline;
}

/* Navigation Bar Styles */
.pixel-navbar-btn {
    background: #EC4899;
    color: #fff;
    border-radius: 9999px;
    font-weight: 600;
    padding: 6px 20px;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pixel-navbar-signin {
    background: #fff;
    color: #EC4899;
    border: 2px solid #EC4899;
    border-radius: 9999px;
    font-weight: 600;
    padding: 6px 20px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pixel-navbar-signin:hover {
    background: #EC4899;
    color: #fff;
}

/* App Download Section */
.bg-nubes-gray {
    background-color: #F3F4F6;
}

.pixel-app-btn {
    background: #000;
    color: #fff;
    border-radius: 12px;
    font-weight: 600;
    font-size: 17px;
    padding: 14px 32px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pixel-app-btn:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.pixel-app-btn svg {
    margin-right: 8px;
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 3rem 0 1rem;
}

.pixel-footer {
    background: linear-gradient(90deg, #7B2FF2 0%, #F357A8 100%);
}

.bg-nubes-dark {
    background-color: #1F2937;
}

.pixel-footer-link {
    color: #D1B3F7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.pixel-footer-link:hover {
    color: #fff;
}

.pixel-footer-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.pixel-footer-social {
    color: #D1B3F7;
    margin-right: 12px;
    transition: color 0.3s ease;
}

.pixel-footer-social:hover {
    color: #fff;
}

.pixel-footer-copyright {
    color: #D1B3F7;
    font-size: 15px;
    margin-top: 32px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #f1f5f9;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #f1f5f9;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #374151;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.social-link:hover {
    background: #2563eb;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #94a3b8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        justify-content: center;
        position: relative;
    }

    .nav-toggle {
        display: none; /* Hide mobile menu toggle since no navigation items */
    }

    .hero-title {
        font-size: 2.5rem;
    }

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

    /* Hero image responsive adjustments for tablet */
    .hero-background-image {
        object-fit: cover;
        object-position: center center;
    }

    .hero-phone-image {
        max-width: 300px;
        height: auto;
    }

    .filter-buttons-container {
        gap: 0.75rem;
        margin: 0rem 0 2rem 0;
    }

    .filter-btn {
        padding: 10px 20px;
        font-size: 0.8rem;
        min-width: 100px;
    }

    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .pagination {
        flex-direction: column;
        gap: 1rem;
    }

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

    .modal-content {
        width: 98%;
        margin: 5% auto;
        max-height: 95vh;
    }

    #modal-body {
        padding: 2rem;
    }

    .modal-post-title {
        font-size: 2rem;
    }

    .modal-post-image {
        height: 250px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .nav-container {
        padding: 0 15px;
    }

    .hero {
        padding: 100px 0 60px;
    }

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

    /* Hero image responsive adjustments for mobile */
    .hero-background-image {
        object-fit: cover;
        object-position: center center;
        height: 100%;
        width: 100%;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }

    .hero-phone-image {
        max-width: 250px;
        height: auto;
    }

    .main {
        padding: 60px 0;
    }

    .filter-buttons-container {
        gap: 0.5rem;
        margin: 0rem 0 1.5rem 0;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.75rem;
        min-width: 80px;
    }

    .posts-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .post-content {
        padding: 1rem;
    }

    .post-category {
        top: 0.5rem;
        left: 0.5rem;
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }

    .modal-content {
        width: 99%;
        margin: 2% auto;
        max-height: 96vh;
    }

    #modal-body {
        padding: 1.5rem;
    }

    .modal-post-title {
        font-size: 1.8rem;
    }

    .modal-post-image {
        height: 200px;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in {
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

/* Blog Post Page Styles */
.blog-post-main {
    padding: 2rem 0;
    min-height: 60vh;
}

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

.blog-post-back-button {
    margin-bottom: 1.5rem;
}

.back-to-blog-link {
    display: inline-flex;
    align-items: center;
    color: #A259C6;
    text-decoration: none !important;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.back-to-blog-link:hover {
    color: #EC4899;
}

.back-to-blog-link i {
    margin-right: 0.5rem;
    font-size: 0.9rem;
}

.blog-post-article {
    background: white;
    border-radius: 12px;
    overflow: hidden;
}

.blog-post-header {
    margin-bottom: 2rem;
    text-align: center;
}

.blog-post-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.blog-post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.blog-post-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1e293b;
    line-height: 1.3;
    text-align: center;
}

.blog-post-author {
    font-size: 0.875rem;
    color: #894692;
    margin-bottom: 0.5rem;
    font-weight: 500;
    text-align: center;
}

.blog-post-date {
    font-size: 0.8rem;
    color: #7E7E7E;
    margin-bottom: 1.5rem;
    font-weight: 300;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.blog-post-date i {
    font-size: 0.7rem;
}

.blog-post-body {
    line-height: 1.8;
    color: #374151;
    font-size: 1.1rem;
}

.blog-post-body h1,
.blog-post-body h2,
.blog-post-body h3 {
    margin: 1.5rem 0 1rem;
    color: #1e293b;
}

.blog-post-body p {
    margin-bottom: 1rem;
}

.blog-post-body ul,
.blog-post-body ol {
    margin: 1rem 0 1rem 2rem;
    padding-left: 1rem;
}

.blog-post-body ul {
    list-style-type: disc;
}

.blog-post-body ol {
    list-style-type: decimal;
}

.blog-post-body li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.blog-post-body ul ul,
.blog-post-body ol ol,
.blog-post-body ul ol,
.blog-post-body ol ul {
    margin: 0.5rem 0 0.5rem 1.5rem;
}

.blog-post-body ul ul {
    list-style-type: circle;
}

.blog-post-body ul ul ul {
    list-style-type: square;
}

.blog-post-body blockquote {
    border-left: 4px solid #2563eb;
    padding-left: 1rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #64748b;
}

.blog-post-body code {
    background-color: #f1f5f9;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.blog-post-body pre {
    background-color: #f8fafc;
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1rem 0;
    border: 1px solid #e2e8f0;
}

.blog-post-body pre code {
    background: none;
    padding: 0;
    border-radius: 0;
}

.blog-post-body a {
    color: #B74BA3;
    text-decoration: none !important;
    cursor: pointer;
    transition: color 0.3s ease;
}

.blog-post-body a:hover {
    color: #9A3A8A;
    text-decoration: none !important;
}

.blog-post-body strong {
    font-weight: 600;
}

.blog-post-body em {
    font-style: italic;
}

.blog-post-body u {
    text-decoration: underline;
}

/* Blog Post Category Badge */
.blog-post-category-badge {
    background-color: #FFD258;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
    display: inline-block;
    margin: 0 auto 1.5rem auto;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(255, 210, 88, 0.3);
}

/* Responsive adjustments for blog post page */
@media (max-width: 768px) {
    .blog-post-container {
        padding: 0 15px;
    }

    .blog-post-title {
        font-size: 1.5rem;
    }

    .blog-post-author {
        font-size: 0.8rem;
    }

    .blog-post-date {
        font-size: 0.75rem;
    }

    .blog-post-image {
        height: 250px;
    }

    .blog-post-body {
        font-size: 1rem;
    }
}

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

    .blog-post-title {
        font-size: 1.3rem;
    }

    .blog-post-author {
        font-size: 0.75rem;
    }

    .blog-post-date {
        font-size: 0.7rem;
    }

    .blog-post-image {
        height: 200px;
    }

    .blog-post-body {
        font-size: 0.95rem;
    }
}
