/* ======================================================
   White Beard Custom CSS – Mobile Nav & Hover Styling
   ====================================================== */

/* --- Contact + Social Links Hover --- */
.mobile-nav__wrapper .mobile-nav__contact a,
.mobile-nav__wrapper .mobile-nav__social a {
    display: inline-block;
    transition: color 0.3s ease, transform 0.2s ease;
    color: inherit;
    text-decoration: none;
}
.mobile-nav__wrapper .mobile-nav__contact a:hover,
.mobile-nav__wrapper .mobile-nav__contact a:focus,
.mobile-nav__wrapper .mobile-nav__contact a:active,
.mobile-nav__wrapper .mobile-nav__social a:hover,
.mobile-nav__wrapper .mobile-nav__social a:focus,
.mobile-nav__wrapper .mobile-nav__social a:active {
    color: #f4a300 !important;   /* brand accent */
    transform: translateX(3px);
    outline: none;
}
/* Ensure FA brand icons inherit color */
.mobile-nav__wrapper .mobile-nav__social a.fab,
.mobile-nav__wrapper .mobile-nav__social a i {
    color: inherit !important;
}

/* --- Menu Links: Underline & Layout --- */
.mobile-nav__wrapper .main-menu__list > li {
    position: relative !important; /* needed for arrow positioning */
}
.mobile-nav__wrapper .main-menu__list > li > a {
    display: block;
    padding: 12px 56px 12px 16px !important; /* room for arrow */
    white-space: nowrap;
    overflow: hidden;
    position: relative;
    font-size: 15px;
    transform: none !important; /* neutralize theme transforms */
}
/* Short underline bar */
.mobile-nav__wrapper .main-menu__list > li > a::before {
    content: "" !important;
    position: absolute;
    left: 0 !important;
    bottom: 0;
    width: 64px !important;
    height: 2px;
    background: #f4a300;
    opacity: 0;
    transition: opacity .2s ease;
}
.mobile-nav__wrapper .main-menu__list > li > a:hover::before,
.mobile-nav__wrapper .main-menu__list > li.current > a::before,
.mobile-nav__wrapper .main-menu__list > li.active > a::before {
    opacity: 1;
}

/* --- Dropdown Arrow Fix (Mobile Nav) --- */
.mobile-nav__wrapper .main-menu__list > li .dropdown-btn {
    position: absolute !important;
    top: 50% !important;
    right: 12px !important;
    left: auto !important;
    transform: translateY(-50%) !important;
    width: 24px !important;           /* slightly smaller */
    height: 24px !important;
    font-size: 12px !important;       /* lighter visual weight */
    line-height: 24px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    color: #f4a300 !important;        /* match accent color */
    opacity: 0.8;                     /* subtle by default */
}
.mobile-nav__wrapper .main-menu__list > li .dropdown-btn:hover {
    opacity: 1;                       /* brighten on hover */
}

/* --- Kill any theme’s extra pseudo-lines on arrow --- */
.mobile-nav__wrapper .main-menu__list > li .dropdown-btn:before,
.mobile-nav__wrapper .main-menu__list > li .dropdown-btn:after {
    content: none !important;
}
