/*
 Theme Name: Tilt Child Theme
 Theme URI: https://kevinudydigital.com
 Description: A child theme of Hello Elementor.
 Author: Kevin Udy Digital Marketing
 Author URI: https://kevinudydigital.com
 Template: hello-elementor
 Version: 1.0.0
 Text Domain: tilt-child-theme
*/

/* Add your custom CSS below this line */

.elementor-nav-menu--main .elementor-nav-menu ul, .elementor-nav-menu--stretch .elementor-nav-menu__container.elementor-nav-menu--dropdown {
	background: #FAF8F5;
}

h1, h2, h3, h4 {
	margin-bottom: 20px !important;
}
.elementor-widget-text-editor ul, .elementor-widget-text-editor ol, #blog_content ul, #blog_content ol {
		margin-bottom: 30px;
}
#blog_content h2 {
	font-size: 26px !important;
	line-height: 32px !important;
	color: #007668 !important;
}
#blog_content h3 {
	font-size: 22px !important;
	line-height: 26px !important;
	color: #007668 !important;
}
#blog_content h4 {
	font-size: 18px !important;
	line-height: 22px !important;
	color: #007668 !important;
}
#blog_content p a {
	color: #007668 !important;
}
#blog_content .elementor-button {
	margin-bottom: 20px;
}

#research_guide_content h2 {
	font-size: 26px !important;
	line-height: 32px !important;
	color: #3C2B2D !important;
}
#research_guide_content h3 {
	font-size: 22px !important;
	line-height: 26px !important;
	color: #3C2B2D !important;
}
#research_guide_content h4 {
	font-size: 18px !important;
	line-height: 22px !important;
	color: #3C2B2D !important;
}
#research_guide_content p a {
	color: #007668 !important;
}
#research_guide_content .elementor-button {
	margin-bottom: 20px;
}

/* --- Start Blog Category Dropdown Styles --- */
.tax-dropdown {
    position: relative;
    width: 100%; 
    z-index: 99;
    font-family: sans-serif; 
}

/* --- The Toggle Button --- */
.filter-toggle-btn {
    background: #ffffff;
    border: 1px solid #8c7e7e; 
    border-radius: 50px; 
    color: #3C2B2D;
	font-size: 18px;
    padding: 12px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-toggle-btn:hover {
    border-color: #4a4242;
    background-color: #fafafa;
}

.filter-toggle-btn svg {
    margin-left: 15px;
    transition: transform 0.3s ease; /* Adds animation! */
}

/* Rotate the arrow when menu is open */
.tax-dropdown.active .filter-toggle-btn svg {
    transform: rotate(180deg);
}

/* --- The Dropdown List (Unchanged) --- */
.tax-dropdown .e-filter {
    display: none;
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    width: 100%;
    background: white;
    border: 1px solid #8c7e7e;
    border-radius: 15px; 
    flex-direction: column;
    padding: 5px 0;
    margin: 0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    overflow: hidden; 
}

.tax-dropdown.active .e-filter {
    display: flex;
}

.tax-dropdown .e-filter-item {
    margin: 0 !important;
    width: 100%;
    color: #4a4242;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background 0.2s;
    border-radius: 0 !important; 
}

.tax-dropdown .e-filter-item:last-child {
    border-bottom: none;
}

.tax-dropdown .e-filter-item:hover,
.tax-dropdown .e-filter-item.e-filter-item-active {
    background-color: #f7f5f5;
    color: #000;
}
/* --- End Blog Category Dropdown Styles --- */

#footer_legal, #footer_legal a {
	color: #9E9596;
	font-size: 14px;
	text-decoration: none;
}