/* 1. Hide Comments */
#comments,
.comments-area,
.comment-respond,
.comment-list {
    display: none !important;
}

/* 2. Force Content Color */
.entry-content,
.entry-content p,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6,
.entry-content li,
.entry-content span,
.entry-content div {
    color: #000000 !important;
}

/* Content Injection Styles */
.uoam-read-also {
    background: #f9f9f9;
    border-left: 4px solid #0073aa;
    padding: 10px 15px;
    margin: 20px 0;
    font-size: 1.1em;
}

/* WhatsApp Share Button - ULTRA STRONG STYLES FOR SAFARI */
.uoam-whatsapp-share {
    margin: 20px 0 !important;
    text-align: center !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 9999 !important;
}

.uoam-whatsapp-btn {
    display: inline-block !important;
    background-color: #25D366 !important;
    color: #ffffff !important;
    padding: 10px 20px !important;
    border-radius: 5px !important;
    text-decoration: none !important;
    font-weight: bold !important;
    font-size: 1.1em !important;
    border: none !important;
    cursor: pointer !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 10000 !important;
}

.uoam-whatsapp-btn:hover {
    background-color: #25D366 !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

/* Author Box Styles */
.uoam-author-box {
    margin-top: 40px;
    padding: 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.uoam-author-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.uoam-author-photo {
    width: 100px;
    /* 2x size roughly */
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #eee;
}

.uoam-author-name {
    font-size: 1.5em;
    margin: 0;
    font-weight: bold;
}

/* Slider Styles */
.uoam-author-slider {
    width: 100%;
    height: 300px;
    /* Adjust as needed */
}

.uoam-author-slider .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
}

.uoam-author-slider img,
.uoam-author-slider video {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Top Authors Leaderboard */
.uoam-top-authors-container {
    margin: 20px 0;
    font-family: sans-serif;
}

.uoam-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.uoam-filter-btn {
    padding: 8px 16px;
    border: 1px solid #0073aa;
    background: #fff;
    color: #0073aa;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s;
}

.uoam-filter-btn.active,
.uoam-filter-btn:hover {
    background: #0073aa;
    color: #fff;
}

.uoam-leaderboard {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.uoam-leaderboard th,
.uoam-leaderboard td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.uoam-leaderboard th {
    background: #f4f4f4;
    font-weight: bold;
}

.uoam-author-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.uoam-mini-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

/* ============================================
   HIDE OTHER SOCIAL SHARE BUTTONS
   ============================================ */

/* Simple, safe approach: Hide common social share containers */
/* But use child selectors to avoid hiding containers that might contain our button */
.post-share > *:not(.uoam-whatsapp-share):not(.uoam-whatsapp-btn),
.social-share > *:not(.uoam-whatsapp-share):not(.uoam-whatsapp-btn),
.share-buttons > *:not(.uoam-whatsapp-share):not(.uoam-whatsapp-btn),
.social-icons > *:not(.uoam-whatsapp-share):not(.uoam-whatsapp-btn) {
    display: none !important;
}

/* Hide specific social share buttons that are commonly used */
a[href*="facebook.com/share"],
a[href*="twitter.com/intent/tweet"],
a[href*="linkedin.com/shareArticle"],
a[href*="pinterest.com/pin/create"],
a[href*="whatsapp.com/send"]:not(.uoam-whatsapp-btn) {
    display: none !important;
}

/* If all else fails, use this nuclear option for the user's specific request */
/* User mentioned "div post-share" - hide direct children of div.post-share except our button */
div.post-share > *:not(.uoam-whatsapp-share):not(.uoam-whatsapp-btn) {
    display: none !important;
}
