/*
Theme Name: Event Engine Child
Theme URI: https://eventengine.tv
Version: 7.0
Description: Core theme for Event Engine
Author: Event Engine
Author URI: https://eventengine.tv
template: bb-theme
*/

.fl-page-nav-right .fl-page-header-wrap {
	border-bottom: none;
}

.fl-builder-bar-content {
    background-image: linear-gradient(-225deg, #3A9ED2 0%, #3A5FAE 48%, #D52042 100%);
}

.fl-builder-bar-title {
	color: #fff;
	font-weight: bold;
}

/* Word wrap for <p> */
.fl-module-rich-text p {
	overflow-wrap: normal; /* Modern standard */
    word-wrap: normal;     /* Legacy fallback for older browsers */
}

/* Rectangle 3: */


pre {
	height: auto;
	background: transparent;
	border: none;
	display: block;
}	


/* Edit Form */	

.ee-edit-form-wrapper {
	padding:20px;
}

.ee-edit-form-wrapper .acf-fields > .acf-field {
	padding:10px 0px;
}

/* Style the menu with we want to stand out as a button */
li.header-menu-cta{
	display: none !important;
}
	li.header-menu-cta.active{
		display: block !important;
	}

/* Hide Comments Management from Admin Bar on Frontend */
#wp-admin-bar-my-sites-list ul.ab-submenu li:nth-child(3) {
    display: none;
}

/* Styling for Marketo forms (Ed) */
.mktoForm input[type=text], .mktoForm input[type=url], .mktoForm input[type=email], .mktoForm input[type=tel], .mktoForm input[type=number], .mktoForm input[type=date], .mktoForm textarea.mktoField, .mktoForm select.mktoField {
    border-color: #777;
    border-width: 1px;
}

/* !!Override Bootstrap 4 changes!! */

/* Speaker list module - Speaker name has no margins */
.speaker-list-item h4 {
	margin-top: 10px;
	margin-bottom: 10px;
}

/* Override Marketo Text Color to White */
.hw-white form {
    color: #fff !important; /* Changes text to white if a user set the HTML module class to hw-white */
}
.hw-white form select {
    color: #000 !important; /* Resets the color for select dropdown choices */
}

/* Single Speaker styles */
.seminar-time {
	margin-right: 10px;
}

/* Single speaker - Related seminars shortocde CSS */
.eehw-speaker-related-seminars .fl-post-excerpt {
    margin-top: 10px;
    font-size: 18px;
    color: #3c3c3b;
}
.eehw-speaker-related-seminars .hw-speakers_seminar-day .seminar-day,
.eehw-speaker-related-seminars .hw-speakers_seminar-day .seminar-title{
    font-size: 20px;
    color: #3c3c3b;
}
@media (max-width: 1440px) {
    .eehw-speaker-related-seminars .hw-speakers_seminar-day .seminar-day,
    .eehw-speaker-related-seminars .hw-speakers_seminar-day .seminar-title{
       font-size: 18px;
    }
   
    .eehw-speaker-related-seminars .fl-post-excerpt {
        font-size: 16px;
    }
}

/*** Customizer Fix – WordPress Version 6.7.1 ***/
.accordion-section-title button.accordion-trigger {
	height: auto !important;
}

/** 
 * Related Events Posts Module with the following classes
 * .hw-pagination 
 * .hw-posts-sq-logo 
 * 
 * **/

.hw-posts-sq-logo .fl-post-image {
	justify-content: left !important;
}

.hw-posts-sq-logo .hw-post-title * {
	font-size: 18px !important;
	margin:0px;
}

.hw-posts-sq-logo .hw-post-title {
	min-height:60px;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	margin-bottom:5px;
}

.hw-posts-sq-logo .fl-post-excerpt > p {
	/*display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;*/
}

.hw-posts-sq-logo .fl-post-text {
	margin-top:10px;
}

.hw-posts-sq-logo img {
	max-width: 60px
}

.hw-posts-sq-logo .hw-related-events .fl-post-inner {
	padding:20px 20px 60px 20px;
}

	.hw-posts-sq-logo p {
		font-size:16px !important;
	}

.hw-posts-sq-logo svg{
	position:absolute;
	right:30px;
	bottom:30px
}

@media (min-width: 1500px) {
  	/* Styles for extra large desktops */
	.hw-posts-sq-logo .hw-post-title * {
		font-size: 20px !important;
		margin:0px;
	}
		.hw-posts-sq-logo p {
			font-size:18px !important;
		}
}

/* EE Builder sometimes does not show bullet points in <li>, following */
div:where(.fl-module-post-grid :not(.fl-builder-pagination)) > ul {
	all: revert !important;
}

/* Single Seminar CSS */
/* Container: Mobile-first (1 column by default) */
.eehw-seminar-wrapper .speaker-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 20px; /* Exact space between cards */
}

.eehw-seminar-wrapper .speaker-item {
	width: 200px; /* Fixed width per item */
	display: flex;
	flex-direction: column;
}

/* Tablet Layout (768px and up): 2 Columns */
@media (min-width: 768px) {
	.eehw-seminar-wrapper .speaker-wrapper {
		grid-template-columns: repeat(2, 1fr); /* 2 equal-width columns */
	}
}

@media (max-width: 768px) {
	.seminar-template-default.single.single-seminar .fl-page h1.fl-heading:first-child {
		font-size: 3.5rem;
	}
}

/* Desktop Layout (1024px and up): 3 Columns (Optional - adjust or remove as needed) */
@media (min-width: 1024px) {
	.eehw-seminar-wrapper .speaker-wrapper {
		grid-template-columns: repeat(3, 1fr); /* 3 equal-width columns */
	}
}

.eehw-seminar-wrapper .speaker-item .speaker-photo {
	margin-bottom: 15px;
}
	.eehw-seminar-wrapper .speaker-item .speaker-photo img {
		border-radius: 5px;
	}

/** ==========================================================
 * All links have outline 2px by default. Removing that here
 * ==========================================================*/
:where(.fl-builder-content, .fl-page) :is(a[href], button, input, select, textarea, [tabindex]:not([tabindex="-1"])):focus {
	outline: 0 !important;
}