/*
Theme Name:  Nectarblocks Child Theme
Version:     1.0.0
Template:    nectar-blocks-theme
Description: Child theme for Nectarblocks.
Theme URI:   https://nectarblocks.com
Author:      NectarBlocks
Author URI:  https://nectarblocks.com
License:     Custom license
License URI: https://nectarblocks.com/license
Text Domain: nectar-blocks-theme
*/

/*-------------------------------------------------------------------------*/
/* Note: The theme CSS files are loaded through the /css/ folder. 
/*-------------------------------------------------------------------------*/

/* menu */
body.material #header-secondary-outer nav>ul a 
{
    font-size: 15px !important;
}

/* articles - header*/
.single-post #page-header-wrap[data-responsive=true] #page-header-bg,
.single-post #page-header-wrap[data-responsive=true]
{
    height: 60vh !important;
}

/* archive d'article */
/* size font title */
.actu .nectar-blocks-post-grid__item .nectar-blocks-post-grid__item__title .nectar-blocks-title__text
{
    font-size: 22px;
}

.nectar-blocks-post-grid__item__taxonomies .style--button 
{
    background-color: #ffffff;
    color: #011628;
}

/* appel d'article, sélection manuelle */

.grille-articles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.carte-article {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 15px;
    border: 1px solid #ededed;
    border-radius: 15px;
}
.carte-article-img-wrap img {
    width: 100%;
	height: 200px;
    display: block;
    margin-bottom: 10px;
    object-fit: cover;
}
.carte-article-date {
    font-size: 0.85em;
    color: #888;
}
.carte-article-titre {
    margin: 5px 0;
}
.carte-article-extrait {
    font-size: 0.95em;
    color: #555;
}

/* Responsive : 2 colonnes sur tablette, 1 sur mobile */
@media (max-width: 900px) {
    .grille-articles {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .grille-articles {
        grid-template-columns: 1fr;
    }
}