/* ============================================
   بلوک جستجوی نمایشگاه‌ها - BHOWCO
   نسخه: 1.1
   ============================================ */

.search-event-block {
    max-width: 820px;
    width: 100%;
    margin: 0 auto;
    padding: 2.2rem 2.5rem;
    background: linear-gradient(145deg, #f8faff 0%, #ffffff 100%);
    border-radius: 28px;
    border: 1px solid rgba(0, 102, 204, 0.10);
    box-shadow: 0 8px 32px rgba(0, 45, 85, 0.06);
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.search-event-block:hover {
    box-shadow: 0 12px 48px rgba(0, 60, 120, 0.10);
    border-color: rgba(0, 102, 204, 0.18);
}

.search-event-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    width: 100%;
}

/* ===== آیکون ===== */
.search-icon-wrapper {
    color: #0055aa;
    background: rgba(0, 102, 204, 0.07);
    padding: 0.6rem;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.3rem;
    flex-shrink: 0;
    line-height: 0; /* مهم برای حذف فضای اضافی */
}

.search-icon-wrapper svg {
    width: 32px;
    height: 32px;
    display: block; /* مهم برای حذف فضای اضافی */
}

/* ===== عنوان H2 ===== */
.search-event-title {
    font-size: 1.65rem;
    font-weight: 700;
    color: #0b2a44;
    margin: 0 0 0.15rem 0;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

/* ===== توضیحات ===== */
.search-event-desc {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #1f3b57;
    margin: 0 0 0.85rem 0;
    max-width: 720px;
    font-weight: 400;
}

.search-event-desc strong {
    color: #003a7a;
    font-weight: 600;
}

/* ===== دکمه CTA ===== */
.search-btn-wrapper {
    margin-top: 0.5rem;
    width: 100%;
}

.search-event-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #003a7a;
    color: #ffffff !important;
    font-size: 1.05rem;
    font-weight: 600;
    padding: 0.9rem 2rem;
    border-radius: 60px;
    text-decoration: none !important;
    transition: all 0.25s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 12px rgba(0, 58, 122, 0.20);
    letter-spacing: 0.2px;
    cursor: pointer;
}

.search-event-btn:hover {
    background: #002b5e;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 58, 122, 0.30);
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.15);
}

/* فوکوس کیبورد */
.search-event-btn:focus-visible {
    outline: 3px solid rgba(0, 85, 170, 0.35);
    outline-offset: 4px;
}

.search-btn-arrow {
    width: 20px;
    height: 20px;
    transition: transform 0.2s ease;
    flex-shrink: 0;
    display: block;
}

.search-event-btn:hover .search-btn-arrow {
    transform: translateX(4px);
}

/* ===== کنترل انیمیشن ===== */
@media (prefers-reduced-motion: reduce) {
    .search-event-block,
    .search-event-btn,
    .search-btn-arrow {
        transition: none !important;
    }
    .search-event-btn:hover {
        transform: none !important;
    }
}

/* ===== ریسپانسیو ===== */
@media (max-width: 640px) {
    .search-event-block {
        padding: 1.6rem 1.4rem;
        border-radius: 22px;
    }
    .search-event-title {
        font-size: 1.3rem;
    }
    .search-event-desc {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    .search-event-btn {
        font-size: 0.95rem;
        padding: 0.75rem 1.5rem;
        width: 100%;
        justify-content: center;
    }
    .search-icon-wrapper svg {
        width: 26px;
        height: 26px;
    }
}

/* ============================================
   رنگ‌های هر شهر
   ============================================ */
.search-event-block.munich .search-event-btn {
    background: #003a7a;
}
.search-event-block.munich .search-event-btn:hover {
    background: #002b5e;
}

.search-event-block.berlin .search-event-btn {
    background: #c0001e;
}
.search-event-block.berlin .search-event-btn:hover {
    background: #8f0015;
}

.search-event-block.frankfurt .search-event-btn {
    background: #b31b1b;
}
.search-event-block.frankfurt .search-event-btn:hover {
    background: #7a1212;
}

.search-event-block.stuttgart .search-event-btn {
    background: #006f3c;
}
.search-event-block.stuttgart .search-event-btn:hover {
    background: #004f2a;
}

.search-event-block.dusseldorf .search-event-btn {
    background: #005a8c;
}
.search-event-block.dusseldorf .search-event-btn:hover {
    background: #003f63;
}

.search-event-block.hannover .search-event-btn {
    background: #009444;
}
.search-event-block.hannover .search-event-btn:hover {
    background: #006b30;
}

.search-event-block.nuremberg .search-event-btn {
    background: #005a8c;
}
.search-event-block.nuremberg .search-event-btn:hover {
    background: #003f63;
}

.search-event-block.cologne .search-event-btn {
    background: #cc0000;
}
.search-event-block.cologne .search-event-btn:hover {
    background: #990000;
}

.search-event-block.essen .search-event-btn {
    background: #006633;
}
.search-event-block.essen .search-event-btn:hover {
    background: #004a24;
}

.search-event-block.leipzig .search-event-btn {
    background: #004c8c;
}
.search-event-block.leipzig .search-event-btn:hover {
    background: #003663;
}

.search-event-block.dortmund .search-event-btn {
    background: #f5a100;
}
.search-event-block.dortmund .search-event-btn:hover {
    background: #c07e00;
}
/* ============================================
   رنگ شهر Augsburg
   ============================================ */
.search-event-block.augsburg .search-event-btn {
    background: #006b3f;
}
.search-event-block.augsburg .search-event-btn:hover {
    background: #004d2c;
}
/* ============================================
   رنگ شهر Bad Salzuflen
   ============================================ */
.search-event-block.bad-salzuflen .search-event-btn {
    background: #006b7a;
}
.search-event-block.bad-salzuflen .search-event-btn:hover {
    background: #004c56;
}
/* ============================================
   رنگ شهر Bremen
   ============================================ */
.search-event-block.bremen .search-event-btn {
    background: #cc0000;
}
.search-event-block.bremen .search-event-btn:hover {
    background: #990000;
}