/* ============================================================
   GP PADALI - TARGETED HEADER FIXES ONLY
   Fix 1: Header stays with page (not sticky/fixed on scroll)
   Fix 2: Language dropdown + seal in ONE ROW next to GP name
   ============================================================ */

/* FIX 1: Make header static so it scrolls with page content
   and never hides/overlaps content below */
.new-royal-header {
    position: static !important;
    top: auto !important;
}

/* FIX 2: Keep logo+name and language+seal all in ONE row.
   Brand area grows to fill space, actions stay right-aligned
   and never wrap to a new line */
.royal-main-nav-container {
    flex-wrap: nowrap !important;
    align-items: center !important;
}

.royal-brand {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    flex-shrink: 1 !important;
}

.royal-brand-text h1 {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.royal-actions {
    flex-shrink: 0 !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
}

/* Slightly smaller seal image to keep everything fitting in one row */
.royal-actions img {
    height: 44px !important;
}

/* Since header is now static, content area needs no top padding offset */
#dynamic-content-area {
    padding-top: 0 !important;
}

/* Remove mobile spacer height since header is static now */
.inner-page-spacer {
    height: 0 !important;
}

/* Remove hero wrapper top padding - only needed for fixed headers */
.hero-wrapper {
    padding-top: 0 !important;
}

/* Responsive: on very small screens, let brand text shrink gracefully */
@media (max-width: 480px) {
    .royal-brand img {
        height: 44px !important;
    }
    .royal-brand-text h1 {
        font-size: 0.85rem !important;
    }
    .royal-brand-text p {
        font-size: 0.65rem !important;
    }
    .lang-sel {
        font-size: 0.75rem !important;
        padding: 4px 6px !important;
    }
    .royal-actions img {
        height: 36px !important;
    }
}
