/* CRVS-604 overrides for ninetyninesec (loaded after style.css) */

/* Footer social icons: horizontal row */
.footer-area .single-footer-caption .social-links li { display: inline-block; margin: 0 2px; }
.footer-area .single-footer-caption .social-links li a { display: inline-block; padding: 8px 11px; font-size: 16px; }
.footer-area .single-footer-caption .social-links li a:hover { color: #ff2143; }

.footer-area .footer-widget { margin-bottom: 36px; }
.footer-area .footer-widget-title {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 24px;
    padding-bottom: 12px;
    position: relative;
    text-transform: uppercase;
}
.footer-area .footer-widget-title::after {
    background: #ff2143;
    bottom: 0;
    content: "";
    height: 3px;
    left: 0;
    position: absolute;
    width: 46px;
}
.footer-area .footer-post {
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    display: flex;
    margin-bottom: 18px;
    padding-bottom: 18px;
}
.footer-area .footer-post:last-child {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}
.footer-area .footer-post-thumb {
    flex: 0 0 84px;
    margin-right: 16px;
}
.footer-area .footer-post-thumb img {
    display: block;
    height: 62px;
    object-fit: cover;
    width: 84px;
}
.footer-area .footer-post-content h5 {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 0;
}
.footer-area .footer-post-content a {
    color: #d9d9d9;
}
.footer-area .footer-post-content a:hover {
    color: #ff2143;
}
.footer-area .footer-category-list li a {
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    color: #d9d9d9;
    display: flex;
    font-size: 15px;
    justify-content: space-between;
    padding: 11px 0;
}
.footer-area .footer-category-list li:first-child a {
    padding-top: 0;
}
.footer-area .footer-category-list li a:hover,
.footer-area .footer-category-list li a:hover span {
    color: #ff2143;
}
.footer-area .footer-category-list span {
    color: #a8a8a8;
}
.footer-area .footer-brand {
    border-top: 1px solid rgba(255, 255, 255, .08);
    margin-top: 14px;
    padding-top: 34px;
}

/* Header social: remove edge separators, drop the rotate-flip, add hover glow */
.header-area .header-bottom .header-social::before,
.header-area .header-bottom .header-social::after { display: none; }
.header-area .header-bottom .header-social a i,
.header-area .header-bottom .header-social a:hover i {
    -webkit-transform: none !important;
    transform: none !important;
    -webkit-transition: text-shadow .3s ease;
    transition: text-shadow .3s ease;
}
.header-area .header-bottom .header-social a:hover i {
    text-shadow: 0 0 8px rgba(255, 255, 255, .95), 0 0 18px rgba(255, 255, 255, .55);
}

/* Pointer cursor on social links (icons no longer show the text I-beam) */
.header-area .header-social a,
.header-area .header-social a i,
.footer-area .social-links a,
.footer-area .social-links a i { cursor: pointer; }

/* Smaller logos */
.header-area .header-mid .logo img { max-height: 36px; width: auto; }
.header-area .header-bottom .sticky-logo img { max-height: 32px; width: auto; }

/* Mobile (<768): taller red bar, burger vertically centered inside it */
@media (max-width: 767px) {
    .header-area .header-bottom { position: relative; padding: 16px 0; }
    .header-area .header-bottom .header-flex { display: flex; align-items: center; min-height: 36px; }
    /* the mobile_menu lives in a .col-12 which is position:relative by default;
       neutralise it so the burger anchors to .header-bottom (the red bar) */
    /* neutralise the wrappers so the burger anchors directly to .header-bottom
       (the red bar) — header-bottom has a real used height, so top:50% resolves
       correctly, unlike height:100% on an auto-height parent which collapses to 0 */
    .header-area .header-bottom .row > .col-12 { position: static; }
    .header-area .header-bottom .mobile_menu { position: static; }
    .header-area .header-bottom .mobile_menu .slicknav_menu { position: static; margin: 0 !important; padding: 0; background: transparent; }
    /* burger absolutely centered in the bar (flex box wraps the icon tightly,
       empty text label hidden, line-height 0 so the box == the icon) */
    .header-area .header-bottom .mobile_menu .slicknav_menu .slicknav_btn {
        position: absolute;
        top: 50%;
        right: 15px;
        margin: 0;
        padding: 0;
        display: flex;
        align-items: center;
        line-height: 0;
        font-size: 0;
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
        z-index: 100;
    }
    .header-area .header-bottom .slicknav_btn .slicknav_menutxt { display: none; }
    /* dropdown opens below the bar, right-aligned.
       slicknav sets left:-15px on the nav; with our right:15px that would stretch
       it full-width, so force left:auto and let it shrink to a compact panel. */
    .header-area .header-bottom .mobile_menu .slicknav_menu .slicknav_nav {
        position: absolute;
        top: 100%;
        left: auto;
        right: 15px;
        width: auto;
        min-width: 220px;
        margin-top: 8px;
        background: #fff;
        box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
    }
    /* rebuild the hamburger icon cleanly. slicknav's default .slicknav_icon has
       position:relative; top:-5px; padding-bottom:3px which shoved the bars above
       the button centre — reset that and use 3 even 2px bars in a tight box. */
    .header-area .header-bottom .slicknav_btn .slicknav_icon {
        display: inline-block;
        position: static;
        top: auto;
        width: auto;
        height: auto;
        margin: 0;
        padding: 0;
        line-height: 0;
        font-size: 0;
        vertical-align: middle;
    }
    .header-area .header-bottom .slicknav_btn .slicknav_icon .slicknav_icon-bar {
        display: block;
        width: 24px;
        height: 2px;
        margin: 5px 0 0;
        border-radius: 1px;
    }
    .header-area .header-bottom .slicknav_btn .slicknav_icon .slicknav_icon-bar:first-child {
        margin-top: 0;
    }
}
