/*
 Theme Name:   ALS
 Theme URI:    https://aspire-wp.local/
 Description:  Child theme based on Divi for the Aspire Life Sciences website
 Author:       Susie Tobias	
 Author URI:   https://www.wisegenius.co.uk
 Template:     Divi
 Version:      1.0.0
*/
/* =Theme customization starts here
------------------------------------------------------- */
/* Global styles */
h1, h2, h3, h4, h5, h6 {
	letter-spacing: 1px;
}
p:not(.has-background):last-of-type {
	padding-bottom: 1em;
}
.entry-content a {
	color: #387d73;
	font-weight: 600;
}
.entry-content a:hover {
	text-decoration: underline;
}
.et_pb_button:hover, .et_pb_module .et_pb_button:hover {
	text-decoration: none !important;
}
.et_pb_scroll_top.et-pb-icon {
	background: #387d73;
}
.et_pb_text {
	word-wrap: normal;
}
.entry-content ul li, .entry-content ol li {
	padding-bottom: 0.5em;
	line-height: 1.7em;
}
/* ============================================================
   BLOG SLIDER — Divi Pixel Blog Slider module
   Reposition date below featured image & styling
   Divi Pixel v2.51.0 | Classes confirmed via browser inspector
   ============================================================ */
/* Make the slide a flex column to control element order */
.dipi-blog-post {
    display: flex;
    flex-direction: column;
}
/* Image sits first */
.dipi-blog-post .dipi-entry-featured-image-url {
    order: 1;
}
.dipi_blog_slider .dipi-date {
	height: 30px;
}
/* Date sits directly below the image */
.dipi-blog-post .dipi-date {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start !important;
    order: 2;
    position: relative !important;
    top: auto !important;
    right: auto !important;
    padding: 0 0 0 20px !important;
    margin: 0;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    width: auto !important;
    text-align: left !important;
	line-height: 1 !important;
}
/* Title follows the date */
.dipi-blog-post .dipi-post-content {
    order: 3;
}
/* Read Article link sits at the bottom */
.dipi-blog-post .dipi-bottom-content {
    order: 4;
}
/* Equalise font size across all three date spans */
.dipi-blog-post .dipi-date .dipi-day,
.dipi-blog-post .dipi-date .dipi-month,
.dipi-blog-post .dipi-date .dipi-year {
    display: inline;
    font-size: 16px !important;
    font-weight: 400 !important;
    letter-spacing: 1px;
    color: #387d73;
}
/* Correct order: day first, then month, then year */
.dipi-blog-post .dipi-date .dipi-day  { order: 1; }
.dipi-blog-post .dipi-date .dipi-month { order: 2; }
.dipi-blog-post .dipi-date .dipi-year  { order: 3; }

/* Add spacing between day/month and month/year */
.dipi-blog-post .dipi-date .dipi-day::after,
.dipi-blog-post .dipi-date .dipi-month::after {
    content: "\00a0";
}

/* ================================================
   Mega Menu — Featured Job Card
   ================================================ */
.als-mega-card {
    background: #387d73;
    border-radius: 10px;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 240px;
    max-width: 400px;
}
/* "Now Hiring" label */
.als-mega-card__label {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
}
/* Job title */
.als-mega-card__title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
	letter-spacing: 1px;
    margin: 0;
    line-height: 1.4;
}
/* Location · Specialism · Job type */
.als-mega-card__meta {
    font-size: 14px;
    color: #FDFCF9;
	letter-spacing: 1px;
    margin: 0;
    line-height: 1.4;
}
/* View role link */
.als-mega-card__link {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
	letter-spacing: 1px;
    text-decoration: none;
    transition: color 0.2s;
    margin-top: 4px;
    display: inline-block;
}
.als-mega-card__link:hover {
    text-decoration: underline;
}
/* ================================================
   Homepage — Featured Jobs Carousel
   ================================================ */
