:root { 
    /* Esquema de Cores FAB - Força Aérea Brasileira */
    --fab-sky-blue: #4A90E2;           /* Azul Celeste FAB - Cor principal */
    --fab-light-blue: #6BA3E8;         /* Azul Claro - Detalhes suaves */
    --fab-deep-blue: #2E5C8A;          /* Azul Profundo - Acentos */
    --fab-silver: #B8C5D6;             /* Prata Aeronáutica - Bordas */
    --fab-steel: #8B9DB3;              /* Cinza-Aço Claro - Texto secundário */
    --fab-cloud-white: #F8FAFB;        /* Branco Nuvem - Fundos claros */
    --fab-sky-gradient: #E8F4F8;       /* Azul Céu Suave - Gradientes */
    
    /* Cores derivadas */
    --primary-color: var(--fab-sky-blue);
    --btn-primary: var(--fab-sky-blue);
    --btn-hover: var(--fab-light-blue);
    --bg-dark: var(--fab-sky-gradient);
    --bg-darker: var(--fab-deep-blue);
    --card-bg: rgba(248, 250, 251, 0.95);
    --border-gray: var(--fab-steel);
    --border-light: var(--fab-silver);
    --text-white: #FFFFFF;
    --text-light: #2C3E50;
    --text-gray: #5A6C7D;
    --alert-color: #E74C3C;
    --badge-color: var(--fab-sky-blue);
    --badge-text: var(--text-white);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(160deg, #E8F4F8 0%, #FFFFFF 50%, #F0F7FA 100%);
    color: var(--text-light);
    min-height: 100vh;
}

.main-content {
    padding: 50px 20px 100px;
    min-height: 100vh;
    background: 
        url('../images/background-native.png') repeat,
        linear-gradient(160deg, #E8F4F8 0%, #FFFFFF 50%, #F0F7FA 70%);
    background-blend-mode: overlay;
    position: relative;
}

.main-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(74, 144, 226, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(107, 163, 232, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}


.content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

.main-grid {
    display: grid;
    grid-template-columns: 25% 50% 25%;
    gap: 30px;
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.card-wrapper {
    position: relative;
    padding-top: 0;
}

/* OPÇÃO 3: FAIXA DE COMANDO */
.card-badge-top {
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--fab-sky-blue) 0%, var(--fab-light-blue) 100%);
    color: var(--text-white);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 10px 50px;
    z-index: 20;
    clip-path: polygon(5% 0, 95% 0, 100% 50%, 95% 100%, 5% 100%, 0% 50%);
    border: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.card-badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--fab-deep-blue);
    border-radius: 3px;
    padding: 2px;
    margin-right: 8px;
    border: 1px solid var(--fab-silver);
    position: absolute;
    right: -15px;
    top: 50%;
    z-index: 30;
}

.card-badge-icon img {
    width: 12px;
    height: 12px;
    object-fit: contain;
    filter: 
        drop-shadow(0 1px 2px rgba(0, 0, 0, 0.8))
        brightness(1.3)
        contrast(1.5);
}

.card-emblem-outside {
    position: absolute;
    top: -25px;
    width: 60px;
    height: 60px;
    z-index: 25;
}


.card-emblem-left {
    left: 20px;
}

.card-emblem-right {
    right: 20px;
}

.card-emblem-outside img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: 
        drop-shadow(0 4px 8px rgba(0, 0, 0, 0.6))
        brightness(1.1);
}

.badge-icon-left {
    order: -1;
}

.card-emblem-outside {
    position: absolute;
    top: 5px;
    width: 50px;
    height: 50px;
    z-index: 15;
}

.card-emblem-left {
    left: 10px;
}

.card-emblem-right {
    right: 10px;
}

.card-emblem-outside img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.6));
}

.card-badge-top .badge-title {
    color: inherit;
    font-family: 'Oswald', 'Bebas Neue', sans-serif;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    position: relative;
    z-index: 2;
    text-align: center;
    /* white-space: nowrap; */
}

.card-badge-top .badge-subtitle {
    display: none;
}


