/* 
 * CRITICAL FIXES & ENHANCED AUTHOR HERO
 * 1. Remove sidebar line (PRIORITY FIX)
 * 2. Enhanced hero section (professional & engaging)
 * 3. Better visual hierarchy
 */

/* ==============================================
   CRITICAL FIX: REMOVE DIVI SIDEBAR LINE
   ============================================== */
#main-content .container:before,
#main-content .container::before,
.container:before,
.container::before {
    display: none !important;
    content: none !important;
    width: 0 !important;
    height: 0 !important;
    background: none !important;
}

/* Force remove any leftover sidebar styling */
.custom-author-page #content-area.full-width-content {
    width: 100% !important;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.custom-author-page #left-area {
    width: 100% !important;
    float: none !important;
}

/* ==============================================
   ENHANCED AUTHOR HERO - PROFESSIONAL & ENGAGING
   ============================================== */
.custom-author-hero {
    background: linear-gradient(135deg, #ffffff 0%, #fefefe 50%, #fafafa 100%);
    padding: 50px 0 40px 0;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #f0f0f0;
}

/* Subtle background pattern for visual interest */
.custom-author-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(248, 159, 83, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(248, 159, 83, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.author-hero-content {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* ==============================================
   ENHANCED AVATAR WITH GRADIENT BORDER
   ============================================== */
.author-avatar-container {
    position: relative;
    flex-shrink: 0;
}

.author-avatar {
    width: 140px !important;
    height: 140px !important;
    border-radius: 50% !important;
    border: 4px solid transparent !important;
    background: linear-gradient(45deg, #f89f53, #e6884a) padding-box,
                linear-gradient(45deg, #f89f53, #e6884a) border-box !important;
    box-shadow: 0 10px 30px rgba(248, 159, 83, 0.2),
                0 0 0 4px rgba(248, 159, 83, 0.1) !important;
    transition: all 0.4s ease !important;
    object-fit: cover !important;
    display: block !important;
    position: relative;
}

.author-avatar:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 15px 40px rgba(248, 159, 83, 0.3),
                0 0 0 6px rgba(248, 159, 83, 0.15) !important;
}

/* Enhanced status badge */
.author-status-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 4px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    font-size: 11px;
    color: #666;
    border: 2px solid #f89f53;
    font-weight: 500;
}

.status-dot {
    width: 7px;
    height: 7px;
    background: linear-gradient(135deg, #4ade80, #22c55e);
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 5px rgba(74, 222, 128, 0.5);
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(0.95); }
}

/* ==============================================
   ENHANCED AUTHOR INFO
   ============================================== */
.author-info {
    flex: 1;
    position: relative;
}

/* Enhanced name with subtle text shadow */
.author-name {
    font-size: 2.5rem;
    font-weight: 800;
    color: #000000;
    margin: 0 0 10px 0;
    line-height: 1.1;
    text-shadow: 0 1px 2px rgba(0,0,0,0.05);
    letter-spacing: -0.5px;
}

/* Enhanced job title with gradient text */
.author-title {
    font-size: 1.2rem;
    background: linear-gradient(135deg, #f89f53 0%, #e6884a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    margin: 0 0 20px 0;
    letter-spacing: 0.5px;
}

/* ==============================================
   ENHANCED SOCIAL LINKS
   ============================================== */
.author-social-top {
    display: flex;
    gap: 12px;
    margin: 0 0 25px 0;
    justify-content: flex-start;
}

.author-social-top .social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(248, 159, 83, 0.1) 0%, rgba(248, 159, 83, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f89f53;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.4s ease;
    border: 2px solid rgba(248, 159, 83, 0.15);
    position: relative;
    overflow: hidden;
}

.author-social-top .social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f89f53, #e6884a);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.author-social-top .social-link:hover::before {
    opacity: 1;
}

.author-social-top .social-link:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(248, 159, 83, 0.3);
    border-color: #f89f53;
}

/* Platform-specific hover colors */
.author-social-top .social-link.linkedin:hover::before { background: linear-gradient(135deg, #0077b5, #005885); }
.author-social-top .social-link.twitter:hover::before { background: linear-gradient(135deg, #1da1f2, #0d8bd9); }
.author-social-top .social-link.instagram:hover::before { background: linear-gradient(135deg, #e4405f, #d62d46); }
.author-social-top .social-link.github:hover::before { background: linear-gradient(135deg, #333, #222); }
.author-social-top .social-link.email:hover::before { background: linear-gradient(135deg, #ea4335, #d33b2c); }

/* ==============================================
   ENHANCED COMBINED STATS - MORE VISUAL APPEAL
   ============================================== */
.author-combined-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin: 0 0 25px 0;
    padding: 0;
}

.combined-stat-item {
    text-align: center;
    padding: 20px 15px;
    background: linear-gradient(135deg, rgba(248, 159, 83, 0.08) 0%, rgba(248, 159, 83, 0.03) 100%);
    border-radius: 12px;
    border: 1px solid rgba(248, 159, 83, 0.15);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    cursor: default;
}

.combined-stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #f89f53, #e6884a);
}

.combined-stat-item::after {
    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.6s ease;
}

.combined-stat-item:hover {
    background: linear-gradient(135deg, rgba(248, 159, 83, 0.15) 0%, rgba(248, 159, 83, 0.08) 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(248, 159, 83, 0.2);
}

.combined-stat-item:hover::after {
    left: 100%;
}

.combined-stat-item .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #f89f53;
    line-height: 1;
    margin-bottom: 6px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    text-shadow: 0 1px 2px rgba(248, 159, 83, 0.1);
}

.combined-stat-item .stat-label {
    display: block;
    font-size: 0.85rem;
    color: #666666;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* ==============================================
   ENHANCED BIO SECTION
   ============================================== */
.author-bio {
    margin-bottom: 25px;
    position: relative;
}

.author-bio p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #555555;
    margin: 0;
    text-align: justify;
    position: relative;
    padding-left: 15px;
}

.author-bio p::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -5px;
    font-size: 2rem;
    color: #f89f53;
    opacity: 0.3;
    font-family: serif;
}

/* ==============================================
   ENHANCED CTA SECTION
   ============================================== */
.author-cta.enhanced-conversion {
    margin-top: 25px;
    padding: 25px;
    background: linear-gradient(135deg, rgba(248, 159, 83, 0.06) 0%, rgba(248, 159, 83, 0.02) 100%);
    border-radius: 15px;
    border: 1px solid rgba(248, 159, 83, 0.12);
    position: relative;
    overflow: hidden;
}

.author-cta.enhanced-conversion::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #f89f53, #e6884a, #f89f53);
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.cta-content h3 {
    font-size: 1.4rem;
    margin: 0 0 10px 0;
    color: #000;
    font-weight: 700;
    text-align: center;
}

.cta-content p {
    margin: 0 0 20px 0;
    color: #666;
    font-size: 1rem;
    text-align: center;
    line-height: 1.5;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.cta-primary, .cta-secondary {
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.4s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-direction: column;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-primary {
    background: linear-gradient(135deg, #f89f53 0%, #e6884a 100%);
    color: #ffffff;
    border: 2px solid transparent;
    flex: 1;
    min-width: 220px;
    box-shadow: 0 4px 15px rgba(248, 159, 83, 0.3);
}

.cta-primary::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.6s ease;
}

.cta-primary:hover::before {
    left: 100%;
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(248, 159, 83, 0.4);
    text-decoration: none;
    color: #ffffff;
}

.cta-secondary {
    background: transparent;
    color: #f89f53;
    border: 2px solid #f89f53;
    flex: 1;
    min-width: 200px;
}

.cta-secondary:hover {
    background: #f89f53;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(248, 159, 83, 0.3);
}

.cta-primary small,
.cta-secondary small {
    font-size: 0.75rem;
    opacity: 0.9;
    font-weight: 400;
    margin-top: 3px;
    line-height: 1.2;
}

/* ==============================================
   RESPONSIVE DESIGN
   ============================================== */
@media (max-width: 768px) {
    .author-hero-content {
        flex-direction: column;
        text-align: center;
        gap: 25px;
        padding: 0 15px;
    }
    
    .author-name {
        font-size: 2rem;
    }
    
    .author-title {
        font-size: 1.1rem;
    }
    
    .author-combined-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .author-social-top {
        justify-content: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .cta-primary, .cta-secondary {
        min-width: unset;
        width: 100%;
    }
    
    .custom-author-hero {
        padding: 40px 0 30px 0;
    }

    .author-bio p {
        text-align: left;
        padding-left: 12px;
    }
}

@media (max-width: 480px) {
    .author-avatar {
        width: 120px !important;
        height: 120px !important;
    }
    
    .author-name {
        font-size: 1.8rem;
    }
    
    .author-combined-stats {
        grid-template-columns: 1fr;
    }
    
    .combined-stat-item {
        padding: 15px 10px;
    }
    
    .combined-stat-item .stat-number {
        font-size: 1.8rem;
    }
    
    .author-cta.enhanced-conversion {
        padding: 20px 15px;
    }
}

/* ==============================================
   HIDE OLD SECTIONS (if they exist)
   ============================================== */
.author-stats,
.trust-signals-grid {
    display: none !important;
}

/* 
 * COMPLETE CSS for Missing Author Page Sections
 * Areas of Expertise + Latest Articles + Recommended Articles + Load More
 * ADD THIS to your style.css after the hero section CSS
 */

/* ==============================================
   AREAS OF EXPERTISE SECTION
   ============================================== */
.author-expertise {
    background: #ffffff;
    padding: 40px 0 30px 0;
    margin-bottom: 40px;
    position: relative;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #000000;
    margin: 0 0 25px 0;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #f89f53, #e6884a);
    border-radius: 2px;
}

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.expertise-tag {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    color: #333333;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: inline-block; /* Ensure proper display */
}

.expertise-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f89f53, #e6884a);
    transition: left 0.3s ease;
    z-index: 0;
}
.expertise-tag-text {
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

/* FIX: Text content positioning */
.expertise-tag {
    position: relative;
    z-index: 1;
}

/* CRITICAL FIX: Text color on hover */
.expertise-tag:hover {
    background: linear-gradient(135deg, #f89f53, #e6884a) !important;
    color: #ffffff !important; /* FORCE white text */
    border-color: #f89f53;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(248, 159, 83, 0.3);
}
.expertise-tag:hover::before {
    left: 0;
}

.expertise-tag span {
    position: relative;
    z-index: 1;
}

.expertise-tag:hover .expertise-tag-text {
    color: #ffffff;
}

/* ==============================================
   POSTS SECTION - GRID LAYOUT
   ============================================== */
.author-posts-section {
    padding: 40px 0;
    background: #fafafa;
    margin-bottom: 40px;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 20px;
}

.section-description {
    font-size: 1rem;
    color: #666666;
    margin: 10px 0 0 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
    margin: 0 auto 40px auto;
    max-width: 1200px;
    padding: 0 20px;
}

/* ==============================================
   POST CARDS - COMPLETE STYLING
   ============================================== */
.post-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    position: relative;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border-color: rgba(248, 159, 83, 0.2);
}

.post-thumbnail {
    position: relative;
    overflow: hidden;
    height: 200px;
    background: #f8f9fa;
}

.post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-card:hover .post-image {
    transform: scale(1.05);
}

.post-category {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
}

.category-tag {
    background: linear-gradient(135deg, #f89f53, #e6884a);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(248, 159, 83, 0.3);
}

.post-content {
    padding: 25px;
}

.post-title {
    margin: 0 0 15px 0;
}

.post-title a {
    color: #000000;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.4;
    transition: color 0.3s ease;
    display: block;
}

.post-title a:hover {
    color: #f89f53;
}

.post-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: #999999;
    align-items: center;
}

.post-date,
.reading-time {
    display: flex;
    align-items: center;
    gap: 5px;
}

.post-date::before {
    content: "📅";
    font-size: 0.8rem;
}

.reading-time::before {
    content: "⏱️";
    font-size: 0.8rem;
}

.post-excerpt {
    color: #666666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.read-more {
    color: #f89f53;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border: 2px solid #f89f53;
    border-radius: 20px;
    background: transparent;
}

.read-more:hover {
    background: #f89f53;
    color: #ffffff;
    gap: 8px;
    transform: translateX(2px);
}

.read-more i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(2px);
}

/* ==============================================
   LOAD MORE BUTTON
   ============================================== */
.load-more-container {
    text-align: center;
    margin-top: 40px;
    padding: 0 20px;
}

.load-more-btn {
    background: transparent;
    color: #f89f53;
    border: 2px solid #f89f53;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.load-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f89f53, #e6884a);
    transition: left 0.3s ease;
    z-index: 0;
}

.load-more-btn span {
    position: relative;
    z-index: 1;
}

.load-more-btn:hover::before {
    left: 0;
}

.load-more-btn:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(248, 159, 83, 0.3);
}

.load-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ==============================================
   RECOMMENDED ARTICLES SECTION
   ============================================== */
.recommended-section {
    background: #ffffff;
    border-radius: 15px;
    padding: 30px;
    margin: 40px auto;
    max-width: 1200px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
}

.recommended-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f89f53;
}

.recommended-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000000;
    margin: 0;
    position: relative;
}

.recommended-header h2::before {
    content: "📚";
    margin-right: 10px;
    font-size: 1.2rem;
}

.view-all {
    color: #f89f53;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(248, 159, 83, 0.1);
}

.view-all:hover {
    background: #f89f53;
    color: #ffffff;
    gap: 8px;
    transform: translateX(2px);
}

.view-all i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.view-all:hover i {
    transform: translateX(2px);
}

.recommended-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #e0e0e0, transparent);
    margin: 20px 0;
}

.related-articles {
    display: grid;
    gap: 20px;
}

.related-article {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #fafafa;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.related-article:hover {
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.related-article-content {
    flex: 1;
}

.related-article h3 {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    line-height: 1.4;
}

.related-article h3 a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-article h3 a:hover {
    color: #f89f53;
}

.related-article .meta {
    font-size: 0.85rem;
    color: #999999;
    display: flex;
    gap: 10px;
    align-items: center;
}

.related-article .meta::before {
    content: "📅";
    font-size: 0.8rem;
}

.related-article-thumbnail {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f9fa;
}

.related-article-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-article:hover .related-article-thumbnail img {
    transform: scale(1.1);
}

/* ==============================================
   WHATSAPP SUBSCRIPTION (Enhanced)
   ============================================== */
.author-whatsapp-subscription {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    margin: 40px auto;
    max-width: 800px;
    position: relative;
    overflow: hidden;
}

.author-whatsapp-subscription::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>') repeat;
    background-size: 50px 50px;
    animation: float 20s linear infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-50px); }
}

.whatsapp-content {
    position: relative;
    z-index: 2;
}

.whatsapp-title {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.whatsapp-title::before {
    content: "📱";
    font-size: 1.2rem;
}

.whatsapp-description {
    color: #ffffff;
    opacity: 0.9;
    margin: 0 0 25px 0;
    font-size: 1rem;
    line-height: 1.5;
}

.whatsapp-subscribe-btn {
    background: #ffffff;
    color: #25d366;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.whatsapp-subscribe-btn:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    color: #128c7e;
    text-decoration: none;
}

.whatsapp-subscribe-btn i {
    font-size: 1.1rem;
}

/* ==============================================
   NO POSTS MESSAGE
   ============================================== */
.no-posts {
    text-align: center;
    padding: 60px 20px;
    grid-column: 1 / -1;
    background: #ffffff;
    border-radius: 12px;
    border: 2px dashed #e0e0e0;
}

.no-posts p {
    color: #666666;
    font-size: 1.1rem;
    margin: 0;
    position: relative;
}

.no-posts p::before {
    content: "📝";
    display: block;
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

/* 
 * SAFE MOBILE AUTHOR PAGE CSS - BEST PRACTICES
 * Mengikuti standar mobile design dengan proper spacing
 * Mengatasi overflow dan layout shifting issues
 */

/* ==============================================
   MOBILE BASE - SAFE CONTAINER APPROACH
   ============================================== */

/* General mobile container rules */
@media (max-width: 768px) {
    .custom-author-page #content-area.full-width-content {
        padding: 0 15px !important; /* Safe 15px padding */
        margin: 0 auto;
        max-width: 100%;
        overflow-x: hidden; /* Prevent horizontal scroll */
    }
    
    /* Prevent layout shifting */
    .custom-author-page,
    .custom-author-page * {
        box-sizing: border-box;
    }
    
    /* Safe container widths */
    .custom-author-hero,
    .author-expertise,
    .author-posts-section,
    .recommended-section,
    .author-whatsapp-subscription {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
        overflow-x: hidden;
    }
}

/* ==============================================
   HERO SECTION - CENTERED WITH PROPER SPACING
   ============================================== */
@media (max-width: 768px) {
    .custom-author-hero {
        padding: 20px 15px 25px 15px !important; /* Proper spacing */
        margin-bottom: 25px !important; /* Good separation */
        text-align: center;
    }
    
    .author-hero-content {
        padding: 0 !important;
        gap: 18px;
        flex-direction: column;
        align-items: center;
        max-width: 100%;
    }
    
    .author-avatar {
        width: 100px !important;
        height: 100px !important;
        margin: 0 auto 10px auto;
    }
    
    .author-name {
        font-size: 1.8rem !important;
        margin-bottom: 8px !important;
        text-align: center;
        line-height: 1.2;
    }
    
    .author-title {
        font-size: 1rem !important;
        margin-bottom: 15px !important;
        text-align: center;
    }
    
    .author-bio {
        margin-bottom: 20px !important;
        text-align: center;
    }
    
    .author-bio p {
        font-size: 0.9rem;
        line-height: 1.5;
        padding: 0;
        text-align: center;
    }
    
    .author-bio p::before {
        display: none;
    }
}

/* ==============================================
   SOCIAL LINKS - COMPACT CENTER
   ============================================== */
@media (max-width: 768px) {
    .author-social-top {
        justify-content: center;
        gap: 10px !important;
        margin-bottom: 20px !important; /* Good spacing */
    }
    
    .author-social-top .social-link {
        width: 38px !important;
        height: 38px !important;
        font-size: 14px;
    }
}

/* ==============================================
   STATS GRID - PROPER 2x2 WITH SPACING
   ============================================== */
@media (max-width: 768px) {
    .author-combined-stats {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        grid-template-rows: auto auto !important;
        gap: 10px !important;
        margin: 20px auto 25px auto !important; /* Proper spacing from other elements */
        padding: 0;
        max-width: 320px; /* Prevent too wide */
        width: 100%;
    }
    
    .combined-stat-item {
        padding: 12px 8px !important;
        text-align: center;
        border-radius: 8px;
        background: linear-gradient(135deg, rgba(248, 159, 83, 0.06), rgba(248, 159, 83, 0.02));
        border: 1px solid rgba(248, 159, 83, 0.1);
        min-height: 65px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .combined-stat-item .stat-number {
        font-size: 1.4rem !important;
        margin-bottom: 2px;
        line-height: 1;
        font-weight: 700;
    }
    
    .combined-stat-item .stat-label {
        font-size: 0.7rem !important;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        opacity: 0.8;
    }
    
    /* Explicit grid positioning to ensure 2x2 layout */
    .combined-stat-item:nth-child(1) { 
        grid-column: 1; grid-row: 1; 
    }
    .combined-stat-item:nth-child(2) { 
        grid-column: 2; grid-row: 1; 
    }
    .combined-stat-item:nth-child(3) { 
        grid-column: 1; grid-row: 2; 
    }
    .combined-stat-item:nth-child(4) { 
        grid-column: 2; grid-row: 2; 
    }
}

/* ==============================================
   CTA SECTION - PROPER SPACING
   ============================================== */
@media (max-width: 768px) {
    .author-cta.enhanced-conversion {
        margin: 25px 0 30px 0 !important; /* Good separation from stats and next section */
        padding: 18px 15px !important;
        border-radius: 10px;
        width: 100%;
        max-width: 100%;
    }
    
    .cta-content h3 {
        font-size: 1.1rem !important;
        margin-bottom: 8px !important;
        text-align: center;
    }
    
    .cta-content p {
        font-size: 0.9rem !important;
        margin-bottom: 15px !important;
        line-height: 1.4;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column !important;
        gap: 12px !important;
        width: 100%;
    }
    
    .cta-primary, .cta-secondary {
        width: 100% !important;
        max-width: 300px; /* Prevent too wide */
        margin: 0 auto;
        padding: 10px 16px !important;
        font-size: 0.85rem !important;
        border-radius: 20px;
        text-align: center;
    }
    
    .cta-primary small,
    .cta-secondary small {
        font-size: 0.7rem !important;
        margin-top: 2px;
    }
}

/* ==============================================
   EXPERTISE SECTION - PROPER SPACING
   ============================================== */
@media (max-width: 768px) {
    .author-expertise {
        padding: 25px 15px !important; /* Good spacing */
        margin-bottom: 25px !important;
        background: #ffffff;
    }
    
    .section-title {
        font-size: 1.4rem !important;
        margin-bottom: 18px !important;
        text-align: center;
    }
    
    .expertise-tags {
        gap: 8px !important;
        padding: 0 !important;
        justify-content: center;
        flex-wrap: wrap;
        max-width: 100%;
    }
    
    .expertise-tag {
        padding: 6px 12px !important;
        font-size: 0.75rem !important;
        border-radius: 15px;
        margin-bottom: 6px;
    }
}

/* ==============================================
   POSTS SECTION - PROPER SPACING & WIDTH
   ============================================== */
@media (max-width: 768px) {
    .author-posts-section {
        padding: 25px 15px !important; /* Proper spacing */
        margin-bottom: 25px !important;
        background: #fafafa;
    }
    
    .section-header {
        padding: 0 !important;
        margin-bottom: 20px !important;
        text-align: center;
    }
    
    .section-description {
        font-size: 0.9rem !important;
        margin-top: 8px !important;
    }
    
    .posts-grid {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
        padding: 0 !important;
        margin-bottom: 25px !important; /* Space for load more button */
        width: 100%;
        max-width: 100%;
    }
    
    .post-card {
        border-radius: 10px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.06);
        background: #ffffff;
        overflow: hidden;
        width: 100%;
    }
    
    .post-thumbnail {
        height: 160px !important;
    }
    
    .post-content {
        padding: 15px !important;
    }
    
    .post-title a {
        font-size: 1rem !important;
        line-height: 1.3;
    }
    
    .post-meta {
        flex-direction: row !important;
        gap: 12px !important;
        align-items: center;
        font-size: 0.8rem;
        margin-bottom: 10px !important;
    }
    
    .post-excerpt {
        font-size: 0.9rem !important;
        margin-bottom: 15px !important;
        line-height: 1.5;
    }
    
    .read-more {
        padding: 8px 14px !important;
        font-size: 0.8rem !important;
        border-radius: 15px;
    }
}

/* ==============================================
   LOAD MORE BUTTON - PROPER SPACING & WIDTH
   ============================================== */
@media (max-width: 768px) {
    .load-more-container {
        margin-top: 25px !important; /* Good separation from articles */
        margin-bottom: 30px !important; /* Space for next section */
        padding: 0 15px !important;
        text-align: center;
    }
    
    .load-more-btn {
        padding: 12px 24px !important;
        font-size: 0.85rem !important;
        border-radius: 20px;
        width: auto !important; /* Don't make it full width */
        max-width: 250px;
        margin: 0 auto;
        display: inline-block; /* Better than block for centering */
    }
}

/* ==============================================
   RECOMMENDED SECTION - PROPER SPACING
   ============================================== */
@media (max-width: 768px) {
    .recommended-section {
        margin: 25px 15px !important; /* Good spacing with side margins */
        padding: 20px 15px !important;
        border-radius: 10px;
        background: #ffffff;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        width: calc(100% - 30px); /* Account for margins */
        max-width: calc(100% - 30px);
    }
    
    .recommended-header {
        flex-direction: column !important;
        gap: 12px !important;
        text-align: center;
        margin-bottom: 18px !important;
    }
    
    .recommended-header h2 {
        font-size: 1.2rem !important;
        margin: 0;
    }
    
    .view-all {
        font-size: 0.8rem !important;
        padding: 6px 12px !important;
    }
    
    .related-article {
        flex-direction: column !important;
        gap: 12px !important;
        padding: 15px !important;
        margin-bottom: 12px;
        background: #fafafa;
        border-radius: 8px;
    }
    
    .related-article-thumbnail {
        width: 100% !important;
        height: 120px !important;
        order: -1;
    }
    
    .related-article h3 a {
        font-size: 0.95rem !important;
        line-height: 1.3;
    }
    
    .related-article .meta {
        font-size: 0.75rem !important;
    }
}

/* ==============================================
   WHATSAPP SUBSCRIPTION - PROPER SPACING
   ============================================== */
@media (max-width: 768px) {
    .author-whatsapp-subscription {
        margin: 30px 15px 25px 15px !important; /* Good separation from recommended section */
        padding: 20px 15px !important;
        border-radius: 10px;
        width: calc(100% - 30px) !important; /* Account for margins */
        max-width: calc(100% - 30px);
        box-sizing: border-box;
    }
    
    .whatsapp-title {
        font-size: 1.2rem !important;
        margin-bottom: 8px !important;
    }
    
    .whatsapp-description {
        font-size: 0.9rem !important;
        margin-bottom: 15px !important;
        line-height: 1.4;
    }
    
    .whatsapp-subscribe-btn {
        padding: 12px 20px !important;
        font-size: 0.9rem !important;
        border-radius: 20px;
        width: auto !important; /* Don't make full width */
        max-width: 280px;
        margin: 0 auto;
        display: block;
    }
    
    /* WhatsApp form styling */
    .whatsapp-form {
        display: flex;
        flex-direction: column;
        gap: 12px;
        max-width: 100%;
        margin-top: 15px;
    }
    
    .whatsapp-input {
        padding: 10px 12px;
        border-radius: 8px;
        border: 1px solid rgba(255,255,255,0.3);
        background: rgba(255,255,255,0.9);
        font-size: 0.9rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    .whatsapp-submit {
        padding: 10px 16px;
        background: #ffffff;
        color: #25d366;
        border: none;
        border-radius: 8px;
        font-weight: 600;
        font-size: 0.9rem;
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }
}

/* ==============================================
   SPECIFIC RULES FOR 480PX SCREENS
   ============================================== */
@media (max-width: 480px) {
    
    /* Reduce container padding for smaller screens */
    .custom-author-page #content-area.full-width-content {
        padding: 0 12px !important;
    }
    
    /* Hero section adjustments */
    .custom-author-hero {
        padding: 15px 12px 20px 12px !important;
        margin-bottom: 20px !important;
    }
    
    .author-name {
        font-size: 1.6rem !important;
    }
    
    .author-title {
        font-size: 0.95rem !important;
    }
    
    /* Stats grid for smaller screens */
    .author-combined-stats {
        max-width: 280px !important;
        gap: 8px !important;
        margin: 15px auto 20px auto !important;
    }
    
    .combined-stat-item {
        padding: 10px 6px !important;
        min-height: 60px;
    }
    
    .combined-stat-item .stat-number {
        font-size: 1.2rem !important;
    }
    
    .combined-stat-item .stat-label {
        font-size: 0.65rem !important;
    }
    
    /* CTA section */
    .author-cta.enhanced-conversion {
        margin: 20px 0 25px 0 !important;
        padding: 15px 12px !important;
    }
    
    .cta-primary, .cta-secondary {
        max-width: 260px;
        padding: 9px 14px !important;
        font-size: 0.8rem !important;
    }
    
    /* Sections spacing */
    .author-expertise {
        padding: 20px 12px !important;
        margin-bottom: 20px !important;
    }
    
    .author-posts-section {
        padding: 20px 12px !important;
        margin-bottom: 20px !important;
    }
    
    .load-more-container {
        margin-top: 30px !important;
        margin-bottom: 25px !important;
        padding: 0 12px !important;
    }
    
    .load-more-btn {
        max-width: 220px;
        padding: 10px 20px !important;
    }
    
    /* Recommended and WhatsApp sections */
    .recommended-section,
    .author-whatsapp-subscription {
        margin-left: 12px !important;
        margin-right: 12px !important;
        width: calc(100% - 24px) !important;
        max-width: calc(100% - 24px);
        padding: 15px 12px !important;
    }
    
    .author-whatsapp-subscription {
        margin-top: 25px !important;
    }
}

/* ==============================================
   ULTRA SMALL SCREENS (< 375px)
   ============================================== */
@media (max-width: 375px) {
    .custom-author-page #content-area.full-width-content {
        padding: 0 10px !important;
    }
    
    .custom-author-hero,
    .author-expertise,
    .author-posts-section {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    
    .recommended-section,
    .author-whatsapp-subscription {
        margin-left: 10px !important;
        margin-right: 10px !important;
        width: calc(100% - 20px) !important;
        padding: 12px 10px !important;
    }
    
    .author-combined-stats {
        max-width: 250px !important;
    }
    
    .combined-stat-item {
        padding: 8px 4px !important;
        min-height: 55px;
    }
    
    .combined-stat-item .stat-number {
        font-size: 1.1rem !important;
    }
    
    .combined-stat-item .stat-label {
        font-size: 0.6rem !important;
    }
}

/* ==============================================
   ACCESSIBILITY & TOUCH TARGETS
   ============================================== */
@media (max-width: 768px) {
    /* Ensure proper touch targets */
    .social-link,
    .cta-primary,
    .cta-secondary,
    .read-more,
    .load-more-btn,
    .whatsapp-subscribe-btn,
    .expertise-tag {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        touch-action: manipulation;
    }
    
    /* Better text readability */
    .post-meta,
    .section-description,
    .related-article .meta {
        color: #555 !important;
    }
    
    /* Prevent zoom on input focus */
    input, textarea, select {
        font-size: 16px !important;
    }
    
    /* Optimize performance */
    * {
        transition-duration: 0.2s !important;
    }
}

/* ==============================================
   LANDSCAPE MODE OPTIMIZATION
   ============================================== */
@media (max-width: 768px) and (orientation: landscape) {
    .custom-author-hero {
        padding: 15px !important;
    }
    
    .author-hero-content {
        flex-direction: row;
        text-align: left;
        gap: 20px;
        align-items: flex-start;
    }
    
    .author-info {
        text-align: left;
    }
    
    .author-name,
    .author-title,
    .author-bio p {
        text-align: left;
    }
    
    .author-social-top {
        justify-content: flex-start;
    }
    
    .author-combined-stats {
        grid-template-columns: repeat(4, 1fr) !important;
        grid-template-rows: 1fr !important;
        max-width: 400px;
    }
}

/* 
 * AUTHOR PAGE FULL WIDTH CSS - MATCH SINGLE ARTICLE
 * Membuat halaman author sama lebarnya dengan single article
 * Untuk tampilan mobile yang maksimal
 */

/* ==============================================
   FORCE FULL WIDTH CONTAINER - MATCH ARTICLE PAGE
   ============================================== */

/* Mobile full width strategy - sama seperti single article */
@media (max-width: 768px) {
    
    /* Force author page menggunakan full width seperti article */
    .custom-author-page,
    .custom-author-page #main-content,
    .custom-author-page .container,
    .custom-author-page #content-area {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    /* Override Divi container restrictions */
    .custom-author-page .et_pb_section,
    .custom-author-page .et_pb_row,
    .custom-author-page .et_pb_column {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    /* Content area full width dengan padding minimal seperti article */
    .custom-author-page #content-area.full-width-content {
        padding: 0 8px !important; /* Sama seperti single article */
        margin: 0 auto;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
}

/* ==============================================
   SECTIONS FULL WIDTH - MATCH ARTICLE LAYOUT
   ============================================== */

@media (max-width: 768px) {
    
    /* Hero section - full width seperti article header */
    .custom-author-hero {
        width: 100% !important;
        max-width: 100% !important;
        padding: 15px 8px 20px 8px !important; /* Match article padding */
        margin: 0 0 15px 0 !important;
        background: #ffffff;
    }
    
    /* Expertise section - full width */
    .author-expertise {
        width: 100% !important;
        max-width: 100% !important;
        padding: 20px 8px !important; /* Match article padding */
        margin: 0 0 15px 0 !important;
        background: #ffffff;
    }
    
    /* Posts section - full width seperti article content */
    .author-posts-section {
        width: 100% !important;
        max-width: 100% !important;
        padding: 20px 8px !important; /* Match article padding */
        margin: 0 0 15px 0 !important;
        background: #fafafa;
    }
    
    /* Posts grid - full width content */
    .posts-grid {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 0 20px 0 !important;
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    /* Load more container */
    .load-more-container {
        width: 100% !important;
        padding: 0 8px !important;
        margin: 20px 0 !important;
        text-align: center;
    }
    
    /* Recommended section - full width */
    .recommended-section {
        width: 100% !important;
        max-width: 100% !important;
        padding: 20px 8px !important; /* Match article padding */
        margin: 15px 0 !important;
        background: #ffffff;
        border-radius: 0; /* Remove border radius untuk full width effect */
        box-shadow: none; /* Remove shadow untuk clean look */
    }
    
    /* WhatsApp subscription - full width */
    .author-whatsapp-subscription {
        width: 100% !important;
        max-width: 100% !important;
        padding: 20px 8px !important; /* Match article padding */
        margin: 15px 0 !important;
        border-radius: 0; /* Remove border radius */
    }
}

/* ==============================================
   CONTENT ADJUSTMENTS - MATCH ARTICLE STYLE
   ============================================== */

@media (max-width: 768px) {
    
    /* Hero content - centered seperti article header */
    .author-hero-content {
        max-width: 100%;
        padding: 0 !important;
        gap: 15px;
        text-align: center;
    }
    
    /* Stats grid - optimal width untuk full layout */
    .author-combined-stats {
        max-width: 340px !important; /* Slightly wider untuk full layout */
        margin: 15px auto 20px auto !important;
        gap: 8px !important;
    }
    
    /* Expertise tags - full width usage */
    .expertise-tags {
        padding: 0 !important;
        gap: 6px !important;
        justify-content: center;
        max-width: 100%;
    }
    
    .expertise-tag {
        padding: 5px 10px !important;
        font-size: 0.75rem !important;
        border-radius: 12px;
    }
    
    /* Post cards - optimize untuk full width */
    .post-card {
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.06);
        background: #ffffff;
        overflow: hidden;
        margin-bottom: 0;
    }
    
    .post-content {
        padding: 12px !important; /* Match article content padding */
    }
    
    .post-title a {
        font-size: 1rem !important;
        line-height: 1.3;
        color: #000000;
    }
    
    .post-meta {
        font-size: 0.8rem;
        color: #666666;
        margin-bottom: 8px !important;
        gap: 10px;
    }
    
    .post-excerpt {
        font-size: 0.9rem !important;
        line-height: 1.4;
        color: #555555;
        margin-bottom: 12px !important;
    }
    
    /* CTA section - full width */
    .author-cta.enhanced-conversion {
        width: 100% !important;
        max-width: 100% !important;
        padding: 15px 8px !important;
        margin: 20px 0 !important;
        border-radius: 8px;
    }
    
    .cta-buttons {
        gap: 10px !important;
    }
    
    .cta-primary, .cta-secondary {
        max-width: 280px !important; /* Optimal untuk full width layout */
        padding: 9px 16px !important;
        font-size: 0.85rem !important;
    }
}

/* ==============================================
   480PX SPECIFIC - MATCH ARTICLE RESPONSIVENESS
   ============================================== */

@media (max-width: 480px) {
    
    /* Content area - match single article pada 480px */
    .custom-author-page #content-area.full-width-content {
        padding: 0 10px !important; /* Match article padding pada 480px */
    }
    
    /* All sections - consistent dengan article */
    .custom-author-hero,
    .author-expertise,
    .author-posts-section,
    .recommended-section,
    .author-whatsapp-subscription {
        padding-left: 9px !important;
        padding-right: 9px !important;
    }
    
    /* Hero adjustments */
    .custom-author-hero {
        padding: 12px 6px 15px 6px !important;
    }
    
    /* Stats grid - optimal untuk 480px */
    .author-combined-stats {
        max-width: 300px !important;
        gap: 6px !important;
    }
    
    .combined-stat-item {
        padding: 8px 6px !important;
        min-height: 60px;
    }
    
    .combined-stat-item .stat-number {
        font-size: 1.2rem !important;
    }
    
    .combined-stat-item .stat-label {
        font-size: 0.65rem !important;
    }
    
    /* Load more button */
    .load-more-btn {
        max-width: 240px !important;
        padding: 10px 18px !important;
        font-size: 0.8rem !important;
    }
    
    /* Related articles - compact */
    .related-article {
        padding: 12px !important;
        gap: 10px !important;
    }
    
    .related-article h3 a {
        font-size: 0.9rem !important;
        line-height: 1.3;
    }
}

/* ==============================================
   375PX SPECIFIC - SMALL MOBILE OPTIMIZATION
   ============================================== */

@media (max-width: 375px) {
    
    /* Content area - match article pada small mobile */
    .custom-author-page #content-area.full-width-content {
        padding: 0 5px !important;
    }
    
    /* All sections */
    .custom-author-hero,
    .author-expertise,
    .author-posts-section,
    .recommended-section,
    .author-whatsapp-subscription {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
    
    /* Stats grid - compact untuk small screen */
    .author-combined-stats {
        max-width: 270px !important;
        gap: 5px !important;
    }
    
    .combined-stat-item {
        padding: 7px 5px !important;
        min-height: 55px;
    }
    
    .combined-stat-item .stat-number {
        font-size: 1.1rem !important;
    }
    
    .combined-stat-item .stat-label {
        font-size: 0.6rem !important;
    }
    
    /* Typography adjustments */
    .author-name {
        font-size: 1.6rem !important;
    }
    
    .author-title {
        font-size: 0.95rem !important;
    }
    
    .section-title {
        font-size: 1.3rem !important;
    }
}

/* ==============================================
   REMOVE CONTAINER RESTRICTIONS - CRITICAL
   ============================================== */

@media (max-width: 768px) {
    
    /* Remove any theme container restrictions */
    .custom-author-page .et-db #et-boc .et-l,
    .custom-author-page .et_pb_section .et_pb_row,
    .custom-author-page .container,
    .custom-author-page .et_pb_gutters3 .et_pb_column {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    /* Ensure no fixed widths interfere */
    .custom-author-page [class*="et_pb_"],
    .custom-author-page [class*="container"],
    .custom-author-page [class*="wrap"] {
        max-width: 100% !important;
        width: auto !important;
    }
}

/* ==============================================
   SECTION BACKGROUNDS - MATCH ARTICLE STYLE
   ============================================== */

@media (max-width: 768px) {
    
    /* Alternating backgrounds seperti article layout */
    .custom-author-hero {
        background: #ffffff;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .author-expertise {
        background: #fafafa;
    }
    
    .author-posts-section {
        background: #ffffff;
    }
    
    .recommended-section {
        background: #fafafa;
        border-top: 1px solid #f0f0f0;
    }
    
    .author-whatsapp-subscription {
        background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    }
}

/* ==============================================
   TYPOGRAPHY - MATCH ARTICLE READABILITY
   ============================================== */

@media (max-width: 768px) {
    
    /* Consistent font sizing dengan article */
    .section-title {
        font-size: 1.4rem !important;
        font-weight: 700;
        color: #000000;
        line-height: 1.2;
        margin-bottom: 15px !important;
    }
    
    .section-description {
        font-size: 0.9rem !important;
        color: #666666;
        line-height: 1.5;
        margin-top: 6px !important;
    }
    
    /* Post card typography */
    .post-title a {
        font-weight: 600;
        color: #000000;
        text-decoration: none;
    }
    
    .post-title a:hover {
        color: #f89f53;
    }
    
    .post-meta {
        color: #888888;
    }
    
    .read-more {
        color: #f89f53;
        font-weight: 600;
        text-decoration: none;
        padding: 6px 12px !important;
        border: 1px solid #f89f53;
        border-radius: 12px;
        font-size: 0.75rem !important;
        display: inline-block;
        transition: all 0.3s ease;
    }
    
    .read-more:hover {
        background: #f89f53;
        color: #ffffff;
    }
}

/* ==============================================
   FINAL OVERRIDES - ENSURE FULL WIDTH
   ============================================== */

@media (max-width: 768px) {
    
    /* Nuclear option - force everything full width */
    .custom-author-page * {
        box-sizing: border-box !important;
    }
    
    /* Prevent any overflow issues */
    .custom-author-page {
        overflow-x: hidden !important;
        width: 100% !important;
    }
    
    /* Ensure consistent spacing */
    .custom-author-page > * {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}