/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/* === Sidebar "card" container (your Max Mega Menu widget) === */


#secondary .widget_maxmegamenu {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* Space between the two top-level sections (Scientific / Parent) */
#secondary .widget_maxmegamenu .menu > li + li {
  margin-top: 24px;
}

/* Top-level section headers (Scientific Articles / Parent Articles) */
#secondary .widget_maxmegamenu .menu > li > a.menu-link {
  display: block;
  font-weight: 700;
  color: #333;
  text-decoration: none;
  position: relative;
  padding: 6px 0 10px;
}

/* Green accent bar under the section title */
#secondary .widget_maxmegamenu .menu > li > a.menu-link::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: #6b9400; /* your green */
  margin-top: 6px;
  border-radius: 2px;
}

/* Hide the little arrow/toggle on desktop */
#secondary .widget_maxmegamenu .ast-menu-toggle,
#secondary .widget_maxmegamenu .dropdown-menu-toggle {
  display: none;
}

/* Submenu container (the tag list) */
#secondary .widget_maxmegamenu .sub-menu {
  list-style: none;
  margin: 10px 0 0 0;
  padding: 0 0 0 12px;
  border-left: 2px solid #dce8c3; /* subtle rail */
}

/* Each tag item */
#secondary .widget_maxmegamenu .sub-menu > li {
  margin: 0;
  border-bottom: 1px solid #f0f0f0;
}

#secondary .widget_maxmegamenu .sub-menu > li:last-child {
  border-bottom: none;
}

/* Tag links */
#secondary .widget_maxmegamenu .sub-menu a.menu-link {
  display: block;
  padding: 8px 4px;
  color: #5a7a00; /* green text */
  text-decoration: none;
  transition: all .2s ease;
  font-weight: 500;
  border-radius: 4px;
}



#secondary .widget_maxmegamenu .sub-menu a.menu-link:hover {
  color: #fff;
  background: #6b9400;   /* green hover background */
  padding-left: 10px;     /* small slide-in effect */
}

/* Mobile niceties */
@media (max-width: 768px) {
  #secondary .widget_maxmegamenu { padding: 16px; border-radius: 6px; }
  #secondary .widget_maxmegamenu .sub-menu a.menu-link { padding: 10px 6px; }
  #secondary .widget_maxmegamenu .sub-menu { padding-left: 10px; border-left-color: #e9f1d2; }
} 
  
/*////////////////////////////////////////////*/

/* SIDEBAR LOGO & BLURB */
/* === NGO box below sidebar menu === */
#secondary .ngo-sidebar-box {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 20px;
  margin-top: 1rem;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

#secondary .ngo-sidebar-logo {
  max-width: 140px;
  height: auto;
  margin-bottom: 12px;
}

#secondary .ngo-sidebar-text {
  font-size: 15px;
  line-height: 1.5;
  color: #333;
}

/* Wrapper box */
#secondary .ngo-sidebar-box {
    background: #ffffff;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    padding: 20px 18px;
    margin-top: 30px;
    text-align: center;

    /* Astra-like widget shadow */
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

/* Logo inside */
#secondary .ngo-sidebar-logo {
    max-width: 140px;           /* smaller & cleaner */
    width: 100%;
    height: auto;
    margin: 0 auto 12px;
    display: block;
}

/* Blurb text */
#secondary .ngo-sidebar-text {
    font-size: 14px;            /* slightly smaller */
    line-height: 1.55;
    color: #444444;             /* matches your sidebar body text */
    margin: 0;
}

/* SIDEBAR */

