/* Rimuovi lo stile predefinito della paginazione*/
.gsc-cursor {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.gsc-cursor-page {
    margin: 0 3px;
    padding: 5px 10px;
    border: 1px solid #ddd;
    background-color: #f8f8f8;
    color: #333;
    text-decoration: none;
    border-radius: 3px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    cursor: pointer;
}

/* Stile per la pagina corrente */
.gsc-cursor-current-page {
    background-color: #e0e0e0;
    font-weight: bold;
    color: #000;
}

/* Stile hover */
.gsc-cursor-page:hover {
    background-color: #e9e9e9;
    text-decoration: none;
}

/* Trasforma i div in elementi inline (simili a <a>) */
.gsc-cursor-page {
    display: inline-block;
}

/* Opzionale: se vuoi aggiungere il simbolo >> alla fine */
.gsc-cursor-page:last-child::after {
    content: ">>";
    margin-left: 5px;
}

/* ------------------------------
   WRAPPER DEL RISULTATO
--------------------------------*/
.gs-webResult.gs-result {
    border: 1px solid #d5d5d5;
    padding: 15px;
    margin: 15px 0;
    border-radius: 4px;
    background: #fff;
    display: flex;
    flex-direction: column;
}

/* ------------------------------
   TITOLO / MEDIA-HEADING
--------------------------------*/
.gs-webResult .gs-title a {
    font-size: 22px;
    font-weight: 600;
    color: #0b4a8a;
    text-decoration: none;
}

.gs-webResult .gs-title a:hover {
    text-decoration: underline;
}

/* ------------------------------
   URL VISIBILE
--------------------------------*/
.gs-visibleUrl-short,
.gs-visibleUrl-long,
.gs-visibleUrl-breadcrumb {
    font-size: 13px;
    color: #5c5c5c;
    margin-bottom: 5px;
}

/* ------------------------------
   SNIPPET / DESCRIPTION
--------------------------------*/
.gs-snippet {
    font-size: 15px;
    color: #333;
    line-height: 1.5;
    margin-top: 8px;
}

/* ------------------------------
   PANNELLO INFERIORE (stile simile a “panel clearfix”)
--------------------------------*/
.gs-webResult .gsc-url-bottom {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #e5e5e5;
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* ------------------------------
   STILE ICONE (imitazione)
--------------------------------*/
.gs-webResult .icon {
    margin-right: 5px;
    color: #1a73e8;
}

/* se vuoi usare FontAwesome o altre icone */
.gs-webResult .panel-info {
    color: #1a73e8;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ------------------------------
   HIGHLIGHT BOLD
--------------------------------*/
.gs-webResult b {
    color: #0b4a8a;
}

/* ------------------------------
   RESPONSIVE
--------------------------------*/
@media (max-width: 600px) {
    .gs-webResult.gs-result {
        padding: 10px;
    }
    .gs-webResult .gs-title a {
        font-size: 18px;
    }
}

#___gcse_0 form {
    display: none !important;
}


.gs-webResult .gs-title a {
    font-size: 22px;
    font-weight: 600;
    color: #34b2e3 !important;   /* nuovo colore */
    text-decoration: none;
}

.gs-webResult .gs-title a:hover {
    color: #34b2e3;              /* mantiene lo stesso colore */
    text-decoration: underline;
}


}


/* HR subito dopo il titolo */
/* Applico solo sul contenitore che racchiude il titolo */
.gs-webResult .gs-title {
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 12px;
}




.gsc-url-top {
    border-top: 1px solid #34b2e3 !important;
    border-bottom: 0 !important;
}




/* Riduce margine tra un risultato e l'altro */
.gs-webResult.gs-result {
    margin: 8px 0 !important; /* prima era 15px 0 */
    padding: 12px 15px !important; /* leggermente meno padding verticale */
}

/* Riduce margini tra titolo e snippet */
.gs-webResult .gs-title {
    margin-bottom: 6px !important; /* prima 12px */
    padding-bottom: 6px !important;
}

/* Riduce margine tra snippet e URL-bottom */
.gs-webResult .gs-snippet {
    margin-top: 4px !important; /* prima 8px */
    margin-bottom: 4px !important;
}

/* Rende compatto URL-top e URL-bottom */
.gsc-url-top, .gsc-url-bottom {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
}

.gs-bidi-start-align.gs-visibleUrl.gs-visibleUrl-breadcrumb {
    display: none !important;
}
.gs-title {
    text-transform: uppercase;
}
