/* =========================================================
   V360 – HEADER / TOP HEADER
   Project CSS may override these base rules.
   ========================================================= */
.v360-header-wrapper {
    width: 100%;
    z-index: 1000;
}
.v360-top-header__text {
    color: #fdcb18;
	font-weight:600;
}
.v360-top-header {
    width: 100%;
    background: var(--primary, #111111);
    color: #ffffff;
    font-size: 14px;
    line-height: 1.35;
}
.v360-top-header svg{
	display:none;
}
.v360-top-header a {
    color: inherit;
    text-decoration: none;
}

.v360-top-header a:hover,
.v360-top-header a:focus-visible {
    text-decoration: underline;
}

.v360-top-header__inside {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    min-height: 36px;
}

.v360-top-header__contact,
.v360-top-header__social {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

body.v360-sticky-header .v360-header-wrapper {
    position: fixed;
    top: var(--v360-admin-bar-height);
    left: 0;
    right: 0;
    transition: transform .32s cubic-bezier(.22, 1, .36, 1);
    will-change: transform;
}

body.v360-sticky-header.v360-header-hidden .v360-header-wrapper {
    transform: translateY(calc(-1 * var(--v360-header-stack-height)));
}

@media (max-width: 782px) {
    .v360-top-header__inside {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
        padding-block: 8px;
    }
}
/* Mobiil: top-header keskele ja logo kompaktsemaks. */
@media (max-width: 1100px) {
    .tp-header .tp-header-logo img { max-width: 125px; max-height: 38px; }
    .tp-header .tp-header-logo .site-name { font-size: 22px; }
    .v360-top-header__inside { align-items: center; justify-content: center; text-align: center; }
    .v360-top-header__text { text-align: center; }
    .v360-top-header__contact, .v360-top-header__social { justify-content: center; }
}
@media (max-width: 782px) {
    .v360-top-header__inside { align-items: center; }
}

/* v1.0.6 – single-line mobile top-header, zero vertical header padding */
@media (max-width:782px) {
    .v360-top-header__inside {
        flex-direction:row!important;
        flex-wrap:nowrap!important;
        align-items:center!important;
        justify-content:center!important;
        gap:8px!important;
        padding:6px 0!important;
        min-height:0!important;
        text-align:center;
    }
    .v360-top-header__contact {gap:5px!important;flex-wrap:nowrap!important;white-space:nowrap;font-size:15px;}
    .v360-top-header__text {white-space:nowrap;font-size:15px;}
    .v360-top-header__social {display:none!important;}
    .v360-top-header__separator {display:none!important;}
    .tp-header .tp-header-inner {padding-top:0!important;padding-bottom:0!important;}
}
