.search-wrapper {
    position: relative;
    display: inline-block;
    z-index: 20;
}

.search-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    min-width: 100%;
    max-height: 320px;
    background: #fff;
    border: 1px solid #e8e2e0;
    border-radius: 12px;
    box-shadow: 0 16px 48px rgba(30, 45, 61, 0.16);
    z-index: 1200;
    overflow-x: hidden;
    overflow-y: auto;
}

.search-dropdown.is-open { display: block; }

.search-dropdown-item {
    display: block;
    padding: 12px 16px;
    color: #2d3748;
    text-decoration: none;
    border-bottom: 1px solid #f5f0ee;
    transition: background 0.2s;
    font-size: 14px;
    line-height: 1.35;
    white-space: normal;
}

.search-dropdown-item:hover {
    background: #fdf0f2;
    color: #9e2a3a;
}

.search-dropdown-item:last-child {
    border-bottom: none;
}

.search-dropdown-item small {
    display: block;
    color: #6b7c8f;
    font-size: 12px;
    margin-top: 2px;
}

.search-dropdown-empty {
    padding: 16px;
    color: #6b7c8f;
    text-align: center;
}

.search-results-info {
    padding: 16px 24px;
    background: #fff;
    margin: 0 0 24px;
    border-radius: 14px;
    border: 1px solid #e8e2e0;
}

.search-results-info p {
    margin: 0;
    color: #1e2d3d;
    font-weight: 500;
}

.no-results {
    padding: 48px;
    text-align: center;
    color: #6b7c8f;
}

.video-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(30, 45, 61, 0.7);
    backdrop-filter: blur(4px);
}

.video-modal-content {
    position: relative;
    margin: 5% auto;
    width: 80%;
    max-width: 900px;
}

.video-modal-content iframe {
    width: 100%;
    height: 500px;
    border-radius: 14px;
}

.video-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
}

.fu-list-card.animate-on-scroll,
.project-type.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.6s ease;
}

.fu-list-card.animate-on-scroll.is-visible,
.project-type.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

#list.active-view i,
#grid.active-view i {
    color: #9e2a3a;
}
