/* ------------------------------------------------------ */
/* GLOBAL TYPOGRAPHY — SYSTEM FONT ONLY */
/* ------------------------------------------------------ */

body,
p,
li,
a,
span,
strong,
b,
em,
input,
button,
textarea {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    color: var(--text-color);
    line-height: 1.6;
}

/* Headings */
h1, h2, h3, h4, h5, h6,
.container h1, .container h2, .container h3, .container h4, .container h5, .container h6 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 20px 0;
    letter-spacing: 0;
    color: var(--heading-color);
}

b, strong {
    font-weight: 800 !important;
    color: var(--heading-color);
}

/* ------------------------------------------------------ */
/* TOPBAR & NAVIGATION */
/* ------------------------------------------------------ */

.topbar #menu-topbar-menu li a,
.navbar-topbar li a {
    transition: 0.25s;
    color: inherit;
    margin-right: 15px;
    text-transform: uppercase !important;
    font-size: 11px !important;
}

.topbar #menu-topbar-menu li,
.navbar-topbar li {
    display: block;
    float: left;
    font-size: 14px;
    line-height: 40px;
    margin-right: 15px;
}

.topbar-phone,
.topbar-email,
.topbar-opening-hours {
    line-height: 40px;
    float: left;
    font-size: 14px;
    letter-spacing: 0.01em;
}

.transparent-navigation .navbar .topbar,
.transparent-navigation .navbar.navbar-shrink .topbar,
.navbar.navbar-default.contained .topbar .container,
.navbar.navbar-default.navbar-shrink.with-topbar-sticky .topbar,
.navbar .topbar {
    background-color: #ffffff00 !important;
}

/* Main Menu */
#main-menu.background-dropdown-effect .navbar-nav .menu-item-has-children .dropdown-menu a,
.background-dropdown-effect .navbar-nav .menu-item-has-children .dropdown-menu a,
body .navbar-default .nav li a,
body .modal-menu-item {
    font-weight: 500;
    font-size: 13px;
    line-height: 34px;
    text-transform: uppercase;
}

/* ------------------------------------------------------ */
/* BLOG & WIDGETS */
/* ------------------------------------------------------ */

.blog_widget ol li a,
.blog_widget ul li a {
    color: var(--text-color);
    transition: 0.25s;
    font-weight: 400;
}

.text-left .widget-title {
    text-align: left;
    font-size: 22px;
    font-weight: bold;
}

/* ------------------------------------------------------ */
/* FOOTER */
/* ------------------------------------------------------ */

.upper-footer {
    background-color: #f9f9f9;
}

.upper-footer .textwidget {
    border: none;
    margin: 10px 0 30px 0;
    font-size: 14px;
}

.footer_widget .menu {
    list-style-type: none;
    padding-left: 0;
    margin: 15px 0 0 0;
    padding-bottom: 25px;
}

.footer_widget ul a,
.footer_widget .menu li a {
    line-height: 30px;
    color: inherit;
    transition: 0.25s;
}

/* ------------------------------------------------------ */
/* MISC ELEMENTS */
/* ------------------------------------------------------ */

.entry-meta .author,
.blog-social-sharing,
.single-post .breadcrumbs,
#posts-content .comment-count,
.tt_button.modal-menu-item:first-child {
    display: none !important;
}

.wpb_widgetised_column.wpb_content_element {
    background: #fff;
    border: 1px solid var(--border-color);
    padding: 35px;
    margin: 0 0 6px 0 !important;
}

.entry-header.blog-header.with-topbar {
    background: url(https://antea.tech/wp-content/uploads/2022/08/Antea-oil-and-gas-1.jpg) center;
    color: #fff !important;
}

.single-product .entry-header .section-heading,
.archive .entry-header .section-heading,
.search .entry-header .section-heading {
    color: #fff !important;
}

/* ------------------------------------------------------ */
/* SUBTITLE FIX */
/* ------------------------------------------------------ */

.blog-title-center .section-subheading {
    display: block !important;
    visibility: visible;
    opacity: 1;
}

.section-subheading {
    margin: 12px auto 0;
    max-width: 1000px;
    color: #ffffff;
    font-size: 20px;
    line-height: 1.45;
    text-align: center;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

@media (max-width: 767px) {
    .section-subheading {
        font-size: 16px;
        line-height: 1.4;
    }
}

/* ------------------------------------------------------ */
/* MEDIA QUERIES */
/* ------------------------------------------------------ */

@media (max-width: 960px) {
    .key-icon-box {
        margin-bottom: 0 !important;
    }
}

@media screen and (min-width: 1024px) and (max-width: 1536px) {
    .secondbox {
        padding-bottom: 80px;
    }
}

@media screen and (min-width: 1024px) and (max-width: 1440px) {
    .firstbox,
    .third {
        font-size: 15px;
    }
}

@media screen and (min-width: 768px) and (max-width: 1580px) {
    .secondbox {
        padding-bottom: 80px;
    }
    p {
        font-size: 21px;
    }
}


/* ULTIMATE FIX — OVERRIDE VIVA'S INLINE FONT */
header.kd-section-title .separator_off {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
}
/* TRUE FINAL FIX — CORRECT SELECTOR */
header.kd-section-title .tt-separator_off,
.kd-section-title .tt-separator_off,
.tt-separator_off,
.kd-main-title.tt-separator_off {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
}

/* FINAL FIX — APPLY IN global.css */
header.kd-section-title .tt-separator_off,
.kd-section-title .tt-separator_off,
.tt-separator_off,
.kd-main-title.tt-separator_off {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
}


