/* ============================================
   FATOS HISTÓRICOS - CSS Module
   Portal da História do Ceará
   ============================================ */

/* --- Banner Hero --- */
.fatos-banner {
    background: url('../images/em_pesquisa_historica_01.png') no-repeat center center;
    background-size: cover;
    padding: 110px 0 60px;
    position: relative;
    text-align: center;
}
.fatos-banner-overlay {
    background: linear-gradient(135deg, rgba(74, 54, 0, 0.82), rgba(0, 0, 0, 0.65));
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
}
.fatos-banner h1 {
    color: #fff;
    position: relative;
    z-index: 2;
    font-weight: 700;
    font-size: 42px;
    margin-bottom: 8px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.fatos-banner h1 i {
    margin-right: 12px;
    color: #f4d03f;
}
.fatos-banner p {
    position: relative;
    z-index: 2;
    font-size: 17px;
    opacity: 0.9;
}
.fatos-stats-bar {
    display: flex;
    justify-content: center;
    gap: 20px;
    position: relative;
    z-index: 2;
    margin-top: 18px;
    flex-wrap: wrap;
}
.fatos-stats-bar span {
    background: rgba(255,255,255,0.13);
    padding: 8px 22px;
    border-radius: 25px;
    color: #fff;
    font-size: 14px;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.15);
}
.fatos-stats-bar strong {
    color: #f4d03f;
}

/* --- Search Container --- */
.search-fatos-container {
    background: #fff;
    padding: 24px 28px;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    margin-top: -30px;
    position: relative;
    z-index: 3;
}
.search-fatos-container h2 {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 0;
}
.search-form-fatos {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-top: 15px;
}
.form-row-fatos {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: flex-end;
}
.form-group-fatos {
    flex: 1;
    min-width: 140px;
    display: flex;
    flex-direction: column;
}
.form-group-fatos.fg-texto {
    flex: 2.5;
    min-width: 220px;
}
.form-group-fatos label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    font-weight: 600;
    color: #6a4f00;
    font-size: 13px;
}
.form-group-fatos label i {
    font-size: 13px;
}
.form-group-fatos input,
.form-group-fatos select {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Catamaran', sans-serif;
    transition: all 0.3s;
    background: #fff;
}
.form-group-fatos input:focus,
.form-group-fatos select:focus {
    outline: none;
    border-color: #6a4f00;
    box-shadow: 0 0 0 3px rgba(106, 79, 0, 0.1);
}
.form-group-fatos.fg-buttons {
    flex-direction: row;
    gap: 8px;
    min-width: auto;
}
.btn-search-fatos {
    background: linear-gradient(45deg, #fabc05, #b58700);
    color: white;
    border: none;
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0px 2px 3px rgba(104,104,104,0.4);
    transition: all 0.3s;
    white-space: nowrap;
    font-family: 'Catamaran', sans-serif;
}
.btn-search-fatos:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(106, 79, 0, 0.3);
    filter: brightness(1.08);
}
.btn-clear-fatos {
    background: #fff;
    color: #6a4f00;
    border: 2px solid #dee2e6;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    font-family: 'Catamaran', sans-serif;
}
.btn-clear-fatos:hover {
    border-color: #6a4f00;
    background: #faf6ee;
}

