/* Extraído de partials/firehubs.php: manter idêntico ao PHP. */
body {
    overflow-x: hidden;
}

.gf-fh-wrap {
    max-width: 1100px;
    margin: 0 auto 70px;
    padding: 0 20px;
    box-sizing: border-box;
    font-family: var(--hub-font-sans, Inter, system-ui, -apple-system, sans-serif);
}

/* 1. Banner de Topo Full-Width (de fora a fora) com Vídeo e Fade para Transparência */
.gf-fh-hero-banner {
    position: relative;
    width: 100vw;
    max-width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: -36px; /* encosta no topo caso o .site-content tenha padding/margin */
    margin-bottom: 18px;
    padding: 68px 20px 38px;
    box-sizing: border-box;
    overflow: hidden;
}

.gf-fh-banner-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.85) 55%, rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.85) 55%, rgba(0, 0, 0, 0) 100%);
}

.gf-fh-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    opacity: 0.72;
}

.gf-fh-bg-fade {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 25%, rgba(243, 106, 39, 0.22) 0%, transparent 60%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.65) 65%, rgba(0, 0, 0, 0.98) 100%);
}

.gf-fh-banner-inner {
    position: relative;
    z-index: 2;
    max-width: 1060px;
    margin: 0 auto;
}

.gf-fh-head {
    text-align: center;
    margin-bottom: 30px;
}

.gf-fh-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    border-radius: 999px;
    background: rgba(12, 12, 14, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(243, 106, 39, 0.38);
    color: var(--hub-orange, #F36A27);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.gf-fh-tag-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--hub-orange, #F36A27);
    box-shadow: 0 0 8px rgba(243, 106, 39, 0.8);
}

/* Título com estilo tipográfico da referência: palavras grossas (Anton) + finas (Barlow Condensed) + degradê */
.gf-fh-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: clamp(2.4rem, 5.4vw, 4.3rem);
    text-transform: uppercase;
    line-height: 0.94;
    margin: 4px 0 16px;
    filter: drop-shadow(0 10px 26px rgba(0, 0, 0, 0.8));
}

.gf-fh-title-line {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 0.18em;
}

.gf-fh-title .w-bold {
    font-family: 'Anton', Impact, 'Arial Black', sans-serif !important;
    font-weight: 400 !important;
    letter-spacing: 0.015em;
}

.gf-fh-title .w-thin {
    font-family: 'Barlow Condensed', sans-serif !important;
    font-weight: 300 !important;
    letter-spacing: 0.02em;
    transform: scaleY(1.03);
    display: inline-block;
}

.gf-fh-title .word-white {
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
}

.gf-fh-title .word-accent {
    background: linear-gradient(90deg, #FFE2C2 0%, #F2A86B 55%, #F36A27 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
}

.gf-fh-sub {
    color: #cbd5e1;
    max-width: 660px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.6;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85);
}

/* Barra de busca com efeito vidro translúcido sobre o final do vídeo */
.gf-fh-search {
    display: grid;
    grid-template-columns: 1fr 130px auto auto;
    gap: 12px;
    align-items: end;
    background: rgba(12, 12, 14, 0.62);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    padding: 18px;
    margin-bottom: 6px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55);
}

.gf-fh-field label {
    display: block;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #cbd5e1;
    margin-bottom: 6px;
}

.gf-fh-field input,
.gf-fh-field select {
    width: 100%;
    box-sizing: border-box;
    background: rgba(20, 20, 23, 0.8);
    color: var(--hub-field-text, #fff);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 12px;
    padding: 12px 14px;
    font: inherit;
    transition: all 0.2s ease;
}

.gf-fh-field input:focus,
.gf-fh-field select:focus {
    outline: none;
    border-color: var(--hub-orange, #F36A27);
    box-shadow: 0 0 0 3px rgba(243, 106, 39, .22);
}

.gf-fh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 999px;
    padding: 12px 24px;
    cursor: pointer;
    text-decoration: none;
    font: inherit;
    font-weight: 700;
    transition: all 0.2s ease;
}

.gf-fh-btn-primary {
    background: var(--hub-orange, #F36A27);
    color: #fff;
    box-shadow: 0 4px 14px rgba(243, 106, 39, 0.3);
}

.gf-fh-btn-primary:hover {
    background: #d9581c;
    transform: translateY(-1px);
}

.gf-fh-btn-ghost {
    background: rgba(255, 255, 255, 0.04);
    color: var(--hub-text, #fff);
    border: 1px solid rgba(var(--hub-fg-rgb, 255, 255, 255), .22);
}

.gf-fh-btn-ghost:hover {
    border-color: var(--hub-orange, #F36A27);
    color: var(--hub-orange, #F36A27);
    background: rgba(243, 106, 39, 0.08);
}

.gf-fh-geo-msg {
    min-height: 20px;
    color: var(--hub-text-muted, #9999a0);
    font-size: .85rem;
    margin: 0 0 12px 4px;
}

.gf-fh-count {
    color: var(--hub-text-muted, #9999a0);
    font-size: .9rem;
    margin: 0 0 16px 4px;
}

.gf-fh-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.gf-fh-card {
    background: var(--hub-surface-0, #0c0c0e);
    border: 1px solid rgba(var(--hub-fg-rgb, 255, 255, 255), .1);
    border-radius: 18px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .25);
    transition: border-color .2s ease, transform .2s ease;
}

.gf-fh-card:hover {
    border-color: rgba(243, 106, 39, .5);
    transform: translateY(-2px);
}

.gf-fh-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.gf-fh-name {
    color: var(--hub-text, #fff);
    font-size: 1.08rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.3;
}

.gf-fh-pill {
    flex: none;
    background: rgba(243, 106, 39, .14);
    border: 1px solid rgba(243, 106, 39, .32);
    color: var(--hub-orange, #F36A27);
    border-radius: 999px;
    padding: 4px 11px;
    font-size: .74rem;
    font-weight: 800;
    white-space: nowrap;
}

.gf-fh-pill.is-near {
    background: var(--hub-orange, #F36A27);
    color: #fff;
    border-color: transparent;
}

.gf-fh-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 9px;
    color: var(--hub-text-muted, #9999a0);
    font-size: .9rem;
    line-height: 1.45;
}

.gf-fh-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.gf-fh-list svg {
    flex: none;
    margin-top: 2px;
    color: var(--hub-orange, #F36A27);
}

.gf-fh-list strong {
    color: var(--hub-text, #fff);
    font-weight: 600;
}

.gf-fh-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: auto;
}

.gf-fh-actions .gf-fh-btn {
    padding: 9px 18px;
    font-size: .86rem;
}

.gf-fh-empty {
    text-align: center;
    padding: 48px 20px;
    background: var(--hub-surface-0, #0c0c0e);
    border: 1px dashed rgba(var(--hub-fg-rgb, 255, 255, 255), .18);
    border-radius: 18px;
    color: var(--hub-text-muted, #9999a0);
}

.gf-fh-empty h2 {
    color: var(--hub-text, #fff);
    margin: 0 0 8px;
    font-size: 1.2rem;
}

@media (max-width: 820px) {
    .gf-fh-hero-banner {
        padding: 48px 16px 28px;
    }
    .gf-fh-search {
        grid-template-columns: 1fr 1fr;
    }
    .gf-fh-search .gf-fh-field.q {
        grid-column: 1 / -1;
    }
    .gf-fh-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .gf-fh-search {
        grid-template-columns: 1fr;
    }
}
