/*
Theme Name: Mitsui MEMS USA Theme
Theme URI: https://mems-usa.com
Author: Converge
Author URI: https://pellera.com
Description: A WordPress template version of the MEMS USA website.
Version: 1.0.1
*/

body {
    margin: 0;
    padding: 0;
}

/* Employee Styles - Both Archive and Single */
.employee-image {
    padding: 20px;
    text-align: center;
    background-color: #f8f9fa;
}

.profile-photo-circle {
    width: 240px;
    height: 240px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    background-color: #fff;
    position: relative;
}

.profile-photo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.profile-photo-circle:hover img {
    transform: scale(1.08);
}

/* Archive Page Specific Styles */
.leadership-section {
    padding: 2rem 0;
}

.leadership-section h2 {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 40px;
    color: #333;
    font-size: 2rem;
    text-align: center;
}

.leadership-section h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #007bff;
}

.card {
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    border: none;
    border-radius: 12px;
    overflow: hidden;
    background-color: #fff;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.card .employee-image {
    background-color: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.card .profile-photo-circle {
    width: 180px;
    height: 180px;
}

.card-body {
    padding: 1.75rem;
}

.card-title {
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: #333;
    font-size: 1.25rem;
}

.card-subtitle {
    color: #007bff;
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.card-text {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Single Employee Page Styles */
.employee-single {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

.employee-single .employee-image {
    padding: 40px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.employee-single .profile-photo-circle {
    width: 280px;
    height: 280px;
    border-width: 5px;
}

.employee-single .entry-title {
    font-size: 2.5rem;
    color: #333;
    margin: 1.5rem 0 1rem;
}

.employee-single .job-title {
    color: #007bff;
    font-weight: 500;
}

.employee-single .leadership-category .badge {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    background-color: #007bff;
}

.employee-single .entry-content {
    padding: 2rem;
    color: #495057;
    font-size: 1.1rem;
    line-height: 1.8;
}

.employee-single .entry-content p {
    margin-bottom: 1.5rem;
}

.menu {
    position: relative;
    float: right;
    margin: 42px 0 0 0;
    padding: 0;
}

.menu .menu-item {
	float: left;
	position: relative;
	display: block;
	height: 80px;
}

.menu .menu-item a:hover {
	color: #fff;
	background: #002060;
}

.menu .menu-item:hover > .sub-menu {
	display: block;
	opacity: 1;
	transition: all 0.5s ease;
}

.menu .menu-item a {
  	padding: 11px 14px;
	margin: 0 4px;
  	color: #000000;
  	line-height: 24px;
  	text-transform: uppercase;
  	letter-spacing: 0.5px;
  	opacity: 1;
  	font-size: 14px;
  	border-radius: 2px;
}

.menu .menu-item.current-menu-parent a {
	background: #002060;
	color: #fff;
}

.menu .menu-item.current-menu-parent .sub-menu a {
	background: none;
	color: #000000;
}


.menu .sub-menu {
    display: none;
	position: absolute;
	margin: 0;
	padding: 0;
	top: 60px;
	left: 0px;
	background: #fff;
	min-width: 240px;
	border-top: 3.5px solid #002060;
}

.menu .sub-menu .menu-item {
	float: none !important;
	padding: 10px 15px;
	height: auto;
	border-bottom: 1px solid #ddd;
}

.menu .sub-menu .menu-item:hover {
	background: #002060;
	
}

.menu .sub-menu .menu-item:hover a {
    color: #6ab3f3;
}

.menu .sub-menu .menu-item a {
    text-transform: none !important;
    letter-spacing: 0px;
}

.default-services-block .image-box .overlay-box{
	position:absolute;
	left:0px;
	top:-100%;
	width:100%;
	height:100%;
	color:#fff;
	transition:all 500ms ease;
	-webkit-transition:all 500ms ease;
	-ms-transition:all 500ms ease;
	-o-transition:all 500ms ease;
	-moz-transition:all 500ms ease;	
	opacity: 1;
	background: none !important;
	backdrop-filter: blur(6px);
}

.call-to-action-corporate {
    margin: 0 -20px -10px -20px;
}

@media only screen and (max-width: 1024px) {
    .menu { display: none; }
	.big-column { width: 100%; float: none; }
	.large-column { width: 100%; float: none; }
	.main-footer .footer-column h2 { padding-top: 0px; }
	.employee-item { display: block !important; float: none; width: 100% !important; }
}