/*
 Theme Name:   Onum Child
 Theme URI:    http://wpdemo.archiwp.com/onum/
 Description:  Onum Child Theme
 Author:       OceanThemes
 Author URI:   http://oceanthemes.net/
 Template:     onum
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  onumchild
*/

/* Fix Swedish currency kr overlap in pricing tables */
.ot-pricing-table .inner-table h2 sup,
.ipricingtable .inner-table h2 sup,
.ipricingtable h2 sup,
.inner-table h2 sup {
    margin-left: 8px !important;
    margin-right: 0 !important;
    font-size: 24px !important;
    position: relative !important;
    top: -0.4em !important;
    display: inline-block !important;
    vertical-align: baseline !important;
}

.ot-pricing-table .inner-table h2,
.ipricingtable .inner-table h2,
.ipricingtable h2 {
    display: flex !important;
    align-items: baseline !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}

.kr-currency {
    font-size: 24px !important;
    font-weight: 600 !important;
    margin-left: 8px !important;
    vertical-align: baseline !important;
    color: inherit !important;
    display: inline-block !important;
}

/* Bulletproof Back-To-Top button */
#back-to-top {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    width: 48px !important;
    height: 48px !important;
    background: #00c3ff !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 15px rgba(0, 195, 255, 0.45) !important;
    z-index: 999999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(20px) !important;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.2s ease !important;
    text-decoration: none !important;
}

#back-to-top.show,
#back-to-top.btt-visible {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

#back-to-top:hover {
    background: #009ecd !important;
    box-shadow: 0 6px 20px rgba(0, 195, 255, 0.65) !important;
    transform: translateY(-3px) !important;
}

#back-to-top svg,
#back-to-top i {
    color: #ffffff !important;
    stroke: #ffffff !important;
    font-size: 20px !important;
}

/* Ensure Chaty WhatsApp widget has priority and doesn't get hidden */
.chaty-widget,
.chaty-in-desktop,
.chaty-in-mobile,
.chaty-outer-forms {
    z-index: 999998 !important;
}


/* Trial Article Header Space Removal (Desktop & Mobile) */
.single-page-header,
.single-page-header.post-box {
    padding: 0 !important;
}

.single-page-header .sing-page-header-content {
    padding-top: 45px !important;
    padding-bottom: 35px !important;
}

.single-page-header.post-box .entry-title {
    font-size: 32px !important;
    line-height: 1.3 !important;
    margin-bottom: 16px !important;
}

.single-page-header.post-box .post-cat {
    margin-bottom: 12px !important;
}

@media (max-width: 768px) {
    .single-page-header .sing-page-header-content {
        padding-top: 25px !important;
        padding-bottom: 25px !important;
    }
    
    .single-page-header.post-box .entry-title {
        font-size: 22px !important;
        line-height: 1.3 !important;
        margin-bottom: 12px !important;
    }
    
    .single-page-header.post-box .post-cat {
        margin-bottom: 10px !important;
    }

    .single-page-header.post-box .entry-meta {
        font-size: 13px !important;
        gap: 10px !important;
    }

    .entry-content {
        padding: 35px 0 !important;
    }
}
