/*
 Theme Name:   Bopea Child
 Theme URI:    https://aurahear.com
 Description: Child theme for the Bopea WordPress theme
 Author:       Phil Creighton
 Author URI:   https://aurahear.com
 Template:     bopea
 Version:      1.0.0
*/

/* Your custom CSS goes below */

.wp-block-image, .wp-block-embed, .wp-block-gallery { margin-top: calc(30px + .25vw); margin-bottom: calc(30px + .25vw) !important; } .logo_small_wrapper_table .logo_small_wrapper .logo_link > h1, .logo_small_wrapper_table .logo_small_wrapper .logo_link > span { display: flex; margin: 0px; padding: 0px; }/* elementor category */ .elementor-widget-wp-widget-categories h5{ display: none; } .elementor-widget-wp-widget-categories ul{ list-style: none; padding: 0px 0px 0px 15px !important; margin: 0px; display: flex; flex-direction: column; gap: 7px; } .elementor-widget-wp-widget-categories ul li{ margin-bottom: 0 !important; list-style: none; font-family: var(--jl-menu-font); font-size: 14px; font-weight: var(--jl-cat-font-weight); display: flex; flex-direction: column; gap: 7px; } .elementor-widget-wp-widget-categories ul li a{ display: inline-flex; align-items: center; width: 100%; } .elementor-widget-wp-widget-categories ul li a:before{ content: ''; position: absolute; margin-left: -15px; border: solid currentcolor; border-width: 0 1px 1px 0; display: inline-block; padding: 2px; vertical-align: middle; transform: rotate(-45deg); -webkit-transform: rotate(-45deg); } .elementor-widget-wp-widget-categories span{ margin-right: 0px; margin-left: auto; color: #fff; text-align: center; min-width: 24px; height: 24px; line-height: 24px; border-radius: 4px; padding: 0px 5px; font-size: 80%; }


/* Dark mode TablePress table 1 */
@media (prefers-color-scheme: dark) {
  #tablepress-1 {
    --text-color: auto ;        /* normal body text */
    --head-text-color: #ffffff;   /* headers */
    --hover-text-color: #ffffff;  /* hover text */
    --odd-text-color: #eaeaea;    /* odd row text */
    --even-text-color: #eaeaea;   /* even row text */

    /* Optional: dark backgrounds */
    --head-bg-color: #2a2a2a;
    --odd-bg-color: #1e1e1e;
    --even-bg-color: #2a2a2a;
    --hover-bg-color: #333333;
  }
}

/* Category pills – force styling everywhere, including homepage panels */
.jl_featured_post a.jl_cat_lbl,
.jl_grid_item a.jl_cat_lbl,
.jl_latest_news a.jl_cat_lbl,
a.jl_cat_lbl {
  background-color: #c60000;
  color: #ffffff !important;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 0 0 1px #ffffff;
}

.jl_featured_post a.jl_cat_lbl span,
.jl_grid_item a.jl_cat_lbl span,
.jl_latest_news a.jl_cat_lbl span {
  color: inherit !important;
}