/* ==========================================================================
   FactCheck Kerala — Search results (scoped to body.fc-search)
   ========================================================================== */

body.fc-search {
    --h-ink: #0b1220;
    --h-ink-2: #1f2937;
    --h-teal: #4f46e5;
    --h-teal-dark: #3730a3;
    --h-emerald: #7c3aed;
    --h-gold: #f59e0b;
    --h-bg: #f4f6fb;
    --h-card: #ffffff;
    --h-line: #e5ebea;
    --h-muted: #64748b;
    --h-slate: #475569;
    --h-grad: linear-gradient(120deg, #4f46e5 0%, #7c3aed 100%);
    --h-shadow: 0 16px 44px rgba(11, 18, 32, .08);
    --h-shadow-lg: 0 34px 80px rgba(11, 18, 32, .16);

    background: var(--h-bg);
    color: var(--h-slate);
    font-family: 'Noto Sans Malayalam', sans-serif;
}

/* ===== Hero ===== */
.fc-search .sr-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(640px 320px at 90% -20%, rgba(245, 158, 11, .14), transparent 60%),
        var(--h-grad);
    padding: 42px 0 50px;
    color: #fff;
}
.fc-search .sr-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
    background-size: 44px 44px;
    pointer-events: none;
}
.fc-search .sr-hero .container { position: relative; z-index: 2; }
.fc-search .sr-crumb {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: .82rem;
    color: rgba(255, 255, 255, .8);
    margin-bottom: 14px;
}
.fc-search .sr-crumb a { color: rgba(255, 255, 255, .85); }
.fc-search .sr-crumb a:hover { color: #fff; }
.fc-search .sr-crumb i { font-size: 10px; opacity: .7; }
.fc-search .sr-crumb span { color: #fff; font-weight: 600; }
.fc-search .sr-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #fff;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .28);
    padding: 6px 15px;
    border-radius: 999px;
    margin-bottom: 14px;
}
.fc-search .sr-title {
    font-size: 1.85rem;
    font-weight: 700;
    line-height: 1.45;
    margin: 0 0 6px;
}
.fc-search .sr-count {
    font-size: .9rem;
    color: rgba(255, 255, 255, .85);
    margin: 0 0 20px;
}
.fc-search .sr-count b { color: #fff; }

.fc-search .sr-form {
    display: flex;
    gap: 10px;
    max-width: 620px;
}
.fc-search .sr-form input {
    flex: 1 1 auto;
    border: none;
    border-radius: 12px;
    padding: 13px 18px;
    font-size: .98rem;
    color: var(--h-ink);
    background: #fff;
    outline: none;
}
.fc-search .sr-form input:focus { box-shadow: 0 0 0 3px rgba(255, 255, 255, .35); }
.fc-search .sr-form button {
    flex: 0 0 auto;
    border: none;
    cursor: pointer;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .32);
    color: #fff;
    font-weight: 700;
    padding: 0 22px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    transition: background .2s ease;
}
.fc-search .sr-form button:hover { background: rgba(255, 255, 255, .3); color: #fff; }

/* ===== Results ===== */
.fc-search .sr-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}
.fc-search .sr-card {
    background: #fff;
    border: 1px solid var(--h-line);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(11, 18, 32, .05);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    display: block;
    color: inherit;
}
.fc-search .sr-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--h-shadow);
    border-color: #a7ded4;
    color: inherit;
}
.fc-search .sr-media {
    background: #eef3f2;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.fc-search .sr-media img { width: 100%; height: auto; object-fit: contain; display: block; }
.fc-search .sr-body { padding: 16px 17px 19px; }
.fc-search .sr-date {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    color: var(--h-muted);
    margin-bottom: 8px;
}
.fc-search .sr-date i { color: var(--h-teal); }
.fc-search .sr-title-txt {
    font-size: .97rem;
    font-weight: 600;
    line-height: 1.6;
    color: var(--h-ink);
    margin: 0;
}
.fc-search .sr-card:hover .sr-title-txt { color: var(--h-teal-dark); }

/* ===== Empty ===== */
.fc-search .sr-empty {
    background: #fff;
    border: 1px dashed var(--h-line);
    border-radius: 18px;
    text-align: center;
    padding: 60px 30px;
    color: var(--h-muted);
}
.fc-search .sr-empty i { font-size: 44px; color: #c9d5d4; display: block; margin-bottom: 14px; }
.fc-search .sr-empty h4 { color: var(--h-ink); font-weight: 700; margin: 0 0 8px; }

/* ===== Pagination ===== */
.fc-search .pager {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 34px;
}
.fc-search .pager .pg {
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 11px;
    background: #fff;
    border: 1px solid var(--h-line);
    color: var(--h-slate);
    font-weight: 600;
    font-size: .9rem;
    transition: all .18s ease;
}
.fc-search .pager .pg:hover { border-color: var(--h-teal); color: var(--h-teal-dark); }
.fc-search .pager .pg.active {
    background: var(--h-grad);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 8px 18px rgba(79, 70, 229, .3);
}
.fc-search .pager .pg.disabled {
    opacity: .45;
    pointer-events: none;
}
.fc-search .pager .dots {
    color: var(--h-muted);
    padding: 0 4px;
}

/* ===== Sidebar ===== */
.fc-search .side-panel { position: sticky; top: 96px; }
.fc-search .side-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--h-ink);
    padding: 14px 0;
    margin: 0 0 18px;
    border-bottom: 2px solid var(--h-line);
}
.fc-search .side-title i { color: var(--h-gold); }
.fc-search .pop-list { list-style: none; margin: 0; padding: 0; }
.fc-search .pop-list > li {
    background: #fff;
    border: 1px solid var(--h-line);
    border-radius: 13px;
    overflow: hidden;
    margin-bottom: 14px;
    box-shadow: 0 6px 18px rgba(11, 18, 32, .04);
    transition: transform .2s ease, box-shadow .2s ease;
}
.fc-search .pop-list > li:hover { transform: translateY(-3px); box-shadow: var(--h-shadow); }
.fc-search .pop-list .post.small-post {
    display: flex;
    gap: 12px;
    padding: 11px;
    align-items: center;
}
.fc-search .pop-list .entry-header { flex: 0 0 84px; }
.fc-search .pop-list .entry-thumbnail a { display: block; }
.fc-search .pop-list .entry-thumbnail img {
    width: 84px;
    height: 70px;
    object-fit: contain;
    background: #eef3f2;
    border-radius: 9px;
    display: block;
}
.fc-search .pop-list .entry-title {
    font-size: .88rem;
    font-weight: 600;
    line-height: 1.55;
    margin: 0;
    color: var(--h-ink);
}
.fc-search .pop-list .entry-title a { color: inherit; }
.fc-search .pop-list .entry-title a:hover { color: var(--h-teal-dark); }

/* ===== Responsive ===== */
@media (max-width: 991.98px) {
    .fc-search .sr-hero { padding: 34px 0 42px; }
    .fc-search .sr-title { font-size: 1.45rem; }
    .fc-search .side-panel { position: static; margin-top: 36px; }
}
@media (max-width: 575.98px) {
    .fc-search .sr-grid { grid-template-columns: 1fr; }
    .fc-search .sr-form { flex-wrap: wrap; }
    .fc-search .sr-form button { padding: 13px 18px; }
}