
:root {
	--primary-color: #0d6efd;
	--primary-hover: #2d4373;
	--dark-color: #333;
	--light-color: #f5f5f5;
}

.titulo-area {
	padding-bottom: 10px;
	border-bottom: 3px solid var(--primary-color);
}

.g1-news-section {
	margin-bottom: 40px;
}

.g1-section-title {
	font-size: 1.8rem;
	font-weight: 700;
	color: var(--dark-color);
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 3px solid var(--primary-color);
}

.g1-news-card {
	border-radius: 4px;
	overflow: hidden;
	margin-bottom: 25px;
	transition: transform 0.2s;
	background: white;
	box-shadow: 0 1px 3px rgba(0,0,0,0.1);
	height: 100%;
}

.g1-news-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.g1-news-img {
	width: 100%;
	height: 180px;
	object-fit: cover;
}

.g1-news-body {
	padding: 15px;
}

.g1-news-title {
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--dark-color);
	margin-bottom: 10px;
	line-height: 1.3;
}

.g1-news-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 0.8rem;
	color: #777;
}

.g1-news-time {
	color: #777;
	font-size: 0.8rem;
}
 
.contest-section {
	margin-bottom: 40px;
}

.contest-card {
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: 15px;
	margin-bottom: 20px;
	height: 100%;
	transition: all 0.3s;
}

.contest-card:hover {
	border-color: var(--primary-color);
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.contest-badge {
	background-color: var(--primary-color);
	color: white;
}

/* Outros estilos */
.state-btn {
	margin: 2px;
	min-width: 40px;
}

.newsletter-box {
	background-color: var(--light-color);
	padding: 20px;
	border-radius: 5px;
	margin-bottom: 30px;
	border-left: 4px solid var(--primary-color);
}

.ad-space { 
	text-align: center;
	margin: 5px;
	margin-bottom: 20px; 
}

.btn-primary-custom {
	background-color: var(--primary-color);
	border-color: var(--primary-color);
	color: #ffffff;
}

.btn-primary-custom:hover {
	background-color: var(--primary-hover);
	border-color: var(--primary-hover);
	color: #c0c0c0;
}

.title-link {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s;
	display: block; /* Para ocupar toda a área do título */
}

.title-link:hover {
	color: #0d6efd !important;
	text-decoration: none; /* Removi o underline conforme seu preferência anterior */
}


.news-content {
	line-height: 1.8;
	font-size: 1.1rem;
}

.news-content img {
	max-width: 100%;
	height: auto;
	margin: 20px 0;
	border-radius: 5px;
}

.news-meta {
	color: #6c757d;
	margin-bottom: 30px;
	padding-bottom: 15px;
	border-bottom: 1px solid #eee;
}

.news-author {
	font-weight: 600;
}

.news-share {
	margin: 30px 0;
}

.share-btn {
	display: inline-block;
	width: 40px;
	height: 40px;
	line-height: 40px;
	text-align: center;
	border-radius: 50%;
	color: white;
	margin-right: 10px;
	transition: transform 0.2s;
}

.share-btn:hover {
	transform: translateY(-3px);
}

.facebook-btn {
	background-color: #3b5998;
}

.twitter-btn {
	background-color: #000000; 
}

.whatsapp-btn {
	background-color: #25d366;
}

.linkedin-btn {
	background-color: #0077b5;
}

.table-concursos {
	width: 100%;
	margin-bottom: 1rem;
	color: #212529;
}

.table-concursos th,
.table-concursos td {
	padding: 0.75rem;
	vertical-align: top;
	border-top: 1px solid #dee2e6;
}

.table-concursos thead th {
	vertical-align: bottom;
	border-bottom: 2px solid #dee2e6;
	background-color: #f8f9fa;
}

.table-concursos tbody tr:hover {
	background-color: rgba(59, 89, 152, 0.05);
}

.table-concursos a {
	color: var(--primary-color);
	text-decoration: none;
	transition: color 0.2s;
}

.table-concursos a:hover {
	color: var(--primary-hover);
	text-decoration: underline;
}

.state-badge {
	background-color: #6c757d;
	color: white;
	font-size: 0.75rem;
	padding: 0.25em 0.4em;
	border-radius: 0.25rem;
}

.news-section {
	margin-bottom: 40px;
}

.news-card {
	border-radius: 4px;
	overflow: hidden;
	margin-bottom: 25px;
	transition: transform 0.2s;
	background: white;
	box-shadow: 0 1px 3px rgba(0,0,0,0.1);
	height: 100%;
	border: 1px solid #eee;
}

.news-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.news-img {
	width: 100%;
	height: 180px;
	object-fit: cover;
}

.news-body {
	padding: 20px;
}

.news-title {
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--dark-color);
	margin-bottom: 10px;
	line-height: 1.3;
}