.card-container {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    overflow: visible;
    padding: 25px;
    position: relative;
    box-shadow: 0 4px 20px rgba(74, 144, 226, 0.15);
    border: 1px solid rgba(184, 197, 214, 0.3);
    min-height: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.card-container::before {
    content: '';
    position: absolute;
    top: 1px;
    left: 10%;
    height: 4px;
    width: 80%;
    background: linear-gradient(90deg, transparent 0%, var(--fab-sky-blue) 50%, transparent 100%);
    border-radius: 100%;
}

.sidebar-left .card-container,
.sidebar-right .card-container {
    padding: 25px 20px 20px 20px;
    max-height: 380px;
}

.sidebar-left,
.main-column,
.sidebar-right {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.profile-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding-top: 50px;
}

.profile-avatar-large {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--fab-silver);
    overflow: hidden;
    background: linear-gradient(135deg, var(--fab-deep-blue) 0%, var(--fab-sky-blue) 100%);
    box-shadow: 0 8px 24px rgba(74, 144, 226, 0.4);
    background-image: url('../images/destaque-po.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.profile-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;

}

.profile-rank-text {
    font-size: 12px;
    font-weight: 700;
    color: #2C3E50;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 5px 0 0 0;
}

.profile-date-text {
    font-size: 10px;
    font-weight: 600;
    color: #8B9DB3;
    display: flex;
    align-items: center;
    gap: 6px;
}

.profile-date-text i {
    font-size: 10px;
}

.btn-view-profile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 28px;
    background: linear-gradient(135deg, var(--fab-sky-blue) 0%, var(--fab-light-blue) 100%);
    color: var(--text-white);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 8px;
    text-decoration: none;
    margin-top: 5px;
    box-shadow: 0 3px 10px rgba(74, 144, 226, 0.3);
    border: none;
    transition: all 0.3s ease;
}

.btn-view-profile:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.4);
}

.btn-view-profile i {
    font-size: 14px;
}

.search-modern-box {
    padding: 0;
    background: transparent;
    width: 100%;
    flex-shrink: 0;
}


.search-form-modern {
    margin-top: 20px;
    display: flex;
    gap: 12px;
}

.input-modern-wrapper {
    flex: 1;
}

.input-modern-wrapper input {
    width: 100%;
    height: 50px;
    padding: 0 20px;
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-white);
    background: rgba(0, 0, 0, 0.4);
    font-family: 'Poppins', sans-serif;
}

.input-modern-wrapper input:focus {
    outline: none;
    border-color: var(--btn-primary);
    box-shadow: 0 0 0 2px rgba(0, 126, 167, 0.15);
}

.input-modern-wrapper input::placeholder {
    color: var(--text-gray);
}

.btn-search-modern {
    height: 50px;
    padding: 0 32px;
    background: linear-gradient(135deg, var(--fab-sky-blue) 0%, var(--fab-light-blue) 100%);
    border: none;
    border-radius: 8px;
    color: var(--text-white);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(74, 144, 226, 0.3);
}

.btn-search-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.4);
    background: linear-gradient(135deg, var(--fab-light-blue) 0%, var(--fab-sky-blue) 100%);
}

.empty-state {
    text-align: center;
    padding: 50px 30px;
    background: var(--bg-darker);
    border-radius: 12px;
    margin-top: 20px;
    border: 1px solid var(--border-gray);
}

.empty-state i {
    font-size: 64px;
    color: var(--text-gray);
    display: block;
    margin-bottom: 16px;
}

.empty-state p {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-gray);
    margin: 0;
}

/* Estilos para resultados de busca - Novo Layout */
.search-results-container {
    margin-top: 20px;
}

.search-result-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(184, 197, 214, 0.3);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    display: flex;
    gap: 20px;
}

.search-result-card:hover {
    background: rgba(255, 255, 255, 1);
    border-color: #4A90E2;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.2);
}

#searchResults {
    width: 100%;
    flex: 1;
}

.result-left-section {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    min-width: 180px;
}

.result-avatar {
    position: relative;
}

.result-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--fab-silver);
    object-fit: cover;
}

.result-basic-info {
    text-align: center;
}

.result-name {
    color: #2C3E50;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.result-id {
    color: #8B9DB3;
    font-size: 12px;
    font-weight: 400;
}

.btn-view-profile-result {
    background: linear-gradient(135deg, var(--fab-sky-blue), var(--fab-light-blue));
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-view-profile-result:hover {
    background: linear-gradient(135deg, var(--fab-light-blue), var(--fab-sky-blue));
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.4);
}

.result-right-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.result-title {
    color: #2C3E50;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.result-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.result-detail-line {
    color: #2C3E50;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
}


.soldier-header-section {
    background: linear-gradient(135deg, var(--fab-deep-blue) 0%, var(--fab-sky-blue) 100%);
    display: flex;
    align-items: stretch;
    gap: 0;
    height: 160px;
    max-height: 160px;
}

.soldier-avatar-large {
    width: 25%;
    height: auto;
    border-radius: 0;
    border: none;
    border-right: 1px solid rgba(0, 126, 167, 0.3);
    overflow: hidden;
    flex-shrink: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
}

.soldier-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.soldier-main-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    padding: 10px 14px;
    justify-content: center;
}

