.falcon-menu > .falcon-header-tools,
.falcon-mobile-tools {
    display: flex;
    align-items: center;
    gap: 9px;
}
.falcon-mobile-tools { display: none; }
.falcon-header-tools .falcon-language-picker summary,
.falcon-mobile-tools .falcon-language-picker summary {
    display: flex;
    gap: 8px;
    font-size: 13px;
    letter-spacing: 0;
}
.falcon-language-code { display: none; }
.falcon-header-search { position: relative; }
.falcon-header-search summary {
    list-style: none;
    display: grid;
    place-items: center;
    min-width: 44px;
    min-height: 44px;
    color: rgba(255,255,255,.9);
    cursor: pointer;
}
.falcon-header-search summary::-webkit-details-marker { display: none; }
.falcon-header-search summary:hover,
.falcon-header-search[open] summary { color: #ffd200; }
.falcon-search-icon {
    display: block;
    width: 17px;
    height: 17px;
    border: 2px solid currentColor;
    border-radius: 50%;
    position: relative;
    margin: 0 4px 4px 0;
}
.falcon-search-icon::after {
    content: "";
    position: absolute;
    width: 9px;
    height: 2px;
    background: currentColor;
    top: 100%;
    left: 100%;
    transform: translate(-1px,-1px) rotate(45deg);
    transform-origin: left center;
}
.falcon-search-popover {
    position: absolute;
    z-index: 9;
    top: 100%;
    right: 0;
    width: min(460px, calc(100vw - 36px));
    padding: 12px;
    background: #161819;
    border: 1px solid #474747;
    box-shadow: 0 12px 32px rgb(0 0 0 / .35);
}
.falcon-search-form {
    display: flex;
    gap: 8px;
    margin: 0;
}
.falcon-search-form input[type="search"] {
    flex: 1;
    min-width: 0;
    min-height: 46px;
    padding: 9px 12px;
    border: 1px solid #bcbdb8;
    border-radius: 0;
    color: #141617;
    background: #fff;
    font-size: 16px;
}
.falcon-search-form button {
    min-height: 46px;
    border: 0;
    border-radius: 0;
    padding: 9px 15px;
    background: #ffd200;
    color: #141617;
    font-weight: 800;
    cursor: pointer;
}
.falcon-search-form :where(input,button):focus-visible,
.falcon-header-search summary:focus-visible { outline: 2px solid #ffd200; outline-offset: 2px; }
.falcon-search-form button:focus-visible { outline-color: #fff; }
.falcon-search-hero .falcon-search-form { width: min(100%, 600px); margin-top: 20px; }
.falcon-search-results .news-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.falcon-search-results .pagination { margin-top: 24px; }

@media (min-width: 981px) and (max-width: 1350px) {
    .header-inner:has(.falcon-header-tools) { gap: 22px; }
    .primary-nav .falcon-menu:has(.falcon-header-tools) { gap: clamp(10px, 1.3vw, 17px); }
    .primary-nav .falcon-menu:has(.falcon-header-tools) > li > a { letter-spacing: .55px; }
}
@media (min-width: 981px) and (max-width: 1200px) {
    .falcon-language-name { display: none; }
    .falcon-language-code { display: inline; }
    .falcon-menu > .falcon-header-tools { gap: 4px; }
}
@media (min-width: 981px) and (max-width: 1100px) {
    .site-header .header-inner:has(.falcon-header-tools) { width: calc(100% - 40px); gap: 12px; }
    .site-header .header-inner:has(.falcon-header-tools) .brand-lockup { max-width: 155px; }
    .site-header .primary-nav .falcon-menu:has(.falcon-header-tools) { gap: 6px; }
    .site-header .primary-nav .falcon-menu:has(.falcon-header-tools) > .menu-cta > a { padding-inline: 10px; }
    .site-header .primary-nav .falcon-menu:has(.falcon-header-tools) > .menu-cta > a b { display: none; }
}
@media (max-width: 980px) {
    .falcon-menu > .falcon-header-tools { display: none; }
    .falcon-mobile-tools { display: flex; margin-left: auto; gap: 4px; }
    .site-header .header-inner { position: relative; gap: 10px; }
    .falcon-mobile-tools .falcon-header-search { position: static; }
    .falcon-mobile-tools .falcon-search-popover { top: calc(100% - 1px); right: 0; width: min(100%, 460px); }
    .falcon-mobile-tools .falcon-language-picker summary { gap: 5px; }
}
@media (max-width: 365px) {
    .falcon-language-name { display: none; }
    .falcon-language-code { display: inline; }
}
@media (max-width: 440px) {
    html[lang="pt-BR"] .falcon-mobile-tools .falcon-language-name { display: none; }
    html[lang="pt-BR"] .falcon-mobile-tools .falcon-language-code { display: inline; }
}
