/**
 * Critical CSS - Inlined in header for Core Web Vitals
 * Version: 10.0.0
 */

/* Critical layout styles */
.tb-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.tb-header {
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.tb-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    gap: 20px;
}

.tb-logo img {
    max-height: 40px;
    width: auto;
}

.tb-site-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.tb-nav-desktop {
    flex: 1;
}

.tb-nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.tb-nav-menu a {
    font-weight: 500;
    font-size: 15px;
}

.tb-header-actions {
    display: flex;
    gap: 10px;
}

.tb-search-toggle,
.tb-menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
}

.tb-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
}

.tb-menu-toggle span {
    width: 20px;
    height: 2px;
    background: #333;
}

/* CLS Prevention - Reserve space for lazy loaded elements */
img[loading="lazy"] {
    aspect-ratio: 16/9;
    background: #f0f0f0;
}

ins.adsbygoogle {
    min-height: 280px;
}

@media (max-width: 768px) {
    ins.adsbygoogle {
        min-height: 250px;
    }
}

@media (max-width: 992px) {
    .tb-nav-desktop {
        display: none;
    }
    
    .tb-menu-toggle {
        display: flex;
    }
}