/* --- Períodos Históricos --- */
.periodos-historicos {
    background: #fff;
    padding: 18px 24px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    margin: 18px 0;
    border-left: 4px solid #d39e00;
}
.periodos-label {
    font-weight: 700;
    color: #333;
    font-size: 15px;
    margin-bottom: 14px;
}
.periodos-label i {
    color: #d39e00;
    margin-right: 6px;
}
.periodos-bar {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #d39e00 #f0f0f0;
}
.periodos-bar::-webkit-scrollbar {
    height: 5px;
}
.periodos-bar::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 3px;
}
.periodos-bar::-webkit-scrollbar-thumb {
    background: #d39e00;
    border-radius: 3px;
}
.periodo-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 12px 18px;
    border: 2px solid #e8e4dc;
    border-radius: 10px;
    background: #fdfbf7;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 110px;
    flex-shrink: 0;
    font-family: 'Catamaran', sans-serif;
}
.periodo-btn:hover {
    border-color: #d39e00;
    background: #faf5eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(106, 79, 0, 0.12);
}
.periodo-btn.active {
    background: #6a4f00;
    border-color: #6a4f00;
    box-shadow: 0 4px 14px rgba(106, 79, 0, 0.25);
}
.periodo-btn.active .periodo-ico i,
.periodo-btn.active .periodo-nome,
.periodo-btn.active .periodo-anos {
    color: #fff;
}
.periodo-btn.active .periodo-ico i {
    color: #f4d03f;
}
.periodo-ico i {
    font-size: 20px;
    color: #6a4f00;
    transition: color 0.3s;
}
.periodo-nome {
    font-weight: 700;
    font-size: 13px;
    color: #333;
    white-space: nowrap;
    transition: color 0.3s;
}
.periodo-anos {
    font-size: 11px;
    color: #999;
    white-space: nowrap;
    transition: color 0.3s;
}

/* --- Tipos de Evento --- */
.tipos-evento {
    background: #fff;
    padding: 18px 24px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    margin: 0 0 18px;
    border-left: 4px solid #b58700;
}
.tipos-evento-label {
    font-weight: 700;
    color: #333;
    font-size: 15px;
    margin-bottom: 14px;
}
.tipos-evento-label i {
    color: #b58700;
    margin-right: 6px;
}
.tipos-evento-bar {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #b58700 #f0f0f0;
}
.tipos-evento-bar::-webkit-scrollbar {
    height: 5px;
}
.tipos-evento-bar::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 3px;
}
.tipos-evento-bar::-webkit-scrollbar-thumb {
    background: #b58700;
    border-radius: 3px;
}
.tipo-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 10px 14px;
    border: 2px solid #e8e4dc;
    border-radius: 10px;
    background: #fdfbf7;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px;
    flex-shrink: 0;
    font-family: 'Catamaran', sans-serif;
    position: relative;
}
.tipo-btn:hover {
    border-color: #b58700;
    background: #faf5eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(106, 79, 0, 0.12);
}
.tipo-btn.active {
    background: #6a4f00;
    border-color: #6a4f00;
    box-shadow: 0 4px 14px rgba(106, 79, 0, 0.25);
}
.tipo-btn.active .tipo-ico i,
.tipo-btn.active .tipo-nome,
.tipo-btn.active .tipo-count {
    color: #fff;
}
.tipo-btn.active .tipo-ico i {
    color: #f4d03f;
}
.tipo-ico i {
    font-size: 18px;
    color: #6a4f00;
    transition: color 0.3s;
}
.tipo-nome {
    font-weight: 700;
    font-size: 11px;
    color: #333;
    white-space: nowrap;
    transition: color 0.3s;
    text-align: center;
}
.tipo-count {
    font-size: 10px;
    color: #999;
    background: rgba(0,0,0,0.06);
    padding: 1px 8px;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s;
    min-width: 20px;
    text-align: center;
}
.tipo-btn.active .tipo-count {
    background: rgba(255,255,255,0.2);
}

/* --- Controls Bar --- */
.fatos-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
    padding: 0 4px;
}
.fatos-results-info {
    font-size: 14px;
    color: #666;
}
.fatos-results-info strong {
    color: #6a4f00;
}
.fatos-view-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
}
.fatos-view-toggle label {
    font-weight: 600;
    color: #555;
    font-size: 13px;
    margin: 0;
}
.btn-view-fatos {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #dee2e6;
    border-radius: 6px;
    background: #fff;
    color: #6a4f00;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 18px;
}
.btn-view-fatos:hover {
    border-color: #6a4f00;
}
.btn-view-fatos.active {
    background: #6a4f00;
    color: #fff;
    border-color: #6a4f00;
}

