/*
Theme Name: VeilleTechno-IT Magazine
Theme URI: https://www.veilletechno-it.bzh
Description: Theme editorial autonome pour VeilleTechno-IT, magazine tech francais, compatible avec Elementor.
Author: VeilleTechno-IT
Author URI: https://www.veilletechno-it.bzh
Version: 2.9.0
Requires at least: 7.0
Tested up to: 7.1
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: veilletechno-it-magazine
Domain Path: /languages
Tags: blog, news, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, wide-blocks
*/

/*
 * VeilleTechno-IT Magazine WordPress Theme, Copyright (C) 2026 VeilleTechno-IT.
 * VeilleTechno-IT Magazine is distributed under the terms of the GNU GPL.
 */


/*
 * IMPORTANT : Le dossier de ce theme DOIT s'appeler exactement "veilletechno-it-magazine"
 * Ne renommez pas ce dossier.
 * Tous les styles sont charges via /css/magazine.css (functions.php).
 */


/* ======================================================
   V2.6.22 - FIX LISIBILITÉ PAGE SOMMAIRE
   ====================================================== */

/* CARTOUCHES */
.category-card,
.summary-card,
.post-card {
    background: #ffffff !important;
    color: #1a1a1a !important;
    border: 1px solid #e6e6e6;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.category-card h2,
.category-card h3,
.summary-card h2,
.summary-card h3 {
    color: #111 !important;
}

.category-card p,
.summary-card p {
    color: #444 !important;
}

.category-card a,
.summary-card a {
    color: #6c4cf5 !important;
    text-decoration: none;
}

.category-card a:hover,
.summary-card a:hover {
    color: #4b2ed1 !important;
}

.category-card .card-header {
    background: linear-gradient(135deg, #6c4cf5, #8a6cff);
    color: #ffffff;
}

/* ONGLETS */
.filter-tabs button,
.filter-tabs .tab {
    background: #6c4cf5;
    color: #ffffff;
    border: none;
    border-radius: 999px;
    padding: 8px 16px;
    transition: all 0.2s ease;
}

.filter-tabs button:hover,
.filter-tabs .tab:hover {
    background: #5a3fe0;
}

.filter-tabs .active,
.filter-tabs button.active {
    background: #4b2ed1;
    color: #ffffff;
}

.filter-tabs .count {
    background: rgba(255,255,255,0.2);
    color: #ffffff;
}


/* ======================================================
   V2.6.28 - FAQ H3 Styling
   ====================================================== */

.vti-faq h3,
.vti-faq-question,
.faq-question h3 {
    font-size: 1.35rem !important;
    font-weight: 400 !important;
    line-height: 1.5;
    margin-bottom: 12px;
}


/* ======================================================
   WordPress core content classes
   ====================================================== */

.wp-caption {
    max-width: 100%;
    margin-bottom: 1.5em;
}

.wp-caption img {
    display: block;
    max-width: 100%;
    height: auto;
}

.wp-caption-text,
.gallery-caption {
    margin-top: 0.5em;
    font-size: 0.875em;
    line-height: 1.5;
    text-align: center;
}

.sticky {
    position: relative;
}

.bypostauthor {
    position: relative;
}

.alignleft {
    float: left;
    margin: 0.5em 1.5em 1em 0;
}

.alignright {
    float: right;
    margin: 0.5em 0 1em 1.5em;
}

.aligncenter {
    display: block;
    margin-right: auto;
    margin-left: auto;
}

.vti-page-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 2rem 0;
}

.vti-page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    min-height: 2.25rem;
}
