/*
 Theme Name:   Labora Acadevo
 Description:  Labora child theme based on the Penn academic sites (IBI as the primary reference).
 Author:       Pendari
 Author URI:   https://pendari.com/
 Template:     labora
 Version:      1.0.1
 Text Domain:  labora-acadevo
*/


/* =Child-Theme customization starts here
-------------------------------------------------------------- */

/*--------------------------------------------------------------
# Header — logo row left, menu row centered with dividers
--------------------------------------------------------------*/

.logo-row .site-title a {
	color: #2A3980;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1.75rem;
	font-weight: 400;
	line-height: 1.15;
}

@media (min-width: 992px) {
	.header-layout-double-left .menu-row > .container > div,
	.header-layout-double-left .main-navigation {
		justify-content: center;
	}

	.primary-menu {
		gap: 0;
	}

	.primary-menu > .menu-item > a {
		font-size: 17px;
		font-weight: 400;
		text-transform: capitalize;
		padding-left: 1.35rem;
		padding-right: 1.35rem;
	}

	.primary-menu > .menu-item + .menu-item > a {
		border-left: 1px solid #e4e6ea;
	}
}

/*--------------------------------------------------------------
# Title bar
--------------------------------------------------------------*/

.title-bar h1 {
	text-shadow: none;
	text-transform: capitalize;
	font-weight: 700;
	font-size: 50px;
	line-height: 1.1;
}

/*--------------------------------------------------------------
# Headings
--------------------------------------------------------------*/

.site-content h1,
.site-content h2,
.site-content h3,
.site-content h4 {
	font-weight: 700;
}

/* In-content headings (About “Vision” / “Mission”): bold navy, no bar. */
.wpb_text_column h2 {
	font-size: 35px;
	font-weight: 700;
	text-transform: none;
	line-height: 1.2;
}

.wpb_text_column h3 {
	font-size: 30px;
	font-weight: 700;
	line-height: 1.25;
}

/*
 * Section titles. WPBakery puts vc_custom_heading on the heading element
 * itself (h2.vc_custom_heading), not on a wrapper.
 * Blue 31px bar, 6px gap, gray 31px bar. Centered when the heading is centered.
 */
h2.vc_custom_heading {
	position: relative;
	text-transform: capitalize;
	font-weight: 700;
	line-height: 1.2;
	padding-bottom: 18px;
	margin-bottom: 0.75rem;
}

h2.vc_custom_heading::before,
h2.vc_custom_heading::after {
	content: "";
	position: absolute;
	bottom: 0;
	height: 4px;
	width: 31px;
	pointer-events: none;
}