/* --- Cards View --- */
.fatos-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    padding: 4px 0;
}
.fato-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}
.fato-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.14);
    border-color: #d39e00;
}
.fato-card-img-wrap {
    position: relative;
    height: 170px;
    overflow: hidden;
    background: #f0ebe0;
}
.fato-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    filter: sepia(0.15) brightness(0.95);
}
.fato-card:hover .fato-card-img-wrap img {
    transform: scale(1.08);
}
.fato-card-year-badge {
    position: absolute;
    bottom: 12px;
    left: 14px;
    background: rgba(106, 79, 0, 0.92);
    color: #fff;
    padding: 4px 16px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 22px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    letter-spacing: 1px;
}
.fato-card-date-sub {
    position: absolute;
    bottom: 12px;
    right: 14px;
    background: rgba(0,0,0,0.55);
    color: #fff;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
    backdrop-filter: blur(4px);
}
/* --- AI-Generated Badge (Cards) --- */
.fato-card-ai-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.60);
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    gap: 4px;
    letter-spacing: 0.3px;
    z-index: 2;
}
.fato-card-ai-badge i {
    font-size: 10px;
    color: #f4d03f;
}

.fato-card-body {
    padding: 16px 18px;
    flex: 1;
}
.fato-card-text {
    font-size: 14px;
    color: #495057;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.fato-card-text mark {
    background: #fff3cd;
    padding: 0 2px;
    border-radius: 2px;
}
.fato-card-footer {
    padding: 10px 18px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.fato-card-fonte {
    font-size: 11px;
    color: #999;
    font-style: italic;
    display: flex;
    align-items: center;
    gap: 4px;
}
.fato-card-btn {
    color: #6a4f00;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    background: none;
    cursor: pointer;
    font-family: 'Catamaran', sans-serif;
}
.fato-card-btn:hover {
    color: #d39e00;
}

/* --- Timeline View (primary view) --- */
.fatos-timeline {
    position: relative;
    padding-left: 56px;
}
.fatos-timeline::before {
    content: '';
    position: absolute;
    left: 22px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #f4d03f 0%, #d39e00 30%, #6a4f00 100%);
    border-radius: 4px;
}
.fato-year-separator {
    font-size: 24px;
    font-weight: 800;
    color: #6a4f00;
    padding: 12px 0 6px;
    margin: 28px 0 12px;
    border-bottom: 3px solid #d39e00;
    position: relative;
    letter-spacing: 0.5px;
}
.fato-year-separator::before {
    content: '';
    position: absolute;
    left: -42px;
    top: 16px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #f4d03f;
    border: 3px solid #6a4f00;
    box-shadow: 0 0 0 5px rgba(244, 208, 63, 0.2);
    z-index: 1;
}
.fato-timeline-item {
    position: relative;
    margin-bottom: 20px;
    padding-left: 20px;
    cursor: pointer;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.fato-timeline-thumb {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
    position: relative;
}
.fato-timeline-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: sepia(0.15) brightness(0.95);
    transition: transform 0.3s ease;
}
.fato-timeline-item:hover .fato-timeline-thumb img {
    transform: scale(1.1);
}
.fato-timeline-item::before {
    content: '';
    position: absolute;
    left: -40px;
    top: 16px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #6a4f00;
    border: 2px solid #d39e00;
    z-index: 1;
    transition: all 0.3s;
}
.fato-timeline-item:hover::before {
    transform: scale(1.5);
    box-shadow: 0 0 0 5px rgba(211, 158, 0, 0.25);
    background: #d39e00;
}
.fato-timeline-item::after {
    content: '';
    position: absolute;
    left: -28px;
    top: 21px;
    width: 26px;
    height: 2px;
    background: #d39e00;
}
.fato-timeline-content {
    background: #fff;
    border: 1px solid #e8e4dc;
    border-left: 4px solid transparent;
    border-radius: 8px;
    padding: 18px 22px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}
.fato-timeline-content:hover {
    border-color: #e8e4dc;
    border-left-color: #d39e00;
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
    transform: translateX(4px);
}
.fato-timeline-year-badge {
    display: inline-block;
    background: #6a4f00;
    color: #fff;
    padding: 3px 14px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
}
.fato-timeline-date {
    color: #888;
    font-size: 13px;
    margin-left: 10px;
    font-weight: 500;
}
.fato-timeline-text {
    font-size: 15px;
    color: #444;
    line-height: 1.7;
    margin-top: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.fato-timeline-text mark {
    background: #fff3cd;
    padding: 0 2px;
    border-radius: 2px;
}
.fato-timeline-fonte {
    font-size: 11px;
    color: #aaa;
    font-style: italic;
    margin-top: 8px;
}
.fato-timeline-readmore {
    display: inline-block;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #6a4f00;
    transition: color 0.2s;
}
.fato-timeline-readmore:hover {
    color: #d39e00;
}

/* --- WhatsApp Share Button --- */
.btn-whatsapp-share {
    background: #25D366;
    color: #fff !important;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.3s ease;
}
.btn-whatsapp-share:hover {
    background: #1da851;
    color: #fff !important;
    text-decoration: none;
}

/* --- Pagination --- */
.fatos-paginacao {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    margin: 30px 0;
    flex-wrap: wrap;
}
.fatos-paginacao button {
    min-width: 38px;
    height: 38px;
    border: 2px solid #dee2e6;
    border-radius: 6px;
    background: #fff;
    color: #6a4f00;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Catamaran', sans-serif;
}
.fatos-paginacao button:hover {
    border-color: #6a4f00;
    background: #faf6ee;
}
.fatos-paginacao button.active {
    background: #6a4f00;
    color: #fff;
    border-color: #6a4f00;
}
.fatos-paginacao button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
.fatos-paginacao .pag-ellipsis {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-weight: 600;
}

/* --- Modal --- */
#fatoModal .modal-header {
    background: linear-gradient(135deg, #6a4f00, #8a6500);
    color: #fff;
    padding: 16px 22px;
    border-bottom: none;
}
#fatoModal .modal-header .close {
    color: #fff;
    opacity: 0.8;
    text-shadow: none;
    font-size: 28px;
}
#fatoModal .modal-header .close:hover {
    opacity: 1;
}
#fatoModal .modal-title {
    font-size: 18px;
    font-weight: 700;
}
#fatoModal .modal-title i {
    margin-right: 8px;
    color: #f4d03f;
}
.fato-modal-date-badge {
    margin-bottom: 16px;
}
.fato-modal-date-badge .fato-timeline-year-badge {
    font-size: 16px;
    padding: 4px 16px;
}
.fato-modal-date-text {
    color: #888;
    font-size: 14px;
    margin-left: 10px;
}
.fato-modal-text {
    font-size: 15px;
    color: #333;
    line-height: 1.8;
    max-height: 55vh;
    overflow-y: auto;
    padding-right: 8px;
}
.fato-modal-text::-webkit-scrollbar {
    width: 6px;
}
.fato-modal-text::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 3px;
}
.fato-modal-text::-webkit-scrollbar-thumb {
    background: #d39e00;
    border-radius: 3px;
}
.fato-modal-fonte-section {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #e9ecef;
    font-size: 13px;
    color: #888;
}
.fato-modal-fonte-section i {
    color: #6a4f00;
    margin-right: 4px;
}
#fatoModal .modal-footer {
    border-top: 1px solid #e9ecef;
    padding: 12px 22px;
}
#fatoModal .btn-fechar-modal {
    background: #6a4f00;
    color: #fff;
    border: none;
    padding: 7px 20px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s;
}
#fatoModal .btn-fechar-modal:hover {
    background: #8a6500;
}

