
.etslabs-blog-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:24px}
.etslabs-blog-card{border:1px solid #eee;padding:16px;border-radius:10px}
.etslabs-breadcrumbs{margin-bottom:15px;font-size:14px}

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


/* ===================================
   ETSLABS AUTHOR PAGE STYLES
   Matching the design from the image
   =================================== */

/* Author Header Section */
.etslabs-author-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #ffffff;
    padding: 60px 40px;
    margin-bottom: 40px;
}

.author-header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

.author-left {
    flex: 1;
    max-width: 600px;
}

.back-link {
    color: #00d9ff;
    text-decoration: none;
    font-size: 14px;
    display: inline-block;
    margin-bottom: 20px;
    transition: opacity 0.3s;
}

.back-link:hover {
    opacity: 0.8;
}

.author-name {
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 20px 0;
    color: #ffffff;
}

.author-bio {
    font-size: 16px;
    line-height: 1.6;
    color: #e0e0e0;
    margin: 0 0 30px 0;
}

.author-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.author-socials {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.3s;
    text-decoration: none;
}

.social-icon:hover {
    background: #00d9ff;
    transform: translateY(-2px);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #00d9ff;
    font-size: 14px;
}

.author-role {
    font-weight: 500;
}

.separator {
    opacity: 0.6;
}

.author-post-count {
    font-weight: 500;
}

.author-right {
    flex-shrink: 0;
}

.author-photo {
    width: 200px;
    height: 200px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Filters Section */
.etslabs-author-filters {
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 0 20px;
    display: flex;
    gap: 20px;
    align-items: center;
}

.filter-select,
.filter-search {
    padding: 12px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    background: #ffffff;
    transition: all 0.3s;
}

.filter-select {
    min-width: 200px;
    cursor: pointer;
}

.filter-search {
    flex: 1;
    max-width: 400px;
}

.filter-select:focus,
.filter-search:focus {
    outline: none;
    border-color: #00d9ff;
    box-shadow: 0 0 0 3px rgba(0, 217, 255, 0.1);
}

/* Author Posts Grid */
.author-posts-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.etslabs-blog-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.etslabs-blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.etslabs-blog-card > a {
    display: block;
    overflow: hidden;
}

.etslabs-blog-card img {
    
    object-fit: cover;
    transition: transform 0.3s;
}
.author-avatar {
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.etslabs-blog-card:hover img {
    transform: scale(1.05);
}

.etslabs-blog-card h3 {
    margin: 20px 20px 10px;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
}

.etslabs-blog-card h3 a {
    color: #1a1a2e;
    text-decoration: none;
    transition: color 0.3s;
}

.etslabs-blog-card h3 a:hover {
    color: #00d9ff;
}

.post-meta {
    margin: 0 20px 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 13px;
    color: #666;
    flex-wrap: wrap;
}

.post-date {
    color: #999;
}

.post-author a {
    color: #00d9ff;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.post-author a:hover {
    opacity: 0.8;
}

.etslabs-blog-card > p {
    margin: 0 20px 20px;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    flex: 1;
}

/* Pagination */
.author-pagination {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.etslabs-page {
    padding: 10px 16px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    color: #1a1a2e;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}

.etslabs-page:hover,
.etslabs-page.active {
    background: #00d9ff;
    color: #ffffff;
    border-color: #00d9ff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .author-header-content {
        flex-direction: column-reverse;
        text-align: center;
        gap: 30px;
    }

    .author-left {
        max-width: 100%;
    }

    .author-name {
        font-size: 32px;
    }

    .author-meta {
        justify-content: center;
    }

    .author-photo {
        width: 150px;
        height: 150px;
    }

    .etslabs-author-filters {
        flex-direction: column;
    }

    .filter-select,
    .filter-search {
        width: 100%;
        max-width: 100%;
    }

    .author-posts-grid {
        grid-template-columns: 1fr;
    }
}

/* Loading State */
.author-posts-grid.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* Empty State */
.no-posts-message {
    max-width: 1200px;
    margin: 60px auto;
    padding: 40px 20px;
    text-align: center;
    color: #666;
}


.etslabs-audio-player {
    margin-top: 10px;
}

.etslabs-audio-player button {
    padding: 6px 14px;
    margin-right: 8px;
    border-radius: 6px;
    border: 1px solid #ddd;
    cursor: pointer;
    background: #f9f9f9;
}

.etslabs-audio-player button:hover {
    background: #0066ff;
    color: #fff;
}
button#pauseButton {
    width: 50px;
    height: 50px;
    border-radius: 50px;
    background: #0C5290;
    /* padding: 0; */
    /* background: #232756; */
    /* border: 2px solid #232756; */
    margin: 10px 0;
    color: #fff;
    justify-content: center;
    align-items: center;
    display: flex;
    border-radius: 50%;
    padding: 0px;
    margin: 15px auto;
}
button.playactive .pause-icon, button.pauseactive .play-icon {
    display: none;
}

/* Header Banner Layout */
.etslabs-blog-header-banner {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    padding: 200px 50px;
    max-width: 100%;
    margin: 0 auto;
    position: static !important;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    z-index: 1;
    width: 100%;
}

.banner-left {
    flex: 1;
    max-width: 650px;
}

.banner-right {
    flex: 0 0 450px;
}

.banner-right img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Back Button */
.back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #00d9ff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    transition: opacity 0.3s;
}

.back-button:hover {
    opacity: 0.8;
}

/* Banner Title */
.banner-left h1 {
    font-size: 42px;
    line-height: 1.3;
    margin: 0 0 24px 0;
    color: #ffffff;
    font-weight: 700;
}

/* Banner Meta Info */
.banner-left .blog-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    font-size: 14px;
    color: #00d9ff;
}

