/* ========================================
   CLEAN BLOG STYLES - WHITE DESIGN
======================================== */

/* Clean Blog Header */
.clean-blog-header {
    padding: 140px 0 60px;
    background: white;
    text-align: center;
}

.blog-header-content {
    max-width: 800px;
    margin: 0 auto;
}

.blog-main-title {
    font-size: clamp(3rem, 6vw, 4rem);
    font-weight: 400;
    color: #1a1a1a;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.blog-main-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    color: #6b7280;
    margin: 0;
    line-height: 1.6;
}

/* Blog Filters */
.blog-filters {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 1rem;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 25px;
    color: #6b7280;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.filter-btn:hover {
    border-color: #0000FF;
    color: #0000FF;
}

.filter-btn.active {
    background: #0000FF;
    border-color: #0000FF;
    color: white;
}

/* Clean Blog Content */
.clean-blog-content {
    padding: 40px 0 80px;
    background: white;
}

/* Clean Blog Grid - 3 columns */
.clean-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Clean Blog Cards */
.clean-blog-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: none; /* No hover effects */
}

.clean-card-image {
    height: 200px;
    overflow: hidden;
}

.clean-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.clean-card-content {
    padding: 1.5rem;
}

.clean-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: #6b7280;
}

.clean-card-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.author-mini-avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
}

.clean-card-title {
    margin-bottom: 1rem;
}

.clean-card-title a {
    color: #1e293b;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.3;
    transition: color 0.2s ease;
}

.clean-card-title a:hover {
    color: #0000FF;
}

.clean-card-excerpt {
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.clean-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.clean-card-tags {
    display: flex;
    gap: 0.5rem;
}

.clean-tag {
    background: #f1f5f9;
    color: #64748b;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.clean-read-more {
    color: #1e293b;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid #1e293b;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.2s ease;
}

.clean-read-more:hover {
    background: #1e293b;
    color: white;
}

/* Post Page Styles */
.post-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.back-to-blog {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: black;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 2rem;
    transition: all 0.2s ease;
}

.back-to-blog:hover {
    color: black;
    transform: translateX(-2px);
}

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

.post-category {
    display: inline-block;
    background: blue;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.post-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.post-meta {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.post-author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: contain;
}

.post-author-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.post-author-name {
    font-weight: 600;
    color: #1e293b;
}

.post-author-role {
    font-size: 0.9rem;
    color: #64748b;
}

.post-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #64748b;
}

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

.post-featured-image {
    margin-bottom: 3rem;
}

.post-featured-image img {
    width: 100%;
    border-radius: 16px;
}

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

.post-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
    margin-bottom: 2rem;
    text-align: center;
}

.post-content h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1e293b;
    margin: 3rem 0 1.5rem;
    line-height: 1.3;
}

.post-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1e293b;
    margin: 2.5rem 0 1rem;
    line-height: 1.3;
}

.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 #0000FF;
    padding: 1.5rem;
    margin: 2rem 0;
    background: rgba(0, 0, 255, 0.05);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #0000FF;
}

.post-content strong {
    color: #1e293b;
    font-weight: 600;
}

.cta-section {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.post-share {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    flex-wrap: wrap;
}

.post-share-label {
    font-weight: 600;
    color: #374151;
    margin-right: 1rem;
}

.post-share-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.post-share-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    font-size: 0.9rem;
}

.post-share-button:hover {
    transform: translateY(-2px);
}

.post-share-button.linkedin {
    background: blue;
    color: white;
}

.post-share-button.linkedin:hover {
    background: white;
    color: blue;
}

.post-share-button.twitter {
    background: black;
    color: white;
}

.post-share-button.twitter:hover {
    background: white;
    color: black;
}

.post-share-button.copy {
    background: #eeeeee;
    color: grey;
}

.post-share-button.copy.copied {
    background: #10b981;
    color: white;
}

.post-newsletter {
    background: linear-gradient(135deg, #0000FF 0%, #0033FF 50%, #0066FF 100%);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    color: white;
    margin-top: 3rem;
}

.post-newsletter-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.post-newsletter-content p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.post-newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.post-newsletter-form input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(10px);
}

.post-newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.post-newsletter-form input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
}

.post-newsletter-form button {
    padding: 0.875rem 1.5rem;
    background: white;
    color: #0000FF;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.post-newsletter-form button:hover {
    background: #f8fafc;
    transform: translateY(-1px);
}

