/* CARP RUSH TV TEST12/40 - fermeture partage video et article ; reste video seul. */
/* Fermeture explicite du partage et identite X en remplacement du pictogramme Twitter. */
body:is(.single-video, .single-post) .post-meta-actions .carprush-share-close {
    position: absolute;
    top: 6px;
    right: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: #f0f2f5;
    border: 1px solid #d9dce2;
    color: #182a36;
    border-radius: 50%;
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
    z-index: 2;
}
body:is(.single-video, .single-post) .post-meta-actions .carprush-share-close:hover,
body:is(.single-video, .single-post) .post-meta-actions .carprush-share-close:focus-visible {
    background: #e6eaee;
    outline: 2px solid #be0028;
    outline-offset: 1px;
}
body:is(.single-video, .single-post) .post-meta-actions .popover-content {
    position: relative;
    padding-top: 36px;
}
body.single-video .post-meta-actions .share-options a.icon-twitter::before {
    content: "𝕏" !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
}
/* TEST13 - alignment reel : GoWatch force flex-direction:column <=767px.
   Regles ciblees aux fiches video sur smartphone, pas aux articles/PC. */
@media only screen and (max-width: 767px) {
    body.single.single-video aside.post-meta {
        display: flex;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        width: 100%;
        min-width: 0;
    }
    body.single.single-video aside.post-meta > .post-meta-author {
        display: inline-flex;
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
        max-width: 100%;
        margin: 0;
        align-items: center;
        text-align: left;
        overflow: hidden;
    }
    body.single.single-video aside.post-meta > .post-meta-author .post-author-avatar {
        flex: 0 0 auto;
    }
    body.single.single-video aside.post-meta > .post-meta-author .post-author-meta,
    body.single.single-video aside.post-meta > .post-meta-author .entry-meta-author {
        min-width: 0;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    body.single.single-video aside.post-meta > .post-meta-actions {
        display: inline-flex;
        flex: 0 0 auto;
        flex-wrap: nowrap;
        width: auto;
        min-width: 40px;
        margin: 0 0 0 auto;
        padding: 0;
        align-items: center;
        justify-content: flex-end;
        text-align: right;
        gap: 4px;
    }
    body.single.single-video aside.post-meta > .post-meta-actions > * {
        float: none;
        flex: 0 0 auto;
        width: auto;
        margin: 0;
        padding: 0;
    }
    body.single.single-video .post-meta-actions .tooltip-sharing .airkit_sharing .popover {
        left: auto !important;
        right: 0;
        width: min(290px, calc(100vw - 24px)) !important;
        min-width: 0;
        max-width: calc(100vw - 24px);
    }
}


/* CARP RUSH TV TEST31 – espacement des videos associees.
 * Fiches video uniquement : reduit les grands blancs avant/apres les
 * blocs "Plus de videos" / "Au coeur des marques" sans toucher aux
 * inserts publicitaires, lecteurs, contenus Mag ni aux grilles.
 */
body.single-video .ts-single-video .post-footer > .airkit_advertising-container {
    margin-bottom: 24px;
}
body.single-video .ts-single-video .post-footer > .post-related:not(.single-featured-posts) {
    padding-top: 16px;
    padding-bottom: 16px;
}
body.single-video .ts-single-video .post-footer > .post-related .block-title {
    margin-top: 10px;
    margin-bottom: 22px;
}
body.single-video .ts-single-video .post-footer > .post-related:last-child {
    padding-bottom: 4px;
}
@media only screen and (max-width: 767px) {
    body.single-video .ts-single-video .post-footer > .airkit_advertising-container {
        margin-bottom: 18px;
    }
    body.single-video .ts-single-video .post-footer > .post-related:not(.single-featured-posts) {
        padding-top: 8px;
        padding-bottom: 10px;
    }
    body.single-video .ts-single-video .post-footer > .post-related .block-title {
        margin-top: 8px;
        margin-bottom: 18px;
    }
    body.single-video .ts-single-video .post-footer > .post-related:last-child {
        padding-bottom: 2px;
    }
}
