.bcg {
	--bcg-green: #98a51f;
	--bcg-ink: #050505;
	--bcg-card: #f3f3f5;
	--bcg-columns: 2;
	--bcg-font-heading: "ITC Avant Garde Gothic Bold", "Avant Garde Bold", sans-serif;
	--bcg-font-body: "Avant Garde Medium", "ITC Avant Garde Gothic Medium", "ITC Avant Garde Gothic Std", sans-serif;
	box-sizing: border-box;
	width: 100%;
	max-width: 1120px;
	margin: 0 auto;
	color: var(--bcg-ink);
	font-family: var(--bcg-font-body);
}

.bcg *,
.bcg *::before,
.bcg *::after {
	box-sizing: border-box;
}

.bcg__section-title {
	margin: 0 0 clamp(2.5rem, 6vw, 5rem);
	color: var(--bcg-ink);
	font-family: var(--bcg-font-heading);
	font-size: 35px;
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
}

.bcg__grid {
	display: grid;
	grid-template-columns: repeat(var(--bcg-columns), minmax(0, 1fr));
	gap: 40px;
}

.bcg__results {
	transition: opacity 180ms ease;
}

.bcg--loading .bcg__results {
	opacity: 0.55;
	pointer-events: none;
}

.bcg__card {
	min-width: 0;
	margin: 0;
}

.bcg__title {
	margin: 0;
	color: var(--bcg-ink);
	font-family: var(--bcg-font-heading);
	font-size: clamp(1.15rem, 2vw, 1.55rem);
	font-weight: 600;
	line-height: 1.18;
}

.bcg__title a {
	color: inherit;
	text-decoration: none;
}

.bcg__title a:hover {
	color: var(--bcg-green);
}

.bcg__date {
	display: block;
	margin: 0 0 1rem;
	color: var(--bcg-green);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.35;
}

.bcg__excerpt {
	margin: 1.1rem 0 0;
	font-size: 0.95rem;
	line-height: 1.55;
}

