/* container */

#wrapper-news-archive .content-area {
  max-width: 100%;
  width: 100%;
}

.news-header pre {
	font-family: inherit;
	font-size: 22px;
	line-height: 26px;
	weight: 600;
	letter-spacing: 0.05em;
	color: #004e5f; 
	font-weight: bold;
	text-transform: uppercase;
	background: none;
	border: none;
	margin: 0 0 10px 0;
	padding: 0;
}

.news-header h1 {
	    font-weight: 500;
	    font-style: italic;
	    font-family: "Roboto Serif", serif;
	    color: #4dac87;
		margin: 0;
}
@media (min-width: 768px) {
	.news-header h1 {
	    font-size: 36px;
	    line-height: 43px;
	}
}

/* filtering */

.news-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 2.5rem;
  margin: 1rem 0 2rem 0;
}
#main .news-filters a {
  font-size: 1rem;
  text-transform: uppercase;
  text-decoration: none;
  color: #00516a;
  position: relative;
  transition: all 0.2s ease-in-out;
	border-bottom: 0 !important;
}
#main .news-filters a.selected {
  color: #4dac87;
  text-decoration: underline;
  text-underline-offset: 4px;
}
#wrapper-news-archive {
	padding: 0 0 30px 0;
}
	@media (min-width: 990px) {
		#wrapper-news-archive {
			padding: 15px 0 30px 0;
		}
	}
	
/* card wrapper */
.news-wrapper {
	display: grid;
	grid-template-columns: 1fr;
	gap: 30px;
	margin: 0 5px;
}  
	@media (min-width: 768px) {
		.news-wrapper {
			grid-template-columns: 1fr 1fr;
			gap: 40px;
		}  
	}
	@media (min-width: 1200px) {
		.news-wrapper {
			grid-template-columns: 1fr 1fr;
			row-gap: 50px;
			column-gap: 100px;
		}
	}
	
/* card */
.news-card {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	background: #fff;
	overflow: hidden;
	box-shadow: 0 4px 10px rgba(0,0,0,0.08);
	height: 100%;
	text-align: left;
	position: relative;
}
.news-card-category {
	font-size: 22px;
	line-height: 26px;
	weight: 600;
/*	font-size: 0.75rem;
	font-weight: 400;*/
	text-transform: uppercase;
	margin-bottom: 0.5rem;
	padding: 20px 20px 5px 30px;
	background-color: #00516a; 
	color: white;
	display: inline-block;
	width: 100%;
}
.news-card-content {
	padding: 20px 30px;
	max-width: 92%;
	flex: 1 1 auto;
}
.news-card-title {
	font-size: 1.25rem;
	font-weight: bold;
	margin-bottom: 0.75rem;
	font-style: italic;
}
#main .news-card-excerpt p {
/*	font-size: 1.1rem;
	line-height: 1.5rem;*/
	color: #333;
	letter-spacing: 0;
	margin-bottom: 1.25rem;
}

/* card button */

.news-card-button {
	position: absolute;
	bottom: 60px;
	right: 30px;
}
.news-card-btn {
	background-color: #00516a;
	border: none;
	border-radius: 999px;
	padding: 0.75rem 1.25rem 0.5rem 1.25rem;
	display: inline-block;
	min-width: 150px;
	text-align: center;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#main .news-card-btn:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
	border-bottom: none;	
}
#main a.news-card-btn {
	color: #fff;
	font-size: 0.875rem;
	text-transform: uppercase;
	text-decoration: none;
}

/* card photo */

.news-card-thumb {
	height: 250px;
	max-width: 75%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-top-right-radius: 7rem;
    display: block;
}

/* Pagination */

.news-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 60px 0 20px 0;
  padding: 0;
}
#main .news-pagination .prev,
#main .news-pagination .next {
  font-family: inherit;
  font-weight: 400;
  font-size: 0.95rem;
  text-transform: uppercase;
  color: #00516a;
  text-decoration: none;
}
#main .news-pagination .prev a,
#main .news-pagination .next a {
  color: #00516a;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
  border-bottom: 1px solid transparent;
}
#main .news-pagination .prev a:hover,
#main .news-pagination .next a:hover {
  border-bottom: 1px solid #4dac87;
}
#main .news-pagination .prev a::before {
  content: '←';
  color: #4dac87; 
}
#main .news-pagination .next a::after {
  content: '→';
  color: #4dac87;
}