.als-carousel-wrap {
    position: relative;
    padding: 0 20px;
    overflow: hidden;
}
.als-jobs-swiper {
    width: 100%;
    overflow: visible !important;
    /*padding-bottom: 48px !important;*/
}
.als-jobs-swiper .swiper-slide {
    height: auto;
}
/* Card */
.als-featured-card {
    background: #F6F3ED;
	border: 1px solid #E2DBD1;
    border-radius: 10px;
    padding: 20px;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
/* Label row — specialism, location, job type */
.als-featured-card__labels {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.als-featured-label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    color: #387d73;
	background: #F2F7F5;
	padding: 10px;
	border-radius: 10px;
	line-height: 1.1
}
/* Separator dot between labels */
/*.als-featured-label + .als-featured-label::before {
    content: '·';
    margin-right: 8px;
    color: #3d464e;
}*/
/* Job title */
.als-featured-card__title {
    font-size: 22px;
    font-weight: 600;
    color: #1d262d;
	letter-spacing: 1px;
    margin: 0;
    line-height: 1.4;
    flex: 1;
}
/* View Role link */
.als-featured-card__link {
    font-size: 16px;
    font-weight: 600;
    color: #387d73;
	letter-spacing: 1px;
    text-decoration: none;
    transition: color 0.2s;
    display: inline-block;
    margin-top: auto;
}
.als-featured-card__link:hover {
    text-decoration: underline;
}
/* Navigation arrows */
.als-carousel-prev,
.als-carousel-next {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    z-index: 10;
    width: 36px;
    height: 36px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.als-carousel-prev {
	left: -30px;
}
.als-carousel-next {
    right: -30px;
}
.als-carousel-prev::after,
.als-carousel-next::after {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    border-top: 3px solid #387d73;
    border-right: 3px solid #387d73;
}
.als-carousel-prev::after {
    transform: rotate(-135deg);
    margin-left: 4px;
	}
.als-carousel-next::after {
    transform: rotate(45deg);
    margin-right: 4px;
}
/* Responsive */
@media (max-width: 1100px) and (min-width: 900px) {
    .als-featured-card {
        flex-direction: column;
        align-items: flex-start;
    }
}
@media (max-width: 600px) {
    .als-carousel-wrap { padding: 0 20px; }
}
/* ================================================
   SHARED — Job tags
   Used on: Latest Jobs, Specialism pages, 
   Featured Jobs, Mega Menu
   ================================================ */
.als-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
	letter-spacing: 1px;
    padding: 5px 14px;
    border-radius: 20px;
    font-weight: 500;
    white-space: nowrap;
}
.als-tag svg {
    width: 14px !important;
    height: 14px !important;
    flex-shrink: 0;
}
.als-tag--location   { background: #eaf3ee; color: #2e7d4f; }
/*.als-tag--type       { background: #e8f0fb; color: #1a56a0; }
.als-tag--specialism { background: #fdf3e7; color: #b06000; }*/

/* ================================================
   SHARED — Apply / View Role button
   Used on: Latest Jobs, Specialism pages,
   Featured Jobs
   ================================================ */
.als-btn-apply {
    display: inline-block;
    padding: 0.3em 1em;
    background: #387d73;
    color: #fff !important;
    font-size: 16px;
    font-weight: 600;
	letter-spacing: 1px;
	border: 3px solid #387d73;
    border-radius: 30px;
    text-decoration: none !important;
    transition: background 0.2s;
    white-space: nowrap;
}
.als-btn-apply:hover { 
	background: transparent !important; 
	color: #387d73 !important;
	}
	
/* ================================================
   SHARED — Job card
   Used on: Latest Jobs & Specialism pages
   ================================================ */
.als-jobs-wrap {
    /*max-width: 1080px;
    margin: 0 auto;*/
    padding: 0 20px 20px;
    font-family: inherit;
}
.als-job-card {
    background: #F6F3ED;
    border: 1px solid #E2DBD1;
    border-radius: 10px;
    padding: 24px 28px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    transition: box-shadow 0.2s, border-color 0.2s;
	}
.als-job-card:hover {
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
    border-color: #c8ddd1;
}
.als-job-card__body  { 
	flex: 1; 
	}
.als-job-card__title {
    font-size: 28px;
    font-weight: 600;
	letter-spacing: 1px;
    margin: 0 0 10px;
    line-height: 1.3;
}
.als-job-card__title a {
    color: #1d262d;
    text-decoration: none;
    transition: color 0.2s;
}
.als-job-card__title a:hover { 
	color: #387d73; 
	text-decoration: none;
	}
.als-job-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.als-job-card__action { 
	flex-shrink: 0; 
	}
@media (max-width: 768px) {
    .als-job-card {
		padding: 20px 15px;
    }
}
@media (max-width: 400px) {
    .als-job-card__title {
		font-size: 24px;
    }
}	
/* ================================================
   SHARED — Search bar & filter dropdowns
   Used on: Latest Jobs 
   ================================================ */
.als-search-form { 
	margin-bottom: 32px; 
	}
.als-search-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}
.als-search-row input[type="text"] {
    flex: 2;
    padding: 14px 20px;
    font-size: 16px;
	letter-spacing: 1px;
    border: 2px solid #e2dbd1;
    border-radius: 10px;
    outline: none;
    transition: border-color 0.2s;
}
.als-search-row input[type="text"]:focus { 
	border-color: #387d73; 
	}
.als-search-row button {
    padding: 14px 28px;
    background: #387d73;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
	letter-spacing: 1px;
    border: 3px solid #387d73;
    border-radius: 30px;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}
.als-search-row button:hover { 
	background: transparent !important; 
	color: #387d73 !important;
	}
.als-search-row select {
    flex: 1;
    min-width: 150px;
    padding: 14px 20px;
    font-size: 16px;
	letter-spacing: 1px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    background: #fff;
    color: #1d262d;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}
.als-search-row select:focus { 
	border-color: #387d73; 
	}
.als-search-clear {
    display: inline-block;
    padding: 14px 20px;
    background: #e0e0e0;
    color: #555 !important;
    font-size: 16px;
    font-weight: 600;
	letter-spacing: 1px;
    border-radius: 30px;
    text-decoration: none !important;
    transition: background 0.2s;
    white-space: nowrap;
}
.als-search-clear:hover { 
	background: #ccc; 
	}
@media (max-width: 768px) {
    .als-search-row input[type="text"],
    .als-search-row select {
        min-width: 100%;
    }
}
/* ================================================
   Latest Jobs — Checkbox dropdown (multi-location)
   ================================================ */
.als-checkbox-dropdown {
    position: relative;
    flex: 1;
    min-width: 150px;
}
.als-checkbox-dropdown__toggle {
    width: 100%;
    padding: 11px 36px 11px 16px;
    font-size: 16px;
	letter-spacing: 1px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
    color: #1d262d;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
}
.als-checkbox-dropdown__toggle:hover,
.als-checkbox-dropdown.is-open .als-checkbox-dropdown__toggle {
    border-color: #387d73;
}
.als-checkbox-dropdown.is-open .als-checkbox-dropdown__toggle svg {
    transform: rotate(180deg);
}
.als-checkbox-dropdown__menu {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 100%;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 8px 0;
    z-index: 100;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    max-height: 240px;
    overflow-y: auto;
}
.als-checkbox-dropdown.is-open .als-checkbox-dropdown__menu {
    display: block;
}
.als-checkbox-dropdown__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    font-size: 16px;
	letter-spacing: 1px;
    color: #1d262d;
    cursor: pointer;
    transition: background 0.15s;
}
.als-checkbox-dropdown__item:hover {
    background: #f5f5f5;
}
.als-checkbox-dropdown__item input[type="checkbox"] {
    accent-color: #387d73;
    width: 15px;
    height: 15px;
    cursor: pointer;
    flex-shrink: 0;
}
@media (max-width: 768px) {
    .als-checkbox-dropdown {
        min-width: 100%;
    }
    .als-checkbox-dropdown__menu {
        max-height: 200px;
    }
}
/* ================================================
   SHARED — Results meta & no results
   Used on: Latest Jobs & Specialism pages
   ================================================ */
.als-results-meta {
    font-size: 16px;
	letter-spacing: 1px;
    color: #3d464e;
    margin-bottom: 20px;
}
.als-results-meta strong { 
	color: #3d464e; 
	}
.als-no-results {
    text-align: center;
    padding: 20px;
    color: #1d262d;
	font-size: 18px;
	letter-spacing: 1px;
}
/* ================================================
   SHARED — Pagination
   Used on: Latest Jobs 
   ================================================ */
.als-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 40px;
}
.als-pagination a,
.als-pagination span {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.als-pagination a           { 
	background: #FDFCF9; 
	color: #1d262d;
	}
.als-pagination a:hover { 
	background: #387d73; 
	color: #fff;
	text-decoration: none;	
	}
.als-pagination span.current { 
	background: #387d73; 
	color: #fff; 
	}
.als-pagination a.prev,
.als-pagination a.next      { 
	background: #F2F7F5; 
	color: #387d73;
	}
.als-pagination a.prev:hover,
.als-pagination a.next:hover { 
	background: #387d73; 
	color: #fff;
	text-decoration: none;
	}

/* ================================================
   RESPONSIVE — Job cards, search & filters
   ================================================ */
@media (max-width: 600px) {
    .als-job-card {
        flex-direction: column;
        align-items: flex-start;
    }
    .als-job-card__action { 
		width: 100%; 
		}
    .als-btn-apply {
        display: block;
        text-align: center;
    }
    .als-search-row { 
		flex-wrap: wrap;
		}
    .als-search-row input[type="text"] { 
		width: 100%; 
		}
    .als-filter-row select { 
		min-width: 100%; 
		}
}
/* ================================================
   Single job listings
   ================================================ */
.als-detail-wrap {
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 20px 80px;
	font-family: inherit;
}
.als-back-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 18px;
	font-weight: 600;
	letter-spacing: 1px;
	color: #387d73;
	text-decoration: none;
	margin-bottom: 32px;
	transition: color 0.2s;
}
.als-back-link:hover { 
	text-decoration: underline;
}
.als-detail-header {
	margin-bottom: 28px;
	padding-bottom: 28px;
	border-bottom: 1px solid #e2dbd1;
}
.als-detail-header h1 {
	font-size: 32px;
	font-weight: 600;
	color: #1d262d;
	letter-spacing: 1px;
	margin: 0 0 16px;
	line-height: 1.25;
}
.als-detail-tags { 
	display: flex; 
	flex-wrap: wrap; 
	gap: 8px; 
}
.als-detail-description {
    font-family: Poppins, Helvetica, Arial, Lucida, sans-serif; 
	font-size: 18px;
	letter-spacing: 1px;
    line-height: 1.7em;
    color: #1d262d;
}
.als-detail-description h2 {
    font-size: 32px;
    font-weight: 500;
    color: #387d73;
	line-height: 1.2em;
    padding-bottom: 10px;
}
.als-detail-description h3 {
	font-size: 28px;
    font-weight: 500;
    color: #387d73;
	line-height: 1.2em;
    padding-bottom: 10px;
}
.als-detail-description ul,
.als-detail-description ol {
    line-height: 26px;
	list-style: disc outside none;
	padding: 0 0 23px 1em;
    }
