/* RESET */
body {
    margin: 0;
    font-family: Roboto, Arial, sans-serif;
    background: #fff;
    color: #000;
}

/* ===== HEADER ===== */
.header-wrapper {
    display: flex;
    align-items: center;
    padding: 22px 0 12px 160px;
    gap: 25px;
}

.search-box-wrapper {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #dfe1e5;
    border-radius: 24px;
    width: 600px;
    height: 44px;
    padding: 0 14px;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
}

.search-icon {
    font-size: 22px;
    color: #70757a;
    cursor: pointer;
}

/* Enhanced by Google */
.enhanced-logo {
    height: 60px;
    width: auto;
    margin-top: 2px;
}

/* ===== TABS ===== */
.tabs-row {
    padding-left: 160px;
    margin-bottom: 0;
    border-bottom: 1px solid #dadce0;
}

.tabs {
    display: flex;
    gap: 28px;
    padding-bottom: 6px;
}

.tab {
    text-decoration: none;
    font-size: 14px;
    color: #5f6368;
}

.tab.active {
    color: #1a73e8;
    font-weight: 500;
}

/* ===== RESULTS AREA ===== */
.results-wrapper {
    padding-left: 160px;
    padding-top: 14px;
    max-width: 680px;
    padding-bottom: 40px;
}

.gsc-tabsArea,
.gsc-tabsArea > div,
.gsc-tabHeader {
    display: none !important;
}

/* ===== ORGANIC RESULTS ===== */
.gs-webResult .gs-title a,
.gs-webResult .gs-title a b {
    color: #1a0dab !important;
    text-decoration: none !important;
}

.gs-webResult .gs-title a:visited {
    color: #660099 !important;
}

/* ===== SNIPPETS ===== */
.gs-snippet {
    line-height: 1.5;
    font-size: 14px;
    color: #3c4043;
    overflow-wrap: break-word;
    word-break: break-word;
}

/* ===== ADS FIX — NOW ACCURATE ===== */

/* מודעות — TITLE */
a.p__styleable-title,
a.p__styleable-title *,
.p__styleable-title,
.p__styleable-title * {
    color: #1a0dab !important;
}

/* מודעות — תיאור */
.p__styleable-description,
.p__styleable-description *,
.p__styleable-visual a,
.p__styleable-visual a * {
    color: #3c4043 !important;
}

/* דריסת inline style של גוגל */
a.p__styleable-title[style],
a.p__styleable-title *[style],
.p__styleable-title[style],
.p__styleable-title *[style] {
    color: #1a0dab !important;
}

/* Sponsored badge */
.p__adBadgeBullet span {
    color: #5f6368 !important;
}

/* container fixes */
.p__styleable-title,
.p__styleable-description {
    text-decoration: none !important;
}

/* Fix HOTEL long titles */
.gsc-result-info,
.gsc-above-wrapper-area,
.gsc-resultsbox-visible,
.gs-title,
.gs-bidi-start-align {
    overflow: visible !important;
}

/* Ensure result width stays normal */
.gsc-control-cse {
    background: #fff !important;
}

.gsc-results-wrapper-visible {
    background: #fff !important;
}

.gsc-above-wrapper-area {
    margin-bottom: 10px !important;
}