.news-meta-02 {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 0.8rem;
	color: #777;
	margin-bottom: 10px;
}

.news-time {
	color: #777;
	font-size: 0.8rem;
}

.news-excerpt {
	color: #555;
	margin-bottom: 15px;
}

.news-badge {
	background-color: var(--primary-color);
	color: white;
}


@media (max-width: 768px) {
	.g1-news-img {
		height: 150px;
	}
	
	.g1-section-title {
		font-size: 1.5rem;
	}
	
	.table-concursos {
		width: 100%;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
}

.mobile-states {
	display: none;
}

@media (max-width: 768px) {
	.desktop-states {
		display: none;
	}
	.mobile-states {
		display: block;
	}
	
	.carousel-inner {
		padding: 0 40px;
	}
	
	.state-btn {
		margin: 2px;
		padding: 2px 5px;
		min-width: 50px;
	}
}

.carousel-control-prev, .carousel-control-next {
	pointer-events: auto !important;
}

@media (max-width: 768px) {
	.carousel-control-prev,
	.carousel-control-next {
		width: 40px;
		height: 40px;
		background-color: rgba(59, 89, 152, 0.8);  
		border-radius: 50%;
		top: 50%;
		transform: translateY(-50%);
		opacity: 1 !important;  
		transition: all 0.3s ease;
	}
	
	.carousel-control-prev {
		left: 10px;
	}
	
	.carousel-control-next {
		right: 10px;
	}
	
	.carousel-control-prev:hover,
	.carousel-control-next:hover {
		background-color: rgba(59, 89, 152, 1);  
		transform: translateY(-50%) scale(1.1);
	}
	
	.carousel-control-prev-icon,
	.carousel-control-next-icon {
		width: 20px;
		height: 20px;
		filter: brightness(0) invert(1);  
	}		
	 
	.carousel-control-prev::after,
	.carousel-control-next::after {
		content: '';
		position: absolute;
		width: 100%;
		height: 100%;
		border-radius: 50%;
		box-shadow: 0 2px 5px rgba(0,0,0,0.2);
		z-index: -1;
	}
}

@media (max-width: 768px) {
	.contest-section .d-flex {
		display: block !important;
	}
	
	.contest-section .btn {
		margin-top: 10px;
		display: block;
		width: fit-content;
	}
}

@media (max-width: 576px) {
	.contest-section .btn {
		width: 100%;
		text-align: center;
	}
}

@media (max-width: 768px) {
	
	section {
		padding-bottom: 15px;
		margin-bottom: 20px;
	}		

	.card, .card-body, .g1-news-body {
		margin-bottom: 0 !important;
	}		
	
	.g1-news-section .row > *,
	.contest-section .row > * {
		padding-bottom: 20px;
	}
}

@media (max-width: 768px) {
	.news-highlight-section .row > [class*="col-"] {
		padding-bottom: 25px;
	}
	
	.news-highlight-section .card {
		transition: transform 0.3s, box-shadow 0.3s;
	}
	
	.news-highlight-section .card:hover {
		transform: translateY(-5px);
		box-shadow: 0 5px 15px rgba(0,0,0,0.1);
	}
	
	.news-highlight-section [class*="col-"] {
		padding-left: 8px !important;
		padding-right: 8px !important;
	}
	
	.news-img {
		height: 150px;
	}
}

.navbar-brand.logo-text {
	font-family: 'Montserrat', sans-serif; 
	font-weight: 700;
	font-size: 1.7rem;
	color: black;
	position: relative;
	display: inline-flex;
	align-items: baseline;
	padding-bottom: 3px; 
}
 
.navbar-brand.logo-text::after {
	content: '';
	position: absolute;
	bottom: 0; 
	left: 0;
	width: 100%;
	height: 1.5px;
	background: linear-gradient(90deg, transparent 10%, rgba(255,255,255,0.7) 50%, transparent 90%);
	opacity: 0.8;
}

.navbar-brand.logo-text:hover::after {
	background: linear-gradient(90deg, transparent 10%, white 50%, transparent 90%);
	height: 2px;
	opacity: 1;
}

@media (max-width: 768px) {
	.navbar-brand.logo-text {
		font-size: 1.4rem;
	}
	.logo-highlight {
		font-size: 1.1rem;
	}
}

.breadcrumb {
	background-color: transparent;
	padding: 0.75rem 0;
	margin-bottom: 1rem;
}

.breadcrumb-item a {
	color: var(--primary-color);
	text-decoration: none;
}

.breadcrumb-item.active {
	color: #6c757d;
}

.breadcrumb-item+.breadcrumb-item::before {
	content: ">";
	color: #6c757d;
}

.news-summary {
	border-left: 4px solid var(--primary-color);
	font-size: 1.05rem;
	background-color: rgba(59, 89, 152, 0.05) !important;
}

.news-summary strong {
	color: var(--primary-color);
}

.state-badge {
	display: inline-block;
	width: 30px;
	height: 24px;
	line-height: 18px;
	text-align: center;
	background-color: var(--primary-color);
	color: white;
	font-size: 0.75rem;
	font-weight: bold;
	border-radius: 4px;
	margin-right: 4px;
}
	 
.state-header {
	background-color: #f8f9fa;
	padding: 20px;
	border-radius: 5px;
	margin-bottom: 20px;
	border-left: 4px solid var(--primary-color);
}

.state-icon {
	font-size: 2rem;
	color: var(--primary-color);
	margin-right: 15px;
}

.filter-section {
	background-color: #f8f9fa;
	padding: 15px;
	border-radius: 5px;
	margin-bottom: 30px;
}

.filter-title {
	font-size: 1rem;
	font-weight: 600;
	margin-bottom: 15px;
	color: var(--dark-color);
}

.search-results-section {
	margin-bottom: 40px;
}

.search-result-card {
	border-radius: 4px;
	overflow: hidden;
	margin-bottom: 25px;
	transition: transform 0.2s;
	background: white;
	box-shadow: 0 1px 3px rgba(0,0,0,0.1);
	border: 1px solid #eee;
	padding: 20px;
}

.search-result-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.search-result-title {
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--dark-color);
	margin-bottom: 10px;
	line-height: 1.3;
}

