.api-masters-newsticker a {
    font-weight: 500;
    line-height: 1.2;
}

.floating-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    z-index: 9999;
}

.floating-nav-item {
    text-align: center;
    text-decoration: none;
    color: #0c0c0c;
}

.floating-nav-item:hover, .floating-nav-item:active {
    color: #ed1c24;
}

.floating-nav-item i {
    font-size: 16px;
    display: block;
}

.floating-nav-item span {
    display: block;
    font-size: 12px;
}

#floating-nav-content {
    display: none;
    position: fixed;
    bottom: 62px; /* Adjust based on your floating nav height */
    left: 0;
    right: 0;
    background: white;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    min-height: 50vh; /* Minimum height of 70% of the viewport height */
    max-height: 93vh; /* Maximum height of 90% of the viewport height */
    overflow-y: auto; /* Enable vertical scrolling if content exceeds max-height */
}

.floating-nav-menu-list,
.floating-nav-taxonomy-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
    font-family: inherit;
}

.floating-nav-menu-list li,
.floating-nav-taxonomy-list li {
    margin-bottom: 1px;
    /*border: #d8d8d8 solid 0;*/
	border-bottom: 1px solid #ccc; /* Line under each item */
	padding: 10px 0;
}

.floating-nav-menu-list li:last-child {
border-bottom: none; /* Optional: remove line after the last item */
}

.floating-nav-menu-list a,
.floating-nav-taxonomy-list a {
    text-decoration: none;
    color: #333;
    font-size: 15px;
    line-height: 1;
}












.floating-nav-menu-list a:hover,
.floating-nav-taxonomy-list a:hover {
    text-decoration: none;
    color: #ed1c24;
    font-weight: 600;
    font-size: 15px;
    line-height: 1;
}

#floating-nav-content {
    display: none;
    position: fixed;
    bottom: 0px; /* Adjust based on your floating nav height */
    left: 0;
    right: 0;
    background: white;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 9998;
	height: 100%;
}

.floating-nav-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9990;
}

.search-results {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.search-result-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.search-result-image {
    flex: 0 0 100px;
}

.search-result-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.search-result-content {
    flex: 1;
}

.search-result-content h3 {
    margin: 0 0 10px 0;
}

.search-result-content p {
    margin: 0;
}

.floating-nav-search {
    padding: 10px;
}

#floating-nav-search-form {
    display: flex;
    margin-bottom: 20px;
}

#floating-nav-search-input {
    flex-grow: 1;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-right: none;
}

#floating-nav-search-form button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #ed1c24;
    color: white;
    border: none;
    cursor: pointer;
}

.search-results {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.search-result-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.search-result-image {
    flex: 0 0 100px;
}

.search-result-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.search-result-content {
    flex: 1;
}

.search-result-content h3 {
    font-family: inherit;
    margin: 0 0 10px 0;
    font-size: 15px;
    line-height: 1.2;
}

.search-result-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .floating-nav-mobile-only {
        display: none !important;
    }
}