/* Surcharge du hover du bouton CTA d'article (defini dans le module vendor
   amazzingblog/views/css/post.css, jamais edite directement — voir CHECKPOINT).
   Demande Aziz 09/09 : au survol, fond blanc + texte de la meme couleur que
   le fond de la CTA box (#1d2835). */
.post-content .rt-cta-btn:hover,
.rt-cta-after-share .rt-cta-btn:hover {
    background: #fff !important;
    color: #1d2835 !important;
    box-shadow: 0 6px 18px rgba(29,40,53,.25);
}

.rt-badge-series {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    vertical-align: middle;
    white-space: nowrap;
}

.rt-series-labo {
    background-color: #FCC902;
    color: #1d2835;
}

.rt-series-repond {
    background-color: #2e6da4;
    color: #fff;
}

.rt-series-on-ne-jette-pas {
    background-color: #5cb85c;
    color: #fff;
}

.rt-badge-article {
    margin-top: 4px;
    display: block;
    margin-bottom: 10px;
}

/* ─── BO : onglet d'integration dans l'editeur ────────────────
   2026-08-31 — selecteurs passes des id aux classes : le JS genere
   desormais un panneau par article (post_tab_rt_{id}). Voir CHECKPOINT M.7. */

.rt-tab-trigger a {
    color: #363a41;
    font-weight: 600;
}

.rt-tab-trigger a.current {
    color: #2e8b57;
}

.rt-tab-panel {
    padding: 20px;
}

.rt-tab-panel .form-group {
    margin-bottom: 15px;
}

.rt-tab-panel label {
    font-weight: 600;
    margin-bottom: 5px;
}

.rt-tab-panel .help-block {
    color: #999;
    font-size: 12px;
    margin-top: 4px;
}

/* Pied de l'onglet : le bouton ne doit ni s'elargir ni chevaucher
   les boutons « Save post » / « Save and stay » d'AmazzingBlog,
   qui vivent dans .item-footer, apres les panneaux. */
.rt-tab-footer {
    padding-top: 15px;
    margin-top: 15px;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.rt-tab-footer .btn {
    min-width: 0;
    white-space: nowrap;
}

.rt-ed-status {
    font-size: 13px;
    margin-left: 0;
}

/* Le pied de formulaire d'AmazzingBlog reste degage sous l'onglet. */
.post-tabs .rt-tab-panel + * ,
.item-footer {
    clear: both;
}

/* Page de configuration du module : champ de recherche */
#rt-search-article {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom: none;
}

#rt_id_post {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

/* ─── BO : recherche dans la liste des articles ────────────────
   2026-09-07 — chantier rightechblog, injecte en tete de form.filtering. */
.rt-search-wrap {
    margin-bottom: 5px;
}

.rt-search-input {
    min-width: 220px;
}

.rt-search-status {
    display: inline-block;
    margin-left: 8px;
    font-size: 12px;
    color: #999;
}

/* ─── BO : epinglage (onglet Rightech) ─────────────────────────── */
.rt-pin-group label input[type="checkbox"] {
    margin-right: 6px;
}

.rt-pin-position-wrap {
    margin-top: 8px;
    padding-left: 22px;
}

.rt-pin-position-wrap input {
    max-width: 160px;
}
