/* General wrapper for logo and banner content */




.row::after 
  content: "";
  display: table;
  clear: both;
}


:root {
  font-size: 100%; /* (62.5/100) * 16px = 10px */
	--font-size--small: 1.4rem; }/* 14px */
--font-size--default: 2rem; /* 16px */
--font-size--large: 3rem; Fmain/* 24px */
.font-size--small {
  font-size: var(--font-size--small);
}

.font-size--default {
  font-size: var(--font-size--default);
}
s
.font-size--large {
  font-size: var(--font-size--large);
}

/* Paragraph styles*/

body{
	line-height: 1.5em;
	font-size: 1.25em;
}

p {
	color:black;
	line-height:1.5em;
}

.p_center {
	text-align: center;
}


h1{
	text-align: left;
	font-size: 1.4em;
	margin: 0;
}


h2{
	text-align: left;
	font-size: 1.0em;
	margin: 0;
}


.sidenav_list {
	text-decoration: none;
	list-style: none;
	padding-left: 2px;
	margin-left: 2px;
}


/* External Link */


.external-link::after {
    content: '↗';
    display: inline-block;
    margin-left: 4px;
    font-size: 0.75em;
    visibility: visible;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.external-indicator {
    display: none; /* Hide the visual indicator for screen readers */
}


/* Skip to Main Content */

                                                                                 
.skip-link {
  font-size: .8em;
  background: #f7d600;
  color: black;
  text-decoration: none;
  position: absolute;
  left: -9999px; /* Move off-screen */
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); /* Further hide the link */
}

.iframe-container {
  position: relative;
  padding-bottom: 56.25%;     /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  margin-top: 2rem;
  margin-bottom: 2rem;
  border: 1rem solid #ccc;    /* Lighter, more mobile-friendly border */
  max-width: 100%;
  width: 100%;
  float: none;                /* Let it behave naturally on small screens */
}


.skip-link:focus {
  left: 8px; 
  top: 0; /* Place at the very top */
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  padding: 1px; /* Add some padding around the text for better visibility */
  z-index: 1000; /* Ensure it's above other content */
  margin-top: 1px; /* Add space from the top edge of the viewport */
  display: block; /* Use block to allow for margin manipulations */
}



/* General wrapper for logo and banner content */


/* NAVIGATION CONTAINER */
.navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #333;
  padding: 10px;
  flex-wrap: wrap; /* Allows wrapping on smaller screens */
}

/* LINKS */
.menu-links a {
  color: white;
  padding: 10px;
  text-decoration: none;
  display: inline-block;
}

.menu-links a:active {
  color: black;
  background-color: #f7d600;
}

.menu-links a.current {
  color: black;
  background-color: #f7d600;
  border-radius: 8px;
}

/* HOVER & FOCUS STATES */
.menu-linkage:hover,
.menu-linkage:focus {
  box-shadow: 0 0 0 3px #ffffff;
  outline: none;
  text-decoration: underline;
}

/* MENU ICON FOR SMALL SCREENS */
.menu-icon {
  display: none;
  color: white;
  font-size: 1.5em;
  cursor: pointer;
  background: none;
  border: none;
}


/* Add visible focus outline */
.menu-icon:focus {
  outline: 3px #f7d600/* High contrast outline */
  outline-offset: 2px;
  border-radius: 4px;                /* Optional: rounded corners */
}
.menu-icon:hover {
  outline: 3px #f7d600/* High contrast outline */
  outline-offset: 2px;
  border-radius: 4px;                /* Optional: rounded corners */
}

/* MOBILE STYLES */

