/*
Theme Name:     Aedc
Theme URI:
Description:    Divi child theme.
Author:         Me
Author URI:
Template:       Divi
Version:        0.1.0
*/


@tailwind base;
@tailwind components;
@tailwind utilities;


/*
 * ---------------------------------------------------------------------------------------------------------------------
 * Theme Overrides / Global
 * =====================================================================================================================
 */

:root {
	--clr-dark-green: #0B432A;
	--clr-light-green: #327557;
	--clr-dark-blue: #1E3F56;
	--clr-white: #ffffff;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
li {
	font-optical-sizing: auto;
}


#logo {
	max-height: 95%;
}

.aedc-text__light h1,
.aedc-text__light h2,
.aedc-text__light h3,
.aedc-text__light h4,
.aedc-text__light h5,
.aedc-text__light h6,
.aedc-text__light p,
.aedc-text__light li {
	color: var(--clr-white);
}

#page-container {
	padding-top: 0 !important;
}

/*section {
	height: inherit !important; !* Divi fix *!
}*/


.aedc-text__base p,
.aedc-text__base li {
	font-size: 1rem;
	line-height: 1.5rem;
}

.aedc-text__base ul {
	margin: 0 0 1.5rem 3rem;
	list-style-type: disc;
}



/*
 * ---------------------------------------------------------------------------------------------------------------------
 * Home
 * =====================================================================================================================
 */

.aedc-pillars__bg-layered {
	background-color: rgba(11,67,42, 0.8); /* slightly transparent green background */
	background-image: url('/wp-content/themes/aedc/assets/images/aedc-logo__pillar-001.avif');
	background-repeat: no-repeat;
	background-size: cover;
}





/*
 * ---------------------------------------------------------------------------------------------------------------------
 * Content
 * =====================================================================================================================
 */

.aedc-sm-title {
	font-size: 1.125rem;
	line-height: 1.75rem;
	font-weight: 600;
}
.aedc-sm-title__desc {
	font-size: 0.875rem;
	line-height: 1.25rem;
	font-style: italic;
	font-weight: 400;
	display: block;
}

.aedc-sm-title:not(:first-child) {
	margin-top: 3rem;
}





.committee-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr); /* 3 columns */
	/* Or use repeat(4, 1fr) for 4 columns */
	gap: 1rem; /* Space between columns */
}

.committee-section {
	border: 1px solid #e0e0e0; /* Optional: adds a light border */
	padding: 1rem;
}

.committee-title {
	font-size: 1.25rem; /* Larger font size */
	font-weight: 700; /* Bolder */
	margin-bottom: 0.5rem;
	border-bottom: 1px solid #d0d0d0; /* Optional: adds a separator */
}

.committee-members {
	list-style-type: none;
	padding: 0;
	margin: 0;
}

.committee-members li {
	font-size: 1rem; /* Base text size */
	font-weight: 400; /* Normal font weight */
	line-height: 1.5;
}




.staff-section {
	padding: 1rem;
}

p.staff-name {
	font-size: 1.125rem;
	font-weight: 700;
	margin-bottom: 0;
}

.staff-title {
	font-size: 0.875rem;
	font-weight: 700;
	margin-bottom: 0.5rem;
}

.staff-description p {
	font-size: 1rem;
	line-height: 1.5rem;
}
.staff-members svg,
.staff-members a svg {
	width: 2em;
	height: 2em;
}


.aedc-icon__business {
	width: 1em;
	height: 1em;
	margin-right: 0.5em;
	margin-top: 0.25em;
}


.aedc-directory__listing h3 {
	font-size: 1.5rem;
	line-height: calc(2 / 1.5);
}
.aedc-directory__listing ul {
	list-style-type: disc;
	margin-left: 2em;
}






/*
 * ---------------------------------------------------------------------------------------------------------------------
 * Modern Events Calendar
 * =====================================================================================================================
 */

.mec-single-title {
	display: none;
}




/*
 * ---------------------------------------------------------------------------------------------------------------------
 * ---------------------------------------------------------------------------------------------------------------------
 * Media Queries
 * =====================================================================================================================
 * =====================================================================================================================
 */

/* Small phone (~320px) */
@media only screen and (min-width: 20em)
{
	.staff-list {
		display: grid;
		grid-template-columns: repeat(1, 1fr);
		gap: 1rem;
	}
}

 /* Low DPI Laptop (~1280px) */
 @media only screen and (min-width: 80em)
 {
	.staff-list {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 1rem;
	}
 }