h2.vc_custom_heading::before {
	left: 0;
	background: var(--color-accent, #015EA7);
}

h2.vc_custom_heading::after {
	left: 37px;
	background: #E0E1E3;
}

h2.vc_custom_heading[style*="text-align: center"]::before,
h2.vc_custom_heading[style*="text-align:center"]::before {
	left: calc(50% - 37px);
}

h2.vc_custom_heading[style*="text-align: center"]::after,
h2.vc_custom_heading[style*="text-align:center"]::after {
	left: 50%;
}

/*--------------------------------------------------------------
# Buttons
WPBakery writes the fill color inline and defaults to shape-rounded,
so these rules need !important to win.
--------------------------------------------------------------*/

.vc_general.vc_btn3.vc_btn3-style-flat,
.vc_btn3.vc_btn3-style-flat,
.gform_button,
.gform_wrapper .gform_footer input[type="submit"],
.wp-element-button,
.wp-block-button__link {
	background-color: var(--color-button-bg, #131D3B) !important;
	color: var(--color-button-text, #ffffff) !important;
	border-color: var(--color-button-bg, #131D3B) !important;
	border-radius: 0 !important;
	font-weight: 700;
	font-family: var(--heading-font, "Roboto Condensed"), Arial, Helvetica, sans-serif;
	padding: 13px 31px !important;
}

.vc_general.vc_btn3.vc_btn3-style-flat:hover,
.vc_general.vc_btn3.vc_btn3-style-flat:focus,
.vc_btn3.vc_btn3-style-flat:hover,
.vc_btn3.vc_btn3-style-flat:focus,
.gform_button:hover,
.gform_button:focus,
.wp-element-button:hover,
.wp-element-button:focus,
.wp-block-button__link:hover,
.wp-block-button__link:focus {
	background-color: var(--color-button-bg-hover, #015EA7) !important;
	color: var(--color-button-text-hover, #ffffff) !important;
	border-color: var(--color-button-bg-hover, #015EA7) !important;
}

.vc_general.vc_btn3.vc_btn3-style-outline,
.vc_btn3.vc_btn3-style-outline {
	background-color: transparent !important;
	color: var(--color-heading, #131D3B) !important;
	border: 2px solid var(--color-heading, #131D3B) !important;
	border-radius: 0 !important;
	font-weight: 700;
}

.vc_general.vc_btn3.vc_btn3-style-outline:hover,
.vc_general.vc_btn3.vc_btn3-style-outline:focus,
.vc_btn3.vc_btn3-style-outline:hover,
.vc_btn3.vc_btn3-style-outline:focus {
	background-color: var(--color-heading, #131D3B) !important;
	color: #ffffff !important;
	border-color: var(--color-heading, #131D3B) !important;
}

/*--------------------------------------------------------------
# Home — hero
--------------------------------------------------------------*/

body.home .vc_row.ac-hero {
	background-color: #F4F6F9;
	padding-top: 4.5rem !important;
	padding-bottom: 4.5rem !important;
}

.ac-hero h1 {
	color: var(--color-heading, #131D3B);
	font-weight: 700;
	line-height: 1.15;
	max-width: 18ch;
	margin-bottom: 1.5rem;
}

/*--------------------------------------------------------------
# Home — center cards
--------------------------------------------------------------*/

body.home .vc_row.ac-centers {
	padding-top: 4rem !important;
	padding-bottom: 3.5rem !important;
}

.ac-card .wpb_wrapper {
	background: #ffffff;
	box-shadow: 0 8px 24px rgba(19, 29, 59, 0.08);
	height: 100%;
	border-top: 4px solid var(--color-accent, #015EA7);
}

.ac-card h4 {
	color: var(--color-heading, #131D3B);
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
	margin: 0;
	padding: 1.35rem 1rem 1.5rem;
}

.ac-card h4 a {
	color: inherit;
	text-decoration: none;
}

.ac-card h4 a:hover,
.ac-card h4 a:focus {
	color: var(--color-accent, #015EA7);
}

/*--------------------------------------------------------------
# Home — mission band
--------------------------------------------------------------*/

body.home .vc_row.ac-band {
	background-color: #F4F6F9;
	padding-top: 4rem !important;
	padding-bottom: 4rem !important;
}

.ac-band h3 {
	margin-top: 1.5rem;
	margin-bottom: 0.6rem;
}

.ac-band .wpb_text_column ul {
	margin: 0.75rem 0 1.25rem;
	padding-left: 1.25rem;
}

.ac-band .wpb_text_column li {
	margin-bottom: 0.45rem;
}

/*--------------------------------------------------------------
# Home — events and news
--------------------------------------------------------------*/

body.home .vc_row.ac-split {
	padding-top: 3.5rem !important;
	padding-bottom: 3.5rem !important;
}

.ac-event-kicker {
	color: var(--color-accent, #015EA7);
	font-weight: 700;
	font-size: 0.95rem;
	letter-spacing: 0.02em;
	margin: 0 0 0.35rem;
}

.ac-news-item {
	margin: 0 0 1.25rem;
	padding-bottom: 1.25rem;
	border-bottom: 1px solid #e4e6ea;
}

.ac-news-item h4 {
	margin: 0 0 0.35rem;
	font-size: 1.25rem;
	line-height: 1.3;
}

.ac-news-item h4 a {
	color: var(--color-heading, #131D3B);
	text-decoration: none;
}

.ac-news-item h4 a:hover,
.ac-news-item h4 a:focus {
	color: var(--color-accent, #015EA7);
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

.footer-widgets .widget-title {
	color: #ffffff;
	font-size: 1.15rem;
	font-weight: 700;
	margin-bottom: 0.85rem;
}

.footer-widgets a {
	text-decoration: none;
}

.footer-widgets a:hover,
.footer-widgets a:focus {
	text-decoration: underline;
}

.site-footer .subfooter {
	border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/

@media (max-width: 767px) {
	.ac-hero h1,
	.title-bar h1 {
		font-size: 2rem;
	}

	h2.vc_custom_heading {
		font-size: 2rem;
	}

	.ac-card {
		margin-bottom: 1.25rem;
	}
}