.bcg__button {
	display: inline-flex;
	min-height: 42px;
	margin-top: 1.6rem;
	padding: 0.65rem 1.55rem;
	align-items: center;
	justify-content: center;
	border: 2px solid var(--bcg-green);
	background: var(--bcg-green);
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	transform: scale(1);
	transform-origin: center;
	transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.bcg__button:hover {
	background: var(--bcg-green);
	color: #fff;
	transform: scale(0.95);
}

.bcg a:focus-visible {
	outline: 3px solid var(--bcg-green);
	outline-offset: 3px;
}

.bcg__image {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: cover;
}

/* Standalone featured News and Notice item. */
.bcg-featured {
	max-width: 1080px;
}

.bcg-featured__card {
	position: relative;
	display: grid;
	width: 100%;
	min-height: 360px;
	padding: 30px 40px 30px 45px;
	grid-template-columns: minmax(0, 483px) minmax(0, 483px);
	column-gap: 29px;
	align-items: center;
}

.bcg-featured__card::before {
	position: absolute;
	z-index: 2;
	inset: 0;
	border: 18px solid transparent;
	border-image: url("../images/featured-border.png") 40 stretch;
	content: "";
	pointer-events: none;
}

.bcg-featured__media {
	display: block;
	width: 483px;
	max-width: 100%;
	height: 300px;
	overflow: hidden;
}

.bcg-featured__media .bcg__image {
	object-fit: cover;
	object-position: center;
}

.bcg-featured__body {
	display: flex;
	width: 483px;
	max-width: 100%;
	align-items: flex-start;
	flex-direction: column;
	justify-content: center;
}

.bcg-featured__date {
	display: block;
	margin: 0 0 18px;
	color: var(--bcg-green);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.35;
}

.bcg-featured__title {
	margin: 0;
	color: var(--bcg-ink);
	font-family: var(--bcg-font-heading);
	font-size: 22px;
	font-weight: 500;
	line-height: 1.3;
}

.bcg-featured__excerpt {
	max-width: 423px;
	margin: 18px 0 0;
	font-size: 14px;
	line-height: 1.5;
}

.bcg-featured__button {
	margin-top: 32px;
}

.bcg-featured__card--no-image {
	grid-template-columns: 1fr;
}

.bcg-featured__card--no-image .bcg-featured__body {
	width: 100%;
	max-width: 760px;
	justify-self: center;
	text-align: center;
}

/* News and notices: uniform two-column image cards. */
.bcg--news .bcg__card {
	display: grid;
	grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
	gap: 40px;
	min-height: 205px;
	padding: 20px;
	background: var(--bcg-card);
}

.bcg--news .bcg__media {
	display: block;
	min-height: 165px;
	overflow: hidden;
}

.bcg--news .bcg__body {
	display: flex;
	padding: 0;
	align-items: flex-start;
	flex-direction: column;
	justify-content: center;
}

.bcg--news .bcg__title {
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
}

.bcg--news .bcg__date {
	font-size: 14px;
	line-height: 1.7;
}

.bcg--news .bcg__button {
	font-size: 14px;
}

.bcg--news .bcg__image {
	object-fit: cover;
	object-position: center;
}

.bcg--news .bcg__button {
	margin-top: 1.75rem;
}

.bcg--news .bcg__card--no-image {
	grid-template-columns: 1fr;
}

@media (min-width: 901px) {
	.bcg--news .bcg__card:not(.bcg__card--no-image) {
		grid-template-columns: 236px minmax(0, 1fr);
	}

	.bcg--news .bcg__card .bcg__media {
		width: 236px;
		height: 168px;
		min-height: 0;
		align-self: center;
		justify-self: center;
	}
}

/* Vacancies: three-column cards matching the live vacancy listing. */
.bcg--vacancies .bcg__grid {
	column-gap: 3%;
	row-gap: 4%;
}

.bcg--vacancies .bcg__card {
	display: grid;
	min-height: 267px;
	padding: 40px;
	background: #f5f5f7;
}

.bcg--vacancies .bcg__body {
	display: grid;
	width: 100%;
	height: 100%;
	grid-template-rows: 39px minmax(85px, auto) 63px;
	align-items: start;
	text-align: center;
}

.bcg--vacancies .bcg__date {
	margin: 0;
	align-self: start;
	color: var(--bcg-green);
	font-size: 14px;
	font-weight: 400;
	line-height: 23.8px;
}

.bcg--vacancies .bcg__title {
	display: flex;
	margin: 0;
	padding: 0 0 10px;
	align-items: center;
	justify-content: center;
	font-size: 17.5px;
	font-weight: 500;
	line-height: 25px;
}

.bcg--vacancies .bcg__button {
	min-height: 42.5px;
	margin: 20px auto 0;
	padding: 9px 20px 8px;
	align-self: start;
	font-size: 15px;
	font-weight: 500;
	line-height: 25.5px;
}

/* Annual reports: title, cover, and download button. */
.bcg--documents .bcg__grid {
	column-gap: 20px;
	row-gap: 50px;
}

.bcg--documents .bcg__card {
	display: flex;
	align-items: center;
	flex-direction: column;
	text-align: center;
}

.bcg--documents .bcg__title {
	min-height: 2.5rem;
	margin-bottom: 1.4rem;
	font-size: 17px;
	font-weight: 500;
	line-height: 1;
}

.bcg--documents .bcg__button {
	font-size: 15px;
}

.bcg--documents .bcg__document-cover {
	display: block;
	width: min(100%, 290px);
	aspect-ratio: 0.76;
	overflow: hidden;
	background: var(--bcg-card);
	color: var(--bcg-green);
	box-shadow: 0 7px 18px rgba(0, 0, 0, 0.1);
	text-decoration: none;
}

.bcg--documents .bcg__image {
	object-fit: cover;
}

.bcg__pdf-placeholder {
	display: grid;
	width: 100%;
	height: 100%;
	place-items: center;
	border: 1px solid #dedede;
	background: linear-gradient(145deg, #f6f6f6, #e5e5e5);
	color: var(--bcg-green);
	font-size: clamp(2.5rem, 7vw, 4.5rem);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-decoration: none;
}

/* Tenders and press releases: centered, bordered information cards. */
.bcg--bordered .bcg__card {
	display: flex;
	min-height: 360px;
	padding: clamp(2rem, 5vw, 3.25rem);
	align-items: stretch;
	border: 2px solid var(--bcg-ink);
	background: rgba(255, 255, 255, 0.78);
}

.bcg--press_releases .bcg__grid {
	gap: 20px;
}

.bcg--press_releases .bcg__card {
	padding: 30px;
}

.bcg--bordered .bcg__body {
	display: flex;
	width: 100%;
	align-items: center;
	flex-direction: column;
	justify-content: center;
	text-align: center;
}

.bcg--bordered .bcg__title {
	font-size: 25px;
	font-weight: 500;
	line-height: 1.3;
}

.bcg--bordered .bcg__date {
	order: 2;
	margin: 1.05rem 0 0;
	color: var(--bcg-ink);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.7;
}

.bcg--bordered .bcg__title {
	order: 1;
}

.bcg--bordered .bcg__excerpt {
	order: 3;
	font-size: 13px;
	line-height: 1.7;
}

.bcg--bordered .bcg__button {
	order: 4;
	font-size: 14px;
}

.bcg--tenders .bcg__grid {
	column-gap: 3%;
	row-gap: 4%;
}

.bcg--tenders .bcg__card {
	min-height: 330px;
	padding: 40px;
}

.bcg--tenders .bcg__date {
	color: var(--bcg-ink);
	font-size: 14px;
	line-height: 1.7;
}

.bcg--tenders .bcg__title {
	font-size: 17.5px;
	line-height: 1.43;
}

.bcg--tenders .bcg__button {
	font-size: 15px;
}

.bcg__empty,
.bcg-message {
	margin: 0;
	padding: 2rem;
	background: var(--bcg-card);
	font-family: var(--bcg-font-body);
	font-size: 1rem;
	line-height: 1.5;
	text-align: center;
}

.bcg__pagination {
	width: 100%;
	margin-top: 40px;
}

@media only screen and (max-width: 680px){
.bcg__pagination {
	width: 100%;
	margin-top: 80px;
}
}

.bcg__pagination ul.page-numbers {
	display: flex;
	width: 100%;
	height: auto;
	margin: 0;
	padding: 0;
	align-items: center;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0;
	list-style: none;
}

.bcg__pagination li {
	display: block;
	width: 70px;
	height: 70px;
	margin: 0;
	padding: 0;
	flex: 0 0 70px;
	list-style: none;
}

.bcg__pagination a.page-numbers,
.bcg__pagination span.page-numbers {
	display: grid;
	width: 70px;
	height: 70px;
	padding: 0;
	place-items: center;
	border: 1px solid transparent;
	border-radius: 50%;
	color: var(--bcg-ink);
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
}

.bcg__pagination .page-numbers.current,
.bcg__pagination a.page-numbers:hover {
	border-color: transparent;
	background: transparent url("../images/pagination-circle.png");
	background-position: -2px -2px;
	background-repeat: no-repeat;
	background-size: contain;
	color: var(--bcg-green);
}

.bcg__pagination a.next.page-numbers:hover,
.bcg__pagination a.prev.page-numbers:hover {
	border-color: transparent;
	background: none !important;
	background-position: -2px -2px;
	background-repeat: no-repeat;
	background-size: 0;
	color: var(--bcg-green);
}


@media (max-width: 900px) {
	.bcg--columns-3 .bcg__grid,
	.bcg--columns-4 .bcg__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bcg-featured__card {
		padding: 36px 40px;
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.bcg-featured__media,
	.bcg-featured__body {
		width: 100%;
	}

	.bcg-featured__media {
		height: auto;
		aspect-ratio: 16 / 10;
	}
}

@media (max-width: 680px) {
	.bcg__grid,
	.bcg--columns-3 .bcg__grid,
	.bcg--columns-4 .bcg__grid {
		grid-template-columns: 1fr;
	}

	.bcg--news .bcg__card {
		grid-column: auto;
		grid-template-columns: 1fr;
	}

	.bcg--news .bcg__media {
		width: 100%;
		height: auto;
		min-height: 0;
		aspect-ratio: 16 / 10;
	}

	.bcg--bordered .bcg__card {
		min-height: 0;
		padding: 24px;
	}

	.bcg--vacancies .bcg__card {
		padding: 32px 28px;
	}

	.bcg__grid {
		gap: 24px;
	}

	.bcg__section-title {
		margin-bottom: 40px;
	}

	.bcg__pagination li,
	.bcg__pagination a.page-numbers,
	.bcg__pagination span.page-numbers {
		width: 56px;
		height: 56px;
	}

	.bcg__pagination li {
		flex-basis: 56px;
	}

	.bcg-featured__card {
		padding: 30px 28px;
		gap: 24px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bcg__results,
	.bcg__button {
		transition: none;
	}

	.bcg__button:hover {
		transform: none;
	}
}
