
body {
	font-family: var(--font);
	/* background-color: rgba(255, 255, 255, 0.7); */
	 /* Light background */
	color: #000; /* Dark text */
	margin: 0;
	padding: 0;
	line-height: 1.6;
}

/* Custom scrollbar for consistency */
::-webkit-scrollbar {
	width: 8px;
}
::-webkit-scrollbar-track {
	background: #e2e8f0;
}
::-webkit-scrollbar-thumb {
	background-color: #94a3b8;
	border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
	background-color: #64748b;
}

/* Main container and section styles */
.main-container {
	max-width: 1280px;
	margin: auto;
	padding: .2rem 2rem;
}

.main-head {
    font-size: 36px;
    margin-bottom: 0px;
    font-weight: 500;
    color: #fff;
}



.main-head h3 {
	margin: 40px 0 5px 0;
	font-weight: 500;
}

.message-banner {
	/* background-color: #fff;  */
	color: #fff; /* Dark blue text */
	padding: 0.3rem 0rem;
	border-radius: 0px;
	font-size: 14px;
	margin-bottom: 20px;
	/* border: 1px solid #002A77; */
}

.top {
	display: flex;
	justify-content: space-between;
}

.top .year-button {
	margin-top: 40px;
}

@media (max-width: 820px) {
	.top {
		flex-direction: column;
		align-items: flex-start;
		gap: 1rem;
	}

	.top .year-button {
	margin-top: 0px;
	margin-bottom: 40px;
	}

	.main-head {
		font-size: 28px;
	}

}

.parslay {
	font-family: var(--font-display);
	color: #fa3e3b;
	font-size: 40px;
	font-weight: 300;
}

.tabs-nav {
	display: flex;
	gap: 0.5rem;
	background-color: #e2e8f0;
	padding: 0.5rem;
	border-radius: 0.75rem;
	margin-bottom: 2rem;
	overflow-x: auto;
	white-space: nowrap;
}

/* Updated tabs-nav styles for anchor-based tabs */
.tabs-nav {
    display: flex;
    gap: 0.5rem;
    background-color: #ECECEC;
    padding: 0.5rem;
    border-radius: 0.75rem;
    margin-bottom: 2rem;
    overflow-x: auto;
    white-space: nowrap;
}

