/*
Theme Name: TopNetwork
Description: Tema aziendale TopNetwork basato su Twenty Twenty-Five.
Author: TopNetwork
Version: 1.0.0
Template: twentytwentyfive
Text Domain: topnetwork
*/

/* AZZERAMENTO SPAZIATURE AUTOMATICHE TRA BLOCCHI */
:root :where(.is-layout-flow) > * {
    margin-block-start: 0;
    margin-block-end: 0;
}

/* ========================================
   TOPNETWORK - HEADER
======================================== */

/* Header: larghezza senza vincoli */
.tn-header,
.tn-header > .wp-block-group {
    width: 100%;
    max-width: none;
}

.tn-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.tn-header.is-scrolled {
    background-color: #000000;
}

/* Compensazione barra amministratore WordPress */
body.admin-bar .tn-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .tn-header {
        top: 46px;
    }
}