/* Global: replace Montserrat with Open Sans everywhere except menu */
.elementor-widget:not(.elementor-widget-navigation-menu) h1,
.elementor-widget:not(.elementor-widget-navigation-menu) h2,
.elementor-widget:not(.elementor-widget-navigation-menu) h3,
.elementor-widget:not(.elementor-widget-navigation-menu) h4,
.elementor-widget:not(.elementor-widget-navigation-menu) h5,
.elementor-widget:not(.elementor-widget-navigation-menu) h6,
.elementor-widget:not(.elementor-widget-navigation-menu) p,
.elementor-widget:not(.elementor-widget-navigation-menu) span,
.elementor-widget:not(.elementor-widget-navigation-menu) a,
.elementor-widget:not(.elementor-widget-navigation-menu) div {
    font-family: "Open Sans", Arial, sans-serif !important;
}

/* Equal height post cards */
.posts-item {
    height: 100%;
}

.posts-item-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.posts-item-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.posts-item-bottom {
    margin-top: auto;
}




/* Clamp title to 3 lines */
.posts-item-title a {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Equal height cards for EAEL Post Grid */
.eael-post-grid .eael-grid-post-holder {
    height: 100%;
}

.eael-post-grid .eael-grid-post-holder-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.eael-post-grid .eael-entry-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Title: always 2 lines */
.eael-post-grid .eael-entry-title {
    min-height: calc(15px * 1.4 * 2);
}

.eael-post-grid .eael-entry-title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* Post Timeline default: title below image */
.eael-post-timeline:not(.timeline-layout-card) .eael-timeline-post-inner {
    /*height: auto !important;*/
    background: #fff !important;
}

.eael-post-timeline:not(.timeline-layout-card) .eael-timeline-post-image {
    height: 220px !important;
}

.eael-post-timeline:not(.timeline-layout-card) .eael-timeline-post-image {
    height: 220px !important;
}

.eael-post-timeline:not(.timeline-layout-card) .eael-timeline-post-link,
.eael-post-timeline:not(.timeline-layout-card) .eael-timeline-post-link:hover {
    text-decoration: none !important;
}

.eael-post-timeline:not(.timeline-layout-card) .eael-timeline-post-title {
    position: relative !important;
    bottom: auto !important;
    width: 100% !important;
    padding: 12px 15px;
}

.eael-post-timeline:not(.timeline-layout-card) .eael-timeline-post-title .eael-timeline-post-title-text {
    color: #000 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    line-height: 1.4 !important;
    padding: 0 !important;
    margin-bottom: 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.eael-post-timeline:not(.timeline-layout-card) .eael-timeline-post-excerpt {
    position: relative !important;
    opacity: 1 !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    padding: 0 15px 12px;
}

.eael-post-timeline:not(.timeline-layout-card) .eael-timeline-post-excerpt p {
    color: #333 !important;
    padding: 0 !important;
}

.eael-post-timeline:not(.timeline-layout-card) .eael-timeline-post-inner:hover .eael-timeline-post-image {
    opacity: 1 !important;
}

/* Excerpt: always 3 lines */
.eael-post-grid .eael-grid-post-excerpt {
    min-height: calc(20px * 3);
}

.eael-post-grid .eael-grid-post-excerpt p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}
