/*
 * BDA Homepage Content – public styles (v1.0.4).
 * These only affect a Unyson section with the class bda-home-news-section
 * and output produced by the two plugin shortcodes.
 */

.fw-main-row-custom.bda-home-news-section {
	background: #ffffff !important;
	background-image: none !important;
	padding: 0 !important;
}

.fw-main-row-custom.bda-home-news-section .fw-container,
.fw-main-row-custom.bda-home-news-section .fw-container-fluid {
	width: min(calc(100vw - 128px), 1400px) !important;
	max-width: 1400px !important;
	margin-right: auto !important;
	margin-left: auto !important;
	padding-right: 0 !important;
	padding-left: 0 !important;
}

.fw-main-row-custom.bda-home-news-section .fw-row {
	margin-right: 0 !important;
	margin-left: 0 !important;
}

.fw-main-row-custom.bda-home-news-section [class*="fw-col-"] {
	padding-right: 0 !important;
	padding-left: 0 !important;
}

.bda-home-news-shell {
	padding: clamp(76px, 6vw, 104px) 0 clamp(82px, 6vw, 108px);
}

.bda-home-news-heading-row {
	margin: 0;
}

.bda-home-news-heading {
	margin: 0;
	color: #252525;
	font-family: "Poppins", sans-serif;
	font-size: clamp(34px, 2.25vw, 44px);
	font-weight: 700;
	letter-spacing: -0.04em;
	line-height: 1.1;
}

.bda-home-news-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.28fr) minmax(250px, 0.72fr);
	gap: 28px;
	align-items: stretch;
	margin-top: clamp(34px, 2.8vw, 48px);
}

.bda-home-news-lead-card {
	height: 100%;
	overflow: hidden;
	border: 1px solid #ece7e7;
	border-radius: 14px;
	background: #ffffff;
	box-shadow: 0 10px 28px rgba(23, 23, 23, 0.07);
}

.bda-home-news-lead-card-link {
	display: flex;
	height: 100%;
	flex-direction: column;
	color: #252525 !important;
	text-decoration: none !important;
	transition: box-shadow 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
}

.bda-home-news-lead-card:hover .bda-home-news-lead-card-link,
.bda-home-news-lead-card:focus-within .bda-home-news-lead-card-link {
	transform: translateY(-4px);
}

.bda-home-news-lead-card:hover,
.bda-home-news-lead-card:focus-within {
	border-color: #dfc3c3;
	box-shadow: 0 16px 34px rgba(23, 23, 23, 0.12);
}

.bda-home-news-lead-card-link:focus,
.bda-home-news-secondary-link:focus,
.bda-home-important-date-item:focus,
.bda-home-news-list-view-all:focus,
.bda-home-news-view-all:focus {
	outline: 3px solid rgba(153, 51, 51, 0.25);
	outline-offset: 4px;
}

.bda-home-news-lead-image-wrap {
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background: #e9e9e9;
}

.bda-home-news-image,
.bda-home-news-secondary-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform 0.35s ease;
}

.bda-home-news-lead-card:hover .bda-home-news-image,
.bda-home-news-lead-card:focus-within .bda-home-news-image,
.bda-home-news-secondary-item:hover .bda-home-news-secondary-image,
.bda-home-news-secondary-item:focus-within .bda-home-news-secondary-image {
	transform: scale(1.04);
}