/* --- Modal Image --- */
.fato-modal-img-wrap {
    width: 100%;
    height: 220px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 18px;
    position: relative;
    background: #f0ebe0;
}
.fato-modal-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: sepia(0.1);
}
.fato-modal-img-badge {
    position: absolute;
    bottom: 10px;
    right: 12px;
    background: rgba(106, 79, 0, 0.88);
    color: #f4d03f;
    padding: 3px 12px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

/* --- AI-Generated Badge (Modal) --- */
.fato-modal-ai-badge {
    position: absolute;
    top: 10px;
    left: 12px;
    background: rgba(0, 0, 0, 0.60);
    color: #fff;
    padding: 4px 10px;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 600;
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 2;
}
.fato-modal-ai-badge i {
    font-size: 11px;
    color: #f4d03f;
}

/* --- Loading State --- */
.fatos-loading {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}
.fatos-loading .spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid #e9ecef;
    border-top-color: #6a4f00;
    border-radius: 50%;
    animation: fatos-spin 0.8s linear infinite;
}
@keyframes fatos-spin {
    to { transform: rotate(360deg); }
}
.fatos-empty {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}
.fatos-empty i {
    font-size: 48px;
    color: #d39e00;
    margin-bottom: 16px;
    display: block;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .fatos-cards-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}
