/*
Theme Name: Hireox child
Template:   hireox
Theme URI: https://hireox.themeht.com/
Author: Themeht
Author URI: https://www.themeht.com
Description: Hireox - Child Theme
Version: 1.2.1
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: hireox
Tags: one-column, two-columns, right-sidebar, custom-logo, custom-menu, threaded-comments, translation-ready, left-sidebar, custom-background, custom-colors, custom-header, featured-images, sticky-post
*/

/* --- Font fallback fix --- */
:root {
    --themeht-typography-body-font-family: "Public Sans", sans-serif;
    --themeht-typography-secondary-font-family: "Montserrat", sans-serif;
}

/* Fix base.css bug: was using --themeht-body-color (a color) as font-family */
.footer-widget .menu li a {
    font-family: var(--themeht-typography-body-font-family) !important;
}

/* ═══ Splitting.js: sierotki — spacja po spójniku nie łamie wiersza ═══ */
.splitting .whitespace {
    display: inline !important;
}
/* Spójniki jednoliterowe: "z", "i", "w" etc. — klej do następnego słowa */
.splitting .word:has(> .char:only-child) {
    white-space: nowrap;
    display: inline;
}
.splitting .word:has(> .char:only-child) + .whitespace,
.splitting .word:has(> .char:only-child) + .whitespace + .word {
    white-space: nowrap;
    display: inline;
}

/* ═══ Footer: mniejsza czcionka, lżejsza waga, bez capitalize ═══ */
.footer-widget .menu li a {
    font-size: 13px !important;
    font-weight: 100 !important;
    text-transform: none !important;
}

/* ═══ Przycisk "Zobacz więcej" pod Aktualnościami — 30px niżej ═══ */
.elementor-element-974bcf3 {
    margin-top: 30px !important;
}

/* ═══ Kafle postów: zdjęcia 16:9, równa wysokość ═══ */
.post-card .post-image,
.post-card.style-1 .post-image {
    aspect-ratio: 16 / 9 !important;
    overflow: hidden !important;
}
.post-card .post-image img,
.post-card.style-1 .post-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}
/* Równa wysokość kafli w wierszu */
.swiper-wrapper .swiper-slide .post-card,
.row .post-card {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}
.post-card .post-desc {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}
.post-card .hireox-bottom-line,
.post-card .themeht-btn-warp {
    margin-top: auto !important;
}

/* ═══ Go to top: zielony z białą strzałką, hover odwrócony ═══ */
.scroll-top {
    right: 20px !important;
    background: var(--themeht-primary-color) !important;
    transition: all .3s ease !important;
}
.scroll-top::after {
    color: #fff !important;
    transition: all .3s ease !important;
}
.scroll-top svg.scroll-circle path {
    stroke: var(--themeht-primary-color) !important;
}
.scroll-top:hover {
    background: #fff !important;
}
.scroll-top:hover::after {
    color: var(--themeht-primary-color) !important;
}

/* ═══ Sticky header — zamrożony pasek menu na wszystkich stronach ═══ */
.header-2 #header-wrap.fixed-header {
    background-color: transparent !important;
    box-shadow: none;
    z-index: 9999;
}
.header-2 #header-wrap.fixed-header .container-fluid {
    background-color: var(--themeht-light-color) !important;
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.04);
}