/*
Theme Name: Flatsome Child
Description: Child theme for Flatsome
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/* ==========================================================================
   1. HEADER & NAVIGATION: FIX SINGLE ROW, ZERO WRAP
   ========================================================================== */
#masthead .header-inner {
    max-width: 1440px !important;
    width: 98% !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
}

#logo {
    max-width: 160px !important;
    flex: 0 0 auto !important;
    margin-right: 15px !important;
}

#logo img {
    max-height: 48px !important;
    width: auto !important;
    object-fit: contain !important;
}

.header-main .flex-col.hide-for-medium.flex-left {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    display: flex !important;
    align-items: center !important;
}

.header-nav.header-nav-main.nav-left {
    display: flex !important;
    flex-flow: row nowrap !important;
    white-space: nowrap !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
}

.header-nav.header-nav-main.nav-left > li {
    display: inline-flex !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
}

.header-nav.header-nav-main.nav-left > li > a {
    padding: 0 8px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: -0.2px !important;
    white-space: nowrap !important;
    text-transform: uppercase !important;
}

.header-main .flex-col.hide-for-medium.flex-right {
    flex: 0 0 auto !important;
    margin-left: 15px !important;
}

.header-nav.header-nav-main.nav-right {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: center !important;
    gap: 8px !important;
}

.header-button .button {
    margin: 0 !important;
    padding: 6px 14px !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
}

/* ==========================================================================
   2. FOOTER RECENT POSTS: TITLE ONLY, ABSOLUTELY NO THUMBNAIL
   ========================================================================== */
#footer .post-item .box-image,
.footer-wrapper .post-item .box-image,
.ux-block .post-item .box-image {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

#footer .post-item,
.footer-wrapper .post-item,
.ux-block .post-item {
    padding: 4px 0 !important;
    margin: 0 0 6px 0 !important;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.12) !important;
}

#footer .post-item:last-child,
.footer-wrapper .post-item:last-child,
.ux-block .post-item:last-child {
    border-bottom: none !important;
    margin-bottom: 0 !important;
}

#footer .post-item .box-text,
.footer-wrapper .post-item .box-text,
.ux-block .post-item .box-text {
    padding: 0 !important;
    margin: 0 !important;
}

#footer .post-item .post-title,
.footer-wrapper .post-item .post-title,
.ux-block .post-item .post-title {
    font-size: 13.5px !important;
    line-height: 1.45 !important;
    margin: 0 !important;
}

#footer .post-item .post-title a,
.footer-wrapper .post-item .post-title a,
.ux-block .post-item .post-title a {
    color: #cbd5e1 !important;
    text-decoration: none !important;
    display: block !important;
    font-weight: 500 !important;
    transition: color 0.2s ease !important;
}

#footer .post-item .post-title a:hover,
.footer-wrapper .post-item .post-title a:hover,
.ux-block .post-item .post-title a:hover {
    color: #f59e0b !important;
}

/* ==========================================================================
   3. FOOTER MAIN TOPICS & LIST CLEANUP (NO MORE \n BREAKS)
   ========================================================================== */
.footer-topic-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.footer-topic-list li {
    margin-bottom: 8px !important;
    line-height: 1.5 !important;
}

.footer-topic-list li a {
    color: #cbd5e1 !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    display: inline-block !important;
    transition: color 0.2s ease !important;
}

.footer-topic-list li a:hover {
    color: #f59e0b !important;
    padding-left: 3px !important;
}