.banner-left .blog-meta span {
    display: inline-flex;
    align-items: center;
}

/* Responsive Layout for Banner */
@media (max-width: 992px) {
    .etslabs-blog-header-banner {
        flex-direction: column;
        gap: 40px;
        padding: 40px 20px;
    }
    
    .banner-left {
        max-width: 100%;
    }
    
    .banner-right {
        flex: 1;
        width: 100%;
        max-width: 600px;
    }
    
    .banner-left h1 {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .banner-left h1 {
        font-size: 28px;
    }
    
    .etslabs-blog-header-banner {
        padding: 30px 20px;
    }
}

/* Blog Body Container */
.etslabs-blog-body {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Blog Content Wrapper - Flex Layout */
.blog-content-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.etslabs-blog-content {
    flex: 1;
    min-width: 0;
}

.popular-posts-sidebar {
    flex: 0 0 350px;
    position: sticky;
    top: 20px;
}

/* Responsive Layout */
@media (max-width: 992px) {
    .blog-content-wrapper {
        flex-direction: column;
    }
    
    .popular-posts-sidebar {
        flex: 1;
        width: 100%;
        position: static;
    }
}

/* Author Box Section */
.etslabs-author-box {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.author-box-content {
    background: #f5f5f5;
    border-radius: 12px;
    padding: 40px;
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.author-box-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.author-box-text {
    flex: 1;
}

.author-box-text h4 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: #1a1a2e;
}

.author-box-text p {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    margin: 0 0 20px 0;
}

.author-social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: #ffffff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a2e;
    transition: all 0.3s;
    text-decoration: none;
}

.social-link:hover {
    background: #00d9ff;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Responsive for Author Box */
@media (max-width: 768px) {
    .author-box-content {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    
    .author-box-photo {
        margin: 0 auto;
    }
    
    .author-social-links {
        justify-content: center;
    }
}

/* Newsletter Contact Form Section */
.etslabs-contact-form {
    background: #1a1a2e;
    padding: 60px 20px;
    margin: 60px 0;
}

.newsletter-wrapper {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-wrapper h2 {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 16px 0;
}

.newsletter-wrapper p {
    font-size: 16px;
    color: #e0e0e0;
    margin: 0 0 30px 0;
}

/* Related Posts Flex Layout */
.etslabs-related-posts {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.etslabs-related-posts h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #1a1a2e;
}

.etslabs-related-grid {
    display: flex;
   
    gap: 30px;
}

.etslabs-related-card {
    
    gap: 24px;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.etslabs-related-card:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
}

.related-card-image {
    flex: 0 0 280px;
    overflow: hidden;
}

.related-card-image a {
    display: block;
    height: 100%;
}

.related-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.etslabs-related-card:hover .related-card-image img {
    transform: scale(1.05);
}

.related-card-content {
    flex: 1;
    padding: 24px 24px 24px 0;
    display: flex;
    flex-direction: column;
}

.related-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    font-size: 13px;
    margin-bottom: 12px;
    color: #666;
}

.related-author {
    color: #00d9ff;
    font-weight: 500;
}

.related-date,
.related-reading-time {
    color: #999;
}

.related-card-content h4 {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.related-card-content h4 a {
    color: #1a1a2e;
    text-decoration: none;
    transition: color 0.3s;
}

.related-card-content h4 a:hover {
    color: #00d9ff;
}

.related-card-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Responsive for Related Posts */
@media (max-width: 768px) {
    .etslabs-related-card {
        flex-direction: column;
    }
    
    .related-card-image {
        flex: 0 0 200px;
        width: 100%;
    }
    
    .related-card-content {
        padding: 20px;
    }
    
    .etslabs-related-posts h3 {
        font-size: 24px;
    }
}
}