/* ================================
   FULLSCREEN BLUR SEARCH OVERLAY
================================== */

.search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    animation: fadeIn .3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.search-overlay-content {
    background: #fff;
    width: 90%;
    max-width: 600px;
    padding: 35px 30px;
    border-radius: 14px;
    position: relative;
    box-shadow: 0px 12px 32px rgba(0,0,0,0.2);
    animation: scaleIn .25s ease;
}

@keyframes scaleIn {
    from { transform: scale(0.85); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

.close-search-overlay {
    position: absolute;
    top: 14px;
    left: 18px;
    font-size: 36px;
    color: #555;
    background: none;
    border: none;
    cursor: pointer;
    transition: 0.2s;
}

.close-search-overlay:hover {
    color: #000;
}

.search-form {
    display: flex;
    gap: 10px;
}

.search-form input {
    flex: 1;
    padding: 16px;
    font-size: 18px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.search-form button {
    padding: 16px 22px;
    background: #d0a84e;
    border: none;
    color: white;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
}

/* Responsive Adjustments */

.search-wrapper {
    padding: 60px 0 90px;
}

.search-header {
    margin-bottom: 40px;
    text-align: center;
}

.search-header h2 {
    font-size: 26px;
    font-weight: 700;
}

.search-header p {
    color: #666;
    margin-top: 10px;
    font-size: 14px;
}

.search-section-title {
    font-size: 20px;
    font-weight: 700;
    margin: 40px 0 18px;
    display: flex;
    align-items: center;
    column-gap: 10px;
}

.search-section-title span.count {
    font-size: 13px;
    color: #999;
}

.search-list {
    display: flex;
    flex-direction: column;
    row-gap: 14px;
}

.search-result_card {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    padding: 14px 18px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.04);
    border: 1px solid #f3f3f3;
    display: flex;
    align-items: center;
    column-gap: 14px;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition: 0.25s ease;
}

.search-result_card::before {
    content: "";
    position: absolute;
    top: -40px;
    inset-inline-end: -40px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle at center, #f7e1b1, transparent 70%);
    opacity: 0.5;
    pointer-events: none;
}

.search-result_card::after {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 12px;
    bottom: 12px;
    width: 3px;
    border-radius: 999px;
    background: linear-gradient(180deg, #C29235, #e8bb63);
    opacity: 0.8;
}

.search-result_card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.search-result_icon-wrapper {
    flex: 0 0 auto;
}

.search-section-title-icon svg {
    width: 22px;
    height: 22px;
}

.search-result_icon-wrapper svg {
    width: 42px;
    height: 42px;
}


.search-result_content {
    flex: 1 1 auto;
}

.search-result_title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.search-result_snippet {
    font-size: 13px;
    color: #555;
    margin-bottom: 5px;
    line-height: 1.7;
}

.search-result_meta {
    font-size: 12px;
    color: #999;
}

.search-result_link {
    font-size: 13px;
    color: #C29235;
    font-weight: 600;
}