.tabs-nav ul {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.tabs-nav li {
    display: inline-block;
    margin: 0;
}

/* Style the anchor tags to look like the old tab buttons */
.tabs-nav a {
    display: inline-block;
    padding: 0.55rem 1.5rem;
    color: hsl(0, 0%, 50%);
    font-weight: 400;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    border: none;
    background: transparent;
    position: relative;
    outline: none;
    text-transform: uppercase;
    border-radius: 0.5rem;
    text-decoration: none;
    text-align: center;
}

.tabs-nav a:hover {
    color: #1e40af;
    text-decoration: none;
}

.tabs-nav a.active {
    color: #000;
    font-weight: 500;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.main-content {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.filter-section {
	/* width: 100%; */
	/* background-color: #fff; */
	padding: .5rem 1.5rem 1.5rem 1.5rem;
	border-radius: 20px;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -4px rgba(0, 0, 0, 0.1),
    0 -6px 12px -4px rgba(0, 0, 0, 0.1);
	height: fit-content;
	border: 1px solid #b61c2f;
}

.filter-section h3 {
	font-size: 20px;
	font-weight: 500;
	color: #fa3e3b;
	/* text-transform: uppercase; */
	margin-bottom: 0.75rem;
}

.filter-group {
	margin-bottom: 1.5rem;
}

.filter-input, .filter-select {
	font-family:  var(--font);
	width: 125px;
	padding: 0.75rem;
	border: 0px solid #e2e8f0;
	background-color: #7b0822;
	color: #fff;
	/* border-radius: 0.5rem; */
	font-size: 14px;
	transition: border-color 150ms ease-in-out, box-shadow 150ms ease-in-out;
	outline: none;
	font-weight: 500;
	max-width: 600px;
}

.filter-select.month {
	text-align: center;
	
}

.filter-select.year {
	max-width: 125px;
	padding-left: 26px; 
	/* width: 100% */
}

.form-input:focus-visible, .form-select:focus-visible {
	outline: none;
}

.filter-input:focus, .filter-select:focus {
	/* border-color: #3b82f6; */
	/* box-shadow: 0 0 0 2px #bfdbfe; */
}

.checkbox-label {
	display: flex;
	align-items: center;
	font-size: 0.875rem;
	color: #fa3e3b;
	margin-bottom: 0.5rem;
}

.checkbox-label input[type="checkbox"] {
	margin-right: 0.75rem;
	border-radius: 0.25rem;
	border-color: #94a3b8;
	color: #1e40af;
	cursor: pointer;
}

.search-button {
	font-family: var(--font);
	width: 100%;
	color: #ffffff;
	/* transition: background-color 150ms ease-in-out; box-shadow: 150ms ease-in-out; */
	border: none;
	cursor: pointer;
	/* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
	font-size: 14px;
	padding: 6px 40px;
	font-weight: 500;
	background-color: #fa3e3b;
	line-height: 20px;
	border-radius: 3.40282e+38px;
	height: 53px;
}

.search-button:hover {
	background-color: #b61c2f;
    color: #fff;
    border-color: #fff;
    transition: 0.25s linear all;
	cursor: pointer;
}

.announcements-list {
	width: 100%;
}

.announcement-card {
	/* background-color: #ffffff; */
	padding: 0px 0px 18px 0;
	/* border-radius: 0.75rem; */
	/* box-shadow: 1px 1px 1px #ccc; */
	/* display: flex;
	align-items: center;
	justify-content: space-between; */
	/* transition: transform 150ms ease-in-out, box-shadow 150ms ease-in-out; */
	margin-bottom: 24px;
	position: relative;
	border-bottom: 1px solid #fa3e3b;
}

.announcement-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* margin-bottom: 0.5rem; */
}

.announcement-card i {
	font-size: 20px;
	text-align: center;
	color: #444646;
	/* width: 100%; */
	/* display: block;
	position: relative; */
	height: 25px;
}

/* .announcement-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
} */

/* Base announcement type styles */
.announcement-type {
	font-size: 0.75rem;
	font-weight: 600;
	padding: 0.25rem 0.5rem;
	border-radius: 6px;
	text-transform: uppercase;
	letter-spacing: 0.025em;
}

/* SENS - Blue */
.type-sens {
	color: #1e40af;
	background-color: #dbeafe;
	border: 1px solid #000;
}

/* Official Announcement - Green */
.type-official {
	color: #065f46;
	background-color: #d1fae5;
	border: 1px solid #000;
}

/* Results Comment - Purple */
.type-results {
	color: #5b21b6;
	background-color: #ede9fe;
	border: 1px solid #000;
}

/* Media Comment - Amber/Orange */
.type-media {
	color: #92400e;
	background-color: #fef3c7;
	border: 1px solid #000;
}

/* Press Release - Red */
.type-press {
	color: #991b1b;
	background-color: #fee2e2;
	border: 1px solid #000;
}

/* Other - Gray */
.type-other {
	color: #374151;
	background-color: #f3f4f6;
	border: 1px solid #000;
}

.announcement-content {
	display: flex;
	/* align-items: center; */
	justify-content: space-between;
	gap: 1rem;
}

.announcement-content a {
	text-decoration: none;
}

.announcement-title {
	font-weight: normal;
	color: #fff;
	flex: 1;
	margin: 0;
}

/* .announcement-content {
	flex: 1;
	padding-right: 1.5rem;
} */

.announcement-date {
	font-size: 14px;
	color: #fa3e3b;
	/* margin-bottom: 0.25rem; */
	font-weight: normal;
	display: flex;
	align-items: center;
}

.announcement-date img {
	width: 20px;
	height: 20px;
	margin-right: 6px;
}

/* .announcement-title {
	font-weight: 300;
	color: #181616;
} */

.download-link {
	color: #AA1527; /* Red accent */
	transition: color 150ms ease-in-out;
}

.no-pdf {
	color: #b9b9b9; /* Red accent */
	transition: color 150ms ease-in-out;
	width: 20px;
}

.interactive-icon {
    width: 32px;               /* Adjust display size as needed */
    height: 32px;
    cursor: pointer;
    display: inline-block;
  }

  /* Target elements inside the SVG */
  .interactive-icon .bg {
    fill: #fa3e3b;
    transition: fill 0.3s ease;
  }

  .interactive-icon .arrow {
    fill: #ffffff;
    transition: transform 0.3s ease;
  }

  /* Hover state applied to the whole SVG */
  .interactive-icon:hover .bg {
    fill: #b61c2f;             /* New background color on hover */
  }

  .interactive-icon:hover .arrow {
    transform: translateY(2px); /* Shift arrow downward */
  }

.download-link:hover {
	color: #b91c1c;
}

.open-link
{
	text-decoration: none;
	color: #fff;
    font-size: 14px;
}

.open-link:hover
{
	/* color: #103b58; */
}

.tab-content.hidden {
	display: none;
}

.select-custom-arrow {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background-image: url('images/dropdown_arrow.svg');
	background-repeat: no-repeat;
	background-position: right 18px center;
	background-size: 24px;
	padding: 9px 50px 9px 8px;
	border: 1px solid #b61c2f;
	border-radius: 3.40282e+38px;
}

.period-label {
	width: 2.5rem; /* Fixed width for consistent alignment */
	font-size: 14px;
	color: #fa3e3b;
	font-weight: 500;
}

.period-row {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

/* @media (max-width: 350px) {
	.period-row {
		flex-direction: column;
		align-items: flex-start;
	}
} */

.filter-section .filter-group:nth-child(4) .filter-input {
	width: 100%;
}

.poweredby {
    font-family: "Manrope", sans-serif;
    font-size: 8px;
    color: #999999;
    text-align: right;
    padding-right: 8px;
    padding-top: 0px;
    letter-spacing: 2px;
    height: 10px;
    /* border-top: 1px solid #AA1527; */
    padding: 5px 0;
}

.poweredby img {
    height: 10px;
    padding-top: 0px;
}

@media (min-width: 1300px) {
	.main-content {
		flex-direction: row;
	}
	.filter-section {
		width: 25%;
	}
	.announcements-list {
		width: 100%;
	}

	
}

@media (max-width: 1300px) {
	.filter-select.year {
		max-width: 100%;
		text-align: left;
		padding-right: 50px;
	}

	.filter-select.month {
		max-width: 100%;
		text-align: left;
		padding-right: 50px;
		padding-left: 25px;
	}
}

/* @media (max-width: 431px) {
	.period-row {
		flex-direction: column;
	}

	
} */