@media (max-width: 768px) {
    .fatos-banner {
        padding: 90px 0 40px;
    }
    .fatos-banner h1 {
        font-size: 28px;
    }
    .form-row-fatos {
        flex-direction: column;
    }
    .form-group-fatos {
        min-width: 100%;
    }
    .form-group-fatos.fg-buttons {
        flex-direction: row;
        min-width: 100%;
    }
    .fatos-cards-grid {
        grid-template-columns: 1fr;
    }
    .periodos-historicos {
        padding: 14px 16px;
    }
    .periodo-btn {
        padding: 10px 14px;
        min-width: 95px;
    }
    .tipos-evento {
        padding: 14px 16px;
    }
    .tipo-btn {
        padding: 8px 12px;
        min-width: 90px;
    }
    .fatos-timeline {
        padding-left: 35px;
    }
    .fatos-timeline::before {
        left: 12px;
    }
    .fato-timeline-item::before {
        left: -29px;
    }
    .fato-timeline-item::after {
        left: -19px;
        width: 16px;
    }
    .fato-year-separator::before {
        left: -31px;
    }
    .search-fatos-container {
        margin-top: -15px;
        padding: 16px 18px;
    }
}
@media (max-width: 576px) {
    .fatos-banner h1 {
        font-size: 24px;
    }
    .fatos-stats-bar {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    .fato-card-img-wrap {
        height: 140px;
    }
    .periodo-btn {
        padding: 8px 12px;
        min-width: 85px;
    }
    .periodo-nome {
        font-size: 11px;
    }
    .periodo-anos {
        font-size: 10px;
    }
    .tipo-btn {
        padding: 7px 10px;
        min-width: 80px;
    }
    .tipo-nome {
        font-size: 10px;
    }
    .fato-modal-img-wrap {
        height: 160px;
    }
    .fato-card-ai-badge {
        font-size: 9px;
        padding: 2px 6px;
    }
    .fato-modal-ai-badge {
        font-size: 10px;
        padding: 3px 8px;
    }
    .fato-timeline-thumb {
        width: 48px;
        height: 48px;
    }
}

/* ===========================================
   TAMPAO - Label "Em pesquisa historica"
   =========================================== */
.tampao-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(106, 79, 0, 0.75);
    color: #fff;
    text-align: center;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 4px 6px;
    pointer-events: none;
}
.fato-timeline-thumb .tampao-label {
    font-size: 7px;
    padding: 2px 3px;
    letter-spacing: 0;
}
.fato-modal-img-wrap .tampao-label {
    font-size: 12px;
    padding: 6px 10px;
}
