/* CSS file to hide specific elements across the Keys With Kenya website */

/* Hide lead magnets (Download this... elements) */
.ul-app-ad,
.ul-lead-generator,
section[class*="lead"],
div[class*="lead-generator"],
form[class*="guide"],
form[class*="download"],
a[href*="download"],
a[href*="Download"],
button[class*="download"],
button[class*="Download"] {
    display: none !important;
}

/* Hide blog comments and comment functions */
.comment-section,
.comments-area,
.comment-form,
.comment-list,
.comment-reply,
.comment-reply-link,
#comments,
.comments-title,
.comment-respond,
.comment-reply-title,
[class*="comment"],
[id*="comment"] {
    display: none !important;
}

/* Hide blog tags and tags function */
.tag-cloud,
.tags,
.post-tags,
.entry-tags,
.blog-tags,
.tag-list,
[class*="tag-"],
[id*="tag-"],
a[rel*="tag"],
.post-tags a,
.entry-tags a {
    display: none !important;
}

/* Hide My Account button (stickman icon) in header */
.ul-header-actions button[class*="user"],
.ul-header-actions .flaticon-user,
.ul-header-actions button:nth-child(2) {
    display: none !important;
}

/* Hide search button in header */
.ul-header-search-opener,
.ul-header-actions button[class*="search"],
.ul-header-actions .flaticon-search,
.ul-header-actions button:first-child {
    display: none !important;
}

/* Hide search UI (keep markup/scripts intact) */
.ul-search-form-wrapper,
.ul-blog-sidebar-search,
.ul-blog-search-form,
input#ul-search,
input#ul-blog-search {
    display: none !important;
}

/* Hide submenus - keep only top-level buttons */
.ul-header-submenu,
.has-sub-menu .ul-header-submenu,
.nav-submenu,
.dropdown-menu,
.sub-menu {
    display: none !important;
}

/* Remove dropdown arrows from menu items with submenus */
.has-sub-menu::after,
.dropdown-toggle::after,
.menu-item-has-children::after {
    display: none !important;
}

/* Make top-level menu items non-clickable when they had submenus */
.has-sub-menu > a {
    cursor: default !important;
    pointer-events: none !important;
}

/* Alternative: Make top-level menu items clickable to redirect if needed */
.has-sub-menu > a {
    pointer-events: auto !important;
}
