/*
	Theme Name:   Jannah Child
	Theme URI:    http://jannah.tielabs.com/
	Description:  Jannh Child Theme
	Author:       TieLabs
	Author URI:   https://tielabs.com
	Template:     jannah
	Version:      1.0.2
	License:      license purchased
	License URI:  http://themeforest.net/licenses/regular_extended
	Tags:         Tags: two-columns, buddypress, left-sidebar, right-sidebar, custom-menu, editor-style, featured-images, full-width-template, microformats, rtl-language-support, sticky-post, threaded-comments, translation-ready
	Text Domain:  jannah-child
*/



/* write custom css after this line */
/* --- FIX LOGO DEFINITIVO NEWS AUTO --- */
.tie-logo-img {
    aspect-ratio: 368 / 54 !important;
    width: 368px !important;
    height: 54px !important;
    max-height: 54px !important;
}

.single-featured-image {
    aspect-ratio: 780 / 470 !important;
    background-color: #f8f8f8;
}

/* FORZA L'ALTEZZA DEL BANNER TOP PER EVITARE IL SALTO */
#ad_mh {
    display: block !important;
    min-height: 250px !important; /* Forza l'altezza per i banner desktop 970x250 o 728x90 */
    margin: 20px auto !important;
    background-color: #f1f1f1 !important; /* Colore della striscia */
    overflow: hidden;
}

/* Regolazione per Mobile */
@media screen and (max-width: 991px) {
    #ad_mh {
        min-height: 100px !important; /* Altezza per banner mobile 320x100 */
        margin: 10px auto !important;
    }
}

/* Nascondi o sposta la scritta "AD" del tema se dà fastidio */
#ad_mh span, .mag-box-title .ad-title {
    display: none !important;
}

/* Spaziatura tra le domande FAQ di Yoast */
.schema-faq-section {
    margin-bottom: 30px !important; /* Aumenta o diminuisce i pixel a tuo piacimento */
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0; /* Opzionale: aggiunge una sottile linea di separazione */
}

/* Distanzia la domanda dalla sua risposta */
.schema-faq-question {
    display: block;
    margin-bottom: 10px !important;
}


/* --- FIX ACCESSIBILITA' MIRATO: BLU NEWSAUTO --- */

/* 1. Nome Autore: rendiamo il blu celestino più scuro (senza farlo diventare nero) */
.author-name a, .author-name {
    color: #005ea6 !important; /* Questo è il tuo blu scuro. Ha un contrasto molto migliore del celestino chiaro */
    font-weight: 700 !important;
}

/* 2. Breadcrumb: Usiamo un grigio-blu che sia leggibile ma armonico */
.breadcrumb, .breadcrumb a {
    color: #335577 !important; /* Un blu-grigio che si legge benissimo ma mantiene il tono del tema */
}


/* --- FIX ACCESSIBILITA': SCHEDA AUTORE IN FONDO --- */
.author-box .author-name a, 
.author-box .author-name {
    color: #005ea6 !important; /* Il tuo blu istituzionale */
    font-weight: 700 !important;
}
