/* CSS Resource Document for: Army Sustainment Command -> Field Components 	*
!  Global classes should be defined in portal.css  							*
*  The proponent agency for this source is AMAS-PC							*/

/* Links on each page */
.useful-link {
	line-height: 2;
	padding: 4px;
}
	.useful-link a {
		font-family: GI7;
	}
		.useful-link a:hover {
			color: #3A423A;
		}
	.useful-link span {
		line-height: normal;
		font-size: 1.8rem;
		letter-spacing: 1.2rem;
	}
.usocial {
	text-align: center;
	letter-spacing: 4px;
	font-size: 3.6rem;
}

/* Sub Navigation */
.subnav-links {
	text-align: center;
	width: 100%;
	margin: auto;
	position: relative;
	z-index: 1000;
}
.subnav-links nav { 
	background: #f5f5f5; 
}
.brigade-menu {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
.brigade {
	position: relative;
	width: 138px;
	margin: 0 1.5px;
}
	.brigade > div {
		outline: none;
	}
		.brigade > div:focus-within .battalion-menu,
		.brigade:hover .battalion-menu {
			display: block;
		}
		.brigade > div > a {
			display: block;
			padding: 6px 12px;
			color: #3A423A;
			text-decoration: none;
			border-radius: 4px;
			transition: all 0.3s ease;
		}
    	.brigade > div > a:hover {
			background: #3A423A;
			font-family: GI5, sans-serif;
			color: #FFCE08;
		}
.battalion-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 138px;
	background: #fff;
	box-shadow: 0 0 5px rgba(0,0,0,.1);
	border-radius: 4px;
	z-index: 9999;
	list-style: none;
	padding-left: 0;
	margin: 0;
}
	.battalion-menu li {
		border-bottom: 1px solid rgba(206,206,206,.3);
	}
		.battalion-menu li a {
			display: block;
			padding: 5px 10px;
			color: #3A423A;
			text-decoration: none;
			transition: background 0.3s ease;
		}
    		.battalion-menu li a:hover {
				background: #eee;
			}
@media (max-width: 768px) {
	.subnav-links {
		display: none;
	}
}

/* Leadership Links */
.mission {
	display: flex;
	flex-wrap: nowrap;
	gap: 20px;
	align-items: flex-start;
	padding: 0;
	margin: 0;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
}
.leaders {
	display: flex;
	gap: 20px;
	flex-wrap: nowrap;
	flex: 0 0 auto;
}
.image-wrapper {
	box-sizing: border-box;
}
	.image-wrapper.first {
		margin-left: 0;
	}
.image {
	width: 190px;
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
	padding: 0 12px 20px;
	transition: transform 0.3s ease;
	text-align: center;
	box-sizing: border-box;
	margin: 0;
}
	.image:hover {
		transform: translateY(-5px);
	}
	.image img {
		width: 190px;
		height: 238px;
		border-radius: 8px;
		display: block;
		margin-top: 0;
	}
figcaption {
	margin: 0;
}
	figcaption h1 {
		font-size: 1.1rem;
		margin: 10px 0 5px;
		color: #3f461c;
	}
.lead-sub {
	font-size: 0.9rem;
	color: #333;
}
.about {
	background: #fff;
	padding: 10px 20px;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.05);
	flex: 1;
	box-sizing: border-box;
	overflow-wrap: break-word;
	max-width: 100%;
}
	.about h2 {
		font-size: 1.5rem;
		margin-bottom: 10px;
	}
	.about p {
		line-height: 1.6;
		margin-bottom: 20px;
		word-wrap: break-word;
	}
@media (max-width: 900px) {
	.mission {
		flex-wrap: wrap;
		padding: 20px;
	}
	.leaders {
		justify-content: center;
		flex-wrap: wrap;
	}
	.about {
		flex-basis: 100%;
		max-width: 100%;
	}
}