.soldier-main-info h3 {
    font-size: 15px;
    font-weight: 900;
    color: #ffffff;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.soldier-rank-badge {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--fab-deep-blue);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    border: 1px solid rgba(74, 144, 226, 0.3);
    align-self: flex-start;
    max-width: fit-content;
}

.soldier-active-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: #22c55e;
    color: #ffffff;
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.4);
    align-self: flex-start;
    max-width: fit-content;
}

.soldier-active-status i {
    font-size: 6px;
    animation: pulse 2s ease infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.soldier-badge-display {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 45px;
    height: 45px;
    z-index: 5;
}

.soldier-badge-display img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
}

.soldier-details-section {
    display: none;
}

.details-grid-modern {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.detail-box-modern {
    background: rgba(255, 255, 255, 0.15);
    padding: 5px 10px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: inline-flex;
    flex-direction: column;
}

.detail-label-modern {
    display: block;
    font-size: 8px;
    font-weight: 700;
    color: rgba(229, 243, 250, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.detail-value-modern {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: #E5F3FA;
    white-space: nowrap;
}

.sidebar-right {
    position: sticky;
    top: 90px;
}

@media (max-width: 1280px) {
    .main-grid {
        grid-template-columns: 320px 1fr 320px;
        gap: 24px;
    }
    
    .sponsors-container {
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }
    
    .sponsor-card {
        height: 280px;
    }
    
    .ranking-card.ranking-double-height {
        height: 570px;
    }
}

@media (max-width: 1200px) {
    .main-grid {
        grid-template-columns: 300px 1fr 300px;
        gap: 20px;
    }
    
    .card-badge-top {
        font-size: 11px;
        padding: 9px 45px;
    }
    
    .sponsor-card, .ranking-card {
        height: 270px;
    }
    
    .ranking-card.ranking-double-height {
        height: 560px;
    }
}

@media (max-width: 1024px) {
    .main-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* Reordenar para mostrar destaques primeiro em tablets */
    .sidebar-left {
        order: -2;
        display: flex !important;
        flex-direction: column;
        gap: 30px;
        width: 100%;
    }
    
    .sidebar-right {
        order: -1;
        position: static;
        display: flex !important;
        flex-direction: column;
        gap: 30px;
        width: 100%;
    }
    
    .main-column {
        order: 0;
    }
    
    .card-wrapper {
        width: 100%;
    }
    
    .details-grid-modern {
        flex-direction: column;
        gap: 6px;
    }
    
    .soldier-avatar-large {
        width: 30%;
    }
    
    /* Ajustes para cards em tablet */
    .card-container {
        min-height: 350px;
    }
    
    .sidebar-left .card-container,
    .sidebar-right .card-container {
        min-height: 350px;
        max-height: 350px;
    }
    
    .card-wrapper:has(.promovidos-modern) .card-container,
    .card-wrapper:has(.avisos-content) .card-container {
        height: 500px;
        min-height: 500px;
        max-height: 500px;
    }
    
    .invisible-card .card-container {
        height: 500px;
        min-height: 500px;
        max-height: 500px;
    }
    
    .sponsors-container {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        gap: 15px;
    }
    
    .sponsor-card {
        height: 240px;
    }
    
    .ranking-card.ranking-double-height {
        height: 500px;
    }
}

@media (max-width: 768px) {
    .main-content {
        padding: 30px 16px 60px;
    }
    
    .main-grid {
        gap: 20px;
    }
    
    .sponsors-container {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    
    .sponsor-card {
        height: auto;
        min-height: 220px;
        padding: 15px;
    }
    
    .ranking-card.ranking-double-height {
        height: auto;
        min-height: 450px;
    }
    
    .search-form-modern {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-search-modern {
        width: 100%;
        height: 48px;
    }
    
    .input-modern-wrapper input {
        height: 48px;
        font-size: 14px;
    }
    
    /* Ajustes para cards em mobile */
    .card-container {
        min-height: 300px;
        padding: 20px;
    }
    
    .sidebar-left .card-container,
    .sidebar-right .card-container {
        min-height: 300px;
        max-height: 300px;
        padding: 20px 15px;
    }
    
    .card-wrapper:has(.promovidos-modern) .card-container,
    .card-wrapper:has(.avisos-content) .card-container {
        height: 400px;
        min-height: 400px;
        max-height: 400px;
        padding-top: 70px;
    }
    
    .invisible-card .card-container {
        height: 400px;
        min-height: 400px;
        max-height: 400px;
        padding: 45px 20px 20px 20px;
    }
    
    /* Ajustes para avatares de perfil */
    .profile-avatar-large {
        width: 100px;
        height: 100px;
    }
    
    .profile-rank-text {
        font-size: 11px;
    }
    
    .profile-date-text {
        font-size: 9px;
    }
    
    .btn-view-profile {
        padding: 8px 20px;
        font-size: 10px;
    }
    
    /* Ajustes para lista de promovidos */
    .list-item {
        padding: 10px;
        gap: 10px;
    }
    
    .item-avatar {
        width: 32px;
        height: 32px;
    }
    
    .item-name {
        font-size: 12px;
    }
    
    .item-rank {
        font-size: 9px;
    }
    
    .item-promoted-by {
        font-size: 8px;
    }
    
    .item-promoted-by i {
        font-size: 7px;
    }
    
    .item-date {
        font-size: 9px;
        padding: 3px 6px;
    }
    
    /* Ajustes para avisos */
    .aviso-item {
        height: calc(100% - 10px);
        padding: 15px;
        margin-bottom: 10px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        overflow: hidden;
        width: 100%;
        box-sizing: border-box;
    }
    
    .aviso-header {
        gap: 10px;
        margin-bottom: 10px;
    }
    
    .aviso-avatar {
        width: 40px;
        height: 40px;
    }
    
    .aviso-titulo {
        font-size: 13px;
    }
    
    .aviso-descricao {
        font-size: 12px;
        margin-bottom: 10px;
    }
    
    .aviso-autor {
        font-size: 10px;
    }
    
    /* Ajustes para patrocinadores */
    .sponsors-container {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    
    .sponsor-card {
        height: auto;
        min-height: 200px;
        padding: 15px;
    }
    
    .sponsor-header {
        margin-bottom: 12px;
    }
    
    .sponsor-benefits li {
        font-size: 10px;
        margin-bottom: 6px;
    }
    
    .sponsor-icon {
        width: 35px;
        height: 35px;
    }
    
    .sponsor-icon img {
        width: 20px;
        height: 20px;
    }
    
    .sponsor-title {
        font-size: 11px;
    }
    
    .sponsor-benefits li {
        font-size: 9px;
        margin-bottom: 6px;
    }
    
    .btn-sponsor {
        padding: 8px 16px;
        font-size: 9px;
    }
    
    /* Ajustes para ranking */
    .ranking-card {
        height: auto;
        min-height: 250px;
        padding: 15px;
    }
    
    .ranking-card.ranking-double-height {
        height: auto;
        min-height: 500px;
    }
    
    .ranking-header {
        margin-bottom: 10px;
    }
    
    .ranking-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 8px;
    }
    
    .ranking-icon img {
        width: 55px;
        height: 55px;
    }
    
    .ranking-title {
        font-size: 12px;
    }
    
    .ranking-subtitle {
        font-size: 9px;
    }
    
    .ranking-content {
        margin-bottom: 10px;
    }
    
    .ranking-list {
        gap: 6px;
    }
    
    .ranking-item {
        padding: 6px 10px;
        gap: 8px;
    }
    
    .ranking-avatar {
        width: 30px;
        height: 30px;
    }
    
    .ranking-name {
        font-size: 10px;
    }
    
    .ranking-patent {
        font-size: 8px;
    }
    
    .ranking-score {
        font-size: 9px;
        min-width: 50px;
    }
    
    .ranking-position {
        font-size: 11px;
        min-width: 22px;
    }
    
    .btn-ranking {
        padding: 7px 14px;
        font-size: 9px;
    }
    
    /* Ajustes para busca */
    .search-result-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 15px;
    }
    
    .result-left-section {
        min-width: auto;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .result-basic-info {
        text-align: left;
        flex: 1;
        margin-left: 15px;
    }
    
    .result-right-section {
        text-align: left;
    }
    
    .result-avatar img {
        width: 60px;
        height: 60px;
    }
    
    .result-title {
        font-size: 16px;
    }
    
    .result-detail-line {
        font-size: 12px;
    }
    
    /* Ajustes para seção de oficiais */
    .officers-container {
        padding: 20px 15px;
    }
    
    .officers-full-section center img[alt="Brasão FAB"] {
        max-width: 280px;
    }
    
    .officers-full-section center p {
        font-size: 12px;
        margin-top: 40px;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 20px 12px 50px;
    }
    
    .main-grid {
        gap: 15px;
    }
    
    .content-wrapper {
        padding: 0 10px;
    }
    
    .input-modern-wrapper input,
    .btn-search-modern {
        height: 45px;
        font-size: 13px;
    }
    
    .search-form-modern {
        gap: 8px;
    }
    
    /* Ajustes para cards em mobile pequeno */
    .card-container {
        min-height: 280px;
        padding: 15px;
    }
    
    .sidebar-left .card-container,
    .sidebar-right .card-container {
        min-height: 280px;
        max-height: 280px;
        padding: 15px 12px;
    }
    
    .card-wrapper:has(.promovidos-modern) .card-container,
    .card-wrapper:has(.avisos-content) .card-container {
        height: 350px;
        min-height: 350px;
        max-height: 350px;
        padding-top: 60px;
    }
    
    .invisible-card .card-container {
        height: 350px;
        min-height: 350px;
        max-height: 350px;
        padding: 40px 15px 15px 15px;
    }
    
    /* Ajustes para avatares de perfil */
    .profile-avatar-large {
        width: 90px;
        height: 90px;
    }
    
    .profile-rank-text {
        font-size: 10px;
    }
    
    .profile-date-text {
        font-size: 8px;
    }
    
    .btn-view-profile {
        padding: 6px 16px;
        font-size: 9px;
    }
    
    /* Ajustes para lista de promovidos */
    .list-item {
        padding: 8px;
        gap: 8px;
    }
    
    .item-avatar {
        width: 28px;
        height: 28px;
    }
    
    .item-name {
        font-size: 11px;
    }
    
    .item-rank {
        font-size: 8px;
    }
    
    .item-promoted-by {
        font-size: 7px;
    }
    
    .item-promoted-by i {
        font-size: 6px;
    }
    
    .item-date {
        font-size: 8px;
        padding: 2px 5px;
    }
    
    /* Ajustes para avisos */
    .aviso-item {
        height: calc(100% - 8px);
        padding: 12px;
        margin-bottom: 8px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        overflow: hidden;
        width: 100%;
        box-sizing: border-box;
    }
    
    .aviso-header {
        gap: 8px;
        margin-bottom: 8px;
    }
    
    .aviso-avatar {
        width: 35px;
        height: 35px;
    }
    
    .aviso-titulo {
        font-size: 12px;
    }
    
    .aviso-descricao {
        font-size: 11px;
        margin-bottom: 8px;
    }
    
    .aviso-autor {
        font-size: 9px;
    }
    
    /* Ajustes para patrocinadores */
    .sponsors-container {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .sponsor-card {
        height: auto;
        min-height: 180px;
        padding: 12px;
    }
    
    .sponsor-header {
        margin-bottom: 10px;
    }
    
    .sponsor-icon {
        width: 35px;
        height: 35px;
        margin-bottom: 8px;
    }
    
    .sponsor-icon img {
        width: 45px;
        height: 45px;
    }
    
    .sponsor-title {
        font-size: 10px;
    }
    
    .sponsor-benefits li {
        font-size: 9px;
        margin-bottom: 5px;
    }
    
    .btn-sponsor {
        padding: 7px 14px;
        font-size: 9px;
    }
    
    /* Ajustes para ranking */
    .ranking-card {
        min-height: 220px;
        padding: 12px;
    }
    
    .ranking-card.ranking-double-height {
        min-height: 450px;
    }
    
    .ranking-header {
        margin-bottom: 8px;
    }
    
    .ranking-icon {
        width: 35px;
        height: 35px;
        margin-bottom: 6px;
    }
    
    .ranking-icon img {
        width: 45px;
        height: 45px;
    }
    
    .ranking-title {
        font-size: 11px;
    }
    
    .ranking-subtitle {
        font-size: 8px;
    }
    
    .ranking-content {
        margin-bottom: 8px;
    }
    
    .ranking-list {
        gap: 5px;
    }
    
    .ranking-item {
        padding: 5px 8px;
        gap: 6px;
    }
    
    .ranking-avatar {
        width: 28px;
        height: 28px;
    }
    
    .ranking-name {
        font-size: 9px;
    }
    
    .ranking-patent {
        font-size: 7px;
    }
    
    .ranking-score {
        font-size: 8px;
        min-width: 45px;
    }
    
    .ranking-position {
        font-size: 10px;
        min-width: 20px;
    }
    
    .btn-ranking {
        padding: 6px 12px;
        font-size: 8px;
    }
    
    /* Ajustes para busca */
    .search-result-card {
        padding: 12px;
        gap: 12px;
    }
    
    .result-left-section {
        flex-direction: column;
        gap: 8px;
    }
    
    .result-basic-info {
        text-align: center;
        margin-left: 0;
    }
    
    .result-avatar img {
        width: 50px;
        height: 50px;
    }
    
    .result-title {
        font-size: 14px;
    }
    
    .result-detail-line {
        font-size: 11px;
    }
    
    /* Ajustes para seção de oficiais */
    .officers-container {
        padding: 15px 10px;
    }
    
    .officers-full-section center img[alt="Brasão FAB"] {
        max-width: 200px;
    }
    
    .officers-full-section center p {
        font-size: 10px;
        margin-top: 20px;
    }
    
    /* Ajustes para badges dos cards */
    .card-badge-top {
        font-size: 9px;
        padding: 6px 25px;
        letter-spacing: 1px;
    }
    
    .card-emblem-outside {
        width: 35px;
        height: 35px;
    }
    
    .card-emblem-left {
        left: 10px;
    }
    
    .card-emblem-right {
        right: 10px;
    }
    
    .soldier-avatar-large {
        width: 40%;
    }
    
    .soldier-main-info h3 {
        font-size: 12px;
    }
    
    .soldier-rank-badge {
        font-size: 8px;
        padding: 3px 8px;
    }
    
    .soldier-active-status {
        font-size: 7px;
        padding: 3px 8px;
    }
}

/* ===== ESTILOS MODERNOS PARA CARD ÚLTIMOS PROMOVIDOS ===== */
.card-wrapper:has(.promovidos-modern) .card-container,
.card-wrapper:has(.avisos-content) .card-container {
    height: 590px;
    min-height: 590px;
    max-height: 590px;
    padding-top: 90px;
}

.promovidos-modern {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    height: 100%;
    justify-content: space-between;
}



/* Lista de Outros Promovidos */
.promovidos-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.list-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.list-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 60, 128, 0.2);
}

.item-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

.item-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-content {
    flex: 1;
    min-width: 0;
}

.item-name {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.item-rank {
    font-size: 10px;
    font-weight: 500;
    color: #4a4a4a;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.item-promoted-by {
    font-size: 9px;
    font-weight: 400;
    color: #666666;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.item-promoted-by i {
    font-size: 8px;
}

.item-date {
    font-size: 10px;
    font-weight: 500;
    color: #333333;
    background: rgba(0, 0, 0, 0.05);
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
}



/* ===== ESTILOS PARA CARD QUADRO DE AVISOS ===== */
.avisos-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    padding: 10px 0;
    overflow-y: hidden;
}

.aviso-item {
    background: rgba(46, 92, 138, 0.3);
    border-radius: 12px;
    height: calc(100% - 12px);
    padding: 20px;
    border: 1px solid rgba(74, 144, 226, 0.2);
    position: relative;
    backdrop-filter: blur(10px);
    margin-bottom: 12px;
    border-left: 4px solid var(--fab-silver);
    word-wrap: break-word;
    overflow-wrap: break-word;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

/* Estilos por tipo de aviso */
.aviso-tipo-info {
    border-left-color: #2196F3;
}

.aviso-tipo-aviso {
    border-left-color: #FF9800;
}

.aviso-tipo-alerta {
    border-left-color: #F44336;
    background: rgba(244, 67, 54, 0.05);
}

.aviso-tipo-sucesso {
    border-left-color: #4CAF50;
}

.aviso-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.aviso-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--fab-sky-blue) 0%, var(--fab-deep-blue) 100%);
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.aviso-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.aviso-info {
    flex: 1;
    min-width: 0;
}

.aviso-titulo {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 6px 0;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.aviso-autor {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.8);
}

.autor-icon {
    color: var(--fab-silver);
    font-size: 10px;
    text-shadow: 0 0 8px rgba(184, 197, 214, 0.5);
}

.autor-nome {
    font-weight: 600;
}

.aviso-descricao {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: left;
    font-weight: 400;
}

.aviso-data {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--fab-silver);
    font-weight: 600;
    padding: 8px 12px;
    background: rgba(46, 92, 138, 0.3);
    border-radius: 6px;
    border: 1px solid rgba(184, 197, 214, 0.2);
    width: fit-content;
}

.aviso-data i {
    font-size: 10px;
    color: var(--fab-silver);
}




/* ===== ESTILOS PARA CARD INVISÍVEL - PATROCINADORES ===== */
.invisible-card {
    background: transparent;
    box-shadow: none;
    border: none;
    padding: 0;
    margin: 0;
}

.invisible-card .card-container {
    background: transparent;
    backdrop-filter: none;
    border: none;
    box-shadow: none;
    padding: 55px 25px 25px 25px;
    height: 590px;
    min-height: 590px;
    max-height: 590px;
}

.sponsors-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
    width: 100%;
    height: 100%;
}

.sponsor-card {
    background: linear-gradient(135deg, var(--fab-sky-blue) 0%, var(--fab-light-blue) 50%, var(--fab-silver) 100%);
    border-radius: 15px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(74, 144, 226, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
    height: 285px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sponsor-card::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 10%;
    width: 60px;
    height: 40px;
    background: url('../images/nuvens.png') no-repeat center;
    background-size: contain;
    opacity: 0.25;
    pointer-events: none;
    animation: float-cloud-1 8s ease-in-out infinite;
}

.sponsor-card::after {
    content: '';
    position: absolute;
    bottom: 20%;
    right: 15%;
    width: 50px;
    height: 35px;
    background: url('../images/nuvens.png') no-repeat center;
    background-size: contain;
    opacity: 0.2;
    pointer-events: none;
    animation: float-cloud-2 10s ease-in-out infinite;
}

@keyframes float-cloud-1 {
    0%, 100% { 
        transform: translate(0, 0);
        opacity: 0.25;
    }
    50% { 
        transform: translate(10px, -5px);
        opacity: 0.35;
    }
}

@keyframes float-cloud-2 {
    0%, 100% { 
        transform: translate(0, 0);
        opacity: 0.2;
    }
    50% { 
        transform: translate(-8px, 5px);
        opacity: 0.3;
    }
}

@keyframes sparkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

.sponsor-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.sponsor-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.sponsor-icon img {
    width: 60px;
    height: 60px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.sponsor-title {
    font-family: 'Oswald', 'Bebas Neue', sans-serif;
    font-size: 14px;
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin: 0;
    text-align: center;
}

.sponsor-content {
    flex: 1;
    position: relative;
    z-index: 2;
}

.sponsor-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sponsor-benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.sponsor-benefits li i {
    color: #22c55e;
    font-size: 10px;
    text-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
}

.sponsor-footer {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.btn-sponsor {
    background: rgba(255, 255, 255, 0.9);
    color: var(--fab-deep-blue);
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-sponsor:hover {
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.3);
}

/* Efeitos específicos por tipo de card */
.sponsor-card.patrocinador {
    border-color: rgba(74, 144, 226, 0.5);
}

.sponsor-card.vip {
    border-color: rgba(107, 163, 232, 0.5);
}

.sponsor-card.premium {
    border-color: rgba(184, 197, 214, 0.5);
}

/* ===== ESTILOS PARA CARD DE RANKING ===== */
.ranking-card {
    background: linear-gradient(135deg, var(--fab-sky-blue) 0%, var(--fab-light-blue) 50%, var(--fab-silver) 100%);
    border-radius: 15px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(74, 144, 226, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
    height: 285px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ranking-card.ranking-double-height {
    height: 590px;
    grid-row: span 2;
}

.ranking-card::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 8%;
    width: 55px;
    height: 38px;
    background: url('../images/nuvens.png') no-repeat center;
    background-size: contain;
    opacity: 0.25;
    pointer-events: none;
    animation: float-cloud-3 9s ease-in-out infinite;
}

.ranking-card::after {
    content: '';
    position: absolute;
    bottom: 25%;
    right: 12%;
    width: 48px;
    height: 33px;
    background: url('../images/nuvens.png') no-repeat center;
    background-size: contain;
    opacity: 0.22;
    pointer-events: none;
    animation: float-cloud-4 11s ease-in-out infinite;
}

@keyframes float-cloud-3 {
    0%, 100% { 
        transform: translate(0, 0);
        opacity: 0.25;
    }
    50% { 
        transform: translate(-10px, 8px);
        opacity: 0.35;
    }
}

@keyframes float-cloud-4 {
    0%, 100% { 
        transform: translate(0, 0);
        opacity: 0.22;
    }
    50% { 
        transform: translate(12px, -6px);
        opacity: 0.32;
    }
}

.ranking-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.ranking-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
}

.ranking-icon img {
    width: 70px;
    height: 70px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.ranking-title {
    font-family: 'Oswald', 'Bebas Neue', sans-serif;
    font-size: 14px;
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin: 0 0 5px 0;
    text-align: center;
}

.ranking-subtitle {
    font-size: 10px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.ranking-content {
    flex: 1;
    position: relative;
    z-index: 2;
    margin-bottom: 15px;
}

.ranking-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ranking-item {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.ranking-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.ranking-item.primeiro {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3) 0%, rgba(255, 193, 7, 0.2) 100%);
    border-color: rgba(255, 215, 0, 0.4);
}

.ranking-item.segundo {
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.3) 0%, rgba(169, 169, 169, 0.2) 100%);
    border-color: rgba(192, 192, 192, 0.4);
}

.ranking-item.terceiro {
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.3) 0%, rgba(184, 115, 51, 0.2) 100%);
    border-color: rgba(205, 127, 50, 0.4);
}

.ranking-position {
    font-size: 12px;
    font-weight: 900;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    min-width: 25px;
    text-align: center;
}

.ranking-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.ranking-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ranking-info {
    flex: 1;
    min-width: 0;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ranking-name {
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ranking-patent {
    font-size: 9px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ranking-score {
    font-size: 10px;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    text-align: right;
    min-width: 60px;
}

.ranking-footer {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.btn-ranking {
    background: rgba(255, 255, 255, 0.9);
    color: var(--fab-deep-blue);
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.btn-ranking:hover {
    background: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}


/* ===== ESTILOS PARA SEÇÃO CORPO DE OFICIAIS ===== */
.officers-full-section {
    width: 100%;
    position: relative;
    z-index: 12;
    background: #0a0a0a;
    overflow: hidden;
}

.officers-container {
    width: 100%;
    background: rgba(100, 150, 201, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 0 0 20px 20px;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 40px 20px;
}

.officers-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/OFICIALATO\ \(1\).png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.2;
    mix-blend-mode: overlay;
    pointer-events: none;
}

.officers-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.anchor-space {
    margin-bottom: 15px;
}

.anchor-image {
    width: 60px;
    height: 60px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.officers-banner {
    background: var(--fab-deep-blue);
    padding: 12px 30px;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(46, 92, 138, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.officers-title {
    font-family: 'Oswald', 'Bebas Neue', sans-serif;
    font-size: 18px;
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.officers-content {
    position: relative;
    z-index: 2;
}

.officers-group {
    text-align: center;
    margin-bottom: 20px;
}

.officers-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    filter: brightness(1.1) contrast(1.1);
}

.officers-text {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    margin-bottom: 10px;
}

/* Estilos para avatares dos oficiais */
.officers-full-section a {
    display: inline-block;
    margin: 0 !important;
    margin-left: -2px !important;
    border-radius: 0;
    padding: 0 !important;
    position: relative;
    z-index: 1;
    line-height: 0;
}

.officers-full-section a:first-child {
    margin-left: 0 !important;
}

.officers-full-section a img {
    display: block;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0;
    border: none;
}

.officers-full-section a:hover {
    z-index: 10;
}



/* Tooltip dos oficiais */
.officer-tooltip {
    position: relative;
}

.tooltip-content {
    background: rgba(0, 0, 0, 0.95);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    max-width: 200px;
    word-wrap: break-word;
    white-space: normal;
    text-align: center;
}

.tooltip-arrow {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid rgba(0, 0, 0, 0.95);
}

.tooltip-arrow::after {
    content: '';
    position: absolute;
    top: -7px;
    left: -5px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid rgba(0, 0, 0, 0.95);
}

/* Estilos para o brasão */
.officers-full-section center img[alt="Brasão FAB"] {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    margin-bottom: 20px;
}

/* Media Queries para Responsividade */
@media (max-width: 1280px) {
    .main-grid {
        grid-template-columns: 300px 1fr 300px;
        gap: 20px;
    }
    
    .card-container {
        padding: 30px 25px;
    }
}

@media (max-width: 1200px) {
    .main-grid {
        grid-template-columns: 280px 1fr 280px;
        gap: 20px;
    }
    
    .card-container {
        padding: 25px 20px;
    }
}

@media (max-width: 1024px) {
    .main-grid {
        grid-template-columns: 250px 1fr 250px;
        gap: 15px;
    }
    
    .card-container {
        padding: 20px 15px;
    }
}

@media (max-width: 768px) {
    .main-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Mostrar sidebars no mobile com reordenação */
    .sidebar-left {
        order: -2; /* Aparece primeiro */
        display: flex !important;
        flex-direction: column;
        gap: 30px;
        width: 100%;
    }
    
    .sidebar-right {
        order: -1; /* Aparece em segundo */
        display: flex !important;
        flex-direction: column;
        gap: 30px;
        width: 100%;
    }
    
    .main-column {
        order: 0; /* Aparece por último */
    }
    
    /* Ajustar cards no mobile */
    .card-wrapper {
        max-width: 100%;
        width: 100%;
        display: block;
    }
    
    .card-container {
        padding: 20px 15px;
        width: 100%;
    }
    
    /* Garantir que cards de destaque sejam visíveis */
    .profile-card-content {
        width: 100%;
        padding-top: 40px;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 30px 10px 50px;
    }
    
    .sidebar-left,
    .sidebar-right {
        display: flex !important;
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }
    
    .card-container {
        padding: 15px 10px;
        width: 100%;
    }
    
    .card-wrapper {
        width: 100%;
        display: block;
    }
    
    .profile-card-content {
        width: 100%;
        padding-top: 35px;
    }
}