.als-detail-description ul li {
    margin: 0 0 0.5em 0;
}
.als-detail-description p {
    line-height: 1.7em;
	padding-bottom: 1em;    
}
.als-detail-description p a {
    font-weight: 600;
    color: #387d73;
}
.als-detail-description p:not(.has-background):last-of-type {
	padding-bottom: 1em;
}
.als-detail-description p a:hover {
	text-decoration: underline;
}
.als-detail-description p strong {
    font-weight: 500;
    color: #387d73;
    line-height: 1.7em !important;
}
.als-apply-section {
	background: #F6F3ED;
	border: 1px solid #e2dbd1;
	border-radius: 10px;
	padding: 36px 40px;
	margin-top: 20px;
}
.als-apply-section h2 {
	font-size: 28px;
	font-weight: 500;
	color: #1d262d;
	margin: 0 0 24px;
}
.als-apply-section .form-group { 
	margin-bottom: 1em;
	}
.als-apply-section .form-control {
	width: 100%;
	padding: 12px 16px;
	font-size: 18px;
	letter-spacing: 1px;
	border: 1px solid #e2dbd1;
	border-radius: 5px;
	box-sizing: border-box;
	transition: border-color 0.2s;
}
.als-apply-section .form-control:focus {
	border-color: #387d73;
	outline: none;
}
	.als-apply-form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-bottom: 16px;
}
.als-apply-section .file_upload label {
	display: block;
	padding: 12px 16px;
	border: 1px dashed #aaa;
	border-radius: 6px;
	cursor: pointer;
	font-size: 16px;
	color: #3d464e;
	transition: border-color 0.2s;
}
.als-apply-section .file_upload label:hover { 
	border-color: #387d73;
}
.als-apply-section .file_input { 
	display: none;
}
.als-apply-section .file_upload_name { 
	font-size: 14px; 
	color: #3d464e; 
	margin-left: 8px;
}
.als-btn-submit {
	display: inline-block;
	padding: 13px 32px;
	background: #387d73;
	border: 3px solid #387d73;
	color: #fff;
	font-size: 18px;
	font-weight: 600;
	letter-spacing: 1px !important;
	border-radius: 30px;
	cursor: pointer;
	transition: background 0.2s;
	margin-top: 8px;
}
.als-btn-submit:hover { 
	background: transparent !important; 
	color: #387d73 !important;
	
}
.success_alert {
	margin-top: 16px;
	padding: 14px 18px;
	background: #FDFCF9;
	border-radius: 10px;
	color: #387d73;
	font-size: 15px;
}
@media (max-width: 600px) {
	.als-apply-form-grid { 
		grid-template-columns: 1fr;
	}
	.als-apply-section   { 
		padding: 24px 20px;
	}
}
/* ================================================
   Job Detail — Related roles
   ================================================ */