/* Reading Progress Bar */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(0, 0, 255, 0.1);
    z-index: 1000;
}

.reading-progress-bar {
    height: 100%;
    background: #0000FF;
    width: 0%;
    transition: width 0.3s ease;
}

/* Filter Animation */
.clean-blog-card {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.clean-blog-card.hidden {
    opacity: 0;
    transform: scale(0.9);
    pointer-events: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .clean-blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .clean-blog-header {
        padding: 120px 0 40px;
    }

    .clean-blog-content {
        padding: 30px 0 60px;
    }

    .clean-blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .blog-filters {
        padding: 0 1rem;
        margin-bottom: 2rem;
    }

    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .clean-card-content {
        padding: 1.25rem;
    }

    .clean-card-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .post-container {
        padding: 1.5rem;
    }

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

    .post-featured-image img {
        height: 250px;
    }

    .post-content {
        font-size: 1rem;
    }

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

    .post-share-label {
        margin-right: 0;
    }

    .post-newsletter-form {
        flex-direction: column;
        max-width: 280px;
    }

    .cta-section {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .clean-blog-header {
        padding: 100px 0 30px;
    }

    .clean-blog-content {
        padding: 20px 0 50px;
    }

    .clean-card-image {
        height: 180px;
    }

    .clean-card-content {
        padding: 1rem;
    }

    .clean-card-title a {
        font-size: 1rem;
    }

    .clean-card-excerpt {
        font-size: 0.85rem;
    }

    .post-container {
        padding: 1rem;
    }

    .post-featured-image img {
        height: 200px;
    }

    .post-content h2 {
        font-size: 1.5rem;
    }

    .post-content h3 {
        font-size: 1.3rem;
    }

    .post-newsletter {
        padding: 1.5rem;
    }

    .post-share-button {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}


/* Mailchimp Newsletter Form Styles */
#mc_embed_shell {
    background: none;
    clear: none;
    position: static;
    width: auto;
}

#mc_embed_signup {
    background: none;
    clear: none;
    font: inherit;
    width: auto;
}

#mc_embed_signup form {
    display: flex;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
    padding: 0;
    text-align: left;
}

#mc_embed_signup_scroll {
    display: contents;
}

/* Hide the required indicator */
#mc_embed_signup .indicates-required {
    display: none;
}

/* Style the field group */
#mc_embed_signup .mc-field-group {
    flex: 1;
    margin: 0;
    padding: 0;
    position: relative;
}

/* Hide the label but keep it accessible */
#mc_embed_signup .mc-field-group label {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Style the email input */
#mc_embed_signup input[type="email"] {
    flex: 1;
    padding: 0.875rem 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(10px);
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
    line-height: 1.5;
    transition: all 0.2s ease;
}

#mc_embed_signup input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

#mc_embed_signup input[type="email"]:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
}

/* Style the submit button */
#mc_embed_signup input[type="submit"] {
    padding: 0.875rem 1.5rem;
    background: white;
    color: #0000FF;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.5;
    box-sizing: border-box;
}

#mc_embed_signup input[type="submit"]:hover {
    background: #f8fafc;
    transform: translateY(-1px);
}

/* Hide the honeypot field */
#mc_embed_signup div[aria-hidden="true"] {
    display: none !important;
}

/* Style response messages */
#mc_embed_signup #mce-responses {
    clear: none;
    float: none;
    top: auto;
    left: auto;
    width: auto;
    margin: 0;
    position: static;
}

#mc_embed_signup .response {
    margin: 0.5rem 0 0;
    padding: 0.5rem;
    font-weight: normal;
    float: none;
    top: auto;
    z-index: auto;
    width: auto;
    color: white;
    border-radius: 4px;
    font-size: 0.9rem;
}

#mc_embed_signup #mce-error-response {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

#mc_embed_signup #mce-success-response {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Clear any default Mailchimp styles */
#mc_embed_signup .clear {
    clear: none;
    display: contents;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #mc_embed_signup form {
        flex-direction: column;
        max-width: 280px;
    }

    #mc_embed_signup .mc-field-group {
        width: 100%;
    }
}

/* Override any inline styles */
#mc_embed_signup input[type="email"][style] {
    width: 100% !important;
    background: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
}

#mc_embed_signup input[type="submit"][style] {
    background: white !important;
    color: #0000FF !important;
}