/* CSS Resource Document for: Army Sustainment Command -> HHC & G1		 	*
!  Global classes should be defined in portal.css  							*
*  The proponent agency for this source is AMAS-PC							*/

/* Classes for "I am a..." links on landing page */
.nc-land-links {
	font-family: GI7;
	text-align: center;
}
	.nc-land-links figure.image-nc {
		position: relative;
		overflow: hidden;
		margin: 10px;
		width: 520px;
		height: 293px;
		background: #000;
		color: #EEE;
		text-align: center;
		display: inline-block;
	}
		.nc-land-links figure.image-nc * {
			transition: all 0.3s ease-in-out;
		}
		.nc-land-links figure.image-nc img {
			max-width: 100%;
			position: relative;
			opacity: 0.6;
		}  
		.nc-land-links figure.image-nc h1 {
			position: absolute;
			left: 35px;
			right: 35px;
			font-size:16px;
			display: inline-block;
			background: #000;
			color: #FFCD01;
			opacity: 0.8;
			transform: skew(-5deg) rotate(-10deg) translate(0, -50%);
			padding: 15px 5px;
			margin: 0;
			top: 50%;
			text-transform: uppercase;
		}
		.nc-land-links figure.image-nc:before {
			height: 100%;
			width: 100%;
			top: 0;
			left: 0;
			content: '';
			background: #CCC;
			position: absolute;
			transition: all 0.3s ease-in-out;
			transform: rotate(110deg) translateY(-50%);
		}  
		.nc-land-links figure.image-nc:hover img {
			opacity: 1;
			transform: scale(1.1);
		}
		.nc-land-links figure.image-nc:hover h1 {
			transform: skew(-10deg) rotate(-10deg) translate(-150%, -50%);
		}
		.nc-land-links figure.image-nc:hover::before {
			transform: rotate(110deg) translateY(-150%);
		}

/* Classes for More Information Links on the second-hop page */
.more-links {
	font-family: GI7;
	text-align: center;
}
	.more-links figure.image-ml {
		position: relative;
        overflow: hidden;
        margin: 10px;
        width: 235px;
        height: 132px;
        background: #000;
        color: #EEE;
        text-align: center;
		display: inline-block;
    }
		.more-links figure.image-ml * {
			-webkit-transition: all 0.3s ease-in-out;
			-moz-transition: all 0.3s ease-in-out;
			-o-transition: all 0.3s ease-in-out;
			transition: all 0.3s ease-in-out;
		}
		.more-links figure.image-ml img {
			max-width: 100%;
			position: relative;
			opacity: 0.6;
		}  
		.more-links figure.image-ml h1 {
			position: absolute;
			left: 35px;
			right: 35px;
			font-size:16px;
			display: inline-block;
			background: #000;
			color: #FFCD01;
			opacity: 0.8;
			transform: skew(-5deg) rotate(-10deg) translate(0, -50%);
			padding: 15px 5px;
			margin: 0;
			top: 50%;
			text-transform: uppercase;
		}
		.more-links figure.image-ml:before {
			height: 100%;
			width: 100%;
			top: 0;
			left: 0;
			content: '';
			background: #CCC;
			position: absolute;
			transition: all 0.3s ease-in-out;
			transform: rotate(110deg) translateY(-50%);
		}  
		.more-links figure.image-ml:hover img {
			opacity: 1;
			transform: scale(1.1);
		}
		.more-links figure.image-ml:hover h1 {
			transform: skew(-10deg) rotate(-10deg) translate(-150%, -50%);
		}
		.more-links figure.image-ml:hover::before {
			transform: rotate(110deg) translateY(-150%);
		}

/* 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;
	}
	.about a {
		display: inline-block;
		background: #3A423A;
		color: white;
		padding: 6px 12px;
		border-radius: 6px;
		text-decoration: none;
		margin-right: 8px;
		margin-bottom: 8px;
		transition: background 0.3s ease;
		white-space: nowrap;
	}
		.about a:hover {
			background: #3f461c;
		}
@media (max-width: 900px) {
	.mission {
		flex-wrap: wrap;
		padding: 20px;
	}
	.leaders {
		justify-content: center;
		flex-wrap: wrap;
	}
	.about {
		flex-basis: 100%;
		max-width: 100%;
	}
}

.rsrc-img {
	max-height: 36px;
	min-height: 36px;
	width: auto;
	max-width: 199px;
	padding: 4px 8px;
}