.bda-home-news-image-fallback,
.bda-home-news-secondary-fallback {
	display: flex;
	width: 100%;
	height: 100%;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #342020, #993333);
	color: #ffffff;
	font-family: "Poppins", sans-serif;
	font-size: 30px;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.bda-home-news-secondary-fallback {
	font-size: 18px;
}

.bda-home-news-lead-content {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	padding: 25px 26px 27px;
}

.bda-home-news-label {
	display: block;
	margin: 0 0 9px;
	color: #b13737;
	font-family: "Montserrat", sans-serif;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.2;
	text-transform: uppercase;
}

.bda-home-news-lead-content h3,
.bda-home-news-secondary-content h3 {
	margin: 0;
	color: #252525;
	font-family: "Poppins", sans-serif;
	font-weight: 700;
	letter-spacing: -0.025em;
}

.bda-home-news-lead-content h3 {
	font-size: clamp(21px, 1.55vw, 26px);
	line-height: 1.21;
}

.bda-home-news-lead-content p {
	margin: 13px 0 0;
	color: #535353;
	font-family: "Montserrat", sans-serif;
	font-size: 14px;
	line-height: 1.6;
}

.bda-home-news-read-link,
.bda-home-news-secondary-read,
.bda-home-important-date-link,
.bda-home-news-list-view-all,
.bda-home-news-view-all {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: #a93434;
	font-family: "Montserrat", sans-serif;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none !important;
}

.bda-home-news-read-link {
	margin-top: auto;
	padding-top: 25px;
}

.bda-home-news-read-link span,
.bda-home-news-secondary-read span,
.bda-home-important-date-link span,
.bda-home-news-list-view-all span,
.bda-home-news-view-all span {
	font-family: Arial, sans-serif;
	font-size: 19px;
	font-weight: 400;
	line-height: 0;
	transition: transform 0.2s ease;
}

.bda-home-news-lead-card:hover .bda-home-news-read-link span,
.bda-home-news-secondary-item:hover .bda-home-news-secondary-read span,
.bda-home-important-date-item:hover .bda-home-important-date-link span,
.bda-home-news-list-view-all:hover span,
.bda-home-news-view-all:hover span {
	transform: translateX(4px);
}

.bda-home-news-list {
	display: flex;
	align-self: stretch;
	min-width: 0;
	height: 100%;
	flex-direction: column;
	justify-content: flex-start;
}

.bda-home-news-secondary-item {
	min-width: 0;
	border-bottom: 1px solid #e9e4e4;
}

.bda-home-news-secondary-item:first-child {
	border-top: 1px solid #e9e4e4;
}

.bda-home-news-secondary-link {
	display: grid;
	grid-template-columns: 142px minmax(0, 1fr);
	gap: 18px;
	align-items: center;
	padding: 14px 0;
	color: #252525 !important;
	text-decoration: none !important;
}

.bda-home-news-secondary-image-wrap {
	overflow: hidden;
	aspect-ratio: 16 / 10;
	border-radius: 8px;
	background: #e9e9e9;
}

.bda-home-news-secondary-content {
	display: flex;
	min-width: 0;
	flex-direction: column;
	align-items: flex-start;
}

.bda-home-news-secondary-content h3 {
	font-size: 16px;
	line-height: 1.28;
}

.bda-home-news-secondary-read {
	margin-top: 12px;
	font-size: 12px;
}

.bda-home-news-secondary-read span {
	font-size: 17px;
}

.bda-home-news-list-view-all-wrap {
	margin: auto 0 0;
	padding-top: 24px;
}

.bda-home-news-list-view-all {
	font-size: 13px;
}

.bda-home-news-list-empty,
.bda-home-important-dates-empty,
.bda-home-news-empty-state p {
	margin: 0;
	color: #5b5b5b;
	font-family: "Montserrat", sans-serif;
	font-size: 14px;
	line-height: 1.6;
}

.bda-home-news-empty-state {
	display: flex;
	min-height: 100%;
	align-items: center;
	justify-content: center;
	padding: 32px;
	border: 1px solid #ece7e7;
	border-radius: 14px;
	background: #ffffff;
	box-shadow: 0 10px 28px rgba(23, 23, 23, 0.07);
	text-align: center;
}

.bda-home-important-dates {
	/* Keep the panel only as tall as its own title and date cards.
	   The other two news columns may be taller, but the panel should not stretch to match them. */
	align-self: start;
	height: auto;
	display: flex;
	min-width: 0;
	flex-direction: column;
	padding: 22px 16px 24px;
	border: 1px solid #f4e6e6;
	border-radius: 14px;
	background: linear-gradient(180deg, #fffafa 0%, #fff3f3 100%);
}

.bda-home-important-dates-heading {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 2px 17px;
}

.bda-home-important-dates-heading svg {
	width: 22px;
	height: 22px;
	fill: none;
	stroke: #a93434;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2;
}

.bda-home-important-dates-heading h3 {
	margin: 0;
	color: #252525;
	font-family: "Poppins", sans-serif;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.2;
}

.bda-home-important-dates-list {
	display: flex;
	flex: 0 0 auto;
	flex-direction: column;
	gap: 11px;
}

.bda-home-important-date-item {
	display: grid;
	grid-template-columns: 74px minmax(0, 1fr);
	gap: 14px;
	align-items: center;
	min-width: 0;
	padding: 14px;
	border: 1px solid rgba(203, 144, 144, 0.18);
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.9);
	color: #252525 !important;
	text-decoration: none !important;
	transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.bda-home-important-date-item:not(.bda-home-important-date-item--no-link):hover {
	border-color: rgba(169, 52, 52, 0.36);
	box-shadow: 0 8px 20px rgba(117, 47, 47, 0.1);
	transform: translateY(-2px);
}

.bda-home-important-date-date {
	display: flex;
	min-height: 64px;
	padding: 0 4px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	background: #ffffff;
	color: #a93434;
	text-align: center;
}

.bda-home-important-date-day {
	font-family: "Poppins", sans-serif;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: -0.06em;
	line-height: 1;
	white-space: nowrap;
}

.bda-home-important-date-month {
	margin-top: 4px;
	font-family: "Montserrat", sans-serif;
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.07em;
	line-height: 1;
}

.bda-home-important-date-content {
	display: flex;
	min-width: 0;
	flex-direction: column;
	align-items: flex-start;
}

.bda-home-important-date-title {
	display: block;
	color: #252525;
	font-family: "Poppins", sans-serif;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.28;
}

.bda-home-important-date-subtitle {
	display: block;
	margin-top: 4px;
	color: #6b6161;
	font-family: "Montserrat", sans-serif;
	font-size: 13px;
	line-height: 1.35;
}

.bda-home-important-date-link {
	margin-top: 8px;
	font-size: 12px;
}

.bda-home-important-date-link span {
	font-size: 15px;
}

.bda-home-news-view-all-wrap {
	margin: 34px 0 0;
	text-align: center;
}

.bda-home-news-view-all {
	padding: 13px 20px;
	border-radius: 999px;
	background: #993333;
	color: #ffffff !important;
}

.bda-home-news-view-all:hover {
	background: #b84646;
}

@media screen and (max-width: 1200px) {
	.fw-main-row-custom.bda-home-news-section .fw-container,
	.fw-main-row-custom.bda-home-news-section .fw-container-fluid {
		width: calc(100vw - 64px) !important;
		max-width: none !important;
	}

	.bda-home-news-layout {
		grid-template-columns: minmax(0, 1fr) minmax(260px, 0.9fr);
	}

	.bda-home-important-dates {
		grid-column: 1 / -1;
	}

	.bda-home-important-dates-list {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 12px;
	}

	.bda-home-important-date-item {
		grid-template-columns: 68px minmax(0, 1fr);
	}
}

@media screen and (max-width: 850px) {
	.bda-home-news-layout {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.bda-home-news-lead-image-wrap {
		aspect-ratio: 16 / 8;
	}

	.bda-home-news-list {
		height: auto;
		gap: 0;
	}

	.bda-home-news-secondary-link {
		grid-template-columns: 180px minmax(0, 1fr);
	}

	.bda-home-important-dates-list {
		grid-template-columns: 1fr;
	}
}

@media screen and (max-width: 767px) {
	.fw-main-row-custom.bda-home-news-section .fw-container,
	.fw-main-row-custom.bda-home-news-section .fw-container-fluid {
		width: calc(100vw - 32px) !important;
	}

	.bda-home-news-shell {
		padding: 58px 0 66px;
	}

	.bda-home-news-heading {
		font-size: clamp(32px, 9vw, 40px);
		line-height: 1.1;
	}

	.bda-home-news-layout {
		margin-top: 34px;
	}

	.bda-home-news-lead-image-wrap {
		aspect-ratio: 16 / 10;
	}

	.bda-home-news-lead-content {
		padding: 21px 20px 23px;
	}

	.bda-home-news-lead-content h3 {
		font-size: 21px;
	}

	.bda-home-news-lead-content p {
		font-size: 13px;
	}

	.bda-home-news-secondary-link {
		grid-template-columns: 110px minmax(0, 1fr);
		gap: 14px;
	}

	.bda-home-news-secondary-content h3 {
		font-size: 15px;
	}

	.bda-home-important-dates {
		padding: 18px 14px 20px;
	}

	.bda-home-important-date-item {
		grid-template-columns: 66px minmax(0, 1fr);
		gap: 12px;
		padding: 13px;
	}

	.bda-home-important-date-date {
		min-height: 60px;
	}

	.bda-home-important-date-day {
		font-size: 18px;
	}
}
