/*
Theme Name: Nerdscoop v2
Theme URI: https://www.nerdscoop.com
Description: Legacy Nerdscoop design, modernised for current WordPress and PHP, with bundled styles and logo.
Author: Nerdscoop
Author URI: https://www.nerdscoop.com
Version: 2.1.3
Text Domain: nerdscoop-v2
Requires PHP: 8.0
*/
/* Legacy visual rules are bundled in assets/css/style.css. */

/* The original site's main CSS targets #nav. Keep its horizontal bar
   while supporting hierarchical WordPress menus. */
#nav { position: relative; overflow: visible; }
#nav::after { content: ""; display: table; clear: both; }
#nav > div > ul, #nav > ul { margin: 0; padding: 0; }
#nav li { position: relative; }
#nav li ul.sub-menu {
    display: none;
    position: absolute;
    z-index: 100;
    top: 100%;
    left: 0;
    min-width: 185px;
    padding: 0;
    margin: 0;
    background: #333;
    box-shadow: 0 5px 12px rgba(0,0,0,.2);
}
#nav li:hover > ul.sub-menu,
#nav li:focus-within > ul.sub-menu { display: block; }
#nav li ul.sub-menu li {
    display: block;
    float: none;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid #444;
    white-space: nowrap;
}
#nav li ul.sub-menu li a {
    display: block;
    float: none;
    line-height: 1.35;
    padding: 10px 12px;
    font-size: 15px;
}
#nav li ul.sub-menu ul.sub-menu { top: 0; left: 100%; }
@media (max-width: 620px) {
    #nav li ul.sub-menu { min-width: 150px; }
    #nav li ul.sub-menu li a { font-size: 13px; }
}

/* The source stylesheet now contains the original sprite image URL.
   Retain its background positions for review ratings and icon controls.
   If sprite@2x.png is unavailable on the site, upload it to the theme
   and replace the URL in assets/css/style.css with ../images/sprite@2x.png. */
