p,
h3,
a,
span {
	font-family: 'Avenir Light';
}

p {
	font-size: 17px;
	color: #666666d7;
}

.divisor {
	width: 100%;
	gap: 1em;
	margin: 2em auto;
	max-width: 80%;

	display: flex;
	align-items: center;
	justify-content: center;
}

.divisor-border {
	width: 50%;
	height: 2px;
	background-color: #aaaaaa69;
}

.divisor-img img {
	width: 35px;
	height: auto;
}

.inicio {
	width: 45%;
	margin: 0 auto;
	margin-bottom: 2em;
}

.inicio p {
	font-weight: 600;
}

.edital-search-container {
	width: 100%;
	display: flex;
	justify-content: center;
	margin-bottom: 2em;
}

.edital-search-wrapper {
	display: flex;
	width: 60%;
	max-width: 400px;
}

#edital-input {
	width: 100%;
	height: 45px;
	padding: 0 1em;
	font-size: 1em;
	font-family: 'Avenir Light';
	box-sizing: border-box;
	border: none;
	border-bottom: 1px solid black;
	transition: border 0.2s;
}

#edital-input:focus {
	outline: none;
}

.edital-search-btn {
	height: 45px;
	width: 44px;
	background: var(--primary-color-orange);
	border: none;

	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
}

.edital-search-btn:hover {
	background: #e07a1c;
	cursor: pointer;
}

.edital-search-btn svg {
	padding: 1em;
	margin: 0 auto;
}

.edital-container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 2em;
	box-sizing: border-box;
}

.edital-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-column-gap: 2em;
	grid-row-gap: 2em;
	margin: 0;
	width: 100%;
}

.grid-content {
	background: #fff;
	border: 1px solid #dfdfdf;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	transition:
		transform 0.3s ease,
		box-shadow 0.3s ease;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.grid-content:hover {
	transform: translateY(-5px);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.grid-content-img {
	width: 100%;
	height: 350px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;

	background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
}

.grid-content-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	display: block;
}

/* .grid-content-img::before {
    content: '📢';
    font-size: 4rem;
    opacity: 0.3;
} */

.grid-content-body {
	padding: 1.5rem;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.grid-content-title h3 {
	margin: 0 0 0.5rem 0;
	font-size: 1.1rem;
	color: #333;
	line-height: 1.4;
}

.grid-content-date {
	color: #ff6b6b;
	font-size: 0.85rem;
	margin: 1rem auto;
	display: flex;
	gap: 0.5rem;
}

.grid-content-description {
	color: #555;
	font-size: 0.95rem;
	line-height: 1.6;
	margin-bottom: 1rem;
	flex: 1;
}

.grid-content-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 1rem;
	border-top: 1px solid #eee;
}

.grid-content-category {
	background: #ff6b6b;
	color: white;
	padding: 0.3rem 0.8rem;
	border-radius: 20px;
	font-size: 0.8rem;
	font-weight: 500;
}

.grid-content-link {
	color: #ff6b6b;
	text-decoration: none;
	font-weight: 500;
	font-size: 0.9rem;
	display: flex;
	align-items: center;
	gap: 0.3rem;
}

.grid-content-link:hover {
	text-decoration: underline;
}

.empty-state {
	text-align: center;
	padding: 3rem 1rem;
	color: #666;
}

.empty-state svg {
	width: 80px;
	height: 80px;
	margin-bottom: 1rem;
	opacity: 0.3;
}

.hidden {
	display: none !important;
}

@media screen and (max-width: 1024px) {
	.inicio {
		width: 60%;
	}

	.edital-container {
		padding: 0 1.5em;
	}

	.edital-grid {
		grid-template-columns: repeat(2, 1fr);
		grid-column-gap: 1.5em;
		grid-row-gap: 1.5em;
	}
}

@media screen and (max-width: 768px) {
	.inicio {
		width: 85%;
	}

	.edital-search-wrapper {
		width: 85%;
	}

	.edital-container {
		padding: 0 1em;
	}

	.edital-grid {
		grid-template-columns: 1fr;
		grid-row-gap: 1.5em;
	}

	.grid-content-img {
		height: 300px;
	}

	.grid-content-body {
		padding: 1.2rem;
	}
}

@media screen and (max-width: 480px) {
	.inicio {
		width: 95%;
	}

	.edital-search-wrapper {
		width: 95%;
	}

	.grid-content-img {
		height: 300px;
	}

	.grid-content-img::before {
		font-size: 3rem;
	}

	.grid-content-body {
		padding: 1rem;
	}

	.grid-content-title h3 {
		font-size: 1rem;
	}

	.grid-content-description {
		font-size: 0.9rem;
	}
}
