/* ============================
   HEADER SEARCH BOX
   ============================ */

.header-search-box {
    background: #ffffff;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    padding: 2px;
    width: 100%;
    position: relative;
    overflow: visible;
    z-index: 99;
}

.header-search-input {
    border: none;
    padding: 8px 12px;
    width: 100%;
    font-size: 15px;
    border-radius: 8px 0 0 8px;
    outline: none;
}

.header-search-btn {
    background: #000;
    border: none;
    padding: 8px 14px;
    border-radius: 0 8px 8px 0;
    color: #fff;
    cursor: pointer;
}
.header-search-btn i {
    font-size: 15px;
}


/* ============================
   SUGGESTIONS DROPDOWN (Unified)
   ============================ */

#search-suggestions {
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
    position: absolute;
    top: 45px;
    left: 0;
    width: 100%;
    display: none;
    z-index: 10000;
    max-height: 400px;
    overflow-y: auto;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
    z-index: 999999
}

/* Suggestion Item */
.search-item {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    cursor: pointer;
    gap: 12px;
    border-bottom: 1px solid #f2f2f2;
    font-size: 14px;
}
.search-item:hover {
    background: #f7f7f7;
}

/* Image Thumbnail */
.search-thumb {
    width: 45px;
    height: 45px;
    object-fit: fill;
    border-radius: 6px;
    border: 1px solid #eee;
}

.search-text {
    display: flex;
    flex-direction: column;
}

.search-type {
    font-size: 12px;
    color: #888;
}


/* ============================
   SEARCH PAGE
   ============================ */

.search-title {
    font-size: 26px;
    font-weight: 600;
}
.search-title span {
    color: #133B5C;
}

.section-title {
    font-size: 22px;
    font-weight: 600;
    border-left: 4px solid #133B5C;
    padding-left: 10px;
    margin-bottom: 10px;
}

/* Result Cards */
.search-card {
    display: block;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    padding: 18px;
    text-decoration: none;
    transition: 0.25s;
    height: 100%;
}
.search-card:hover {
    box-shadow: 0 8px 18px rgba(0,0,0,0.08);
    border-color: #c7c7c7;
    transform: translateY(-3px);
}

.search-card-body {
    text-align: left;
}

.search-card-title {
    font-size: 17px;
    margin-bottom: 8px;
    color: #111;
    font-weight: 600;
}

.search-card-type {
    font-size: 14px;
    color: #666;
    font-style: italic;
    margin-bottom: 0;
}


/* ============================
   404 PAGE
   ============================ */

.error-title {
    font-size: 32px;
    font-weight: 700;
}

.error-desc {
    font-size: 16px;
    color: #666;
}

.big-article-img{
    object-fit: fill;
    box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
}

.suggestion-group-title {
    background: #f2f2f2;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    border-bottom: 1px solid #eee;
}

.search-item.active {
    background: #eef5ff;
}

.see-all {
    padding: 10px 12px;
    text-align: center;
    background: #fafafa;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    border-top: 1px solid #ddd;
}

.see-all:hover {
    background: #f0f0f0;
}
mark {
    background: yellow;
    padding: 0 2px;
}
