a:link {
  text-decoration: underline;
}

h3 {
    color: #F95259!important;
}

/* 1. Modificato: Form a larghezza piena con margini laterali */
.form-group {
    display: block;          /* Occupa tutta la riga */
    width: calc(100% - 2rem); /* 100% meno i margini (1rem + 1rem) */
    margin-left: auto;
    margin-right: auto;      /* Centra il blocco lasciando 1rem a destra e sinistra */
    margin-bottom: 1rem;
    text-align: left;        
}

/* 2. Stile universale per i campi */
.form-control {
    display: block;
    width: 100%;
    font-family: inherit;
    font-size: 1em; 
    color: inherit;
    padding: 4px 8px;
    height: 32px;
    line-height: 1.2;
    background-color: #ffffff;
    border: 1px solid #ced4da;
    border-radius: 4px;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}

/* 3. Lente d'ingrandimento nel campo Search */
#stacks_in_776_search {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 16px 16px;
    padding-right: 30px;
}

/* 4. Freccina per il menu Sort */
select.form-control {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23666' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 8px 10px;
    padding-right: 25px;
    cursor: pointer;
}

/* 5. Focus */
.form-control:focus {
    outline: none;
    border-color: #999999;
}

/* Regolazione manuale millimetrica freccia 
.freccia svg {
    position: relative; 
    top: -2px!important;
}*/




/* Icona Link Esterno - Solo per i link dentro .blog-entry-tags */
p.blog-entry-tags a::after {
   content: "" !important; 
   display: inline-block !important;
   width: 0.9em !important;  
   height: 0.9em !important;
   
   /* SPAZIATURA BILANCIATA */
   margin-left: 0.25em !important; 
   margin-right: 0.45em !important; 
   
   /* Allineamento verticale millimetrico */
   vertical-align: -0.1em !important; 
   
   /* SVG Bicolor: Base #4D4D4D e Freccia #FC6167 */
   background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><g><path d="M400 320h32a16 16 0 0 1 16 16v128a48 48 0 0 1-48 48H48a48 48 0 0 1-48-48V112a48 48 0 0 1 48-48h160a16 16 0 0 1 16 16v32a16 16 0 0 1-16 16H64v320h320V336a16 16 0 0 1 16-16z" fill="%23FC6167"></path><path d="M512 24v128c0 21.47-26 32-41 17l-35.71-35.71L191.8 376.77a24 24 0 0 1-33.94 0l-22.63-22.63a24 24 0 0 1 0-33.94L378.76 76.68 343.05 41C328 25.9 338.66 0 360 0h128a24 24 0 0 1 24 24z" fill="%234D4D4D"></path></g></svg>') !important;
   
   background-repeat: no-repeat !important;
   background-size: contain !important;
   
   /* Animazione fluida all'hover */
   transition: all 0.3s ease !important; 
   transform: translate(0, 0) !important; 
}

/* Effetto Hover */
p.blog-entry-tags a:hover::after {
   transform: translate(2px, -2px) !important;
}

/* Esclusione per i link che contengono immagini */
p.blog-entry-tags a:has(img)::after {
   display: none !important;
}


/* Freccia corta, rossa e ANIMATA - Solo per .blog-entry-category */
.blog-entry-category a::after {
   content: "\2b08\FE0E" !important; 
   font-family: serif !important;
   color: #FC6167 !important; /* Solo la freccia è rossa */
   display: inline-block !important;
   padding-left: 0.1em !important;
   
   /* Allineamento verticale */
   vertical-align: 0.2em !important;
   
   font-weight: 900 !important;
   font-size: 0.8em !important;
   text-decoration: none !important;
   
   /* Movimento fluido */
   transition: all 0.3s ease !important; 
   transform: translate(0, 0) !important; 
}

/* Effetto al passaggio del mouse (Hover) sulla freccia */
.blog-entry-category a:hover::after {
   transform: translate(3px, -3px) !important; 
   color: #FC6167 !important;
}

/* Rimuove l'icona dalle immagini nei link all'interno dello span */
.blog-entry-category a:has(img)::after {
   content: "" !important;
   display: none !important;
}