.search-result-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 0.8rem;
	color: #777;
	margin-bottom: 10px;
}

.search-result-time {
	color: #777;
	font-size: 0.8rem;
}

.search-result-excerpt {
	color: #555;
	margin-bottom: 15px;
	line-height: 1.6;
}

.search-result-category {
	background-color: var(--primary-color);
	color: white;
	padding: 3px 8px;
	border-radius: 4px;
	font-size: 0.75rem;
	display: inline-block;
	margin-bottom: 10px;
}

.search-header {
	background-color: #f8f9fa;
	padding: 20px;
	border-radius: 5px;
	margin-bottom: 30px;
}

.search-query {
	font-weight: bold;
	color: var(--primary-color);
}

.search-count {
	color: #666;
	font-size: 0.9rem;
}

body {
	font-family: 'Roboto', sans-serif;
}
.header-logo {
	max-height: 60px;
}
.state-badge {
	font-size: 0.75rem;
	position: absolute;
	top: 10px;
	right: 10px;
}
 
.state-links {
	background-color: #0d6efd; 
	border-radius: 4px;
}

.state-links a {
	margin-right: 8px;
	color: #6c757d;
	text-decoration: none;
	background-color: #0d6efd; 
	border-radius: 4px;
    transition: all 0.3s ease; /* Adiciona transição suave */
}

.state-links a:hover {
    color: #ffffff; /* Muda a cor do texto no hover */
    background-color: #0b5ed7; /* Cor mais escura no hover */
    text-decoration: underline; /* Adiciona sublinhado no hover */
	padding: 4px;
}

.nav-link:hover {
    text-decoration: underline; /* Adiciona sublinhado no hover */
}