@media (max-width: 1000px) {
  .menu-links {
    display: none; /* Hidden by default, shown with JS */
    width: 100%;
    flex-direction: column;
    align-items: center;
  }

  .menu-icon {
    display: block;
  }

  .menu-links a {
    display: block;
    text-align: center;
    width: 100%;
  }

  .navigation {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* SHOW MENU WHEN ACTIVE (USE WITH JS) */
.menu-links.show {
  display: flex !important;
}


/* homepage cards */


.flexbox {
  display: flex;
  flex-direction: column;
  max-width: 100%;
	min-height:500px;
	
  padding: calc(1% + 1vmin);
}




.center {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Grid Starts here */

/* Reset height from having an defined to percentage
and use spans to define size */
.hero,
.lrg,
.med,
.sm {
  height: 100%;
}

/* General styling for cards */





.grid-wrapper {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-template-rows: repeat(auto-fill, minmax(200px, 1fr));
  display: grid;
  height: 400m;
  justify-content: center;
  align-content: end;
  grid-gap: 7px;
	
}

.grid-wrapper a{
  text-decoration: none;			
	
}
			

.grid-wrapper a:focus, .grid-wrapper a:hover {
    box-shadow: 0 0 0 4px #FFFF00; /* Thicker, purple outline */
    outline:auto;
}

.row-num  {
  grid-column: 1 / -1;
}
 
.p_grid{
	text-align:left;
	line-height: 1.75;
	
}


.grid-item_AThome{
  background-color:#E4D4F3;
  border: 1px solid;			
	border-color:mediumpurple;
  padding: 1rem;
  font-size: 1em;
  text-align: center;
 color: #000000;
min-height:600PX;
}
.grid-item_DAhome{
  background-color:#D7E8F2;
  border: 1px solid;
	border-color:blue;
  padding: 1rem;
  font-size: 1em;
  text-align: center;
 color: #000000;
	
	min-height:600px;
}
.grid-item_Policyhome{
  background-color:#F1E0D2;
  color:#000000;
  border: 1px solid;
	border-color:orange;
  padding: 1rem;
  font-size: 1em;
	min-height:600pX;
  text-align: center;
}
.grid-item_Communityhome{
  background-color:#EDF7E2;
  color:#000000;
  border: 1px solid;
	border-color:green;
  padding: 1rem;
  font-size: 1em;
  text-align: center;
	min-height:600PX;
}


/* Adjust grid layout for screens under 900px */
@media (max-width: 900px) {
  .grid-wrapper {
    grid-template-columns: repeat(2, 1fr); /* Creates two columns */
    grid-gap: 20px; /* Adjust based on your design */
  }

}
@media (max-width: 480px) {
  .grid-wrapper {
    grid-template-columns: 1fr; /* Creates a single column */
    grid-gap: 20px; /* Adjust based on your design */
  }
}





/* Footer */

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;   /* or space-around, space-evenly */
  gap: 1rem;
  padding: 1rem;
   /* optional background */
  text-align: center;
}

.footer-links a {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  text-decoration: none;
  color: #003366;
  border-radius: 4px;
}

.footer-links a:hover,
.footer-links a:focus {
  background-color: #e6e6e6;
  outline: 2px solid #f7d600;
  outline-offset: 2px;
  border-radius: 8px;
}



.footer-links a:focus {
  outline: 2px #f7d600/* Focus outline */
}
.footer-links a:hover {
  outline: 2px #f7d600/* Focus outline */
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .footer-links {
    flex-direction: column;
    gap: 5px;
  }
}

.app-container {
  display: flex;
}


/* Donation */

.QR_image{
	max-width: 100px;
	align:middle ;
	
}


/* Address*/

.address_home {
	background: black;
	outline-color: white;
	padding-bottom: 10px;
	padding-top: 10px;
}

	.address_home p{
	text-align:center;
	line-height:1.5rem;
	color:#FFFFFF;
	padding-top: 5px;

}

.address_home a{
	text-align:center;
	line-height:3rem;
	color:#FFFFFF;
	padding-top: 5px;
	display:block;
}

.address_home a:hover,
.address_home a:focus {
  color: #000;
  background-color: #ffcc00;
  border-radius: 8px;
  padding: 0.25rem 0.5rem;
  text-shadow: none;
  outline: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.address_home a {
  display: inline-block;        /* ensures the outline wraps tightly around content */
  padding: 2px;                 /* optional: gives a little space inside the outline */
}

.address_home a:hover,
.address_home a:focus {
  color: #000;
  background-color: #ffcc00;
  border-radius: 8px;
  padding: 0.25rem 0.5rem;
  text-shadow: none;
  outline: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

	.address_home a:hover, a:focus{
	outline-color: #f7d600;
outline-style: solid;         /* defines the style: solid, dotted, dashed, etc. */
  outline-width: 2px;           /* sets the thickness of the outline */
  outline-color: #f7d600;        /* sets the color of the outline */
  outline-offset: 2px;          /* optional: adds space between the outline and the element */
}
/* breadcrumb */

.breadcrumb{
	background-color: #B5B3B3;
	margin-left:0px;
	font-size: 1.2em;
}


.breadcrumb a:hover{
	color: black;
}

.breadcrumb_black{
	
	padding-left:20px;
	padding-top:10px;
	padding-bottom:10px;
	margin-bottom:0px;
	color:black;
	font-size: .9em;
}
  

.breadcrumb_black a:hover{
color:black;
}

/* General wrapper for logo and banner content */
.custom-banner-wrapper {
  padding: 20px 10px;
    display: flex;
    align-items: center;
    padding: 10px;
	margin-top: 0px;
    background: linear-gradient(90deg, #2a406a 0%, #3c5a8b 100%); /* Banner background color */
}

.custom-logo-link {
    flex-shrink: 0;
    display: inline-block;
    margin-right: 35px;
    width: 120px; /* Control the logo size */
    transition: box-shadow 0.3s ease; /* Smooth transition for hover/focus states */
}

.custom-img-logo {
    width: 100%;
    height: auto;
}

.custom-logo-link:focus, .custom-logo-link:hover {
    box-shadow: 0 0 0 4px #FFFF00; /* Thicker, purple outline */
    outline: none;
}


.aligncenter {
            width: 560px;
            height: 315px;
	
            margin: 0 0 /* Horizontal centering */
            display: block; /* Ensures the iframe behaves as a block-level element */
	margin:30px;
        }

.alignright {
  float: right;
  margin: 0 0 1rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  max-width: 45%;
  height: auto;
}

/* Removed .iframe-container block that caused layout issues */





.main-text {
  clear: both;
  padding: 1.5rem 1rem;        /* Base padding for small screens */
  max-width: 100%;
  margin: 0 auto;
  font-family: sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #222;
  background-color: #fff;
}

/* Tablet and up */
@media (min-width: 600px) {
  .main-text {
    padding: 2rem 2rem;
    max-width: 90%;
    font-size: 1.1rem;
  }
}

/* Desktop and up */
@media (min-width: 900px) {
  .main-text {
    max-width: 750px;
    padding: 3rem 2rem;
    font-size: 1.125rem;
  }
}
/* Base styles: optimized for mobile devices */

/* General wrapper for logo and banner content */
.custom-banner-wrapper {
  padding: 20px 10px;
    display: flex;
    align-items: center;
    justify-content: start;
    padding: 10px;
    background: linear-gradient(90deg, #2a406a 0%, #3c5a8b 100%); /* Banner background color */
    flex-wrap: nowrap; /* Prevent wrapping */
}

.custom-logo-link {
    flex-shrink: 0;
    display: inline-block;
    margin-right: 15px; /* Adjust spacing around the logo */
}

.custom-img-logo {
    max-width: 80px; /* Adjust logo size as needed */
    height: auto;
}

.custom-banner {
    display: flex;
    flex-grow: 1;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    flex-wrap: nowrap; /* Prevent wrapping */
}

.custom-home-title {
  font-size: 1.75em;
  padding-left: 0;
    color: #ffffff; /* Title font color */
    margin: 0 10px; /* Adjust spacing */
    font-size: 1.5em; /* Adjust title size */
    white-space: nowrap; /* Prevent wrapping */

  font-weight: 600;
  
  padding-left: 0;
}

.custom-service-years, .custom-donate-link {
    margin: 0 5px; /* Adjust spacing */
    white-space: nowrap; /* Prevent wrapping */

}
	.custom-service-years {
    color: black;
	background-color: #ddd;
	padding: 5px 15px;
    border-radius: 5px;
    text-decoration: none;
    transition: box-shadow 0.3s ease;
	
}
.custom-service-years:hover, .custom-service-years:focus {
    box-shadow: 0 0 0 3px #FFFF00; /* Focus and hover state */
    outline: none;
    text-decoration: underline;
}

.custom-donate-link {
    padding: 5px 15px;
    background-color: #dcd0ff; /* Button background color */
    color: #000000; /* Button font color */
    border-radius: 5px;
    text-decoration: none;
    transition: box-shadow 0.3s ease;
}

.custom-donate-link:hover, .custom-donate-link:focus {
    box-shadow: 0 0 0 3px #FFFF00; /* Focus and hover state */
    outline: none;
    text-decoration: underline;
}

/* Responsive adjustments for smaller screens */


@media (max-width: 1200px) {
    .custom-banner-wrapper {
  padding: 20px 10px;
        flex-direction: column;
        align-items: center;
		background:  #2a406a;
    }
	
	   .custom-home-title {
  font-size: 1.75em;
  padding-left: 0;
        font-size: 2em; /* Adjust title font size */
		   margin-bottom:15px;
		     text-align: center;
    
  font-weight: 600;
  
  padding-left: 0;
}

    .custom-logo-link, .custom-banner, .custom-service-years, .custom-donate-link {
        margin: 10px 10px 2px 10px; /* Adjust spacing for a stacked layout */
        text-align: center;
    }
	
    .custom-banner {
        flex-direction: column;
    }
	
}

@media (max-width: 900px) {
    .custom-banner-wrapper {
  padding: 20px 10px;
        flex-direction: column;
        align-items: center;
		background:  #2a406a;
    }
	
	   .custom-home-title {
  font-size: 1.75em;
  padding-left: 0;
        font-size: 2em; /* Adjust title font size */
		   margin-bottom:15px;
		     text-align: center;
    
  font-weight: 600;
  
  padding-left: 0;
}

    .custom-logo-link, .custom-banner, .custom-service-years, .custom-donate-link {
        margin: 10px 10px 2px 10px; /* Adjust spacing for a stacked layout */
        text-align: center;
    }
	
    .custom-banner {
        flex-direction: column;
    }
	
}

@media (max-width: 768px) {
   .custom-banner-wrapper {
  padding: 20px 10px;
        flex-direction: column;
        align-items: center;
		background: linear-gradient(90deg, #2a406a 0%, #3c5a8b 100%);
    }
	
	   .custom-home-title {
  font-size: 1.75em;
  padding-left: 0;
        font-size: 1.5em; /* Adjust title font size */
		 color: #ffffff;
		   margin-bottom:15px;
		   text-align: center;
    
  font-weight: 600;
  
  padding-left: 0;
}

    .custom-logo-link, .custom-banner, .custom-service-years, .custom-donate-link {
        margin: 5px 0; /* Adjust spacing for a stacked layout */
        text-align: center;
    }
	
    .custom-banner {
        flex-direction: column;
    }
	.custom-service-years, .custom-donate-link {
    margin: 0 5px; /* Adjust spacing */
  
}
}

/* Adjust base font size for very low widths, simulating high zoom levels */
@media (max-width: 480px) {
    body {
        font-size: 1.25em; /* Reduce base font size */
    }

    .custom-home-title {
  font-size: 1.75em;
  padding-left: 0;
        font-size: 1.25rem; /* Adjust title font size */
		padding-top:0px;
		padding-bottom:2px;
    
  font-weight: 600;
  
  padding-left: 0;
}

    .custom-banner-wrapper, .custom-banner, .custom-logo-link, .custom-service-years, .custom-donate-link {
        padding: 5px; /* Reduce padding */
        margin: 0px 0px; /* Adjust margin */
    }

    .custom-banner {
        flex-direction: column; /* Stack elements vertically */
    }
	.custom-service-years {
    padding: 5px 20px;
		text-size:.8em;
}
	.custom-donate-link{
    padding: 5px 5px;
		text-size:.8em;   
}

	
}

/* Additional media query for extremely low widths */
@media (max-width: 320px) {
	
	   body {
        font-size: .9em; /* Reduce base font size */
    }
    .custom-home-title {
  font-size: 1.75em;
  padding-left: 0;
        font-size: 0.9rem; /* Further reduce title font size */
    
  font-weight: 600;
  
  padding-left: 0;
}
	
		.custom-service-years {
    padding: 5px 20px;
		text-size:.8em;
}
	.custom-donate-link{
    padding: 5px 5px;
		text-size:.8em;   
}
}

@media (max-width: 320px) {
   
    body {
        font-size: 1.5em; /* This effectively increases the base font size at very high zoom levels */
    }

    .custom-banner-wrapper {
  padding: 20px 10px;
        flex-direction: column; /* Stack the banner content vertically */
        align-items: center; /* Center-align the stacked items */
        background: linear-gradient(90deg, #2a406a 0%, #3c5a8b 100%); /* This is just for testing, you might want to remove or change this */
    }

    .custom-home-title, .custom-service-years, .custom-donate-link {
        /* Adjust the font size, margin, and padding for each element as needed */
        font-size: 1rem; /* Example adjustment, you may need to tweak this */
        margin: 5px 0; /* Add space between stacked items */
        padding: 10px; /* Ensure touch targets are large enough */
        text-align: center; /* Center-align text for readability */
    }
}


/* Main content area */


	.row:after {
    content: "";
    display: table;
    clear: both;
}
.main_home{
    width: 100%;
}

.main_PV{
				width:75%;
	 
    padding: 5px;
	padding-right:30px;
		}


@media (max-width: 1200px) {
.main {
	 width: 80%;
}
	
	.row:after {
    content: "";
    display: table;
    clear: both;
}
	}

@media (max-width: 1200px) {
.main {
	 width: 80%;
}
	
	.row:after {
    content: "";
    display: table;
    clear: both;
}
	}

@media (max-width: 480px) {
.main {
	 width: 60%;
	font-size:.4em;
		line-height: 1.5em;
}
.row:after {
    content: "";
    display: table;
    clear: both;
}
	
.main_PV {
	width: 55%;
    
    padding: 5px;
	padding-right:30px;
	padding-left:5px;
}

}

/* SideNav area Default */


		.sidenav a{
		font-size:1em;
	}
		



.sidenav_PY a {
   
	font-size:1em;
	
}



.sidenav_DA a {
   
	font-size:1em;
	
}

.sidenav_AT {
    
	padding-bottom:2rem;
}








/* SideNav area Media Queries */

	@media (max-width: 1200px) {
	.sidenav {
		background: brown;
		padding-top:50px;
		padding-bottom:2rem;
}
		.sidenav a{
		font-size:1em;
	}
		
.sidenav_AT {
    
	padding-bottom:2rem;
}


.sidenav_PY a {
   
	font-size:1em;
	
}

	
}


@media (max-width: 900px) {
	.sidenav {
		background: #f7d600;
		padding-top:50px;
		padding-bottom:2rem;
}
		.sidenav a{
		font-size:1em;
	}
		
.sidenav_PY {

	padding-bottom:2rem;
	padding-right:70px;
}
}
@media (max-width: 768px) {

	.sidenav {
		background: red;
		padding-bottom:2rem;
		width: 20%;
	}
		.sidenav a{
		font-size:.8em;
	}
	.main{
		width:50%;
		font-size:.8em;
	}
	.sidenav_AT {
	padding-bottom:2rem;
	padding-right:35px;
}
	.sidenav_AT a {
    
	font-size:.8em;
}
}
@media (max-width: 600px) {
	
.sidenav {
	background: purple;
	padding-bottom:2rem;
	}
	
	.sidenav a{
		font-size:.8em;
	}
		.main{
		width:60%;
		font-size:.8em;
	}
	.sidenav_AT {
    
	padding-bottom:2rem;
	padding-right:35px;
}
	.sidenav_AT a {
    
	font-size:.8em;
}
}
	
	
@media (max-width: 480px) {
.sidenav {
	background: pink;
	padding-right:10px;
	padding-bottom:2rem;
	width: 20%;
	}
	.sidenav a{
		font-size:.4em;
	line-height: 1em;
	}

		
			.main{
		width:60%;
		font-size:.8em;
	}
	.sidenav_AT {
    
	padding-bottom:2rem;
	padding-right:35px;
}
	.sidenav_AT a {
    
	font-size:.6em;
}
	.alignright {
  float: right;
  margin: 0 0 1rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  max-width: 45%;
  height: auto;
}
}

/* Additional media query for extremely low widths */
@media (max-width: 320px) {
	
	
	
}
	.alignright {
  float: right;
  margin: 0 0 1rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  max-width: 45%;
  height: auto;
}
}
	
body {
  margin: 0;
  font-family: "Lato", sans-serif;
}

.sidebar {
  margin: 0;
  padding: 0;
  width: 230px;
  background-color: #f1f1f1;
  height: 100%;
  overflow: auto;
	padding-bottom:300px;
	padding-top: 30px;
}

.parent-container {
  display: flex;
}
div.content {
  margin-left: 25px;
  padding: 1px 16px;
	
	width: 80%;
}
.content a:hover,
.content a:focus {
  color: #005fcc;           /* Example: brighter blue */
  background-color: #fff9c4; /* Soft yellow background */
  outline: 2px #f7d600outline-offset: 2px;
  
}

/* Sidebar wrapper with gradient and soft shadows */
.sidebar {
  background: linear-gradient(to bottom, #f9f9f9, #ececec);
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.05), 0 1px 4px rgba(0, 0, 0, 0.06);
  padding: 2rem 1rem;
  border-radius: 16px;
  max-width: 240px;
  margin-right: 2rem;
}

/* Optional heading for sidebar section */
.sidebar-heading {
  font-size: 1.0rem;
  margin-bottom: 1rem;
  color: #FDB913;
  font-weight: bold;
}

/* Button container spacing */
.sidebar a {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

/* Individual buttons */
.sidebar a {
  display: block;
  padding: .8rem 1rem;
  background-color: #3b5c72 ; 
  outline-color: #FDB913 ; 
  border-radius: 9px;
  border: 1px solid #cccccc;
  font-size: .9em; 
  font-weight: normal;
  text-align: center;
  color: #ffffff; 
  text-decoration: none;
  box-shadow: 0 .5px 1px rgba(0,0,0,0.1);
  transition: background 0.2s, transform 0.1s;
	line-height: 1;
}

/* Hover and focus effects 
.sidebar a:hover,
.sidebar a:focus {
  background-color: #f0f8ff;
  outline: 2px solid #004b87;
  transform: translateY(-2px);
}

.sidebar a {
  display: block;
  color: black;
  padding: 16px;
  text-decoration: none;
}

.sidebar a:hover:not(.active) {
  background-color: #555;
  color: white;
}


.sidebar a:focus:not(.active) {
  background-color: #555;
  color: white;
}

.sidebar a.current {
  color: black;
  background-color: #f7d600;
}

*/
@media screen and (max-width: 700px) {
	
}

@media screen and (max-width: 400px) {
  .sidebar a {
    text-align: center;
    float: none;
	   padding-bottom:10px;
  }
}




.

@media screen and (max-width: 950px) {
  .parent-container {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    padding: 1rem 1rem 0.5rem 1rem;
    margin-bottom: 1rem;
    background-color: #f9f9f9;
    border-bottom: 2px solid #ccc;
  }

  .sidebar a {
    padding: 10px;
    font-size: 1rem;
    border-bottom: 1px solid #ddd;
  }

  .sidebar a:last-child {
    border-bottom: none;
  }

  div.content {
    width: 100%;
    margin-left: 0;
    padding: 0 1rem;
  }
}

body > footer.footer {
  all: unset !important;
  display: block !important;
  width: 100% !important;
  margin-top: 2rem !important;
  padding: 1rem !important;
  background-color: #002244 !important;
  color: white !important;
  clear: both !important;
  float: none !important;
  position: relative !important;
}


/* Circle logo style */
img.logo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}


.parent-container::after {
  content: "";
  display: table;
  clear: both;
}
.parent-container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  width: 100%;
  clear: both;
}

.sidenav {
  width: 20%;
  padding: 50px 10px;
  background: lightgray;
  font-size: 1em;
  list-style: none;
  text-decoration: none;
  line-height: 2.0em;
  margin-top: 0;
}

.main {
  width: 80%;
  padding: 5px 30px 5px 5px;
}

/* Responsive video container */
.responsive-video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  margin: 2rem auto;
}

.responsive-video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Fix main flex child behavior */
.main {
  width: 80%;
  min-width: 0;
  flex-grow: 1;
}

/* Ensure iframe does not overflow */
.responsive-video-wrapper iframe {
  max-width: 100%;
}

/* === FIX: Stop stacking content before 700px === */
@media screen and (min-width: 701px) {
  .parent-container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    width: 100%;
  }

  .sidebar,
  .sidenav,
  

  .main,
  .main_PV {
    flex: 1;
    max-width: 80%;
    float: none;
    padding: 1rem 2rem;
  }
}

/* === Mobile layout starts below 700px === */
@media screen and (max-width: 700px) {
  .parent-container {
    display: block;
  }

  .sidebar,
  .sidenav,
  .main,
  .main_PV {
    width: 100% !important;
    padding: 1rem !important;
  }
}


/* === FIX for templates using .content instead of .main === */
@media screen and (min-width: 901px) {
  .parent-container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
  }

  .sidebar {
    width: 20%;
    flex-shrink: 0;
    padding-bottom: 2rem;
  }

  .content {
    width: 80%;
    flex-grow: 1;
    padding: 1rem 2rem;
  }
}

@media screen and (max-width: 900px) {
  .parent-container {
    display: block;
  }

  .sidebar,
  .content {
    width: 100% !important;
    padding: 1rem;
  }
}


/* === SAFE FLEXBOX LAYOUT FIX === */
.parent-container {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
}

.sidebar {
  flex: 0 0 200px;
  max-width: 250px;
  padding: .4rem;
  background-color: #f1f1f1;
}
*/
.content {
  flex: 1;
  padding: 1rem 2rem;
  min-width: 0;
}

/* Mobile fallback layout */
@media screen and (max-width: 700px) {
  .parent-container {
    flex-direction: column;
  }

  .sidebar,
  .content {
    width: 100% !important;
    max-width: 100%;
    padding: 1rem;
  }
}


/* === Fix Horizontal Scroll at High Zoom (175%+) === */
html, body {
  overflow-x: hidden;
  max-width: 100%;
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: inherit;
}

.parent-container {
  max-width: 100vw;
  overflow-x: hidden;
}

.content, .sidebar {
  overflow-x: hidden;
}

.grid-wrapper, .responsive-video-wrapper, iframe, img {
  max-width: 100%;
  height: auto;
}


/* === Fix Circle Logo Distortion === */
img.logo {
  width: 150px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.custom-logo-link {
  flex-shrink: 0;
}


/* === FINAL Fix: Force Logo to Circle and Prevent Stretching === */
.custom-logo-link {
  display: inline-block;
  width: 150px;
  height: 150px;
  overflow: hidden;
  border-radius: 50%;
  flex-shrink: 0;
}

img.logo,
.custom-logo-link img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}



/* Ensure .card is a flex column and doesn't stretch images */


/* Keep all grid-item content vertically aligned */
.grid-item_AThome,
.grid-item_DAhome,
.grid-item_Policyhome,


/* Tame image size inside card and ensure alignment */
.card img.home {
  max-width: 100%;
  max-height: 180px;  /* Reduced height for better fit */
  width: auto;
  height: auto;
  object-fit: contain; /* Maintain original aspect ratio */
  margin: 0 auto 1rem auto; /* Centered with bottom spacing */
}



/* Ensure consistent vertical structure inside cards */


/* Wrap inner content in a flex column container */
.grid-item_AThome,
.grid-item_DAhome,
.grid-item_Policyhome,


/* Title alignment */


/* Image alignment inside cards */
.card img.home {
  display: block;
  width: 100%;
  max-width: 220px;
  height: auto;
  max-height: 180px;
  object-fit: contain;
  margin: 0 auto 1rem auto;
}



/* === CARD AND IMAGE ALIGNMENT FIXES (Scoped Only) === */


.grid-item_AThome,
.grid-item_DAhome,
.grid-item_Policyhome,


/* Ensure all card images are sized and aligned consistently */
.card img.home {
  display: block;
  width: 100%;
  max-width: 220px;
  height: auto;
  max-height: 180px;
  object-fit: contain;
  margin: 0 auto 1rem auto;
}



/* === HEADER STYLES: restored for blue background + layout === */
.custom-banner-wrapper {
  padding: 20px 10px;
  background: linear-gradient(90deg, #2a406a 0%, #3c5a8b 100%);
  display: flex;
  align-items: center;
  justify-content: start;
  flex-wrap: nowrap;
  padding: 10px;
  margin-top: 0px;
}

.custom-logo-link {
  display: inline-block;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin-right: 15px;
}

.custom-home-title {
  font-size: 1.75em;
  padding-left: 0;
  font-size: 1.5em;
  color: white;
  margin: 0 10px;

  font-weight: 600;
  
  padding-left: 0;
}



/* === CARD ALIGNMENT FIX === */


.grid-item_AThome,
.grid-item_DAhome,
.grid-item_Policyhome,


.card img.home {
  display: block;
  width: 100%;
  max-width: 220px;
  height: auto;
  max-height: 180px;
  object-fit: contain;
  margin: 0 auto 1rem auto;
}



@media (max-width: 1000px) {
  .menu-icon {
    margin-bottom: 1rem !important;
  }
}



@media (max-width: 500px) {
  
}

.breadcrumb a {
  white-space: nowrap;
  display: inline-block;
}

.breadcrumb {
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Reduce space between paragraphs in main content */
.main p,
.content p,
.main-text p {
  margin-bottom: 0.75rem;
}

/* Prevent links from wrapping inside main content */
.main a,
.content a,
.main-text a {
  white-space: nowrap;
}

/* Allow natural link wrapping without mid-word breaks or scrollbars */
.main a,
.content a,
.main-text a {
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
color: #004f7c;
}

/* === ENSURE CARDS SHRINK TO FIT CONTENT === */
@media (min-width: 1000px) {
  .grid-wrapper > .card,
  .card a,
  .grid-item_AThome,
  .grid-item_DAhome,
  .grid-item_Policyhome,
  .grid-item_Communityhome {
    height: auto !important;
  }
}

/* === FINAL FIX: FIT 4 CARDS IN A ROW + SHRINK-WRAP HEIGHT === */
@media (min-width: 1000px) {
  .grid-wrapper {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    column-gap: 0.5rem !important;
    row-gap: 1rem !important;
    max-width: 1100px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  

  .grid-wrapper > .card,
  .card a,
  .grid-item_AThome,
  .grid-item_DAhome,
  .grid-item_Policyhome,
  .grid-item_Communityhome {
    height: auto !important;
  }
}

/* === CARD TEXT SHRINK TO FIT FOUR-IN-A-ROW LAYOUT === 
.sidebar a {
  display: block;
  padding: 0.75rem 1rem;
  margin: 0.25rem 0;
  background-color: #ffffff;
  border-radius: 6px;
  font-size: 1rem;
  color: #222;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.sidebar a:hover,
.sidebar a:focus {
  background-color: #e6e6e6;
  color: #000;
  outline: 2px solid #ffcc00;
  outline-offset: 2px;
}
*/
@media (max-width: 500px) {
  .custom-home-title {
  font-size: 1.75em;
  padding-left: 0;
    font-size: 1em !important;
    font-weight: bold !important;
   
    padding-right: 1rem !important;
    box-sizing: border-box !important;
  
  font-weight: 600;
  
  padding-left: 0;
}

  .main,
  .main-text,
  .content,
  .row,
  .parent-container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }

  
}/*
.sidebar a.current {
  background-color: #ffcc00 !important;
  color: #000 !important;
  font-weight: bold !important;
  border-left: 4px solid #000 !important;
}


*/



@media (min-width: 1000px) {
  .grid-wrapper h2.h2_sub,
  .grid-wrapper p,
  
}

/* === 2x2 GRID LAYOUT FOR CARDS (DESKTOP) === */
@media (min-width: 1000px) {
  .grid-wrapper {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    column-gap: 1rem !important;
    row-gap: 1rem !important;
    max-width: 1000px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .grid-wrapper > .card,
  .card,
  .card a,
  .grid-item_AThome,
  .grid-item_DAhome,
  .grid-item_Policyhome,
  .grid-item_Communityhome {
    height: auto !important;
    font-size: 0.9em !important;
  }

  .grid-wrapper h2.h2_sub,
  .grid-wrapper p {
    font-size: 0.9em !important;
    line-height: 1.4 !important;
  }
}

/* === 2x2 GRID: EQUAL HEIGHT CARDS WITH TIGHT SPACING === */
@media (min-width: 1000px) {
  .grid-wrapper {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    column-gap: 0.5rem !important;
    row-gap: 0.5rem !important;
    max-width: 1000px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .grid-wrapper > .card,
  .card,
  .card a {
    height: 100% !important;
    min-height: 260px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    font-size: 0.9em !important;
    padding: 0.75rem !important;
    box-sizing: border-box !important;
  }

  .grid-item_AThome,
  .grid-item_DAhome,
  .grid-item_Policyhome,
  .grid-item_Communityhome {
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    height: 100% !important;
  }

  .grid-wrapper h2.h2_sub,
  .grid-wrapper p {
    font-size: 0.9em !important;
    line-height: 1.4 !important;
    margin: 0 0 0.5rem 0 !important;
  }

  .grid-wrapper img.home {
    max-width: 100% !important;
    height: auto !important;
    max-height: 120px !important;
    object-fit: contain !important;
    margin-bottom: 0.5rem !important;
  }
}

/* === CLEAN 2x2 GRID: UNIFORM SIZE, TIGHT SPACING, LARGER TEXT === */
@media (min-width: 1000px) {
  .grid-wrapper {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.5rem !important;
    max-width: 950px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .grid-wrapper > 

  .card a {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    flex-grow: 1 !important;
    height: 100% !important;
  }

  .grid-item_AThome,
  .grid-item_DAhome,
  .grid-item_Policyhome,
  .grid-item_Communityhome {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .grid-wrapper h2

  .grid-wrapper p {
    font-size: 1em !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-grow: 1 !important;
  }

  .grid-wrapper img.home {
    max-height: 120px !important;
    width: auto !important;
    object-fit: contain !important;
    margin-bottom: 0.5rem !important;
  }
}

/* === CLEAN 4-IN-A-ROW LAYOUT: UNIFORM SIZE, TIGHT + ALIGNED === */
@media (min-width: 1000px) {
  .grid-wrapper {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0.5rem !important;
    max-width: 1150px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    box-sizing: border-box;
  }

  .grid-wrapper > 

  .card a {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: center !important;
    height: auto !important;
    width: 100%;
    text-align: center;
  }

  .grid-item_AThome,
  .grid-item_DAhome,
  .grid-item_Policyhome,
  .grid-item_Communityhome {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: center !important;
    flex-grow: 1;
    height: auto !important;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  .grid-wrapper img.home {
    display: block;
    max-width: 100%;
    max-height: 120px;
    object-fit: contain;
    margin-bottom: 0.5rem;
  }

  .grid-wrapper h2

  .grid-wrapper p {
    font-size: 0.95em !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}

/* === MINIMAL GAPS BETWEEN 4 CARDS === */
@media (min-width: 1000px) {
  .grid-wrapper {
    gap: 0.25rem !important;
    max-width: 1120px !important;
  }

  .grid-wrapper > 

  .grid-wrapper img.home {
    margin-bottom: 0.25rem !important;
  }

  .grid-wrapper h2

  .grid-wrapper p {
    margin: 0 !important;
  }
}

/* === ULTRA-TIGHT CARD SPACING + INNER TEXT PADDING === */
@media (min-width: 1000px) {
  .grid-wrapper {
    gap: 0.125rem !important;
    max-width: 1110px !important;
  }

  .grid-wrapper > 

  .card a {
    padding: 0.25rem !important;
    box-sizing: border-box !important;
  }

  .grid-wrapper img.home {
    margin-bottom: 0.25rem !important;
  }

  .grid-wrapper h2

  .grid-wrapper p {
    margin: 0 !important;
    padding: 0 !important;
  }
}

/* === FINAL TIGHT SPACING + NO SPACE BELOW TEXT === */
@media (min-width: 1000px) {
  .grid-wrapper {
    gap: 0.1rem !important;
    max-width: 1100px !important;
  }

  .grid-wrapper > 

  .card a {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    height: auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .grid-item_AThome,
  .grid-item_DAhome,
  .grid-item_Policyhome,
  .grid-item_Communityhome {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
  }

  .grid-wrapper img.home {
    margin-bottom: 0.25rem !important;
    max-height: 100px !important;
  }

  .grid-wrapper h2

  .grid-wrapper p {
    margin: 0 !important;
    padding: 0 !important;
    flex-grow: 0 !important;
  }
}

/* === TEXT PADDING & LINE SPACING IN CARDS === */
@media (min-width: 1000px) {
  .grid-wrapper > 

  .grid-wrapper p {
    padding: 0.25rem !important;
    line-height: 1.6 !important;
  }

  .grid-wrapper h2
}

/* === ELIMINATE EXCESS CARD HEIGHT (NO SPACE BELOW TEXT) === */
@media (min-width: 1000px) {
  .grid-wrapper > .card,
  .card a,
  .grid-item_AThome,
  .grid-item_DAhome,
  .grid-item_Policyhome,
  .grid-item_Communityhome {
    height: auto !important;
    min-height: auto !important;
    flex-grow: 0 !important;
    align-self: start !important;
  }
}

/* === ENSURE CARDS FULLY COVER TEXT WITHOUT CROPPING === */
@media (min-width: 1000px) {
  .grid-wrapper > .card,
  .card a {
    height: auto !important;
    min-height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
  }

  .grid-wrapper p {
    flex-grow: 1 !important;
    display: block;
  }
}

/* === FORCE UNIFORM CARD HEIGHT AND COVER ALL CONTENT === */
@media (min-width: 1000px) {
  .grid-wrapper {
    align-items: stretch !important;
  }

  .grid-wrapper > 

  .card a {
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
  }

  .grid-wrapper p {
    flex-grow: 1 !important;
  }
}

/* === FIX TEXT CLIPPING BY LETTING CARDS EXPAND === */
@media (min-width: 1000px) {
  

  .card a {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    width: 100% !important;
  }

  .card-content {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    height: 100% !important;
    padding: 0.75rem !important;
    box-sizing: border-box !important;
  }

  .card-content h2,
  .card-content p {
    margin: 0 0 0.5rem 0 !important;
  }

  .card-content img {
    display: block !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    margin-bottom: 0.5rem !important;
  }

  .card-content p {
    line-height: 1.5 !important;
  }
}

/* === FIX BASED ON CURRENT HTML STRUCTURE === */
.grid-wrapper 

.grid-wrapper .card a {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.grid-wrapper .card a > div {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.75rem;
  box-sizing: border-box;
  height: 100%;
}

.grid-wrapper .card h2,
.grid-wrapper .card p {
  margin: 0 0 0.5rem 0;
}

.grid-wrapper .card img {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  margin-bottom: 0.5rem;
}

.grid-wrapper .card p {
  line-height: 1.5;
}

/* === ENSURE CARD TEXT STAYS INSIDE AND BACKGROUND COVERS ALL === */
.grid-wrapper 

.grid-wrapper .card a {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.grid-wrapper .card a > div {
  
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 0.75rem;
  box-sizing: border-box;
}

.grid-wrapper .card h2,
.grid-wrapper .card p {
  margin: 0 0 0.5rem 0;
}

.grid-wrapper .card img {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  margin-bottom: 0.5rem;
}

.grid-wrapper .card p {
  line-height: 1.5;
}

/* === FINAL FIX: PRESERVE BACKGROUND COLOR AND FIX HEIGHT === */
.grid-wrapper 

.grid-wrapper .card a {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.grid-wrapper .card a > div {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 0.75rem;
  box-sizing: border-box;
}

/* Inner content formatting */
.grid-wrapper .card h2,
.grid-wrapper .card p {
  margin: 0 0 0.5rem 0;
}

.grid-wrapper .card img {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  margin-bottom: 0.5rem;
}

.grid-wrapper .card p {
  line-height: 1.5;
}

/* === FINAL FIX: ENSURE INNER COLOR DIV FILLS CARD HEIGHT === */
.grid-wrapper 

.grid-wrapper .card a {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.grid-wrapper .card a > div {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 0.75rem;
  box-sizing: border-box;
}

/* === STRETCH BACKGROUND AND APPLY CARD COLORS === */
.grid-item_AThome,
.grid-item_DAhome,
.grid-item_Policyhome,
.grid-item_Communityhome {
  height: 100%;
}

.grid-item_AThome {
  background-color: #E9F6FF; /* Light blue */
}

.grid-item_DAhome {
  background-color: #E4F5EA; /* Light green */
}

.grid-item_Policyhome {
  background-color: #FFF3D1; /* Light yellow */
}

/* Already defined but keeping for completeness */
.grid-item_Communityhome {
  background-color: #FFE9D7; /* Light peach */
}

/* === POLICY CARD FIX ONLY === */


.card a {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
}

.grid-item_Policyhome {
  background-color: #FFF3D1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.75rem;
  box-sizing: border-box;
}

/* === FINAL POLICY CARD FIX USING MIN-HEIGHT === */


.card a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.grid-item_Policyhome {
  background-color: #FFF3D1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  padding: 0.75rem;
  box-sizing: border-box;
}


.Assistivehome {
  background-color: #e6d4ef;
}

.DAhome {
  background-color: #d7ecf5;
}

.Policyhome {
  background-color: #f8e3cb;
}

.Communityhome {
  background-color: #eaf6e3;
  flex-grow: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.grid-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  align-items: stretch;
}



.card a {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  height: 100%;
}


/* Force equal height for cards */
.card.med {
    min-height: 560px;
    height: 100%; /* Adjust as needed to fit the tallest content */
    display: flex;
    flex-direction: column;
    justify-content: space-between;

  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  border-radius: 8px;
  overflow: hidden;
}


/* === Responsive Card Grid Layout === */
.grid-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0 1rem;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  box-sizing: border-box;
}

.flexbox {
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  display: flex;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0 1rem;
}



/* === Responsive Sidebar Fix: stack instead of scroll on small screens === */
@media screen and (max-width: 768px) {
  .sidebar {
    width: 100%;
    float: none;
    display: block;
  }

  .main-content {
    width: 100%;
    float: none;
    display: block;
  }
}
.grid-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  align-items: stretch;
}

/* Make each card grow to match the tallest */



.card-heading {
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 1rem;
}

.card img.home {
  display: block;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
}

/* === FINAL FIX: Left-align images in cards === */

.card img.home {
  display: block;
  margin-left: 1rem !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  max-width: 100%;
  height: auto;
}

/* === Centered Image at Top of Content === */
.img-centered-top {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem;
  max-width: 100%;
  height: auto;
}




/* === Centered Image at Top of Content === */
.img-centered-top {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem;
  max-width: 100%;
  height: auto;
}

/* === FIX: Center Footer Donate and 40 Years Only === */
footer .custom-banner-details {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  text-align: center;
}




body.home .custom-home-title {
  font-size: 1.75em;
  padding-left: 0;
  text-align: center;
  margin-top: 0.5rem;

  font-weight: 600;
  
  padding-left: 0;
}

body.home .custom-banner-details {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  text-align: center;
}


/* === GLOBAL CENTERING FOR HEADER AND FOOTER === */
.custom-banner-wrapper {
  padding: 20px 10px;
  justify-content: center;
  text-align: center;
  flex-direction: column;
}

.custom-home-title {
  font-size: 1.75em;
  padding-left: 0;
  text-align: center;
  margin-top: 0.5rem;

  font-weight: 600;
  
  padding-left: 0;
}

.custom-banner-details {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  text-align: center;
}



.grid-wrapper h2.h2_sub,




.card a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.card a:hover,
.card a:focus {
  outline: 2px #f7d600text-decoration: underline;
}



.grid-wrapper h2.h2_sub,
.h2_sub {
  font-size: 1.25rem !important;
  margin-top: 0;
  margin-bottom: 1rem;
  text-align: center;
  line-height: 1.3;
}



.grid-wrapper {
  margin-top: 1rem !important;
  margin-bottom: 1rem !important;
}

.card-heading {
  margin-bottom: 0.5rem !important;
}

.card img.home {
  margin-bottom: 0.5rem !important;
}



.grid-wrapper {
  margin-top: 0.5rem !important;
  margin-bottom: 0.5rem !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.card-heading {
  margin-bottom: 0.25rem !important;
}

.card img.home {
  margin-bottom: 0.25rem !important;
}

.grid-wrapper .card p {
  margin-top: 0.25rem !important;
  padding-top: 0 !important;
}



.p-overview1 {
  font-size: 1em;
  line-height: 1.75em;
  margin: 0 2% 0.5rem 2% !important;  /* top right bottom left */
}



.skip_to_main_content_container {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}



.skip_to_main_content_container {
  margin: 0 !important;
  padding: 0 !important;
}

.skip_to_main_content_container p.p-overview1 {
  margin-bottom: 0.25rem !important;
  padding-bottom: 0 !important;
}







.grid-wrapper .card p,
.card .p_grid {
  font-size: 1.05rem !important;
  line-height: 1.6 !important;
}



.menu-links 



.menu-links 







.menu-links .donate-highlight {
  background-color: #6a1b9a; /* Deep purple */
  color: white;
  padding: 0.4rem 1rem;
  margin-left: 1rem;
  border-radius: 5px;
  font-weight: bold;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
}

.menu-links .donate-highlight:hover,
.menu-links .donate-highlight:focus {
  background-color: #f7d600;
  outline: 2px #f7d600}

.donate-button {
  background: #551aab;
  color: #ffffff;
  padding: 0.5rem 1.25rem;
  margin-left: 1rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 8px rgba(106, 27, 154, 0.3);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.donate-button:hover,
.donate-button:focus {
  background-color: #4a148c;
  outline: 2px #f7d600}



@media (min-width: 110%) {
  .menu-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    justify-content: flex-start;
  }

  .menu-links a {
    margin-bottom: 0.5rem;
  }

  .donate-button {
  background: linear-gradient(135deg, #6a1b9a, #9c27b0);
  color: #ffffff;
  padding: 0.5rem 1.25rem;
  margin-left: 1rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 8px rgba(106, 27, 154, 0.3);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
}



/* Match Donate button with hamburger menu spacing */
.donate-button {
  background: #551aab;
  color: #ffffff;
  padding: 0.5rem 1.25rem;
  margin-left: 1rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 8px rgba(106, 27, 154, 0.3);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}



@media (max-width: 768px) {
  .donate-button {
  background: linear-gradient(135deg, #6a1b9a, #9c27b0);
  color: #ffffff;
  padding: 0.5rem 1.25rem;
  margin-left: 1rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 8px rgba(106, 27, 154, 0.3);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
}



@media (max-width: 768px) {
  .donate-button {
  background: linear-gradient(135deg, #6a1b9a, #9c27b0);
  color: #ffffff;
  padding: 0.5rem 1.25rem;
  margin-left: 1rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 8px rgba(106, 27, 154, 0.3);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
}



.menu-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-left: 2rem;
}







@media (max-width: 1100px) {
  
}

@media (max-width: 700px) {
  
}







@media (max-width: 1100px) {
  
}

@media (max-width: 700px) {
  
}







@media (max-width: 1100px) {
  
}

@media (max-width: 700px) {
  
}







@media (max-width: 1100px) {
  
}

@media (max-width: 700px) {
  
}





/* Responsive breakpoints */
@media (max-width: 1100px) {
  .card {
    flex: 0 1 45%;
    max-width: 45%;
  }
}

@media (max-width: 700px) {
  .card {
    flex: 0 1 90%;
    max-width: 90%;
  }
}


/* Tighter Card Layout Overrides */



.card h2 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.card p {
  font-size: 0.9rem;
  line-height: 1.3;
  margin: 0.2rem 0 0 0;
}

.card img {
  width: 100%;
  height: auto;
  margin-bottom: 0.4rem;
  border-radius: 3px;
  display: block;
  object-fit: cover;
}

/* Responsive stacking for narrow viewports */
@media (max-width: 1100px) {
  .card {
    flex: 0 1 45%;
    max-width: 45%;
  }
}

@media (max-width: 700px) {
  .card {
    flex: 0 1 90%;
    max-width: 90%;
  }
}


/* Optimized Card Layout for Less White Space */



.card h2 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.card p {
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0.2rem 0 0 0;
}

.card img {
  width: 100%;
  height: auto;
  margin-bottom: 0.4rem;
  border-radius: 3px;
  display: block;
  object-fit: cover;
}

/* Responsive stacking for narrow viewports */
@media (max-width: 1100px) {
  .card {
    flex: 0 1 48%;
    max-width: 48%;
  }
}

@media (max-width: 700px) {
  .card {
    flex: 0 1 95%;
    max-width: 95%;
  }
}


/* Final Tightest Card Layout */



.card h2 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.card p {
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0.2rem 0 0 0;
}

.card img {
  width: 100%;
  height: auto;
  margin-bottom: 0.3rem;
  border-radius: 3px;
  display: block;
  object-fit: cover;
}

/* Responsive stacking for narrow viewports */
@media (max-width: 1100px) {
  .card {
    flex: 0 1 48%;
    max-width: 48%;
  }
}

@media (max-width: 700px) {
  .card {
    flex: 0 1 95%;
    max-width: 95%;
  }
}


/* Final Adjustment to Eliminate Text Wrapping */



.card h2 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.card p {
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0.2rem 0 0 0;
}

.card img {
  width: 100%;
  height: auto;
  margin-bottom: 0.3rem;
  border-radius: 3px;
  display: block;
  object-fit: cover;
}

/* Responsive stacking for narrow viewports */
@media (max-width: 1100px) {
  .card {
    flex: 0 1 48%;
    max-width: 48%;
  }
}

@media (max-width: 700px) {
  .card {
    flex: 0 1 95%;
    max-width: 95%;
  }
}


/* Final Uniform Card Layout Fix */



.card h2 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.card p {
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0.2rem 0 0 0;
}

.card img {
  width: 100%;
  height: auto;
  margin-bottom: 0.3rem;
  border-radius: 3px;
  display: block;
  object-fit: cover;
}

/* Responsive stacking for narrow viewports */
@media (max-width: 1100px) {
  .card {
    flex: 0 1 48%;
  }
}

@media (max-width: 700px) {
  .card {
    flex: 0 1 95%;
  }
}




/* Final Responsive Card Grid */

.card-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.card {
  flex: 1 1 calc(25% - 0.5rem);
  box-sizing: border-box;
  padding: 0.5rem;
  background: white;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  min-width: 250px;
}

.card h2 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.card p {
  font-size: 0.95rem;
  line-height: 1.4;
  margin: 0.2rem 0 0 0;
}

.card img {
  width: 100%;
  height: auto;
  margin-bottom: 0.4rem;
  border-radius: 3px;
  display: block;
  object-fit: cover;
}

/* Trigger 2x2 layout around 1200px */
@media (max-width: 1250px) {
  .card {
    flex: 1 1 calc(50% - 0.5rem);
  }
}

/* Trigger 1x1 layout around 720px */
@media (max-width: 750px) {
  .card {
    flex: 1 1 100%;
  }
}


.tagline {
  font-size: 1rem;
  color: #e0e0e0;
  margin-top: 0.25rem;
  font-style: italic;
  text-align: center;
}


.card.med:hover {
  transform: scale(1.02);
  transition: transform 0.2s ease-in-out;
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
  cursor: pointer;
}

.donate-button,
footer .external-link[href*="snwbll.com"] {
  color: #000000;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
}

.donate-button:hover,
footer .external-link[href*="snwbll.com"]:hover,
.donate-button:focus,
footer .external-link[href*="snwbll.com"]:focus {
  background: #e6e6e6;
  outline: none;
  text-decoration: underline;
}

footer .external-link[href*="snwbll.com"]:focus,
footer .external-link[href*="snwbll.com"]:hover {
  background: #e6e6e6;
  outline: 2px #f7d600text-decoration: underline;
}






/* === FIX: Force rounded corners and shadows on cards === */
.card.med {
  border-radius: 8px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1) !important;
}


/* === POLISHING UPDATES === */

.card.med {
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  overflow: hidden;
}
.card img.home {
  max-height: 140px;
  object-fit: contain;
  margin: 0 auto 1rem auto;
}
.h2_sub {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}
.p_grid {
  font-size: 0.95rem;
  line-height: 1.6;
}
.footer-links {
  background-color: #f8f8f8;
  border-top: 1px solid #ccc;
  padding-top: 2rem;
  padding-bottom: 2rem;
}



/* Fix Donate link in footer to match other footer links */
footer a[href*="donate"] {
  background: none;
  padding: 0;
  border: none;
  color: inherit;
  font-weight: normal;
  text-decoration: underline;
}



/* Improved focus + hover for external donate link in footer */
footer .external-link[href*="snwbll.com"]:focus,
footer .external-link[href*="snwbll.com"]:hover {
  background: #003366;
  color: #ffffff;
  outline: 3px solid #f7d600;
  text-decoration: underline;
}



/* Improved focus + hover for external donate link in footer */
footer .external-link[href*="snwbll.com"]:focus,
footer .external-link[href*="snwbll.com"]:hover {
  background: #003366;
  color: #ffffff;
  outline: 3px solid #f7d600;
  text-decoration: underline;
}

/* Reduce paragraph spacing in main content */
.content p {
  margin-bottom: 0.75em;
}



/* Improved focus + hover for all footer links */
footer a:focus,
footer a:hover {
  background: #003366;
  color: #ffffff;
  outline: 3px solid #f7d600;
  text-decoration: underline;
}

/* More noticeable reduction in paragraph spacing for main content */
.content p {
  margin-bottom: 0.4em;
}



/* Stronger hover/focus styles for ALL footer links */
footer a:focus,
footer a:hover {
  background-color: #003366 !important;
  color: #ffffff !important;
  outline: 3px solid #f7d600;
  text-decoration: underline;
}

/* Force smaller spacing between paragraphs in main content */
.content p {
  margin-bottom: 0.4em !important;
}



/* Increase H2 size for better readability */
h2, .content h2 {
  font-size: 1.1em !important;
  margin-top: 1em;
}

/* Ensure H1 and H2 align at top inside cards or containers */
.card h1, .card h2,
.grid-item h1, .grid-item h2,
.content h1, .content h2 {
  vertical-align: top;
  align-self: flex-start;
}



/* Increase size and align homepage H2 headings */
.h2_sub {
  font-size: 1.6em;
  margin-top: 0;
  align-self: flex-start;
}


/* Align Community card h2 with others by indent only */
.Communityhome .card-heading {
  padding-left: 1rem;
}

.card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1rem;
  box-sizing: border-box;
}

footer .external-link {
  padding: 0.4rem 0.75rem;
  border-radius: 0.75rem;
  display: inline-block;
  transition: background-color 0.3s ease;
}

footer .external-link:hover,
footer .external-link:focus {
  background-color: inherit; /* Keep current coloring */
  outline: none;
}


nav a:hover,
nav a:focus {
  background-color: #f5f5f5; /* Restore subtle background */
  border-radius: 0.75rem;    /* Rounded edges */
  padding: 0.4rem 0.75rem;
  outline: none;
  transition: background-color 0.3s ease;
}


nav a:hover,
nav a:focus {
  background-color: #f7d600;
  border-radius: 0.75rem;
  padding: 0.4rem 0.75rem;
  outline: none;
  transition: background-color 0.3s ease;
}



footer .external-link {
  padding: 0.4rem 0.75rem;
  border-radius: 0.75rem;
  display: inline-block;
  transition: background-color 0.3s ease;
}

footer .external-link:hover,
footer .external-link:focus {
  background-color: #013d5c; /* blue background retained */
  outline: none;
}


nav a:hover,
nav a:focus {
  background-color: #f7d600;
  color: black;
  border-radius: 0.75rem;
  padding: 0.4rem 0.75rem;
  outline: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}



.footer_links a {
  padding: 0.4rem 0.75rem;
  border-radius: 0.75rem;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.footer_links a:hover,
.footer_links a:focus {
  background-color: #013d5c; /* original blue */
  color: white;
  outline: none;
}


nav a:hover,
nav a:focus {
  background-color: #f7d600;
  color: black;
  border-radius: 0.75rem;
  padding: 0.4rem 0.75rem;
  outline: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.footer_links a {
  padding: 0.4rem 0.75rem;
  border-radius: 0.75rem;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.footer_links a:hover,
.footer_links a:focus {
  background-color: #013d5c;
  color: white;
  outline: none;
}


@media (max-width: 768px) {
  .sidebar {
    position: static;
    overflow: visible;
    max-height: none;
  }
}
/* Compact banner for subpages */
.compact-banner-wrapper {
  display: flex;
  align-items: center;
  background-color: #004f7c;
  color: white;
  padding: 1.25rem 1rem;
  height: auto;
  border-bottom: 4px solid #FDB913;
  flex-wrap: wrap;
}

.compact-banner-wrapper .logo {
  height: 60px;
  width: auto;
  margin-right: 0.6rem; /* ✅ tightened spacing between logo and name */
}

.compact-banner-wrapper .custom-home-title {
  font-weight: bold;
  line-height: 1.2;
  color: white;
  font-size: 1.5rem; /* ✅ slightly larger org name */
}

/* Medium screens (tablets, small laptops) */
@media screen and (max-width: 900px) {
  .compact-banner-wrapper {
    padding: 1rem;
	
  }

  .compact-banner-wrapper .custom-home-title {
    font-size: 1.8rem;
  }

  .compact-banner-wrapper .logo {
    height: 50px;
    margin-right: 0.5rem;
  }
}

/* Small screens (mobile phones) */
@media screen and (max-width: 600px) {
  .compact-banner-wrapper {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }

  .compact-banner-wrapper .custom-home-title {
    font-size: 1.5rem;
    margin-top: 0.3rem;
  }
main.parent-container > 


  .compact-banner-wrapper .logo {
    height: 45px;
    margin-right: 0; /* No margin n*
	}

/* === FIX: Add left padding to h1 on subpages === */
main.parent-container > 

/* === FINAL FIX: Add left padding to h1 on subpages === */
main.parent-container >

/

.subpage-heading {
  padding-left: 2rem;
  text-align: left;
	
}

	  /* === FINAL OVERRIDE FOR SUBPAGE HEADINGS === */
main.parent-container > h1 {
  padding-left: 2rem !important;
  text-align: left !important;
  margin-left: 0 !important;
  background-color: transparent !important;
}