.als-related-jobs {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 0;
    border-top: 1px solid #387d73
}
.als-related-jobs__title {
    font-size: 28px;
    font-weight: 600;
    color: #387d73;
	letter-spacing: 1px;
    margin-bottom: 24px;
}
.als-related-jobs .als-jobs-wrap {
    padding: 0 0 40px;
}   
/* CONTACT FORMS FLUENT FORMS */
#fluentform_3 label {
	letter-spacing: 1px;
	color: #fff;
	font-size: 16px;
	font-weight: 400;
	text-transform: uppercase;
}
#fluentform_4 label {
	letter-spacing: 1px;
	color: #1d262d;
	font-size: 16px;
	font-weight: 400;
	text-transform: uppercase;
}
.ff-default .ff-el-form-control {
	font-family: Poppins, Helvetica, Arial, Lucida, sans-serif; 
	font-size: 16px;
	letter-spacing: 1px;
}
button[type=submit] {
	text-transform: uppercase;
}
/* ABOUT TIMELINE */
.timeline .et_pb_text:hover {
	box-shadow: 0 4px 18px rgba(0,0,0,0.08);
    border-color: #c8ddd1 !important;
}
.timeline-alternate .et_pb_text:hover {
	box-shadow: 0 4px 18px rgba(0,0,0,0.08);
	border-color: #e2dbd1 !important;
}
/* INSIGHTS */
/* ================================================
   Featured Post Card — Aspire child theme
   ================================================ */
.fpc-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    border-radius: 10px;
	border: 1px solid #e2dbd1;
    overflow: hidden;
    min-height: 400px;
}
.fpc-card:hover {
	box-shadow: 0 4px 18px rgba(0,0,0,0.08);
    border-color: #c8ddd1 !important;
}
/* Image panel */
.fpc-image {
    grid-column: 1;
    grid-row: 1;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 350px;	
}
/* Content panel */
.fpc-content {
    grid-column: 2;
    grid-row: 1;
    background-color: #F6F3ED;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}
/* Category + date row */
.fpc-meta {
    display: flex;
	align-items: center;
    gap: 12px;
    flex-wrap: wrap;
	}
/* Category pill */
.fpc-category {
    display: inline-block;
    background: #eaf3ee;
	color: #1d262d !important;
    font-size: 14px;
    font-weight: 500;
    padding: 3px 10px;
    border-radius: 10px;
    letter-spacing: 1px;
    text-decoration: none;
}
/* Date */
.fpc-date {
    color: #1d262d;
	font-size: 16px;
	letter-spacing: 1px;
}
/* Title */
.fpc-title {
    margin: 0;
    font-size: 28px;
	line-height: 1.2em;
	letter-spacing: 1px
}
.fpc-title a {
    color: #387d73;
    text-decoration: none;
	font-weight: 500 !important;
}
.fpc-title a:hover {
    color: #387d73;
	text-decoration: none !important;
}
/* Excerpt */
.fpc-excerpt {
    margin: 0;
    font-size: 18px;
    line-height: 1.7;
    color: #1d262d;
	letter-spacing: 1px;
}
/* Read more link */
.fpc-read-more {
    display: inline-block;
    color: #387d73;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 1px;
	text-decoration: none;
    padding-bottom: 1px;
    width: fit-content;
	padding: .3em 1em;
	border: 1px solid #387d73;
	border-radius: 30px;
}
.fpc-read-more:hover {
    background: #387d73;
	text-decoration: none !important;
	color: #fff;
}
/* Mobile — stack vertically */
@media (max-width: 980px) {
    .fpc-card {
        grid-template-columns: 1fr;
        grid-template-rows: 300px auto;
        min-height: unset;
    }
    .fpc-image {
        grid-column: 1;
        grid-row: 1;
        min-height: 300px;
    }
    .fpc-content {
        grid-column: 1;
        grid-row: 2;
        padding: 32px 24px;
    }
}
/* Main page grid */
.entry-title a:hover {
	text-decoration: none;
}
.more-link {
    padding-top: 15px;
	}
.post-meta .entry-categories {
	padding: 10px;
	background: #eaf3ee; 
	font-size: 14px;
	letter-spacing: 1px;
    padding: 5px 14px;
    border-radius: 20px;
    font-weight: 500;
    white-space: nowrap;
}
article .et_pb_post:hover {
	box-shadow: 0 4px 18px rgba(0,0,0,0.08);
    border-color: #c8ddd1 !important;
}
.pagination a {
	color: #387d73;
}
.pagination a:hover {
	text-decoration: underline;
}
/* decrease size of blog module images */
.et_grid_module>.et_pb_post .et_pb_image_container img, .et_pb_blog_grid .et_pb_post .et_pb_image_container img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: center top;
}
/* make blog module grid flex to put read more link at bottom of card */
.et_pb_post {
  display: flex;
  flex-direction: column;
}
.et_pb_post .post-content {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.et_pb_post .post-content .more-link {
  margin-top: auto;
}
/* Single insights posts */
#main-content .container:before {
	width: 0;
}	
h1.entry-title {
	font-weight: 500;
	letter-spacing: 1px;
	margin-bottom: 2%;
}
.et_pb_post .post-meta {
	font-size: 16px;
	letter-spacing: 1px;
	margin-bottom: 1em;
}
.et_post_meta_wrapper img {
	border-radius: 20px;
}
.et_pb_post p {
	letter-spacing: 1px;
	padding-bottom: 1.7em;
}
ul.wp-block-list li, ol.wp-block-list li {
	letter-spacing: 1px;
}
h2.wp-block-heading {
	font-size: 32px;
	font-weight: 500;
	padding-bottom: 15px;
}
h3.wp-block-heading {
	font-size: 28px;
	font-weight: 500;
	padding-bottom: 15px;
}
h4.wp-block-heading {
	font-size: 21px;
	font-weight: 500;
	padding-bottom: 15px;
}
.wp-block-image img {
	border-radius: 20px;
}
/* Insights comments */
h3#reply-title {
	font-size: 28px;
	font-weight: 500;
	}
.logged-in-as a {
	color: #387d73;
	font-weight: 600;
}	
.logged-in-as a:hover {
	text-decoration: underline;
}
textarea#comment {
	background: #F6F3ED;
	border-radius: 20px;
	color: #1d262d;
	padding: 20px;
}
textarea#comment::placeholder {
	letter-spacing: 1px;
}
.form-submit .et_pb_button {
	color: #fff;
	border-radius: 30px;
	letter-spacing: 1px;
	}
.form-submit .et_pb_button:hover {
	background: #387d73;
	border-radius: 30px;
	color: #fff;
	}
h1#comments {
	font-size: 28px;
}
.comment_postinfo {
	letter-spacing: 1px;
}
span.fn, span.comment_date {
	color: #1d262d;
	font-size: 16px;
}
.comment-edit-link {
	color: #387d73;
	font-size: 16px;
}
/* FOOTER */
footer p a:hover {
	text-decoration: underline;
}
footer {
	overflow-wrap: normal;
	}
/* MEDIA QUERIES */
@media (max-width: 767px) {
	h1 {
		font-size: 36px !important;
	}
	h2.wp-block-heading {
		font-size: 26px !important;
	}
	h3.wp-block-heading {
		font-size: 22px !important;
	}
}